.class public Ly2/g;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lk3/g;
.implements Lz5/u91;
.implements Lz5/zi1;


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

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

    return-void
.end method


# virtual methods
.method public bridge synthetic b(Ljava/lang/String;Ljava/security/Provider;)Ljava/lang/Object;
    .registers 3

    if-nez p2, :cond_7

    invoke-static {p1}, Ljavax/crypto/Cipher;->getInstance(Ljava/lang/String;)Ljavax/crypto/Cipher;

    move-result-object p1

    goto :goto_b

    :cond_7
    invoke-static {p1, p2}, Ljavax/crypto/Cipher;->getInstance(Ljava/lang/String;Ljava/security/Provider;)Ljavax/crypto/Cipher;

    move-result-object p1

    :goto_b
    return-object p1
.end method

.method public c(Ljava/lang/Object;Ljava/io/File;Lk3/e;)Z
    .registers 4

    check-cast p1, Lm3/w;

    .line 1
    invoke-interface {p1}, Lm3/w;->get()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lx3/c;

    .line 2
    :try_start_8
    iget-object p1, p1, Lx3/c;->r:Lx3/c$a;

    iget-object p1, p1, Lx3/c$a;->a:Lx3/f;

    .line 3
    iget-object p1, p1, Lx3/f;->a:Lj3/a;

    invoke-interface {p1}, Lj3/a;->g()Ljava/nio/ByteBuffer;

    move-result-object p1

    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->asReadOnlyBuffer()Ljava/nio/ByteBuffer;

    move-result-object p1

    .line 4
    invoke-static {p1, p2}, Lg4/a;->b(Ljava/nio/ByteBuffer;Ljava/io/File;)V
    :try_end_19
    .catch Ljava/io/IOException; {:try_start_8 .. :try_end_19} :catch_1b

    const/4 p1, 0x1

    goto :goto_2b

    :catch_1b
    move-exception p1

    const/4 p2, 0x5

    const-string p3, "GifEncoder"

    invoke-static {p3, p2}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z

    move-result p2

    if-eqz p2, :cond_2a

    const-string p2, "Failed to encode GIF drawable data"

    invoke-static {p3, p2, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    :cond_2a
    const/4 p1, 0x0

    :goto_2b
    return p1
.end method

.method public f(Lk3/e;)Lcom/bumptech/glide/load/c;
    .registers 2

    sget-object p1, Lcom/bumptech/glide/load/c;->r:Lcom/bumptech/glide/load/c;

    return-object p1
.end method

.method public zza()Ljava/lang/Object;
    .registers 2

    const/4 v0, -0x1

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    return-object v0
.end method
