.class public final synthetic Lo5/n;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Ljava/util/concurrent/Executor;


# instance fields
.field public final synthetic r:I

.field public final s:Landroid/os/Handler;


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

    iput p1, p0, Lo5/n;->r:I

    const/4 v0, 0x3

    if-eq p1, v0, :cond_14

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

    new-instance p1, Lcom/google/android/gms/ads/internal/util/zzf;

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

    move-result-object v0

    invoke-direct {p1, v0}, Lcom/google/android/gms/ads/internal/util/zzf;-><init>(Landroid/os/Looper;)V

    iput-object p1, p0, Lo5/n;->s:Landroid/os/Handler;

    return-void

    .line 2
    :cond_14
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance p1, Lh6/a;

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

    move-result-object v0

    invoke-direct {p1, v0}, Lh6/a;-><init>(Landroid/os/Looper;)V

    iput-object p1, p0, Lo5/n;->s:Landroid/os/Handler;

    return-void
.end method

.method public constructor <init>(Landroid/os/Handler;I)V
    .registers 4

    iput p2, p0, Lo5/n;->r:I

    const/4 v0, 0x2

    if-eq p2, v0, :cond_b

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

    iput-object p1, p0, Lo5/n;->s:Landroid/os/Handler;

    return-void

    .line 4
    :cond_b
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lo5/n;->s:Landroid/os/Handler;

    return-void
.end method


# virtual methods
.method public final execute(Ljava/lang/Runnable;)V
    .registers 4

    iget v0, p0, Lo5/n;->r:I

    packed-switch v0, :pswitch_data_3e

    goto :goto_38

    .line 1
    :pswitch_6
    iget-object v0, p0, Lo5/n;->s:Landroid/os/Handler;

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

    return-void

    .line 2
    :pswitch_c
    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Looper;->getThread()Ljava/lang/Thread;

    move-result-object v0

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

    move-result-object v1

    if-ne v0, v1, :cond_2c

    :try_start_1a
    invoke-interface {p1}, Ljava/lang/Runnable;->run()V
    :try_end_1d
    .catchall {:try_start_1a .. :try_end_1d} :catchall_1e

    goto :goto_31

    :catchall_1e
    move-exception p1

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzc()Lcom/google/android/gms/ads/internal/util/zzs;

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzg()Lcom/google/android/gms/internal/ads/u1;

    move-result-object v0

    .line 3
    iget-object v0, v0, Lcom/google/android/gms/internal/ads/u1;->e:Landroid/content/Context;

    .line 4
    invoke-static {v0, p1}, Lcom/google/android/gms/ads/internal/util/zzs;->zzO(Landroid/content/Context;Ljava/lang/Throwable;)V

    throw p1

    :cond_2c
    iget-object v0, p0, Lo5/n;->s:Landroid/os/Handler;

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

    :goto_31
    return-void

    .line 5
    :pswitch_32
    iget-object v0, p0, Lo5/n;->s:Landroid/os/Handler;

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

    return-void

    .line 6
    :goto_38
    iget-object v0, p0, Lo5/n;->s:Landroid/os/Handler;

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

    return-void

    :pswitch_data_3e
    .packed-switch 0x0
        :pswitch_32
        :pswitch_c
        :pswitch_6
    .end packed-switch
.end method
