apkfuckery/com.discord/smali_classes2/okio/ByteString$a.smali

107 lines
2.3 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Lokio/ByteString$a;
.super Ljava/lang/Object;
.source "ByteString.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokio/ByteString;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# direct methods
2020-07-08 16:44:49 +00:00
.method public constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2020-05-17 12:40:10 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
2020-07-08 16:44:49 +00:00
.method public static c(Lokio/ByteString$a;[BIII)Lokio/ByteString;
.locals 7
and-int/lit8 p0, p4, 0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz p0, :cond_0
2020-05-17 12:40:10 +00:00
const/4 p2, 0x0
:cond_0
2020-07-08 16:44:49 +00:00
and-int/lit8 p0, p4, 0x2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz p0, :cond_1
2020-05-17 12:40:10 +00:00
array-length p3, p1
:cond_1
2020-09-02 04:07:20 +00:00
const-string p0, "$receiver"
invoke-static {p1, p0}, Lk0/o/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
array-length p0, p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
int-to-long v1, p0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
int-to-long v3, p2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
int-to-long v5, p3
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
invoke-static/range {v1 .. v6}, Lf/n/a/k/a;->q(JJJ)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
new-array p0, p3, [B
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
const-string p4, "src"
invoke-static {p1, p4}, Lk0/o/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string p4, "dest"
invoke-static {p0, p4}, Lk0/o/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
invoke-static {p1, p2, p0, v0, p3}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
2020-05-17 12:40:10 +00:00
new-instance p1, Lokio/ByteString;
2020-07-08 16:44:49 +00:00
invoke-direct {p1, p0}, Lokio/ByteString;-><init>([B)V
2020-05-17 12:40:10 +00:00
return-object p1
.end method
2020-07-08 16:44:49 +00:00
# virtual methods
.method public final a(Ljava/lang/String;)Lokio/ByteString;
2020-09-02 04:07:20 +00:00
.locals 1
const-string v0, "$receiver"
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
invoke-static {p1, v0}, Lk0/o/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {p1}, Lp0/y/a;->c(Ljava/lang/String;)Lokio/ByteString;
2020-05-17 12:40:10 +00:00
move-result-object p1
return-object p1
.end method
.method public final b(Ljava/lang/String;)Lokio/ByteString;
2020-09-02 04:07:20 +00:00
.locals 1
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
const-string v0, "$receiver"
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
invoke-static {p1, v0}, Lk0/o/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {p1}, Lp0/y/a;->d(Ljava/lang/String;)Lokio/ByteString;
2020-05-17 12:40:10 +00:00
move-result-object p1
return-object p1
.end method