337 lines
5.4 KiB
Smali
337 lines
5.4 KiB
Smali
.class public final Lf/k/a/b/h1/t/a;
|
|
.super Ljava/lang/Object;
|
|
.source "CssParser.java"
|
|
|
|
|
|
# static fields
|
|
.field public static final c:Ljava/util/regex/Pattern;
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lf/k/a/b/l1/u;
|
|
|
|
.field public final b:Ljava/lang/StringBuilder;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
const-string v0, "\\[voice=\"([^\"]*)\"\\]"
|
|
|
|
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lf/k/a/b/h1/t/a;->c:Ljava/util/regex/Pattern;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Lf/k/a/b/l1/u;
|
|
|
|
invoke-direct {v0}, Lf/k/a/b/l1/u;-><init>()V
|
|
|
|
iput-object v0, p0, Lf/k/a/b/h1/t/a;->a:Lf/k/a/b/l1/u;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
iput-object v0, p0, Lf/k/a/b/h1/t/a;->b:Ljava/lang/StringBuilder;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Lf/k/a/b/l1/u;Ljava/lang/StringBuilder;)Ljava/lang/String;
|
|
.locals 5
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->setLength(I)V
|
|
|
|
iget v1, p0, Lf/k/a/b/l1/u;->b:I
|
|
|
|
iget v2, p0, Lf/k/a/b/l1/u;->c:I
|
|
|
|
:goto_0
|
|
if-ge v1, v2, :cond_5
|
|
|
|
if-nez v0, :cond_5
|
|
|
|
iget-object v3, p0, Lf/k/a/b/l1/u;->a:[B
|
|
|
|
aget-byte v3, v3, v1
|
|
|
|
int-to-char v3, v3
|
|
|
|
const/16 v4, 0x41
|
|
|
|
if-lt v3, v4, :cond_0
|
|
|
|
const/16 v4, 0x5a
|
|
|
|
if-le v3, v4, :cond_4
|
|
|
|
:cond_0
|
|
const/16 v4, 0x61
|
|
|
|
if-lt v3, v4, :cond_1
|
|
|
|
const/16 v4, 0x7a
|
|
|
|
if-le v3, v4, :cond_4
|
|
|
|
:cond_1
|
|
const/16 v4, 0x30
|
|
|
|
if-lt v3, v4, :cond_2
|
|
|
|
const/16 v4, 0x39
|
|
|
|
if-le v3, v4, :cond_4
|
|
|
|
:cond_2
|
|
const/16 v4, 0x23
|
|
|
|
if-eq v3, v4, :cond_4
|
|
|
|
const/16 v4, 0x2d
|
|
|
|
if-eq v3, v4, :cond_4
|
|
|
|
const/16 v4, 0x2e
|
|
|
|
if-eq v3, v4, :cond_4
|
|
|
|
const/16 v4, 0x5f
|
|
|
|
if-ne v3, v4, :cond_3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
:goto_1
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
invoke-virtual {p1, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
iget v0, p0, Lf/k/a/b/l1/u;->b:I
|
|
|
|
sub-int/2addr v1, v0
|
|
|
|
invoke-virtual {p0, v1}, Lf/k/a/b/l1/u;->f(I)V
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static a(Lf/k/a/b/l1/u;)V
|
|
.locals 8
|
|
|
|
const/4 v0, 0x1
|
|
|
|
:cond_0
|
|
:goto_0
|
|
const/4 v1, 0x1
|
|
|
|
:goto_1
|
|
invoke-virtual {p0}, Lf/k/a/b/l1/u;->a()I
|
|
|
|
move-result v2
|
|
|
|
if-lez v2, :cond_6
|
|
|
|
if-eqz v1, :cond_6
|
|
|
|
iget v1, p0, Lf/k/a/b/l1/u;->b:I
|
|
|
|
iget-object v2, p0, Lf/k/a/b/l1/u;->a:[B
|
|
|
|
aget-byte v1, v2, v1
|
|
|
|
int-to-char v1, v1
|
|
|
|
const/16 v2, 0x9
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-eq v1, v2, :cond_1
|
|
|
|
const/16 v2, 0xa
|
|
|
|
if-eq v1, v2, :cond_1
|
|
|
|
const/16 v2, 0xc
|
|
|
|
if-eq v1, v2, :cond_1
|
|
|
|
const/16 v2, 0xd
|
|
|
|
if-eq v1, v2, :cond_1
|
|
|
|
const/16 v2, 0x20
|
|
|
|
if-eq v1, v2, :cond_1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
invoke-virtual {p0, v0}, Lf/k/a/b/l1/u;->f(I)V
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:goto_2
|
|
if-nez v1, :cond_0
|
|
|
|
iget v1, p0, Lf/k/a/b/l1/u;->b:I
|
|
|
|
iget v2, p0, Lf/k/a/b/l1/u;->c:I
|
|
|
|
iget-object v4, p0, Lf/k/a/b/l1/u;->a:[B
|
|
|
|
add-int/lit8 v5, v1, 0x2
|
|
|
|
if-gt v5, v2, :cond_4
|
|
|
|
add-int/lit8 v5, v1, 0x1
|
|
|
|
aget-byte v1, v4, v1
|
|
|
|
const/16 v6, 0x2f
|
|
|
|
if-ne v1, v6, :cond_4
|
|
|
|
add-int/lit8 v1, v5, 0x1
|
|
|
|
aget-byte v5, v4, v5
|
|
|
|
const/16 v7, 0x2a
|
|
|
|
if-ne v5, v7, :cond_4
|
|
|
|
:goto_3
|
|
add-int/lit8 v5, v1, 0x1
|
|
|
|
if-ge v5, v2, :cond_3
|
|
|
|
aget-byte v1, v4, v1
|
|
|
|
int-to-char v1, v1
|
|
|
|
if-ne v1, v7, :cond_2
|
|
|
|
aget-byte v1, v4, v5
|
|
|
|
int-to-char v1, v1
|
|
|
|
if-ne v1, v6, :cond_2
|
|
|
|
add-int/lit8 v2, v5, 0x1
|
|
|
|
move v1, v2
|
|
|
|
goto :goto_3
|
|
|
|
:cond_2
|
|
move v1, v5
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
iget v1, p0, Lf/k/a/b/l1/u;->b:I
|
|
|
|
sub-int/2addr v2, v1
|
|
|
|
invoke-virtual {p0, v2}, Lf/k/a/b/l1/u;->f(I)V
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
const/4 v1, 0x0
|
|
|
|
:goto_4
|
|
if-eqz v1, :cond_5
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
const/4 v1, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_6
|
|
return-void
|
|
.end method
|
|
|
|
.method public static b(Lf/k/a/b/l1/u;Ljava/lang/StringBuilder;)Ljava/lang/String;
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
invoke-static {p0}, Lf/k/a/b/h1/t/a;->a(Lf/k/a/b/l1/u;)V
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/l1/u;->a()I
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
invoke-static {p0, p1}, Lf/k/a/b/h1/t/a;->a(Lf/k/a/b/l1/u;Ljava/lang/StringBuilder;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, ""
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
return-object p1
|
|
|
|
:cond_1
|
|
invoke-static {v0}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/l1/u;->l()I
|
|
|
|
move-result p0
|
|
|
|
int-to-char p0, p0
|
|
|
|
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|