apkfuckery/com.discord/smali_classes2/x/d.smali

385 lines
7.7 KiB
Smali
Raw Normal View History

2019-12-21 01:41:59 +00:00
.class public final Lx/d;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
2019-11-28 00:30:53 +00:00
.source "CacheControl.kt"
2019-07-24 11:27:29 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2019-12-21 01:41:59 +00:00
Lx/d$a;
2019-07-24 11:27:29 +00:00
}
.end annotation
2019-11-28 00:30:53 +00:00
# static fields
2019-12-21 01:41:59 +00:00
.field public static final n:Lx/d$a;
2019-11-28 00:30:53 +00:00
# instance fields
2019-12-06 03:29:40 +00:00
.field public final a:Z
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
.field public final b:Z
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
.field public final c:I
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
.field public final d:I
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
.field public final e:Z
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
.field public final f:Z
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
.field public final g:Z
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
.field public final h:I
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
.field public final i:I
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
.field public final j:Z
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
.field public final k:Z
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
.field public final l:Z
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
.field public m:Ljava/lang/String;
2019-11-28 00:30:53 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public static constructor <clinit>()V
.locals 27
2019-11-28 00:30:53 +00:00
2019-12-21 01:41:59 +00:00
new-instance v0, Lx/d$a;
2019-11-28 00:30:53 +00:00
const/4 v1, 0x0
2019-12-21 01:41:59 +00:00
invoke-direct {v0, v1}, Lx/d$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2019-11-28 00:30:53 +00:00
2019-12-21 01:41:59 +00:00
sput-object v0, Lx/d;->n:Lx/d$a;
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/4 v11, -0x1
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/16 v22, 0x1
2019-11-28 00:30:53 +00:00
2019-12-21 01:41:59 +00:00
new-instance v2, Lx/d;
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/4 v6, -0x1
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/4 v7, 0x0
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/4 v8, 0x0
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/4 v9, 0x0
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/4 v15, 0x0
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/16 v16, 0x0
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/4 v14, 0x0
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/4 v13, 0x0
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/4 v12, 0x0
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/4 v4, 0x0
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
move/from16 v3, v22
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
move v5, v11
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
move v10, v11
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
invoke-direct/range {v2 .. v16}, Lx/d;-><init>(ZZIIZZZIIZZZLjava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/16 v24, 0x0
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/16 v23, 0x0
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/4 v14, 0x0
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/4 v13, 0x0
const/16 v21, -0x1
sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
if-eqz v0, :cond_1
2019-11-28 00:30:53 +00:00
const v1, 0x7fffffff
2019-12-06 03:29:40 +00:00
int-to-long v2, v1
invoke-virtual {v0, v2, v3}, Ljava/util/concurrent/TimeUnit;->toSeconds(J)J
move-result-wide v4
cmp-long v0, v4, v2
if-lez v0, :cond_0
const v20, 0x7fffffff
2019-11-28 00:30:53 +00:00
goto :goto_0
:cond_0
2019-12-06 03:29:40 +00:00
long-to-int v0, v4
move/from16 v20, v0
2019-11-28 00:30:53 +00:00
:goto_0
2019-12-21 01:41:59 +00:00
new-instance v12, Lx/d;
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/16 v16, -0x1
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/16 v17, 0x0
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/16 v18, 0x0
const/16 v19, 0x0
const/16 v25, 0x0
const/16 v26, 0x0
move/from16 v15, v21
2019-12-21 01:41:59 +00:00
invoke-direct/range {v12 .. v26}, Lx/d;-><init>(ZZIIZZZIIZZZLjava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2019-11-28 00:30:53 +00:00
return-void
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:cond_1
const-string v0, "timeUnit"
2019-11-28 00:30:53 +00:00
2019-12-21 01:41:59 +00:00
invoke-static {v0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
throw v1
.end method
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
.method public synthetic constructor <init>(ZZIIZZZIIZZZLjava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-11-28 00:30:53 +00:00
2019-12-21 01:41:59 +00:00
iput-boolean p1, p0, Lx/d;->a:Z
2019-11-28 00:30:53 +00:00
2019-12-21 01:41:59 +00:00
iput-boolean p2, p0, Lx/d;->b:Z
2019-11-28 00:30:53 +00:00
2019-12-21 01:41:59 +00:00
iput p3, p0, Lx/d;->c:I
2019-11-28 00:30:53 +00:00
2019-12-21 01:41:59 +00:00
iput p4, p0, Lx/d;->d:I
2019-11-28 00:30:53 +00:00
2019-12-21 01:41:59 +00:00
iput-boolean p5, p0, Lx/d;->e:Z
2019-11-28 00:30:53 +00:00
2019-12-21 01:41:59 +00:00
iput-boolean p6, p0, Lx/d;->f:Z
2019-11-28 00:30:53 +00:00
2019-12-21 01:41:59 +00:00
iput-boolean p7, p0, Lx/d;->g:Z
2019-11-28 00:30:53 +00:00
2019-12-21 01:41:59 +00:00
iput p8, p0, Lx/d;->h:I
2019-11-28 00:30:53 +00:00
2019-12-21 01:41:59 +00:00
iput p9, p0, Lx/d;->i:I
2019-11-28 00:30:53 +00:00
2019-12-21 01:41:59 +00:00
iput-boolean p10, p0, Lx/d;->j:Z
2019-11-28 00:30:53 +00:00
2019-12-21 01:41:59 +00:00
iput-boolean p11, p0, Lx/d;->k:Z
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
iput-boolean p12, p0, Lx/d;->l:Z
2019-11-28 00:30:53 +00:00
2019-12-21 01:41:59 +00:00
iput-object p13, p0, Lx/d;->m:Ljava/lang/String;
2019-11-28 00:30:53 +00:00
return-void
2019-07-24 11:27:29 +00:00
.end method
2019-11-28 00:30:53 +00:00
# virtual methods
2019-12-06 03:29:40 +00:00
.method public toString()Ljava/lang/String;
2019-11-28 00:30:53 +00:00
.locals 4
2019-12-21 01:41:59 +00:00
iget-object v0, p0, Lx/d;->m:Ljava/lang/String;
2019-11-28 00:30:53 +00:00
if-nez v0, :cond_e
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
2019-12-21 01:41:59 +00:00
iget-boolean v1, p0, Lx/d;->a:Z
2019-11-28 00:30:53 +00:00
if-eqz v1, :cond_0
const-string v1, "no-cache, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_0
2019-12-21 01:41:59 +00:00
iget-boolean v1, p0, Lx/d;->b:Z
2019-11-28 00:30:53 +00:00
if-eqz v1, :cond_1
const-string v1, "no-store, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_1
2019-12-21 01:41:59 +00:00
iget v1, p0, Lx/d;->c:I
2019-11-28 00:30:53 +00:00
const-string v2, ", "
const/4 v3, -0x1
if-eq v1, v3, :cond_2
const-string v1, "max-age="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-12-21 01:41:59 +00:00
iget v1, p0, Lx/d;->c:I
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_2
2019-12-21 01:41:59 +00:00
iget v1, p0, Lx/d;->d:I
2019-11-28 00:30:53 +00:00
if-eq v1, v3, :cond_3
const-string v1, "s-maxage="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-12-21 01:41:59 +00:00
iget v1, p0, Lx/d;->d:I
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_3
2019-12-21 01:41:59 +00:00
iget-boolean v1, p0, Lx/d;->e:Z
2019-11-28 00:30:53 +00:00
if-eqz v1, :cond_4
const-string v1, "private, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_4
2019-12-21 01:41:59 +00:00
iget-boolean v1, p0, Lx/d;->f:Z
2019-11-28 00:30:53 +00:00
if-eqz v1, :cond_5
const-string v1, "public, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_5
2019-12-21 01:41:59 +00:00
iget-boolean v1, p0, Lx/d;->g:Z
2019-11-28 00:30:53 +00:00
if-eqz v1, :cond_6
const-string v1, "must-revalidate, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_6
2019-12-21 01:41:59 +00:00
iget v1, p0, Lx/d;->h:I
2019-11-28 00:30:53 +00:00
if-eq v1, v3, :cond_7
const-string v1, "max-stale="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-12-21 01:41:59 +00:00
iget v1, p0, Lx/d;->h:I
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_7
2019-12-21 01:41:59 +00:00
iget v1, p0, Lx/d;->i:I
2019-11-28 00:30:53 +00:00
if-eq v1, v3, :cond_8
const-string v1, "min-fresh="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-12-21 01:41:59 +00:00
iget v1, p0, Lx/d;->i:I
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_8
2019-12-21 01:41:59 +00:00
iget-boolean v1, p0, Lx/d;->j:Z
2019-11-28 00:30:53 +00:00
if-eqz v1, :cond_9
const-string v1, "only-if-cached, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_9
2019-12-21 01:41:59 +00:00
iget-boolean v1, p0, Lx/d;->k:Z
2019-11-28 00:30:53 +00:00
if-eqz v1, :cond_a
const-string v1, "no-transform, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_a
2019-12-21 01:41:59 +00:00
iget-boolean v1, p0, Lx/d;->l:Z
2019-11-28 00:30:53 +00:00
if-eqz v1, :cond_b
const-string v1, "immutable, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_b
2019-12-06 03:29:40 +00:00
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I
2019-11-28 00:30:53 +00:00
move-result v1
if-nez v1, :cond_c
const/4 v1, 0x1
goto :goto_0
:cond_c
const/4 v1, 0x0
:goto_0
if-eqz v1, :cond_d
const-string v0, ""
return-object v0
:cond_d
invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I
move-result v1
add-int/lit8 v1, v1, -0x2
invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I
move-result v2
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->delete(II)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "StringBuilder().apply(builderAction).toString()"
2019-12-21 01:41:59 +00:00
invoke-static {v0, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-11-28 00:30:53 +00:00
2019-12-21 01:41:59 +00:00
iput-object v0, p0, Lx/d;->m:Ljava/lang/String;
2019-11-28 00:30:53 +00:00
:cond_e
return-object v0
2019-07-24 11:27:29 +00:00
.end method