bo.smali
.class public Lcom/amap/api/services/a/bo;
.super Ljava/lang/Object;
# direct methods
.method static a(Lcom/amap/api/services/a/aw;Ljava/lang/String;)[B
.registers 8
const/4 v2, 0x0
const/4 v0, 0x0
const/4 v1, 0x0
new-array v0, v0, [B
:try_start_5
invoke-virtual {p0, p1}, Lcom/amap/api/services/a/aw;->a(Ljava/lang/String;)Lcom/amap/api/services/a/aw$b;
:try_end_8
.catch Ljava/lang/Throwable; {:try_start_5 .. :try_end_8} :catch_46
.catchall {:try_start_5 .. :try_end_8} :catchall_5e
move-result-object v3
if-nez v3, :cond_16
if-eqz v2, :cond_10
:try_start_d
invoke-virtual {v1}, Ljava/io/InputStream;->close()V
:try_end_10
.catch Ljava/lang/Throwable; {:try_start_d .. :try_end_10} :catch_7a
:cond_10
:goto_10
if-eqz v3, :cond_15
:try_start_12
invoke-virtual {v3}, Lcom/amap/api/services/a/aw$b;->close()V
:try_end_15
.catch Ljava/lang/Throwable; {:try_start_12 .. :try_end_15} :catch_7f
:cond_15
:goto_15
return-object v0
:cond_16
const/4 v1, 0x0
:try_start_17
invoke-virtual {v3, v1}, Lcom/amap/api/services/a/aw$b;->a(I)Ljava/io/InputStream;
:try_end_1a
.catch Ljava/lang/Throwable; {:try_start_17 .. :try_end_1a} :catch_8d
.catchall {:try_start_17 .. :try_end_1a} :catchall_8b
move-result-object v2
if-nez v2, :cond_2d
if-eqz v2, :cond_22
:try_start_1f
invoke-virtual {v2}, Ljava/io/InputStream;->close()V
:try_end_22
.catch Ljava/lang/Throwable; {:try_start_1f .. :try_end_22} :catch_81
:cond_22
:goto_22
if-eqz v3, :cond_15
:try_start_24
invoke-virtual {v3}, Lcom/amap/api/services/a/aw$b;->close()V
:try_end_27
.catch Ljava/lang/Throwable; {:try_start_24 .. :try_end_27} :catch_28
goto :goto_15
:catch_28
move-exception v1
:goto_29
invoke-virtual {v1}, Ljava/lang/Throwable;->printStackTrace()V
goto :goto_15
:cond_2d
:try_start_2d
invoke-virtual {v2}, Ljava/io/InputStream;->available()I
move-result v1
new-array v0, v1, [B
invoke-virtual {v2, v0}, Ljava/io/InputStream;->read([B)I
invoke-virtual {p0, p1}, Lcom/amap/api/services/a/aw;->c(Ljava/lang/String;)Z
:try_end_39
.catch Ljava/lang/Throwable; {:try_start_2d .. :try_end_39} :catch_8d
.catchall {:try_start_2d .. :try_end_39} :catchall_8b
if-eqz v2, :cond_3e
:try_start_3b
invoke-virtual {v2}, Ljava/io/InputStream;->close()V
:try_end_3e
.catch Ljava/lang/Throwable; {:try_start_3b .. :try_end_3e} :catch_86
:cond_3e
:goto_3e
if-eqz v3, :cond_15
:try_start_40
invoke-virtual {v3}, Lcom/amap/api/services/a/aw$b;->close()V
:try_end_43
.catch Ljava/lang/Throwable; {:try_start_40 .. :try_end_43} :catch_44
goto :goto_15
:catch_44
move-exception v1
goto :goto_29
:catch_46
move-exception v1
move-object v3, v2
:goto_48
:try_start_48
const-string/jumbo v4, "Utils"
const-string/jumbo v5, "readSingleLog"
invoke-static {v1, v4, v5}, Lcom/amap/api/services/a/q;->a(Ljava/lang/Throwable;Ljava/lang/String;Ljava/lang/String;)V
:try_end_51
.catchall {:try_start_48 .. :try_end_51} :catchall_8b
if-eqz v2, :cond_56
:try_start_53
invoke-virtual {v2}, Ljava/io/InputStream;->close()V
:try_end_56
.catch Ljava/lang/Throwable; {:try_start_53 .. :try_end_56} :catch_75
:cond_56
:goto_56
if-eqz v3, :cond_15
:try_start_58
invoke-virtual {v3}, Lcom/amap/api/services/a/aw$b;->close()V
:try_end_5b
.catch Ljava/lang/Throwable; {:try_start_58 .. :try_end_5b} :catch_5c
goto :goto_15
:catch_5c
move-exception v1
goto :goto_29
:catchall_5e
move-exception v0
move-object v3, v2
:goto_60
if-eqz v2, :cond_65
:try_start_62
invoke-virtual {v2}, Ljava/io/InputStream;->close()V
:try_end_65
.catch Ljava/lang/Throwable; {:try_start_62 .. :try_end_65} :catch_6b
:cond_65
:goto_65
if-eqz v3, :cond_6a
:try_start_67
invoke-virtual {v3}, Lcom/amap/api/services/a/aw$b;->close()V
:try_end_6a
.catch Ljava/lang/Throwable; {:try_start_67 .. :try_end_6a} :catch_70
:cond_6a
:goto_6a
throw v0
:catch_6b
move-exception v1
invoke-virtual {v1}, Ljava/lang/Throwable;->printStackTrace()V
goto :goto_65
:catch_70
move-exception v1
invoke-virtual {v1}, Ljava/lang/Throwable;->printStackTrace()V
goto :goto_6a
:catch_75
move-exception v1
invoke-virtual {v1}, Ljava/lang/Throwable;->printStackTrace()V
goto :goto_56
:catch_7a
move-exception v1
invoke-virtual {v1}, Ljava/lang/Throwable;->printStackTrace()V
goto :goto_10
:catch_7f
move-exception v1
goto :goto_29
:catch_81
move-exception v1
invoke-virtual {v1}, Ljava/lang/Throwable;->printStackTrace()V
goto :goto_22
:catch_86
move-exception v1
invoke-virtual {v1}, Ljava/lang/Throwable;->printStackTrace()V
goto :goto_3e
:catchall_8b
move-exception v0
goto :goto_60
:catch_8d
move-exception v1
goto :goto_48
.end method