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

# interfaces
.implements Ljava/lang/Comparable;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;",
        "Ljava/lang/Comparable<",
        "Lz5/sy1<",
        "TT;>;>;"
    }
.end annotation


# instance fields
.field private final zza:Lz5/dz1;

.field private final zzb:I

.field private final zzc:Ljava/lang/String;

.field private final zzd:I

.field private final zze:Ljava/lang/Object;

.field private final zzf:Lz5/wy1;

.field private zzg:Ljava/lang/Integer;

.field private zzh:Lz5/vy1;

.field private zzi:Z

.field private zzj:Lz5/ey1;

.field private zzk:Lz5/ry1;

.field private final zzl:Lz5/iy1;


# direct methods
.method public constructor <init>(ILjava/lang/String;Lz5/wy1;)V
    .registers 6

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

    sget-boolean v0, Lz5/dz1;->c:Z

    const/4 v1, 0x0

    if-eqz v0, :cond_e

    new-instance v0, Lz5/dz1;

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

    goto :goto_f

    :cond_e
    move-object v0, v1

    :goto_f
    iput-object v0, p0, Lz5/sy1;->zza:Lz5/dz1;

    new-instance v0, Ljava/lang/Object;

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

    iput-object v0, p0, Lz5/sy1;->zze:Ljava/lang/Object;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lz5/sy1;->zzi:Z

    iput-object v1, p0, Lz5/sy1;->zzj:Lz5/ey1;

    iput p1, p0, Lz5/sy1;->zzb:I

    iput-object p2, p0, Lz5/sy1;->zzc:Ljava/lang/String;

    iput-object p3, p0, Lz5/sy1;->zzf:Lz5/wy1;

    new-instance p1, Lz5/iy1;

    invoke-direct {p1}, Lz5/iy1;-><init>()V

    iput-object p1, p0, Lz5/sy1;->zzl:Lz5/iy1;

    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-nez p1, :cond_40

    invoke-static {p2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object p1

    if-eqz p1, :cond_40

    invoke-virtual {p1}, Landroid/net/Uri;->getHost()Ljava/lang/String;

    move-result-object p1

    if-eqz p1, :cond_40

    invoke-virtual {p1}, Ljava/lang/String;->hashCode()I

    move-result v0

    :cond_40
    iput v0, p0, Lz5/sy1;->zzd:I

    return-void
.end method

.method public static synthetic zza(Lz5/sy1;)Lz5/dz1;
    .registers 1

    iget-object p0, p0, Lz5/sy1;->zza:Lz5/dz1;

    return-object p0
.end method


# virtual methods
.method public final bridge synthetic compareTo(Ljava/lang/Object;)I
    .registers 3

    check-cast p1, Lz5/sy1;

    iget-object v0, p0, Lz5/sy1;->zzg:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    iget-object p1, p1, Lz5/sy1;->zzg:Ljava/lang/Integer;

    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result p1

    sub-int/2addr v0, p1

    return v0
.end method

.method public final toString()Ljava/lang/String;
    .registers 8

    iget v0, p0, Lz5/sy1;->zzd:I

    invoke-static {v0}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    const-string v2, "0x"

    if-eqz v1, :cond_17

    invoke-virtual {v2, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_1c

    :cond_17
    new-instance v0, Ljava/lang/String;

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

    :goto_1c
    invoke-virtual {p0}, Lz5/sy1;->zzm()Z

    iget-object v1, p0, Lz5/sy1;->zzc:Ljava/lang/String;

    iget-object v2, p0, Lz5/sy1;->zzg:Ljava/lang/Integer;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/String;->length()I

    move-result v4

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v5

    new-instance v6, Ljava/lang/StringBuilder;

    add-int/lit8 v3, v3, 0x7

    add-int/2addr v3, v4

    add-int/lit8 v3, v3, 0x6

    add-int/2addr v3, v5

    invoke-direct {v6, v3}, Ljava/lang/StringBuilder;-><init>(I)V

    const-string v3, "[ ] "

    const-string v4, " "

    invoke-static {v6, v3, v1, v4, v0}, Lb1/f;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    const-string v0, " NORMAL "

    invoke-static {v6, v0, v2}, Landroidx/activity/b;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public final zzb()I
    .registers 2

    iget v0, p0, Lz5/sy1;->zzb:I

    return v0
.end method

.method public final zzc()I
    .registers 2

    iget v0, p0, Lz5/sy1;->zzd:I

    return v0
.end method

.method public final zzd(Ljava/lang/String;)V
    .registers 5

    sget-boolean v0, Lz5/dz1;->c:Z

    if-eqz v0, :cond_11

    iget-object v0, p0, Lz5/sy1;->zza:Lz5/dz1;

    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Thread;->getId()J

    move-result-wide v1

    invoke-virtual {v0, p1, v1, v2}, Lz5/dz1;->a(Ljava/lang/String;J)V

    :cond_11
    return-void
.end method

.method public final zze(Ljava/lang/String;)V
    .registers 6

    iget-object v0, p0, Lz5/sy1;->zzh:Lz5/vy1;

    if-eqz v0, :cond_32

    .line 1
    iget-object v1, v0, Lz5/vy1;->b:Ljava/util/Set;

    monitor-enter v1

    :try_start_7
    iget-object v2, v0, Lz5/vy1;->b:Ljava/util/Set;

    invoke-interface {v2, p0}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z

    monitor-exit v1
    :try_end_d
    .catchall {:try_start_7 .. :try_end_d} :catchall_2f

    iget-object v2, v0, Lz5/vy1;->i:Ljava/util/List;

    monitor-enter v2

    :try_start_10
    iget-object v1, v0, Lz5/vy1;->i:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_16
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_26

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lz5/uy1;

    invoke-interface {v3}, Lz5/uy1;->zza()V

    goto :goto_16

    :cond_26
    monitor-exit v2
    :try_end_27
    .catchall {:try_start_10 .. :try_end_27} :catchall_2c

    const/4 v1, 0x5

    invoke-virtual {v0, p0, v1}, Lz5/vy1;->c(Lz5/sy1;I)V

    goto :goto_32

    :catchall_2c
    move-exception p1

    :try_start_2d
    monitor-exit v2
    :try_end_2e
    .catchall {:try_start_2d .. :try_end_2e} :catchall_2c

    throw p1

    :catchall_2f
    move-exception p1

    :try_start_30
    monitor-exit v1
    :try_end_31
    .catchall {:try_start_30 .. :try_end_31} :catchall_2f

    throw p1

    .line 2
    :cond_32
    :goto_32
    sget-boolean v0, Lz5/dz1;->c:Z

    if-eqz v0, :cond_68

    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Thread;->getId()J

    move-result-wide v0

    invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;

    move-result-object v2

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v3

    if-eq v2, v3, :cond_5a

    new-instance v2, Landroid/os/Handler;

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v3

    invoke-direct {v2, v3}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    new-instance v3, Lz5/jt1;

    invoke-direct {v3, p0, p1, v0, v1}, Lz5/jt1;-><init>(Lz5/sy1;Ljava/lang/String;J)V

    invoke-virtual {v2, v3}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    return-void

    :cond_5a
    iget-object v2, p0, Lz5/sy1;->zza:Lz5/dz1;

    invoke-virtual {v2, p1, v0, v1}, Lz5/dz1;->a(Ljava/lang/String;J)V

    iget-object p1, p0, Lz5/sy1;->zza:Lz5/dz1;

    invoke-virtual {p0}, Lz5/sy1;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Lz5/dz1;->b(Ljava/lang/String;)V

    :cond_68
    return-void
.end method

.method public final zzf(I)V
    .registers 3

    iget-object v0, p0, Lz5/sy1;->zzh:Lz5/vy1;

    if-eqz v0, :cond_7

    invoke-virtual {v0, p0, p1}, Lz5/vy1;->c(Lz5/sy1;I)V

    :cond_7
    return-void
.end method

.method public final zzg(Lz5/vy1;)Lz5/sy1;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/vy1;",
            ")",
            "Lz5/sy1<",
            "*>;"
        }
    .end annotation

    iput-object p1, p0, Lz5/sy1;->zzh:Lz5/vy1;

    return-object p0
.end method

.method public final zzh(I)Lz5/sy1;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I)",
            "Lz5/sy1<",
            "*>;"
        }
    .end annotation

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    iput-object p1, p0, Lz5/sy1;->zzg:Ljava/lang/Integer;

    return-object p0
