Changes of com.discord v1010

This commit is contained in:
root 2019-12-18 08:41:41 +01:00
parent c7c17e2fbf
commit 786e6643a6
8318 changed files with 366907 additions and 398456 deletions

View file

@ -1,265 +0,0 @@
.class public final Lx/a;
.super Ljava/lang/Object;
.source "-Base64.kt"
# static fields
.field public static final a:[B
# direct methods
.method public static constructor <clinit>()V
.locals 2
sget-object v0, Lokio/ByteString;->g:Lokio/ByteString$a;
const-string v1, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
invoke-virtual {v0, v1}, Lokio/ByteString$a;->b(Ljava/lang/String;)Lokio/ByteString;
move-result-object v0
invoke-virtual {v0}, Lokio/ByteString;->b()[B
move-result-object v0
sput-object v0, Lx/a;->a:[B
sget-object v0, Lokio/ByteString;->g:Lokio/ByteString$a;
const-string v1, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
invoke-virtual {v0, v1}, Lokio/ByteString$a;->b(Ljava/lang/String;)Lokio/ByteString;
move-result-object v0
invoke-virtual {v0}, Lokio/ByteString;->b()[B
return-void
.end method
.method public static a([B[BI)Ljava/lang/String;
.locals 10
const/4 v0, 0x1
and-int/2addr p2, v0
if-eqz p2, :cond_0
sget-object p1, Lx/a;->a:[B
:cond_0
const/4 p2, 0x0
if-eqz p0, :cond_5
if-eqz p1, :cond_4
array-length p2, p0
const/4 v1, 0x2
add-int/2addr p2, v1
div-int/lit8 p2, p2, 0x3
mul-int/lit8 p2, p2, 0x4
new-array p2, p2, [B
array-length v2, p0
array-length v3, p0
rem-int/lit8 v3, v3, 0x3
sub-int/2addr v2, v3
const/4 v3, 0x0
const/4 v4, 0x0
:goto_0
if-ge v3, v2, :cond_1
add-int/lit8 v5, v3, 0x1
aget-byte v3, p0, v3
add-int/lit8 v6, v5, 0x1
aget-byte v5, p0, v5
add-int/lit8 v7, v6, 0x1
aget-byte v6, p0, v6
add-int/lit8 v8, v4, 0x1
and-int/lit16 v9, v3, 0xff
shr-int/2addr v9, v1
aget-byte v9, p1, v9
aput-byte v9, p2, v4
add-int/lit8 v4, v8, 0x1
and-int/lit8 v3, v3, 0x3
shl-int/lit8 v3, v3, 0x4
and-int/lit16 v9, v5, 0xff
shr-int/lit8 v9, v9, 0x4
or-int/2addr v3, v9
aget-byte v3, p1, v3
aput-byte v3, p2, v8
add-int/lit8 v3, v4, 0x1
and-int/lit8 v5, v5, 0xf
shl-int/2addr v5, v1
and-int/lit16 v8, v6, 0xff
shr-int/lit8 v8, v8, 0x6
or-int/2addr v5, v8
aget-byte v5, p1, v5
aput-byte v5, p2, v4
add-int/lit8 v4, v3, 0x1
and-int/lit8 v5, v6, 0x3f
aget-byte v5, p1, v5
aput-byte v5, p2, v3
move v3, v7
goto :goto_0
:cond_1
array-length v5, p0
sub-int/2addr v5, v2
const/16 v2, 0x3d
if-eq v5, v0, :cond_3
if-eq v5, v1, :cond_2
goto :goto_1
:cond_2
add-int/lit8 v0, v3, 0x1
aget-byte v3, p0, v3
aget-byte p0, p0, v0
add-int/lit8 v0, v4, 0x1
and-int/lit16 v5, v3, 0xff
shr-int/2addr v5, v1
aget-byte v5, p1, v5
aput-byte v5, p2, v4
add-int/lit8 v4, v0, 0x1
and-int/lit8 v3, v3, 0x3
shl-int/lit8 v3, v3, 0x4
and-int/lit16 v5, p0, 0xff
shr-int/lit8 v5, v5, 0x4
or-int/2addr v3, v5
aget-byte v3, p1, v3
aput-byte v3, p2, v0
add-int/lit8 v0, v4, 0x1
and-int/lit8 p0, p0, 0xf
shl-int/2addr p0, v1
aget-byte p0, p1, p0
aput-byte p0, p2, v4
int-to-byte p0, v2
aput-byte p0, p2, v0
goto :goto_1
:cond_3
aget-byte p0, p0, v3
add-int/lit8 v0, v4, 0x1
and-int/lit16 v3, p0, 0xff
shr-int/lit8 v1, v3, 0x2
aget-byte v1, p1, v1
aput-byte v1, p2, v4
add-int/lit8 v1, v0, 0x1
and-int/lit8 p0, p0, 0x3
shl-int/lit8 p0, p0, 0x4
aget-byte p0, p1, p0
aput-byte p0, p2, v0
add-int/lit8 p0, v1, 0x1
int-to-byte p1, v2
aput-byte p1, p2, v1
aput-byte p1, p2, p0
:goto_1
invoke-static {p2}, Le/k/a/b/e/p/g;->b([B)Ljava/lang/String;
move-result-object p0
return-object p0
:cond_4
const-string p0, "map"
invoke-static {p0}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw p2
:cond_5
const-string p0, "$receiver"
invoke-static {p0}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw p2
.end method

View file

@ -1,354 +0,0 @@
.class public final Lx/b$a;
.super Ljava/lang/Object;
.source "AsyncTimeout.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lx/b;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# direct methods
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a()Lx/b;
.locals 9
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;
}
.end annotation
const-class v0, Lx/b;
sget-object v1, Lx/b;->j:Lx/b;
const/4 v2, 0x0
if-eqz v1, :cond_5
iget-object v1, v1, Lx/b;->f:Lx/b;
if-nez v1, :cond_2
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v3
sget-wide v5, Lx/b;->h:J
invoke-virtual {v0, v5, v6}, Ljava/lang/Object;->wait(J)V
sget-object v0, Lx/b;->j:Lx/b;
if-eqz v0, :cond_1
iget-object v0, v0, Lx/b;->f:Lx/b;
if-nez v0, :cond_0
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v0
sub-long/2addr v0, v3
sget-wide v3, Lx/b;->i:J
cmp-long v5, v0, v3
if-ltz v5, :cond_0
sget-object v2, Lx/b;->j:Lx/b;
:cond_0
return-object v2
:cond_1
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v2
:cond_2
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v3
iget-wide v5, v1, Lx/b;->g:J
sub-long/2addr v5, v3
const-wide/16 v3, 0x0
cmp-long v7, v5, v3
if-lez v7, :cond_3
const-wide/32 v3, 0xf4240
div-long v7, v5, v3
mul-long v3, v3, v7
sub-long/2addr v5, v3
long-to-int v1, v5
invoke-virtual {v0, v7, v8, v1}, Ljava/lang/Object;->wait(JI)V
return-object v2
:cond_3
sget-object v0, Lx/b;->j:Lx/b;
if-eqz v0, :cond_4
iget-object v3, v1, Lx/b;->f:Lx/b;
iput-object v3, v0, Lx/b;->f:Lx/b;
iput-object v2, v1, Lx/b;->f:Lx/b;
return-object v1
:cond_4
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v2
:cond_5
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v2
.end method
.method public final a(Lx/b;JZ)V
.locals 8
const-class v0, Lx/b;
monitor-enter v0
:try_start_0
sget-object v1, Lx/b;->j:Lx/b;
if-nez v1, :cond_0
new-instance v1, Lx/b;
invoke-direct {v1}, Lx/b;-><init>()V
sput-object v1, Lx/b;->j:Lx/b;
new-instance v1, Lx/b$b;
invoke-direct {v1}, Lx/b$b;-><init>()V
invoke-virtual {v1}, Ljava/lang/Thread;->start()V
:cond_0
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v1
const-wide/16 v3, 0x0
cmp-long v5, p2, v3
if-eqz v5, :cond_1
if-eqz p4, :cond_1
invoke-virtual {p1}, Lx/x;->c()J
move-result-wide v3
sub-long/2addr v3, v1
invoke-static {p2, p3, v3, v4}, Ljava/lang/Math;->min(JJ)J
move-result-wide p2
add-long/2addr p2, v1
iput-wide p2, p1, Lx/b;->g:J
goto :goto_0
:cond_1
if-eqz v5, :cond_2
add-long/2addr p2, v1
iput-wide p2, p1, Lx/b;->g:J
goto :goto_0
:cond_2
if-eqz p4, :cond_8
invoke-virtual {p1}, Lx/x;->c()J
move-result-wide p2
iput-wide p2, p1, Lx/b;->g:J
:goto_0
iget-wide p2, p1, Lx/b;->g:J
sub-long/2addr p2, v1
sget-object p4, Lx/b;->j:Lx/b;
const/4 v3, 0x0
if-eqz p4, :cond_7
:goto_1
iget-object v4, p4, Lx/b;->f:Lx/b;
if-eqz v4, :cond_5
iget-object v4, p4, Lx/b;->f:Lx/b;
if-eqz v4, :cond_4
iget-wide v5, v4, Lx/b;->g:J
sub-long/2addr v5, v1
cmp-long v7, p2, v5
if-gez v7, :cond_3
goto :goto_2
:cond_3
move-object p4, v4
goto :goto_1
:cond_4
invoke-static {}, Ls/u/b/j;->throwNpe()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v3
:cond_5
:goto_2
:try_start_1
iget-object p2, p4, Lx/b;->f:Lx/b;
iput-object p2, p1, Lx/b;->f:Lx/b;
iput-object p1, p4, Lx/b;->f:Lx/b;
sget-object p1, Lx/b;->j:Lx/b;
if-ne p4, p1, :cond_6
invoke-virtual {v0}, Ljava/lang/Object;->notify()V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:cond_6
monitor-exit v0
return-void
:cond_7
:try_start_2
invoke-static {}, Ls/u/b/j;->throwNpe()V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
throw v3
:cond_8
:try_start_3
new-instance p1, Ljava/lang/AssertionError;
invoke-direct {p1}, Ljava/lang/AssertionError;-><init>()V
throw p1
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0
:catchall_0
move-exception p1
monitor-exit v0
throw p1
.end method
.method public final a(Lx/b;)Z
.locals 3
const-class v0, Lx/b;
monitor-enter v0
:try_start_0
sget-object v1, Lx/b;->j:Lx/b;
:goto_0
if-eqz v1, :cond_1
iget-object v2, v1, Lx/b;->f:Lx/b;
if-ne v2, p1, :cond_0
iget-object v2, p1, Lx/b;->f:Lx/b;
iput-object v2, v1, Lx/b;->f:Lx/b;
const/4 v1, 0x0
iput-object v1, p1, Lx/b;->f:Lx/b;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
const/4 p1, 0x0
monitor-exit v0
return p1
:catchall_0
move-exception p1
goto :goto_1
:cond_0
move-object v1, v2
goto :goto_0
:cond_1
const/4 p1, 0x1
monitor-exit v0
return p1
:goto_1
monitor-exit v0
throw p1
.end method

View file

@ -1,86 +0,0 @@
.class public final Lx/b$b;
.super Ljava/lang/Thread;
.source "AsyncTimeout.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lx/b;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 1
const-string v0, "Okio Watchdog"
invoke-direct {p0, v0}, Ljava/lang/Thread;-><init>(Ljava/lang/String;)V
const/4 v0, 0x1
invoke-virtual {p0, v0}, Ljava/lang/Thread;->setDaemon(Z)V
return-void
.end method
# virtual methods
.method public run()V
.locals 3
:catch_0
:cond_0
:goto_0
:try_start_0
const-class v0, Lx/b;
monitor-enter v0
:try_end_0
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
:try_start_1
sget-object v1, Lx/b;->k:Lx/b$a;
invoke-virtual {v1}, Lx/b$a;->a()Lx/b;
move-result-object v1
sget-object v2, Lx/b;->j:Lx/b;
if-ne v1, v2, :cond_1
const/4 v1, 0x0
sput-object v1, Lx/b;->j:Lx/b;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:try_start_2
monitor-exit v0
return-void
:cond_1
monitor-exit v0
if-eqz v1, :cond_0
invoke-virtual {v1}, Lx/b;->i()V
goto :goto_0
:catchall_0
move-exception v1
monitor-exit v0
throw v1
:try_end_2
.catch Ljava/lang/InterruptedException; {:try_start_2 .. :try_end_2} :catch_0
.end method

View file

@ -1,228 +0,0 @@
.class public Lx/b;
.super Lx/x;
.source "AsyncTimeout.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lx/b$b;,
Lx/b$a;
}
.end annotation
# static fields
.field public static final h:J
.field public static final i:J
.field public static j:Lx/b;
.field public static final k:Lx/b$a;
# instance fields
.field public e:Z
.field public f:Lx/b;
.field public g:J
# direct methods
.method public static constructor <clinit>()V
.locals 3
new-instance v0, Lx/b$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lx/b$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lx/b;->k:Lx/b$a;
sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
const-wide/16 v1, 0x3c
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
move-result-wide v0
sput-wide v0, Lx/b;->h:J
sget-object v0, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
sget-wide v1, Lx/b;->h:J
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toNanos(J)J
move-result-wide v0
sput-wide v0, Lx/b;->i:J
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Lx/x;-><init>()V
return-void
.end method
# virtual methods
.method public final a(Ljava/io/IOException;)Ljava/io/IOException;
.locals 1
if-eqz p1, :cond_1
invoke-virtual {p0}, Lx/b;->h()Z
move-result v0
if-nez v0, :cond_0
goto :goto_0
:cond_0
invoke-virtual {p0, p1}, Lx/b;->b(Ljava/io/IOException;)Ljava/io/IOException;
move-result-object p1
:goto_0
return-object p1
:cond_1
const-string p1, "cause"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public final a(Z)V
.locals 1
invoke-virtual {p0}, Lx/b;->h()Z
move-result v0
if-eqz v0, :cond_1
if-nez p1, :cond_0
goto :goto_0
:cond_0
const/4 p1, 0x0
invoke-virtual {p0, p1}, Lx/b;->b(Ljava/io/IOException;)Ljava/io/IOException;
move-result-object p1
throw p1
:cond_1
:goto_0
return-void
.end method
.method public b(Ljava/io/IOException;)Ljava/io/IOException;
.locals 2
new-instance v0, Ljava/io/InterruptedIOException;
const-string v1, "timeout"
invoke-direct {v0, v1}, Ljava/io/InterruptedIOException;-><init>(Ljava/lang/String;)V
if-eqz p1, :cond_0
invoke-virtual {v0, p1}, Ljava/io/InterruptedIOException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
:cond_0
return-object v0
.end method
.method public final g()V
.locals 7
iget-boolean v0, p0, Lx/b;->e:Z
const/4 v1, 0x1
xor-int/2addr v0, v1
if-eqz v0, :cond_1
iget-wide v2, p0, Lx/x;->c:J
iget-boolean v0, p0, Lx/x;->a:Z
const-wide/16 v4, 0x0
cmp-long v6, v2, v4
if-nez v6, :cond_0
if-nez v0, :cond_0
return-void
:cond_0
iput-boolean v1, p0, Lx/b;->e:Z
sget-object v1, Lx/b;->k:Lx/b$a;
invoke-virtual {v1, p0, v2, v3, v0}, Lx/b$a;->a(Lx/b;JZ)V
return-void
:cond_1
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "Unbalanced enter/exit"
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public final h()Z
.locals 2
iget-boolean v0, p0, Lx/b;->e:Z
const/4 v1, 0x0
if-nez v0, :cond_0
return v1
:cond_0
iput-boolean v1, p0, Lx/b;->e:Z
sget-object v0, Lx/b;->k:Lx/b$a;
invoke-virtual {v0, p0}, Lx/b$a;->a(Lx/b;)Z
move-result v0
return v0
.end method
.method public i()V
.locals 0
return-void
.end method

View file

@ -1,304 +0,0 @@
.class public final Lx/c;
.super Ljava/lang/Object;
.source "AsyncTimeout.kt"
# interfaces
.implements Lx/u;
# instance fields
.field public final synthetic d:Lx/b;
.field public final synthetic e:Lx/u;
# direct methods
.method public constructor <init>(Lx/b;Lx/u;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lx/u;",
")V"
}
.end annotation
iput-object p1, p0, Lx/c;->d:Lx/b;
iput-object p2, p0, Lx/c;->e:Lx/u;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public close()V
.locals 3
iget-object v0, p0, Lx/c;->d:Lx/b;
invoke-virtual {v0}, Lx/b;->g()V
:try_start_0
iget-object v0, p0, Lx/c;->e:Lx/u;
invoke-interface {v0}, Lx/u;->close()V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
const/4 v0, 0x1
iget-object v1, p0, Lx/c;->d:Lx/b;
invoke-virtual {v1, v0}, Lx/b;->a(Z)V
return-void
:catchall_0
move-exception v0
goto :goto_0
:catch_0
move-exception v0
:try_start_1
iget-object v1, p0, Lx/c;->d:Lx/b;
invoke-virtual {v1, v0}, Lx/b;->a(Ljava/io/IOException;)Ljava/io/IOException;
move-result-object v0
throw v0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:goto_0
iget-object v1, p0, Lx/c;->d:Lx/b;
const/4 v2, 0x0
invoke-virtual {v1, v2}, Lx/b;->a(Z)V
throw v0
.end method
.method public flush()V
.locals 3
iget-object v0, p0, Lx/c;->d:Lx/b;
invoke-virtual {v0}, Lx/b;->g()V
:try_start_0
iget-object v0, p0, Lx/c;->e:Lx/u;
invoke-interface {v0}, Lx/u;->flush()V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
const/4 v0, 0x1
iget-object v1, p0, Lx/c;->d:Lx/b;
invoke-virtual {v1, v0}, Lx/b;->a(Z)V
return-void
:catchall_0
move-exception v0
goto :goto_0
:catch_0
move-exception v0
:try_start_1
iget-object v1, p0, Lx/c;->d:Lx/b;
invoke-virtual {v1, v0}, Lx/b;->a(Ljava/io/IOException;)Ljava/io/IOException;
move-result-object v0
throw v0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:goto_0
iget-object v1, p0, Lx/c;->d:Lx/b;
const/4 v2, 0x0
invoke-virtual {v1, v2}, Lx/b;->a(Z)V
throw v0
.end method
.method public timeout()Lx/x;
.locals 1
iget-object v0, p0, Lx/c;->d:Lx/b;
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
const-string v0, "AsyncTimeout.sink("
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Lx/c;->e:Lx/u;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x29
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public write(Lx/e;J)V
.locals 7
const/4 v0, 0x0
if-eqz p1, :cond_5
iget-wide v1, p1, Lx/e;->e:J
const-wide/16 v3, 0x0
move-wide v5, p2
invoke-static/range {v1 .. v6}, Le/k/a/b/e/p/g;->a(JJJ)V
:goto_0
const-wide/16 v1, 0x0
cmp-long v3, p2, v1
if-lez v3, :cond_4
iget-object v3, p1, Lx/e;->d:Lx/r;
if-eqz v3, :cond_3
:goto_1
const/high16 v4, 0x10000
int-to-long v4, v4
cmp-long v6, v1, v4
if-gez v6, :cond_2
iget v4, v3, Lx/r;->c:I
iget v5, v3, Lx/r;->b:I
sub-int/2addr v4, v5
int-to-long v4, v4
add-long/2addr v1, v4
cmp-long v4, v1, p2
if-ltz v4, :cond_0
move-wide v1, p2
goto :goto_2
:cond_0
iget-object v3, v3, Lx/r;->f:Lx/r;
if-eqz v3, :cond_1
goto :goto_1
:cond_1
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v0
:cond_2
:goto_2
const/4 v3, 0x0
iget-object v4, p0, Lx/c;->d:Lx/b;
invoke-virtual {v4}, Lx/b;->g()V
:try_start_0
iget-object v4, p0, Lx/c;->e:Lx/u;
invoke-interface {v4, p1, v1, v2}, Lx/u;->write(Lx/e;J)V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
sub-long/2addr p2, v1
const/4 v1, 0x1
iget-object v2, p0, Lx/c;->d:Lx/b;
invoke-virtual {v2, v1}, Lx/b;->a(Z)V
goto :goto_0
:catchall_0
move-exception p1
goto :goto_3
:catch_0
move-exception p1
:try_start_1
iget-object p2, p0, Lx/c;->d:Lx/b;
invoke-virtual {p2, p1}, Lx/b;->a(Ljava/io/IOException;)Ljava/io/IOException;
move-result-object p1
throw p1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:goto_3
iget-object p2, p0, Lx/c;->d:Lx/b;
invoke-virtual {p2, v3}, Lx/b;->a(Z)V
throw p1
:cond_3
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v0
:cond_4
return-void
:cond_5
const-string p1, "source"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method

View file

@ -1,184 +0,0 @@
.class public final Lx/d;
.super Ljava/lang/Object;
.source "AsyncTimeout.kt"
# interfaces
.implements Lx/w;
# instance fields
.field public final synthetic d:Lx/b;
.field public final synthetic e:Lx/w;
# direct methods
.method public constructor <init>(Lx/b;Lx/w;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lx/w;",
")V"
}
.end annotation
iput-object p1, p0, Lx/d;->d:Lx/b;
iput-object p2, p0, Lx/d;->e:Lx/w;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public b(Lx/e;J)J
.locals 2
if-eqz p1, :cond_0
const/4 v0, 0x0
iget-object v1, p0, Lx/d;->d:Lx/b;
invoke-virtual {v1}, Lx/b;->g()V
:try_start_0
iget-object v1, p0, Lx/d;->e:Lx/w;
invoke-interface {v1, p1, p2, p3}, Lx/w;->b(Lx/e;J)J
move-result-wide p1
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
const/4 p3, 0x1
iget-object v0, p0, Lx/d;->d:Lx/b;
invoke-virtual {v0, p3}, Lx/b;->a(Z)V
return-wide p1
:catchall_0
move-exception p1
goto :goto_0
:catch_0
move-exception p1
:try_start_1
iget-object p2, p0, Lx/d;->d:Lx/b;
invoke-virtual {p2, p1}, Lx/b;->a(Ljava/io/IOException;)Ljava/io/IOException;
move-result-object p1
throw p1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:goto_0
iget-object p2, p0, Lx/d;->d:Lx/b;
invoke-virtual {p2, v0}, Lx/b;->a(Z)V
throw p1
:cond_0
const-string p1, "sink"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public close()V
.locals 3
iget-object v0, p0, Lx/d;->d:Lx/b;
invoke-virtual {v0}, Lx/b;->g()V
:try_start_0
iget-object v0, p0, Lx/d;->e:Lx/w;
invoke-interface {v0}, Lx/w;->close()V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
const/4 v0, 0x1
iget-object v1, p0, Lx/d;->d:Lx/b;
invoke-virtual {v1, v0}, Lx/b;->a(Z)V
return-void
:catchall_0
move-exception v0
goto :goto_0
:catch_0
move-exception v0
:try_start_1
iget-object v1, p0, Lx/d;->d:Lx/b;
invoke-virtual {v1, v0}, Lx/b;->a(Ljava/io/IOException;)Ljava/io/IOException;
move-result-object v0
throw v0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:goto_0
iget-object v1, p0, Lx/d;->d:Lx/b;
const/4 v2, 0x0
invoke-virtual {v1, v2}, Lx/b;->a(Z)V
throw v0
.end method
.method public timeout()Lx/x;
.locals 1
iget-object v0, p0, Lx/d;->d:Lx/b;
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
const-string v0, "AsyncTimeout.source("
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Lx/d;->e:Lx/w;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x29
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View file

@ -1,452 +0,0 @@
.class public final Lx/e$a;
.super Ljava/lang/Object;
.source "Buffer.kt"
# interfaces
.implements Ljava/io/Closeable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lx/e;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# instance fields
.field public d:Lx/e;
.field public e:Z
.field public f:Lx/r;
.field public g:J
.field public h:[B
.field public i:I
.field public j:I
# direct methods
.method public constructor <init>()V
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-wide/16 v0, -0x1
iput-wide v0, p0, Lx/e$a;->g:J
const/4 v0, -0x1
iput v0, p0, Lx/e$a;->i:I
iput v0, p0, Lx/e$a;->j:I
return-void
.end method
# virtual methods
.method public close()V
.locals 3
iget-object v0, p0, Lx/e$a;->d:Lx/e;
if-eqz v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_1
const/4 v0, 0x0
iput-object v0, p0, Lx/e$a;->d:Lx/e;
iput-object v0, p0, Lx/e$a;->f:Lx/r;
const-wide/16 v1, -0x1
iput-wide v1, p0, Lx/e$a;->g:J
iput-object v0, p0, Lx/e$a;->h:[B
const/4 v0, -0x1
iput v0, p0, Lx/e$a;->i:I
iput v0, p0, Lx/e$a;->j:I
return-void
:cond_1
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "not attached to a buffer"
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public final h(J)I
.locals 18
move-object/from16 v0, p0
move-wide/from16 v1, p1
iget-object v3, v0, Lx/e$a;->d:Lx/e;
if-eqz v3, :cond_10
const/4 v4, -0x1
int-to-long v5, v4
cmp-long v7, v1, v5
if-ltz v7, :cond_f
iget-wide v5, v3, Lx/e;->e:J
cmp-long v7, v1, v5
if-gtz v7, :cond_f
const-wide/16 v7, -0x1
const/4 v9, 0x0
cmp-long v10, v1, v7
if-eqz v10, :cond_e
cmp-long v7, v1, v5
if-nez v7, :cond_0
goto/16 :goto_4
:cond_0
const-wide/16 v7, 0x0
iget-object v4, v3, Lx/e;->d:Lx/r;
iget-object v10, v0, Lx/e$a;->f:Lx/r;
if-eqz v10, :cond_3
iget-wide v11, v0, Lx/e$a;->g:J
iget v13, v0, Lx/e$a;->i:I
if-eqz v10, :cond_2
iget v14, v10, Lx/r;->b:I
sub-int/2addr v13, v14
int-to-long v13, v13
sub-long/2addr v11, v13
cmp-long v13, v11, v1
if-lez v13, :cond_1
move-wide v5, v11
move-object/from16 v17, v10
move-object v10, v4
move-object/from16 v4, v17
goto :goto_0
:cond_1
move-wide v7, v11
goto :goto_0
:cond_2
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v9
:cond_3
move-object v10, v4
:goto_0
sub-long v11, v5, v1
sub-long v13, v1, v7
cmp-long v15, v11, v13
if-lez v15, :cond_5
:goto_1
if-eqz v10, :cond_4
iget v4, v10, Lx/r;->c:I
iget v5, v10, Lx/r;->b:I
sub-int v6, v4, v5
int-to-long v11, v6
add-long/2addr v11, v7
cmp-long v6, v1, v11
if-ltz v6, :cond_8
sub-int/2addr v4, v5
int-to-long v4, v4
add-long/2addr v7, v4
iget-object v10, v10, Lx/r;->f:Lx/r;
goto :goto_1
:cond_4
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v9
:cond_5
move-object v10, v4
move-wide v7, v5
:goto_2
cmp-long v4, v7, v1
if-lez v4, :cond_8
if-eqz v10, :cond_7
iget-object v10, v10, Lx/r;->g:Lx/r;
if-eqz v10, :cond_6
iget v4, v10, Lx/r;->c:I
iget v5, v10, Lx/r;->b:I
sub-int/2addr v4, v5
int-to-long v4, v4
sub-long/2addr v7, v4
goto :goto_2
:cond_6
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v9
:cond_7
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v9
:cond_8
iget-boolean v4, v0, Lx/e$a;->e:Z
if-eqz v4, :cond_c
if-eqz v10, :cond_b
iget-boolean v4, v10, Lx/r;->d:Z
if-eqz v4, :cond_c
new-instance v4, Lx/r;
iget-object v5, v10, Lx/r;->a:[B
array-length v6, v5
invoke-static {v5, v6}, Ljava/util/Arrays;->copyOf([BI)[B
move-result-object v12
const-string v5, "java.util.Arrays.copyOf(this, size)"
invoke-static {v12, v5}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget v13, v10, Lx/r;->b:I
iget v14, v10, Lx/r;->c:I
const/4 v15, 0x0
const/16 v16, 0x1
move-object v11, v4
invoke-direct/range {v11 .. v16}, Lx/r;-><init>([BIIZZ)V
iget-object v5, v3, Lx/e;->d:Lx/r;
if-ne v5, v10, :cond_9
iput-object v4, v3, Lx/e;->d:Lx/r;
:cond_9
invoke-virtual {v10, v4}, Lx/r;->a(Lx/r;)Lx/r;
iget-object v3, v4, Lx/r;->g:Lx/r;
if-eqz v3, :cond_a
invoke-virtual {v3}, Lx/r;->a()Lx/r;
goto :goto_3
:cond_a
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v9
:cond_b
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v9
:cond_c
move-object v4, v10
:goto_3
iput-object v4, v0, Lx/e$a;->f:Lx/r;
iput-wide v1, v0, Lx/e$a;->g:J
if-eqz v4, :cond_d
iget-object v3, v4, Lx/r;->a:[B
iput-object v3, v0, Lx/e$a;->h:[B
iget v3, v4, Lx/r;->b:I
sub-long/2addr v1, v7
long-to-int v2, v1
add-int/2addr v3, v2
iput v3, v0, Lx/e$a;->i:I
iget v1, v4, Lx/r;->c:I
iput v1, v0, Lx/e$a;->j:I
iget v1, v0, Lx/e$a;->j:I
iget v2, v0, Lx/e$a;->i:I
sub-int/2addr v1, v2
return v1
:cond_d
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v9
:cond_e
:goto_4
iput-object v9, v0, Lx/e$a;->f:Lx/r;
iput-wide v1, v0, Lx/e$a;->g:J
iput-object v9, v0, Lx/e$a;->h:[B
iput v4, v0, Lx/e$a;->i:I
iput v4, v0, Lx/e$a;->j:I
return v4
:cond_f
new-instance v4, Ljava/lang/ArrayIndexOutOfBoundsException;
const/4 v5, 0x2
new-array v5, v5, [Ljava/lang/Object;
const/4 v6, 0x0
invoke-static/range {p1 .. p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v1
aput-object v1, v5, v6
const/4 v1, 0x1
iget-wide v2, v3, Lx/e;->e:J
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v2
aput-object v2, v5, v1
array-length v1, v5
invoke-static {v5, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
move-result-object v1
const-string v2, "offset=%s > size=%s"
invoke-static {v2, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
const-string v2, "java.lang.String.format(format, *args)"
invoke-static {v1, v2}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {v4, v1}, Ljava/lang/ArrayIndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
throw v4
:cond_10
new-instance v1, Ljava/lang/IllegalStateException;
const-string v2, "not attached to a buffer"
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
.end method

View file

@ -1,136 +0,0 @@
.class public final Lx/e$b;
.super Ljava/io/InputStream;
.source "Buffer.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lx/e;->s()Ljava/io/InputStream;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
.field public final synthetic d:Lx/e;
# direct methods
.method public constructor <init>(Lx/e;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lx/e$b;->d:Lx/e;
invoke-direct {p0}, Ljava/io/InputStream;-><init>()V
return-void
.end method
# virtual methods
.method public available()I
.locals 4
iget-object v0, p0, Lx/e$b;->d:Lx/e;
iget-wide v0, v0, Lx/e;->e:J
const v2, 0x7fffffff
int-to-long v2, v2
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J
move-result-wide v0
long-to-int v1, v0
return v1
.end method
.method public close()V
.locals 0
return-void
.end method
.method public read()I
.locals 6
iget-object v0, p0, Lx/e$b;->d:Lx/e;
iget-wide v1, v0, Lx/e;->e:J
const-wide/16 v3, 0x0
cmp-long v5, v1, v3
if-lez v5, :cond_0
invoke-virtual {v0}, Lx/e;->readByte()B
move-result v0
and-int/lit16 v0, v0, 0xff
goto :goto_0
:cond_0
const/4 v0, -0x1
:goto_0
return v0
.end method
.method public read([BII)I
.locals 1
if-eqz p1, :cond_0
iget-object v0, p0, Lx/e$b;->d:Lx/e;
invoke-virtual {v0, p1, p2, p3}, Lx/e;->a([BII)I
move-result p1
return p1
:cond_0
const-string p1, "sink"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
iget-object v1, p0, Lx/e$b;->d:Lx/e;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ".inputStream()"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

File diff suppressed because it is too large Load diff

View file

@ -1,91 +0,0 @@
.class public final Lx/f;
.super Ljava/io/OutputStream;
.source "Buffer.kt"
# instance fields
.field public final synthetic d:Lx/e;
# direct methods
.method public constructor <init>(Lx/e;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lx/f;->d:Lx/e;
invoke-direct {p0}, Ljava/io/OutputStream;-><init>()V
return-void
.end method
# virtual methods
.method public close()V
.locals 0
return-void
.end method
.method public flush()V
.locals 0
return-void
.end method
.method public toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
iget-object v1, p0, Lx/f;->d:Lx/e;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ".outputStream()"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public write(I)V
.locals 1
iget-object v0, p0, Lx/f;->d:Lx/e;
invoke-virtual {v0, p1}, Lx/e;->writeByte(I)Lx/e;
return-void
.end method
.method public write([BII)V
.locals 1
if-eqz p1, :cond_0
iget-object v0, p0, Lx/f;->d:Lx/e;
invoke-virtual {v0, p1, p2, p3}, Lx/e;->write([BII)Lx/e;
return-void
:cond_0
const-string p1, "data"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method

View file

@ -1,175 +0,0 @@
.class public interface abstract Lx/g;
.super Ljava/lang/Object;
.source "BufferedSource.kt"
# interfaces
.implements Lx/w;
.implements Ljava/nio/channels/ReadableByteChannel;
# virtual methods
.method public abstract a(Lx/n;)I
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract a(Lx/u;)J
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract a(Ljava/nio/charset/Charset;)Ljava/lang/String;
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract a(Lx/e;J)V
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract a(J)Z
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract b(Lokio/ByteString;)J
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract c(Lokio/ByteString;)J
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract d(J)Lokio/ByteString;
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract e(J)[B
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract f(J)Ljava/lang/String;
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract g(J)V
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract n()Lx/e;
.end method
.method public abstract p()Ljava/lang/String;
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract q()Z
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract r()J
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract readByte()B
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract readFully([B)V
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract readInt()I
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract readLong()J
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract readShort()S
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract s()Ljava/io/InputStream;
.end method
.method public abstract skip(J)V
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method

View file

@ -1,155 +0,0 @@
.class public abstract Lx/h;
.super Ljava/lang/Object;
.source "ForwardingSink.kt"
# interfaces
.implements Lx/u;
# instance fields
.field public final delegate:Lx/u;
# direct methods
.method public constructor <init>(Lx/u;)V
.locals 0
if-eqz p1, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lx/h;->delegate:Lx/u;
return-void
:cond_0
const-string p1, "delegate"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public final -deprecated_delegate()Lx/u;
.locals 1
iget-object v0, p0, Lx/h;->delegate:Lx/u;
return-object v0
.end method
.method public close()V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-object v0, p0, Lx/h;->delegate:Lx/u;
invoke-interface {v0}, Lx/u;->close()V
return-void
.end method
.method public final delegate()Lx/u;
.locals 1
iget-object v0, p0, Lx/h;->delegate:Lx/u;
return-object v0
.end method
.method public flush()V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-object v0, p0, Lx/h;->delegate:Lx/u;
invoke-interface {v0}, Lx/u;->flush()V
return-void
.end method
.method public timeout()Lx/x;
.locals 1
iget-object v0, p0, Lx/h;->delegate:Lx/u;
invoke-interface {v0}, Lx/u;->timeout()Lx/x;
move-result-object v0
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v1, 0x28
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
iget-object v1, p0, Lx/h;->delegate:Lx/u;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x29
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public write(Lx/e;J)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
if-eqz p1, :cond_0
iget-object v0, p0, Lx/h;->delegate:Lx/u;
invoke-interface {v0, p1, p2, p3}, Lx/u;->write(Lx/e;J)V
return-void
:cond_0
const-string p1, "source"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method

View file

@ -1,126 +0,0 @@
.class public abstract Lx/i;
.super Ljava/lang/Object;
.source "ForwardingSource.kt"
# interfaces
.implements Lx/w;
# instance fields
.field public final d:Lx/w;
# direct methods
.method public constructor <init>(Lx/w;)V
.locals 0
if-eqz p1, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lx/i;->d:Lx/w;
return-void
:cond_0
const-string p1, "delegate"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public b(Lx/e;J)J
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
if-eqz p1, :cond_0
iget-object v0, p0, Lx/i;->d:Lx/w;
invoke-interface {v0, p1, p2, p3}, Lx/w;->b(Lx/e;J)J
move-result-wide p1
return-wide p1
:cond_0
const-string p1, "sink"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public close()V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-object v0, p0, Lx/i;->d:Lx/w;
invoke-interface {v0}, Lx/w;->close()V
return-void
.end method
.method public timeout()Lx/x;
.locals 1
iget-object v0, p0, Lx/i;->d:Lx/w;
invoke-interface {v0}, Lx/w;->timeout()Lx/x;
move-result-object v0
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v1, 0x28
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
iget-object v1, p0, Lx/i;->d:Lx/w;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x29
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View file

@ -1,142 +0,0 @@
.class public Lx/j;
.super Lx/x;
.source "ForwardingTimeout.kt"
# instance fields
.field public e:Lx/x;
# direct methods
.method public constructor <init>(Lx/x;)V
.locals 0
if-eqz p1, :cond_0
invoke-direct {p0}, Lx/x;-><init>()V
iput-object p1, p0, Lx/j;->e:Lx/x;
return-void
:cond_0
const-string p1, "delegate"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public a()Lx/x;
.locals 1
iget-object v0, p0, Lx/j;->e:Lx/x;
invoke-virtual {v0}, Lx/x;->a()Lx/x;
move-result-object v0
return-object v0
.end method
.method public a(J)Lx/x;
.locals 1
iget-object v0, p0, Lx/j;->e:Lx/x;
invoke-virtual {v0, p1, p2}, Lx/x;->a(J)Lx/x;
move-result-object p1
return-object p1
.end method
.method public a(JLjava/util/concurrent/TimeUnit;)Lx/x;
.locals 1
if-eqz p3, :cond_0
iget-object v0, p0, Lx/j;->e:Lx/x;
invoke-virtual {v0, p1, p2, p3}, Lx/x;->a(JLjava/util/concurrent/TimeUnit;)Lx/x;
move-result-object p1
return-object p1
:cond_0
const-string p1, "unit"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public b()Lx/x;
.locals 1
iget-object v0, p0, Lx/j;->e:Lx/x;
invoke-virtual {v0}, Lx/x;->b()Lx/x;
move-result-object v0
return-object v0
.end method
.method public c()J
.locals 2
iget-object v0, p0, Lx/j;->e:Lx/x;
invoke-virtual {v0}, Lx/x;->c()J
move-result-wide v0
return-wide v0
.end method
.method public d()Z
.locals 1
iget-object v0, p0, Lx/j;->e:Lx/x;
invoke-virtual {v0}, Lx/x;->d()Z
move-result v0
return v0
.end method
.method public e()V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-object v0, p0, Lx/j;->e:Lx/x;
invoke-virtual {v0}, Lx/x;->e()V
return-void
.end method
.method public f()J
.locals 2
iget-object v0, p0, Lx/j;->e:Lx/x;
invoke-virtual {v0}, Lx/x;->f()J
move-result-wide v0
return-wide v0
.end method

View file

@ -1,724 +0,0 @@
.class public final Lx/k;
.super Ljava/lang/Object;
.source "GzipSource.kt"
# interfaces
.implements Lx/w;
# instance fields
.field public d:B
.field public final e:Lx/q;
.field public final f:Ljava/util/zip/Inflater;
.field public final g:Lx/l;
.field public final h:Ljava/util/zip/CRC32;
# direct methods
.method public constructor <init>(Lx/w;)V
.locals 2
if-eqz p1, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Lx/q;
invoke-direct {v0, p1}, Lx/q;-><init>(Lx/w;)V
iput-object v0, p0, Lx/k;->e:Lx/q;
new-instance p1, Ljava/util/zip/Inflater;
const/4 v0, 0x1
invoke-direct {p1, v0}, Ljava/util/zip/Inflater;-><init>(Z)V
iput-object p1, p0, Lx/k;->f:Ljava/util/zip/Inflater;
new-instance p1, Lx/l;
iget-object v0, p0, Lx/k;->e:Lx/q;
iget-object v1, p0, Lx/k;->f:Ljava/util/zip/Inflater;
invoke-direct {p1, v0, v1}, Lx/l;-><init>(Lx/g;Ljava/util/zip/Inflater;)V
iput-object p1, p0, Lx/k;->g:Lx/l;
new-instance p1, Ljava/util/zip/CRC32;
invoke-direct {p1}, Ljava/util/zip/CRC32;-><init>()V
iput-object p1, p0, Lx/k;->h:Ljava/util/zip/CRC32;
return-void
:cond_0
const-string p1, "source"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public final a(Ljava/lang/String;II)V
.locals 3
if-ne p3, p2, :cond_0
return-void
:cond_0
new-instance v0, Ljava/io/IOException;
const/4 v1, 0x3
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
aput-object p1, v1, v2
const/4 p1, 0x1
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p3
aput-object p3, v1, p1
const/4 p1, 0x2
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
aput-object p2, v1, p1
array-length p1, v1
invoke-static {v1, p1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
move-result-object p1
const-string p2, "%s: actual 0x%08x != expected 0x%08x"
invoke-static {p2, p1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
const-string p2, "java.lang.String.format(this, *args)"
invoke-static {p1, p2}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {v0, p1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public final a(Lx/e;JJ)V
.locals 6
iget-object p1, p1, Lx/e;->d:Lx/r;
const/4 v0, 0x0
if-eqz p1, :cond_4
:goto_0
iget v1, p1, Lx/r;->c:I
iget v2, p1, Lx/r;->b:I
sub-int v3, v1, v2
int-to-long v3, v3
cmp-long v5, p2, v3
if-ltz v5, :cond_1
sub-int/2addr v1, v2
int-to-long v1, v1
sub-long/2addr p2, v1
iget-object p1, p1, Lx/r;->f:Lx/r;
if-eqz p1, :cond_0
goto :goto_0
:cond_0
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v0
:cond_1
const-wide/16 v1, 0x0
:goto_1
cmp-long v3, p4, v1
if-lez v3, :cond_3
iget v3, p1, Lx/r;->b:I
int-to-long v3, v3
add-long/2addr v3, p2
long-to-int p2, v3
iget p3, p1, Lx/r;->c:I
sub-int/2addr p3, p2
int-to-long v3, p3
invoke-static {v3, v4, p4, p5}, Ljava/lang/Math;->min(JJ)J
move-result-wide v3
long-to-int p3, v3
iget-object v3, p0, Lx/k;->h:Ljava/util/zip/CRC32;
iget-object v4, p1, Lx/r;->a:[B
invoke-virtual {v3, v4, p2, p3}, Ljava/util/zip/CRC32;->update([BII)V
int-to-long p2, p3
sub-long/2addr p4, p2
iget-object p1, p1, Lx/r;->f:Lx/r;
if-eqz p1, :cond_2
move-wide p2, v1
goto :goto_1
:cond_2
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v0
:cond_3
return-void
:cond_4
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v0
.end method
.method public b(Lx/e;J)J
.locals 20
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
move-object/from16 v6, p0
move-object/from16 v7, p1
move-wide/from16 v8, p2
if-eqz v7, :cond_17
const-wide/16 v0, 0x0
const/4 v10, 0x0
const/4 v11, 0x1
cmp-long v2, v8, v0
if-ltz v2, :cond_0
const/4 v3, 0x1
goto :goto_0
:cond_0
const/4 v3, 0x0
:goto_0
if-eqz v3, :cond_16
if-nez v2, :cond_1
return-wide v0
:cond_1
iget-byte v0, v6, Lx/k;->d:B
const-wide/16 v12, -0x1
if-nez v0, :cond_11
iget-object v0, v6, Lx/k;->e:Lx/q;
const-wide/16 v1, 0xa
invoke-virtual {v0, v1, v2}, Lx/q;->g(J)V
iget-object v0, v6, Lx/k;->e:Lx/q;
iget-object v0, v0, Lx/q;->d:Lx/e;
const-wide/16 v1, 0x3
invoke-virtual {v0, v1, v2}, Lx/e;->h(J)B
move-result v14
shr-int/lit8 v0, v14, 0x1
and-int/2addr v0, v11
if-ne v0, v11, :cond_2
const/4 v0, 0x1
const/4 v15, 0x1
goto :goto_1
:cond_2
const/4 v0, 0x0
const/4 v15, 0x0
:goto_1
if-eqz v15, :cond_3
iget-object v0, v6, Lx/k;->e:Lx/q;
iget-object v1, v0, Lx/q;->d:Lx/e;
const-wide/16 v2, 0x0
const-wide/16 v4, 0xa
move-object/from16 v0, p0
invoke-virtual/range {v0 .. v5}, Lx/k;->a(Lx/e;JJ)V
:cond_3
iget-object v0, v6, Lx/k;->e:Lx/q;
invoke-virtual {v0}, Lx/q;->readShort()S
move-result v0
const/16 v1, 0x1f8b
const-string v2, "ID1ID2"
invoke-virtual {v6, v2, v1, v0}, Lx/k;->a(Ljava/lang/String;II)V
iget-object v0, v6, Lx/k;->e:Lx/q;
const-wide/16 v1, 0x8
invoke-virtual {v0, v1, v2}, Lx/q;->skip(J)V
shr-int/lit8 v0, v14, 0x2
and-int/2addr v0, v11
if-ne v0, v11, :cond_4
const/4 v0, 0x1
goto :goto_2
:cond_4
const/4 v0, 0x0
:goto_2
const-wide/16 v1, 0x2
if-eqz v0, :cond_7
iget-object v0, v6, Lx/k;->e:Lx/q;
invoke-virtual {v0, v1, v2}, Lx/q;->g(J)V
if-eqz v15, :cond_5
iget-object v0, v6, Lx/k;->e:Lx/q;
iget-object v1, v0, Lx/q;->d:Lx/e;
const-wide/16 v2, 0x0
const-wide/16 v4, 0x2
move-object/from16 v0, p0
invoke-virtual/range {v0 .. v5}, Lx/k;->a(Lx/e;JJ)V
:cond_5
iget-object v0, v6, Lx/k;->e:Lx/q;
iget-object v0, v0, Lx/q;->d:Lx/e;
invoke-virtual {v0}, Lx/e;->c()S
move-result v0
int-to-long v4, v0
iget-object v0, v6, Lx/k;->e:Lx/q;
invoke-virtual {v0, v4, v5}, Lx/q;->g(J)V
if-eqz v15, :cond_6
iget-object v0, v6, Lx/k;->e:Lx/q;
iget-object v1, v0, Lx/q;->d:Lx/e;
const-wide/16 v2, 0x0
move-object/from16 v0, p0
move-wide/from16 v16, v4
invoke-virtual/range {v0 .. v5}, Lx/k;->a(Lx/e;JJ)V
goto :goto_3
:cond_6
move-wide/from16 v16, v4
:goto_3
iget-object v0, v6, Lx/k;->e:Lx/q;
move-wide/from16 v1, v16
invoke-virtual {v0, v1, v2}, Lx/q;->skip(J)V
:cond_7
shr-int/lit8 v0, v14, 0x3
and-int/2addr v0, v11
if-ne v0, v11, :cond_8
const/4 v0, 0x1
goto :goto_4
:cond_8
const/4 v0, 0x0
:goto_4
const-wide/16 v16, 0x1
if-eqz v0, :cond_b
iget-object v0, v6, Lx/k;->e:Lx/q;
invoke-virtual {v0, v10}, Lx/q;->a(B)J
move-result-wide v18
cmp-long v0, v18, v12
if-eqz v0, :cond_a
if-eqz v15, :cond_9
iget-object v0, v6, Lx/k;->e:Lx/q;
iget-object v1, v0, Lx/q;->d:Lx/e;
const-wide/16 v2, 0x0
add-long v4, v18, v16
move-object/from16 v0, p0
invoke-virtual/range {v0 .. v5}, Lx/k;->a(Lx/e;JJ)V
:cond_9
iget-object v0, v6, Lx/k;->e:Lx/q;
add-long v1, v18, v16
invoke-virtual {v0, v1, v2}, Lx/q;->skip(J)V
goto :goto_5
:cond_a
new-instance v0, Ljava/io/EOFException;
invoke-direct {v0}, Ljava/io/EOFException;-><init>()V
throw v0
:cond_b
:goto_5
shr-int/lit8 v0, v14, 0x4
and-int/2addr v0, v11
if-ne v0, v11, :cond_c
const/4 v0, 0x1
goto :goto_6
:cond_c
const/4 v0, 0x0
:goto_6
if-eqz v0, :cond_f
iget-object v0, v6, Lx/k;->e:Lx/q;
invoke-virtual {v0, v10}, Lx/q;->a(B)J
move-result-wide v18
cmp-long v0, v18, v12
if-eqz v0, :cond_e
if-eqz v15, :cond_d
iget-object v0, v6, Lx/k;->e:Lx/q;
iget-object v1, v0, Lx/q;->d:Lx/e;
const-wide/16 v2, 0x0
add-long v4, v18, v16
move-object/from16 v0, p0
invoke-virtual/range {v0 .. v5}, Lx/k;->a(Lx/e;JJ)V
:cond_d
iget-object v0, v6, Lx/k;->e:Lx/q;
add-long v1, v18, v16
invoke-virtual {v0, v1, v2}, Lx/q;->skip(J)V
goto :goto_7
:cond_e
new-instance v0, Ljava/io/EOFException;
invoke-direct {v0}, Ljava/io/EOFException;-><init>()V
throw v0
:cond_f
:goto_7
if-eqz v15, :cond_10
iget-object v0, v6, Lx/k;->e:Lx/q;
const-wide/16 v1, 0x2
invoke-virtual {v0, v1, v2}, Lx/q;->g(J)V
iget-object v0, v0, Lx/q;->d:Lx/e;
invoke-virtual {v0}, Lx/e;->c()S
move-result v0
iget-object v1, v6, Lx/k;->h:Ljava/util/zip/CRC32;
invoke-virtual {v1}, Ljava/util/zip/CRC32;->getValue()J
move-result-wide v1
long-to-int v2, v1
int-to-short v1, v2
const-string v2, "FHCRC"
invoke-virtual {v6, v2, v0, v1}, Lx/k;->a(Ljava/lang/String;II)V
iget-object v0, v6, Lx/k;->h:Ljava/util/zip/CRC32;
invoke-virtual {v0}, Ljava/util/zip/CRC32;->reset()V
:cond_10
iput-byte v11, v6, Lx/k;->d:B
:cond_11
iget-byte v0, v6, Lx/k;->d:B
const/4 v1, 0x2
if-ne v0, v11, :cond_13
iget-wide v2, v7, Lx/e;->e:J
iget-object v0, v6, Lx/k;->g:Lx/l;
invoke-virtual {v0, v7, v8, v9}, Lx/l;->b(Lx/e;J)J
move-result-wide v8
cmp-long v0, v8, v12
if-eqz v0, :cond_12
move-object/from16 v0, p0
move-object/from16 v1, p1
move-wide v4, v8
invoke-virtual/range {v0 .. v5}, Lx/k;->a(Lx/e;JJ)V
return-wide v8
:cond_12
iput-byte v1, v6, Lx/k;->d:B
:cond_13
iget-byte v0, v6, Lx/k;->d:B
if-ne v0, v1, :cond_15
iget-object v0, v6, Lx/k;->e:Lx/q;
invoke-virtual {v0}, Lx/q;->a()I
move-result v0
iget-object v1, v6, Lx/k;->h:Ljava/util/zip/CRC32;
invoke-virtual {v1}, Ljava/util/zip/CRC32;->getValue()J
move-result-wide v1
long-to-int v2, v1
const-string v1, "CRC"
invoke-virtual {v6, v1, v0, v2}, Lx/k;->a(Ljava/lang/String;II)V
iget-object v0, v6, Lx/k;->e:Lx/q;
invoke-virtual {v0}, Lx/q;->a()I
move-result v0
iget-object v1, v6, Lx/k;->f:Ljava/util/zip/Inflater;
invoke-virtual {v1}, Ljava/util/zip/Inflater;->getBytesWritten()J
move-result-wide v1
long-to-int v2, v1
const-string v1, "ISIZE"
invoke-virtual {v6, v1, v0, v2}, Lx/k;->a(Ljava/lang/String;II)V
const/4 v0, 0x3
iput-byte v0, v6, Lx/k;->d:B
iget-object v0, v6, Lx/k;->e:Lx/q;
invoke-virtual {v0}, Lx/q;->q()Z
move-result v0
if-eqz v0, :cond_14
goto :goto_8
:cond_14
new-instance v0, Ljava/io/IOException;
const-string v1, "gzip finished without exhausting source"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
:cond_15
:goto_8
return-wide v12
:cond_16
const-string v0, "byteCount < 0: "
invoke-static {v0, v8, v9}, Le/e/b/a/a;->a(Ljava/lang/String;J)Ljava/lang/String;
move-result-object v0
new-instance v1, Ljava/lang/IllegalArgumentException;
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {v1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v1
:cond_17
const-string v0, "sink"
invoke-static {v0}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 v0, 0x0
throw v0
.end method
.method public close()V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-object v0, p0, Lx/k;->g:Lx/l;
invoke-virtual {v0}, Lx/l;->close()V
return-void
.end method
.method public timeout()Lx/x;
.locals 1
iget-object v0, p0, Lx/k;->e:Lx/q;
invoke-virtual {v0}, Lx/q;->timeout()Lx/x;
move-result-object v0
return-object v0
.end method

View file

@ -1,411 +0,0 @@
.class public final Lx/l;
.super Ljava/lang/Object;
.source "InflaterSource.kt"
# interfaces
.implements Lx/w;
# instance fields
.field public d:I
.field public e:Z
.field public final f:Lx/g;
.field public final g:Ljava/util/zip/Inflater;
# direct methods
.method public constructor <init>(Lx/g;Ljava/util/zip/Inflater;)V
.locals 1
const/4 v0, 0x0
if-eqz p1, :cond_1
if-eqz p2, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lx/l;->f:Lx/g;
iput-object p2, p0, Lx/l;->g:Ljava/util/zip/Inflater;
return-void
:cond_0
const-string p1, "inflater"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "source"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public final a()V
.locals 4
iget v0, p0, Lx/l;->d:I
if-nez v0, :cond_0
return-void
:cond_0
iget-object v1, p0, Lx/l;->g:Ljava/util/zip/Inflater;
invoke-virtual {v1}, Ljava/util/zip/Inflater;->getRemaining()I
move-result v1
sub-int/2addr v0, v1
iget v1, p0, Lx/l;->d:I
sub-int/2addr v1, v0
iput v1, p0, Lx/l;->d:I
iget-object v1, p0, Lx/l;->f:Lx/g;
int-to-long v2, v0
invoke-interface {v1, v2, v3}, Lx/g;->skip(J)V
return-void
.end method
.method public b(Lx/e;J)J
.locals 8
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_e
const-wide/16 v1, 0x0
const/4 v3, 0x1
cmp-long v4, p2, v1
if-ltz v4, :cond_0
const/4 v5, 0x1
goto :goto_0
:cond_0
const/4 v5, 0x0
:goto_0
if-eqz v5, :cond_d
iget-boolean v5, p0, Lx/l;->e:Z
xor-int/2addr v5, v3
if-eqz v5, :cond_c
if-nez v4, :cond_1
return-wide v1
:cond_1
:goto_1
iget-object v1, p0, Lx/l;->g:Ljava/util/zip/Inflater;
invoke-virtual {v1}, Ljava/util/zip/Inflater;->needsInput()Z
move-result v1
if-nez v1, :cond_2
goto :goto_3
:cond_2
invoke-virtual {p0}, Lx/l;->a()V
iget-object v1, p0, Lx/l;->g:Ljava/util/zip/Inflater;
invoke-virtual {v1}, Ljava/util/zip/Inflater;->getRemaining()I
move-result v1
if-nez v1, :cond_3
const/4 v1, 0x1
goto :goto_2
:cond_3
const/4 v1, 0x0
:goto_2
if-eqz v1, :cond_b
iget-object v1, p0, Lx/l;->f:Lx/g;
invoke-interface {v1}, Lx/g;->q()Z
move-result v1
if-eqz v1, :cond_4
const/4 v1, 0x1
goto :goto_4
:cond_4
iget-object v1, p0, Lx/l;->f:Lx/g;
invoke-interface {v1}, Lx/g;->n()Lx/e;
move-result-object v1
iget-object v1, v1, Lx/e;->d:Lx/r;
if-eqz v1, :cond_a
iget v2, v1, Lx/r;->c:I
iget v4, v1, Lx/r;->b:I
sub-int/2addr v2, v4
iput v2, p0, Lx/l;->d:I
iget-object v2, p0, Lx/l;->g:Ljava/util/zip/Inflater;
iget-object v1, v1, Lx/r;->a:[B
iget v5, p0, Lx/l;->d:I
invoke-virtual {v2, v1, v4, v5}, Ljava/util/zip/Inflater;->setInput([BII)V
:goto_3
const/4 v1, 0x0
:goto_4
:try_start_0
invoke-virtual {p1, v3}, Lx/e;->a(I)Lx/r;
move-result-object v2
iget v4, v2, Lx/r;->c:I
rsub-int v4, v4, 0x2000
int-to-long v4, v4
invoke-static {p2, p3, v4, v5}, Ljava/lang/Math;->min(JJ)J
move-result-wide v4
long-to-int v5, v4
iget-object v4, p0, Lx/l;->g:Ljava/util/zip/Inflater;
iget-object v6, v2, Lx/r;->a:[B
iget v7, v2, Lx/r;->c:I
invoke-virtual {v4, v6, v7, v5}, Ljava/util/zip/Inflater;->inflate([BII)I
move-result v4
if-lez v4, :cond_5
iget p2, v2, Lx/r;->c:I
add-int/2addr p2, v4
iput p2, v2, Lx/r;->c:I
iget-wide p2, p1, Lx/e;->e:J
int-to-long v0, v4
add-long/2addr p2, v0
iput-wide p2, p1, Lx/e;->e:J
return-wide v0
:cond_5
iget-object v4, p0, Lx/l;->g:Ljava/util/zip/Inflater;
invoke-virtual {v4}, Ljava/util/zip/Inflater;->finished()Z
move-result v4
if-nez v4, :cond_8
iget-object v4, p0, Lx/l;->g:Ljava/util/zip/Inflater;
invoke-virtual {v4}, Ljava/util/zip/Inflater;->needsDictionary()Z
move-result v4
if-eqz v4, :cond_6
goto :goto_5
:cond_6
if-nez v1, :cond_7
goto :goto_1
:cond_7
new-instance p1, Ljava/io/EOFException;
const-string p2, "source exhausted prematurely"
invoke-direct {p1, p2}, Ljava/io/EOFException;-><init>(Ljava/lang/String;)V
throw p1
:cond_8
:goto_5
invoke-virtual {p0}, Lx/l;->a()V
iget p2, v2, Lx/r;->b:I
iget p3, v2, Lx/r;->c:I
if-ne p2, p3, :cond_9
invoke-virtual {v2}, Lx/r;->a()Lx/r;
move-result-object p2
iput-object p2, p1, Lx/e;->d:Lx/r;
invoke-static {v2}, Lx/s;->a(Lx/r;)V
:try_end_0
.catch Ljava/util/zip/DataFormatException; {:try_start_0 .. :try_end_0} :catch_0
:cond_9
const-wide/16 p1, -0x1
return-wide p1
:catch_0
move-exception p1
new-instance p2, Ljava/io/IOException;
invoke-direct {p2, p1}, Ljava/io/IOException;-><init>(Ljava/lang/Throwable;)V
throw p2
:cond_a
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v0
:cond_b
new-instance p1, Ljava/lang/IllegalStateException;
const-string p2, "?"
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_c
new-instance p1, Ljava/lang/IllegalStateException;
const-string p2, "closed"
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_d
const-string p1, "byteCount < 0: "
invoke-static {p1, p2, p3}, Le/e/b/a/a;->a(Ljava/lang/String;J)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_e
const-string p1, "sink"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public close()V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-boolean v0, p0, Lx/l;->e:Z
if-eqz v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lx/l;->g:Ljava/util/zip/Inflater;
invoke-virtual {v0}, Ljava/util/zip/Inflater;->end()V
const/4 v0, 0x1
iput-boolean v0, p0, Lx/l;->e:Z
iget-object v0, p0, Lx/l;->f:Lx/g;
invoke-interface {v0}, Lx/w;->close()V
return-void
.end method
.method public timeout()Lx/x;
.locals 1
iget-object v0, p0, Lx/l;->f:Lx/g;
invoke-interface {v0}, Lx/w;->timeout()Lx/x;
move-result-object v0
return-object v0
.end method

View file

@ -1,221 +0,0 @@
.class public final Lx/m;
.super Ljava/lang/Object;
.source "Okio.kt"
# interfaces
.implements Lx/w;
# instance fields
.field public final d:Ljava/io/InputStream;
.field public final e:Lx/x;
# direct methods
.method public constructor <init>(Ljava/io/InputStream;Lx/x;)V
.locals 1
const/4 v0, 0x0
if-eqz p1, :cond_1
if-eqz p2, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lx/m;->d:Ljava/io/InputStream;
iput-object p2, p0, Lx/m;->e:Lx/x;
return-void
:cond_0
const-string p1, "timeout"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "input"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public b(Lx/e;J)J
.locals 3
if-eqz p1, :cond_5
const-wide/16 v0, 0x0
cmp-long v2, p2, v0
if-nez v2, :cond_0
return-wide v0
:cond_0
const/4 v0, 0x1
if-ltz v2, :cond_1
const/4 v1, 0x1
goto :goto_0
:cond_1
const/4 v1, 0x0
:goto_0
if-eqz v1, :cond_4
:try_start_0
iget-object v1, p0, Lx/m;->e:Lx/x;
invoke-virtual {v1}, Lx/x;->e()V
invoke-virtual {p1, v0}, Lx/e;->a(I)Lx/r;
move-result-object v0
iget v1, v0, Lx/r;->c:I
rsub-int v1, v1, 0x2000
int-to-long v1, v1
invoke-static {p2, p3, v1, v2}, Ljava/lang/Math;->min(JJ)J
move-result-wide p2
long-to-int p3, p2
iget-object p2, p0, Lx/m;->d:Ljava/io/InputStream;
iget-object v1, v0, Lx/r;->a:[B
iget v2, v0, Lx/r;->c:I
invoke-virtual {p2, v1, v2, p3}, Ljava/io/InputStream;->read([BII)I
move-result p2
const/4 p3, -0x1
if-ne p2, p3, :cond_2
const-wide/16 p1, -0x1
return-wide p1
:cond_2
iget p3, v0, Lx/r;->c:I
add-int/2addr p3, p2
iput p3, v0, Lx/r;->c:I
iget-wide v0, p1, Lx/e;->e:J
int-to-long p2, p2
add-long/2addr v0, p2
iput-wide v0, p1, Lx/e;->e:J
:try_end_0
.catch Ljava/lang/AssertionError; {:try_start_0 .. :try_end_0} :catch_0
return-wide p2
:catch_0
move-exception p1
invoke-static {p1}, Le/k/a/b/e/p/g;->a(Ljava/lang/AssertionError;)Z
move-result p2
if-eqz p2, :cond_3
new-instance p2, Ljava/io/IOException;
invoke-direct {p2, p1}, Ljava/io/IOException;-><init>(Ljava/lang/Throwable;)V
throw p2
:cond_3
throw p1
:cond_4
const-string p1, "byteCount < 0: "
invoke-static {p1, p2, p3}, Le/e/b/a/a;->a(Ljava/lang/String;J)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 p1, "sink"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public close()V
.locals 1
iget-object v0, p0, Lx/m;->d:Ljava/io/InputStream;
invoke-virtual {v0}, Ljava/io/InputStream;->close()V
return-void
.end method
.method public timeout()Lx/x;
.locals 1
iget-object v0, p0, Lx/m;->e:Lx/x;
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
const-string v0, "source("
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Lx/m;->d:Ljava/io/InputStream;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x29
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

File diff suppressed because it is too large Load diff

View file

@ -1,199 +0,0 @@
.class public final Lx/n;
.super Ljava/util/AbstractList;
.source "Options.kt"
# interfaces
.implements Ljava/util/RandomAccess;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lx/n$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/AbstractList<",
"Lokio/ByteString;",
">;",
"Ljava/util/RandomAccess;"
}
.end annotation
# static fields
.field public static final f:Lx/n$a;
# instance fields
.field public final d:[Lokio/ByteString;
.field public final e:[I
# direct methods
.method public static constructor <clinit>()V
.locals 2
new-instance v0, Lx/n$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lx/n$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lx/n;->f:Lx/n$a;
return-void
.end method
.method public synthetic constructor <init>([Lokio/ByteString;[ILkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Ljava/util/AbstractList;-><init>()V
iput-object p1, p0, Lx/n;->d:[Lokio/ByteString;
iput-object p2, p0, Lx/n;->e:[I
return-void
.end method
# virtual methods
.method public final contains(Ljava/lang/Object;)Z
.locals 1
if-eqz p1, :cond_0
instance-of v0, p1, Lokio/ByteString;
goto :goto_0
:cond_0
const/4 v0, 0x1
:goto_0
if-eqz v0, :cond_1
check-cast p1, Lokio/ByteString;
invoke-super {p0, p1}, Ljava/util/AbstractList;->contains(Ljava/lang/Object;)Z
move-result p1
return p1
:cond_1
const/4 p1, 0x0
return p1
.end method
.method public get(I)Ljava/lang/Object;
.locals 1
iget-object v0, p0, Lx/n;->d:[Lokio/ByteString;
aget-object p1, v0, p1
return-object p1
.end method
.method public final indexOf(Ljava/lang/Object;)I
.locals 1
if-eqz p1, :cond_0
instance-of v0, p1, Lokio/ByteString;
goto :goto_0
:cond_0
const/4 v0, 0x1
:goto_0
if-eqz v0, :cond_1
check-cast p1, Lokio/ByteString;
invoke-super {p0, p1}, Ljava/util/AbstractList;->indexOf(Ljava/lang/Object;)I
move-result p1
return p1
:cond_1
const/4 p1, -0x1
return p1
.end method
.method public final lastIndexOf(Ljava/lang/Object;)I
.locals 1
if-eqz p1, :cond_0
instance-of v0, p1, Lokio/ByteString;
goto :goto_0
:cond_0
const/4 v0, 0x1
:goto_0
if-eqz v0, :cond_1
check-cast p1, Lokio/ByteString;
invoke-super {p0, p1}, Ljava/util/AbstractList;->lastIndexOf(Ljava/lang/Object;)I
move-result p1
return p1
:cond_1
const/4 p1, -0x1
return p1
.end method
.method public final remove(Ljava/lang/Object;)Z
.locals 1
if-eqz p1, :cond_0
instance-of v0, p1, Lokio/ByteString;
goto :goto_0
:cond_0
const/4 v0, 0x1
:goto_0
if-eqz v0, :cond_1
check-cast p1, Lokio/ByteString;
invoke-super {p0, p1}, Ljava/util/AbstractList;->remove(Ljava/lang/Object;)Z
move-result p1
return p1
:cond_1
const/4 p1, 0x0
return p1
.end method
.method public final size()I
.locals 1
iget-object v0, p0, Lx/n;->d:[Lokio/ByteString;
array-length v0, v0
return v0
.end method

View file

@ -1,201 +0,0 @@
.class public final Lx/o;
.super Ljava/lang/Object;
.source "Okio.kt"
# interfaces
.implements Lx/u;
# instance fields
.field public final d:Ljava/io/OutputStream;
.field public final e:Lx/x;
# direct methods
.method public constructor <init>(Ljava/io/OutputStream;Lx/x;)V
.locals 1
const/4 v0, 0x0
if-eqz p1, :cond_1
if-eqz p2, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lx/o;->d:Ljava/io/OutputStream;
iput-object p2, p0, Lx/o;->e:Lx/x;
return-void
:cond_0
const-string p1, "timeout"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "out"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public close()V
.locals 1
iget-object v0, p0, Lx/o;->d:Ljava/io/OutputStream;
invoke-virtual {v0}, Ljava/io/OutputStream;->close()V
return-void
.end method
.method public flush()V
.locals 1
iget-object v0, p0, Lx/o;->d:Ljava/io/OutputStream;
invoke-virtual {v0}, Ljava/io/OutputStream;->flush()V
return-void
.end method
.method public timeout()Lx/x;
.locals 1
iget-object v0, p0, Lx/o;->e:Lx/x;
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
const-string v0, "sink("
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Lx/o;->d:Ljava/io/OutputStream;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x29
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public write(Lx/e;J)V
.locals 7
const/4 v0, 0x0
if-eqz p1, :cond_3
iget-wide v1, p1, Lx/e;->e:J
const-wide/16 v3, 0x0
move-wide v5, p2
invoke-static/range {v1 .. v6}, Le/k/a/b/e/p/g;->a(JJJ)V
:cond_0
:goto_0
const-wide/16 v1, 0x0
cmp-long v3, p2, v1
if-lez v3, :cond_2
iget-object v1, p0, Lx/o;->e:Lx/x;
invoke-virtual {v1}, Lx/x;->e()V
iget-object v1, p1, Lx/e;->d:Lx/r;
if-eqz v1, :cond_1
iget v2, v1, Lx/r;->c:I
iget v3, v1, Lx/r;->b:I
sub-int/2addr v2, v3
int-to-long v2, v2
invoke-static {p2, p3, v2, v3}, Ljava/lang/Math;->min(JJ)J
move-result-wide v2
long-to-int v3, v2
iget-object v2, p0, Lx/o;->d:Ljava/io/OutputStream;
iget-object v4, v1, Lx/r;->a:[B
iget v5, v1, Lx/r;->b:I
invoke-virtual {v2, v4, v5, v3}, Ljava/io/OutputStream;->write([BII)V
iget v2, v1, Lx/r;->b:I
add-int/2addr v2, v3
iput v2, v1, Lx/r;->b:I
int-to-long v2, v3
sub-long/2addr p2, v2
iget-wide v4, p1, Lx/e;->e:J
sub-long/2addr v4, v2
iput-wide v4, p1, Lx/e;->e:J
iget v2, v1, Lx/r;->b:I
iget v3, v1, Lx/r;->c:I
if-ne v2, v3, :cond_0
invoke-virtual {v1}, Lx/r;->a()Lx/r;
move-result-object v2
iput-object v2, p1, Lx/e;->d:Lx/r;
invoke-static {v1}, Lx/s;->a(Lx/r;)V
goto :goto_0
:cond_1
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v0
:cond_2
return-void
:cond_3
const-string p1, "source"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method

View file

@ -1,799 +0,0 @@
.class public final Lx/p;
.super Ljava/lang/Object;
.source "RealBufferedSink.kt"
# interfaces
.implements Lokio/BufferedSink;
# instance fields
.field public final d:Lx/e;
.field public e:Z
.field public final f:Lx/u;
# direct methods
.method public constructor <init>(Lx/u;)V
.locals 0
if-eqz p1, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lx/p;->f:Lx/u;
new-instance p1, Lx/e;
invoke-direct {p1}, Lx/e;-><init>()V
iput-object p1, p0, Lx/p;->d:Lx/e;
return-void
:cond_0
const-string p1, "sink"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public a(Lx/w;)J
.locals 7
if-eqz p1, :cond_1
const-wide/16 v0, 0x0
:goto_0
iget-object v2, p0, Lx/p;->d:Lx/e;
const/16 v3, 0x2000
int-to-long v3, v3
invoke-interface {p1, v2, v3, v4}, Lx/w;->b(Lx/e;J)J
move-result-wide v2
const-wide/16 v4, -0x1
cmp-long v6, v2, v4
if-nez v6, :cond_0
return-wide v0
:cond_0
add-long/2addr v0, v2
invoke-virtual {p0}, Lx/p;->a()Lokio/BufferedSink;
goto :goto_0
:cond_1
const-string p1, "source"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public a()Lokio/BufferedSink;
.locals 5
iget-boolean v0, p0, Lx/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_1
iget-object v0, p0, Lx/p;->d:Lx/e;
invoke-virtual {v0}, Lx/e;->a()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v4, v0, v2
if-lez v4, :cond_0
iget-object v2, p0, Lx/p;->f:Lx/u;
iget-object v3, p0, Lx/p;->d:Lx/e;
invoke-interface {v2, v3, v0, v1}, Lx/u;->write(Lx/e;J)V
:cond_0
return-object p0
:cond_1
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "closed"
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public a(Ljava/lang/String;)Lokio/BufferedSink;
.locals 1
if-eqz p1, :cond_1
iget-boolean v0, p0, Lx/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lx/p;->d:Lx/e;
invoke-virtual {v0, p1}, Lx/e;->a(Ljava/lang/String;)Lx/e;
invoke-virtual {p0}, Lx/p;->a()Lokio/BufferedSink;
return-object p0
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, "closed"
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_1
const-string p1, "string"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public a(Ljava/lang/String;II)Lokio/BufferedSink;
.locals 1
if-eqz p1, :cond_1
iget-boolean v0, p0, Lx/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lx/p;->d:Lx/e;
invoke-virtual {v0, p1, p2, p3}, Lx/e;->a(Ljava/lang/String;II)Lx/e;
invoke-virtual {p0}, Lx/p;->a()Lokio/BufferedSink;
return-object p0
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
const-string p2, "closed"
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_1
const-string p1, "string"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public a(Lokio/ByteString;)Lokio/BufferedSink;
.locals 1
if-eqz p1, :cond_1
iget-boolean v0, p0, Lx/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lx/p;->d:Lx/e;
invoke-virtual {v0, p1}, Lx/e;->a(Lokio/ByteString;)Lx/e;
invoke-virtual {p0}, Lx/p;->a()Lokio/BufferedSink;
return-object p0
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, "closed"
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_1
const-string p1, "byteString"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public b(J)Lokio/BufferedSink;
.locals 1
iget-boolean v0, p0, Lx/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lx/p;->d:Lx/e;
invoke-virtual {v0, p1, p2}, Lx/e;->b(J)Lx/e;
invoke-virtual {p0}, Lx/p;->a()Lokio/BufferedSink;
move-result-object p1
return-object p1
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
const-string p2, "closed"
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public c(J)Lokio/BufferedSink;
.locals 1
iget-boolean v0, p0, Lx/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lx/p;->d:Lx/e;
invoke-virtual {v0, p1, p2}, Lx/e;->c(J)Lx/e;
invoke-virtual {p0}, Lx/p;->a()Lokio/BufferedSink;
return-object p0
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
const-string p2, "closed"
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public close()V
.locals 6
iget-boolean v0, p0, Lx/p;->e:Z
if-eqz v0, :cond_0
return-void
:cond_0
const/4 v0, 0x0
:try_start_0
iget-object v1, p0, Lx/p;->d:Lx/e;
iget-wide v1, v1, Lx/e;->e:J
const-wide/16 v3, 0x0
cmp-long v5, v1, v3
if-lez v5, :cond_1
iget-object v1, p0, Lx/p;->f:Lx/u;
iget-object v2, p0, Lx/p;->d:Lx/e;
iget-object v3, p0, Lx/p;->d:Lx/e;
iget-wide v3, v3, Lx/e;->e:J
invoke-interface {v1, v2, v3, v4}, Lx/u;->write(Lx/e;J)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
:cond_1
:goto_0
:try_start_1
iget-object v1, p0, Lx/p;->f:Lx/u;
invoke-interface {v1}, Lx/u;->close()V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
goto :goto_1
:catchall_1
move-exception v1
if-nez v0, :cond_2
move-object v0, v1
:cond_2
:goto_1
const/4 v1, 0x1
iput-boolean v1, p0, Lx/p;->e:Z
if-nez v0, :cond_3
return-void
:cond_3
throw v0
.end method
.method public flush()V
.locals 6
iget-boolean v0, p0, Lx/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_1
iget-object v0, p0, Lx/p;->d:Lx/e;
iget-wide v1, v0, Lx/e;->e:J
const-wide/16 v3, 0x0
cmp-long v5, v1, v3
if-lez v5, :cond_0
iget-object v3, p0, Lx/p;->f:Lx/u;
invoke-interface {v3, v0, v1, v2}, Lx/u;->write(Lx/e;J)V
:cond_0
iget-object v0, p0, Lx/p;->f:Lx/u;
invoke-interface {v0}, Lx/u;->flush()V
return-void
:cond_1
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "closed"
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public isOpen()Z
.locals 1
iget-boolean v0, p0, Lx/p;->e:Z
xor-int/lit8 v0, v0, 0x1
return v0
.end method
.method public n()Lx/e;
.locals 1
iget-object v0, p0, Lx/p;->d:Lx/e;
return-object v0
.end method
.method public o()Lokio/BufferedSink;
.locals 6
iget-boolean v0, p0, Lx/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_1
iget-object v0, p0, Lx/p;->d:Lx/e;
iget-wide v1, v0, Lx/e;->e:J
const-wide/16 v3, 0x0
cmp-long v5, v1, v3
if-lez v5, :cond_0
iget-object v3, p0, Lx/p;->f:Lx/u;
invoke-interface {v3, v0, v1, v2}, Lx/u;->write(Lx/e;J)V
:cond_0
return-object p0
:cond_1
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "closed"
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public timeout()Lx/x;
.locals 1
iget-object v0, p0, Lx/p;->f:Lx/u;
invoke-interface {v0}, Lx/u;->timeout()Lx/x;
move-result-object v0
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
const-string v0, "buffer("
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Lx/p;->f:Lx/u;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x29
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public write(Ljava/nio/ByteBuffer;)I
.locals 1
if-eqz p1, :cond_1
iget-boolean v0, p0, Lx/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lx/p;->d:Lx/e;
invoke-virtual {v0, p1}, Lx/e;->write(Ljava/nio/ByteBuffer;)I
move-result p1
invoke-virtual {p0}, Lx/p;->a()Lokio/BufferedSink;
return p1
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, "closed"
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_1
const-string p1, "source"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public write([B)Lokio/BufferedSink;
.locals 1
if-eqz p1, :cond_1
iget-boolean v0, p0, Lx/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lx/p;->d:Lx/e;
invoke-virtual {v0, p1}, Lx/e;->write([B)Lx/e;
invoke-virtual {p0}, Lx/p;->a()Lokio/BufferedSink;
return-object p0
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, "closed"
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_1
const-string p1, "source"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public write([BII)Lokio/BufferedSink;
.locals 1
if-eqz p1, :cond_1
iget-boolean v0, p0, Lx/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lx/p;->d:Lx/e;
invoke-virtual {v0, p1, p2, p3}, Lx/e;->write([BII)Lx/e;
invoke-virtual {p0}, Lx/p;->a()Lokio/BufferedSink;
return-object p0
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
const-string p2, "closed"
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_1
const-string p1, "source"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public write(Lx/e;J)V
.locals 1
if-eqz p1, :cond_1
iget-boolean v0, p0, Lx/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lx/p;->d:Lx/e;
invoke-virtual {v0, p1, p2, p3}, Lx/e;->write(Lx/e;J)V
invoke-virtual {p0}, Lx/p;->a()Lokio/BufferedSink;
return-void
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
const-string p2, "closed"
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_1
const-string p1, "source"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public writeByte(I)Lokio/BufferedSink;
.locals 1
iget-boolean v0, p0, Lx/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lx/p;->d:Lx/e;
invoke-virtual {v0, p1}, Lx/e;->writeByte(I)Lx/e;
invoke-virtual {p0}, Lx/p;->a()Lokio/BufferedSink;
move-result-object p1
return-object p1
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, "closed"
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public writeInt(I)Lokio/BufferedSink;
.locals 1
iget-boolean v0, p0, Lx/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lx/p;->d:Lx/e;
invoke-virtual {v0, p1}, Lx/e;->writeInt(I)Lx/e;
invoke-virtual {p0}, Lx/p;->a()Lokio/BufferedSink;
move-result-object p1
return-object p1
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, "closed"
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public writeShort(I)Lokio/BufferedSink;
.locals 1
iget-boolean v0, p0, Lx/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lx/p;->d:Lx/e;
invoke-virtual {v0, p1}, Lx/e;->writeShort(I)Lx/e;
invoke-virtual {p0}, Lx/p;->a()Lokio/BufferedSink;
return-object p0
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, "closed"
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
.end method

View file

@ -1,249 +0,0 @@
.class public final Lx/q$a;
.super Ljava/io/InputStream;
.source "RealBufferedSource.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lx/q;->s()Ljava/io/InputStream;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
.field public final synthetic d:Lx/q;
# direct methods
.method public constructor <init>(Lx/q;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lx/q$a;->d:Lx/q;
invoke-direct {p0}, Ljava/io/InputStream;-><init>()V
return-void
.end method
# virtual methods
.method public available()I
.locals 4
iget-object v0, p0, Lx/q$a;->d:Lx/q;
iget-boolean v1, v0, Lx/q;->e:Z
if-nez v1, :cond_0
iget-object v0, v0, Lx/q;->d:Lx/e;
iget-wide v0, v0, Lx/e;->e:J
const v2, 0x7fffffff
int-to-long v2, v2
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J
move-result-wide v0
long-to-int v1, v0
return v1
:cond_0
new-instance v0, Ljava/io/IOException;
const-string v1, "closed"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public close()V
.locals 1
iget-object v0, p0, Lx/q$a;->d:Lx/q;
invoke-virtual {v0}, Lx/q;->close()V
return-void
.end method
.method public read()I
.locals 7
iget-object v0, p0, Lx/q$a;->d:Lx/q;
iget-boolean v1, v0, Lx/q;->e:Z
if-nez v1, :cond_1
iget-object v1, v0, Lx/q;->d:Lx/e;
iget-wide v2, v1, Lx/e;->e:J
const-wide/16 v4, 0x0
cmp-long v6, v2, v4
if-nez v6, :cond_0
iget-object v0, v0, Lx/q;->f:Lx/w;
const/16 v2, 0x2000
int-to-long v2, v2
invoke-interface {v0, v1, v2, v3}, Lx/w;->b(Lx/e;J)J
move-result-wide v0
const-wide/16 v2, -0x1
cmp-long v4, v0, v2
if-nez v4, :cond_0
const/4 v0, -0x1
return v0
:cond_0
iget-object v0, p0, Lx/q$a;->d:Lx/q;
iget-object v0, v0, Lx/q;->d:Lx/e;
invoke-virtual {v0}, Lx/e;->readByte()B
move-result v0
and-int/lit16 v0, v0, 0xff
return v0
:cond_1
new-instance v0, Ljava/io/IOException;
const-string v1, "closed"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public read([BII)I
.locals 7
if-eqz p1, :cond_2
iget-object v0, p0, Lx/q$a;->d:Lx/q;
iget-boolean v0, v0, Lx/q;->e:Z
if-nez v0, :cond_1
array-length v0, p1
int-to-long v1, v0
int-to-long v3, p2
int-to-long v5, p3
invoke-static/range {v1 .. v6}, Le/k/a/b/e/p/g;->a(JJJ)V
iget-object v0, p0, Lx/q$a;->d:Lx/q;
iget-object v1, v0, Lx/q;->d:Lx/e;
iget-wide v2, v1, Lx/e;->e:J
const-wide/16 v4, 0x0
cmp-long v6, v2, v4
if-nez v6, :cond_0
iget-object v0, v0, Lx/q;->f:Lx/w;
const/16 v2, 0x2000
int-to-long v2, v2
invoke-interface {v0, v1, v2, v3}, Lx/w;->b(Lx/e;J)J
move-result-wide v0
const-wide/16 v2, -0x1
cmp-long v4, v0, v2
if-nez v4, :cond_0
const/4 p1, -0x1
return p1
:cond_0
iget-object v0, p0, Lx/q$a;->d:Lx/q;
iget-object v0, v0, Lx/q;->d:Lx/e;
invoke-virtual {v0, p1, p2, p3}, Lx/e;->a([BII)I
move-result p1
return p1
:cond_1
new-instance p1, Ljava/io/IOException;
const-string p2, "closed"
invoke-direct {p1, p2}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw p1
:cond_2
const-string p1, "data"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
iget-object v1, p0, Lx/q$a;->d:Lx/q;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ".inputStream()"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

File diff suppressed because it is too large Load diff

View file

@ -1,386 +0,0 @@
.class public final Lx/r;
.super Ljava/lang/Object;
.source "Segment.kt"
# instance fields
.field public final a:[B
.field public b:I
.field public c:I
.field public d:Z
.field public e:Z
.field public f:Lx/r;
.field public g:Lx/r;
# direct methods
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/16 v0, 0x2000
new-array v0, v0, [B
iput-object v0, p0, Lx/r;->a:[B
const/4 v0, 0x1
iput-boolean v0, p0, Lx/r;->e:Z
const/4 v0, 0x0
iput-boolean v0, p0, Lx/r;->d:Z
return-void
.end method
.method public constructor <init>([BIIZZ)V
.locals 0
if-eqz p1, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lx/r;->a:[B
iput p2, p0, Lx/r;->b:I
iput p3, p0, Lx/r;->c:I
iput-boolean p4, p0, Lx/r;->d:Z
iput-boolean p5, p0, Lx/r;->e:Z
return-void
:cond_0
const-string p1, "data"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public final a()Lx/r;
.locals 4
iget-object v0, p0, Lx/r;->f:Lx/r;
const/4 v1, 0x0
if-eq v0, p0, :cond_0
goto :goto_0
:cond_0
move-object v0, v1
:goto_0
iget-object v2, p0, Lx/r;->g:Lx/r;
if-eqz v2, :cond_2
iget-object v3, p0, Lx/r;->f:Lx/r;
iput-object v3, v2, Lx/r;->f:Lx/r;
iget-object v3, p0, Lx/r;->f:Lx/r;
if-eqz v3, :cond_1
iput-object v2, v3, Lx/r;->g:Lx/r;
iput-object v1, p0, Lx/r;->f:Lx/r;
iput-object v1, p0, Lx/r;->g:Lx/r;
return-object v0
:cond_1
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v1
:cond_2
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v1
.end method
.method public final a(I)Lx/r;
.locals 5
const/4 v0, 0x0
if-lez p1, :cond_0
iget v1, p0, Lx/r;->c:I
iget v2, p0, Lx/r;->b:I
sub-int/2addr v1, v2
if-gt p1, v1, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
if-eqz v1, :cond_3
const/16 v1, 0x400
if-lt p1, v1, :cond_1
invoke-virtual {p0}, Lx/r;->b()Lx/r;
move-result-object v0
goto :goto_1
:cond_1
invoke-static {}, Lx/s;->a()Lx/r;
move-result-object v1
iget-object v2, p0, Lx/r;->a:[B
iget v3, p0, Lx/r;->b:I
iget-object v4, v1, Lx/r;->a:[B
invoke-static {v2, v3, v4, v0, p1}, Le/k/a/b/e/p/g;->b([BI[BII)V
move-object v0, v1
:goto_1
iget v1, v0, Lx/r;->b:I
add-int/2addr v1, p1
iput v1, v0, Lx/r;->c:I
iget v1, p0, Lx/r;->b:I
add-int/2addr v1, p1
iput v1, p0, Lx/r;->b:I
iget-object p1, p0, Lx/r;->g:Lx/r;
if-eqz p1, :cond_2
invoke-virtual {p1, v0}, Lx/r;->a(Lx/r;)Lx/r;
return-object v0
:cond_2
invoke-static {}, Ls/u/b/j;->throwNpe()V
const/4 p1, 0x0
throw p1
:cond_3
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "byteCount out of range"
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
.end method
.method public final a(Lx/r;)Lx/r;
.locals 2
const/4 v0, 0x0
if-eqz p1, :cond_1
iput-object p0, p1, Lx/r;->g:Lx/r;
iget-object v1, p0, Lx/r;->f:Lx/r;
iput-object v1, p1, Lx/r;->f:Lx/r;
iget-object v1, p0, Lx/r;->f:Lx/r;
if-eqz v1, :cond_0
iput-object p1, v1, Lx/r;->g:Lx/r;
iput-object p1, p0, Lx/r;->f:Lx/r;
return-object p1
:cond_0
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v0
:cond_1
const-string p1, "segment"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public final a(Lx/r;I)V
.locals 4
if-eqz p1, :cond_4
iget-boolean v0, p1, Lx/r;->e:Z
if-eqz v0, :cond_3
iget v0, p1, Lx/r;->c:I
add-int v1, v0, p2
const/16 v2, 0x2000
if-le v1, v2, :cond_2
iget-boolean v1, p1, Lx/r;->d:Z
if-nez v1, :cond_1
add-int v1, v0, p2
iget v3, p1, Lx/r;->b:I
sub-int/2addr v1, v3
if-gt v1, v2, :cond_0
iget-object v1, p1, Lx/r;->a:[B
sub-int/2addr v0, v3
const/4 v2, 0x0
invoke-static {v1, v3, v1, v2, v0}, Le/k/a/b/e/p/g;->b([BI[BII)V
iget v0, p1, Lx/r;->c:I
iget v1, p1, Lx/r;->b:I
sub-int/2addr v0, v1
iput v0, p1, Lx/r;->c:I
iput v2, p1, Lx/r;->b:I
goto :goto_0
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
throw p1
:cond_1
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
throw p1
:cond_2
:goto_0
iget-object v0, p0, Lx/r;->a:[B
iget v1, p0, Lx/r;->b:I
iget-object v2, p1, Lx/r;->a:[B
iget v3, p1, Lx/r;->c:I
invoke-static {v0, v1, v2, v3, p2}, Le/k/a/b/e/p/g;->b([BI[BII)V
iget v0, p1, Lx/r;->c:I
add-int/2addr v0, p2
iput v0, p1, Lx/r;->c:I
iget p1, p0, Lx/r;->b:I
add-int/2addr p1, p2
iput p1, p0, Lx/r;->b:I
return-void
:cond_3
new-instance p1, Ljava/lang/IllegalStateException;
const-string p2, "only owner can write"
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_4
const-string p1, "sink"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public final b()Lx/r;
.locals 7
const/4 v0, 0x1
iput-boolean v0, p0, Lx/r;->d:Z
new-instance v0, Lx/r;
iget-object v2, p0, Lx/r;->a:[B
iget v3, p0, Lx/r;->b:I
iget v4, p0, Lx/r;->c:I
const/4 v5, 0x1
const/4 v6, 0x0
move-object v1, v0
invoke-direct/range {v1 .. v6}, Lx/r;-><init>([BIIZZ)V
return-object v0
.end method

View file

@ -1,199 +0,0 @@
.class public final Lx/s;
.super Ljava/lang/Object;
.source "SegmentPool.kt"
# static fields
.field public static a:Lx/r;
.field public static b:J
.field public static final c:Lx/s;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lx/s;
invoke-direct {v0}, Lx/s;-><init>()V
sput-object v0, Lx/s;->c:Lx/s;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static final a()Lx/r;
.locals 6
sget-object v0, Lx/s;->c:Lx/s;
monitor-enter v0
:try_start_0
sget-object v1, Lx/s;->a:Lx/r;
if-eqz v1, :cond_0
iget-object v2, v1, Lx/r;->f:Lx/r;
sput-object v2, Lx/s;->a:Lx/r;
const/4 v2, 0x0
iput-object v2, v1, Lx/r;->f:Lx/r;
sget-wide v2, Lx/s;->b:J
const/16 v4, 0x2000
int-to-long v4, v4
sub-long/2addr v2, v4
sput-wide v2, Lx/s;->b:J
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit v0
return-object v1
:cond_0
monitor-exit v0
new-instance v0, Lx/r;
invoke-direct {v0}, Lx/r;-><init>()V
return-object v0
:catchall_0
move-exception v1
monitor-exit v0
throw v1
.end method
.method public static final a(Lx/r;)V
.locals 9
if-eqz p0, :cond_4
iget-object v0, p0, Lx/r;->f:Lx/r;
const/4 v1, 0x0
if-nez v0, :cond_0
iget-object v0, p0, Lx/r;->g:Lx/r;
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_3
iget-boolean v0, p0, Lx/r;->d:Z
if-eqz v0, :cond_1
return-void
:cond_1
sget-object v0, Lx/s;->c:Lx/s;
monitor-enter v0
:try_start_0
sget-wide v2, Lx/s;->b:J
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
const/16 v4, 0x2000
int-to-long v4, v4
add-long/2addr v2, v4
const-wide/32 v6, 0x10000
cmp-long v8, v2, v6
if-lez v8, :cond_2
monitor-exit v0
return-void
:cond_2
:try_start_1
sget-wide v2, Lx/s;->b:J
add-long/2addr v2, v4
sput-wide v2, Lx/s;->b:J
sget-object v2, Lx/s;->a:Lx/r;
iput-object v2, p0, Lx/r;->f:Lx/r;
iput v1, p0, Lx/r;->c:I
iget v1, p0, Lx/r;->c:I
iput v1, p0, Lx/r;->b:I
sput-object p0, Lx/s;->a:Lx/r;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
monitor-exit v0
return-void
:catchall_0
move-exception p0
monitor-exit v0
throw p0
:cond_3
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string v0, "Failed requirement."
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
:cond_4
const-string p0, "segment"
invoke-static {p0}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
.end method

View file

@ -1,160 +0,0 @@
.class public final Lx/t$a;
.super Ljava/lang/Object;
.source "SegmentedByteString.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lx/t;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# direct methods
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(Lx/e;I)Lokio/ByteString;
.locals 7
const/4 v0, 0x0
if-eqz p1, :cond_5
iget-wide v1, p1, Lx/e;->e:J
const-wide/16 v3, 0x0
int-to-long v5, p2
invoke-static/range {v1 .. v6}, Le/k/a/b/e/p/g;->a(JJJ)V
iget-object v1, p1, Lx/e;->d:Lx/r;
const/4 v2, 0x0
move-object v4, v1
const/4 v1, 0x0
const/4 v3, 0x0
:goto_0
if-ge v1, p2, :cond_2
if-eqz v4, :cond_1
iget v5, v4, Lx/r;->c:I
iget v6, v4, Lx/r;->b:I
if-eq v5, v6, :cond_0
sub-int/2addr v5, v6
add-int/2addr v1, v5
add-int/lit8 v3, v3, 0x1
iget-object v4, v4, Lx/r;->f:Lx/r;
goto :goto_0
:cond_0
new-instance p1, Ljava/lang/AssertionError;
const-string p2, "s.limit == s.pos"
invoke-direct {p1, p2}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
throw p1
:cond_1
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v0
:cond_2
new-array v1, v3, [[B
mul-int/lit8 v3, v3, 0x2
new-array v3, v3, [I
iget-object p1, p1, Lx/e;->d:Lx/r;
move-object v4, p1
const/4 p1, 0x0
:goto_1
if-ge v2, p2, :cond_4
if-eqz v4, :cond_3
iget-object v5, v4, Lx/r;->a:[B
aput-object v5, v1, p1
iget v5, v4, Lx/r;->c:I
iget v6, v4, Lx/r;->b:I
sub-int/2addr v5, v6
add-int/2addr v2, v5
invoke-static {v2, p2}, Ljava/lang/Math;->min(II)I
move-result v5
aput v5, v3, p1
array-length v5, v1
add-int/2addr v5, p1
iget v6, v4, Lx/r;->b:I
aput v6, v3, v5
const/4 v5, 0x1
iput-boolean v5, v4, Lx/r;->d:Z
add-int/2addr p1, v5
iget-object v4, v4, Lx/r;->f:Lx/r;
goto :goto_1
:cond_3
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v0
:cond_4
new-instance p1, Lx/t;
invoke-direct {p1, v1, v3, v0}, Lx/t;-><init>([[B[ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-object p1
:cond_5
const-string p1, "buffer"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method

View file

@ -1,963 +0,0 @@
.class public final Lx/t;
.super Lokio/ByteString;
.source "SegmentedByteString.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lx/t$a;
}
.end annotation
# static fields
.field public static final j:Lx/t$a;
# instance fields
.field public final transient h:[[B
.field public final transient i:[I
# direct methods
.method public static constructor <clinit>()V
.locals 2
new-instance v0, Lx/t$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lx/t$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lx/t;->j:Lx/t$a;
return-void
.end method
.method public synthetic constructor <init>([[B[ILkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
sget-object p3, Lokio/ByteString;->f:Lokio/ByteString;
invoke-virtual {p3}, Lokio/ByteString;->b()[B
move-result-object p3
invoke-direct {p0, p3}, Lokio/ByteString;-><init>([B)V
iput-object p1, p0, Lx/t;->h:[[B
iput-object p2, p0, Lx/t;->i:[I
return-void
.end method
.method private final writeReplace()Ljava/lang/Object;
.locals 1
invoke-virtual {p0}, Lx/t;->t()Lokio/ByteString;
move-result-object v0
return-object v0
.end method
# virtual methods
.method public a()Ljava/lang/String;
.locals 1
invoke-virtual {p0}, Lx/t;->t()Lokio/ByteString;
move-result-object v0
invoke-virtual {v0}, Lokio/ByteString;->a()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public a(Ljava/lang/String;)Lokio/ByteString;
.locals 6
if-eqz p1, :cond_1
invoke-static {p1}, Ljava/security/MessageDigest;->getInstance(Ljava/lang/String;)Ljava/security/MessageDigest;
move-result-object p1
invoke-virtual {p0}, Lx/t;->r()[[B
move-result-object v0
array-length v0, v0
const/4 v1, 0x0
const/4 v2, 0x0
:goto_0
if-ge v1, v0, :cond_0
invoke-virtual {p0}, Lx/t;->m()[I
move-result-object v3
add-int v4, v0, v1
aget v3, v3, v4
invoke-virtual {p0}, Lx/t;->m()[I
move-result-object v4
aget v4, v4, v1
invoke-virtual {p0}, Lx/t;->r()[[B
move-result-object v5
aget-object v5, v5, v1
sub-int v2, v4, v2
invoke-virtual {p1, v5, v3, v2}, Ljava/security/MessageDigest;->update([BII)V
add-int/lit8 v1, v1, 0x1
move v2, v4
goto :goto_0
:cond_0
new-instance v0, Lokio/ByteString;
invoke-virtual {p1}, Ljava/security/MessageDigest;->digest()[B
move-result-object p1
const-string v1, "digest.digest()"
invoke-static {p1, v1}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {v0, p1}, Lokio/ByteString;-><init>([B)V
return-object v0
:cond_1
const-string p1, "algorithm"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public a(Ljava/io/OutputStream;)V
.locals 6
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
if-eqz p1, :cond_1
invoke-virtual {p0}, Lx/t;->r()[[B
move-result-object v0
array-length v0, v0
const/4 v1, 0x0
const/4 v2, 0x0
:goto_0
if-ge v1, v0, :cond_0
invoke-virtual {p0}, Lx/t;->m()[I
move-result-object v3
add-int v4, v0, v1
aget v3, v3, v4
invoke-virtual {p0}, Lx/t;->m()[I
move-result-object v4
aget v4, v4, v1
invoke-virtual {p0}, Lx/t;->r()[[B
move-result-object v5
aget-object v5, v5, v1
sub-int v2, v4, v2
invoke-virtual {p1, v5, v3, v2}, Ljava/io/OutputStream;->write([BII)V
add-int/lit8 v1, v1, 0x1
move v2, v4
goto :goto_0
:cond_0
return-void
:cond_1
const-string p1, "out"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public a(Lx/e;)V
.locals 12
const/4 v0, 0x0
if-eqz p1, :cond_4
invoke-virtual {p0}, Lx/t;->r()[[B
move-result-object v1
array-length v1, v1
const/4 v2, 0x0
const/4 v3, 0x0
:goto_0
if-ge v2, v1, :cond_3
invoke-virtual {p0}, Lx/t;->m()[I
move-result-object v4
add-int v5, v1, v2
aget v8, v4, v5
invoke-virtual {p0}, Lx/t;->m()[I
move-result-object v4
aget v4, v4, v2
invoke-virtual {p0}, Lx/t;->r()[[B
move-result-object v5
aget-object v7, v5, v2
sub-int v3, v4, v3
new-instance v5, Lx/r;
add-int v9, v8, v3
const/4 v10, 0x1
const/4 v11, 0x0
move-object v6, v5
invoke-direct/range {v6 .. v11}, Lx/r;-><init>([BIIZZ)V
iget-object v3, p1, Lx/e;->d:Lx/r;
if-nez v3, :cond_0
iput-object v5, v5, Lx/r;->g:Lx/r;
iget-object v3, v5, Lx/r;->g:Lx/r;
iput-object v3, v5, Lx/r;->f:Lx/r;
iget-object v3, v5, Lx/r;->f:Lx/r;
iput-object v3, p1, Lx/e;->d:Lx/r;
goto :goto_1
:cond_0
if-eqz v3, :cond_2
iget-object v3, v3, Lx/r;->g:Lx/r;
if-eqz v3, :cond_1
invoke-virtual {v3, v5}, Lx/r;->a(Lx/r;)Lx/r;
:goto_1
add-int/lit8 v2, v2, 0x1
move v3, v4
goto :goto_0
:cond_1
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v0
:cond_2
invoke-static {}, Ls/u/b/j;->throwNpe()V
throw v0
:cond_3
iget-wide v0, p1, Lx/e;->e:J
invoke-virtual {p0}, Lokio/ByteString;->j()I
move-result v2
int-to-long v2, v2
add-long/2addr v0, v2
iput-wide v0, p1, Lx/e;->e:J
return-void
:cond_4
const-string p1, "buffer"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public a(ILokio/ByteString;II)Z
.locals 6
if-eqz p2, :cond_5
const/4 v0, 0x0
if-ltz p1, :cond_4
invoke-virtual {p0}, Lokio/ByteString;->j()I
move-result v1
sub-int/2addr v1, p4
if-le p1, v1, :cond_0
goto :goto_2
:cond_0
add-int/2addr p4, p1
invoke-virtual {p0, p1}, Lx/t;->d(I)I
move-result v1
:goto_0
if-ge p1, p4, :cond_3
if-nez v1, :cond_1
const/4 v2, 0x0
goto :goto_1
:cond_1
invoke-virtual {p0}, Lx/t;->m()[I
move-result-object v2
add-int/lit8 v3, v1, -0x1
aget v2, v2, v3
:goto_1
invoke-virtual {p0}, Lx/t;->m()[I
move-result-object v3
aget v3, v3, v1
sub-int/2addr v3, v2
invoke-virtual {p0}, Lx/t;->m()[I
move-result-object v4
invoke-virtual {p0}, Lx/t;->r()[[B
move-result-object v5
array-length v5, v5
add-int/2addr v5, v1
aget v4, v4, v5
add-int/2addr v3, v2
invoke-static {p4, v3}, Ljava/lang/Math;->min(II)I
move-result v3
sub-int/2addr v3, p1
sub-int v2, p1, v2
add-int/2addr v2, v4
invoke-virtual {p0}, Lx/t;->r()[[B
move-result-object v4
aget-object v4, v4, v1
invoke-virtual {p2, p3, v4, v2, v3}, Lokio/ByteString;->a(I[BII)Z
move-result v2
if-nez v2, :cond_2
return v0
:cond_2
add-int/2addr p3, v3
add-int/2addr p1, v3
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_3
const/4 p1, 0x1
return p1
:cond_4
:goto_2
return v0
:cond_5
const-string p1, "other"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public a(I[BII)Z
.locals 6
if-eqz p2, :cond_5
const/4 v0, 0x0
if-ltz p1, :cond_4
invoke-virtual {p0}, Lokio/ByteString;->j()I
move-result v1
sub-int/2addr v1, p4
if-gt p1, v1, :cond_4
if-ltz p3, :cond_4
array-length v1, p2
sub-int/2addr v1, p4
if-le p3, v1, :cond_0
goto :goto_2
:cond_0
add-int/2addr p4, p1
invoke-virtual {p0, p1}, Lx/t;->d(I)I
move-result v1
:goto_0
if-ge p1, p4, :cond_3
if-nez v1, :cond_1
const/4 v2, 0x0
goto :goto_1
:cond_1
invoke-virtual {p0}, Lx/t;->m()[I
move-result-object v2
add-int/lit8 v3, v1, -0x1
aget v2, v2, v3
:goto_1
invoke-virtual {p0}, Lx/t;->m()[I
move-result-object v3
aget v3, v3, v1
sub-int/2addr v3, v2
invoke-virtual {p0}, Lx/t;->m()[I
move-result-object v4
invoke-virtual {p0}, Lx/t;->r()[[B
move-result-object v5
array-length v5, v5
add-int/2addr v5, v1
aget v4, v4, v5
add-int/2addr v3, v2
invoke-static {p4, v3}, Ljava/lang/Math;->min(II)I
move-result v3
sub-int/2addr v3, p1
sub-int v2, p1, v2
add-int/2addr v2, v4
invoke-virtual {p0}, Lx/t;->r()[[B
move-result-object v4
aget-object v4, v4, v1
invoke-static {v4, v2, p2, p3, v3}, Le/k/a/b/e/p/g;->a([BI[BII)Z
move-result v2
if-nez v2, :cond_2
return v0
:cond_2
add-int/2addr p3, v3
add-int/2addr p1, v3
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_3
const/4 p1, 0x1
return p1
:cond_4
:goto_2
return v0
:cond_5
const-string p1, "other"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public b(I)B
.locals 7
iget-object v0, p0, Lx/t;->i:[I
iget-object v1, p0, Lx/t;->h:[[B
array-length v1, v1
add-int/lit8 v1, v1, -0x1
aget v0, v0, v1
int-to-long v1, v0
int-to-long v3, p1
const-wide/16 v5, 0x1
invoke-static/range {v1 .. v6}, Le/k/a/b/e/p/g;->a(JJJ)V
invoke-virtual {p0, p1}, Lx/t;->d(I)I
move-result v0
if-nez v0, :cond_0
const/4 v1, 0x0
goto :goto_0
:cond_0
iget-object v1, p0, Lx/t;->i:[I
add-int/lit8 v2, v0, -0x1
aget v1, v1, v2
:goto_0
iget-object v2, p0, Lx/t;->i:[I
iget-object v3, p0, Lx/t;->h:[[B
array-length v4, v3
add-int/2addr v4, v0
aget v2, v2, v4
aget-object v0, v3, v0
sub-int/2addr p1, v1
add-int/2addr p1, v2
aget-byte p1, v0, p1
return p1
.end method
.method public d()I
.locals 2
iget-object v0, p0, Lx/t;->i:[I
iget-object v1, p0, Lx/t;->h:[[B
array-length v1, v1
add-int/lit8 v1, v1, -0x1
aget v0, v0, v1
return v0
.end method
.method public final d(I)I
.locals 3
iget-object v0, p0, Lx/t;->i:[I
iget-object v1, p0, Lx/t;->h:[[B
array-length v1, v1
add-int/lit8 p1, p1, 0x1
const/4 v2, 0x0
invoke-static {v0, v2, v1, p1}, Ljava/util/Arrays;->binarySearch([IIII)I
move-result p1
if-ltz p1, :cond_0
goto :goto_0
:cond_0
not-int p1, p1
:goto_0
return p1
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 4
const/4 v0, 0x1
const/4 v1, 0x0
if-ne p1, p0, :cond_0
goto :goto_0
:cond_0
instance-of v2, p1, Lokio/ByteString;
if-eqz v2, :cond_1
check-cast p1, Lokio/ByteString;
invoke-virtual {p1}, Lokio/ByteString;->j()I
move-result v2
invoke-virtual {p0}, Lokio/ByteString;->j()I
move-result v3
if-ne v2, v3, :cond_1
invoke-virtual {p0}, Lokio/ByteString;->j()I
move-result v2
invoke-virtual {p0, v1, p1, v1, v2}, Lx/t;->a(ILokio/ByteString;II)Z
move-result p1
if-eqz p1, :cond_1
goto :goto_0
:cond_1
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public f()Ljava/lang/String;
.locals 1
invoke-virtual {p0}, Lx/t;->t()Lokio/ByteString;
move-result-object v0
invoke-virtual {v0}, Lokio/ByteString;->f()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public g()[B
.locals 1
invoke-virtual {p0}, Lx/t;->s()[B
move-result-object v0
return-object v0
.end method
.method public hashCode()I
.locals 8
invoke-virtual {p0}, Lokio/ByteString;->c()I
move-result v0
if-eqz v0, :cond_0
return v0
:cond_0
invoke-virtual {p0}, Lx/t;->r()[[B
move-result-object v0
array-length v0, v0
const/4 v1, 0x0
const/4 v2, 0x1
const/4 v3, 0x0
:goto_0
if-ge v1, v0, :cond_2
invoke-virtual {p0}, Lx/t;->m()[I
move-result-object v4
add-int v5, v0, v1
aget v4, v4, v5
invoke-virtual {p0}, Lx/t;->m()[I
move-result-object v5
aget v5, v5, v1
invoke-virtual {p0}, Lx/t;->r()[[B
move-result-object v6
aget-object v6, v6, v1
sub-int v3, v5, v3
add-int/2addr v3, v4
:goto_1
if-ge v4, v3, :cond_1
mul-int/lit8 v2, v2, 0x1f
aget-byte v7, v6, v4
add-int/2addr v2, v7
add-int/lit8 v4, v4, 0x1
goto :goto_1
:cond_1
add-int/lit8 v1, v1, 0x1
move v3, v5
goto :goto_0
:cond_2
invoke-virtual {p0, v2}, Lokio/ByteString;->c(I)V
return v2
.end method
.method public k()Lokio/ByteString;
.locals 1
invoke-virtual {p0}, Lx/t;->t()Lokio/ByteString;
move-result-object v0
invoke-virtual {v0}, Lokio/ByteString;->k()Lokio/ByteString;
move-result-object v0
return-object v0
.end method
.method public final m()[I
.locals 1
iget-object v0, p0, Lx/t;->i:[I
return-object v0
.end method
.method public final r()[[B
.locals 1
iget-object v0, p0, Lx/t;->h:[[B
return-object v0
.end method
.method public s()[B
.locals 8
invoke-virtual {p0}, Lokio/ByteString;->j()I
move-result v0
new-array v0, v0, [B
invoke-virtual {p0}, Lx/t;->r()[[B
move-result-object v1
array-length v1, v1
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
:goto_0
if-ge v2, v1, :cond_0
invoke-virtual {p0}, Lx/t;->m()[I
move-result-object v5
add-int v6, v1, v2
aget v5, v5, v6
invoke-virtual {p0}, Lx/t;->m()[I
move-result-object v6
aget v6, v6, v2
invoke-virtual {p0}, Lx/t;->r()[[B
move-result-object v7
aget-object v7, v7, v2
sub-int v3, v6, v3
invoke-static {v7, v5, v0, v4, v3}, Le/k/a/b/e/p/g;->b([BI[BII)V
add-int/2addr v4, v3
add-int/lit8 v2, v2, 0x1
move v3, v6
goto :goto_0
:cond_0
return-object v0
.end method
.method public final t()Lokio/ByteString;
.locals 2
new-instance v0, Lokio/ByteString;
invoke-virtual {p0}, Lx/t;->s()[B
move-result-object v1
invoke-direct {v0, v1}, Lokio/ByteString;-><init>([B)V
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 1
invoke-virtual {p0}, Lx/t;->t()Lokio/ByteString;
move-result-object v0
invoke-virtual {v0}, Lokio/ByteString;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View file

@ -1,36 +0,0 @@
.class public interface abstract Lx/u;
.super Ljava/lang/Object;
.source "Sink.kt"
# interfaces
.implements Ljava/io/Closeable;
.implements Ljava/io/Flushable;
# virtual methods
.method public abstract close()V
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract flush()V
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract timeout()Lx/x;
.end method
.method public abstract write(Lx/e;J)V
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method

View file

@ -1,131 +0,0 @@
.class public final Lx/v;
.super Lx/b;
.source "Okio.kt"
# instance fields
.field public final l:Ljava/util/logging/Logger;
.field public final m:Ljava/net/Socket;
# direct methods
.method public constructor <init>(Ljava/net/Socket;)V
.locals 0
if-eqz p1, :cond_0
invoke-direct {p0}, Lx/b;-><init>()V
iput-object p1, p0, Lx/v;->m:Ljava/net/Socket;
const-string p1, "okio.Okio"
invoke-static {p1}, Ljava/util/logging/Logger;->getLogger(Ljava/lang/String;)Ljava/util/logging/Logger;
move-result-object p1
iput-object p1, p0, Lx/v;->l:Ljava/util/logging/Logger;
return-void
:cond_0
const-string p1, "socket"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public b(Ljava/io/IOException;)Ljava/io/IOException;
.locals 2
new-instance v0, Ljava/net/SocketTimeoutException;
const-string v1, "timeout"
invoke-direct {v0, v1}, Ljava/net/SocketTimeoutException;-><init>(Ljava/lang/String;)V
if-eqz p1, :cond_0
invoke-virtual {v0, p1}, Ljava/net/SocketTimeoutException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
:cond_0
return-object v0
.end method
.method public i()V
.locals 5
const-string v0, "Failed to close timed out socket "
:try_start_0
iget-object v1, p0, Lx/v;->m:Ljava/net/Socket;
invoke-virtual {v1}, Ljava/net/Socket;->close()V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/AssertionError; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v1
invoke-static {v1}, Le/k/a/b/e/p/g;->a(Ljava/lang/AssertionError;)Z
move-result v2
if-eqz v2, :cond_0
iget-object v2, p0, Lx/v;->l:Ljava/util/logging/Logger;
sget-object v3, Ljava/util/logging/Level;->WARNING:Ljava/util/logging/Level;
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v4, p0, Lx/v;->m:Ljava/net/Socket;
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-virtual {v2, v3, v0, v1}, Ljava/util/logging/Logger;->log(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
goto :goto_0
:cond_0
throw v1
:catch_1
move-exception v1
iget-object v2, p0, Lx/v;->l:Ljava/util/logging/Logger;
sget-object v3, Ljava/util/logging/Level;->WARNING:Ljava/util/logging/Level;
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v4, p0, Lx/v;->m:Ljava/net/Socket;
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-virtual {v2, v3, v0, v1}, Ljava/util/logging/Logger;->log(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
:goto_0
return-void
.end method

View file

@ -1,27 +0,0 @@
.class public interface abstract Lx/w;
.super Ljava/lang/Object;
.source "Source.kt"
# interfaces
.implements Ljava/io/Closeable;
# virtual methods
.method public abstract b(Lx/e;J)J
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract close()V
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract timeout()Lx/x;
.end method

View file

@ -1,55 +0,0 @@
.class public final Lx/x$a;
.super Lx/x;
.source "Timeout.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lx/x;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Lx/x;-><init>()V
return-void
.end method
# virtual methods
.method public a(J)Lx/x;
.locals 0
return-object p0
.end method
.method public a(JLjava/util/concurrent/TimeUnit;)Lx/x;
.locals 0
if-eqz p3, :cond_0
return-object p0
:cond_0
const-string p1, "unit"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public e()V
.locals 0
return-void
.end method

View file

@ -1,231 +0,0 @@
.class public Lx/x;
.super Ljava/lang/Object;
.source "Timeout.kt"
# static fields
.field public static final d:Lx/x;
# instance fields
.field public a:Z
.field public b:J
.field public c:J
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lx/x$a;
invoke-direct {v0}, Lx/x$a;-><init>()V
sput-object v0, Lx/x;->d:Lx/x;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a()Lx/x;
.locals 1
const/4 v0, 0x0
iput-boolean v0, p0, Lx/x;->a:Z
return-object p0
.end method
.method public a(J)Lx/x;
.locals 1
const/4 v0, 0x1
iput-boolean v0, p0, Lx/x;->a:Z
iput-wide p1, p0, Lx/x;->b:J
return-object p0
.end method
.method public a(JLjava/util/concurrent/TimeUnit;)Lx/x;
.locals 3
if-eqz p3, :cond_2
const-wide/16 v0, 0x0
cmp-long v2, p1, v0
if-ltz v2, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_1
invoke-virtual {p3, p1, p2}, Ljava/util/concurrent/TimeUnit;->toNanos(J)J
move-result-wide p1
iput-wide p1, p0, Lx/x;->c:J
return-object p0
:cond_1
const-string p3, "timeout < 0: "
invoke-static {p3, p1, p2}, Le/e/b/a/a;->a(Ljava/lang/String;J)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_2
const-string p1, "unit"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public b()Lx/x;
.locals 2
const-wide/16 v0, 0x0
iput-wide v0, p0, Lx/x;->c:J
return-object p0
.end method
.method public c()J
.locals 2
iget-boolean v0, p0, Lx/x;->a:Z
if-eqz v0, :cond_0
iget-wide v0, p0, Lx/x;->b:J
return-wide v0
:cond_0
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "No deadline"
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public d()Z
.locals 1
iget-boolean v0, p0, Lx/x;->a:Z
return v0
.end method
.method public e()V
.locals 5
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
invoke-static {}, Ljava/lang/Thread;->interrupted()Z
move-result v0
if-nez v0, :cond_2
iget-boolean v0, p0, Lx/x;->a:Z
if-eqz v0, :cond_1
iget-wide v0, p0, Lx/x;->b:J
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v2
sub-long/2addr v0, v2
const-wide/16 v2, 0x0
cmp-long v4, v0, v2
if-lez v4, :cond_0
goto :goto_0
:cond_0
new-instance v0, Ljava/io/InterruptedIOException;
const-string v1, "deadline reached"
invoke-direct {v0, v1}, Ljava/io/InterruptedIOException;-><init>(Ljava/lang/String;)V
throw v0
:cond_1
:goto_0
return-void
:cond_2
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Thread;->interrupt()V
new-instance v0, Ljava/io/InterruptedIOException;
const-string v1, "interrupted"
invoke-direct {v0, v1}, Ljava/io/InterruptedIOException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public f()J
.locals 2
iget-wide v0, p0, Lx/x;->c:J
return-wide v0
.end method

File diff suppressed because it is too large Load diff