d.smali

.class public Lcom/sandboxol/file/g/d;
.super Lcom/sandboxol/file/g/b;
.source "BlockyVerify.java"


# direct methods
.method public constructor <init>()V
    .registers 1

    .line 1
    invoke-direct {p0}, Lcom/sandboxol/file/g/b;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/sandboxol/file/b/c;Lio/reactivex/f;)V
    .registers 7
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    .line 10
    invoke-virtual {p0}, Lcom/sandboxol/file/b/c;->b()[Lcom/sandboxol/file/entity/VerifyInfo;

    move-result-object p0

    array-length v0, p0

    const/4 v1, 0x0

    :goto_6
    if-ge v1, v0, :cond_24

    aget-object v2, p0, v1

    .line 11
    invoke-virtual {v2}, Lcom/sandboxol/file/entity/VerifyInfo;->getCode()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2}, Lcom/sandboxol/file/entity/VerifyInfo;->getFileDir()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2}, Lcom/sandboxol/file/entity/VerifyInfo;->getFileName()Ljava/lang/String;

    move-result-object v2

    invoke-static {v3, v4, v2}, Lcom/sandboxol/file/f/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z

    move-result v2

    .line 12
    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    invoke-interface {p1, v2}, Lio/reactivex/d;->onNext(Ljava/lang/Object;)V

    add-int/lit8 v1, v1, 0x1

    goto :goto_6

    .line 13
    :cond_24
    invoke-interface {p1}, Lio/reactivex/d;->onComplete()V

    return-void
.end method


# virtual methods
.method public a(Lcom/sandboxol/file/b/c;Lcom/sandboxol/file/d/g;)V
    .registers 5

    .line 1
    invoke-virtual {p1}, Lcom/sandboxol/file/a/a;->a()I

    move-result v0

    const/4 v1, 0x1

    if-eq v0, v1, :cond_14

    const/4 v1, 0x2

    if-eq v0, v1, :cond_f

    .line 2
    invoke-static {}, Lio/reactivex/android/b/b;->a()Lio/reactivex/x;

    move-result-object v0

    goto :goto_18

    .line 3
    :cond_f
    invoke-static {}, Lio/reactivex/f/b;->b()Lio/reactivex/x;

    move-result-object v0

    goto :goto_18

    .line 4
    :cond_14
    invoke-static {}, Lio/reactivex/android/b/b;->a()Lio/reactivex/x;

    move-result-object v0

    .line 5
    :goto_18
    invoke-virtual {p1}, Lcom/sandboxol/file/b/c;->b()[Lcom/sandboxol/file/entity/VerifyInfo;

    move-result-object v1

    if-eqz v1, :cond_46

    invoke-virtual {p1}, Lcom/sandboxol/file/b/c;->b()[Lcom/sandboxol/file/entity/VerifyInfo;

    move-result-object v1

    array-length v1, v1

    if-nez v1, :cond_26

    goto :goto_46

    .line 6
    :cond_26
    new-instance v1, Lcom/sandboxol/file/g/a;

    invoke-direct {v1, p1}, Lcom/sandboxol/file/g/a;-><init>(Lcom/sandboxol/file/b/c;)V

    sget-object p1, Lio/reactivex/BackpressureStrategy;->ERROR:Lio/reactivex/BackpressureStrategy;

    invoke-static {v1, p1}, Lio/reactivex/e;->a(Lio/reactivex/g;Lio/reactivex/BackpressureStrategy;)Lio/reactivex/e;

    move-result-object p1

    .line 7
    invoke-static {}, Lio/reactivex/f/b;->b()Lio/reactivex/x;

    move-result-object v1

    invoke-virtual {p1, v1}, Lio/reactivex/e;->b(Lio/reactivex/x;)Lio/reactivex/e;

    move-result-object p1

    invoke-virtual {p1, v0}, Lio/reactivex/e;->a(Lio/reactivex/x;)Lio/reactivex/e;

    move-result-object p1

    new-instance v0, Lcom/sandboxol/file/g/c;

    invoke-direct {v0, p0, p2}, Lcom/sandboxol/file/g/c;-><init>(Lcom/sandboxol/file/g/d;Lcom/sandboxol/file/d/g;)V

    .line 8
    invoke-virtual {p1, v0}, Lio/reactivex/e;->a(Lf/b/c;)V

    return-void

    .line 9
    :cond_46
    :goto_46
    new-instance p1, Ljava/lang/Throwable;

    const-string v0, "VerifyBuilder.getInfo() == null || VerifyBuilder.getInfo().length == 0"

    invoke-direct {p1, v0}, Ljava/lang/Throwable;-><init>(Ljava/lang/String;)V

    invoke-interface {p2, p1}, Lcom/sandboxol/file/d/g;->error(Ljava/lang/Throwable;)V

    return-void
.end method

.method public b()V
    .registers 2

    .line 1
    invoke-virtual {p0}, Lcom/sandboxol/file/g/b;->a()Lf/b/d;

    move-result-object v0

    if-eqz v0, :cond_d

    .line 2
    invoke-virtual {p0}, Lcom/sandboxol/file/g/b;->a()Lf/b/d;

    move-result-object v0

    invoke-interface {v0}, Lf/b/d;->cancel()V

    :cond_d
    return-void
.end method