.class public final Lz5/ie1;
.super Lz5/wc1;
.source ""


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lz5/wc1<",
        "Lz5/oc1;",
        "Lz5/di1;",
        ">;"
    }
.end annotation


# instance fields
.field public final synthetic b:I


# direct methods
.method public constructor <init>(Ljava/lang/Class;I)V
    .registers 4

    iput p2, p0, Lz5/ie1;->b:I

    const/4 v0, 0x1

    if-eq p2, v0, :cond_9

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

    return-void

    .line 2
    :cond_9
    invoke-direct {p0, p1}, Lz5/wc1;-><init>(Ljava/lang/Class;)V

    return-void
.end method


# virtual methods
.method public final bridge synthetic a(Ljava/lang/Object;)Ljava/lang/Object;
    .registers 6

    iget v0, p0, Lz5/ie1;->b:I

    packed-switch v0, :pswitch_data_a2

    goto :goto_26

    .line 1
    :pswitch_6
    check-cast p1, Lz5/di1;

    invoke-virtual {p1}, Lz5/di1;->x()Lz5/ei1;

    move-result-object v0

    invoke-virtual {v0}, Lz5/ei1;->w()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lz5/zc1;->a(Ljava/lang/String;)Lz5/yc1;

    move-result-object v0

    invoke-interface {v0}, Lz5/yc1;->zzb()Lz5/oc1;

    move-result-object v0

    new-instance v1, Lz5/he1;

    invoke-virtual {p1}, Lz5/di1;->x()Lz5/ei1;

    move-result-object p1

    invoke-virtual {p1}, Lz5/ei1;->y()Lz5/qh1;

    move-result-object p1

    invoke-direct {v1, p1, v0}, Lz5/he1;-><init>(Lz5/qh1;Lz5/oc1;)V

    return-object v1

    .line 2
    :goto_26
    check-cast p1, Lz5/ih1;

    invoke-virtual {p1}, Lz5/ih1;->x()Lz5/mh1;

    move-result-object v0

    invoke-virtual {v0}, Lz5/mh1;->B()I

    move-result v0

    invoke-virtual {p1}, Lz5/ih1;->y()Lz5/zj1;

    move-result-object v1

    invoke-virtual {v1}, Lz5/zj1;->p0()[B

    move-result-object v1

    new-instance v2, Ljavax/crypto/spec/SecretKeySpec;

    const-string v3, "HMAC"

    invoke-direct {v2, v1, v3}, Ljavax/crypto/spec/SecretKeySpec;-><init>([BLjava/lang/String;)V

    invoke-virtual {p1}, Lz5/ih1;->x()Lz5/mh1;

    move-result-object p1

    invoke-virtual {p1}, Lz5/mh1;->w()I

    move-result p1

    add-int/lit8 v0, v0, -0x2

    const/4 v1, 0x1

    if-eq v0, v1, :cond_94

    const/4 v1, 0x2

    if-eq v0, v1, :cond_87

    const/4 v1, 0x3

    if-eq v0, v1, :cond_7a

    const/4 v1, 0x4

    if-eq v0, v1, :cond_6d

    const/4 v1, 0x5

    if-ne v0, v1, :cond_65

    new-instance v0, Lz5/cj1;

    new-instance v1, Lcom/google/android/gms/internal/ads/g;

    const-string v3, "HMACSHA224"

    invoke-direct {v1, v3, v2}, Lcom/google/android/gms/internal/ads/g;-><init>(Ljava/lang/String;Ljava/security/Key;)V

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

    goto :goto_a0

    :cond_65
    new-instance p1, Ljava/security/GeneralSecurityException;

    const-string v0, "unknown hash"

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

    throw p1

    :cond_6d
    new-instance v0, Lz5/cj1;

    new-instance v1, Lcom/google/android/gms/internal/ads/g;

    const-string v3, "HMACSHA512"

    invoke-direct {v1, v3, v2}, Lcom/google/android/gms/internal/ads/g;-><init>(Ljava/lang/String;Ljava/security/Key;)V

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

    goto :goto_a0

    :cond_7a
    new-instance v0, Lz5/cj1;

    new-instance v1, Lcom/google/android/gms/internal/ads/g;

    const-string v3, "HMACSHA256"

    invoke-direct {v1, v3, v2}, Lcom/google/android/gms/internal/ads/g;-><init>(Ljava/lang/String;Ljava/security/Key;)V

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

    goto :goto_a0

    :cond_87
    new-instance v0, Lz5/cj1;

    new-instance v1, Lcom/google/android/gms/internal/ads/g;

    const-string v3, "HMACSHA384"

    invoke-direct {v1, v3, v2}, Lcom/google/android/gms/internal/ads/g;-><init>(Ljava/lang/String;Ljava/security/Key;)V

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

    goto :goto_a0

    :cond_94
    new-instance v0, Lz5/cj1;

    new-instance v1, Lcom/google/android/gms/internal/ads/g;

    const-string v3, "HMACSHA1"

    invoke-direct {v1, v3, v2}, Lcom/google/android/gms/internal/ads/g;-><init>(Ljava/lang/String;Ljava/security/Key;)V

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

    :goto_a0
    return-object v0

    nop

    :pswitch_data_a2
    .packed-switch 0x0
        :pswitch_6
    .end packed-switch
.end method
