Changes of com.discord v1082

This commit is contained in:
root 2020-03-27 23:23:51 +01:00
parent 6522098e74
commit 60bdc9c81a
9090 changed files with 414758 additions and 386577 deletions

View file

@ -1,265 +0,0 @@
.class public final Lb0/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, Lb0/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, Lb0/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}, Lx/a/a2/w;->b([B)Ljava/lang/String;
move-result-object p0
return-object p0
:cond_4
const-string p0, "map"
invoke-static {p0}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw p2
:cond_5
const-string p0, "$receiver"
invoke-static {p0}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw p2
.end method

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,71 @@
.class public Lb0/a/a/a/b$a$a;
.super Ljava/lang/Object;
.source "CameraHandlerThread.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lb0/a/a/a/b$a;->run()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic d:Landroid/hardware/Camera;
.field public final synthetic e:Lb0/a/a/a/b$a;
# direct methods
.method public constructor <init>(Lb0/a/a/a/b$a;Landroid/hardware/Camera;)V
.locals 0
iput-object p1, p0, Lb0/a/a/a/b$a$a;->e:Lb0/a/a/a/b$a;
iput-object p2, p0, Lb0/a/a/a/b$a$a;->d:Landroid/hardware/Camera;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 4
iget-object v0, p0, Lb0/a/a/a/b$a$a;->e:Lb0/a/a/a/b$a;
iget-object v1, v0, Lb0/a/a/a/b$a;->e:Lb0/a/a/a/b;
iget-object v1, v1, Lb0/a/a/a/b;->d:Lb0/a/a/a/a;
iget-object v2, p0, Lb0/a/a/a/b$a$a;->d:Landroid/hardware/Camera;
iget v0, v0, Lb0/a/a/a/b$a;->d:I
if-nez v2, :cond_0
const/4 v0, 0x0
goto :goto_0
:cond_0
new-instance v3, Lb0/a/a/a/d;
invoke-direct {v3, v2, v0}, Lb0/a/a/a/d;-><init>(Landroid/hardware/Camera;I)V
move-object v0, v3
:goto_0
invoke-virtual {v1, v0}, Lb0/a/a/a/a;->setupCameraPreview(Lb0/a/a/a/d;)V
return-void
.end method

View file

@ -0,0 +1,85 @@
.class public Lb0/a/a/a/b$a;
.super Ljava/lang/Object;
.source "CameraHandlerThread.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lb0/a/a/a/b;->a(I)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic d:I
.field public final synthetic e:Lb0/a/a/a/b;
# direct methods
.method public constructor <init>(Lb0/a/a/a/b;I)V
.locals 0
iput-object p1, p0, Lb0/a/a/a/b$a;->e:Lb0/a/a/a/b;
iput p2, p0, Lb0/a/a/a/b$a;->d:I
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 3
iget v0, p0, Lb0/a/a/a/b$a;->d:I
const/4 v1, -0x1
if-ne v0, v1, :cond_0
:try_start_0
invoke-static {}, Landroid/hardware/Camera;->open()Landroid/hardware/Camera;
move-result-object v0
goto :goto_0
:cond_0
invoke-static {v0}, Landroid/hardware/Camera;->open(I)Landroid/hardware/Camera;
move-result-object v0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
const/4 v0, 0x0
:goto_0
new-instance v1, Landroid/os/Handler;
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v2
invoke-direct {v1, v2}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
new-instance v2, Lb0/a/a/a/b$a$a;
invoke-direct {v2, p0, v0}, Lb0/a/a/a/b$a$a;-><init>(Lb0/a/a/a/b$a;Landroid/hardware/Camera;)V
invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
return-void
.end method

View file

@ -0,0 +1,45 @@
.class public Lb0/a/a/a/b;
.super Landroid/os/HandlerThread;
.source "CameraHandlerThread.java"
# instance fields
.field public d:Lb0/a/a/a/a;
# direct methods
.method public constructor <init>(Lb0/a/a/a/a;)V
.locals 1
const-string v0, "CameraHandlerThread"
invoke-direct {p0, v0}, Landroid/os/HandlerThread;-><init>(Ljava/lang/String;)V
iput-object p1, p0, Lb0/a/a/a/b;->d:Lb0/a/a/a/a;
invoke-virtual {p0}, Landroid/os/HandlerThread;->start()V
return-void
.end method
# virtual methods
.method public a(I)V
.locals 2
new-instance v0, Landroid/os/Handler;
invoke-virtual {p0}, Landroid/os/HandlerThread;->getLooper()Landroid/os/Looper;
move-result-object v1
invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
new-instance v1, Lb0/a/a/a/b$a;
invoke-direct {v1, p0, p1}, Lb0/a/a/a/b$a;-><init>(Lb0/a/a/a/b;I)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
return-void
.end method

View file

@ -0,0 +1,62 @@
.class public Lb0/a/a/a/c$a;
.super Ljava/lang/Object;
.source "CameraPreview.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lb0/a/a/a/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic d:Lb0/a/a/a/c;
# direct methods
.method public constructor <init>(Lb0/a/a/a/c;)V
.locals 0
iput-object p1, p0, Lb0/a/a/a/c$a;->d:Lb0/a/a/a/c;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
iget-object v0, p0, Lb0/a/a/a/c$a;->d:Lb0/a/a/a/c;
iget-object v1, v0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
if-eqz v1, :cond_0
iget-boolean v1, v0, Lb0/a/a/a/c;->f:Z
if-eqz v1, :cond_0
iget-boolean v1, v0, Lb0/a/a/a/c;->g:Z
if-eqz v1, :cond_0
iget-boolean v1, v0, Lb0/a/a/a/c;->h:Z
if-eqz v1, :cond_0
invoke-virtual {v0}, Lb0/a/a/a/c;->a()V
:cond_0
return-void
.end method

View file

@ -0,0 +1,45 @@
.class public Lb0/a/a/a/c$b;
.super Ljava/lang/Object;
.source "CameraPreview.java"
# interfaces
.implements Landroid/hardware/Camera$AutoFocusCallback;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lb0/a/a/a/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic a:Lb0/a/a/a/c;
# direct methods
.method public constructor <init>(Lb0/a/a/a/c;)V
.locals 0
iput-object p1, p0, Lb0/a/a/a/c$b;->a:Lb0/a/a/a/c;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onAutoFocus(ZLandroid/hardware/Camera;)V
.locals 0
iget-object p1, p0, Lb0/a/a/a/c$b;->a:Lb0/a/a/a/c;
invoke-static {p1}, Lb0/a/a/a/c;->a(Lb0/a/a/a/c;)V
return-void
.end method

View file

@ -0,0 +1,919 @@
.class public Lb0/a/a/a/c;
.super Landroid/view/SurfaceView;
.source "CameraPreview.java"
# interfaces
.implements Landroid/view/SurfaceHolder$Callback;
# instance fields
.field public d:Lb0/a/a/a/d;
.field public e:Landroid/os/Handler;
.field public f:Z
.field public g:Z
.field public h:Z
.field public i:Z
.field public j:Landroid/hardware/Camera$PreviewCallback;
.field public k:F
.field public l:Ljava/lang/Runnable;
.field public m:Landroid/hardware/Camera$AutoFocusCallback;
# direct methods
.method public constructor <init>(Landroid/content/Context;Lb0/a/a/a/d;Landroid/hardware/Camera$PreviewCallback;)V
.locals 1
invoke-direct {p0, p1}, Landroid/view/SurfaceView;-><init>(Landroid/content/Context;)V
const/4 p1, 0x1
iput-boolean p1, p0, Lb0/a/a/a/c;->f:Z
iput-boolean p1, p0, Lb0/a/a/a/c;->g:Z
const/4 v0, 0x0
iput-boolean v0, p0, Lb0/a/a/a/c;->h:Z
iput-boolean p1, p0, Lb0/a/a/a/c;->i:Z
const p1, 0x3dcccccd # 0.1f
iput p1, p0, Lb0/a/a/a/c;->k:F
new-instance p1, Lb0/a/a/a/c$a;
invoke-direct {p1, p0}, Lb0/a/a/a/c$a;-><init>(Lb0/a/a/a/c;)V
iput-object p1, p0, Lb0/a/a/a/c;->l:Ljava/lang/Runnable;
new-instance p1, Lb0/a/a/a/c$b;
invoke-direct {p1, p0}, Lb0/a/a/a/c$b;-><init>(Lb0/a/a/a/c;)V
iput-object p1, p0, Lb0/a/a/a/c;->m:Landroid/hardware/Camera$AutoFocusCallback;
invoke-virtual {p0, p2, p3}, Lb0/a/a/a/c;->a(Lb0/a/a/a/d;Landroid/hardware/Camera$PreviewCallback;)V
return-void
.end method
.method public static synthetic a(Lb0/a/a/a/c;)V
.locals 0
invoke-virtual {p0}, Lb0/a/a/a/c;->b()V
return-void
.end method
.method private getOptimalPreviewSize()Landroid/hardware/Camera$Size;
.locals 18
move-object/from16 v0, p0
iget-object v1, v0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
const/4 v2, 0x0
if-nez v1, :cond_0
return-object v2
:cond_0
iget-object v1, v1, Lb0/a/a/a/d;->a:Landroid/hardware/Camera;
invoke-virtual {v1}, Landroid/hardware/Camera;->getParameters()Landroid/hardware/Camera$Parameters;
move-result-object v1
invoke-virtual {v1}, Landroid/hardware/Camera$Parameters;->getSupportedPreviewSizes()Ljava/util/List;
move-result-object v1
invoke-virtual/range {p0 .. p0}, Landroid/view/SurfaceView;->getWidth()I
move-result v3
invoke-virtual/range {p0 .. p0}, Landroid/view/SurfaceView;->getHeight()I
move-result v4
invoke-virtual/range {p0 .. p0}, Landroid/view/SurfaceView;->getContext()Landroid/content/Context;
move-result-object v5
invoke-static {v5}, Lz/a/a2/w;->a(Landroid/content/Context;)I
move-result v5
const/4 v6, 0x1
if-ne v5, v6, :cond_1
move/from16 v17, v4
move v4, v3
move/from16 v3, v17
:cond_1
int-to-double v5, v3
int-to-double v7, v4
div-double/2addr v5, v7
if-nez v1, :cond_2
return-object v2
:cond_2
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v3
const-wide v7, 0x7fefffffffffffffL # Double.MAX_VALUE
move-wide v9, v7
:cond_3
:goto_0
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
move-result v11
if-eqz v11, :cond_5
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v11
check-cast v11, Landroid/hardware/Camera$Size;
iget v12, v11, Landroid/hardware/Camera$Size;->width:I
int-to-double v12, v12
iget v14, v11, Landroid/hardware/Camera$Size;->height:I
int-to-double v14, v14
div-double/2addr v12, v14
sub-double/2addr v12, v5
invoke-static {v12, v13}, Ljava/lang/Math;->abs(D)D
move-result-wide v12
iget v14, v0, Lb0/a/a/a/c;->k:F
float-to-double v14, v14
cmpl-double v16, v12, v14
if-lez v16, :cond_4
goto :goto_0
:cond_4
iget v12, v11, Landroid/hardware/Camera$Size;->height:I
sub-int/2addr v12, v4
invoke-static {v12}, Ljava/lang/Math;->abs(I)I
move-result v12
int-to-double v12, v12
cmpg-double v14, v12, v9
if-gez v14, :cond_3
iget v2, v11, Landroid/hardware/Camera$Size;->height:I
sub-int/2addr v2, v4
invoke-static {v2}, Ljava/lang/Math;->abs(I)I
move-result v2
int-to-double v9, v2
move-object v2, v11
goto :goto_0
:cond_5
if-nez v2, :cond_7
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_6
:goto_1
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_7
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
check-cast v3, Landroid/hardware/Camera$Size;
iget v5, v3, Landroid/hardware/Camera$Size;->height:I
sub-int/2addr v5, v4
invoke-static {v5}, Ljava/lang/Math;->abs(I)I
move-result v5
int-to-double v5, v5
cmpg-double v9, v5, v7
if-gez v9, :cond_6
iget v2, v3, Landroid/hardware/Camera$Size;->height:I
sub-int/2addr v2, v4
invoke-static {v2}, Ljava/lang/Math;->abs(I)I
move-result v2
int-to-double v5, v2
move-object v2, v3
move-wide v7, v5
goto :goto_1
:cond_7
return-object v2
.end method
# virtual methods
.method public a()V
.locals 2
:try_start_0
iget-object v0, p0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
iget-object v0, v0, Lb0/a/a/a/d;->a:Landroid/hardware/Camera;
iget-object v1, p0, Lb0/a/a/a/c;->m:Landroid/hardware/Camera$AutoFocusCallback;
invoke-virtual {v0, v1}, Landroid/hardware/Camera;->autoFocus(Landroid/hardware/Camera$AutoFocusCallback;)V
:try_end_0
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
invoke-virtual {p0}, Lb0/a/a/a/c;->b()V
:goto_0
return-void
.end method
.method public final a(II)V
.locals 5
invoke-virtual {p0}, Landroid/view/SurfaceView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v0
invoke-virtual {p0}, Lb0/a/a/a/c;->getDisplayOrientation()I
move-result v1
rem-int/lit16 v1, v1, 0xb4
if-nez v1, :cond_0
goto :goto_0
:cond_0
move v4, p2
move p2, p1
move p1, v4
:goto_0
iget-boolean v1, p0, Lb0/a/a/a/c;->i:Z
if-eqz v1, :cond_2
invoke-virtual {p0}, Landroid/view/SurfaceView;->getParent()Landroid/view/ViewParent;
move-result-object v1
check-cast v1, Landroid/view/View;
invoke-virtual {v1}, Landroid/view/View;->getWidth()I
move-result v1
invoke-virtual {p0}, Landroid/view/SurfaceView;->getParent()Landroid/view/ViewParent;
move-result-object v2
check-cast v2, Landroid/view/View;
invoke-virtual {v2}, Landroid/view/View;->getHeight()I
move-result v2
int-to-float v1, v1
int-to-float p1, p1
div-float/2addr v1, p1
int-to-float v2, v2
int-to-float p2, p2
div-float/2addr v2, p2
cmpl-float v3, v1, v2
if-lez v3, :cond_1
goto :goto_1
:cond_1
move v1, v2
:goto_1
mul-float p1, p1, v1
invoke-static {p1}, Ljava/lang/Math;->round(F)I
move-result p1
mul-float p2, p2, v1
invoke-static {p2}, Ljava/lang/Math;->round(F)I
move-result p2
:cond_2
iput p1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I
iput p2, v0, Landroid/view/ViewGroup$LayoutParams;->height:I
invoke-virtual {p0, v0}, Landroid/view/SurfaceView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
return-void
.end method
.method public a(Lb0/a/a/a/d;Landroid/hardware/Camera$PreviewCallback;)V
.locals 0
invoke-virtual {p0, p1, p2}, Lb0/a/a/a/c;->b(Lb0/a/a/a/d;Landroid/hardware/Camera$PreviewCallback;)V
new-instance p1, Landroid/os/Handler;
invoke-direct {p1}, Landroid/os/Handler;-><init>()V
iput-object p1, p0, Lb0/a/a/a/c;->e:Landroid/os/Handler;
invoke-virtual {p0}, Landroid/view/SurfaceView;->getHolder()Landroid/view/SurfaceHolder;
move-result-object p1
invoke-interface {p1, p0}, Landroid/view/SurfaceHolder;->addCallback(Landroid/view/SurfaceHolder$Callback;)V
invoke-virtual {p0}, Landroid/view/SurfaceView;->getHolder()Landroid/view/SurfaceHolder;
move-result-object p1
const/4 p2, 0x3
invoke-interface {p1, p2}, Landroid/view/SurfaceHolder;->setType(I)V
return-void
.end method
.method public final b()V
.locals 4
iget-object v0, p0, Lb0/a/a/a/c;->e:Landroid/os/Handler;
iget-object v1, p0, Lb0/a/a/a/c;->l:Ljava/lang/Runnable;
const-wide/16 v2, 0x3e8
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
return-void
.end method
.method public b(Lb0/a/a/a/d;Landroid/hardware/Camera$PreviewCallback;)V
.locals 0
iput-object p1, p0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
iput-object p2, p0, Lb0/a/a/a/c;->j:Landroid/hardware/Camera$PreviewCallback;
return-void
.end method
.method public c()V
.locals 6
invoke-direct {p0}, Lb0/a/a/a/c;->getOptimalPreviewSize()Landroid/hardware/Camera$Size;
move-result-object v0
iget-object v1, p0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
iget-object v1, v1, Lb0/a/a/a/d;->a:Landroid/hardware/Camera;
invoke-virtual {v1}, Landroid/hardware/Camera;->getParameters()Landroid/hardware/Camera$Parameters;
move-result-object v1
iget v2, v0, Landroid/hardware/Camera$Size;->width:I
iget v3, v0, Landroid/hardware/Camera$Size;->height:I
invoke-virtual {v1, v2, v3}, Landroid/hardware/Camera$Parameters;->setPreviewSize(II)V
iget-object v2, p0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
iget-object v2, v2, Lb0/a/a/a/d;->a:Landroid/hardware/Camera;
invoke-virtual {v2, v1}, Landroid/hardware/Camera;->setParameters(Landroid/hardware/Camera$Parameters;)V
new-instance v1, Landroid/graphics/Point;
invoke-virtual {p0}, Landroid/view/SurfaceView;->getWidth()I
move-result v2
invoke-virtual {p0}, Landroid/view/SurfaceView;->getHeight()I
move-result v3
invoke-direct {v1, v2, v3}, Landroid/graphics/Point;-><init>(II)V
invoke-virtual {p0}, Lb0/a/a/a/c;->getDisplayOrientation()I
move-result v2
rem-int/lit16 v2, v2, 0xb4
if-nez v2, :cond_0
goto :goto_0
:cond_0
new-instance v2, Landroid/graphics/Point;
iget v3, v1, Landroid/graphics/Point;->y:I
iget v1, v1, Landroid/graphics/Point;->x:I
invoke-direct {v2, v3, v1}, Landroid/graphics/Point;-><init>(II)V
move-object v1, v2
:goto_0
iget v2, v0, Landroid/hardware/Camera$Size;->width:I
int-to-float v2, v2
iget v0, v0, Landroid/hardware/Camera$Size;->height:I
int-to-float v0, v0
div-float/2addr v2, v0
iget v0, v1, Landroid/graphics/Point;->x:I
int-to-float v3, v0
iget v1, v1, Landroid/graphics/Point;->y:I
int-to-float v4, v1
div-float v5, v3, v4
cmpl-float v5, v5, v2
if-lez v5, :cond_1
mul-float v4, v4, v2
float-to-int v0, v4
invoke-virtual {p0, v0, v1}, Lb0/a/a/a/c;->a(II)V
goto :goto_1
:cond_1
div-float/2addr v3, v2
float-to-int v1, v3
invoke-virtual {p0, v0, v1}, Lb0/a/a/a/c;->a(II)V
:goto_1
return-void
.end method
.method public d()V
.locals 3
iget-object v0, p0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
if-eqz v0, :cond_1
:try_start_0
invoke-virtual {p0}, Landroid/view/SurfaceView;->getHolder()Landroid/view/SurfaceHolder;
move-result-object v0
invoke-interface {v0, p0}, Landroid/view/SurfaceHolder;->addCallback(Landroid/view/SurfaceHolder$Callback;)V
const/4 v0, 0x1
iput-boolean v0, p0, Lb0/a/a/a/c;->f:Z
invoke-virtual {p0}, Lb0/a/a/a/c;->c()V
iget-object v0, p0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
iget-object v0, v0, Lb0/a/a/a/d;->a:Landroid/hardware/Camera;
invoke-virtual {p0}, Landroid/view/SurfaceView;->getHolder()Landroid/view/SurfaceHolder;
move-result-object v1
invoke-virtual {v0, v1}, Landroid/hardware/Camera;->setPreviewDisplay(Landroid/view/SurfaceHolder;)V
iget-object v0, p0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
iget-object v0, v0, Lb0/a/a/a/d;->a:Landroid/hardware/Camera;
invoke-virtual {p0}, Lb0/a/a/a/c;->getDisplayOrientation()I
move-result v1
invoke-virtual {v0, v1}, Landroid/hardware/Camera;->setDisplayOrientation(I)V
iget-object v0, p0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
iget-object v0, v0, Lb0/a/a/a/d;->a:Landroid/hardware/Camera;
iget-object v1, p0, Lb0/a/a/a/c;->j:Landroid/hardware/Camera$PreviewCallback;
invoke-virtual {v0, v1}, Landroid/hardware/Camera;->setOneShotPreviewCallback(Landroid/hardware/Camera$PreviewCallback;)V
iget-object v0, p0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
iget-object v0, v0, Lb0/a/a/a/d;->a:Landroid/hardware/Camera;
invoke-virtual {v0}, Landroid/hardware/Camera;->startPreview()V
iget-boolean v0, p0, Lb0/a/a/a/c;->g:Z
if-eqz v0, :cond_1
iget-boolean v0, p0, Lb0/a/a/a/c;->h:Z
if-eqz v0, :cond_0
invoke-virtual {p0}, Lb0/a/a/a/c;->a()V
goto :goto_0
:cond_0
invoke-virtual {p0}, Lb0/a/a/a/c;->b()V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
invoke-virtual {v0}, Ljava/lang/Exception;->toString()Ljava/lang/String;
move-result-object v1
const-string v2, "CameraPreview"
invoke-static {v2, v1, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
:cond_1
:goto_0
return-void
.end method
.method public e()V
.locals 3
iget-object v0, p0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
if-eqz v0, :cond_0
const/4 v0, 0x0
:try_start_0
iput-boolean v0, p0, Lb0/a/a/a/c;->f:Z
invoke-virtual {p0}, Landroid/view/SurfaceView;->getHolder()Landroid/view/SurfaceHolder;
move-result-object v0
invoke-interface {v0, p0}, Landroid/view/SurfaceHolder;->removeCallback(Landroid/view/SurfaceHolder$Callback;)V
iget-object v0, p0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
iget-object v0, v0, Lb0/a/a/a/d;->a:Landroid/hardware/Camera;
invoke-virtual {v0}, Landroid/hardware/Camera;->cancelAutoFocus()V
iget-object v0, p0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
iget-object v0, v0, Lb0/a/a/a/d;->a:Landroid/hardware/Camera;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/hardware/Camera;->setOneShotPreviewCallback(Landroid/hardware/Camera$PreviewCallback;)V
iget-object v0, p0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
iget-object v0, v0, Lb0/a/a/a/d;->a:Landroid/hardware/Camera;
invoke-virtual {v0}, Landroid/hardware/Camera;->stopPreview()V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
invoke-virtual {v0}, Ljava/lang/Exception;->toString()Ljava/lang/String;
move-result-object v1
const-string v2, "CameraPreview"
invoke-static {v2, v1, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
:cond_0
:goto_0
return-void
.end method
.method public getDisplayOrientation()I
.locals 5
iget-object v0, p0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
const/4 v1, 0x0
if-nez v0, :cond_0
return v1
:cond_0
new-instance v0, Landroid/hardware/Camera$CameraInfo;
invoke-direct {v0}, Landroid/hardware/Camera$CameraInfo;-><init>()V
iget-object v2, p0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
iget v2, v2, Lb0/a/a/a/d;->b:I
const/4 v3, -0x1
if-ne v2, v3, :cond_1
invoke-static {v1, v0}, Landroid/hardware/Camera;->getCameraInfo(ILandroid/hardware/Camera$CameraInfo;)V
goto :goto_0
:cond_1
invoke-static {v2, v0}, Landroid/hardware/Camera;->getCameraInfo(ILandroid/hardware/Camera$CameraInfo;)V
:goto_0
invoke-virtual {p0}, Landroid/view/SurfaceView;->getContext()Landroid/content/Context;
move-result-object v2
const-string v3, "window"
invoke-virtual {v2, v3}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/view/WindowManager;
invoke-interface {v2}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;
move-result-object v2
invoke-virtual {v2}, Landroid/view/Display;->getRotation()I
move-result v2
const/4 v3, 0x1
if-eqz v2, :cond_5
if-eq v2, v3, :cond_4
const/4 v4, 0x2
if-eq v2, v4, :cond_3
const/4 v4, 0x3
if-eq v2, v4, :cond_2
goto :goto_1
:cond_2
const/16 v1, 0x10e
goto :goto_1
:cond_3
const/16 v1, 0xb4
goto :goto_1
:cond_4
const/16 v1, 0x5a
:cond_5
:goto_1
iget v2, v0, Landroid/hardware/Camera$CameraInfo;->facing:I
if-ne v2, v3, :cond_6
iget v0, v0, Landroid/hardware/Camera$CameraInfo;->orientation:I
add-int/2addr v0, v1
rem-int/lit16 v0, v0, 0x168
rsub-int v0, v0, 0x168
rem-int/lit16 v0, v0, 0x168
goto :goto_2
:cond_6
iget v0, v0, Landroid/hardware/Camera$CameraInfo;->orientation:I
sub-int/2addr v0, v1
add-int/lit16 v0, v0, 0x168
rem-int/lit16 v0, v0, 0x168
:goto_2
return v0
.end method
.method public setAspectTolerance(F)V
.locals 0
iput p1, p0, Lb0/a/a/a/c;->k:F
return-void
.end method
.method public setAutoFocus(Z)V
.locals 1
iget-object v0, p0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
if-eqz v0, :cond_3
iget-boolean v0, p0, Lb0/a/a/a/c;->f:Z
if-eqz v0, :cond_3
iget-boolean v0, p0, Lb0/a/a/a/c;->g:Z
if-ne p1, v0, :cond_0
return-void
:cond_0
iput-boolean p1, p0, Lb0/a/a/a/c;->g:Z
iget-boolean p1, p0, Lb0/a/a/a/c;->g:Z
const-string v0, "CameraPreview"
if-eqz p1, :cond_2
iget-boolean p1, p0, Lb0/a/a/a/c;->h:Z
if-eqz p1, :cond_1
const-string p1, "Starting autofocus"
invoke-static {v0, p1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
invoke-virtual {p0}, Lb0/a/a/a/c;->a()V
goto :goto_0
:cond_1
invoke-virtual {p0}, Lb0/a/a/a/c;->b()V
goto :goto_0
:cond_2
const-string p1, "Cancelling autofocus"
invoke-static {v0, p1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
iget-object p1, p0, Lb0/a/a/a/c;->d:Lb0/a/a/a/d;
iget-object p1, p1, Lb0/a/a/a/d;->a:Landroid/hardware/Camera;
invoke-virtual {p1}, Landroid/hardware/Camera;->cancelAutoFocus()V
:cond_3
:goto_0
return-void
.end method
.method public setShouldScaleToFill(Z)V
.locals 0
iput-boolean p1, p0, Lb0/a/a/a/c;->i:Z
return-void
.end method
.method public surfaceChanged(Landroid/view/SurfaceHolder;III)V
.locals 0
invoke-interface {p1}, Landroid/view/SurfaceHolder;->getSurface()Landroid/view/Surface;
move-result-object p1
if-nez p1, :cond_0
return-void
:cond_0
invoke-virtual {p0}, Lb0/a/a/a/c;->e()V
invoke-virtual {p0}, Lb0/a/a/a/c;->d()V
return-void
.end method
.method public surfaceCreated(Landroid/view/SurfaceHolder;)V
.locals 0
const/4 p1, 0x1
iput-boolean p1, p0, Lb0/a/a/a/c;->h:Z
return-void
.end method
.method public surfaceDestroyed(Landroid/view/SurfaceHolder;)V
.locals 0
const/4 p1, 0x0
iput-boolean p1, p0, Lb0/a/a/a/c;->h:Z
invoke-virtual {p0}, Lb0/a/a/a/c;->e()V
return-void
.end method

View file

@ -0,0 +1,38 @@
.class public Lb0/a/a/a/d;
.super Ljava/lang/Object;
.source "CameraWrapper.java"
# instance fields
.field public final a:Landroid/hardware/Camera;
.field public final b:I
# direct methods
.method public constructor <init>(Landroid/hardware/Camera;I)V
.locals 0
.param p1 # Landroid/hardware/Camera;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
if-eqz p1, :cond_0
iput-object p1, p0, Lb0/a/a/a/d;->a:Landroid/hardware/Camera;
iput p2, p0, Lb0/a/a/a/d;->b:I
return-void
:cond_0
new-instance p1, Ljava/lang/NullPointerException;
const-string p2, "Camera cannot be null"
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p1
.end method

View file

@ -0,0 +1,47 @@
.class public interface abstract Lb0/a/a/a/e;
.super Ljava/lang/Object;
.source "IViewFinder.java"
# virtual methods
.method public abstract a()V
.end method
.method public abstract getFramingRect()Landroid/graphics/Rect;
.end method
.method public abstract getHeight()I
.end method
.method public abstract getWidth()I
.end method
.method public abstract setBorderAlpha(F)V
.end method
.method public abstract setBorderColor(I)V
.end method
.method public abstract setBorderCornerRadius(I)V
.end method
.method public abstract setBorderCornerRounded(Z)V
.end method
.method public abstract setBorderLineLength(I)V
.end method
.method public abstract setBorderStrokeWidth(I)V
.end method
.method public abstract setLaserColor(I)V
.end method
.method public abstract setLaserEnabled(Z)V
.end method
.method public abstract setMaskColor(I)V
.end method
.method public abstract setSquareViewFinder(Z)V
.end method

View file

@ -0,0 +1,941 @@
.class public Lb0/a/a/a/f;
.super Landroid/view/View;
.source "ViewFinderView.java"
# interfaces
.implements Lb0/a/a/a/e;
# static fields
.field public static final r:[I
# instance fields
.field public d:Landroid/graphics/Rect;
.field public e:I
.field public final f:I
.field public final g:I
.field public final h:I
.field public final i:I
.field public final j:I
.field public k:Landroid/graphics/Paint;
.field public l:Landroid/graphics/Paint;
.field public m:Landroid/graphics/Paint;
.field public n:I
.field public o:Z
.field public p:Z
.field public q:I
# direct methods
.method public static constructor <clinit>()V
.locals 1
const/16 v0, 0x8
new-array v0, v0, [I
fill-array-data v0, :array_0
sput-object v0, Lb0/a/a/a/f;->r:[I
return-void
:array_0
.array-data 4
0x0
0x40
0x80
0xc0
0xff
0xc0
0x80
0x40
.end array-data
.end method
.method public constructor <init>(Landroid/content/Context;)V
.locals 1
invoke-direct {p0, p1}, Landroid/view/View;-><init>(Landroid/content/Context;)V
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
move-result-object p1
sget v0, Lme/dm7/barcodescanner/core/R$a;->viewfinder_laser:I
invoke-virtual {p1, v0}, Landroid/content/res/Resources;->getColor(I)I
move-result p1
iput p1, p0, Lb0/a/a/a/f;->f:I
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
move-result-object p1
sget v0, Lme/dm7/barcodescanner/core/R$a;->viewfinder_mask:I
invoke-virtual {p1, v0}, Landroid/content/res/Resources;->getColor(I)I
move-result p1
iput p1, p0, Lb0/a/a/a/f;->g:I
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
move-result-object p1
sget v0, Lme/dm7/barcodescanner/core/R$a;->viewfinder_border:I
invoke-virtual {p1, v0}, Landroid/content/res/Resources;->getColor(I)I
move-result p1
iput p1, p0, Lb0/a/a/a/f;->h:I
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
move-result-object p1
sget v0, Lme/dm7/barcodescanner/core/R$b;->viewfinder_border_width:I
invoke-virtual {p1, v0}, Landroid/content/res/Resources;->getInteger(I)I
move-result p1
iput p1, p0, Lb0/a/a/a/f;->i:I
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
move-result-object p1
sget v0, Lme/dm7/barcodescanner/core/R$b;->viewfinder_border_length:I
invoke-virtual {p1, v0}, Landroid/content/res/Resources;->getInteger(I)I
move-result p1
iput p1, p0, Lb0/a/a/a/f;->j:I
const/4 p1, 0x0
iput p1, p0, Lb0/a/a/a/f;->q:I
new-instance p1, Landroid/graphics/Paint;
invoke-direct {p1}, Landroid/graphics/Paint;-><init>()V
iput-object p1, p0, Lb0/a/a/a/f;->k:Landroid/graphics/Paint;
iget-object p1, p0, Lb0/a/a/a/f;->k:Landroid/graphics/Paint;
iget v0, p0, Lb0/a/a/a/f;->f:I
invoke-virtual {p1, v0}, Landroid/graphics/Paint;->setColor(I)V
iget-object p1, p0, Lb0/a/a/a/f;->k:Landroid/graphics/Paint;
sget-object v0, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;
invoke-virtual {p1, v0}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V
new-instance p1, Landroid/graphics/Paint;
invoke-direct {p1}, Landroid/graphics/Paint;-><init>()V
iput-object p1, p0, Lb0/a/a/a/f;->l:Landroid/graphics/Paint;
iget-object p1, p0, Lb0/a/a/a/f;->l:Landroid/graphics/Paint;
iget v0, p0, Lb0/a/a/a/f;->g:I
invoke-virtual {p1, v0}, Landroid/graphics/Paint;->setColor(I)V
new-instance p1, Landroid/graphics/Paint;
invoke-direct {p1}, Landroid/graphics/Paint;-><init>()V
iput-object p1, p0, Lb0/a/a/a/f;->m:Landroid/graphics/Paint;
iget-object p1, p0, Lb0/a/a/a/f;->m:Landroid/graphics/Paint;
iget v0, p0, Lb0/a/a/a/f;->h:I
invoke-virtual {p1, v0}, Landroid/graphics/Paint;->setColor(I)V
iget-object p1, p0, Lb0/a/a/a/f;->m:Landroid/graphics/Paint;
sget-object v0, Landroid/graphics/Paint$Style;->STROKE:Landroid/graphics/Paint$Style;
invoke-virtual {p1, v0}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V
iget-object p1, p0, Lb0/a/a/a/f;->m:Landroid/graphics/Paint;
iget v0, p0, Lb0/a/a/a/f;->i:I
int-to-float v0, v0
invoke-virtual {p1, v0}, Landroid/graphics/Paint;->setStrokeWidth(F)V
iget-object p1, p0, Lb0/a/a/a/f;->m:Landroid/graphics/Paint;
const/4 v0, 0x1
invoke-virtual {p1, v0}, Landroid/graphics/Paint;->setAntiAlias(Z)V
iget p1, p0, Lb0/a/a/a/f;->j:I
iput p1, p0, Lb0/a/a/a/f;->n:I
return-void
.end method
# virtual methods
.method public a()V
.locals 0
invoke-virtual {p0}, Lb0/a/a/a/f;->b()V
invoke-virtual {p0}, Landroid/view/View;->invalidate()V
return-void
.end method
.method public a(Landroid/graphics/Canvas;)V
.locals 9
invoke-virtual {p0}, Lb0/a/a/a/f;->getFramingRect()Landroid/graphics/Rect;
move-result-object v0
iget-object v1, p0, Lb0/a/a/a/f;->k:Landroid/graphics/Paint;
sget-object v2, Lb0/a/a/a/f;->r:[I
iget v3, p0, Lb0/a/a/a/f;->e:I
aget v2, v2, v3
invoke-virtual {v1, v2}, Landroid/graphics/Paint;->setAlpha(I)V
iget v1, p0, Lb0/a/a/a/f;->e:I
add-int/lit8 v1, v1, 0x1
sget-object v2, Lb0/a/a/a/f;->r:[I
array-length v2, v2
rem-int/2addr v1, v2
iput v1, p0, Lb0/a/a/a/f;->e:I
invoke-virtual {v0}, Landroid/graphics/Rect;->height()I
move-result v1
div-int/lit8 v1, v1, 0x2
iget v2, v0, Landroid/graphics/Rect;->top:I
add-int/2addr v1, v2
iget v2, v0, Landroid/graphics/Rect;->left:I
add-int/lit8 v2, v2, 0x2
int-to-float v4, v2
add-int/lit8 v2, v1, -0x1
int-to-float v5, v2
iget v2, v0, Landroid/graphics/Rect;->right:I
add-int/lit8 v2, v2, -0x1
int-to-float v6, v2
add-int/lit8 v1, v1, 0x2
int-to-float v7, v1
iget-object v8, p0, Lb0/a/a/a/f;->k:Landroid/graphics/Paint;
move-object v3, p1
invoke-virtual/range {v3 .. v8}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V
iget p1, v0, Landroid/graphics/Rect;->left:I
add-int/lit8 v4, p1, -0xa
iget p1, v0, Landroid/graphics/Rect;->top:I
add-int/lit8 v5, p1, -0xa
iget p1, v0, Landroid/graphics/Rect;->right:I
add-int/lit8 v6, p1, 0xa
iget p1, v0, Landroid/graphics/Rect;->bottom:I
add-int/lit8 v7, p1, 0xa
const-wide/16 v2, 0x50
move-object v1, p0
invoke-virtual/range {v1 .. v7}, Landroid/view/View;->postInvalidateDelayed(JIIII)V
return-void
.end method
.method public declared-synchronized b()V
.locals 8
monitor-enter p0
:try_start_0
new-instance v0, Landroid/graphics/Point;
invoke-virtual {p0}, Landroid/view/View;->getWidth()I
move-result v1
invoke-virtual {p0}, Landroid/view/View;->getHeight()I
move-result v2
invoke-direct {v0, v1, v2}, Landroid/graphics/Point;-><init>(II)V
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object v1
invoke-static {v1}, Lz/a/a2/w;->a(Landroid/content/Context;)I
move-result v1
iget-boolean v2, p0, Lb0/a/a/a/f;->o:Z
const/4 v3, 0x1
const/high16 v4, 0x3f200000 # 0.625f
if-eqz v2, :cond_1
if-eq v1, v3, :cond_0
invoke-virtual {p0}, Landroid/view/View;->getHeight()I
move-result v1
goto :goto_0
:cond_0
invoke-virtual {p0}, Landroid/view/View;->getWidth()I
move-result v1
:goto_0
int-to-float v1, v1
mul-float v1, v1, v4
float-to-int v1, v1
move v2, v1
goto :goto_1
:cond_1
if-eq v1, v3, :cond_2
invoke-virtual {p0}, Landroid/view/View;->getHeight()I
move-result v1
int-to-float v1, v1
mul-float v1, v1, v4
float-to-int v1, v1
const v2, 0x3fb33333 # 1.4f
int-to-float v3, v1
mul-float v3, v3, v2
float-to-int v2, v3
move v7, v2
move v2, v1
move v1, v7
goto :goto_1
:cond_2
invoke-virtual {p0}, Landroid/view/View;->getWidth()I
move-result v1
int-to-float v1, v1
const/high16 v2, 0x3f400000 # 0.75f
mul-float v1, v1, v2
float-to-int v1, v1
int-to-float v3, v1
mul-float v3, v3, v2
float-to-int v2, v3
:goto_1
invoke-virtual {p0}, Landroid/view/View;->getWidth()I
move-result v3
if-le v1, v3, :cond_3
invoke-virtual {p0}, Landroid/view/View;->getWidth()I
move-result v1
add-int/lit8 v1, v1, -0x32
:cond_3
invoke-virtual {p0}, Landroid/view/View;->getHeight()I
move-result v3
if-le v2, v3, :cond_4
invoke-virtual {p0}, Landroid/view/View;->getHeight()I
move-result v2
add-int/lit8 v2, v2, -0x32
:cond_4
iget v3, v0, Landroid/graphics/Point;->x:I
sub-int/2addr v3, v1
div-int/lit8 v3, v3, 0x2
iget v0, v0, Landroid/graphics/Point;->y:I
sub-int/2addr v0, v2
div-int/lit8 v0, v0, 0x2
new-instance v4, Landroid/graphics/Rect;
iget v5, p0, Lb0/a/a/a/f;->q:I
add-int/2addr v5, v3
iget v6, p0, Lb0/a/a/a/f;->q:I
add-int/2addr v6, v0
add-int/2addr v3, v1
iget v1, p0, Lb0/a/a/a/f;->q:I
sub-int/2addr v3, v1
add-int/2addr v0, v2
iget v1, p0, Lb0/a/a/a/f;->q:I
sub-int/2addr v0, v1
invoke-direct {v4, v5, v6, v3, v0}, Landroid/graphics/Rect;-><init>(IIII)V
iput-object v4, p0, Lb0/a/a/a/f;->d:Landroid/graphics/Rect;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-void
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public b(Landroid/graphics/Canvas;)V
.locals 5
invoke-virtual {p0}, Lb0/a/a/a/f;->getFramingRect()Landroid/graphics/Rect;
move-result-object v0
new-instance v1, Landroid/graphics/Path;
invoke-direct {v1}, Landroid/graphics/Path;-><init>()V
iget v2, v0, Landroid/graphics/Rect;->left:I
int-to-float v2, v2
iget v3, v0, Landroid/graphics/Rect;->top:I
iget v4, p0, Lb0/a/a/a/f;->n:I
add-int/2addr v3, v4
int-to-float v3, v3
invoke-virtual {v1, v2, v3}, Landroid/graphics/Path;->moveTo(FF)V
iget v2, v0, Landroid/graphics/Rect;->left:I
int-to-float v2, v2
iget v3, v0, Landroid/graphics/Rect;->top:I
int-to-float v3, v3
invoke-virtual {v1, v2, v3}, Landroid/graphics/Path;->lineTo(FF)V
iget v2, v0, Landroid/graphics/Rect;->left:I
iget v3, p0, Lb0/a/a/a/f;->n:I
add-int/2addr v2, v3
int-to-float v2, v2
iget v3, v0, Landroid/graphics/Rect;->top:I
int-to-float v3, v3
invoke-virtual {v1, v2, v3}, Landroid/graphics/Path;->lineTo(FF)V
iget-object v2, p0, Lb0/a/a/a/f;->m:Landroid/graphics/Paint;
invoke-virtual {p1, v1, v2}, Landroid/graphics/Canvas;->drawPath(Landroid/graphics/Path;Landroid/graphics/Paint;)V
iget v2, v0, Landroid/graphics/Rect;->right:I
int-to-float v2, v2
iget v3, v0, Landroid/graphics/Rect;->top:I
iget v4, p0, Lb0/a/a/a/f;->n:I
add-int/2addr v3, v4
int-to-float v3, v3
invoke-virtual {v1, v2, v3}, Landroid/graphics/Path;->moveTo(FF)V
iget v2, v0, Landroid/graphics/Rect;->right:I
int-to-float v2, v2
iget v3, v0, Landroid/graphics/Rect;->top:I
int-to-float v3, v3
invoke-virtual {v1, v2, v3}, Landroid/graphics/Path;->lineTo(FF)V
iget v2, v0, Landroid/graphics/Rect;->right:I
iget v3, p0, Lb0/a/a/a/f;->n:I
sub-int/2addr v2, v3
int-to-float v2, v2
iget v3, v0, Landroid/graphics/Rect;->top:I
int-to-float v3, v3
invoke-virtual {v1, v2, v3}, Landroid/graphics/Path;->lineTo(FF)V
iget-object v2, p0, Lb0/a/a/a/f;->m:Landroid/graphics/Paint;
invoke-virtual {p1, v1, v2}, Landroid/graphics/Canvas;->drawPath(Landroid/graphics/Path;Landroid/graphics/Paint;)V
iget v2, v0, Landroid/graphics/Rect;->right:I
int-to-float v2, v2
iget v3, v0, Landroid/graphics/Rect;->bottom:I
iget v4, p0, Lb0/a/a/a/f;->n:I
sub-int/2addr v3, v4
int-to-float v3, v3
invoke-virtual {v1, v2, v3}, Landroid/graphics/Path;->moveTo(FF)V
iget v2, v0, Landroid/graphics/Rect;->right:I
int-to-float v2, v2
iget v3, v0, Landroid/graphics/Rect;->bottom:I
int-to-float v3, v3
invoke-virtual {v1, v2, v3}, Landroid/graphics/Path;->lineTo(FF)V
iget v2, v0, Landroid/graphics/Rect;->right:I
iget v3, p0, Lb0/a/a/a/f;->n:I
sub-int/2addr v2, v3
int-to-float v2, v2
iget v3, v0, Landroid/graphics/Rect;->bottom:I
int-to-float v3, v3
invoke-virtual {v1, v2, v3}, Landroid/graphics/Path;->lineTo(FF)V
iget-object v2, p0, Lb0/a/a/a/f;->m:Landroid/graphics/Paint;
invoke-virtual {p1, v1, v2}, Landroid/graphics/Canvas;->drawPath(Landroid/graphics/Path;Landroid/graphics/Paint;)V
iget v2, v0, Landroid/graphics/Rect;->left:I
int-to-float v2, v2
iget v3, v0, Landroid/graphics/Rect;->bottom:I
iget v4, p0, Lb0/a/a/a/f;->n:I
sub-int/2addr v3, v4
int-to-float v3, v3
invoke-virtual {v1, v2, v3}, Landroid/graphics/Path;->moveTo(FF)V
iget v2, v0, Landroid/graphics/Rect;->left:I
int-to-float v2, v2
iget v3, v0, Landroid/graphics/Rect;->bottom:I
int-to-float v3, v3
invoke-virtual {v1, v2, v3}, Landroid/graphics/Path;->lineTo(FF)V
iget v2, v0, Landroid/graphics/Rect;->left:I
iget v3, p0, Lb0/a/a/a/f;->n:I
add-int/2addr v2, v3
int-to-float v2, v2
iget v0, v0, Landroid/graphics/Rect;->bottom:I
int-to-float v0, v0
invoke-virtual {v1, v2, v0}, Landroid/graphics/Path;->lineTo(FF)V
iget-object v0, p0, Lb0/a/a/a/f;->m:Landroid/graphics/Paint;
invoke-virtual {p1, v1, v0}, Landroid/graphics/Canvas;->drawPath(Landroid/graphics/Path;Landroid/graphics/Paint;)V
return-void
.end method
.method public c(Landroid/graphics/Canvas;)V
.locals 10
invoke-virtual {p1}, Landroid/graphics/Canvas;->getWidth()I
move-result v0
invoke-virtual {p1}, Landroid/graphics/Canvas;->getHeight()I
move-result v1
invoke-virtual {p0}, Lb0/a/a/a/f;->getFramingRect()Landroid/graphics/Rect;
move-result-object v2
int-to-float v0, v0
iget v3, v2, Landroid/graphics/Rect;->top:I
int-to-float v7, v3
iget-object v8, p0, Lb0/a/a/a/f;->l:Landroid/graphics/Paint;
const/4 v4, 0x0
const/4 v5, 0x0
move-object v3, p1
move v6, v0
invoke-virtual/range {v3 .. v8}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V
iget v3, v2, Landroid/graphics/Rect;->top:I
int-to-float v6, v3
iget v3, v2, Landroid/graphics/Rect;->left:I
int-to-float v7, v3
iget v3, v2, Landroid/graphics/Rect;->bottom:I
add-int/lit8 v3, v3, 0x1
int-to-float v8, v3
iget-object v9, p0, Lb0/a/a/a/f;->l:Landroid/graphics/Paint;
move-object v4, p1
invoke-virtual/range {v4 .. v9}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V
iget v3, v2, Landroid/graphics/Rect;->right:I
add-int/lit8 v3, v3, 0x1
int-to-float v4, v3
iget v3, v2, Landroid/graphics/Rect;->top:I
int-to-float v5, v3
iget v3, v2, Landroid/graphics/Rect;->bottom:I
add-int/lit8 v3, v3, 0x1
int-to-float v7, v3
iget-object v8, p0, Lb0/a/a/a/f;->l:Landroid/graphics/Paint;
move-object v3, p1
move v6, v0
invoke-virtual/range {v3 .. v8}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V
iget v2, v2, Landroid/graphics/Rect;->bottom:I
add-int/lit8 v2, v2, 0x1
int-to-float v5, v2
int-to-float v7, v1
iget-object v8, p0, Lb0/a/a/a/f;->l:Landroid/graphics/Paint;
const/4 v4, 0x0
invoke-virtual/range {v3 .. v8}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V
return-void
.end method
.method public getFramingRect()Landroid/graphics/Rect;
.locals 1
iget-object v0, p0, Lb0/a/a/a/f;->d:Landroid/graphics/Rect;
return-object v0
.end method
.method public onDraw(Landroid/graphics/Canvas;)V
.locals 1
invoke-virtual {p0}, Lb0/a/a/a/f;->getFramingRect()Landroid/graphics/Rect;
move-result-object v0
if-nez v0, :cond_0
return-void
:cond_0
invoke-virtual {p0, p1}, Lb0/a/a/a/f;->c(Landroid/graphics/Canvas;)V
invoke-virtual {p0, p1}, Lb0/a/a/a/f;->b(Landroid/graphics/Canvas;)V
iget-boolean v0, p0, Lb0/a/a/a/f;->p:Z
if-eqz v0, :cond_1
invoke-virtual {p0, p1}, Lb0/a/a/a/f;->a(Landroid/graphics/Canvas;)V
:cond_1
return-void
.end method
.method public onSizeChanged(IIII)V
.locals 0
invoke-virtual {p0}, Lb0/a/a/a/f;->b()V
return-void
.end method
.method public setBorderAlpha(F)V
.locals 1
const/high16 v0, 0x437f0000 # 255.0f
mul-float p1, p1, v0
float-to-int p1, p1
iget-object v0, p0, Lb0/a/a/a/f;->m:Landroid/graphics/Paint;
invoke-virtual {v0, p1}, Landroid/graphics/Paint;->setAlpha(I)V
return-void
.end method
.method public setBorderColor(I)V
.locals 1
iget-object v0, p0, Lb0/a/a/a/f;->m:Landroid/graphics/Paint;
invoke-virtual {v0, p1}, Landroid/graphics/Paint;->setColor(I)V
return-void
.end method
.method public setBorderCornerRadius(I)V
.locals 2
iget-object v0, p0, Lb0/a/a/a/f;->m:Landroid/graphics/Paint;
new-instance v1, Landroid/graphics/CornerPathEffect;
int-to-float p1, p1
invoke-direct {v1, p1}, Landroid/graphics/CornerPathEffect;-><init>(F)V
invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setPathEffect(Landroid/graphics/PathEffect;)Landroid/graphics/PathEffect;
return-void
.end method
.method public setBorderCornerRounded(Z)V
.locals 1
if-eqz p1, :cond_0
iget-object p1, p0, Lb0/a/a/a/f;->m:Landroid/graphics/Paint;
sget-object v0, Landroid/graphics/Paint$Join;->ROUND:Landroid/graphics/Paint$Join;
invoke-virtual {p1, v0}, Landroid/graphics/Paint;->setStrokeJoin(Landroid/graphics/Paint$Join;)V
goto :goto_0
:cond_0
iget-object p1, p0, Lb0/a/a/a/f;->m:Landroid/graphics/Paint;
sget-object v0, Landroid/graphics/Paint$Join;->BEVEL:Landroid/graphics/Paint$Join;
invoke-virtual {p1, v0}, Landroid/graphics/Paint;->setStrokeJoin(Landroid/graphics/Paint$Join;)V
:goto_0
return-void
.end method
.method public setBorderLineLength(I)V
.locals 0
iput p1, p0, Lb0/a/a/a/f;->n:I
return-void
.end method
.method public setBorderStrokeWidth(I)V
.locals 1
iget-object v0, p0, Lb0/a/a/a/f;->m:Landroid/graphics/Paint;
int-to-float p1, p1
invoke-virtual {v0, p1}, Landroid/graphics/Paint;->setStrokeWidth(F)V
return-void
.end method
.method public setLaserColor(I)V
.locals 1
iget-object v0, p0, Lb0/a/a/a/f;->k:Landroid/graphics/Paint;
invoke-virtual {v0, p1}, Landroid/graphics/Paint;->setColor(I)V
return-void
.end method
.method public setLaserEnabled(Z)V
.locals 0
iput-boolean p1, p0, Lb0/a/a/a/f;->p:Z
return-void
.end method
.method public setMaskColor(I)V
.locals 1
iget-object v0, p0, Lb0/a/a/a/f;->l:Landroid/graphics/Paint;
invoke-virtual {v0, p1}, Landroid/graphics/Paint;->setColor(I)V
return-void
.end method
.method public setSquareViewFinder(Z)V
.locals 0
iput-boolean p1, p0, Lb0/a/a/a/f;->o:Z
return-void
.end method
.method public setViewFinderOffset(I)V
.locals 0
iput p1, p0, Lb0/a/a/a/f;->q:I
return-void
.end method

View file

@ -1,354 +0,0 @@
.class public final Lb0/b$a;
.super Ljava/lang/Object;
.source "AsyncTimeout.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lb0/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()Lb0/b;
.locals 9
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;
}
.end annotation
const-class v0, Lb0/b;
sget-object v1, Lb0/b;->j:Lb0/b;
const/4 v2, 0x0
if-eqz v1, :cond_5
iget-object v1, v1, Lb0/b;->f:Lb0/b;
if-nez v1, :cond_2
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v3
sget-wide v5, Lb0/b;->h:J
invoke-virtual {v0, v5, v6}, Ljava/lang/Object;->wait(J)V
sget-object v0, Lb0/b;->j:Lb0/b;
if-eqz v0, :cond_1
iget-object v0, v0, Lb0/b;->f:Lb0/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, Lb0/b;->i:J
cmp-long v5, v0, v3
if-ltz v5, :cond_0
sget-object v2, Lb0/b;->j:Lb0/b;
:cond_0
return-object v2
:cond_1
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v2
:cond_2
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v3
iget-wide v5, v1, Lb0/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, Lb0/b;->j:Lb0/b;
if-eqz v0, :cond_4
iget-object v3, v1, Lb0/b;->f:Lb0/b;
iput-object v3, v0, Lb0/b;->f:Lb0/b;
iput-object v2, v1, Lb0/b;->f:Lb0/b;
return-object v1
:cond_4
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v2
:cond_5
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v2
.end method
.method public final a(Lb0/b;JZ)V
.locals 8
const-class v0, Lb0/b;
monitor-enter v0
:try_start_0
sget-object v1, Lb0/b;->j:Lb0/b;
if-nez v1, :cond_0
new-instance v1, Lb0/b;
invoke-direct {v1}, Lb0/b;-><init>()V
sput-object v1, Lb0/b;->j:Lb0/b;
new-instance v1, Lb0/b$b;
invoke-direct {v1}, Lb0/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}, Lb0/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, Lb0/b;->g:J
goto :goto_0
:cond_1
if-eqz v5, :cond_2
add-long/2addr p2, v1
iput-wide p2, p1, Lb0/b;->g:J
goto :goto_0
:cond_2
if-eqz p4, :cond_8
invoke-virtual {p1}, Lb0/x;->c()J
move-result-wide p2
iput-wide p2, p1, Lb0/b;->g:J
:goto_0
iget-wide p2, p1, Lb0/b;->g:J
sub-long/2addr p2, v1
sget-object p4, Lb0/b;->j:Lb0/b;
const/4 v3, 0x0
if-eqz p4, :cond_7
:goto_1
iget-object v4, p4, Lb0/b;->f:Lb0/b;
if-eqz v4, :cond_5
iget-object v4, p4, Lb0/b;->f:Lb0/b;
if-eqz v4, :cond_4
iget-wide v5, v4, Lb0/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 {}, Lw/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, Lb0/b;->f:Lb0/b;
iput-object p2, p1, Lb0/b;->f:Lb0/b;
iput-object p1, p4, Lb0/b;->f:Lb0/b;
sget-object p1, Lb0/b;->j:Lb0/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 {}, Lw/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(Lb0/b;)Z
.locals 3
const-class v0, Lb0/b;
monitor-enter v0
:try_start_0
sget-object v1, Lb0/b;->j:Lb0/b;
:goto_0
if-eqz v1, :cond_1
iget-object v2, v1, Lb0/b;->f:Lb0/b;
if-ne v2, p1, :cond_0
iget-object v2, p1, Lb0/b;->f:Lb0/b;
iput-object v2, v1, Lb0/b;->f:Lb0/b;
const/4 v1, 0x0
iput-object v1, p1, Lb0/b;->f:Lb0/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 Lb0/b$b;
.super Ljava/lang/Thread;
.source "AsyncTimeout.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lb0/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, Lb0/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, Lb0/b;->k:Lb0/b$a;
invoke-virtual {v1}, Lb0/b$a;->a()Lb0/b;
move-result-object v1
sget-object v2, Lb0/b;->j:Lb0/b;
if-ne v1, v2, :cond_1
const/4 v1, 0x0
sput-object v1, Lb0/b;->j:Lb0/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}, Lb0/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 Lb0/b;
.super Lb0/x;
.source "AsyncTimeout.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lb0/b$b;,
Lb0/b$a;
}
.end annotation
# static fields
.field public static final h:J
.field public static final i:J
.field public static j:Lb0/b;
.field public static final k:Lb0/b$a;
# instance fields
.field public e:Z
.field public f:Lb0/b;
.field public g:J
# direct methods
.method public static constructor <clinit>()V
.locals 3
new-instance v0, Lb0/b$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lb0/b$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lb0/b;->k:Lb0/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, Lb0/b;->h:J
sget-object v0, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
sget-wide v1, Lb0/b;->h:J
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toNanos(J)J
move-result-wide v0
sput-wide v0, Lb0/b;->i:J
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Lb0/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}, Lb0/b;->h()Z
move-result v0
if-nez v0, :cond_0
goto :goto_0
:cond_0
invoke-virtual {p0, p1}, Lb0/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}, Lw/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}, Lb0/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}, Lb0/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, Lb0/b;->e:Z
const/4 v1, 0x1
xor-int/2addr v0, v1
if-eqz v0, :cond_1
iget-wide v2, p0, Lb0/x;->c:J
iget-boolean v0, p0, Lb0/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, Lb0/b;->e:Z
sget-object v1, Lb0/b;->k:Lb0/b$a;
invoke-virtual {v1, p0, v2, v3, v0}, Lb0/b$a;->a(Lb0/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, Lb0/b;->e:Z
const/4 v1, 0x0
if-nez v0, :cond_0
return v1
:cond_0
iput-boolean v1, p0, Lb0/b;->e:Z
sget-object v0, Lb0/b;->k:Lb0/b$a;
invoke-virtual {v0, p0}, Lb0/b$a;->a(Lb0/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 Lb0/c;
.super Ljava/lang/Object;
.source "AsyncTimeout.kt"
# interfaces
.implements Lb0/u;
# instance fields
.field public final synthetic d:Lb0/b;
.field public final synthetic e:Lb0/u;
# direct methods
.method public constructor <init>(Lb0/b;Lb0/u;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lb0/u;",
")V"
}
.end annotation
iput-object p1, p0, Lb0/c;->d:Lb0/b;
iput-object p2, p0, Lb0/c;->e:Lb0/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, Lb0/c;->d:Lb0/b;
invoke-virtual {v0}, Lb0/b;->g()V
:try_start_0
iget-object v0, p0, Lb0/c;->e:Lb0/u;
invoke-interface {v0}, Lb0/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, Lb0/c;->d:Lb0/b;
invoke-virtual {v1, v0}, Lb0/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, Lb0/c;->d:Lb0/b;
invoke-virtual {v1, v0}, Lb0/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, Lb0/c;->d:Lb0/b;
const/4 v2, 0x0
invoke-virtual {v1, v2}, Lb0/b;->a(Z)V
throw v0
.end method
.method public flush()V
.locals 3
iget-object v0, p0, Lb0/c;->d:Lb0/b;
invoke-virtual {v0}, Lb0/b;->g()V
:try_start_0
iget-object v0, p0, Lb0/c;->e:Lb0/u;
invoke-interface {v0}, Lb0/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, Lb0/c;->d:Lb0/b;
invoke-virtual {v1, v0}, Lb0/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, Lb0/c;->d:Lb0/b;
invoke-virtual {v1, v0}, Lb0/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, Lb0/c;->d:Lb0/b;
const/4 v2, 0x0
invoke-virtual {v1, v2}, Lb0/b;->a(Z)V
throw v0
.end method
.method public timeout()Lb0/x;
.locals 1
iget-object v0, p0, Lb0/c;->d:Lb0/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, Lb0/c;->e:Lb0/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(Lb0/e;J)V
.locals 7
const/4 v0, 0x0
if-eqz p1, :cond_5
iget-wide v1, p1, Lb0/e;->e:J
const-wide/16 v3, 0x0
move-wide v5, p2
invoke-static/range {v1 .. v6}, Lx/a/a2/w;->a(JJJ)V
:goto_0
const-wide/16 v1, 0x0
cmp-long v3, p2, v1
if-lez v3, :cond_4
iget-object v3, p1, Lb0/e;->d:Lb0/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, Lb0/r;->c:I
iget v5, v3, Lb0/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, Lb0/r;->f:Lb0/r;
if-eqz v3, :cond_1
goto :goto_1
:cond_1
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v0
:cond_2
:goto_2
const/4 v3, 0x0
iget-object v4, p0, Lb0/c;->d:Lb0/b;
invoke-virtual {v4}, Lb0/b;->g()V
:try_start_0
iget-object v4, p0, Lb0/c;->e:Lb0/u;
invoke-interface {v4, p1, v1, v2}, Lb0/u;->write(Lb0/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, Lb0/c;->d:Lb0/b;
invoke-virtual {v2, v1}, Lb0/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, Lb0/c;->d:Lb0/b;
invoke-virtual {p2, p1}, Lb0/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, Lb0/c;->d:Lb0/b;
invoke-virtual {p2, v3}, Lb0/b;->a(Z)V
throw p1
:cond_3
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v0
:cond_4
return-void
:cond_5
const-string p1, "source"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method

View file

@ -1,184 +0,0 @@
.class public final Lb0/d;
.super Ljava/lang/Object;
.source "AsyncTimeout.kt"
# interfaces
.implements Lb0/w;
# instance fields
.field public final synthetic d:Lb0/b;
.field public final synthetic e:Lb0/w;
# direct methods
.method public constructor <init>(Lb0/b;Lb0/w;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lb0/w;",
")V"
}
.end annotation
iput-object p1, p0, Lb0/d;->d:Lb0/b;
iput-object p2, p0, Lb0/d;->e:Lb0/w;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public b(Lb0/e;J)J
.locals 2
if-eqz p1, :cond_0
const/4 v0, 0x0
iget-object v1, p0, Lb0/d;->d:Lb0/b;
invoke-virtual {v1}, Lb0/b;->g()V
:try_start_0
iget-object v1, p0, Lb0/d;->e:Lb0/w;
invoke-interface {v1, p1, p2, p3}, Lb0/w;->b(Lb0/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, Lb0/d;->d:Lb0/b;
invoke-virtual {v0, p3}, Lb0/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, Lb0/d;->d:Lb0/b;
invoke-virtual {p2, p1}, Lb0/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, Lb0/d;->d:Lb0/b;
invoke-virtual {p2, v0}, Lb0/b;->a(Z)V
throw p1
:cond_0
const-string p1, "sink"
invoke-static {p1}, Lw/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, Lb0/d;->d:Lb0/b;
invoke-virtual {v0}, Lb0/b;->g()V
:try_start_0
iget-object v0, p0, Lb0/d;->e:Lb0/w;
invoke-interface {v0}, Lb0/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, Lb0/d;->d:Lb0/b;
invoke-virtual {v1, v0}, Lb0/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, Lb0/d;->d:Lb0/b;
invoke-virtual {v1, v0}, Lb0/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, Lb0/d;->d:Lb0/b;
const/4 v2, 0x0
invoke-virtual {v1, v2}, Lb0/b;->a(Z)V
throw v0
.end method
.method public timeout()Lb0/x;
.locals 1
iget-object v0, p0, Lb0/d;->d:Lb0/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, Lb0/d;->e:Lb0/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 Lb0/e$a;
.super Ljava/lang/Object;
.source "Buffer.kt"
# interfaces
.implements Ljava/io/Closeable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lb0/e;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# instance fields
.field public d:Lb0/e;
.field public e:Z
.field public f:Lb0/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, Lb0/e$a;->g:J
const/4 v0, -0x1
iput v0, p0, Lb0/e$a;->i:I
iput v0, p0, Lb0/e$a;->j:I
return-void
.end method
# virtual methods
.method public close()V
.locals 3
iget-object v0, p0, Lb0/e$a;->d:Lb0/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, Lb0/e$a;->d:Lb0/e;
iput-object v0, p0, Lb0/e$a;->f:Lb0/r;
const-wide/16 v1, -0x1
iput-wide v1, p0, Lb0/e$a;->g:J
iput-object v0, p0, Lb0/e$a;->h:[B
const/4 v0, -0x1
iput v0, p0, Lb0/e$a;->i:I
iput v0, p0, Lb0/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, Lb0/e$a;->d:Lb0/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, Lb0/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, Lb0/e;->d:Lb0/r;
iget-object v10, v0, Lb0/e$a;->f:Lb0/r;
if-eqz v10, :cond_3
iget-wide v11, v0, Lb0/e$a;->g:J
iget v13, v0, Lb0/e$a;->i:I
if-eqz v10, :cond_2
iget v14, v10, Lb0/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 {}, Lw/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, Lb0/r;->c:I
iget v5, v10, Lb0/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, Lb0/r;->f:Lb0/r;
goto :goto_1
:cond_4
invoke-static {}, Lw/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, Lb0/r;->g:Lb0/r;
if-eqz v10, :cond_6
iget v4, v10, Lb0/r;->c:I
iget v5, v10, Lb0/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 {}, Lw/u/b/j;->throwNpe()V
throw v9
:cond_7
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v9
:cond_8
iget-boolean v4, v0, Lb0/e$a;->e:Z
if-eqz v4, :cond_c
if-eqz v10, :cond_b
iget-boolean v4, v10, Lb0/r;->d:Z
if-eqz v4, :cond_c
new-instance v4, Lb0/r;
iget-object v5, v10, Lb0/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}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget v13, v10, Lb0/r;->b:I
iget v14, v10, Lb0/r;->c:I
const/4 v15, 0x0
const/16 v16, 0x1
move-object v11, v4
invoke-direct/range {v11 .. v16}, Lb0/r;-><init>([BIIZZ)V
iget-object v5, v3, Lb0/e;->d:Lb0/r;
if-ne v5, v10, :cond_9
iput-object v4, v3, Lb0/e;->d:Lb0/r;
:cond_9
invoke-virtual {v10, v4}, Lb0/r;->a(Lb0/r;)Lb0/r;
iget-object v3, v4, Lb0/r;->g:Lb0/r;
if-eqz v3, :cond_a
invoke-virtual {v3}, Lb0/r;->a()Lb0/r;
goto :goto_3
:cond_a
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v9
:cond_b
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v9
:cond_c
move-object v4, v10
:goto_3
iput-object v4, v0, Lb0/e$a;->f:Lb0/r;
iput-wide v1, v0, Lb0/e$a;->g:J
if-eqz v4, :cond_d
iget-object v3, v4, Lb0/r;->a:[B
iput-object v3, v0, Lb0/e$a;->h:[B
iget v3, v4, Lb0/r;->b:I
sub-long/2addr v1, v7
long-to-int v2, v1
add-int/2addr v3, v2
iput v3, v0, Lb0/e$a;->i:I
iget v1, v4, Lb0/r;->c:I
iput v1, v0, Lb0/e$a;->j:I
iget v1, v0, Lb0/e$a;->j:I
iget v2, v0, Lb0/e$a;->i:I
sub-int/2addr v1, v2
return v1
:cond_d
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v9
:cond_e
:goto_4
iput-object v9, v0, Lb0/e$a;->f:Lb0/r;
iput-wide v1, v0, Lb0/e$a;->g:J
iput-object v9, v0, Lb0/e$a;->h:[B
iput v4, v0, Lb0/e$a;->i:I
iput v4, v0, Lb0/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, Lb0/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}, Lw/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 Lb0/e$b;
.super Ljava/io/InputStream;
.source "Buffer.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lb0/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:Lb0/e;
# direct methods
.method public constructor <init>(Lb0/e;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lb0/e$b;->d:Lb0/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, Lb0/e$b;->d:Lb0/e;
iget-wide v0, v0, Lb0/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, Lb0/e$b;->d:Lb0/e;
iget-wide v1, v0, Lb0/e;->e:J
const-wide/16 v3, 0x0
cmp-long v5, v1, v3
if-lez v5, :cond_0
invoke-virtual {v0}, Lb0/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, Lb0/e$b;->d:Lb0/e;
invoke-virtual {v0, p1, p2, p3}, Lb0/e;->a([BII)I
move-result p1
return p1
:cond_0
const-string p1, "sink"
invoke-static {p1}, Lw/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, Lb0/e$b;->d:Lb0/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 Lb0/f;
.super Ljava/io/OutputStream;
.source "Buffer.kt"
# instance fields
.field public final synthetic d:Lb0/e;
# direct methods
.method public constructor <init>(Lb0/e;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lb0/f;->d:Lb0/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, Lb0/f;->d:Lb0/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, Lb0/f;->d:Lb0/e;
invoke-virtual {v0, p1}, Lb0/e;->writeByte(I)Lb0/e;
return-void
.end method
.method public write([BII)V
.locals 1
if-eqz p1, :cond_0
iget-object v0, p0, Lb0/f;->d:Lb0/e;
invoke-virtual {v0, p1, p2, p3}, Lb0/e;->write([BII)Lb0/e;
return-void
:cond_0
const-string p1, "data"
invoke-static {p1}, Lw/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 Lb0/g;
.super Ljava/lang/Object;
.source "BufferedSource.kt"
# interfaces
.implements Lb0/w;
.implements Ljava/nio/channels/ReadableByteChannel;
# virtual methods
.method public abstract a(Lb0/n;)I
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract a(Lb0/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(Lb0/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()Lb0/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 Lb0/h;
.super Ljava/lang/Object;
.source "ForwardingSink.kt"
# interfaces
.implements Lb0/u;
# instance fields
.field public final delegate:Lb0/u;
# direct methods
.method public constructor <init>(Lb0/u;)V
.locals 0
if-eqz p1, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lb0/h;->delegate:Lb0/u;
return-void
:cond_0
const-string p1, "delegate"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public final -deprecated_delegate()Lb0/u;
.locals 1
iget-object v0, p0, Lb0/h;->delegate:Lb0/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, Lb0/h;->delegate:Lb0/u;
invoke-interface {v0}, Lb0/u;->close()V
return-void
.end method
.method public final delegate()Lb0/u;
.locals 1
iget-object v0, p0, Lb0/h;->delegate:Lb0/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, Lb0/h;->delegate:Lb0/u;
invoke-interface {v0}, Lb0/u;->flush()V
return-void
.end method
.method public timeout()Lb0/x;
.locals 1
iget-object v0, p0, Lb0/h;->delegate:Lb0/u;
invoke-interface {v0}, Lb0/u;->timeout()Lb0/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, Lb0/h;->delegate:Lb0/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(Lb0/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, Lb0/h;->delegate:Lb0/u;
invoke-interface {v0, p1, p2, p3}, Lb0/u;->write(Lb0/e;J)V
return-void
:cond_0
const-string p1, "source"
invoke-static {p1}, Lw/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 Lb0/i;
.super Ljava/lang/Object;
.source "ForwardingSource.kt"
# interfaces
.implements Lb0/w;
# instance fields
.field public final d:Lb0/w;
# direct methods
.method public constructor <init>(Lb0/w;)V
.locals 0
if-eqz p1, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lb0/i;->d:Lb0/w;
return-void
:cond_0
const-string p1, "delegate"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public b(Lb0/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, Lb0/i;->d:Lb0/w;
invoke-interface {v0, p1, p2, p3}, Lb0/w;->b(Lb0/e;J)J
move-result-wide p1
return-wide p1
:cond_0
const-string p1, "sink"
invoke-static {p1}, Lw/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, Lb0/i;->d:Lb0/w;
invoke-interface {v0}, Lb0/w;->close()V
return-void
.end method
.method public timeout()Lb0/x;
.locals 1
iget-object v0, p0, Lb0/i;->d:Lb0/w;
invoke-interface {v0}, Lb0/w;->timeout()Lb0/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, Lb0/i;->d:Lb0/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 Lb0/j;
.super Lb0/x;
.source "ForwardingTimeout.kt"
# instance fields
.field public e:Lb0/x;
# direct methods
.method public constructor <init>(Lb0/x;)V
.locals 0
if-eqz p1, :cond_0
invoke-direct {p0}, Lb0/x;-><init>()V
iput-object p1, p0, Lb0/j;->e:Lb0/x;
return-void
:cond_0
const-string p1, "delegate"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public a()Lb0/x;
.locals 1
iget-object v0, p0, Lb0/j;->e:Lb0/x;
invoke-virtual {v0}, Lb0/x;->a()Lb0/x;
move-result-object v0
return-object v0
.end method
.method public a(J)Lb0/x;
.locals 1
iget-object v0, p0, Lb0/j;->e:Lb0/x;
invoke-virtual {v0, p1, p2}, Lb0/x;->a(J)Lb0/x;
move-result-object p1
return-object p1
.end method
.method public a(JLjava/util/concurrent/TimeUnit;)Lb0/x;
.locals 1
if-eqz p3, :cond_0
iget-object v0, p0, Lb0/j;->e:Lb0/x;
invoke-virtual {v0, p1, p2, p3}, Lb0/x;->a(JLjava/util/concurrent/TimeUnit;)Lb0/x;
move-result-object p1
return-object p1
:cond_0
const-string p1, "unit"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public b()Lb0/x;
.locals 1
iget-object v0, p0, Lb0/j;->e:Lb0/x;
invoke-virtual {v0}, Lb0/x;->b()Lb0/x;
move-result-object v0
return-object v0
.end method
.method public c()J
.locals 2
iget-object v0, p0, Lb0/j;->e:Lb0/x;
invoke-virtual {v0}, Lb0/x;->c()J
move-result-wide v0
return-wide v0
.end method
.method public d()Z
.locals 1
iget-object v0, p0, Lb0/j;->e:Lb0/x;
invoke-virtual {v0}, Lb0/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, Lb0/j;->e:Lb0/x;
invoke-virtual {v0}, Lb0/x;->e()V
return-void
.end method
.method public f()J
.locals 2
iget-object v0, p0, Lb0/j;->e:Lb0/x;
invoke-virtual {v0}, Lb0/x;->f()J
move-result-wide v0
return-wide v0
.end method

View file

@ -1,724 +0,0 @@
.class public final Lb0/k;
.super Ljava/lang/Object;
.source "GzipSource.kt"
# interfaces
.implements Lb0/w;
# instance fields
.field public d:B
.field public final e:Lb0/q;
.field public final f:Ljava/util/zip/Inflater;
.field public final g:Lb0/l;
.field public final h:Ljava/util/zip/CRC32;
# direct methods
.method public constructor <init>(Lb0/w;)V
.locals 2
if-eqz p1, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Lb0/q;
invoke-direct {v0, p1}, Lb0/q;-><init>(Lb0/w;)V
iput-object v0, p0, Lb0/k;->e:Lb0/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, Lb0/k;->f:Ljava/util/zip/Inflater;
new-instance p1, Lb0/l;
iget-object v0, p0, Lb0/k;->e:Lb0/q;
iget-object v1, p0, Lb0/k;->f:Ljava/util/zip/Inflater;
invoke-direct {p1, v0, v1}, Lb0/l;-><init>(Lb0/g;Ljava/util/zip/Inflater;)V
iput-object p1, p0, Lb0/k;->g:Lb0/l;
new-instance p1, Ljava/util/zip/CRC32;
invoke-direct {p1}, Ljava/util/zip/CRC32;-><init>()V
iput-object p1, p0, Lb0/k;->h:Ljava/util/zip/CRC32;
return-void
:cond_0
const-string p1, "source"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public final a(Lb0/e;JJ)V
.locals 6
iget-object p1, p1, Lb0/e;->d:Lb0/r;
const/4 v0, 0x0
if-eqz p1, :cond_4
:goto_0
iget v1, p1, Lb0/r;->c:I
iget v2, p1, Lb0/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, Lb0/r;->f:Lb0/r;
if-eqz p1, :cond_0
goto :goto_0
:cond_0
invoke-static {}, Lw/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, Lb0/r;->b:I
int-to-long v3, v3
add-long/2addr v3, p2
long-to-int p2, v3
iget p3, p1, Lb0/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, Lb0/k;->h:Ljava/util/zip/CRC32;
iget-object v4, p1, Lb0/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, Lb0/r;->f:Lb0/r;
if-eqz p1, :cond_2
move-wide p2, v1
goto :goto_1
:cond_2
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v0
:cond_3
return-void
:cond_4
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v0
.end method
.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}, Lw/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 b(Lb0/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, Lb0/k;->d:B
const-wide/16 v12, -0x1
if-nez v0, :cond_11
iget-object v0, v6, Lb0/k;->e:Lb0/q;
const-wide/16 v1, 0xa
invoke-virtual {v0, v1, v2}, Lb0/q;->g(J)V
iget-object v0, v6, Lb0/k;->e:Lb0/q;
iget-object v0, v0, Lb0/q;->d:Lb0/e;
const-wide/16 v1, 0x3
invoke-virtual {v0, v1, v2}, Lb0/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, Lb0/k;->e:Lb0/q;
iget-object v1, v0, Lb0/q;->d:Lb0/e;
const-wide/16 v2, 0x0
const-wide/16 v4, 0xa
move-object/from16 v0, p0
invoke-virtual/range {v0 .. v5}, Lb0/k;->a(Lb0/e;JJ)V
:cond_3
iget-object v0, v6, Lb0/k;->e:Lb0/q;
invoke-virtual {v0}, Lb0/q;->readShort()S
move-result v0
const/16 v1, 0x1f8b
const-string v2, "ID1ID2"
invoke-virtual {v6, v2, v1, v0}, Lb0/k;->a(Ljava/lang/String;II)V
iget-object v0, v6, Lb0/k;->e:Lb0/q;
const-wide/16 v1, 0x8
invoke-virtual {v0, v1, v2}, Lb0/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, Lb0/k;->e:Lb0/q;
invoke-virtual {v0, v1, v2}, Lb0/q;->g(J)V
if-eqz v15, :cond_5
iget-object v0, v6, Lb0/k;->e:Lb0/q;
iget-object v1, v0, Lb0/q;->d:Lb0/e;
const-wide/16 v2, 0x0
const-wide/16 v4, 0x2
move-object/from16 v0, p0
invoke-virtual/range {v0 .. v5}, Lb0/k;->a(Lb0/e;JJ)V
:cond_5
iget-object v0, v6, Lb0/k;->e:Lb0/q;
iget-object v0, v0, Lb0/q;->d:Lb0/e;
invoke-virtual {v0}, Lb0/e;->c()S
move-result v0
int-to-long v4, v0
iget-object v0, v6, Lb0/k;->e:Lb0/q;
invoke-virtual {v0, v4, v5}, Lb0/q;->g(J)V
if-eqz v15, :cond_6
iget-object v0, v6, Lb0/k;->e:Lb0/q;
iget-object v1, v0, Lb0/q;->d:Lb0/e;
const-wide/16 v2, 0x0
move-object/from16 v0, p0
move-wide/from16 v16, v4
invoke-virtual/range {v0 .. v5}, Lb0/k;->a(Lb0/e;JJ)V
goto :goto_3
:cond_6
move-wide/from16 v16, v4
:goto_3
iget-object v0, v6, Lb0/k;->e:Lb0/q;
move-wide/from16 v1, v16
invoke-virtual {v0, v1, v2}, Lb0/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, Lb0/k;->e:Lb0/q;
invoke-virtual {v0, v10}, Lb0/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, Lb0/k;->e:Lb0/q;
iget-object v1, v0, Lb0/q;->d:Lb0/e;
const-wide/16 v2, 0x0
add-long v4, v18, v16
move-object/from16 v0, p0
invoke-virtual/range {v0 .. v5}, Lb0/k;->a(Lb0/e;JJ)V
:cond_9
iget-object v0, v6, Lb0/k;->e:Lb0/q;
add-long v1, v18, v16
invoke-virtual {v0, v1, v2}, Lb0/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, Lb0/k;->e:Lb0/q;
invoke-virtual {v0, v10}, Lb0/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, Lb0/k;->e:Lb0/q;
iget-object v1, v0, Lb0/q;->d:Lb0/e;
const-wide/16 v2, 0x0
add-long v4, v18, v16
move-object/from16 v0, p0
invoke-virtual/range {v0 .. v5}, Lb0/k;->a(Lb0/e;JJ)V
:cond_d
iget-object v0, v6, Lb0/k;->e:Lb0/q;
add-long v1, v18, v16
invoke-virtual {v0, v1, v2}, Lb0/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, Lb0/k;->e:Lb0/q;
const-wide/16 v1, 0x2
invoke-virtual {v0, v1, v2}, Lb0/q;->g(J)V
iget-object v0, v0, Lb0/q;->d:Lb0/e;
invoke-virtual {v0}, Lb0/e;->c()S
move-result v0
iget-object v1, v6, Lb0/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}, Lb0/k;->a(Ljava/lang/String;II)V
iget-object v0, v6, Lb0/k;->h:Ljava/util/zip/CRC32;
invoke-virtual {v0}, Ljava/util/zip/CRC32;->reset()V
:cond_10
iput-byte v11, v6, Lb0/k;->d:B
:cond_11
iget-byte v0, v6, Lb0/k;->d:B
const/4 v1, 0x2
if-ne v0, v11, :cond_13
iget-wide v2, v7, Lb0/e;->e:J
iget-object v0, v6, Lb0/k;->g:Lb0/l;
invoke-virtual {v0, v7, v8, v9}, Lb0/l;->b(Lb0/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}, Lb0/k;->a(Lb0/e;JJ)V
return-wide v8
:cond_12
iput-byte v1, v6, Lb0/k;->d:B
:cond_13
iget-byte v0, v6, Lb0/k;->d:B
if-ne v0, v1, :cond_15
iget-object v0, v6, Lb0/k;->e:Lb0/q;
invoke-virtual {v0}, Lb0/q;->a()I
move-result v0
iget-object v1, v6, Lb0/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}, Lb0/k;->a(Ljava/lang/String;II)V
iget-object v0, v6, Lb0/k;->e:Lb0/q;
invoke-virtual {v0}, Lb0/q;->a()I
move-result v0
iget-object v1, v6, Lb0/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}, Lb0/k;->a(Ljava/lang/String;II)V
const/4 v0, 0x3
iput-byte v0, v6, Lb0/k;->d:B
iget-object v0, v6, Lb0/k;->e:Lb0/q;
invoke-virtual {v0}, Lb0/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}, Lw/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, Lb0/k;->g:Lb0/l;
invoke-virtual {v0}, Lb0/l;->close()V
return-void
.end method
.method public timeout()Lb0/x;
.locals 1
iget-object v0, p0, Lb0/k;->e:Lb0/q;
invoke-virtual {v0}, Lb0/q;->timeout()Lb0/x;
move-result-object v0
return-object v0
.end method

View file

@ -1,411 +0,0 @@
.class public final Lb0/l;
.super Ljava/lang/Object;
.source "InflaterSource.kt"
# interfaces
.implements Lb0/w;
# instance fields
.field public d:I
.field public e:Z
.field public final f:Lb0/g;
.field public final g:Ljava/util/zip/Inflater;
# direct methods
.method public constructor <init>(Lb0/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, Lb0/l;->f:Lb0/g;
iput-object p2, p0, Lb0/l;->g:Ljava/util/zip/Inflater;
return-void
:cond_0
const-string p1, "inflater"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "source"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public final a()V
.locals 4
iget v0, p0, Lb0/l;->d:I
if-nez v0, :cond_0
return-void
:cond_0
iget-object v1, p0, Lb0/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, Lb0/l;->d:I
sub-int/2addr v1, v0
iput v1, p0, Lb0/l;->d:I
iget-object v1, p0, Lb0/l;->f:Lb0/g;
int-to-long v2, v0
invoke-interface {v1, v2, v3}, Lb0/g;->skip(J)V
return-void
.end method
.method public b(Lb0/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, Lb0/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, Lb0/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}, Lb0/l;->a()V
iget-object v1, p0, Lb0/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, Lb0/l;->f:Lb0/g;
invoke-interface {v1}, Lb0/g;->q()Z
move-result v1
if-eqz v1, :cond_4
const/4 v1, 0x1
goto :goto_4
:cond_4
iget-object v1, p0, Lb0/l;->f:Lb0/g;
invoke-interface {v1}, Lb0/g;->n()Lb0/e;
move-result-object v1
iget-object v1, v1, Lb0/e;->d:Lb0/r;
if-eqz v1, :cond_a
iget v2, v1, Lb0/r;->c:I
iget v4, v1, Lb0/r;->b:I
sub-int/2addr v2, v4
iput v2, p0, Lb0/l;->d:I
iget-object v2, p0, Lb0/l;->g:Ljava/util/zip/Inflater;
iget-object v1, v1, Lb0/r;->a:[B
iget v5, p0, Lb0/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}, Lb0/e;->a(I)Lb0/r;
move-result-object v2
iget v4, v2, Lb0/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, Lb0/l;->g:Ljava/util/zip/Inflater;
iget-object v6, v2, Lb0/r;->a:[B
iget v7, v2, Lb0/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, Lb0/r;->c:I
add-int/2addr p2, v4
iput p2, v2, Lb0/r;->c:I
iget-wide p2, p1, Lb0/e;->e:J
int-to-long v0, v4
add-long/2addr p2, v0
iput-wide p2, p1, Lb0/e;->e:J
return-wide v0
:cond_5
iget-object v4, p0, Lb0/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, Lb0/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}, Lb0/l;->a()V
iget p2, v2, Lb0/r;->b:I
iget p3, v2, Lb0/r;->c:I
if-ne p2, p3, :cond_9
invoke-virtual {v2}, Lb0/r;->a()Lb0/r;
move-result-object p2
iput-object p2, p1, Lb0/e;->d:Lb0/r;
invoke-static {v2}, Lb0/s;->a(Lb0/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 {}, Lw/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}, Lw/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, Lb0/l;->e:Z
if-eqz v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lb0/l;->g:Ljava/util/zip/Inflater;
invoke-virtual {v0}, Ljava/util/zip/Inflater;->end()V
const/4 v0, 0x1
iput-boolean v0, p0, Lb0/l;->e:Z
iget-object v0, p0, Lb0/l;->f:Lb0/g;
invoke-interface {v0}, Lb0/w;->close()V
return-void
.end method
.method public timeout()Lb0/x;
.locals 1
iget-object v0, p0, Lb0/l;->f:Lb0/g;
invoke-interface {v0}, Lb0/w;->timeout()Lb0/x;
move-result-object v0
return-object v0
.end method

View file

@ -1,221 +0,0 @@
.class public final Lb0/m;
.super Ljava/lang/Object;
.source "Okio.kt"
# interfaces
.implements Lb0/w;
# instance fields
.field public final d:Ljava/io/InputStream;
.field public final e:Lb0/x;
# direct methods
.method public constructor <init>(Ljava/io/InputStream;Lb0/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, Lb0/m;->d:Ljava/io/InputStream;
iput-object p2, p0, Lb0/m;->e:Lb0/x;
return-void
:cond_0
const-string p1, "timeout"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "input"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public b(Lb0/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, Lb0/m;->e:Lb0/x;
invoke-virtual {v1}, Lb0/x;->e()V
invoke-virtual {p1, v0}, Lb0/e;->a(I)Lb0/r;
move-result-object v0
iget v1, v0, Lb0/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, Lb0/m;->d:Ljava/io/InputStream;
iget-object v1, v0, Lb0/r;->a:[B
iget v2, v0, Lb0/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, Lb0/r;->c:I
add-int/2addr p3, p2
iput p3, v0, Lb0/r;->c:I
iget-wide v0, p1, Lb0/e;->e:J
int-to-long p2, p2
add-long/2addr v0, p2
iput-wide v0, p1, Lb0/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}, Lx/a/a2/w;->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}, Lw/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, Lb0/m;->d:Ljava/io/InputStream;
invoke-virtual {v0}, Ljava/io/InputStream;->close()V
return-void
.end method
.method public timeout()Lb0/x;
.locals 1
iget-object v0, p0, Lb0/m;->e:Lb0/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, Lb0/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 Lb0/n;
.super Ljava/util/AbstractList;
.source "Options.kt"
# interfaces
.implements Ljava/util/RandomAccess;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lb0/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:Lb0/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, Lb0/n$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lb0/n$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lb0/n;->f:Lb0/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, Lb0/n;->d:[Lokio/ByteString;
iput-object p2, p0, Lb0/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, Lb0/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, Lb0/n;->d:[Lokio/ByteString;
array-length v0, v0
return v0
.end method

View file

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

View file

@ -1,799 +0,0 @@
.class public final Lb0/p;
.super Ljava/lang/Object;
.source "RealBufferedSink.kt"
# interfaces
.implements Lokio/BufferedSink;
# instance fields
.field public final d:Lb0/e;
.field public e:Z
.field public final f:Lb0/u;
# direct methods
.method public constructor <init>(Lb0/u;)V
.locals 0
if-eqz p1, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lb0/p;->f:Lb0/u;
new-instance p1, Lb0/e;
invoke-direct {p1}, Lb0/e;-><init>()V
iput-object p1, p0, Lb0/p;->d:Lb0/e;
return-void
:cond_0
const-string p1, "sink"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public a(Lb0/w;)J
.locals 7
if-eqz p1, :cond_1
const-wide/16 v0, 0x0
:goto_0
iget-object v2, p0, Lb0/p;->d:Lb0/e;
const/16 v3, 0x2000
int-to-long v3, v3
invoke-interface {p1, v2, v3, v4}, Lb0/w;->b(Lb0/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}, Lb0/p;->a()Lokio/BufferedSink;
goto :goto_0
:cond_1
const-string p1, "source"
invoke-static {p1}, Lw/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, Lb0/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_1
iget-object v0, p0, Lb0/p;->d:Lb0/e;
invoke-virtual {v0}, Lb0/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, Lb0/p;->f:Lb0/u;
iget-object v3, p0, Lb0/p;->d:Lb0/e;
invoke-interface {v2, v3, v0, v1}, Lb0/u;->write(Lb0/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, Lb0/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lb0/p;->d:Lb0/e;
invoke-virtual {v0, p1}, Lb0/e;->a(Ljava/lang/String;)Lb0/e;
invoke-virtual {p0}, Lb0/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}, Lw/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, Lb0/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lb0/p;->d:Lb0/e;
invoke-virtual {v0, p1, p2, p3}, Lb0/e;->a(Ljava/lang/String;II)Lb0/e;
invoke-virtual {p0}, Lb0/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}, Lw/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, Lb0/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lb0/p;->d:Lb0/e;
invoke-virtual {v0, p1}, Lb0/e;->a(Lokio/ByteString;)Lb0/e;
invoke-virtual {p0}, Lb0/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}, Lw/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, Lb0/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lb0/p;->d:Lb0/e;
invoke-virtual {v0, p1, p2}, Lb0/e;->b(J)Lb0/e;
invoke-virtual {p0}, Lb0/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, Lb0/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lb0/p;->d:Lb0/e;
invoke-virtual {v0, p1, p2}, Lb0/e;->c(J)Lb0/e;
invoke-virtual {p0}, Lb0/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, Lb0/p;->e:Z
if-eqz v0, :cond_0
return-void
:cond_0
const/4 v0, 0x0
:try_start_0
iget-object v1, p0, Lb0/p;->d:Lb0/e;
iget-wide v1, v1, Lb0/e;->e:J
const-wide/16 v3, 0x0
cmp-long v5, v1, v3
if-lez v5, :cond_1
iget-object v1, p0, Lb0/p;->f:Lb0/u;
iget-object v2, p0, Lb0/p;->d:Lb0/e;
iget-object v3, p0, Lb0/p;->d:Lb0/e;
iget-wide v3, v3, Lb0/e;->e:J
invoke-interface {v1, v2, v3, v4}, Lb0/u;->write(Lb0/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, Lb0/p;->f:Lb0/u;
invoke-interface {v1}, Lb0/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, Lb0/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, Lb0/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_1
iget-object v0, p0, Lb0/p;->d:Lb0/e;
iget-wide v1, v0, Lb0/e;->e:J
const-wide/16 v3, 0x0
cmp-long v5, v1, v3
if-lez v5, :cond_0
iget-object v3, p0, Lb0/p;->f:Lb0/u;
invoke-interface {v3, v0, v1, v2}, Lb0/u;->write(Lb0/e;J)V
:cond_0
iget-object v0, p0, Lb0/p;->f:Lb0/u;
invoke-interface {v0}, Lb0/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, Lb0/p;->e:Z
xor-int/lit8 v0, v0, 0x1
return v0
.end method
.method public n()Lb0/e;
.locals 1
iget-object v0, p0, Lb0/p;->d:Lb0/e;
return-object v0
.end method
.method public o()Lokio/BufferedSink;
.locals 6
iget-boolean v0, p0, Lb0/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_1
iget-object v0, p0, Lb0/p;->d:Lb0/e;
iget-wide v1, v0, Lb0/e;->e:J
const-wide/16 v3, 0x0
cmp-long v5, v1, v3
if-lez v5, :cond_0
iget-object v3, p0, Lb0/p;->f:Lb0/u;
invoke-interface {v3, v0, v1, v2}, Lb0/u;->write(Lb0/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()Lb0/x;
.locals 1
iget-object v0, p0, Lb0/p;->f:Lb0/u;
invoke-interface {v0}, Lb0/u;->timeout()Lb0/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, Lb0/p;->f:Lb0/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, Lb0/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lb0/p;->d:Lb0/e;
invoke-virtual {v0, p1}, Lb0/e;->write(Ljava/nio/ByteBuffer;)I
move-result p1
invoke-virtual {p0}, Lb0/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}, Lw/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, Lb0/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lb0/p;->d:Lb0/e;
invoke-virtual {v0, p1}, Lb0/e;->write([B)Lb0/e;
invoke-virtual {p0}, Lb0/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}, Lw/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, Lb0/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lb0/p;->d:Lb0/e;
invoke-virtual {v0, p1, p2, p3}, Lb0/e;->write([BII)Lb0/e;
invoke-virtual {p0}, Lb0/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}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public write(Lb0/e;J)V
.locals 1
if-eqz p1, :cond_1
iget-boolean v0, p0, Lb0/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lb0/p;->d:Lb0/e;
invoke-virtual {v0, p1, p2, p3}, Lb0/e;->write(Lb0/e;J)V
invoke-virtual {p0}, Lb0/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}, Lw/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, Lb0/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lb0/p;->d:Lb0/e;
invoke-virtual {v0, p1}, Lb0/e;->writeByte(I)Lb0/e;
invoke-virtual {p0}, Lb0/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, Lb0/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lb0/p;->d:Lb0/e;
invoke-virtual {v0, p1}, Lb0/e;->writeInt(I)Lb0/e;
invoke-virtual {p0}, Lb0/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, Lb0/p;->e:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
iget-object v0, p0, Lb0/p;->d:Lb0/e;
invoke-virtual {v0, p1}, Lb0/e;->writeShort(I)Lb0/e;
invoke-virtual {p0}, Lb0/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 Lb0/q$a;
.super Ljava/io/InputStream;
.source "RealBufferedSource.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lb0/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:Lb0/q;
# direct methods
.method public constructor <init>(Lb0/q;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lb0/q$a;->d:Lb0/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, Lb0/q$a;->d:Lb0/q;
iget-boolean v1, v0, Lb0/q;->e:Z
if-nez v1, :cond_0
iget-object v0, v0, Lb0/q;->d:Lb0/e;
iget-wide v0, v0, Lb0/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, Lb0/q$a;->d:Lb0/q;
invoke-virtual {v0}, Lb0/q;->close()V
return-void
.end method
.method public read()I
.locals 7
iget-object v0, p0, Lb0/q$a;->d:Lb0/q;
iget-boolean v1, v0, Lb0/q;->e:Z
if-nez v1, :cond_1
iget-object v1, v0, Lb0/q;->d:Lb0/e;
iget-wide v2, v1, Lb0/e;->e:J
const-wide/16 v4, 0x0
cmp-long v6, v2, v4
if-nez v6, :cond_0
iget-object v0, v0, Lb0/q;->f:Lb0/w;
const/16 v2, 0x2000
int-to-long v2, v2
invoke-interface {v0, v1, v2, v3}, Lb0/w;->b(Lb0/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, Lb0/q$a;->d:Lb0/q;
iget-object v0, v0, Lb0/q;->d:Lb0/e;
invoke-virtual {v0}, Lb0/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, Lb0/q$a;->d:Lb0/q;
iget-boolean v0, v0, Lb0/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}, Lx/a/a2/w;->a(JJJ)V
iget-object v0, p0, Lb0/q$a;->d:Lb0/q;
iget-object v1, v0, Lb0/q;->d:Lb0/e;
iget-wide v2, v1, Lb0/e;->e:J
const-wide/16 v4, 0x0
cmp-long v6, v2, v4
if-nez v6, :cond_0
iget-object v0, v0, Lb0/q;->f:Lb0/w;
const/16 v2, 0x2000
int-to-long v2, v2
invoke-interface {v0, v1, v2, v3}, Lb0/w;->b(Lb0/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, Lb0/q$a;->d:Lb0/q;
iget-object v0, v0, Lb0/q;->d:Lb0/e;
invoke-virtual {v0, p1, p2, p3}, Lb0/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}, Lw/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, Lb0/q$a;->d:Lb0/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 Lb0/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:Lb0/r;
.field public g:Lb0/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, Lb0/r;->a:[B
const/4 v0, 0x1
iput-boolean v0, p0, Lb0/r;->e:Z
const/4 v0, 0x0
iput-boolean v0, p0, Lb0/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, Lb0/r;->a:[B
iput p2, p0, Lb0/r;->b:I
iput p3, p0, Lb0/r;->c:I
iput-boolean p4, p0, Lb0/r;->d:Z
iput-boolean p5, p0, Lb0/r;->e:Z
return-void
:cond_0
const-string p1, "data"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public final a()Lb0/r;
.locals 4
iget-object v0, p0, Lb0/r;->f:Lb0/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, Lb0/r;->g:Lb0/r;
if-eqz v2, :cond_2
iget-object v3, p0, Lb0/r;->f:Lb0/r;
iput-object v3, v2, Lb0/r;->f:Lb0/r;
iget-object v3, p0, Lb0/r;->f:Lb0/r;
if-eqz v3, :cond_1
iput-object v2, v3, Lb0/r;->g:Lb0/r;
iput-object v1, p0, Lb0/r;->f:Lb0/r;
iput-object v1, p0, Lb0/r;->g:Lb0/r;
return-object v0
:cond_1
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v1
:cond_2
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v1
.end method
.method public final a(I)Lb0/r;
.locals 5
const/4 v0, 0x0
if-lez p1, :cond_0
iget v1, p0, Lb0/r;->c:I
iget v2, p0, Lb0/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}, Lb0/r;->b()Lb0/r;
move-result-object v0
goto :goto_1
:cond_1
invoke-static {}, Lb0/s;->a()Lb0/r;
move-result-object v1
iget-object v2, p0, Lb0/r;->a:[B
iget v3, p0, Lb0/r;->b:I
iget-object v4, v1, Lb0/r;->a:[B
invoke-static {v2, v3, v4, v0, p1}, Lx/a/a2/w;->b([BI[BII)V
move-object v0, v1
:goto_1
iget v1, v0, Lb0/r;->b:I
add-int/2addr v1, p1
iput v1, v0, Lb0/r;->c:I
iget v1, p0, Lb0/r;->b:I
add-int/2addr v1, p1
iput v1, p0, Lb0/r;->b:I
iget-object p1, p0, Lb0/r;->g:Lb0/r;
if-eqz p1, :cond_2
invoke-virtual {p1, v0}, Lb0/r;->a(Lb0/r;)Lb0/r;
return-object v0
:cond_2
invoke-static {}, Lw/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(Lb0/r;)Lb0/r;
.locals 2
const/4 v0, 0x0
if-eqz p1, :cond_1
iput-object p0, p1, Lb0/r;->g:Lb0/r;
iget-object v1, p0, Lb0/r;->f:Lb0/r;
iput-object v1, p1, Lb0/r;->f:Lb0/r;
iget-object v1, p0, Lb0/r;->f:Lb0/r;
if-eqz v1, :cond_0
iput-object p1, v1, Lb0/r;->g:Lb0/r;
iput-object p1, p0, Lb0/r;->f:Lb0/r;
return-object p1
:cond_0
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v0
:cond_1
const-string p1, "segment"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public final a(Lb0/r;I)V
.locals 4
if-eqz p1, :cond_4
iget-boolean v0, p1, Lb0/r;->e:Z
if-eqz v0, :cond_3
iget v0, p1, Lb0/r;->c:I
add-int v1, v0, p2
const/16 v2, 0x2000
if-le v1, v2, :cond_2
iget-boolean v1, p1, Lb0/r;->d:Z
if-nez v1, :cond_1
add-int v1, v0, p2
iget v3, p1, Lb0/r;->b:I
sub-int/2addr v1, v3
if-gt v1, v2, :cond_0
iget-object v1, p1, Lb0/r;->a:[B
sub-int/2addr v0, v3
const/4 v2, 0x0
invoke-static {v1, v3, v1, v2, v0}, Lx/a/a2/w;->b([BI[BII)V
iget v0, p1, Lb0/r;->c:I
iget v1, p1, Lb0/r;->b:I
sub-int/2addr v0, v1
iput v0, p1, Lb0/r;->c:I
iput v2, p1, Lb0/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, Lb0/r;->a:[B
iget v1, p0, Lb0/r;->b:I
iget-object v2, p1, Lb0/r;->a:[B
iget v3, p1, Lb0/r;->c:I
invoke-static {v0, v1, v2, v3, p2}, Lx/a/a2/w;->b([BI[BII)V
iget v0, p1, Lb0/r;->c:I
add-int/2addr v0, p2
iput v0, p1, Lb0/r;->c:I
iget p1, p0, Lb0/r;->b:I
add-int/2addr p1, p2
iput p1, p0, Lb0/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}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public final b()Lb0/r;
.locals 7
const/4 v0, 0x1
iput-boolean v0, p0, Lb0/r;->d:Z
new-instance v0, Lb0/r;
iget-object v2, p0, Lb0/r;->a:[B
iget v3, p0, Lb0/r;->b:I
iget v4, p0, Lb0/r;->c:I
const/4 v5, 0x1
const/4 v6, 0x0
move-object v1, v0
invoke-direct/range {v1 .. v6}, Lb0/r;-><init>([BIIZZ)V
return-object v0
.end method

View file

@ -1,199 +0,0 @@
.class public final Lb0/s;
.super Ljava/lang/Object;
.source "SegmentPool.kt"
# static fields
.field public static a:Lb0/r;
.field public static b:J
.field public static final c:Lb0/s;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lb0/s;
invoke-direct {v0}, Lb0/s;-><init>()V
sput-object v0, Lb0/s;->c:Lb0/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()Lb0/r;
.locals 6
sget-object v0, Lb0/s;->c:Lb0/s;
monitor-enter v0
:try_start_0
sget-object v1, Lb0/s;->a:Lb0/r;
if-eqz v1, :cond_0
iget-object v2, v1, Lb0/r;->f:Lb0/r;
sput-object v2, Lb0/s;->a:Lb0/r;
const/4 v2, 0x0
iput-object v2, v1, Lb0/r;->f:Lb0/r;
sget-wide v2, Lb0/s;->b:J
const/16 v4, 0x2000
int-to-long v4, v4
sub-long/2addr v2, v4
sput-wide v2, Lb0/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, Lb0/r;
invoke-direct {v0}, Lb0/r;-><init>()V
return-object v0
:catchall_0
move-exception v1
monitor-exit v0
throw v1
.end method
.method public static final a(Lb0/r;)V
.locals 9
if-eqz p0, :cond_4
iget-object v0, p0, Lb0/r;->f:Lb0/r;
const/4 v1, 0x0
if-nez v0, :cond_0
iget-object v0, p0, Lb0/r;->g:Lb0/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, Lb0/r;->d:Z
if-eqz v0, :cond_1
return-void
:cond_1
sget-object v0, Lb0/s;->c:Lb0/s;
monitor-enter v0
:try_start_0
sget-wide v2, Lb0/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, Lb0/s;->b:J
add-long/2addr v2, v4
sput-wide v2, Lb0/s;->b:J
sget-object v2, Lb0/s;->a:Lb0/r;
iput-object v2, p0, Lb0/r;->f:Lb0/r;
iput v1, p0, Lb0/r;->c:I
iget v1, p0, Lb0/r;->c:I
iput v1, p0, Lb0/r;->b:I
sput-object p0, Lb0/s;->a:Lb0/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}, Lw/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 Lb0/t$a;
.super Ljava/lang/Object;
.source "SegmentedByteString.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lb0/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(Lb0/e;I)Lokio/ByteString;
.locals 7
const/4 v0, 0x0
if-eqz p1, :cond_5
iget-wide v1, p1, Lb0/e;->e:J
const-wide/16 v3, 0x0
int-to-long v5, p2
invoke-static/range {v1 .. v6}, Lx/a/a2/w;->a(JJJ)V
iget-object v1, p1, Lb0/e;->d:Lb0/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, Lb0/r;->c:I
iget v6, v4, Lb0/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, Lb0/r;->f:Lb0/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 {}, Lw/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, Lb0/e;->d:Lb0/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, Lb0/r;->a:[B
aput-object v5, v1, p1
iget v5, v4, Lb0/r;->c:I
iget v6, v4, Lb0/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, Lb0/r;->b:I
aput v6, v3, v5
const/4 v5, 0x1
iput-boolean v5, v4, Lb0/r;->d:Z
add-int/2addr p1, v5
iget-object v4, v4, Lb0/r;->f:Lb0/r;
goto :goto_1
:cond_3
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v0
:cond_4
new-instance p1, Lb0/t;
invoke-direct {p1, v1, v3, v0}, Lb0/t;-><init>([[B[ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-object p1
:cond_5
const-string p1, "buffer"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method

View file

@ -1,963 +0,0 @@
.class public final Lb0/t;
.super Lokio/ByteString;
.source "SegmentedByteString.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lb0/t$a;
}
.end annotation
# static fields
.field public static final j:Lb0/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, Lb0/t$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lb0/t$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lb0/t;->j:Lb0/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, Lb0/t;->h:[[B
iput-object p2, p0, Lb0/t;->i:[I
return-void
.end method
.method private final writeReplace()Ljava/lang/Object;
.locals 1
invoke-virtual {p0}, Lb0/t;->q()Lokio/ByteString;
move-result-object v0
return-object v0
.end method
# virtual methods
.method public a()Ljava/lang/String;
.locals 1
invoke-virtual {p0}, Lb0/t;->q()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}, Lb0/t;->o()[[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}, Lb0/t;->m()[I
move-result-object v3
add-int v4, v0, v1
aget v3, v3, v4
invoke-virtual {p0}, Lb0/t;->m()[I
move-result-object v4
aget v4, v4, v1
invoke-virtual {p0}, Lb0/t;->o()[[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}, Lw/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}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public a(Lb0/e;)V
.locals 12
const/4 v0, 0x0
if-eqz p1, :cond_4
invoke-virtual {p0}, Lb0/t;->o()[[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}, Lb0/t;->m()[I
move-result-object v4
add-int v5, v1, v2
aget v8, v4, v5
invoke-virtual {p0}, Lb0/t;->m()[I
move-result-object v4
aget v4, v4, v2
invoke-virtual {p0}, Lb0/t;->o()[[B
move-result-object v5
aget-object v7, v5, v2
sub-int v3, v4, v3
new-instance v5, Lb0/r;
add-int v9, v8, v3
const/4 v10, 0x1
const/4 v11, 0x0
move-object v6, v5
invoke-direct/range {v6 .. v11}, Lb0/r;-><init>([BIIZZ)V
iget-object v3, p1, Lb0/e;->d:Lb0/r;
if-nez v3, :cond_0
iput-object v5, v5, Lb0/r;->g:Lb0/r;
iget-object v3, v5, Lb0/r;->g:Lb0/r;
iput-object v3, v5, Lb0/r;->f:Lb0/r;
iget-object v3, v5, Lb0/r;->f:Lb0/r;
iput-object v3, p1, Lb0/e;->d:Lb0/r;
goto :goto_1
:cond_0
if-eqz v3, :cond_2
iget-object v3, v3, Lb0/r;->g:Lb0/r;
if-eqz v3, :cond_1
invoke-virtual {v3, v5}, Lb0/r;->a(Lb0/r;)Lb0/r;
:goto_1
add-int/lit8 v2, v2, 0x1
move v3, v4
goto :goto_0
:cond_1
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v0
:cond_2
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v0
:cond_3
iget-wide v0, p1, Lb0/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, Lb0/e;->e:J
return-void
:cond_4
const-string p1, "buffer"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
.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}, Lb0/t;->o()[[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}, Lb0/t;->m()[I
move-result-object v3
add-int v4, v0, v1
aget v3, v3, v4
invoke-virtual {p0}, Lb0/t;->m()[I
move-result-object v4
aget v4, v4, v1
invoke-virtual {p0}, Lb0/t;->o()[[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}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.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}, Lb0/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}, Lb0/t;->m()[I
move-result-object v2
add-int/lit8 v3, v1, -0x1
aget v2, v2, v3
:goto_1
invoke-virtual {p0}, Lb0/t;->m()[I
move-result-object v3
aget v3, v3, v1
sub-int/2addr v3, v2
invoke-virtual {p0}, Lb0/t;->m()[I
move-result-object v4
invoke-virtual {p0}, Lb0/t;->o()[[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}, Lb0/t;->o()[[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}, Lw/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}, Lb0/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}, Lb0/t;->m()[I
move-result-object v2
add-int/lit8 v3, v1, -0x1
aget v2, v2, v3
:goto_1
invoke-virtual {p0}, Lb0/t;->m()[I
move-result-object v3
aget v3, v3, v1
sub-int/2addr v3, v2
invoke-virtual {p0}, Lb0/t;->m()[I
move-result-object v4
invoke-virtual {p0}, Lb0/t;->o()[[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}, Lb0/t;->o()[[B
move-result-object v4
aget-object v4, v4, v1
invoke-static {v4, v2, p2, p3, v3}, Lx/a/a2/w;->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}, Lw/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, Lb0/t;->i:[I
iget-object v1, p0, Lb0/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}, Lx/a/a2/w;->a(JJJ)V
invoke-virtual {p0, p1}, Lb0/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, Lb0/t;->i:[I
add-int/lit8 v2, v0, -0x1
aget v1, v1, v2
:goto_0
iget-object v2, p0, Lb0/t;->i:[I
iget-object v3, p0, Lb0/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, Lb0/t;->i:[I
iget-object v1, p0, Lb0/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, Lb0/t;->i:[I
iget-object v1, p0, Lb0/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}, Lb0/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}, Lb0/t;->q()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}, Lb0/t;->p()[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}, Lb0/t;->o()[[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}, Lb0/t;->m()[I
move-result-object v4
add-int v5, v0, v1
aget v4, v4, v5
invoke-virtual {p0}, Lb0/t;->m()[I
move-result-object v5
aget v5, v5, v1
invoke-virtual {p0}, Lb0/t;->o()[[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}, Lb0/t;->q()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, Lb0/t;->i:[I
return-object v0
.end method
.method public final o()[[B
.locals 1
iget-object v0, p0, Lb0/t;->h:[[B
return-object v0
.end method
.method public p()[B
.locals 8
invoke-virtual {p0}, Lokio/ByteString;->j()I
move-result v0
new-array v0, v0, [B
invoke-virtual {p0}, Lb0/t;->o()[[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}, Lb0/t;->m()[I
move-result-object v5
add-int v6, v1, v2
aget v5, v5, v6
invoke-virtual {p0}, Lb0/t;->m()[I
move-result-object v6
aget v6, v6, v2
invoke-virtual {p0}, Lb0/t;->o()[[B
move-result-object v7
aget-object v7, v7, v2
sub-int v3, v6, v3
invoke-static {v7, v5, v0, v4, v3}, Lx/a/a2/w;->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 q()Lokio/ByteString;
.locals 2
new-instance v0, Lokio/ByteString;
invoke-virtual {p0}, Lb0/t;->p()[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}, Lb0/t;->q()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 Lb0/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()Lb0/x;
.end method
.method public abstract write(Lb0/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 Lb0/v;
.super Lb0/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}, Lb0/b;-><init>()V
iput-object p1, p0, Lb0/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, Lb0/v;->l:Ljava/util/logging/Logger;
return-void
:cond_0
const-string p1, "socket"
invoke-static {p1}, Lw/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, Lb0/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}, Lx/a/a2/w;->a(Ljava/lang/AssertionError;)Z
move-result v2
if-eqz v2, :cond_0
iget-object v2, p0, Lb0/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, Lb0/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, Lb0/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, Lb0/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 Lb0/w;
.super Ljava/lang/Object;
.source "Source.kt"
# interfaces
.implements Ljava/io/Closeable;
# virtual methods
.method public abstract b(Lb0/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()Lb0/x;
.end method

View file

@ -1,55 +0,0 @@
.class public final Lb0/x$a;
.super Lb0/x;
.source "Timeout.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lb0/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}, Lb0/x;-><init>()V
return-void
.end method
# virtual methods
.method public a(J)Lb0/x;
.locals 0
return-object p0
.end method
.method public a(JLjava/util/concurrent/TimeUnit;)Lb0/x;
.locals 0
if-eqz p3, :cond_0
return-object p0
:cond_0
const-string p1, "unit"
invoke-static {p1}, Lw/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 Lb0/x;
.super Ljava/lang/Object;
.source "Timeout.kt"
# static fields
.field public static final d:Lb0/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, Lb0/x$a;
invoke-direct {v0}, Lb0/x$a;-><init>()V
sput-object v0, Lb0/x;->d:Lb0/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()Lb0/x;
.locals 1
const/4 v0, 0x0
iput-boolean v0, p0, Lb0/x;->a:Z
return-object p0
.end method
.method public a(J)Lb0/x;
.locals 1
const/4 v0, 0x1
iput-boolean v0, p0, Lb0/x;->a:Z
iput-wide p1, p0, Lb0/x;->b:J
return-object p0
.end method
.method public a(JLjava/util/concurrent/TimeUnit;)Lb0/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, Lb0/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}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public b()Lb0/x;
.locals 2
const-wide/16 v0, 0x0
iput-wide v0, p0, Lb0/x;->c:J
return-object p0
.end method
.method public c()J
.locals 2
iget-boolean v0, p0, Lb0/x;->a:Z
if-eqz v0, :cond_0
iget-wide v0, p0, Lb0/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, Lb0/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, Lb0/x;->a:Z
if-eqz v0, :cond_1
iget-wide v0, p0, Lb0/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, Lb0/x;->c:J
return-wide v0
.end method

File diff suppressed because it is too large Load diff