apkfuckery/com.discord/smali/okhttp3/internal/a/c.smali
2019-07-25 04:21:43 +02:00

160 lines
2.7 KiB
Smali

.class public final Lokhttp3/internal/a/c;
.super Ljava/lang/Object;
.source "CacheStrategy.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/internal/a/c$a;
}
.end annotation
# instance fields
.field public final btu:Lokhttp3/Response;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field public final buh:Lokhttp3/w;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
# direct methods
.method constructor <init>(Lokhttp3/w;Lokhttp3/Response;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lokhttp3/internal/a/c;->buh:Lokhttp3/w;
iput-object p2, p0, Lokhttp3/internal/a/c;->btu:Lokhttp3/Response;
return-void
.end method
.method public static a(Lokhttp3/Response;Lokhttp3/w;)Z
.locals 3
iget v0, p0, Lokhttp3/Response;->code:I
const/16 v1, 0xc8
const/4 v2, 0x0
if-eq v0, v1, :cond_1
const/16 v1, 0x19a
if-eq v0, v1, :cond_1
const/16 v1, 0x19e
if-eq v0, v1, :cond_1
const/16 v1, 0x1f5
if-eq v0, v1, :cond_1
const/16 v1, 0xcb
if-eq v0, v1, :cond_1
const/16 v1, 0xcc
if-eq v0, v1, :cond_1
const/16 v1, 0x133
if-eq v0, v1, :cond_0
const/16 v1, 0x134
if-eq v0, v1, :cond_1
const/16 v1, 0x194
if-eq v0, v1, :cond_1
const/16 v1, 0x195
if-eq v0, v1, :cond_1
packed-switch v0, :pswitch_data_0
goto :goto_0
:cond_0
:pswitch_0
const-string v0, "Expires"
invoke-virtual {p0, v0}, Lokhttp3/Response;->dM(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
if-nez v0, :cond_1
invoke-virtual {p0}, Lokhttp3/Response;->GO()Lokhttp3/d;
move-result-object v0
iget v0, v0, Lokhttp3/d;->bos:I
const/4 v1, -0x1
if-ne v0, v1, :cond_1
invoke-virtual {p0}, Lokhttp3/Response;->GO()Lokhttp3/d;
move-result-object v0
iget-boolean v0, v0, Lokhttp3/d;->bow:Z
if-nez v0, :cond_1
invoke-virtual {p0}, Lokhttp3/Response;->GO()Lokhttp3/d;
move-result-object v0
iget-boolean v0, v0, Lokhttp3/d;->bov:Z
if-nez v0, :cond_1
:goto_0
return v2
:cond_1
:pswitch_1
invoke-virtual {p0}, Lokhttp3/Response;->GO()Lokhttp3/d;
move-result-object p0
iget-boolean p0, p0, Lokhttp3/d;->bor:Z
if-nez p0, :cond_2
invoke-virtual {p1}, Lokhttp3/w;->GO()Lokhttp3/d;
move-result-object p0
iget-boolean p0, p0, Lokhttp3/d;->bor:Z
if-nez p0, :cond_2
const/4 p0, 0x1
return p0
:cond_2
return v2
:pswitch_data_0
.packed-switch 0x12c
:pswitch_1
:pswitch_1
:pswitch_0
.end packed-switch
.end method