.end method

.method public final zzi()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lz5/sy1;->zzc:Ljava/lang/String;

    return-object v0
.end method

.method public final zzj()Ljava/lang/String;
    .registers 7

    iget-object v0, p0, Lz5/sy1;->zzc:Ljava/lang/String;

    iget v1, p0, Lz5/sy1;->zzb:I

    if-eqz v1, :cond_31

    const/4 v1, 0x1

    invoke-static {v1}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/String;->length()I

    move-result v4

    new-instance v5, Ljava/lang/StringBuilder;

    add-int/2addr v3, v1

    add-int/2addr v3, v4

    invoke-direct {v5, v3}, Ljava/lang/StringBuilder;-><init>(I)V

    invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const/16 v1, 0x2d

    invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :cond_31
    return-object v0
.end method

.method public final zzk(Lz5/ey1;)Lz5/sy1;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/ey1;",
            ")",
            "Lz5/sy1<",
            "*>;"
        }
    .end annotation

    iput-object p1, p0, Lz5/sy1;->zzj:Lz5/ey1;

    return-object p0
.end method

.method public final zzl()Lz5/ey1;
    .registers 2

    iget-object v0, p0, Lz5/sy1;->zzj:Lz5/ey1;

    return-object v0
.end method

.method public final zzm()Z
    .registers 3

    iget-object v0, p0, Lz5/sy1;->zze:Ljava/lang/Object;

    monitor-enter v0

    :try_start_3
    monitor-exit v0

    const/4 v0, 0x0

    return v0

    :catchall_6
    move-exception v1

    monitor-exit v0
    :try_end_8
    .catchall {:try_start_3 .. :try_end_8} :catchall_6

    throw v1
