.class public final Lo5/e0;
.super Lo5/x;
.source ""


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<ResultT:",
        "Ljava/lang/Object;",
        ">",
        "Lo5/x;"
    }
.end annotation


# instance fields
.field public final b:Lo5/j;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lo5/j<",
            "Ln5/a$b;",
            "TResultT;>;"
        }
    .end annotation
.end field

.field public final c:Ln6/j;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ln6/j<",
            "TResultT;>;"
        }
    .end annotation
.end field

.field public final d:Lo5/a;


# direct methods
.method public constructor <init>(ILo5/j;Ln6/j;Lo5/a;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I",
            "Lo5/j<",
            "Ln5/a$b;",
            "TResultT;>;",
            "Ln6/j<",
            "TResultT;>;",
            "Lo5/a;",
            ")V"
        }
    .end annotation

    invoke-direct {p0, p1}, Lo5/x;-><init>(I)V

    iput-object p3, p0, Lo5/e0;->c:Ln6/j;

    iput-object p2, p0, Lo5/e0;->b:Lo5/j;

    iput-object p4, p0, Lo5/e0;->d:Lo5/a;

    const/4 p3, 0x2

    if-ne p1, p3, :cond_19

    .line 1
    iget-boolean p1, p2, Lo5/j;->b:Z

    if-nez p1, :cond_11

    goto :goto_19

    .line 2
    :cond_11
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string p2, "Best-effort write calls cannot pass methods that should auto-resolve missing features."

    invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p1

    :cond_19
    :goto_19
    return-void
.end method


# virtual methods
.method public final a(Lcom/google/android/gms/common/api/Status;)V
    .registers 4

    iget-object v0, p0, Lo5/e0;->c:Ln6/j;

    iget-object v1, p0, Lo5/e0;->d:Lo5/a;

    invoke-static {v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 1
    iget-object v1, p1, Lcom/google/android/gms/common/api/Status;->u:Landroid/app/PendingIntent;

    if-eqz v1, :cond_d

    const/4 v1, 0x1

    goto :goto_e

    :cond_d
    const/4 v1, 0x0

    :goto_e
    if-eqz v1, :cond_16

    .line 2
    new-instance v1, Ln5/g;

    invoke-direct {v1, p1}, Ln5/g;-><init>(Lcom/google/android/gms/common/api/Status;)V

    goto :goto_1b

    :cond_16
    new-instance v1, Ln5/b;

    invoke-direct {v1, p1}, Ln5/b;-><init>(Lcom/google/android/gms/common/api/Status;)V

    .line 3
    :goto_1b
    invoke-virtual {v0, v1}, Ln6/j;->a(Ljava/lang/Exception;)Z

    return-void
.end method

.method public final b(Ljava/lang/Exception;)V
    .registers 3

    iget-object v0, p0, Lo5/e0;->c:Ln6/j;

    invoke-virtual {v0, p1}, Ln6/j;->a(Ljava/lang/Exception;)Z

    return-void
.end method

.method public final c(Lo5/k;Z)V
    .registers 6

    iget-object v0, p0, Lo5/e0;->c:Ln6/j;

    .line 1
    iget-object v1, p1, Lo5/k;->b:Ljava/util/Map;

    invoke-static {p2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object p2

    invoke-interface {v1, v0, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 2
    iget-object p2, v0, Ln6/j;->a:Ln6/u;

    .line 3
    new-instance v1, Landroidx/appcompat/widget/d0;

    invoke-direct {v1, p1, v0}, Landroidx/appcompat/widget/d0;-><init>(Lo5/k;Ln6/j;)V

    invoke-static {p2}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 4
    sget-object p1, Ln6/k;->a:Ljava/util/concurrent/Executor;

    iget-object v0, p2, Ln6/u;->b:Ln6/s;

    new-instance v2, Ln6/o;

    invoke-direct {v2, p1, v1}, Ln6/o;-><init>(Ljava/util/concurrent/Executor;Ln6/d;)V

    invoke-virtual {v0, v2}, Ln6/s;->a(Ln6/r;)V

    invoke-virtual {p2}, Ln6/u;->t()V

    return-void
.end method

.method public final d(Lcom/google/android/gms/common/api/internal/d;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/google/android/gms/common/api/internal/d<",
            "*>;)V"
        }
    .end annotation

    :try_start_0
    iget-object v0, p0, Lo5/e0;->b:Lo5/j;

    .line 1
    iget-object p1, p1, Lcom/google/android/gms/common/api/internal/d;->s:Ln5/a$f;

    .line 2
    iget-object v1, p0, Lo5/e0;->c:Ln6/j;

    invoke-virtual {v0, p1, v1}, Lo5/j;->a(Ln5/a$b;Ln6/j;)V
    :try_end_9
    .catch Landroid/os/DeadObjectException; {:try_start_0 .. :try_end_9} :catch_1a
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_9} :catch_11
    .catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_9} :catch_a

    return-void

    :catch_a
    move-exception p1

    iget-object v0, p0, Lo5/e0;->c:Ln6/j;

    invoke-virtual {v0, p1}, Ln6/j;->a(Ljava/lang/Exception;)Z

    return-void

    :catch_11
    move-exception p1

    invoke-static {p1}, Lo5/g0;->e(Landroid/os/RemoteException;)Lcom/google/android/gms/common/api/Status;

    move-result-object p1

    invoke-virtual {p0, p1}, Lo5/e0;->a(Lcom/google/android/gms/common/api/Status;)V

    return-void

    :catch_1a
    move-exception p1

    throw p1
.end method

.method public final f(Lcom/google/android/gms/common/api/internal/d;)[Lm5/d;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/google/android/gms/common/api/internal/d<",
            "*>;)[",
            "Lcom/google/android/gms/common/Feature;"
        }
    .end annotation

    iget-object p1, p0, Lo5/e0;->b:Lo5/j;

    .line 1
    iget-object p1, p1, Lo5/j;->a:[Lm5/d;

    return-object p1
.end method

.method public final g(Lcom/google/android/gms/common/api/internal/d;)Z
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/google/android/gms/common/api/internal/d<",
            "*>;)Z"
        }
    .end annotation

    iget-object p1, p0, Lo5/e0;->b:Lo5/j;

    .line 1
    iget-boolean p1, p1, Lo5/j;->b:Z

    return p1
.end method
