.class public final Lz5/bd1;
.super Ljava/lang/Object;
.source ""


# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation


# direct methods
.method public static final a([B)Lz5/ex0;
    .registers 5
    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    :try_start_0
    invoke-static {}, Lz5/lk1;->a()Lz5/lk1;

    move-result-object v0

    invoke-static {p0, v0}, Lz5/uh1;->z([BLz5/lk1;)Lz5/uh1;

    move-result-object p0

    invoke-virtual {p0}, Lz5/uh1;->x()Ljava/util/List;

    move-result-object v0

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

    move-result-object v0

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

    move-result v1

    if-eqz v1, :cond_46

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

    move-result-object v1

    check-cast v1, Lz5/th1;

    invoke-virtual {v1}, Lz5/th1;->x()Lz5/oh1;

    move-result-object v2

    invoke-virtual {v2}, Lz5/oh1;->D()I

    move-result v2

    const/4 v3, 0x2

    if-eq v2, v3, :cond_3e

    invoke-virtual {v1}, Lz5/th1;->x()Lz5/oh1;

    move-result-object v2

    invoke-virtual {v2}, Lz5/oh1;->D()I

    move-result v2

    const/4 v3, 0x3

    if-eq v2, v3, :cond_3e

    invoke-virtual {v1}, Lz5/th1;->x()Lz5/oh1;

    move-result-object v1

    invoke-virtual {v1}, Lz5/oh1;->D()I

    move-result v1

    const/4 v2, 0x4

    if-eq v1, v2, :cond_3e

    goto :goto_10

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

    const-string v0, "keyset contains secret key material"

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

    throw p0

    .line 1
    :cond_46
    invoke-virtual {p0}, Lz5/uh1;->y()I

    move-result v0

    if-lez v0, :cond_52

    new-instance v0, Lz5/ex0;

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

    return-object v0

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

    const-string v0, "empty keyset"

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

    throw p0
    :try_end_5a
    .catch Lz5/il1; {:try_start_0 .. :try_end_5a} :catch_5a

    .line 2
    :catch_5a
    new-instance p0, Ljava/security/GeneralSecurityException;

    const-string v0, "invalid keyset"

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

    throw p0
.end method

.method public static b(Ljava/lang/String;)V
    .registers 3

    sget v0, Lz5/r7;->a:I

    const/16 v1, 0x12

    if-lt v0, v1, :cond_9

    invoke-static {p0}, Landroid/os/Trace;->beginSection(Ljava/lang/String;)V

    :cond_9
    return-void
.end method

.method public static c()Z
    .registers 2

    const-string v0, "java.vendor"

    invoke-static {v0}, Ljava/lang/System;->getProperty(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "The Android Project"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    return v0
.end method

.method public static d()V
    .registers 2

    sget v0, Lz5/r7;->a:I

    const/16 v1, 0x12

    if-lt v0, v1, :cond_9

    invoke-static {}, Landroid/os/Trace;->endSection()V

    :cond_9
    return-void
.end method