.end method

.method public zzn()Ljava/util/Map;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    invoke-static {}, Ljava/util/Collections;->emptyMap()Ljava/util/Map;

    move-result-object v0

    return-object v0
.end method

.method public zzo()[B
    .registers 2

    const/4 v0, 0x0

    return-object v0
.end method

.method public final zzp()I
    .registers 2

    iget-object v0, p0, Lz5/sy1;->zzl:Lz5/iy1;

    .line 1
    iget v0, v0, Lz5/iy1;->a:I

    return v0
.end method

.method public final zzq()V
    .registers 3

    iget-object v0, p0, Lz5/sy1;->zze:Ljava/lang/Object;

    monitor-enter v0

    const/4 v1, 0x1

    :try_start_4
    iput-boolean v1, p0, Lz5/sy1;->zzi:Z

    monitor-exit v0

    return-void

    :catchall_8
    move-exception v1

    monitor-exit v0
    :try_end_a
    .catchall {:try_start_4 .. :try_end_a} :catchall_8

    throw v1
.end method

.method public final zzr()Z
    .registers 3

    iget-object v0, p0, Lz5/sy1;->zze:Ljava/lang/Object;

    monitor-enter v0

    :try_start_3
    iget-boolean v1, p0, Lz5/sy1;->zzi:Z

    monitor-exit v0

    return v1

    :catchall_7
    move-exception v1

    monitor-exit v0
    :try_end_9
    .catchall {:try_start_3 .. :try_end_9} :catchall_7

    throw v1
.end method

.method public abstract zzs(Lz5/oy1;)Lz5/yy1;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/oy1;",
            ")",
            "Lz5/yy1<",
            "TT;>;"
        }
    .end annotation
.end method

.method public abstract zzt(Ljava/lang/Object;)V
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TT;)V"
        }
    .end annotation
.end method

.method public final zzu(Lz5/bz1;)V
    .registers 4

    iget-object v0, p0, Lz5/sy1;->zze:Ljava/lang/Object;

    monitor-enter v0

    :try_start_3
    iget-object v1, p0, Lz5/sy1;->zzf:Lz5/wy1;

    monitor-exit v0
    :try_end_6
    .catchall {:try_start_3 .. :try_end_6} :catchall_c

    if-eqz v1, :cond_b

    invoke-interface {v1, p1}, Lz5/wy1;->zza(Lz5/bz1;)V

    :cond_b
    return-void

    :catchall_c
    move-exception p1

    :try_start_d
    monitor-exit v0
    :try_end_e
    .catchall {:try_start_d .. :try_end_e} :catchall_c

    throw p1
.end method

.method public final zzv(Lz5/ry1;)V
    .registers 3

    iget-object v0, p0, Lz5/sy1;->zze:Ljava/lang/Object;

    monitor-enter v0

    :try_start_3
    iput-object p1, p0, Lz5/sy1;->zzk:Lz5/ry1;

    monitor-exit v0

    return-void

    :catchall_7
    move-exception p1

    monitor-exit v0
    :try_end_9
    .catchall {:try_start_3 .. :try_end_9} :catchall_7

    throw p1
