apkfuckery/com.discord/smali_classes2/okhttp3/Response$a.smali
2019-12-21 02:41:59 +01:00

584 lines
12 KiB
Smali

.class public Lokhttp3/Response$a;
.super Ljava/lang/Object;
.source "Response.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/Response;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "a"
.end annotation
# instance fields
.field public a:Lx/y;
.field public b:Lx/w;
.field public c:I
.field public d:Ljava/lang/String;
.field public e:Lx/t;
.field public f:Lokhttp3/Headers$a;
.field public g:Lx/z;
.field public h:Lokhttp3/Response;
.field public i:Lokhttp3/Response;
.field public j:Lokhttp3/Response;
.field public k:J
.field public l:J
.field public m:Lx/c0/c/c;
# direct methods
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, -0x1
iput v0, p0, Lokhttp3/Response$a;->c:I
new-instance v0, Lokhttp3/Headers$a;
invoke-direct {v0}, Lokhttp3/Headers$a;-><init>()V
iput-object v0, p0, Lokhttp3/Response$a;->f:Lokhttp3/Headers$a;
return-void
.end method
.method public constructor <init>(Lokhttp3/Response;)V
.locals 2
if-eqz p1, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, -0x1
iput v0, p0, Lokhttp3/Response$a;->c:I
invoke-virtual {p1}, Lokhttp3/Response;->u()Lx/y;
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$a;->a:Lx/y;
invoke-virtual {p1}, Lokhttp3/Response;->m()Lx/w;
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$a;->b:Lx/w;
invoke-virtual {p1}, Lokhttp3/Response;->c()I
move-result v0
iput v0, p0, Lokhttp3/Response$a;->c:I
invoke-virtual {p1}, Lokhttp3/Response;->i()Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$a;->d:Ljava/lang/String;
invoke-virtual {p1}, Lokhttp3/Response;->e()Lx/t;
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$a;->e:Lx/t;
invoke-virtual {p1}, Lokhttp3/Response;->f()Lokhttp3/Headers;
move-result-object v0
invoke-virtual {v0}, Lokhttp3/Headers;->i()Lokhttp3/Headers$a;
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$a;->f:Lokhttp3/Headers$a;
invoke-virtual {p1}, Lokhttp3/Response;->a()Lx/z;
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$a;->g:Lx/z;
invoke-virtual {p1}, Lokhttp3/Response;->j()Lokhttp3/Response;
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$a;->h:Lokhttp3/Response;
invoke-virtual {p1}, Lokhttp3/Response;->b()Lokhttp3/Response;
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$a;->i:Lokhttp3/Response;
invoke-virtual {p1}, Lokhttp3/Response;->l()Lokhttp3/Response;
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$a;->j:Lokhttp3/Response;
invoke-virtual {p1}, Lokhttp3/Response;->v()J
move-result-wide v0
iput-wide v0, p0, Lokhttp3/Response$a;->k:J
invoke-virtual {p1}, Lokhttp3/Response;->t()J
move-result-wide v0
iput-wide v0, p0, Lokhttp3/Response$a;->l:J
invoke-virtual {p1}, Lokhttp3/Response;->d()Lx/c0/c/c;
move-result-object p1
iput-object p1, p0, Lokhttp3/Response$a;->m:Lx/c0/c/c;
return-void
:cond_0
const-string p1, "response"
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public a(Ljava/lang/String;)Lokhttp3/Response$a;
.locals 0
if-eqz p1, :cond_0
iput-object p1, p0, Lokhttp3/Response$a;->d:Ljava/lang/String;
return-object p0
:cond_0
const-string p1, "message"
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public a(Lokhttp3/Headers;)Lokhttp3/Response$a;
.locals 0
if-eqz p1, :cond_0
invoke-virtual {p1}, Lokhttp3/Headers;->i()Lokhttp3/Headers$a;
move-result-object p1
iput-object p1, p0, Lokhttp3/Response$a;->f:Lokhttp3/Headers$a;
return-object p0
:cond_0
const-string p1, "headers"
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public a(Lokhttp3/Response;)Lokhttp3/Response$a;
.locals 1
const-string v0, "cacheResponse"
invoke-virtual {p0, v0, p1}, Lokhttp3/Response$a;->a(Ljava/lang/String;Lokhttp3/Response;)V
iput-object p1, p0, Lokhttp3/Response$a;->i:Lokhttp3/Response;
return-object p0
.end method
.method public a(Lx/w;)Lokhttp3/Response$a;
.locals 0
if-eqz p1, :cond_0
iput-object p1, p0, Lokhttp3/Response$a;->b:Lx/w;
return-object p0
:cond_0
const-string p1, "protocol"
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public a(Lx/y;)Lokhttp3/Response$a;
.locals 0
if-eqz p1, :cond_0
iput-object p1, p0, Lokhttp3/Response$a;->a:Lx/y;
return-object p0
:cond_0
const-string p1, "request"
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public a()Lokhttp3/Response;
.locals 19
move-object/from16 v0, p0
iget v1, v0, Lokhttp3/Response$a;->c:I
if-ltz v1, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
if-eqz v1, :cond_4
iget-object v3, v0, Lokhttp3/Response$a;->a:Lx/y;
if-eqz v3, :cond_3
iget-object v4, v0, Lokhttp3/Response$a;->b:Lx/w;
if-eqz v4, :cond_2
iget-object v5, v0, Lokhttp3/Response$a;->d:Ljava/lang/String;
if-eqz v5, :cond_1
iget v6, v0, Lokhttp3/Response$a;->c:I
iget-object v7, v0, Lokhttp3/Response$a;->e:Lx/t;
iget-object v1, v0, Lokhttp3/Response$a;->f:Lokhttp3/Headers$a;
invoke-virtual {v1}, Lokhttp3/Headers$a;->a()Lokhttp3/Headers;
move-result-object v8
iget-object v9, v0, Lokhttp3/Response$a;->g:Lx/z;
iget-object v10, v0, Lokhttp3/Response$a;->h:Lokhttp3/Response;
iget-object v11, v0, Lokhttp3/Response$a;->i:Lokhttp3/Response;
iget-object v12, v0, Lokhttp3/Response$a;->j:Lokhttp3/Response;
iget-wide v13, v0, Lokhttp3/Response$a;->k:J
iget-wide v1, v0, Lokhttp3/Response$a;->l:J
iget-object v15, v0, Lokhttp3/Response$a;->m:Lx/c0/c/c;
new-instance v18, Lokhttp3/Response;
move-wide/from16 v16, v1
move-object/from16 v2, v18
move-object v1, v15
move-wide/from16 v15, v16
move-object/from16 v17, v1
invoke-direct/range {v2 .. v17}, Lokhttp3/Response;-><init>(Lx/y;Lx/w;Ljava/lang/String;ILx/t;Lokhttp3/Headers;Lx/z;Lokhttp3/Response;Lokhttp3/Response;Lokhttp3/Response;JJLx/c0/c/c;)V
return-object v18
:cond_1
new-instance v1, Ljava/lang/IllegalStateException;
const-string v2, "message == null"
invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v2
invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
:cond_2
new-instance v1, Ljava/lang/IllegalStateException;
const-string v2, "protocol == null"
invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v2
invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
:cond_3
new-instance v1, Ljava/lang/IllegalStateException;
const-string v2, "request == null"
invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v2
invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
:cond_4
const-string v1, "code < 0: "
invoke-static {v1}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
iget v2, v0, Lokhttp3/Response$a;->c:I
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
new-instance v2, Ljava/lang/IllegalStateException;
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v2, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v2
.end method
.method public final a(Ljava/lang/String;Lokhttp3/Response;)V
.locals 2
if-eqz p2, :cond_8
invoke-virtual {p2}, Lokhttp3/Response;->a()Lx/z;
move-result-object v0
const/4 v1, 0x1
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_7
invoke-virtual {p2}, Lokhttp3/Response;->j()Lokhttp3/Response;
move-result-object v0
if-nez v0, :cond_1
const/4 v0, 0x1
goto :goto_1
:cond_1
const/4 v0, 0x0
:goto_1
if-eqz v0, :cond_6
invoke-virtual {p2}, Lokhttp3/Response;->b()Lokhttp3/Response;
move-result-object v0
if-nez v0, :cond_2
const/4 v0, 0x1
goto :goto_2
:cond_2
const/4 v0, 0x0
:goto_2
if-eqz v0, :cond_5
invoke-virtual {p2}, Lokhttp3/Response;->l()Lokhttp3/Response;
move-result-object p2
if-nez p2, :cond_3
goto :goto_3
:cond_3
const/4 v1, 0x0
:goto_3
if-eqz v1, :cond_4
goto :goto_4
:cond_4
const-string p2, ".priorResponse != null"
invoke-static {p1, p2}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
new-instance p2, Ljava/lang/IllegalArgumentException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p2
:cond_5
const-string p2, ".cacheResponse != null"
invoke-static {p1, p2}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
new-instance p2, Ljava/lang/IllegalArgumentException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p2
:cond_6
const-string p2, ".networkResponse != null"
invoke-static {p1, p2}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
new-instance p2, Ljava/lang/IllegalArgumentException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p2
:cond_7
const-string p2, ".body != null"
invoke-static {p1, p2}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
new-instance p2, Ljava/lang/IllegalArgumentException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p2
:cond_8
:goto_4
return-void
.end method
.method public b(Lokhttp3/Response;)Lokhttp3/Response$a;
.locals 1
if-eqz p1, :cond_2
invoke-virtual {p1}, Lokhttp3/Response;->a()Lx/z;
move-result-object v0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_1
goto :goto_1
:cond_1
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "priorResponse.body != null"
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
:cond_2
:goto_1
iput-object p1, p0, Lokhttp3/Response$a;->j:Lokhttp3/Response;
return-object p0
.end method