.class public Lcom/moji/mjweather/assshop/voice/task/DownLoadAndUnzipTask;
.super Lcom/moji/tool/thread/task/MJAsyncTask;
.source "DownLoadAndUnzipTask.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/tool/thread/task/MJAsyncTask<",
        "Ljava/lang/String;",
        "Ljava/lang/Integer;",
        "Ljava/lang/Boolean;",
        ">;"
    }
.end annotation


# instance fields
.field private a:Ljava/lang/String;

.field private b:Ljava/lang/String;

.field private c:Ljava/lang/String;


# direct methods
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 1

    .line 34
    sget-object v0, Lcom/moji/tool/thread/ThreadPriority;->NORMAL:Lcom/moji/tool/thread/ThreadPriority;

    invoke-direct {p0, v0}, Lcom/moji/tool/thread/task/MJAsyncTask;-><init>(Lcom/moji/tool/thread/ThreadPriority;)V

    .line 35
    iput-object p1, p0, Lcom/moji/mjweather/assshop/voice/task/DownLoadAndUnzipTask;->a:Ljava/lang/String;

    .line 36
    iput-object p2, p0, Lcom/moji/mjweather/assshop/voice/task/DownLoadAndUnzipTask;->b:Ljava/lang/String;

    .line 37
    iput-object p3, p0, Lcom/moji/mjweather/assshop/voice/task/DownLoadAndUnzipTask;->c:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method protected varargs a([Ljava/lang/String;)Ljava/lang/Boolean;
    .locals 9

    const/16 p1, 0x1000

    .line 42
    new-array p1, p1, [B

    const/4 v0, 0x0

    const/4 v1, 0x0

    .line 47
    :try_start_0
    new-instance v2, Ljava/io/File;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, p0, Lcom/moji/mjweather/assshop/voice/task/DownLoadAndUnzipTask;->b:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v4, p0, Lcom/moji/mjweather/assshop/voice/task/DownLoadAndUnzipTask;->c:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 48
    new-instance v3, Ljava/net/URL;

    iget-object v4, p0, Lcom/moji/mjweather/assshop/voice/task/DownLoadAndUnzipTask;->a:Ljava/lang/String;

    invoke-direct {v3, v4}, Ljava/net/URL;-><init>(Ljava/lang/String;)V

    .line 49
    new-instance v4, Lokhttp3/OkUrlFactory;

    invoke-static {}, Lcom/moji/requestcore/RequestManagerCenter;->b()Lcom/moji/requestcore/RequestManagerCenter;

    move-result-object v5

    invoke-virtual {v5}, Lcom/moji/requestcore/RequestManagerCenter;->d()Lokhttp3/OkHttpClient;

    move-result-object v5

    invoke-direct {v4, v5}, Lokhttp3/OkUrlFactory;-><init>(Lokhttp3/OkHttpClient;)V

    invoke-virtual {v4, v3}, Lokhttp3/OkUrlFactory;->a(Ljava/net/URL;)Ljava/net/HttpURLConnection;

    move-result-object v3

    const/16 v4, 0x7d0

    .line 50
    invoke-virtual {v3, v4}, Ljava/net/HttpURLConnection;->setConnectTimeout(I)V

    .line 51
    invoke-virtual {v3, v4}, Ljava/net/HttpURLConnection;->setReadTimeout(I)V

    .line 52
    invoke-virtual {v3}, Ljava/net/HttpURLConnection;->getContentLength()I

    move-result v4

    .line 53
    new-instance v5, Ljava/io/FileOutputStream;

    invoke-direct {v5, v2}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;)V
    :try_end_0
    .catch Ljava/net/MalformedURLException; {:try_start_0 .. :try_end_0} :catch_9
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_6
    .catchall {:try_start_0 .. :try_end_0} :catchall_1

    .line 54
    :try_start_1
    invoke-virtual {v3}, Ljava/net/HttpURLConnection;->getInputStream()Ljava/io/InputStream;

    move-result-object v3
    :try_end_1
    .catch Ljava/net/MalformedURLException; {:try_start_1 .. :try_end_1} :catch_5
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_4
    .catchall {:try_start_1 .. :try_end_1} :catchall_2

    const/4 v0, 0x0

    .line 57
    :goto_0
    :try_start_2
    invoke-virtual {v3, p1}, Ljava/io/InputStream;->read([B)I

    move-result v6

    const/4 v7, -0x1

    if-eq v6, v7, :cond_2

    const/4 v7, 0x1

    add-int/2addr v0, v7

    .line 59
    invoke-virtual {v5, p1, v1, v6}, Ljava/io/OutputStream;->write([BII)V

    const/16 v6, 0x64

    if-lez v4, :cond_0

    .line 62
    array-length v8, p1

    mul-int v8, v8, v0

    mul-int/lit8 v8, v8, 0x64

    div-int/2addr v8, v4

    goto :goto_1

    :cond_0
    const/4 v8, 0x0

    :goto_1
    if-le v8, v6, :cond_1

    goto :goto_2

    :cond_1
    move v6, v8

    .line 67
    :goto_2
    new-array v7, v7, [Ljava/lang/Integer;

    div-int/lit8 v6, v6, 0x2

    invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v6

    aput-object v6, v7, v1

    invoke-virtual {p0, v7}, Lcom/moji/mjweather/assshop/voice/task/DownLoadAndUnzipTask;->c([Ljava/lang/Object;)V

    goto :goto_0

    .line 69
    :cond_2
    invoke-virtual {v2}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object p1

    iget-object v0, p0, Lcom/moji/mjweather/assshop/voice/task/DownLoadAndUnzipTask;->b:Ljava/lang/String;

    int-to-long v6, v4

    invoke-virtual {p0, p1, v0, v6, v7}, Lcom/moji/mjweather/assshop/voice/task/DownLoadAndUnzipTask;->a(Ljava/lang/String;Ljava/lang/String;J)Z

    move-result p1

    invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object p1
    :try_end_2
    .catch Ljava/net/MalformedURLException; {:try_start_2 .. :try_end_2} :catch_3
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    if-eqz v3, :cond_3

    .line 79
    :try_start_3
    invoke-virtual {v3}, Ljava/io/InputStream;->close()V
    :try_end_3
    .catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_0

    goto :goto_3

    :catch_0
    move-exception v0

    const-string v1, "DownLoadAndUnzipTask"

    .line 81
    invoke-static {v1, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 86
    :cond_3
    :goto_3
    :try_start_4
    invoke-virtual {v5}, Ljava/io/OutputStream;->close()V
    :try_end_4
    .catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_1

    goto :goto_4

    :catch_1
    move-exception v0

    const-string v1, "DownLoadAndUnzipTask"

    .line 88
    invoke-static {v1, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    :goto_4
    return-object p1

    :catchall_0
    move-exception p1

    move-object v0, v3

    goto :goto_b

    :catch_2
    move-exception p1

    move-object v0, v3

    goto :goto_5

    :catch_3
    move-exception p1

    move-object v0, v3

    goto :goto_8

    :catch_4
    move-exception p1

    goto :goto_5

    :catch_5
    move-exception p1

    goto :goto_8

    :catchall_1
    move-exception p1

    move-object v5, v0

    goto :goto_b

    :catch_6
    move-exception p1

    move-object v5, v0

    :goto_5
    :try_start_5
    const-string v2, "DownLoadAndUnzipTask"

    .line 74
    invoke-static {v2, p1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

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

    move-result-object p1
    :try_end_5
    .catchall {:try_start_5 .. :try_end_5} :catchall_2

    if-eqz v0, :cond_4

    .line 79
    :try_start_6
    invoke-virtual {v0}, Ljava/io/InputStream;->close()V
    :try_end_6
    .catch Ljava/io/IOException; {:try_start_6 .. :try_end_6} :catch_7

    goto :goto_6

    :catch_7
    move-exception v0

    const-string v1, "DownLoadAndUnzipTask"

    .line 81
    invoke-static {v1, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    :cond_4
    :goto_6
    if-eqz v5, :cond_5

    .line 86
    :try_start_7
    invoke-virtual {v5}, Ljava/io/OutputStream;->close()V
    :try_end_7
    .catch Ljava/io/IOException; {:try_start_7 .. :try_end_7} :catch_8

    goto :goto_7

    :catch_8
    move-exception v0

    const-string v1, "DownLoadAndUnzipTask"

    .line 88
    invoke-static {v1, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    :cond_5
    :goto_7
    return-object p1

    :catch_9
    move-exception p1

    move-object v5, v0

    :goto_8
    :try_start_8
    const-string v2, "DownLoadAndUnzipTask"

    .line 71
    invoke-static {v2, p1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

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

    move-result-object p1
    :try_end_8
    .catchall {:try_start_8 .. :try_end_8} :catchall_2

    if-eqz v0, :cond_6

    .line 79
    :try_start_9
    invoke-virtual {v0}, Ljava/io/InputStream;->close()V
    :try_end_9
    .catch Ljava/io/IOException; {:try_start_9 .. :try_end_9} :catch_a

    goto :goto_9

    :catch_a
    move-exception v0

    const-string v1, "DownLoadAndUnzipTask"

    .line 81
    invoke-static {v1, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    :cond_6
    :goto_9
    if-eqz v5, :cond_7

    .line 86
    :try_start_a
    invoke-virtual {v5}, Ljava/io/OutputStream;->close()V
    :try_end_a
    .catch Ljava/io/IOException; {:try_start_a .. :try_end_a} :catch_b

    goto :goto_a

    :catch_b
    move-exception v0

    const-string v1, "DownLoadAndUnzipTask"

    .line 88
    invoke-static {v1, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    :cond_7
    :goto_a
    return-object p1

    :catchall_2
    move-exception p1

    :goto_b
    if-eqz v0, :cond_8

    .line 79
    :try_start_b
    invoke-virtual {v0}, Ljava/io/InputStream;->close()V
    :try_end_b
    .catch Ljava/io/IOException; {:try_start_b .. :try_end_b} :catch_c

    goto :goto_c

    :catch_c
    move-exception v0

    const-string v1, "DownLoadAndUnzipTask"

    .line 81
    invoke-static {v1, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    :cond_8
    :goto_c
    if-eqz v5, :cond_9

    .line 86
    :try_start_c
    invoke-virtual {v5}, Ljava/io/OutputStream;->close()V
    :try_end_c
    .catch Ljava/io/IOException; {:try_start_c .. :try_end_c} :catch_d

    goto :goto_d

    :catch_d
    move-exception v0

    const-string v1, "DownLoadAndUnzipTask"

    .line 88
    invoke-static {v1, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 91
    :cond_9
    :goto_d
    throw p1
.end method

.method protected bridge synthetic a([Ljava/lang/Object;)Ljava/lang/Object;
    .locals 0

    .line 26
    check-cast p1, [Ljava/lang/String;

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/assshop/voice/task/DownLoadAndUnzipTask;->a([Ljava/lang/String;)Ljava/lang/Boolean;

    move-result-object p1

    return-object p1
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;J)Z
    .locals 14

    move-object/from16 v1, p2

    const/4 v2, 0x1

    const/4 v3, 0x0

    .line 99
    :try_start_0
    new-instance v4, Ljava/io/FileInputStream;

    move-object v0, p1

    invoke-direct {v4, p1}, Ljava/io/FileInputStream;-><init>(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_9
    .catchall {:try_start_0 .. :try_end_0} :catchall_4

    .line 100
    :try_start_1
    new-instance v5, Ljava/util/zip/ZipInputStream;

    new-instance v0, Ljava/io/BufferedInputStream;

    invoke-direct {v0, v4}, Ljava/io/BufferedInputStream;-><init>(Ljava/io/InputStream;)V

    invoke-direct {v5, v0}, Ljava/util/zip/ZipInputStream;-><init>(Ljava/io/InputStream;)V

    .line 101
    new-instance v0, Ljava/io/File;

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 102
    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v6

    const/4 v7, 0x0

    if-eqz v6, :cond_0

    invoke-virtual {v0}, Ljava/io/File;->isDirectory()Z

    move-result v6

    if-nez v6, :cond_1

    .line 103
    :cond_0
    invoke-virtual {v0}, Ljava/io/File;->mkdirs()Z

    move-result v0
    :try_end_1
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_8
    .catchall {:try_start_1 .. :try_end_1} :catchall_3

    if-nez v0, :cond_1

    .line 151
    :try_start_2
    invoke-virtual {v4}, Ljava/io/InputStream;->close()V
    :try_end_2
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    move-object v1, v0

    const-string v0, "DownLoadAndUnzipTask"

    .line 154
    invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    :goto_0
    return v7

    :cond_1
    const/16 v0, 0x400

    .line 108
    :try_start_3
    new-array v6, v0, [B

    const-wide/16 v8, 0x0

    .line 111
    :goto_1
    invoke-virtual {v5}, Ljava/util/zip/ZipInputStream;->getNextEntry()Ljava/util/zip/ZipEntry;

    move-result-object v0

    if-eqz v0, :cond_8

    .line 112
    invoke-virtual {v0}, Ljava/util/zip/ZipEntry;->getName()Ljava/lang/String;

    move-result-object v10

    .line 113
    invoke-virtual {v0}, Ljava/util/zip/ZipEntry;->getCompressedSize()J

    move-result-wide v11

    const/4 v13, 0x0

    add-long/2addr v8, v11

    .line 114
    invoke-virtual {v0}, Ljava/util/zip/ZipEntry;->isDirectory()Z

    move-result v0

    if-eqz v0, :cond_3

    .line 115
    new-instance v0, Ljava/io/File;

    new-instance v11, Ljava/lang/StringBuilder;

    invoke-direct {v11}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v11, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v11, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-direct {v0, v10}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 116
    invoke-virtual {v0}, Ljava/io/File;->mkdirs()Z

    move-result v0
    :try_end_3
    .catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_8
    .catchall {:try_start_3 .. :try_end_3} :catchall_3

    if-nez v0, :cond_2

    .line 151
    :try_start_4
    invoke-virtual {v4}, Ljava/io/InputStream;->close()V
    :try_end_4
    .catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_1

    goto :goto_2

    :catch_1
    move-exception v0

    move-object v1, v0

    const-string v0, "DownLoadAndUnzipTask"

    .line 154
    invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    :goto_2
    return v7

    :cond_2
    move-object v12, p0

    move-wide/from16 v10, p3

    goto :goto_1

    .line 123
    :cond_3
    :try_start_5
    new-instance v11, Ljava/io/FileOutputStream;

    new-instance v0, Ljava/lang/StringBuilder;

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

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v10}, 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-direct {v11, v0, v7}, Ljava/io/FileOutputStream;-><init>(Ljava/lang/String;Z)V
    :try_end_5
    .catch Ljava/io/IOException; {:try_start_5 .. :try_end_5} :catch_4
    .catchall {:try_start_5 .. :try_end_5} :catchall_0

    .line 124
    :goto_3
    :try_start_6
    invoke-virtual {v5, v6}, Ljava/util/zip/ZipInputStream;->read([B)I

    move-result v0

    const/4 v10, -0x1

    if-eq v0, v10, :cond_4

    .line 125
    invoke-virtual {v11, v6, v7, v0}, Ljava/io/FileOutputStream;->write([BII)V
    :try_end_6
    .catch Ljava/io/IOException; {:try_start_6 .. :try_end_6} :catch_3
    .catchall {:try_start_6 .. :try_end_6} :catchall_1

    goto :goto_3

    .line 132
    :cond_4
    :try_start_7
    invoke-virtual {v11}, Ljava/io/FileOutputStream;->close()V

    .line 133
    invoke-virtual {v5}, Ljava/util/zip/ZipInputStream;->closeEntry()V
    :try_end_7
    .catch Ljava/io/IOException; {:try_start_7 .. :try_end_7} :catch_2
    .catchall {:try_start_7 .. :try_end_7} :catchall_3

    goto :goto_6

    :catch_2
    move-exception v0

    :try_start_8
    const-string v10, "DownLoadAndUnzipTask"

    .line 135
    :goto_4
    invoke-static {v10, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V
    :try_end_8
    .catch Ljava/io/IOException; {:try_start_8 .. :try_end_8} :catch_8
    .catchall {:try_start_8 .. :try_end_8} :catchall_3

    goto :goto_6

    :catch_3
    move-exception v0

    goto :goto_5

    :catchall_0
    move-exception v0

    move-object v12, p0

    move-object v1, v0

    goto :goto_8

    :catch_4
    move-exception v0

    move-object v11, v3

    :goto_5
    :try_start_9
    const-string v10, "DownLoadAndUnzipTask"

    .line 128
    invoke-static {v10, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V
    :try_end_9
    .catchall {:try_start_9 .. :try_end_9} :catchall_1

    if-eqz v11, :cond_5

    .line 132
    :try_start_a
    invoke-virtual {v11}, Ljava/io/FileOutputStream;->close()V

    .line 133
    invoke-virtual {v5}, Ljava/util/zip/ZipInputStream;->closeEntry()V
    :try_end_a
    .catch Ljava/io/IOException; {:try_start_a .. :try_end_a} :catch_5
    .catchall {:try_start_a .. :try_end_a} :catchall_3

    goto :goto_6

    :catch_5
    move-exception v0

    :try_start_b
    const-string v10, "DownLoadAndUnzipTask"

    goto :goto_4

    :cond_5
    :goto_6
    long-to-float v0, v8

    move-wide/from16 v10, p3

    long-to-float v12, v10

    div-float/2addr v0, v12

    const/high16 v12, 0x42480000    # 50.0f

    mul-float v0, v0, v12

    add-float/2addr v0, v12

    const/high16 v12, 0x42c80000    # 100.0f

    cmpl-float v13, v0, v12

    if-lez v13, :cond_6

    goto :goto_7

    :cond_6
    move v12, v0

    .line 143
    :goto_7
    new-array v0, v2, [Ljava/lang/Integer;

    float-to-int v12, v12

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v12

    aput-object v12, v0, v7
    :try_end_b
    .catch Ljava/io/IOException; {:try_start_b .. :try_end_b} :catch_8
    .catchall {:try_start_b .. :try_end_b} :catchall_3

    move-object v12, p0

    :try_start_c
    invoke-virtual {p0, v0}, Lcom/moji/mjweather/assshop/voice/task/DownLoadAndUnzipTask;->c([Ljava/lang/Object;)V
    :try_end_c
    .catch Ljava/io/IOException; {:try_start_c .. :try_end_c} :catch_7
    .catchall {:try_start_c .. :try_end_c} :catchall_2

    goto/16 :goto_1

    :catchall_1
    move-exception v0

    move-object v12, p0

    move-object v1, v0

    move-object v3, v11

    :goto_8
    if-eqz v3, :cond_7

    .line 132
    :try_start_d
    invoke-virtual {v3}, Ljava/io/FileOutputStream;->close()V

    .line 133
    invoke-virtual {v5}, Ljava/util/zip/ZipInputStream;->closeEntry()V
    :try_end_d
    .catch Ljava/io/IOException; {:try_start_d .. :try_end_d} :catch_6
    .catchall {:try_start_d .. :try_end_d} :catchall_2

    goto :goto_9

    :catchall_2
    move-exception v0

    goto :goto_a

    :catch_6
    move-exception v0

    :try_start_e
    const-string v3, "DownLoadAndUnzipTask"

    .line 135
    invoke-static {v3, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 138
    :cond_7
    :goto_9
    throw v1
    :try_end_e
    .catch Ljava/io/IOException; {:try_start_e .. :try_end_e} :catch_7
    .catchall {:try_start_e .. :try_end_e} :catchall_2

    :catch_7
    move-exception v0

    goto :goto_b

    :cond_8
    move-object v12, p0

    .line 151
    :try_start_f
    invoke-virtual {v4}, Ljava/io/InputStream;->close()V
    :try_end_f
    .catch Ljava/io/IOException; {:try_start_f .. :try_end_f} :catch_a

    goto :goto_e

    :catchall_3
    move-exception v0

    move-object v12, p0

    :goto_a
    move-object v1, v0

    goto :goto_f

    :catch_8
    move-exception v0

    move-object v12, p0

    :goto_b
    move-object v3, v4

    goto :goto_d

    :catchall_4
    move-exception v0

    move-object v12, p0

    :goto_c
    move-object v1, v0

    move-object v4, v3

    goto :goto_f

    :catch_9
    move-exception v0

    move-object v12, p0

    :goto_d
    :try_start_10
    const-string v1, "DownLoadAndUnzipTask"

    .line 147
    invoke-static {v1, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V
    :try_end_10
    .catchall {:try_start_10 .. :try_end_10} :catchall_5

    if-eqz v3, :cond_9

    .line 151
    :try_start_11
    invoke-virtual {v3}, Ljava/io/InputStream;->close()V
    :try_end_11
    .catch Ljava/io/IOException; {:try_start_11 .. :try_end_11} :catch_a

    goto :goto_e

    :catch_a
    move-exception v0

    move-object v1, v0

    const-string v0, "DownLoadAndUnzipTask"

    .line 154
    invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    :cond_9
    :goto_e
    return v2

    :catchall_5
    move-exception v0

    goto :goto_c

    :goto_f
    if-eqz v4, :cond_a

    .line 151
    :try_start_12
    invoke-virtual {v4}, Ljava/io/InputStream;->close()V
    :try_end_12
    .catch Ljava/io/IOException; {:try_start_12 .. :try_end_12} :catch_b

    goto :goto_10

    :catch_b
    move-exception v0

    move-object v2, v0

    const-string v0, "DownLoadAndUnzipTask"

    .line 154
    invoke-static {v0, v2}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 156
    :cond_a
    :goto_10
    throw v1
.end method