.end method

.method public final zzw(Lz5/yy1;)V
    .registers 9
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/yy1<",
            "*>;)V"
        }
    .end annotation

    iget-object v0, p0, Lz5/sy1;->zze:Ljava/lang/Object;

    monitor-enter v0

    :try_start_3
    iget-object v1, p0, Lz5/sy1;->zzk:Lz5/ry1;

    monitor-exit v0
    :try_end_6
    .catchall {:try_start_3 .. :try_end_6} :catchall_6a

    if-eqz v1, :cond_69

    check-cast v1, Lcom/google/android/gms/internal/ads/v3;

    .line 1
    iget-object v0, p1, Lz5/yy1;->b:Lz5/ey1;

    if-eqz v0, :cond_66

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    .line 2
    iget-wide v4, v0, Lz5/ey1;->e:J

    cmp-long v0, v4, v2

    const/4 v2, 0x1

    const/4 v3, 0x0

    if-gez v0, :cond_1c

    move v0, v2

    goto :goto_1d

    :cond_1c
    move v0, v3

    :goto_1d
    if-eqz v0, :cond_20

    goto :goto_66

    .line 3
    :cond_20
    invoke-virtual {p0}, Lz5/sy1;->zzj()Ljava/lang/String;

    move-result-object v0

    monitor-enter v1

    :try_start_25
    iget-object v4, v1, Lcom/google/android/gms/internal/ads/v3;->s:Ljava/lang/Object;

    check-cast v4, Ljava/util/Map;

    invoke-interface {v4, v0}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/util/List;

    monitor-exit v1
    :try_end_30
    .catchall {:try_start_25 .. :try_end_30} :catchall_63

    if-eqz v4, :cond_69

    sget-boolean v5, Lz5/ez1;->a:Z

    if-eqz v5, :cond_4a

    const/4 v5, 0x2

    new-array v5, v5, [Ljava/lang/Object;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v6

    invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v6

    aput-object v6, v5, v3

    aput-object v0, v5, v2

    const-string v0, "Releasing %d waiting requests for cacheKey=%s."

    invoke-static {v0, v5}, Lz5/ez1;->a(Ljava/lang/String;[Ljava/lang/Object;)V

    :cond_4a
    invoke-interface {v4}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_4e
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_69

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lz5/sy1;

    iget-object v3, v1, Lcom/google/android/gms/internal/ads/v3;->v:Ljava/lang/Object;

    check-cast v3, Lz5/ex0;

    const/4 v4, 0x0

    invoke-virtual {v3, v2, p1, v4}, Lz5/ex0;->l(Lz5/sy1;Lz5/yy1;Ljava/lang/Runnable;)V

    goto :goto_4e

    :catchall_63
    move-exception p1

    :try_start_64
    monitor-exit v1
    :try_end_65
    .catchall {:try_start_64 .. :try_end_65} :catchall_63

    throw p1

    :cond_66
    :goto_66
    invoke-virtual {v1, p0}, Lcom/google/android/gms/internal/ads/v3;->h(Lz5/sy1;)V

    :cond_69
    return-void

    :catchall_6a
    move-exception p1

    .line 4
    :try_start_6b
    monitor-exit v0
    :try_end_6c
    .catchall {:try_start_6b .. :try_end_6c} :catchall_6a

    throw p1
.end method

.method public final zzx()V
    .registers 3

    iget-object v0, p0, Lz5/sy1;->zze:Ljava/lang/Object;

    monitor-enter v0

    :try_start_3
    iget-object v1, p0, Lz5/sy1;->zzk:Lz5/ry1;

    monitor-exit v0
    :try_end_6
    .catchall {:try_start_3 .. :try_end_6} :catchall_e

    if-eqz v1, :cond_d

    check-cast v1, Lcom/google/android/gms/internal/ads/v3;

    invoke-virtual {v1, p0}, Lcom/google/android/gms/internal/ads/v3;->h(Lz5/sy1;)V

    :cond_d
    return-void

    :catchall_e
    move-exception v1

    :try_start_f
    monitor-exit v0
    :try_end_10
    .catchall {:try_start_f .. :try_end_10} :catchall_e

    throw v1
.end method

.method public final zzy()Lz5/iy1;
    .registers 2

    iget-object v0, p0, Lz5/sy1;->zzl:Lz5/iy1;

    return-object v0
.end method
