4013 lines
81 KiB
Smali
4013 lines
81 KiB
Smali
.class final Lcom/airbnb/lottie/e/a/e;
|
|
.super Lcom/airbnb/lottie/e/a/c;
|
|
.source "JsonUtf8Reader.java"
|
|
|
|
|
|
# static fields
|
|
.field private static final lU:Lokio/ByteString;
|
|
|
|
.field private static final lV:Lokio/ByteString;
|
|
|
|
.field private static final lW:Lokio/ByteString;
|
|
|
|
.field private static final lX:Lokio/ByteString;
|
|
|
|
.field private static final lY:Lokio/ByteString;
|
|
|
|
|
|
# instance fields
|
|
.field private final lZ:Lokio/d;
|
|
|
|
.field private final ma:Lokio/c;
|
|
|
|
.field private peeked:I
|
|
|
|
.field private peekedLong:J
|
|
|
|
.field private peekedNumberLength:I
|
|
|
|
.field private peekedString:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
const-string v0, "\'\\"
|
|
|
|
invoke-static {v0}, Lokio/ByteString;->ek(Ljava/lang/String;)Lokio/ByteString;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/airbnb/lottie/e/a/e;->lU:Lokio/ByteString;
|
|
|
|
const-string v0, "\"\\"
|
|
|
|
invoke-static {v0}, Lokio/ByteString;->ek(Ljava/lang/String;)Lokio/ByteString;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/airbnb/lottie/e/a/e;->lV:Lokio/ByteString;
|
|
|
|
const-string v0, "{}[]:, \n\t\r\u000c/\\;#="
|
|
|
|
invoke-static {v0}, Lokio/ByteString;->ek(Ljava/lang/String;)Lokio/ByteString;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/airbnb/lottie/e/a/e;->lW:Lokio/ByteString;
|
|
|
|
const-string v0, "\n\r"
|
|
|
|
invoke-static {v0}, Lokio/ByteString;->ek(Ljava/lang/String;)Lokio/ByteString;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/airbnb/lottie/e/a/e;->lX:Lokio/ByteString;
|
|
|
|
const-string v0, "*/"
|
|
|
|
invoke-static {v0}, Lokio/ByteString;->ek(Ljava/lang/String;)Lokio/ByteString;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/airbnb/lottie/e/a/e;->lY:Lokio/ByteString;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method constructor <init>(Lokio/d;)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/c;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/e/a/e;->lZ:Lokio/d;
|
|
|
|
invoke-interface {p1}, Lokio/d;->He()Lokio/c;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
const/4 p1, 0x6
|
|
|
|
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/e/a/e;->h(I)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/NullPointerException;
|
|
|
|
const-string v0, "source == null"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method private a(Ljava/lang/String;Lcom/airbnb/lottie/e/a/c$a;)I
|
|
.locals 4
|
|
|
|
iget-object v0, p2, Lcom/airbnb/lottie/e/a/c$a;->lH:[Ljava/lang/String;
|
|
|
|
array-length v0, v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_1
|
|
|
|
iget-object v3, p2, Lcom/airbnb/lottie/e/a/c$a;->lH:[Ljava/lang/String;
|
|
|
|
aget-object v3, v3, v2
|
|
|
|
invoke-virtual {p1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
iput v1, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
iget-object p2, p0, Lcom/airbnb/lottie/e/a/e;->pathNames:[Ljava/lang/String;
|
|
|
|
iget v0, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
aput-object p1, p2, v0
|
|
|
|
return v2
|
|
|
|
:cond_0
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p1, -0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method private a(Lokio/ByteString;)Ljava/lang/String;
|
|
.locals 6
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
iget-object v1, p0, Lcom/airbnb/lottie/e/a/e;->lZ:Lokio/d;
|
|
|
|
invoke-interface {v1, p1}, Lokio/d;->k(Lokio/ByteString;)J
|
|
|
|
move-result-wide v1
|
|
|
|
const-wide/16 v3, -0x1
|
|
|
|
cmp-long v5, v1, v3
|
|
|
|
if-eqz v5, :cond_3
|
|
|
|
iget-object v3, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v3, v1, v2}, Lokio/c;->av(J)B
|
|
|
|
move-result v3
|
|
|
|
const/16 v4, 0x5c
|
|
|
|
if-ne v3, v4, :cond_1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
:cond_0
|
|
iget-object v3, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v3, v1, v2}, Lokio/c;->ax(J)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v1}, Lokio/c;->readByte()B
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->readEscapeCharacter()C
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
if-nez v0, :cond_2
|
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {p1, v1, v2}, Lokio/c;->ax(J)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v0}, Lokio/c;->readByte()B
|
|
|
|
return-object p1
|
|
|
|
:cond_2
|
|
iget-object p1, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {p1, v1, v2}, Lokio/c;->ax(J)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {p1}, Lokio/c;->readByte()B
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:cond_3
|
|
const-string p1, "Unterminated string"
|
|
|
|
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/e/a/e;->B(Ljava/lang/String;)Lcom/airbnb/lottie/e/a/b;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_2
|
|
|
|
:goto_1
|
|
throw p1
|
|
|
|
:goto_2
|
|
goto :goto_1
|
|
.end method
|
|
|
|
.method private b(Lokio/ByteString;)V
|
|
.locals 6
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
:goto_0
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->lZ:Lokio/d;
|
|
|
|
invoke-interface {v0, p1}, Lokio/d;->k(Lokio/ByteString;)J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide/16 v2, -0x1
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
iget-object v2, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v2, v0, v1}, Lokio/c;->av(J)B
|
|
|
|
move-result v2
|
|
|
|
const/16 v3, 0x5c
|
|
|
|
const-wide/16 v4, 0x1
|
|
|
|
if-ne v2, v3, :cond_0
|
|
|
|
iget-object v2, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
add-long/2addr v0, v4
|
|
|
|
invoke-virtual {v2, v0, v1}, Lokio/c;->aB(J)V
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->readEscapeCharacter()C
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
add-long/2addr v0, v4
|
|
|
|
invoke-virtual {p1, v0, v1}, Lokio/c;->aB(J)V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
const-string p1, "Unterminated string"
|
|
|
|
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/e/a/e;->B(Ljava/lang/String;)Lcom/airbnb/lottie/e/a/b;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_2
|
|
|
|
:goto_1
|
|
throw p1
|
|
|
|
:goto_2
|
|
goto :goto_1
|
|
.end method
|
|
|
|
.method private bA()Z
|
|
.locals 6
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->lZ:Lokio/d;
|
|
|
|
sget-object v1, Lcom/airbnb/lottie/e/a/e;->lY:Lokio/ByteString;
|
|
|
|
invoke-interface {v0, v1}, Lokio/d;->j(Lokio/ByteString;)J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide/16 v2, -0x1
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
iget-object v3, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
sget-object v4, Lcom/airbnb/lottie/e/a/e;->lY:Lokio/ByteString;
|
|
|
|
invoke-virtual {v4}, Lokio/ByteString;->size()I
|
|
|
|
move-result v4
|
|
|
|
int-to-long v4, v4
|
|
|
|
add-long/2addr v0, v4
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
iget-wide v0, v3, Lokio/c;->size:J
|
|
|
|
:goto_1
|
|
invoke-virtual {v3, v0, v1}, Lokio/c;->aB(J)V
|
|
|
|
return v2
|
|
.end method
|
|
|
|
.method private checkLenient()V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-boolean v0, p0, Lcom/airbnb/lottie/e/a/e;->lenient:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string v0, "Use JsonReader.setLenient(true) to accept malformed JSON"
|
|
|
|
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/e/a/e;->B(Ljava/lang/String;)Lcom/airbnb/lottie/e/a/b;
|
|
|
|
move-result-object v0
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method private doPeek()I
|
|
.locals 16
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
iget-object v1, v0, Lcom/airbnb/lottie/e/a/e;->lF:[I
|
|
|
|
iget v2, v0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
const/4 v3, 0x1
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
aget v1, v1, v2
|
|
|
|
const-wide/16 v4, 0x0
|
|
|
|
const/16 v2, 0x8
|
|
|
|
const/16 v7, 0x22
|
|
|
|
const/16 v8, 0x5d
|
|
|
|
const/4 v9, 0x3
|
|
|
|
const/4 v10, 0x7
|
|
|
|
const/16 v11, 0x3b
|
|
|
|
const/16 v12, 0x2c
|
|
|
|
const/4 v13, 0x4
|
|
|
|
const/4 v14, 0x2
|
|
|
|
if-ne v1, v3, :cond_0
|
|
|
|
iget-object v15, v0, Lcom/airbnb/lottie/e/a/e;->lF:[I
|
|
|
|
iget v6, v0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
sub-int/2addr v6, v3
|
|
|
|
aput v14, v15, v6
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_0
|
|
if-ne v1, v14, :cond_3
|
|
|
|
invoke-direct {v0, v3}, Lcom/airbnb/lottie/e/a/e;->nextNonWhitespace(Z)I
|
|
|
|
move-result v6
|
|
|
|
iget-object v15, v0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v15}, Lokio/c;->readByte()B
|
|
|
|
if-eq v6, v12, :cond_a
|
|
|
|
if-eq v6, v11, :cond_2
|
|
|
|
if-ne v6, v8, :cond_1
|
|
|
|
iput v13, v0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return v13
|
|
|
|
:cond_1
|
|
const-string v1, "Unterminated array"
|
|
|
|
invoke-virtual {v0, v1}, Lcom/airbnb/lottie/e/a/e;->B(Ljava/lang/String;)Lcom/airbnb/lottie/e/a/b;
|
|
|
|
move-result-object v1
|
|
|
|
throw v1
|
|
|
|
:cond_2
|
|
invoke-direct/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/e;->checkLenient()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const/4 v6, 0x5
|
|
|
|
if-eq v1, v9, :cond_17
|
|
|
|
if-ne v1, v6, :cond_4
|
|
|
|
goto/16 :goto_2
|
|
|
|
:cond_4
|
|
if-ne v1, v13, :cond_6
|
|
|
|
iget-object v15, v0, Lcom/airbnb/lottie/e/a/e;->lF:[I
|
|
|
|
iget v14, v0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
sub-int/2addr v14, v3
|
|
|
|
aput v6, v15, v14
|
|
|
|
invoke-direct {v0, v3}, Lcom/airbnb/lottie/e/a/e;->nextNonWhitespace(Z)I
|
|
|
|
move-result v6
|
|
|
|
iget-object v14, v0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v14}, Lokio/c;->readByte()B
|
|
|
|
const/16 v14, 0x3a
|
|
|
|
if-eq v6, v14, :cond_a
|
|
|
|
const/16 v14, 0x3d
|
|
|
|
if-ne v6, v14, :cond_5
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/e;->checkLenient()V
|
|
|
|
iget-object v6, v0, Lcom/airbnb/lottie/e/a/e;->lZ:Lokio/d;
|
|
|
|
const-wide/16 v14, 0x1
|
|
|
|
invoke-interface {v6, v14, v15}, Lokio/d;->request(J)Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_a
|
|
|
|
iget-object v6, v0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v6, v4, v5}, Lokio/c;->av(J)B
|
|
|
|
move-result v6
|
|
|
|
const/16 v14, 0x3e
|
|
|
|
if-ne v6, v14, :cond_a
|
|
|
|
iget-object v6, v0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v6}, Lokio/c;->readByte()B
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
const-string v1, "Expected \':\'"
|
|
|
|
invoke-virtual {v0, v1}, Lcom/airbnb/lottie/e/a/e;->B(Ljava/lang/String;)Lcom/airbnb/lottie/e/a/b;
|
|
|
|
move-result-object v1
|
|
|
|
throw v1
|
|
|
|
:cond_6
|
|
const/4 v6, 0x6
|
|
|
|
if-ne v1, v6, :cond_7
|
|
|
|
iget-object v6, v0, Lcom/airbnb/lottie/e/a/e;->lF:[I
|
|
|
|
iget v14, v0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
sub-int/2addr v14, v3
|
|
|
|
aput v10, v6, v14
|
|
|
|
goto :goto_0
|
|
|
|
:cond_7
|
|
if-ne v1, v10, :cond_9
|
|
|
|
const/4 v6, 0x0
|
|
|
|
invoke-direct {v0, v6}, Lcom/airbnb/lottie/e/a/e;->nextNonWhitespace(Z)I
|
|
|
|
move-result v6
|
|
|
|
const/4 v14, -0x1
|
|
|
|
if-ne v6, v14, :cond_8
|
|
|
|
const/16 v1, 0x12
|
|
|
|
iput v1, v0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return v1
|
|
|
|
:cond_8
|
|
invoke-direct/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/e;->checkLenient()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_9
|
|
if-eq v1, v2, :cond_16
|
|
|
|
:cond_a
|
|
:goto_0
|
|
invoke-direct {v0, v3}, Lcom/airbnb/lottie/e/a/e;->nextNonWhitespace(Z)I
|
|
|
|
move-result v6
|
|
|
|
if-eq v6, v7, :cond_15
|
|
|
|
const/16 v7, 0x27
|
|
|
|
if-eq v6, v7, :cond_14
|
|
|
|
if-eq v6, v12, :cond_11
|
|
|
|
if-eq v6, v11, :cond_11
|
|
|
|
const/16 v2, 0x5b
|
|
|
|
if-eq v6, v2, :cond_10
|
|
|
|
if-eq v6, v8, :cond_f
|
|
|
|
const/16 v1, 0x7b
|
|
|
|
if-eq v6, v1, :cond_e
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/e;->peekKeyword()I
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_b
|
|
|
|
return v1
|
|
|
|
:cond_b
|
|
invoke-direct/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/e;->peekNumber()I
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_c
|
|
|
|
return v1
|
|
|
|
:cond_c
|
|
iget-object v1, v0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v1, v4, v5}, Lokio/c;->av(J)B
|
|
|
|
move-result v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/e;->i(I)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_d
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/e;->checkLenient()V
|
|
|
|
const/16 v1, 0xa
|
|
|
|
iput v1, v0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return v1
|
|
|
|
:cond_d
|
|
const-string v1, "Expected value"
|
|
|
|
invoke-virtual {v0, v1}, Lcom/airbnb/lottie/e/a/e;->B(Ljava/lang/String;)Lcom/airbnb/lottie/e/a/b;
|
|
|
|
move-result-object v1
|
|
|
|
throw v1
|
|
|
|
:cond_e
|
|
iget-object v1, v0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v1}, Lokio/c;->readByte()B
|
|
|
|
iput v3, v0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return v3
|
|
|
|
:cond_f
|
|
if-ne v1, v3, :cond_11
|
|
|
|
iget-object v1, v0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v1}, Lokio/c;->readByte()B
|
|
|
|
iput v13, v0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return v13
|
|
|
|
:cond_10
|
|
iget-object v1, v0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v1}, Lokio/c;->readByte()B
|
|
|
|
iput v9, v0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return v9
|
|
|
|
:cond_11
|
|
if-eq v1, v3, :cond_13
|
|
|
|
const/4 v2, 0x2
|
|
|
|
if-ne v1, v2, :cond_12
|
|
|
|
goto :goto_1
|
|
|
|
:cond_12
|
|
const-string v1, "Unexpected value"
|
|
|
|
invoke-virtual {v0, v1}, Lcom/airbnb/lottie/e/a/e;->B(Ljava/lang/String;)Lcom/airbnb/lottie/e/a/b;
|
|
|
|
move-result-object v1
|
|
|
|
throw v1
|
|
|
|
:cond_13
|
|
:goto_1
|
|
invoke-direct/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/e;->checkLenient()V
|
|
|
|
iput v10, v0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return v10
|
|
|
|
:cond_14
|
|
invoke-direct/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/e;->checkLenient()V
|
|
|
|
iget-object v1, v0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v1}, Lokio/c;->readByte()B
|
|
|
|
iput v2, v0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return v2
|
|
|
|
:cond_15
|
|
iget-object v1, v0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v1}, Lokio/c;->readByte()B
|
|
|
|
const/16 v1, 0x9
|
|
|
|
iput v1, v0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return v1
|
|
|
|
:cond_16
|
|
new-instance v1, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v2, "JsonReader is closed"
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v1
|
|
|
|
:cond_17
|
|
:goto_2
|
|
iget-object v2, v0, Lcom/airbnb/lottie/e/a/e;->lF:[I
|
|
|
|
iget v4, v0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
sub-int/2addr v4, v3
|
|
|
|
aput v13, v2, v4
|
|
|
|
const/16 v2, 0x7d
|
|
|
|
if-ne v1, v6, :cond_1a
|
|
|
|
invoke-direct {v0, v3}, Lcom/airbnb/lottie/e/a/e;->nextNonWhitespace(Z)I
|
|
|
|
move-result v4
|
|
|
|
iget-object v5, v0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v5}, Lokio/c;->readByte()B
|
|
|
|
if-eq v4, v12, :cond_1a
|
|
|
|
if-eq v4, v11, :cond_19
|
|
|
|
if-ne v4, v2, :cond_18
|
|
|
|
const/4 v1, 0x2
|
|
|
|
iput v1, v0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return v1
|
|
|
|
:cond_18
|
|
const-string v1, "Unterminated object"
|
|
|
|
invoke-virtual {v0, v1}, Lcom/airbnb/lottie/e/a/e;->B(Ljava/lang/String;)Lcom/airbnb/lottie/e/a/b;
|
|
|
|
move-result-object v1
|
|
|
|
throw v1
|
|
|
|
:cond_19
|
|
invoke-direct/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/e;->checkLenient()V
|
|
|
|
:cond_1a
|
|
invoke-direct {v0, v3}, Lcom/airbnb/lottie/e/a/e;->nextNonWhitespace(Z)I
|
|
|
|
move-result v3
|
|
|
|
if-eq v3, v7, :cond_1f
|
|
|
|
const/16 v4, 0x27
|
|
|
|
if-eq v3, v4, :cond_1e
|
|
|
|
const-string v4, "Expected name"
|
|
|
|
if-eq v3, v2, :cond_1c
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/e;->checkLenient()V
|
|
|
|
int-to-char v1, v3
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/e;->i(I)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1b
|
|
|
|
const/16 v1, 0xe
|
|
|
|
iput v1, v0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return v1
|
|
|
|
:cond_1b
|
|
invoke-virtual {v0, v4}, Lcom/airbnb/lottie/e/a/e;->B(Ljava/lang/String;)Lcom/airbnb/lottie/e/a/b;
|
|
|
|
move-result-object v1
|
|
|
|
throw v1
|
|
|
|
:cond_1c
|
|
if-eq v1, v6, :cond_1d
|
|
|
|
iget-object v1, v0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v1}, Lokio/c;->readByte()B
|
|
|
|
const/4 v1, 0x2
|
|
|
|
iput v1, v0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return v1
|
|
|
|
:cond_1d
|
|
invoke-virtual {v0, v4}, Lcom/airbnb/lottie/e/a/e;->B(Ljava/lang/String;)Lcom/airbnb/lottie/e/a/b;
|
|
|
|
move-result-object v1
|
|
|
|
throw v1
|
|
|
|
:cond_1e
|
|
iget-object v1, v0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v1}, Lokio/c;->readByte()B
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/e;->checkLenient()V
|
|
|
|
const/16 v1, 0xc
|
|
|
|
iput v1, v0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return v1
|
|
|
|
:cond_1f
|
|
iget-object v1, v0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v1}, Lokio/c;->readByte()B
|
|
|
|
const/16 v1, 0xd
|
|
|
|
iput v1, v0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return v1
|
|
.end method
|
|
|
|
.method private i(I)Z
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/16 v0, 0x9
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0xa
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0xc
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0xd
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0x20
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0x23
|
|
|
|
if-eq p1, v0, :cond_0
|
|
|
|
const/16 v0, 0x2c
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0x2f
|
|
|
|
if-eq p1, v0, :cond_0
|
|
|
|
const/16 v0, 0x3d
|
|
|
|
if-eq p1, v0, :cond_0
|
|
|
|
const/16 v0, 0x7b
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0x7d
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0x3a
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0x3b
|
|
|
|
if-eq p1, v0, :cond_0
|
|
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
:pswitch_0
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->checkLenient()V
|
|
|
|
:cond_1
|
|
:pswitch_1
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x5b
|
|
:pswitch_1
|
|
:pswitch_0
|
|
:pswitch_1
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method private nextNonWhitespace(Z)I
|
|
.locals 6
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
const/4 v1, 0x0
|
|
|
|
:goto_1
|
|
iget-object v2, p0, Lcom/airbnb/lottie/e/a/e;->lZ:Lokio/d;
|
|
|
|
add-int/lit8 v3, v1, 0x1
|
|
|
|
int-to-long v4, v3
|
|
|
|
invoke-interface {v2, v4, v5}, Lokio/d;->request(J)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_7
|
|
|
|
iget-object v2, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
int-to-long v4, v1
|
|
|
|
invoke-virtual {v2, v4, v5}, Lokio/c;->av(J)B
|
|
|
|
move-result v1
|
|
|
|
const/16 v2, 0xa
|
|
|
|
if-eq v1, v2, :cond_6
|
|
|
|
const/16 v2, 0x20
|
|
|
|
if-eq v1, v2, :cond_6
|
|
|
|
const/16 v2, 0xd
|
|
|
|
if-eq v1, v2, :cond_6
|
|
|
|
const/16 v2, 0x9
|
|
|
|
if-eq v1, v2, :cond_6
|
|
|
|
iget-object v2, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
add-int/lit8 v3, v3, -0x1
|
|
|
|
int-to-long v3, v3
|
|
|
|
invoke-virtual {v2, v3, v4}, Lokio/c;->aB(J)V
|
|
|
|
const/16 v2, 0x2f
|
|
|
|
if-ne v1, v2, :cond_4
|
|
|
|
iget-object v3, p0, Lcom/airbnb/lottie/e/a/e;->lZ:Lokio/d;
|
|
|
|
const-wide/16 v4, 0x2
|
|
|
|
invoke-interface {v3, v4, v5}, Lokio/d;->request(J)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->checkLenient()V
|
|
|
|
iget-object v3, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
const-wide/16 v4, 0x1
|
|
|
|
invoke-virtual {v3, v4, v5}, Lokio/c;->av(J)B
|
|
|
|
move-result v3
|
|
|
|
const/16 v4, 0x2a
|
|
|
|
if-eq v3, v4, :cond_2
|
|
|
|
if-eq v3, v2, :cond_1
|
|
|
|
return v1
|
|
|
|
:cond_1
|
|
iget-object v1, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v1}, Lokio/c;->readByte()B
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v1}, Lokio/c;->readByte()B
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->skipToEndOfLine()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
iget-object v1, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v1}, Lokio/c;->readByte()B
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v1}, Lokio/c;->readByte()B
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->bA()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const-string p1, "Unterminated comment"
|
|
|
|
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/e/a/e;->B(Ljava/lang/String;)Lcom/airbnb/lottie/e/a/b;
|
|
|
|
move-result-object p1
|
|
|
|
throw p1
|
|
|
|
:cond_4
|
|
const/16 v2, 0x23
|
|
|
|
if-ne v1, v2, :cond_5
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->checkLenient()V
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->skipToEndOfLine()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
return v1
|
|
|
|
:cond_6
|
|
move v1, v3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_7
|
|
if-nez p1, :cond_8
|
|
|
|
const/4 p1, -0x1
|
|
|
|
return p1
|
|
|
|
:cond_8
|
|
new-instance p1, Ljava/io/EOFException;
|
|
|
|
const-string v0, "End of input"
|
|
|
|
invoke-direct {p1, v0}, Ljava/io/EOFException;-><init>(Ljava/lang/String;)V
|
|
|
|
goto :goto_3
|
|
|
|
:goto_2
|
|
throw p1
|
|
|
|
:goto_3
|
|
goto :goto_2
|
|
.end method
|
|
|
|
.method private nextUnquotedValue()Ljava/lang/String;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->lZ:Lokio/d;
|
|
|
|
sget-object v1, Lcom/airbnb/lottie/e/a/e;->lW:Lokio/ByteString;
|
|
|
|
invoke-interface {v0, v1}, Lokio/d;->k(Lokio/ByteString;)J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide/16 v2, -0x1
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
iget-object v2, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v2, v0, v1}, Lokio/c;->ax(J)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v0}, Lokio/c;->Hm()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private peekKeyword()I
|
|
.locals 10
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
invoke-virtual {v0, v1, v2}, Lokio/c;->av(J)B
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/16 v2, 0x74
|
|
|
|
if-eq v0, v2, :cond_5
|
|
|
|
const/16 v2, 0x54
|
|
|
|
if-ne v0, v2, :cond_0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_0
|
|
const/16 v2, 0x66
|
|
|
|
if-eq v0, v2, :cond_4
|
|
|
|
const/16 v2, 0x46
|
|
|
|
if-ne v0, v2, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/16 v2, 0x6e
|
|
|
|
if-eq v0, v2, :cond_3
|
|
|
|
const/16 v2, 0x4e
|
|
|
|
if-ne v0, v2, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
return v1
|
|
|
|
:cond_3
|
|
:goto_0
|
|
const/4 v0, 0x7
|
|
|
|
const-string v2, "null"
|
|
|
|
const-string v3, "NULL"
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
:goto_1
|
|
const/4 v0, 0x6
|
|
|
|
const-string v2, "false"
|
|
|
|
const-string v3, "FALSE"
|
|
|
|
goto :goto_3
|
|
|
|
:cond_5
|
|
:goto_2
|
|
const/4 v0, 0x5
|
|
|
|
const-string v2, "true"
|
|
|
|
const-string v3, "TRUE"
|
|
|
|
:goto_3
|
|
invoke-virtual {v2}, Ljava/lang/String;->length()I
|
|
|
|
move-result v4
|
|
|
|
const/4 v5, 0x1
|
|
|
|
:goto_4
|
|
if-ge v5, v4, :cond_8
|
|
|
|
iget-object v6, p0, Lcom/airbnb/lottie/e/a/e;->lZ:Lokio/d;
|
|
|
|
add-int/lit8 v7, v5, 0x1
|
|
|
|
int-to-long v8, v7
|
|
|
|
invoke-interface {v6, v8, v9}, Lokio/d;->request(J)Z
|
|
|
|
move-result v6
|
|
|
|
if-nez v6, :cond_6
|
|
|
|
return v1
|
|
|
|
:cond_6
|
|
iget-object v6, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
int-to-long v8, v5
|
|
|
|
invoke-virtual {v6, v8, v9}, Lokio/c;->av(J)B
|
|
|
|
move-result v6
|
|
|
|
invoke-virtual {v2, v5}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v8
|
|
|
|
if-eq v6, v8, :cond_7
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v5
|
|
|
|
if-eq v6, v5, :cond_7
|
|
|
|
return v1
|
|
|
|
:cond_7
|
|
move v5, v7
|
|
|
|
goto :goto_4
|
|
|
|
:cond_8
|
|
iget-object v2, p0, Lcom/airbnb/lottie/e/a/e;->lZ:Lokio/d;
|
|
|
|
add-int/lit8 v3, v4, 0x1
|
|
|
|
int-to-long v5, v3
|
|
|
|
invoke-interface {v2, v5, v6}, Lokio/d;->request(J)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_9
|
|
|
|
iget-object v2, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
int-to-long v5, v4
|
|
|
|
invoke-virtual {v2, v5, v6}, Lokio/c;->av(J)B
|
|
|
|
move-result v2
|
|
|
|
invoke-direct {p0, v2}, Lcom/airbnb/lottie/e/a/e;->i(I)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_9
|
|
|
|
return v1
|
|
|
|
:cond_9
|
|
iget-object v1, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
int-to-long v2, v4
|
|
|
|
invoke-virtual {v1, v2, v3}, Lokio/c;->aB(J)V
|
|
|
|
iput v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method private peekNumber()I
|
|
.locals 16
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
const/4 v4, 0x0
|
|
|
|
move-wide v7, v1
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v9, 0x0
|
|
|
|
const/4 v10, 0x1
|
|
|
|
:goto_0
|
|
iget-object v11, v0, Lcom/airbnb/lottie/e/a/e;->lZ:Lokio/d;
|
|
|
|
add-int/lit8 v12, v5, 0x1
|
|
|
|
int-to-long v13, v12
|
|
|
|
invoke-interface {v11, v13, v14}, Lokio/d;->request(J)Z
|
|
|
|
move-result v11
|
|
|
|
const/4 v15, 0x2
|
|
|
|
if-eqz v11, :cond_15
|
|
|
|
iget-object v11, v0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
int-to-long v13, v5
|
|
|
|
invoke-virtual {v11, v13, v14}, Lokio/c;->av(J)B
|
|
|
|
move-result v11
|
|
|
|
const/16 v13, 0x2b
|
|
|
|
const/4 v14, 0x5
|
|
|
|
if-eq v11, v13, :cond_12
|
|
|
|
const/16 v13, 0x45
|
|
|
|
if-eq v11, v13, :cond_f
|
|
|
|
const/16 v13, 0x65
|
|
|
|
if-eq v11, v13, :cond_f
|
|
|
|
const/16 v13, 0x2d
|
|
|
|
if-eq v11, v13, :cond_c
|
|
|
|
const/16 v13, 0x2e
|
|
|
|
if-eq v11, v13, :cond_a
|
|
|
|
const/16 v13, 0x30
|
|
|
|
if-lt v11, v13, :cond_9
|
|
|
|
const/16 v13, 0x39
|
|
|
|
if-le v11, v13, :cond_0
|
|
|
|
goto :goto_4
|
|
|
|
:cond_0
|
|
if-eq v6, v3, :cond_8
|
|
|
|
if-nez v6, :cond_1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_1
|
|
if-ne v6, v15, :cond_5
|
|
|
|
cmp-long v5, v7, v1
|
|
|
|
if-nez v5, :cond_2
|
|
|
|
return v4
|
|
|
|
:cond_2
|
|
const-wide/16 v13, 0xa
|
|
|
|
mul-long v13, v13, v7
|
|
|
|
add-int/lit8 v11, v11, -0x30
|
|
|
|
int-to-long v1, v11
|
|
|
|
sub-long/2addr v13, v1
|
|
|
|
const-wide v1, -0xcccccccccccccccL
|
|
|
|
cmp-long v5, v7, v1
|
|
|
|
if-gtz v5, :cond_4
|
|
|
|
cmp-long v5, v7, v1
|
|
|
|
if-nez v5, :cond_3
|
|
|
|
cmp-long v1, v13, v7
|
|
|
|
if-gez v1, :cond_3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
const/4 v1, 0x0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
:goto_1
|
|
const/4 v1, 0x1
|
|
|
|
:goto_2
|
|
and-int/2addr v1, v10
|
|
|
|
move v10, v1
|
|
|
|
move-wide v7, v13
|
|
|
|
goto :goto_7
|
|
|
|
:cond_5
|
|
const/4 v1, 0x3
|
|
|
|
if-ne v6, v1, :cond_6
|
|
|
|
const/4 v6, 0x4
|
|
|
|
goto :goto_7
|
|
|
|
:cond_6
|
|
if-eq v6, v14, :cond_7
|
|
|
|
const/4 v1, 0x6
|
|
|
|
if-ne v6, v1, :cond_13
|
|
|
|
:cond_7
|
|
const/4 v6, 0x7
|
|
|
|
goto :goto_7
|
|
|
|
:cond_8
|
|
:goto_3
|
|
add-int/lit8 v11, v11, -0x30
|
|
|
|
neg-int v1, v11
|
|
|
|
int-to-long v1, v1
|
|
|
|
move-wide v7, v1
|
|
|
|
const/4 v6, 0x2
|
|
|
|
goto :goto_7
|
|
|
|
:cond_9
|
|
:goto_4
|
|
invoke-direct {v0, v11}, Lcom/airbnb/lottie/e/a/e;->i(I)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_15
|
|
|
|
return v4
|
|
|
|
:cond_a
|
|
const/4 v1, 0x3
|
|
|
|
if-ne v6, v15, :cond_b
|
|
|
|
const/4 v6, 0x3
|
|
|
|
goto :goto_7
|
|
|
|
:cond_b
|
|
return v4
|
|
|
|
:cond_c
|
|
const/4 v1, 0x6
|
|
|
|
if-nez v6, :cond_d
|
|
|
|
const/4 v6, 0x1
|
|
|
|
const/4 v9, 0x1
|
|
|
|
goto :goto_7
|
|
|
|
:cond_d
|
|
if-ne v6, v14, :cond_e
|
|
|
|
goto :goto_6
|
|
|
|
:cond_e
|
|
return v4
|
|
|
|
:cond_f
|
|
if-eq v6, v15, :cond_11
|
|
|
|
const/4 v1, 0x4
|
|
|
|
if-ne v6, v1, :cond_10
|
|
|
|
goto :goto_5
|
|
|
|
:cond_10
|
|
return v4
|
|
|
|
:cond_11
|
|
:goto_5
|
|
const/4 v6, 0x5
|
|
|
|
goto :goto_7
|
|
|
|
:cond_12
|
|
const/4 v1, 0x6
|
|
|
|
if-ne v6, v14, :cond_14
|
|
|
|
:goto_6
|
|
const/4 v6, 0x6
|
|
|
|
:cond_13
|
|
:goto_7
|
|
move v5, v12
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_14
|
|
return v4
|
|
|
|
:cond_15
|
|
if-ne v6, v15, :cond_19
|
|
|
|
if-eqz v10, :cond_19
|
|
|
|
const-wide/high16 v1, -0x8000000000000000L
|
|
|
|
cmp-long v3, v7, v1
|
|
|
|
if-nez v3, :cond_16
|
|
|
|
if-eqz v9, :cond_19
|
|
|
|
:cond_16
|
|
const-wide/16 v1, 0x0
|
|
|
|
cmp-long v3, v7, v1
|
|
|
|
if-nez v3, :cond_17
|
|
|
|
if-nez v9, :cond_19
|
|
|
|
:cond_17
|
|
if-eqz v9, :cond_18
|
|
|
|
goto :goto_8
|
|
|
|
:cond_18
|
|
neg-long v7, v7
|
|
|
|
:goto_8
|
|
iput-wide v7, v0, Lcom/airbnb/lottie/e/a/e;->peekedLong:J
|
|
|
|
iget-object v1, v0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
int-to-long v2, v5
|
|
|
|
invoke-virtual {v1, v2, v3}, Lokio/c;->aB(J)V
|
|
|
|
const/16 v1, 0x10
|
|
|
|
iput v1, v0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return v1
|
|
|
|
:cond_19
|
|
if-eq v6, v15, :cond_1b
|
|
|
|
const/4 v1, 0x4
|
|
|
|
if-eq v6, v1, :cond_1b
|
|
|
|
const/4 v1, 0x7
|
|
|
|
if-ne v6, v1, :cond_1a
|
|
|
|
goto :goto_9
|
|
|
|
:cond_1a
|
|
return v4
|
|
|
|
:cond_1b
|
|
:goto_9
|
|
iput v5, v0, Lcom/airbnb/lottie/e/a/e;->peekedNumberLength:I
|
|
|
|
const/16 v1, 0x11
|
|
|
|
iput v1, v0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return v1
|
|
.end method
|
|
|
|
.method private readEscapeCharacter()C
|
|
.locals 9
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->lZ:Lokio/d;
|
|
|
|
const-wide/16 v1, 0x1
|
|
|
|
invoke-interface {v0, v1, v2}, Lokio/d;->request(J)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_d
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v0}, Lokio/c;->readByte()B
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0xa
|
|
|
|
if-eq v0, v1, :cond_c
|
|
|
|
const/16 v2, 0x22
|
|
|
|
if-eq v0, v2, :cond_c
|
|
|
|
const/16 v2, 0x27
|
|
|
|
if-eq v0, v2, :cond_c
|
|
|
|
const/16 v2, 0x2f
|
|
|
|
if-eq v0, v2, :cond_c
|
|
|
|
const/16 v2, 0x5c
|
|
|
|
if-eq v0, v2, :cond_c
|
|
|
|
const/16 v2, 0x62
|
|
|
|
if-eq v0, v2, :cond_b
|
|
|
|
const/16 v2, 0x66
|
|
|
|
if-eq v0, v2, :cond_a
|
|
|
|
const/16 v3, 0x6e
|
|
|
|
if-eq v0, v3, :cond_9
|
|
|
|
const/16 v3, 0x72
|
|
|
|
if-eq v0, v3, :cond_8
|
|
|
|
const/16 v3, 0x74
|
|
|
|
if-eq v0, v3, :cond_7
|
|
|
|
const/16 v3, 0x75
|
|
|
|
if-eq v0, v3, :cond_1
|
|
|
|
iget-boolean v1, p0, Lcom/airbnb/lottie/e/a/e;->lenient:Z
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
int-to-char v0, v0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "Invalid escape sequence: \\"
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
int-to-char v0, v0
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/e/a/e;->B(Ljava/lang/String;)Lcom/airbnb/lottie/e/a/b;
|
|
|
|
move-result-object v0
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->lZ:Lokio/d;
|
|
|
|
const-wide/16 v3, 0x4
|
|
|
|
invoke-interface {v0, v3, v4}, Lokio/d;->request(J)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
:goto_0
|
|
const/4 v6, 0x4
|
|
|
|
if-ge v0, v6, :cond_5
|
|
|
|
iget-object v6, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
int-to-long v7, v0
|
|
|
|
invoke-virtual {v6, v7, v8}, Lokio/c;->av(J)B
|
|
|
|
move-result v6
|
|
|
|
shl-int/lit8 v5, v5, 0x4
|
|
|
|
int-to-char v5, v5
|
|
|
|
const/16 v7, 0x30
|
|
|
|
if-lt v6, v7, :cond_2
|
|
|
|
const/16 v7, 0x39
|
|
|
|
if-gt v6, v7, :cond_2
|
|
|
|
add-int/lit8 v6, v6, -0x30
|
|
|
|
:goto_1
|
|
add-int/2addr v5, v6
|
|
|
|
int-to-char v5, v5
|
|
|
|
goto :goto_3
|
|
|
|
:cond_2
|
|
const/16 v7, 0x61
|
|
|
|
if-lt v6, v7, :cond_3
|
|
|
|
if-gt v6, v2, :cond_3
|
|
|
|
add-int/lit8 v6, v6, -0x61
|
|
|
|
:goto_2
|
|
add-int/2addr v6, v1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
const/16 v7, 0x41
|
|
|
|
if-lt v6, v7, :cond_4
|
|
|
|
const/16 v7, 0x46
|
|
|
|
if-gt v6, v7, :cond_4
|
|
|
|
add-int/lit8 v6, v6, -0x41
|
|
|
|
goto :goto_2
|
|
|
|
:goto_3
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "\\u"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v1, v3, v4}, Lokio/c;->ax(J)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
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
|
|
|
|
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/e/a/e;->B(Ljava/lang/String;)Lcom/airbnb/lottie/e/a/b;
|
|
|
|
move-result-object v0
|
|
|
|
throw v0
|
|
|
|
:cond_5
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v0, v3, v4}, Lokio/c;->aB(J)V
|
|
|
|
return v5
|
|
|
|
:cond_6
|
|
new-instance v0, Ljava/io/EOFException;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "Unterminated escape sequence at path "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Ljava/io/EOFException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_7
|
|
const/16 v0, 0x9
|
|
|
|
return v0
|
|
|
|
:cond_8
|
|
const/16 v0, 0xd
|
|
|
|
return v0
|
|
|
|
:cond_9
|
|
return v1
|
|
|
|
:cond_a
|
|
const/16 v0, 0xc
|
|
|
|
return v0
|
|
|
|
:cond_b
|
|
const/16 v0, 0x8
|
|
|
|
return v0
|
|
|
|
:cond_c
|
|
int-to-char v0, v0
|
|
|
|
return v0
|
|
|
|
:cond_d
|
|
const-string v0, "Unterminated escape sequence"
|
|
|
|
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/e/a/e;->B(Ljava/lang/String;)Lcom/airbnb/lottie/e/a/b;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_5
|
|
|
|
:goto_4
|
|
throw v0
|
|
|
|
:goto_5
|
|
goto :goto_4
|
|
.end method
|
|
|
|
.method private skipToEndOfLine()V
|
|
.locals 6
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->lZ:Lokio/d;
|
|
|
|
sget-object v1, Lcom/airbnb/lottie/e/a/e;->lX:Lokio/ByteString;
|
|
|
|
invoke-interface {v0, v1}, Lokio/d;->k(Lokio/ByteString;)J
|
|
|
|
move-result-wide v0
|
|
|
|
iget-object v2, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
const-wide/16 v3, -0x1
|
|
|
|
cmp-long v5, v0, v3
|
|
|
|
if-eqz v5, :cond_0
|
|
|
|
const-wide/16 v3, 0x1
|
|
|
|
add-long/2addr v0, v3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-wide v0, v2, Lokio/c;->size:J
|
|
|
|
:goto_0
|
|
invoke-virtual {v2, v0, v1}, Lokio/c;->aB(J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private skipUnquotedValue()V
|
|
.locals 6
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->lZ:Lokio/d;
|
|
|
|
sget-object v1, Lcom/airbnb/lottie/e/a/e;->lW:Lokio/ByteString;
|
|
|
|
invoke-interface {v0, v1}, Lokio/d;->k(Lokio/ByteString;)J
|
|
|
|
move-result-wide v0
|
|
|
|
iget-object v2, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
const-wide/16 v3, -0x1
|
|
|
|
cmp-long v5, v0, v3
|
|
|
|
if-eqz v5, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-wide v0, v2, Lokio/c;->size:J
|
|
|
|
:goto_0
|
|
invoke-virtual {v2, v0, v1}, Lokio/c;->aB(J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lcom/airbnb/lottie/e/a/c$a;)I
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->doPeek()I
|
|
|
|
move-result v0
|
|
|
|
:cond_0
|
|
const/16 v1, 0xc
|
|
|
|
const/4 v2, -0x1
|
|
|
|
if-lt v0, v1, :cond_5
|
|
|
|
const/16 v1, 0xf
|
|
|
|
if-le v0, v1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
if-ne v0, v1, :cond_2
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
invoke-direct {p0, v0, p1}, Lcom/airbnb/lottie/e/a/e;->a(Ljava/lang/String;Lcom/airbnb/lottie/e/a/c$a;)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
:cond_2
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->lZ:Lokio/d;
|
|
|
|
iget-object v3, p1, Lcom/airbnb/lottie/e/a/c$a;->lI:Lokio/k;
|
|
|
|
invoke-interface {v0, v3}, Lokio/d;->a(Lokio/k;)I
|
|
|
|
move-result v0
|
|
|
|
if-eq v0, v2, :cond_3
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput v1, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/e/a/e;->pathNames:[Ljava/lang/String;
|
|
|
|
iget v2, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
add-int/lit8 v2, v2, -0x1
|
|
|
|
iget-object p1, p1, Lcom/airbnb/lottie/e/a/c$a;->lH:[Ljava/lang/String;
|
|
|
|
aget-object p1, p1, v0
|
|
|
|
aput-object p1, v1, v2
|
|
|
|
return v0
|
|
|
|
:cond_3
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->pathNames:[Ljava/lang/String;
|
|
|
|
iget v3, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
add-int/lit8 v3, v3, -0x1
|
|
|
|
aget-object v0, v0, v3
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->nextName()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-direct {p0, v3, p1}, Lcom/airbnb/lottie/e/a/e;->a(Ljava/lang/String;Lcom/airbnb/lottie/e/a/c$a;)I
|
|
|
|
move-result p1
|
|
|
|
if-ne p1, v2, :cond_4
|
|
|
|
iput v1, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
iput-object v3, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/e/a/e;->pathNames:[Ljava/lang/String;
|
|
|
|
iget v2, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
add-int/lit8 v2, v2, -0x1
|
|
|
|
aput-object v0, v1, v2
|
|
|
|
:cond_4
|
|
return p1
|
|
|
|
:cond_5
|
|
:goto_0
|
|
return v2
|
|
.end method
|
|
|
|
.method public final beginArray()V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->doPeek()I
|
|
|
|
move-result v0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x3
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/e/a/e;->h(I)V
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/e/a/e;->pathIndices:[I
|
|
|
|
iget v2, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
sub-int/2addr v2, v0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
aput v0, v1, v2
|
|
|
|
iput v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "Expected BEGIN_ARRAY but was "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->by()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, " at path "
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final beginObject()V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->doPeek()I
|
|
|
|
move-result v0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x1
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
const/4 v0, 0x3
|
|
|
|
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/e/a/e;->h(I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "Expected BEGIN_OBJECT but was "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->by()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, " at path "
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final by()Lcom/airbnb/lottie/e/a/c$b;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->doPeek()I
|
|
|
|
move-result v0
|
|
|
|
:cond_0
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
new-instance v0, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V
|
|
|
|
throw v0
|
|
|
|
:pswitch_0
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/c$b;->lS:Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
return-object v0
|
|
|
|
:pswitch_1
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/c$b;->lP:Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
return-object v0
|
|
|
|
:pswitch_2
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/c$b;->lN:Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
return-object v0
|
|
|
|
:pswitch_3
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/c$b;->lO:Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
return-object v0
|
|
|
|
:pswitch_4
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/c$b;->lR:Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
return-object v0
|
|
|
|
:pswitch_5
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/c$b;->lQ:Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
return-object v0
|
|
|
|
:pswitch_6
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/c$b;->lK:Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
return-object v0
|
|
|
|
:pswitch_7
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/c$b;->lJ:Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
return-object v0
|
|
|
|
:pswitch_8
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/c$b;->lM:Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
return-object v0
|
|
|
|
:pswitch_9
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/c$b;->lL:Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
return-object v0
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_9
|
|
:pswitch_8
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_3
|
|
:pswitch_3
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_2
|
|
:pswitch_2
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public final bz()V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-boolean v0, p0, Lcom/airbnb/lottie/e/a/e;->lG:Z
|
|
|
|
if-nez v0, :cond_5
|
|
|
|
iget v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->doPeek()I
|
|
|
|
move-result v0
|
|
|
|
:cond_0
|
|
const/16 v1, 0xe
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->skipUnquotedValue()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/16 v1, 0xd
|
|
|
|
if-ne v0, v1, :cond_2
|
|
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/e;->lV:Lokio/ByteString;
|
|
|
|
invoke-direct {p0, v0}, Lcom/airbnb/lottie/e/a/e;->b(Lokio/ByteString;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/16 v1, 0xc
|
|
|
|
if-ne v0, v1, :cond_3
|
|
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/e;->lU:Lokio/ByteString;
|
|
|
|
invoke-direct {p0, v0}, Lcom/airbnb/lottie/e/a/e;->b(Lokio/ByteString;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const/16 v1, 0xf
|
|
|
|
if-ne v0, v1, :cond_4
|
|
|
|
:goto_0
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->pathNames:[Ljava/lang/String;
|
|
|
|
iget v1, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
const-string v2, "null"
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
return-void
|
|
|
|
:cond_4
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "Expected a name but was "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->by()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, " at path "
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_5
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "Cannot skip unexpected "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->by()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, " at "
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final close()V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/e/a/e;->lF:[I
|
|
|
|
const/16 v2, 0x8
|
|
|
|
aput v2, v1, v0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput v0, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
invoke-virtual {v0}, Lokio/c;->clear()V
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->lZ:Lokio/d;
|
|
|
|
invoke-interface {v0}, Lokio/d;->close()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final endArray()V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->doPeek()I
|
|
|
|
move-result v0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x4
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
iget v0, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
iput v0, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->pathIndices:[I
|
|
|
|
iget v1, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
aget v2, v0, v1
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
aput v2, v0, v1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "Expected END_ARRAY but was "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->by()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, " at path "
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final endObject()V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->doPeek()I
|
|
|
|
move-result v0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x2
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
iget v0, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
iput v0, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->pathNames:[Ljava/lang/String;
|
|
|
|
iget v1, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->pathIndices:[I
|
|
|
|
iget v1, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
aget v2, v0, v1
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
aput v2, v0, v1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "Expected END_OBJECT but was "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->by()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, " at path "
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final hasNext()Z
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->doPeek()I
|
|
|
|
move-result v0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x2
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
const/4 v1, 0x4
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
const/16 v1, 0x12
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final nextBoolean()Z
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->doPeek()I
|
|
|
|
move-result v0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x5
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
iput v2, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->pathIndices:[I
|
|
|
|
iget v1, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
sub-int/2addr v1, v3
|
|
|
|
aget v2, v0, v1
|
|
|
|
add-int/2addr v2, v3
|
|
|
|
aput v2, v0, v1
|
|
|
|
return v3
|
|
|
|
:cond_1
|
|
const/4 v1, 0x6
|
|
|
|
if-ne v0, v1, :cond_2
|
|
|
|
iput v2, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->pathIndices:[I
|
|
|
|
iget v1, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
sub-int/2addr v1, v3
|
|
|
|
aget v4, v0, v1
|
|
|
|
add-int/2addr v4, v3
|
|
|
|
aput v4, v0, v1
|
|
|
|
return v2
|
|
|
|
:cond_2
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "Expected a boolean but was "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->by()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, " at path "
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final nextDouble()D
|
|
.locals 8
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->doPeek()I
|
|
|
|
move-result v0
|
|
|
|
:cond_0
|
|
const/16 v1, 0x10
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
iput v2, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->pathIndices:[I
|
|
|
|
iget v1, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
aget v2, v0, v1
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
aput v2, v0, v1
|
|
|
|
iget-wide v0, p0, Lcom/airbnb/lottie/e/a/e;->peekedLong:J
|
|
|
|
long-to-double v0, v0
|
|
|
|
return-wide v0
|
|
|
|
:cond_1
|
|
const/16 v1, 0x11
|
|
|
|
const-string v3, "Expected a double but was "
|
|
|
|
const/16 v4, 0xb
|
|
|
|
const-string v5, " at path "
|
|
|
|
if-ne v0, v1, :cond_2
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
iget v1, p0, Lcom/airbnb/lottie/e/a/e;->peekedNumberLength:I
|
|
|
|
int-to-long v6, v1
|
|
|
|
invoke-virtual {v0, v6, v7}, Lokio/c;->ax(J)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/16 v1, 0x9
|
|
|
|
if-ne v0, v1, :cond_3
|
|
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/e;->lV:Lokio/ByteString;
|
|
|
|
invoke-direct {p0, v0}, Lcom/airbnb/lottie/e/a/e;->a(Lokio/ByteString;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const/16 v1, 0x8
|
|
|
|
if-ne v0, v1, :cond_4
|
|
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/e;->lU:Lokio/ByteString;
|
|
|
|
invoke-direct {p0, v0}, Lcom/airbnb/lottie/e/a/e;->a(Lokio/ByteString;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
const/16 v1, 0xa
|
|
|
|
if-ne v0, v1, :cond_5
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->nextUnquotedValue()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
if-ne v0, v4, :cond_8
|
|
|
|
:goto_0
|
|
iput v4, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
invoke-static {v0}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D
|
|
|
|
move-result-wide v0
|
|
:try_end_0
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
iget-boolean v3, p0, Lcom/airbnb/lottie/e/a/e;->lenient:Z
|
|
|
|
if-nez v3, :cond_7
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Double;->isNaN(D)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_6
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Double;->isInfinite(D)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_6
|
|
|
|
goto :goto_1
|
|
|
|
:cond_6
|
|
new-instance v2, Lcom/airbnb/lottie/e/a/b;
|
|
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
const-string v4, "JSON forbids NaN and infinities: "
|
|
|
|
invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v3, v0, v1}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {v2, v0}, Lcom/airbnb/lottie/e/a/b;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v2
|
|
|
|
:cond_7
|
|
:goto_1
|
|
const/4 v3, 0x0
|
|
|
|
iput-object v3, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
iput v2, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
iget-object v2, p0, Lcom/airbnb/lottie/e/a/e;->pathIndices:[I
|
|
|
|
iget v3, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
add-int/lit8 v3, v3, -0x1
|
|
|
|
aget v4, v2, v3
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
aput v4, v2, v3
|
|
|
|
return-wide v0
|
|
|
|
:catch_0
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v2, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_8
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->by()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final nextInt()I
|
|
.locals 9
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->doPeek()I
|
|
|
|
move-result v0
|
|
|
|
:cond_0
|
|
const/16 v1, 0x10
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const-string v3, " at path "
|
|
|
|
const-string v4, "Expected an int but was "
|
|
|
|
if-ne v0, v1, :cond_2
|
|
|
|
iget-wide v0, p0, Lcom/airbnb/lottie/e/a/e;->peekedLong:J
|
|
|
|
long-to-int v5, v0
|
|
|
|
int-to-long v6, v5
|
|
|
|
cmp-long v8, v0, v6
|
|
|
|
if-nez v8, :cond_1
|
|
|
|
iput v2, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->pathIndices:[I
|
|
|
|
iget v1, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
aget v2, v0, v1
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
aput v2, v0, v1
|
|
|
|
return v5
|
|
|
|
:cond_1
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-wide v4, p0, Lcom/airbnb/lottie/e/a/e;->peekedLong:J
|
|
|
|
invoke-virtual {v1, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
const/16 v1, 0x11
|
|
|
|
const/16 v5, 0xb
|
|
|
|
if-ne v0, v1, :cond_3
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
iget v1, p0, Lcom/airbnb/lottie/e/a/e;->peekedNumberLength:I
|
|
|
|
int-to-long v6, v1
|
|
|
|
invoke-virtual {v0, v6, v7}, Lokio/c;->ax(J)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
const/16 v1, 0x9
|
|
|
|
if-eq v0, v1, :cond_6
|
|
|
|
const/16 v6, 0x8
|
|
|
|
if-ne v0, v6, :cond_4
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
if-ne v0, v5, :cond_5
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->by()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_6
|
|
:goto_0
|
|
if-ne v0, v1, :cond_7
|
|
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/e;->lV:Lokio/ByteString;
|
|
|
|
invoke-direct {p0, v0}, Lcom/airbnb/lottie/e/a/e;->a(Lokio/ByteString;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_7
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/e;->lU:Lokio/ByteString;
|
|
|
|
invoke-direct {p0, v0}, Lcom/airbnb/lottie/e/a/e;->a(Lokio/ByteString;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_1
|
|
iput-object v0, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
iput v2, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/e/a/e;->pathIndices:[I
|
|
|
|
iget v6, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
add-int/lit8 v6, v6, -0x1
|
|
|
|
aget v7, v1, v6
|
|
|
|
add-int/lit8 v7, v7, 0x1
|
|
|
|
aput v7, v1, v6
|
|
:try_end_0
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return v0
|
|
|
|
:catch_0
|
|
:goto_2
|
|
iput v5, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
:try_start_1
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
invoke-static {v0}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D
|
|
|
|
move-result-wide v0
|
|
:try_end_1
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
double-to-int v5, v0
|
|
|
|
int-to-double v6, v5
|
|
|
|
cmpl-double v8, v6, v0
|
|
|
|
if-nez v8, :cond_8
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
iput v2, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->pathIndices:[I
|
|
|
|
iget v1, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
aget v2, v0, v1
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
aput v2, v0, v1
|
|
|
|
return v5
|
|
|
|
:cond_8
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v2, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:catch_1
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v2, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final nextName()Ljava/lang/String;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->doPeek()I
|
|
|
|
move-result v0
|
|
|
|
:cond_0
|
|
const/16 v1, 0xe
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->nextUnquotedValue()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/16 v1, 0xd
|
|
|
|
if-ne v0, v1, :cond_2
|
|
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/e;->lV:Lokio/ByteString;
|
|
|
|
invoke-direct {p0, v0}, Lcom/airbnb/lottie/e/a/e;->a(Lokio/ByteString;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/16 v1, 0xc
|
|
|
|
if-ne v0, v1, :cond_3
|
|
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/e;->lU:Lokio/ByteString;
|
|
|
|
invoke-direct {p0, v0}, Lcom/airbnb/lottie/e/a/e;->a(Lokio/ByteString;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const/16 v1, 0xf
|
|
|
|
if-ne v0, v1, :cond_4
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
:goto_0
|
|
const/4 v1, 0x0
|
|
|
|
iput v1, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/e/a/e;->pathNames:[Ljava/lang/String;
|
|
|
|
iget v2, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
add-int/lit8 v2, v2, -0x1
|
|
|
|
aput-object v0, v1, v2
|
|
|
|
return-object v0
|
|
|
|
:cond_4
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "Expected a name but was "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->by()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, " at path "
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final nextString()Ljava/lang/String;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->doPeek()I
|
|
|
|
move-result v0
|
|
|
|
:cond_0
|
|
const/16 v1, 0xa
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->nextUnquotedValue()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/16 v1, 0x9
|
|
|
|
if-ne v0, v1, :cond_2
|
|
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/e;->lV:Lokio/ByteString;
|
|
|
|
invoke-direct {p0, v0}, Lcom/airbnb/lottie/e/a/e;->a(Lokio/ByteString;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/16 v1, 0x8
|
|
|
|
if-ne v0, v1, :cond_3
|
|
|
|
sget-object v0, Lcom/airbnb/lottie/e/a/e;->lU:Lokio/ByteString;
|
|
|
|
invoke-direct {p0, v0}, Lcom/airbnb/lottie/e/a/e;->a(Lokio/ByteString;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const/16 v1, 0xb
|
|
|
|
if-ne v0, v1, :cond_4
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-object v1, p0, Lcom/airbnb/lottie/e/a/e;->peekedString:Ljava/lang/String;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
const/16 v1, 0x10
|
|
|
|
if-ne v0, v1, :cond_5
|
|
|
|
iget-wide v0, p0, Lcom/airbnb/lottie/e/a/e;->peekedLong:J
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Long;->toString(J)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
const/16 v1, 0x11
|
|
|
|
if-ne v0, v1, :cond_6
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
iget v1, p0, Lcom/airbnb/lottie/e/a/e;->peekedNumberLength:I
|
|
|
|
int-to-long v1, v1
|
|
|
|
invoke-virtual {v0, v1, v2}, Lokio/c;->ax(J)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
const/4 v1, 0x0
|
|
|
|
iput v1, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/e/a/e;->pathIndices:[I
|
|
|
|
iget v2, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
add-int/lit8 v2, v2, -0x1
|
|
|
|
aget v3, v1, v2
|
|
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
aput v3, v1, v2
|
|
|
|
return-object v0
|
|
|
|
:cond_6
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "Expected a string but was "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->by()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, " at path "
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final skipValue()V
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-boolean v0, p0, Lcom/airbnb/lottie/e/a/e;->lG:Z
|
|
|
|
if-nez v0, :cond_10
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:cond_0
|
|
iget v2, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->doPeek()I
|
|
|
|
move-result v2
|
|
|
|
:cond_1
|
|
const/4 v3, 0x3
|
|
|
|
const/4 v4, 0x1
|
|
|
|
if-ne v2, v3, :cond_2
|
|
|
|
invoke-virtual {p0, v4}, Lcom/airbnb/lottie/e/a/e;->h(I)V
|
|
|
|
:goto_0
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto/16 :goto_4
|
|
|
|
:cond_2
|
|
if-ne v2, v4, :cond_3
|
|
|
|
invoke-virtual {p0, v3}, Lcom/airbnb/lottie/e/a/e;->h(I)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const/4 v3, 0x4
|
|
|
|
const-string v5, " at path "
|
|
|
|
const-string v6, "Expected a value but was "
|
|
|
|
if-ne v2, v3, :cond_5
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
if-ltz v1, :cond_4
|
|
|
|
iget v2, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
sub-int/2addr v2, v4
|
|
|
|
iput v2, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
goto/16 :goto_4
|
|
|
|
:cond_4
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->by()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_5
|
|
const/4 v3, 0x2
|
|
|
|
if-ne v2, v3, :cond_7
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
if-ltz v1, :cond_6
|
|
|
|
iget v2, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
sub-int/2addr v2, v4
|
|
|
|
iput v2, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
goto/16 :goto_4
|
|
|
|
:cond_6
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->by()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_7
|
|
const/16 v3, 0xe
|
|
|
|
if-eq v2, v3, :cond_f
|
|
|
|
const/16 v3, 0xa
|
|
|
|
if-ne v2, v3, :cond_8
|
|
|
|
goto :goto_3
|
|
|
|
:cond_8
|
|
const/16 v3, 0x9
|
|
|
|
if-eq v2, v3, :cond_e
|
|
|
|
const/16 v3, 0xd
|
|
|
|
if-ne v2, v3, :cond_9
|
|
|
|
goto :goto_2
|
|
|
|
:cond_9
|
|
const/16 v3, 0x8
|
|
|
|
if-eq v2, v3, :cond_d
|
|
|
|
const/16 v3, 0xc
|
|
|
|
if-ne v2, v3, :cond_a
|
|
|
|
goto :goto_1
|
|
|
|
:cond_a
|
|
const/16 v3, 0x11
|
|
|
|
if-ne v2, v3, :cond_b
|
|
|
|
iget-object v2, p0, Lcom/airbnb/lottie/e/a/e;->ma:Lokio/c;
|
|
|
|
iget v3, p0, Lcom/airbnb/lottie/e/a/e;->peekedNumberLength:I
|
|
|
|
int-to-long v5, v3
|
|
|
|
invoke-virtual {v2, v5, v6}, Lokio/c;->aB(J)V
|
|
|
|
goto :goto_4
|
|
|
|
:cond_b
|
|
const/16 v3, 0x12
|
|
|
|
if-eq v2, v3, :cond_c
|
|
|
|
goto :goto_4
|
|
|
|
:cond_c
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->by()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_d
|
|
:goto_1
|
|
sget-object v2, Lcom/airbnb/lottie/e/a/e;->lU:Lokio/ByteString;
|
|
|
|
invoke-direct {p0, v2}, Lcom/airbnb/lottie/e/a/e;->b(Lokio/ByteString;)V
|
|
|
|
goto :goto_4
|
|
|
|
:cond_e
|
|
:goto_2
|
|
sget-object v2, Lcom/airbnb/lottie/e/a/e;->lV:Lokio/ByteString;
|
|
|
|
invoke-direct {p0, v2}, Lcom/airbnb/lottie/e/a/e;->b(Lokio/ByteString;)V
|
|
|
|
goto :goto_4
|
|
|
|
:cond_f
|
|
:goto_3
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/e/a/e;->skipUnquotedValue()V
|
|
|
|
:goto_4
|
|
iput v0, p0, Lcom/airbnb/lottie/e/a/e;->peeked:I
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->pathIndices:[I
|
|
|
|
iget v1, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
sub-int/2addr v1, v4
|
|
|
|
aget v2, v0, v1
|
|
|
|
add-int/2addr v2, v4
|
|
|
|
aput v2, v0, v1
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/e/a/e;->pathNames:[Ljava/lang/String;
|
|
|
|
iget v1, p0, Lcom/airbnb/lottie/e/a/e;->stackSize:I
|
|
|
|
sub-int/2addr v1, v4
|
|
|
|
const-string v2, "null"
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
return-void
|
|
|
|
:cond_10
|
|
new-instance v0, Lcom/airbnb/lottie/e/a/a;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "Cannot skip unexpected "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->by()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, " at "
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/e;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/airbnb/lottie/e/a/a;-><init>(Ljava/lang/String;)V
|
|
|
|
goto :goto_6
|
|
|
|
:goto_5
|
|
throw v0
|
|
|
|
:goto_6
|
|
goto :goto_5
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "JsonReader("
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/e/a/e;->lZ:Lokio/d;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ")"
|
|
|
|
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
|