f$n.smali

.class public final Lkh/f$n;
.super Lkotlin/jvm/internal/Lambda;
.source "LocationManagerBase.kt"

# interfaces
.implements Lkotlin/jvm/functions/Function0;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lkh/f;->a(Landroid/location/LocationManager;Lgh/j;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lkotlin/jvm/internal/Lambda;",
        "Lkotlin/jvm/functions/Function0<",
        "Lkotlin/Unit;",
        ">;"
    }
.end annotation

.annotation runtime Lkotlin/Metadata;
    bv = {
        0x1,
        0x0,
        0x3
    }
    d1 = {
        "\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0008\u0002\u0010\u0000\u001a\u00020\u0001H\n\u00a2\u0006\u0002\u0008\u0002\u00a8\u0006\u0003"
    }
    d2 = {
        "<anonymous>",
        "",
        "invoke",
        "com/shopee/foody/driver/location/provider/LocationManagerBase$requestLocationUpdates$2$1"
    }
    k = 0x3
    mv = {
        0x1,
        0x1,
        0x10
    }
.end annotation


# instance fields
.field public final synthetic a:Lkh/f$m;

.field public final synthetic b:Lkotlin/coroutines/Continuation;

.field public final synthetic c:Lkh/f;

.field public final synthetic d:Landroid/location/LocationManager;

.field public final synthetic e:Ljava/lang/String;

.field public final synthetic f:Lgh/j;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method public constructor <init>(Lkh/f$m;Lkotlin/coroutines/Continuation;Lkh/f;Landroid/location/LocationManager;Ljava/lang/String;Lgh/j;)V
    .registers 7

    iput-object p1, p0, Lkh/f$n;->a:Lkh/f$m;

    iput-object p2, p0, Lkh/f$n;->b:Lkotlin/coroutines/Continuation;

    iput-object p3, p0, Lkh/f$n;->c:Lkh/f;

    iput-object p4, p0, Lkh/f$n;->d:Landroid/location/LocationManager;

    iput-object p5, p0, Lkh/f$n;->e:Ljava/lang/String;

    iput-object p6, p0, Lkh/f$n;->f:Lgh/j;

    const/4 p1, 0x0

    invoke-direct {p0, p1}, Lkotlin/jvm/internal/Lambda;-><init>(I)V

    return-void
.end method


# virtual methods
.method public bridge synthetic invoke()Ljava/lang/Object;
    .registers 2

    invoke-virtual {p0}, Lkh/f$n;->invoke()V

    sget-object v0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;

    return-object v0
.end method

.method public final invoke()V
    .registers 9

    iget-object v0, p0, Lkh/f$n;->c:Lkh/f;

    iget-object v1, p0, Lkh/f$n;->d:Landroid/location/LocationManager;

    new-instance v2, Lkh/f$a;

    iget-object v3, p0, Lkh/f$n;->e:Ljava/lang/String;

    iget-object v4, p0, Lkh/f$n;->f:Lgh/j;

    invoke-virtual {v4}, Lgh/g;->c()J

    move-result-wide v4

    iget-object v6, p0, Lkh/f$n;->f:Lgh/j;

    invoke-virtual {v6}, Lgh/g;->b()F

    move-result v6

    invoke-direct {v2, v3, v4, v5, v6}, Lkh/f$a;-><init>(Ljava/lang/String;JF)V

    iget-object v6, p0, Lkh/f$n;->a:Lkh/f$m;

    :try_start_19
    sget-object v3, Lqa/d;->e:Lqa/d$a;

    invoke-virtual {v0}, Lkh/f;->c()Ljava/lang/String;

    move-result-object v4

    new-instance v5, Lkh/f$n$a;

    invoke-direct {v5, v2}, Lkh/f$n$a;-><init>(Lkh/f$a;)V

    invoke-virtual {v3, v4, v5}, Lqa/d$a;->c(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V

    invoke-virtual {v2}, Lkh/f$a;->c()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2}, Lkh/f$a;->b()J

    move-result-wide v4

    invoke-virtual {v2}, Lkh/f$a;->a()F

    move-result v7

    move-object v2, v3

    move-wide v3, v4

    move v5, v7

    invoke-virtual/range {v1 .. v6}, Landroid/location/LocationManager;->requestLocationUpdates(Ljava/lang/String;JFLandroid/location/LocationListener;)V
    :try_end_39
    .catch Ljava/lang/IllegalArgumentException; {:try_start_19 .. :try_end_39} :catch_64
    .catch Ljava/lang/RuntimeException; {:try_start_19 .. :try_end_39} :catch_47

    sget-object v0, Lqa/d;->e:Lqa/d$a;

    iget-object v1, p0, Lkh/f$n;->c:Lkh/f;

    invoke-virtual {v1}, Lkh/f;->c()Ljava/lang/String;

    move-result-object v1

    sget-object v2, Lkh/i;->a:Lkh/i;

    invoke-virtual {v0, v1, v2}, Lqa/d$a;->a(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V

    goto :goto_81

    :catch_47
    move-exception v1

    sget-object v2, Lqa/d;->e:Lqa/d$a;

    invoke-virtual {v0}, Lkh/f;->c()Ljava/lang/String;

    move-result-object v0

    sget-object v3, Lkh/k;->a:Lkh/k;

    invoke-virtual {v2, v0, v3}, Lqa/d$a;->b(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V

    sget-object v0, Lqa/d;->e:Lqa/d$a;

    iget-object v2, p0, Lkh/f$n;->c:Lkh/f;

    invoke-virtual {v2}, Lkh/f;->c()Ljava/lang/String;

    move-result-object v2

    new-instance v3, Lkh/f$n$c;

    invoke-direct {v3, v1}, Lkh/f$n$c;-><init>(Ljava/lang/Exception;)V

    invoke-virtual {v0, v2, v3}, Lqa/d$a;->b(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V

    goto :goto_75

    :catch_64
    move-exception v0

    sget-object v1, Lqa/d;->e:Lqa/d$a;

    iget-object v2, p0, Lkh/f$n;->c:Lkh/f;

    invoke-virtual {v2}, Lkh/f;->c()Ljava/lang/String;

    move-result-object v2

    new-instance v3, Lkh/f$n$b;

    invoke-direct {v3, v0}, Lkh/f$n$b;-><init>(Ljava/lang/Exception;)V

    invoke-virtual {v1, v2, v3}, Lqa/d$a;->b(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V

    :goto_75
    iget-object v0, p0, Lkh/f$n;->c:Lkh/f;

    iget-object v1, p0, Lkh/f$n;->b:Lkotlin/coroutines/Continuation;

    iget-object v2, p0, Lkh/f$n;->d:Landroid/location/LocationManager;

    iget-object v3, p0, Lkh/f$n;->a:Lkh/f$m;

    const/4 v4, 0x0

    invoke-static {v0, v1, v4, v2, v3}, Lkh/f;->a(Lkh/f;Lkotlin/coroutines/Continuation;Ljava/lang/Object;Landroid/location/LocationManager;Landroid/location/LocationListener;)V

    :goto_81
    return-void
.end method