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


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


# instance fields
.field public final synthetic d:I


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

    iput p1, p0, Lz5/yd1;->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/wd1;

    const-class v2, Lz5/oc1;

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

    aput-object v1, p1, v0

    const-class v0, Lz5/xf1;

    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/wd1;

    const-class v3, Lz5/rc1;

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

    aput-object v2, p1, v0

    const-class v0, Lz5/lg1;

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

    return-void
.end method

.method public static j(III)Lz5/vc1;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(III)",
            "Lz5/vc1<",
            "Lz5/zf1;",
            ">;"
        }
    .end annotation

    invoke-static {}, Lz5/zf1;->z()Lz5/yf1;

    move-result-object p1

    .line 1
    iget-boolean v0, p1, Lz5/uk1;->t:Z

    const/4 v1, 0x0

    if-eqz v0, :cond_e

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

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

    :cond_e
    iget-object v0, p1, Lz5/uk1;->s:Lz5/xk1;

    check-cast v0, Lz5/zf1;

    invoke-static {v0, p0}, Lz5/zf1;->C(Lz5/zf1;I)V

    .line 2
    invoke-static {}, Lz5/bg1;->x()Lz5/ag1;

    move-result-object p0

    .line 3
    iget-boolean v0, p0, Lz5/uk1;->t:Z

    if-eqz v0, :cond_22

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

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

    :cond_22
    iget-object v0, p0, Lz5/uk1;->s:Lz5/xk1;

    check-cast v0, Lz5/bg1;

    invoke-static {v0}, Lz5/bg1;->A(Lz5/bg1;)V

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

    move-result-object p0

    check-cast p0, Lz5/bg1;

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

    if-eqz v0, :cond_38

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

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

    :cond_38
    iget-object v0, p1, Lz5/uk1;->s:Lz5/xk1;

    check-cast v0, Lz5/zf1;

    invoke-static {v0, p0}, Lz5/zf1;->B(Lz5/zf1;Lz5/bg1;)V

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

    move-result-object p0

    check-cast p0, Lz5/zf1;

    new-instance p1, Lz5/vc1;

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

    return-object p1
.end method


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

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

    packed-switch v0, :pswitch_data_c

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

    return-object v0

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

    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/yd1;->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/xf1;->z(Lz5/zj1;Lz5/lk1;)Lz5/xf1;

    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/lg1;->y(Lz5/zj1;Lz5/lk1;)Lz5/lg1;

    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 5

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

    const/4 v1, 0x0

    packed-switch v0, :pswitch_data_7a

    goto :goto_3d

    .line 1
    :pswitch_7
    check-cast p1, Lz5/xf1;

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

    move-result v0

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

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

    move-result-object v0

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

    move-result v0

    invoke-static {v0}, Lz5/ej1;->a(I)V

    invoke-virtual {p1}, Lz5/xf1;->x()Lz5/bg1;

    move-result-object v0

    invoke-virtual {v0}, Lz5/bg1;->w()I

    move-result v0

    const/16 v1, 0xc

    if-eq v0, v1, :cond_3c

    invoke-virtual {p1}, Lz5/xf1;->x()Lz5/bg1;

    move-result-object p1

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

    move-result p1

    const/16 v0, 0x10

    if-ne p1, v0, :cond_34

    goto :goto_3c

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

    const-string v0, "invalid IV size; acceptable values have 12 or 16 bytes"

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

    throw p1

    :cond_3c
    :goto_3c
    return-void

    .line 2
    :goto_3d
    check-cast p1, Lz5/lg1;

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

    move-result v0

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

    invoke-virtual {p1}, Lz5/lg1;->x()Lz5/zj1;

    move-result-object v0

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

    move-result v0

    const/16 v1, 0x40

    if-ne v0, v1, :cond_53

    return-void

    :cond_53
    new-instance v0, Ljava/security/InvalidKeyException;

    invoke-virtual {p1}, Lz5/lg1;->x()Lz5/zj1;

    move-result-object p1

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

    move-result p1

    new-instance v1, Ljava/lang/StringBuilder;

    const/16 v2, 0x3d

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

    const-string v2, "invalid key size: "

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

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

    const-string p1, ". Valid keys must have 64 bytes."

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

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

    move-result-object p1

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

    throw v0

    nop

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

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

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

    packed-switch v0, :pswitch_data_18

    goto :goto_e

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

    const-class v1, Lz5/zf1;

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

    return-object v0

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

    const-class v1, Lz5/og1;

    const/4 v2, 0x0

    invoke-direct {v0, p0, v1, v2}, Lz5/rd1;-><init>(Lz5/yd1;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

    const/4 v0, 0x3

    return v0
.end method
