.class public abstract Lz5/ms0;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lcom/google/android/gms/common/internal/a$a;
.implements Lcom/google/android/gms/common/internal/a$b;


# instance fields
.field public final r:Lcom/google/android/gms/internal/ads/y1;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/google/android/gms/internal/ads/y1<",
            "Ljava/io/InputStream;",
            ">;"
        }
    .end annotation
.end field

.field public final s:Ljava/lang/Object;

.field public t:Z

.field public u:Z

.field public v:Lcom/google/android/gms/internal/ads/k1;

.field public w:Lz5/g10;


# direct methods
.method public constructor <init>()V
    .registers 2

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, Lcom/google/android/gms/internal/ads/y1;

    invoke-direct {v0}, Lcom/google/android/gms/internal/ads/y1;-><init>()V

    iput-object v0, p0, Lz5/ms0;->r:Lcom/google/android/gms/internal/ads/y1;

    new-instance v0, Ljava/lang/Object;

    invoke-direct {v0}, Ljava/lang/Object;-><init>()V

    iput-object v0, p0, Lz5/ms0;->s:Ljava/lang/Object;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lz5/ms0;->t:Z

    iput-boolean v0, p0, Lz5/ms0;->u:Z

    return-void
.end method


# virtual methods
.method public final a()V
    .registers 3

    iget-object v0, p0, Lz5/ms0;->s:Ljava/lang/Object;

    monitor-enter v0

    const/4 v1, 0x1

    :try_start_4
    iput-boolean v1, p0, Lz5/ms0;->u:Z

    iget-object v1, p0, Lz5/ms0;->w:Lz5/g10;

    invoke-virtual {v1}, Lcom/google/android/gms/common/internal/a;->isConnected()Z

    move-result v1

    if-nez v1, :cond_16

    iget-object v1, p0, Lz5/ms0;->w:Lz5/g10;

    invoke-virtual {v1}, Lcom/google/android/gms/common/internal/a;->isConnecting()Z

    move-result v1

    if-eqz v1, :cond_1b

    :cond_16
    iget-object v1, p0, Lz5/ms0;->w:Lz5/g10;

    invoke-virtual {v1}, Lcom/google/android/gms/common/internal/a;->disconnect()V

    :cond_1b
    invoke-static {}, Landroid/os/Binder;->flushPendingCommands()V

    monitor-exit v0

    return-void

    :catchall_20
    move-exception v1

    monitor-exit v0
    :try_end_22
    .catchall {:try_start_4 .. :try_end_22} :catchall_20

    throw v1
.end method

.method public l(Lm5/b;)V
    .registers 4

    const-string p1, "Disconnected from remote ad request service."

    invoke-static {p1}, Lz5/d50;->zzd(Ljava/lang/String;)V

    iget-object p1, p0, Lz5/ms0;->r:Lcom/google/android/gms/internal/ads/y1;

    new-instance v0, Lz5/ys0;

    const/4 v1, 0x1

    invoke-direct {v0, v1}, Lz5/ys0;-><init>(I)V

    invoke-virtual {p1, v0}, Lcom/google/android/gms/internal/ads/y1;->zzd(Ljava/lang/Throwable;)Z

    return-void
.end method

.method public final p(I)V
    .registers 2

    const-string p1, "Cannot connect to remote service, fallback to local instance."

    invoke-static {p1}, Lz5/d50;->zzd(Ljava/lang/String;)V

    return-void
.end method
