.class public final Lz5/je1;
.super Lz5/xc1;
.source ""


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


# instance fields
.field public final synthetic d:I


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

    iput p1, p0, Lz5/je1;->d:I

    const/4 v0, 0x0

    const/4 v1, 0x1

    if-eq p1, v1, :cond_17

    new-array p1, v1, [Lz5/wc1;

    .line 1
    new-instance v1, Lz5/ie1;

    const-class v2, Lz5/oc1;

    invoke-direct {v1, v2, v0}, Lz5/ie1;-><init>(Ljava/lang/Class;I)V

    aput-object v1, p1, v0

    const-class v0, Lz5/di1;

    invoke-direct {p0, v0, p1}, Lz5/xc1;-><init>(Ljava/lang/Class;[Lz5/wc1;)V

    return-void

    :cond_17
    new-array p1, v1, [Lz5/wc1;

    .line 2
    new-instance v2, Lz5/ie1;

    const-class v3, Lz5/ad1;

    invoke-direct {v2, v3, v1}, Lz5/ie1;-><init>(Ljava/lang/Class;I)V

    aput-object v2, p1, v0

    const-class v0, Lz5/ih1;

    invoke-direct {p0, v0, p1}, Lz5/xc1;-><init>(Ljava/lang/Class;[Lz5/wc1;)V

    return-void
.end method

.method public static final j(Lz5/ih1;)V
    .registers 3

    invoke-virtual {p0}, Lz5/ih1;->w()I

    move-result v0

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lz5/ej1;->b(II)V

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

    move-result-object v0

    invoke-virtual {v0}, Lz5/zj1;->o()I

    move-result v0

    const/16 v1, 0x10

    if-lt v0, v1, :cond_1c

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

    move-result-object p0

    invoke-static {p0}, Lz5/je1;->l(Lz5/mh1;)V

    return-void

    :cond_1c
    new-instance p0, Ljava/security/GeneralSecurityException;

    const-string v0, "key too short"

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

    throw p0
.end method

.method public static k(IIII)Lz5/vc1;
    .registers 9
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(IIII)",
            "Lz5/vc1<",
            "Lz5/kh1;",
            ">;"
        }
    .end annotation

    new-instance v0, Lz5/vc1;

    invoke-static {}, Lz5/kh1;->z()Lz5/jh1;

    move-result-object v1

    invoke-static {}, Lz5/mh1;->x()Lz5/lh1;

    move-result-object v2

    .line 1
    iget-boolean v3, v2, Lz5/uk1;->t:Z

    const/4 v4, 0x0

    if-eqz v3, :cond_14

    invoke-virtual {v2}, Lz5/uk1;->i()V

    iput-boolean v4, v2, Lz5/uk1;->t:Z

    :cond_14
    iget-object v3, v2, Lz5/uk1;->s:Lz5/xk1;

    check-cast v3, Lz5/mh1;

    invoke-static {v3, p2}, Lz5/mh1;->C(Lz5/mh1;I)V

    .line 2
    iget-boolean p2, v2, Lz5/uk1;->t:Z

    if-eqz p2, :cond_24

    invoke-virtual {v2}, Lz5/uk1;->i()V

    iput-boolean v4, v2, Lz5/uk1;->t:Z

    :cond_24
    iget-object p2, v2, Lz5/uk1;->s:Lz5/xk1;

    check-cast p2, Lz5/mh1;

    invoke-static {p2, p1}, Lz5/mh1;->A(Lz5/mh1;I)V

    .line 3
    invoke-virtual {v2}, Lz5/uk1;->m()Lz5/xk1;

    move-result-object p1

    check-cast p1, Lz5/mh1;

    .line 4
    iget-boolean p2, v1, Lz5/uk1;->t:Z

    if-eqz p2, :cond_3a

    invoke-virtual {v1}, Lz5/uk1;->i()V

    iput-boolean v4, v1, Lz5/uk1;->t:Z

    :cond_3a
    iget-object p2, v1, Lz5/uk1;->s:Lz5/xk1;

    check-cast p2, Lz5/kh1;

    invoke-static {p2, p1}, Lz5/kh1;->C(Lz5/kh1;Lz5/mh1;)V

    .line 5
    iget-boolean p1, v1, Lz5/uk1;->t:Z

    if-eqz p1, :cond_4a

    invoke-virtual {v1}, Lz5/uk1;->i()V

    iput-boolean v4, v1, Lz5/uk1;->t:Z

    :cond_4a
    iget-object p1, v1, Lz5/uk1;->s:Lz5/xk1;

    check-cast p1, Lz5/kh1;

    invoke-static {p1, p0}, Lz5/kh1;->D(Lz5/kh1;I)V

    .line 6
    invoke-virtual {v1}, Lz5/uk1;->m()Lz5/xk1;

    move-result-object p0

    check-cast p0, Lz5/kh1;

    invoke-direct {v0, p0, p3}, Lz5/vc1;-><init>(Ljava/lang/Object;I)V

    return-object v0
.end method

.method public static l(Lz5/mh1;)V
    .registers 4

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

    move-result v0

    const/16 v1, 0xa

    if-lt v0, v1, :cond_72

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

    move-result v0

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

    const/4 v1, 0x1

    const-string v2, "tag size too big"

    if-eq v0, v1, :cond_63

    const/4 v1, 0x2

    if-eq v0, v1, :cond_54

    const/4 v1, 0x3

    if-eq v0, v1, :cond_45

    const/4 v1, 0x4

    if-eq v0, v1, :cond_36

    const/4 v1, 0x5

    if-ne v0, v1, :cond_2e

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

    move-result p0

    const/16 v0, 0x1c

    if-gt p0, v0, :cond_28

    goto :goto_6b

    :cond_28
    new-instance p0, Ljava/security/GeneralSecurityException;

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

    throw p0

    :cond_2e
    new-instance p0, Ljava/security/GeneralSecurityException;

    const-string v0, "unknown hash type"

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

    throw p0

    :cond_36
    invoke-virtual {p0}, Lz5/mh1;->w()I

    move-result p0

    const/16 v0, 0x40

    if-gt p0, v0, :cond_3f

    goto :goto_6b

    :cond_3f
    new-instance p0, Ljava/security/GeneralSecurityException;

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

    throw p0

    :cond_45
    invoke-virtual {p0}, Lz5/mh1;->w()I

    move-result p0

    const/16 v0, 0x20

    if-gt p0, v0, :cond_4e

    goto :goto_6b

    :cond_4e
    new-instance p0, Ljava/security/GeneralSecurityException;

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

    throw p0

    :cond_54
    invoke-virtual {p0}, Lz5/mh1;->w()I

    move-result p0

    const/16 v0, 0x30

    if-gt p0, v0, :cond_5d

    goto :goto_6b

    :cond_5d
    new-instance p0, Ljava/security/GeneralSecurityException;

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

    throw p0

    :cond_63
    invoke-virtual {p0}, Lz5/mh1;->w()I

    move-result p0

    const/16 v0, 0x14

    if-gt p0, v0, :cond_6c

    :goto_6b
    return-void

    :cond_6c
    new-instance p0, Ljava/security/GeneralSecurityException;

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

    throw p0

    :cond_72
    new-instance p0, Ljava/security/GeneralSecurityException;

    const-string v0, "tag size too small"

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

    throw p0
.end method


# virtual methods
.method public final a()Ljava/lang/String;
    .registers 2

    iget v0, p0, Lz5/je1;->d:I

    packed-switch v0, :pswitch_data_c

    const-string v0, "type.googleapis.com/google.crypto.tink.HmacKey"

    return-object v0

    :pswitch_8
    const-string v0, "type.googleapis.com/google.crypto.tink.KmsEnvelopeAeadKey"

    return-object v0

    nop

    :pswitch_data_c
    .packed-switch 0x0
        :pswitch_8
    .end packed-switch
.end method

.method public final bridge synthetic b(Lz5/zj1;)Lz5/bm1;
    .registers 3

    iget v0, p0, Lz5/je1;->d:I

    packed-switch v0, :pswitch_data_18

    goto :goto_f

    .line 1
    :pswitch_6
    invoke-static {}, Lz5/lk1;->a()Lz5/lk1;

    move-result-object v0

    invoke-static {p1, v0}, Lz5/di1;->y(Lz5/zj1;Lz5/lk1;)Lz5/di1;

    move-result-object p1

    return-object p1

    .line 2
    :goto_f
    invoke-static {}, Lz5/lk1;->a()Lz5/lk1;

    move-result-object v0

    invoke-static {p1, v0}, Lz5/ih1;->z(Lz5/zj1;Lz5/lk1;)Lz5/ih1;

    move-result-object p1

    return-object p1

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

.method public final bridge synthetic c(Lz5/bm1;)V
    .registers 3

    iget v0, p0, Lz5/je1;->d:I

    packed-switch v0, :pswitch_data_18

    goto :goto_11

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

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

    move-result p1

    const/4 v0, 0x0

    invoke-static {p1, v0}, Lz5/ej1;->b(II)V

    return-void

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

    invoke-static {p1}, Lz5/je1;->j(Lz5/ih1;)V

    return-void

    nop

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

.method public final g()Lcom/google/android/gms/internal/ads/a;
    .registers 4

    iget v0, p0, Lz5/je1;->d:I

    packed-switch v0, :pswitch_data_18

    goto :goto_e

    .line 1
    :pswitch_6
    new-instance v0, Lz5/rd1;

    const-class v1, Lz5/ei1;

    invoke-direct {v0, p0, v1}, Lz5/rd1;-><init>(Lz5/je1;Ljava/lang/Class;)V

    return-object v0

    .line 2
    :goto_e
    new-instance v0, Lz5/rd1;

    const-class v1, Lz5/kh1;

    const/4 v2, 0x0

    invoke-direct {v0, p0, v1, v2}, Lz5/rd1;-><init>(Lz5/je1;Ljava/lang/Class;Lp/b;)V

    return-object v0

    nop

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

.method public final h()I
    .registers 2

    iget v0, p0, Lz5/je1;->d:I

    packed-switch v0, :pswitch_data_a

    const/4 v0, 0x3

    return v0

    :pswitch_7
    const/4 v0, 0x6

    return v0

    nop

    :pswitch_data_a
    .packed-switch 0x0
        :pswitch_7
    .end packed-switch
.end method

.method public i()I
    .registers 2

    iget v0, p0, Lz5/je1;->d:I

    packed-switch v0, :pswitch_data_a

    const/4 v0, 0x1

    return v0

    :pswitch_7
    const/4 v0, 0x2

    return v0

    nop

    :pswitch_data_a
    .packed-switch 0x1
        :pswitch_7
    .end packed-switch
.end method
