Info Call to External Storage API

Description

List of all external storage API calls. Insecure storage of sensitive information by setting insecure permissions or storing data without encryption might expose this information to an attacker.

Recommendation

This entry is informative, no recommendations applicable.

Technical details

Method com.bumptech.glide.disklrucache.DiskLruCache.rebuildJournal() calling method java.io.FileOutputStream.<init>()


    private declared_synchronized void rebuildJournal()
    {
        try {
            if (this.journalWriter != null) {
                this.journalWriter.close();
            }
        } catch (java.io.BufferedWriter v2_26) {
            throw v2_26;
        }
        java.io.BufferedWriter v1_0 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.journalFileTmp), com.bumptech.glide.disklrucache.Util.US_ASCII));
        try {
            v1_0.write("libcore.io.DiskLruCache");
            v1_0.write("\n");
            v1_0.write("1");
            v1_0.write("\n");
            v1_0.write(Integer.toString(this.appVersion));
            v1_0.write("\n");
            v1_0.write(Integer.toString(this.valueCount));
            v1_0.write("\n");
            v1_0.write("\n");
            java.io.BufferedWriter v2_16 = this.lruEntries.values().iterator();
        } catch (java.io.BufferedWriter v2_25) {
            v1_0.close();
            throw v2_25;
        }
        while (v2_16.hasNext()) {
            com.bumptech.glide.disklrucache.DiskLruCache$Entry v0_1 = ((com.bumptech.glide.disklrucache.DiskLruCache$Entry) v2_16.next());
            if (com.bumptech.glide.disklrucache.DiskLruCache$Entry.access$800(v0_1) == null) {
                v1_0.write(new StringBuilder().append("CLEAN ").append(com.bumptech.glide.disklrucache.DiskLruCache$Entry.access$1200(v0_1)).append(v0_1.getLengths()).append(10).toString());
            } else {
                v1_0.write(new StringBuilder().append("DIRTY ").append(com.bumptech.glide.disklrucache.DiskLruCache$Entry.access$1200(v0_1)).append(10).toString());
            }
        }
        v1_0.close();
        if (this.journalFile.exists()) {
            com.bumptech.glide.disklrucache.DiskLruCache.renameTo(this.journalFile, this.journalFileBackup, 1);
        }
        com.bumptech.glide.disklrucache.DiskLruCache.renameTo(this.journalFileTmp, this.journalFile, 0);
        this.journalFileBackup.delete();
        this.journalWriter = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.journalFile, 1), com.bumptech.glide.disklrucache.Util.US_ASCII));
        return;
    }

Method com.bumptech.glide.disklrucache.DiskLruCache.readJournal() calling method java.io.FileOutputStream.<init>()


    private void readJournal()
    {
        com.bumptech.glide.disklrucache.StrictLineReader v5_1 = new com.bumptech.glide.disklrucache.StrictLineReader(new java.io.FileInputStream(this.journalFile), com.bumptech.glide.disklrucache.Util.US_ASCII);
        try {
            String v4 = v5_1.readLine();
            String v7 = v5_1.readLine();
            String v0 = v5_1.readLine();
            String v6 = v5_1.readLine();
            String v1 = v5_1.readLine();
        } catch (java.io.BufferedWriter v8_23) {
            com.bumptech.glide.disklrucache.Util.closeQuietly(v5_1);
            throw v8_23;
        }
        if (("libcore.io.DiskLruCache".equals(v4)) && (("1".equals(v7)) && ((Integer.toString(this.appVersion).equals(v0)) && ((Integer.toString(this.valueCount).equals(v6)) && ("".equals(v1)))))) {
            int v3 = 0;
            try {
                while(true) {
                    this.readJournalLine(v5_1.readLine());
                    v3++;
                }
            } catch (java.io.EOFException v2) {
                this.redundantOpCount = (v3 - this.lruEntries.size());
                if (!v5_1.hasUnterminatedLine()) {
                    this.journalWriter = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.journalFile, 1), com.bumptech.glide.disklrucache.Util.US_ASCII));
                } else {
                    this.rebuildJournal();
                }
                com.bumptech.glide.disklrucache.Util.closeQuietly(v5_1);
                return;
            }
        } else {
            throw new java.io.IOException(new StringBuilder().append("unexpected journal header: [").append(v4).append(", ").append(v7).append(", ").append(v6).append(", ").append(v1).append("]").toString());
        }
    }

Method com.bumptech.glide.disklrucache.DiskLruCache$Editor.set() calling method java.io.FileOutputStream.<init>()


    public void set(int p5, String p6)
    {
        java.io.OutputStreamWriter v1 = 0;
        try {
            java.io.OutputStreamWriter v2_1 = new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.getFile(p5)), com.bumptech.glide.disklrucache.Util.UTF_8);
            try {
                v2_1.write(p6);
                com.bumptech.glide.disklrucache.Util.closeQuietly(v2_1);
                return;
            } catch (Throwable v3_0) {
                v1 = v2_1;
                com.bumptech.glide.disklrucache.Util.closeQuietly(v1);
                throw v3_0;
            }
        } catch (Throwable v3_0) {
        }
        v2_1.write(p6);
        com.bumptech.glide.disklrucache.Util.closeQuietly(v2_1);
        return;
    }

Method com.google.android.gms.internal.ads.zznn.zzjf() calling method java.io.FileOutputStream.<init>()


    private final void zzjf()
    {
        try {
            while(true) {
                java.io.IOException v0_6 = ((com.google.android.gms.internal.ads.zznx) this.zzbfz.take());
                String v2_1 = v0_6.zzjk();
                com.google.android.gms.internal.ads.zzakb.zzdk("CsiReporter: File doesn\'t exists. Cannot write CSI data to file.");
            }
            try {
                String v1_12 = new java.io.FileOutputStream(java.io.File v3_1, 1);
                try {
                    v1_12.write(java.io.IOException v0_9.getBytes());
                    v1_12.write(10);
                    try {
                        v1_12.close();
                    } catch (java.io.IOException v0_16) {
                        com.google.android.gms.internal.ads.zzakb.zzc("CsiReporter: Cannot close file: sdk_csi_data.txt.", v0_16);
                    }
                } catch (java.io.IOException v0_11) {
                    com.google.android.gms.internal.ads.zzakb.zzc("CsiReporter: Cannot write to file: sdk_csi_data.txt.", v0_11);
                    if (v1_12 == null) {
                    } else {
                        try {
                            v1_12.close();
                        } catch (java.io.IOException v0_15) {
                            com.google.android.gms.internal.ads.zzakb.zzc("CsiReporter: Cannot close file: sdk_csi_data.txt.", v0_15);
                        }
                    }
                }
            } catch (java.io.IOException v0_12) {
                v1_12 = 0;
                if (v1_12 != null) {
                    try {
                        v1_12.close();
                    } catch (String v1_15) {
                        com.google.android.gms.internal.ads.zzakb.zzc("CsiReporter: Cannot close file: sdk_csi_data.txt.", v1_15);
                    }
                }
                throw v0_12;
            } catch (java.io.IOException v0_11) {
                v1_12 = 0;
            } catch (java.io.IOException v0_12) {
            }
        } catch (java.io.IOException v0_19) {
            com.google.android.gms.internal.ads.zzakb.zzc("CsiReporter:reporter interrupted", v0_19);
            return;
        }
        if (!android.text.TextUtils.isEmpty(v2_1)) {
            java.io.IOException v0_2 = this.zza(this.zzbgb, v0_6.zzjl());
            java.io.File v3_0 = android.net.Uri.parse(this.zzbfx).buildUpon();
            int v4_0 = v0_2.entrySet().iterator();
            while (v4_0.hasNext()) {
                java.io.IOException v0_18 = ((java.util.Map$Entry) v4_0.next());
                v3_0.appendQueryParameter(((String) v0_18.getKey()), ((String) v0_18.getValue()));
            }
            java.io.IOException v0_8 = new StringBuilder(v3_0.build().toString());
            v0_8.append("&it=").append(v2_1);
            v0_9 = v0_8.toString();
            if (!this.zzbgd.get()) {
                com.google.android.gms.ads.internal.zzbv.zzek();
                com.google.android.gms.internal.ads.zzakk.zzd(this.mContext, this.zzaej, v0_9);
            } else {
                v3_1 = this.zzbge;
                if (v3_1 == null) {
                }
            }
        }
    }

Method com.google.android.gms.internal.ads.zzhs.zzc() calling method java.io.FileOutputStream.<init>()


    private final declared_synchronized void zzc(com.google.android.gms.internal.ads.zzhu$zza$zzb p4)
    {
        try {
            String v0_0 = android.os.Environment.getExternalStorageDirectory();
        } catch (String v0_9) {
            throw v0_9;
        }
        if (v0_0 != null) {
            try {
                java.io.FileOutputStream v2_2 = new java.io.FileOutputStream(new java.io.File(v0_0, "clearcut_events.txt"), 1);
                try {
                    v2_2.write(this.zzd(p4).getBytes());
                    v2_2.write(10);
                    try {
                        v2_2.close();
                    } catch (String v0) {
                        com.google.android.gms.internal.ads.zzakb.v("Could not close Clearcut output stream.");
                    }
                } catch (String v0_6) {
                    try {
                        v2_2.close();
                    } catch (String v1) {
                        com.google.android.gms.internal.ads.zzakb.v("Could not close Clearcut output stream.");
                    }
                    throw v0_6;
                } catch (String v0) {
                    com.google.android.gms.internal.ads.zzakb.v("Could not write Clearcut to file.");
                    try {
                        v2_2.close();
                    } catch (String v0) {
                        com.google.android.gms.internal.ads.zzakb.v("Could not close Clearcut output stream.");
                    }
                }
            } catch (String v0) {
                com.google.android.gms.internal.ads.zzakb.v("Could not find file for Clearcut");
            }
        }
        return;
    }

Method com.google.android.gms.internal.ads.zzcz.zzb() calling method java.io.FileOutputStream.<init>()


    private final boolean zzb(java.io.File p13, String p14)
    {
        java.io.FileInputStream v0_3;
        int v3 = 0;
        java.io.FileInputStream v4_3 = new Object[2];
        v4_3[0] = p13;
        v4_3[1] = p14;
        byte[] v5_0 = new java.io.File(String.format("%s/%s.tmp", v4_3));
        if (v5_0.exists()) {
            java.io.FileInputStream v4_1 = new Object[2];
            v4_1[0] = p13;
            v4_1[1] = p14;
            int v6_1 = new java.io.File(String.format("%s/%s.dex", v4_1));
            if (!v6_1.exists()) {
                try {
                    String v8_0 = v5_0.length();
                } catch (java.io.FileInputStream v0_2) {
                    java.io.FileInputStream v4_0 = 0;
                    if (v4_0 != null) {
                        try {
                            v4_0.close();
                        } catch (java.io.FileInputStream v1) {
                        }
                    }
                    if (v3 != 0) {
                        try {
                            v3.close();
                        } catch (java.io.FileInputStream v1) {
                        }
                    }
                    throw v0_2;
                } catch (java.io.FileInputStream v0) {
                    java.io.FileInputStream v0_1 = 0;
                    java.io.FileInputStream v1_0 = 0;
                    if (v1_0 != null) {
                        try {
                            v1_0.close();
                        } catch (java.io.FileInputStream v1) {
                        }
                    }
                    if (v0_1 != null) {
                        try {
                            v0_1.close();
                        } catch (java.io.FileInputStream v0) {
                        }
                    }
                    v0_3 = 0;
                } catch (java.io.FileInputStream v0) {
                    v0_1 = 0;
                    v1_0 = 0;
                } catch (java.io.FileInputStream v0) {
                    v0_1 = 0;
                    v1_0 = 0;
                }
                if (v8_0 > 0) {
                    java.io.FileInputStream v0_10 = new byte[((int) v8_0)];
                    v4_0 = new java.io.FileInputStream(v5_0);
                    try {
                        if (v4_0.read(v0_10) > 0) {
                            java.io.FileInputStream v0_12 = ((com.google.android.gms.internal.ads.zzbe) com.google.android.gms.internal.ads.zzbfi.zza(new com.google.android.gms.internal.ads.zzbe(), v0_10));
                            if ((p14.equals(new String(v0_12.zzgr))) && ((java.util.Arrays.equals(v0_12.zzgq, com.google.android.gms.internal.ads.zzbk.zzb(v0_12.data))) && (java.util.Arrays.equals(v0_12.zzgs, android.os.Build$VERSION.SDK.getBytes())))) {
                                byte[] v5_3 = this.zzrw.zza(this.zzrx, new String(v0_12.data));
                                v6_1.createNewFile();
                                v0_1 = new java.io.FileOutputStream(v6_1);
                                v3 = 0;
                                try {
                                    v0_1.write(v5_3, 0, v5_3.length);
                                    try {
                                        v4_0.close();
                                        try {
                                            v0_1.close();
                                        } catch (java.io.FileInputStream v0) {
                                        }
                                        v0_3 = 1;
                                    } catch (java.io.IOException v2) {
                                    }
                                } catch (java.io.FileInputStream v1_2) {
                                    v3 = v0_1;
                                    v0_2 = v1_2;
                                } catch (java.io.FileInputStream v1) {
                                    v1_0 = v4_0;
                                } catch (java.io.FileInputStream v1) {
                                    v1_0 = v4_0;
                                } catch (java.io.FileInputStream v1) {
                                    v1_0 = v4_0;
                                }
                            } else {
                                com.google.android.gms.internal.ads.zzcz.zzb(v5_0);
                                try {
                                    v4_0.close();
                                } catch (java.io.FileInputStream v0) {
                                }
                                v0_3 = 0;
                            }
                        } else {
                            android.util.Log.d(com.google.android.gms.internal.ads.zzcz.TAG, "Cannot read the cache data.");
                            com.google.android.gms.internal.ads.zzcz.zzb(v5_0);
                            try {
                                v4_0.close();
                            } catch (java.io.FileInputStream v0) {
                            }
                            v0_3 = 0;
                        }
                    } catch (java.io.FileInputStream v0_2) {
                    } catch (java.io.FileInputStream v0) {
                        v0_1 = v3;
                        v1_0 = v4_0;
                    } catch (java.io.FileInputStream v0) {
                        v0_1 = v3;
                        v1_0 = v4_0;
                    } catch (java.io.FileInputStream v0) {
                        v0_1 = v3;
                        v1_0 = v4_0;
                    }
                } else {
                    com.google.android.gms.internal.ads.zzcz.zzb(v5_0);
                    v0_3 = 0;
                }
            } else {
                v0_3 = 0;
            }
        } else {
            v0_3 = 0;
        }
        return v0_3;
    }

Method com.google.android.gms.internal.ads.zzcz.zza() calling method java.io.FileOutputStream.<init>()


    private final void zza(java.io.File p12, String p13)
    {
        java.io.IOException v1_0 = 0;
        java.io.IOException v2_3 = new Object[2];
        v2_3[0] = p12;
        v2_3[1] = p13;
        int v3_0 = new java.io.File(String.format("%s/%s.tmp", v2_3));
        if (!v3_0.exists()) {
            java.io.IOException v2_0 = new Object[2];
            v2_0[0] = p12;
            v2_0[1] = p13;
            java.io.File v4_1 = new java.io.File(String.format("%s/%s.dex", v2_0));
            if (v4_1.exists()) {
                com.google.android.gms.internal.ads.zzck v6_1 = v4_1.length();
                if (v6_1 > 0) {
                    java.io.IOException v0_8 = new byte[((int) v6_1)];
                    try {
                        java.io.IOException v2_2 = new java.io.FileInputStream(v4_1);
                        try {
                            if (v2_2.read(v0_8) > 0) {
                                int v5_3 = new com.google.android.gms.internal.ads.zzbe();
                                v5_3.zzgs = android.os.Build$VERSION.SDK.getBytes();
                                v5_3.zzgr = p13.getBytes();
                                java.io.IOException v0_12 = this.zzrw.zzb(this.zzrx, v0_8).getBytes();
                                v5_3.data = v0_12;
                                v5_3.zzgq = com.google.android.gms.internal.ads.zzbk.zzb(v0_12);
                                v3_0.createNewFile();
                                java.io.IOException v0_9 = new java.io.FileOutputStream(v3_0);
                                try {
                                    java.io.IOException v1_1 = com.google.android.gms.internal.ads.zzbfi.zzb(v5_3);
                                    v0_9.write(v1_1, 0, v1_1.length);
                                    v0_9.close();
                                    try {
                                        v2_2.close();
                                        try {
                                            v0_9.close();
                                        } catch (java.io.IOException v0) {
                                        }
                                        com.google.android.gms.internal.ads.zzcz.zzb(v4_1);
                                    } catch (java.io.IOException v1) {
                                    }
                                } catch (java.io.IOException v1_2) {
                                    v1_0 = v0_9;
                                    java.io.IOException v0_1 = v1_2;
                                    if (v2_2 != null) {
                                        try {
                                            v2_2.close();
                                        } catch (java.io.IOException v2) {
                                        }
                                    }
                                    if (v1_0 != null) {
                                        try {
                                            v1_0.close();
                                        } catch (java.io.IOException v1) {
                                        }
                                    }
                                    com.google.android.gms.internal.ads.zzcz.zzb(v4_1);
                                    throw v0_1;
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                    if (v1_0 != null) {
                                        try {
                                            v1_0.close();
                                        } catch (java.io.IOException v1) {
                                        }
                                    }
                                    if (v0_9 != null) {
                                        try {
                                            v0_9.close();
                                        } catch (java.io.IOException v0) {
                                        }
                                    }
                                    com.google.android.gms.internal.ads.zzcz.zzb(v4_1);
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                }
                            } else {
                                try {
                                    v2_2.close();
                                } catch (java.io.IOException v0) {
                                }
                                com.google.android.gms.internal.ads.zzcz.zzb(v4_1);
                            }
                        } catch (java.io.IOException v0_1) {
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        }
                    } catch (java.io.IOException v0_1) {
                        v2_2 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    }
                }
            }
        }
        return;
    }

Method com.google.android.gms.internal.ads.zzcz.zza() calling method java.io.FileOutputStream.<init>()


    public static com.google.android.gms.internal.ads.zzcz zza(android.content.Context p9, String p10, String p11, boolean p12)
    {
        int v0_0 = 1;
        void v3_0 = new com.google.android.gms.internal.ads.zzcz(p9);
        v3_0.zzru = java.util.concurrent.Executors.newCachedThreadPool(new com.google.android.gms.internal.ads.zzda());
        v3_0.zzqt = p12;
        if (p12) {
            v3_0.zzrz = v3_0.zzru.submit(new com.google.android.gms.internal.ads.zzdb(v3_0));
        }
        v3_0.zzru.execute(new com.google.android.gms.internal.ads.zzdd(v3_0));
        try {
            com.google.android.gms.internal.ads.zzcz$zza v2_7;
            int v4_8 = com.google.android.gms.common.GoogleApiAvailabilityLight.getInstance();
        } catch (int v0) {
            v3_0.zza(0, 1);
            if ((!com.google.android.gms.internal.ads.zzdg.isMainThread()) || (!((Boolean) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzbaz)).booleanValue())) {
                v3_0.zzrw = new com.google.android.gms.internal.ads.zzck(0);
                v3_0.zzrx = v3_0.zzrw.zzl(p10);
                try {
                    int v0_33 = v3_0.zzrt.getCacheDir();
                } catch (int v0_18) {
                    throw new com.google.android.gms.internal.ads.zzcw(v0_18);
                } catch (int v0_17) {
                    throw new com.google.android.gms.internal.ads.zzcw(v0_17);
                }
                if (v0_33 == 0) {
                    v0_33 = v3_0.zzrt.getDir("dex", 0);
                    if (v0_33 == 0) {
                        throw new com.google.android.gms.internal.ads.zzcw();
                    }
                }
                android.content.Context v1_22 = v0_33;
                Object[] v5_5 = new Object[2];
                v5_5[0] = v1_22;
                v5_5[1] = "1521499837408";
                int v4_10 = new java.io.File(String.format("%s/%s.jar", v5_5));
                if (!v4_10.exists()) {
                    int v0_39 = v3_0.zzrw.zza(v3_0.zzrx, p11);
                    v4_10.createNewFile();
                    Object[] v5_8 = new java.io.FileOutputStream(v4_10);
                    v5_8.write(v0_39, 0, v0_39.length);
                    v5_8.close();
                }
                v3_0.zzb(v1_22, "1521499837408");
                try {
                    v3_0.zzrv = new dalvik.system.DexClassLoader(v4_10.getAbsolutePath(), v1_22.getAbsolutePath(), 0, v3_0.zzrt.getClassLoader());
                } catch (int v0_3) {
                    com.google.android.gms.internal.ads.zzcz.zzb(v4_10);
                    v3_0 = v3_0.zza(v1_22, "1521499837408");
                    Object[] v5_2 = new Object[2];
                    v5_2[0] = v1_22;
                    v5_2[1] = "1521499837408";
                    com.google.android.gms.internal.ads.zzcz.zzm(String.format("%s/%s.dex", v5_2));
                    throw v0_3;
                }
                com.google.android.gms.internal.ads.zzcz.zzb(v4_10);
                v3_0 = v3_0.zza(v1_22, "1521499837408");
                int v4_4 = new Object[2];
                v4_4[0] = v1_22;
                v4_4[1] = "1521499837408";
                com.google.android.gms.internal.ads.zzcz.zzm(String.format("%s/%s.dex", v4_4));
                if (!v3_0.zzsj) {
                    int v0_8 = new android.content.IntentFilter();
                    v0_8.addAction("android.intent.action.USER_PRESENT");
                    v0_8.addAction("android.intent.action.SCREEN_OFF");
                    v3_0.zzrt.registerReceiver(new com.google.android.gms.internal.ads.zzcz$zza(v3_0, 0), v0_8);
                    v3_0.zzsj = 1;
                }
                v3_0.zzsd = new com.google.android.gms.internal.ads.zzcc(v3_0);
                v3_0.zzsh = 1;
                return v3_0;
            } else {
                throw new IllegalStateException("Task Context initialization must not be called from the UI thread.");
            }
        }
        if (v4_8.getApkVersion(v3_0.zzrt) <= 0) {
            v2_7 = 0;
        } else {
            v2_7 = 1;
        }
        v3_0.zzse = v2_7;
        if (v4_8.isGooglePlayServicesAvailable(v3_0.zzrt) != 0) {
            v0_0 = 0;
        }
        v3_0.zzsf = v0_0;
    }

Method com.google.android.gms.internal.ads.zzaqn.zzdp() calling method java.io.FileOutputStream.<init>()


    public final boolean zzdp(String p28)
    {
        com.google.android.gms.internal.ads.zzaqi v2_28;
        if (this.zzdbi != null) {
            while(true) {
                com.google.android.gms.internal.ads.zzaqn v3_17;
                if (this.zzdbi != null) {
                    String v4_0 = this.zzdbi.listFiles();
                    com.google.android.gms.internal.ads.zzaqi v2_4 = 0;
                    com.google.android.gms.internal.ads.zzaqn v3_8 = 0;
                    while (v3_8 < v4_0.length) {
                        if (!v4_0[v3_8].getName().endsWith(".done")) {
                            v2_4++;
                        }
                        v3_8++;
                    }
                    v3_17 = v2_4;
                } else {
                    v3_17 = 0;
                }
                if (v3_17 <= ((Integer) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzaux)).intValue()) {
                    break;
                }
                com.google.android.gms.internal.ads.zzaqi v2_123;
                if (this.zzdbi != null) {
                    String v7_10 = 0;
                    String v4_23 = nan;
                    String v9_0 = this.zzdbi.listFiles();
                    int v10_0 = v9_0.length;
                    int v8_9 = 0;
                    while (v8_9 < v10_0) {
                        com.google.android.gms.internal.ads.zzaqi v2_126;
                        String v4_25;
                        int v6_28 = v9_0[v8_9];
                        if (v6_28.getName().endsWith(".done")) {
                            v2_126 = v4_23;
                            v4_25 = v7_10;
                        } else {
                            v2_126 = v6_28.lastModified();
                            if (v2_126 >= v4_23) {
                            } else {
                                v4_25 = v6_28;
                            }
                        }
                        v8_9++;
                        v7_10 = v4_25;
                        v4_23 = v2_126;
                    }
                    v2_123 = 0;
                    if (v7_10 != null) {
                        v2_123 = v7_10.delete();
                        com.google.android.gms.internal.ads.zzaqn v3_66 = this.zzc(v7_10);
                        if (v3_66.isFile()) {
                            v2_123 &= v3_66.delete();
                        }
                    }
                } else {
                    v2_123 = 0;
                }
                if (v2_123 == null) {
                    com.google.android.gms.internal.ads.zzakb.zzdk("Unable to expire stream cache");
                    this.zza(p28, 0, "expireFailed", 0);
                    v2_28 = 0;
                }
            }
            com.google.android.gms.internal.ads.zzkb.zzif();
            java.io.File v13_1 = new java.io.File(this.zzdbi, com.google.android.gms.internal.ads.zzamu.zzde(p28));
            java.io.File v14 = this.zzc(v13_1);
            if ((!v13_1.isFile()) || (!v14.isFile())) {
                String v9_1;
                com.google.android.gms.internal.ads.zzaqn v3_63 = String.valueOf(this.zzdbi.getAbsolutePath());
                com.google.android.gms.internal.ads.zzaqi v2_107 = String.valueOf(p28);
                if (v2_107.length() == 0) {
                    v9_1 = new String(v3_63);
                } else {
                    v9_1 = v3_63.concat(v2_107);
                }
                try {
                    if (!com.google.android.gms.internal.ads.zzaqn.zzdbg.contains(v9_1)) {
                        com.google.android.gms.internal.ads.zzaqn.zzdbg.add(v9_1);
                        String v5_5 = 0;
                        try {
                            com.google.android.gms.ads.internal.zzbv.zzew();
                            String v7_11 = ((Integer) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzavc)).intValue();
                            com.google.android.gms.internal.ads.zzaqn v3_58 = new java.net.URL(p28);
                            com.google.android.gms.internal.ads.zzaqi v2_78 = 0;
                        } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                            com.google.android.gms.internal.ads.zzaqn v3_37 = 0;
                            String v4_11 = "error";
                            if ((v2_46 instanceof RuntimeException)) {
                                com.google.android.gms.ads.internal.zzbv.zzeo().zza(v2_46, "VideoStreamFullFileCache.preload");
                            }
                            try {
                                v5_5.close();
                            } catch (String v5) {
                            } catch (String v5) {
                            }
                            if (!this.zzdbj) {
                                com.google.android.gms.internal.ads.zzakb.zzc(new StringBuilder((String.valueOf(p28).length() + 25)).append("Preload failed for URL \"").append(p28).append("\"").toString(), v2_46);
                            } else {
                                com.google.android.gms.internal.ads.zzakb.zzdj(new StringBuilder((String.valueOf(p28).length() + 26)).append("Preload aborted for URL \"").append(p28).append("\"").toString());
                            }
                            if (v13_1.exists()) {
                                if (!v13_1.delete()) {
                                    com.google.android.gms.internal.ads.zzaqi v2_102 = String.valueOf(v13_1.getAbsolutePath());
                                    if (v2_102.length() == 0) {
                                        com.google.android.gms.internal.ads.zzaqi v2_104 = new String("Could not delete partial cache file at ");
                                    } else {
                                        v2_104 = "Could not delete partial cache file at ".concat(v2_102);
                                    }
                                    com.google.android.gms.internal.ads.zzakb.zzdk(v2_104);
                                }
                            }
                            this.zza(p28, v13_1.getAbsolutePath(), v4_11, v3_37);
                            com.google.android.gms.internal.ads.zzaqn.zzdbg.remove(v9_1);
                            v2_28 = 0;
                        }
                        while(true) {
                            String v4_28 = (v2_78 + 1);
                            if (v4_28 > 20) {
                                throw new java.io.IOException("Too many redirects (20)");
                            } else {
                                com.google.android.gms.internal.ads.zzaqi v2_1 = v3_58.openConnection();
                                v2_1.setConnectTimeout(v7_11);
                                v2_1.setReadTimeout(v7_11);
                                if ((v2_1 instanceof java.net.HttpURLConnection)) {
                                    com.google.android.gms.internal.ads.zzaqi v2_2 = ((java.net.HttpURLConnection) v2_1);
                                    int v6_2 = new com.google.android.gms.internal.ads.zzamy();
                                    v6_2.zza(v2_2, 0);
                                    v2_2.setInstanceFollowRedirects(0);
                                    int v8_2 = v2_2.getResponseCode();
                                    v6_2.zza(v2_2, v8_2);
                                    if ((v8_2 / 100) != 3) {
                                        if ((v2_2 instanceof java.net.HttpURLConnection)) {
                                            int v6_4 = ((java.net.HttpURLConnection) v2_2).getResponseCode();
                                            if (v6_4 >= 400) {
                                                v4_11 = "badUrl";
                                                try {
                                                    com.google.android.gms.internal.ads.zzaqn v3_52 = String.valueOf(Integer.toString(v6_4));
                                                } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                                    v3_37 = 0;
                                                } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                                    v3_37 = 0;
                                                }
                                                if (v3_52.length() == 0) {
                                                    v3_37 = new String("HTTP request failed. Code: ");
                                                } else {
                                                    v3_37 = "HTTP request failed. Code: ".concat(v3_52);
                                                }
                                                try {
                                                    throw new java.io.IOException(new StringBuilder((String.valueOf(p28).length() + 32)).append("HTTP status code ").append(v6_4).append(" at ").append(p28).toString());
                                                } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                                } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                                }
                                            }
                                        }
                                        String v7_0 = v2_2.getContentLength();
                                        if (v7_0 >= null) {
                                            String v4_1 = com.google.android.gms.internal.ads.zzaqn.zzdbh.format(((long) v7_0));
                                            int v15 = ((Integer) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzauy)).intValue();
                                            if (v7_0 <= v15) {
                                                com.google.android.gms.internal.ads.zzakb.zzck(new StringBuilder(((String.valueOf(v4_1).length() + 20) + String.valueOf(p28).length())).append("Caching ").append(v4_1).append(" bytes from ").append(p28).toString());
                                                java.nio.channels.ReadableByteChannel v16_1 = java.nio.channels.Channels.newChannel(v2_2.getInputStream());
                                                java.io.FileOutputStream v12_1 = new java.io.FileOutputStream(v13_1);
                                                try {
                                                    java.nio.channels.FileChannel v17 = v12_1.getChannel();
                                                    java.nio.ByteBuffer v18 = java.nio.ByteBuffer.allocate(1048576);
                                                    com.google.android.gms.common.util.Clock v19 = com.google.android.gms.ads.internal.zzbv.zzer();
                                                    int v6_11 = 0;
                                                    long v20 = v19.currentTimeMillis();
                                                    com.google.android.gms.internal.ads.zzamj v22 = new com.google.android.gms.internal.ads.zzamj;
                                                    v22(((Long) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzavb)).longValue());
                                                    long v24 = ((Long) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzava)).longValue();
                                                } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                                    v3_37 = 0;
                                                    v4_11 = "error";
                                                    v5_5 = v12_1;
                                                }
                                                do {
                                                    com.google.android.gms.internal.ads.zzaqi v2_14 = v16_1.read(v18);
                                                    if (v2_14 < null) {
                                                        v12_1.close();
                                                        if (com.google.android.gms.internal.ads.zzakb.isLoggable(3)) {
                                                            com.google.android.gms.internal.ads.zzaqi v2_18 = com.google.android.gms.internal.ads.zzaqn.zzdbh.format(((long) v6_11));
                                                            com.google.android.gms.internal.ads.zzakb.zzck(new StringBuilder(((String.valueOf(v2_18).length() + 22) + String.valueOf(p28).length())).append("Preloaded ").append(v2_18).append(" bytes from ").append(p28).toString());
                                                        }
                                                        v13_1.setReadable(1, 0);
                                                        if (!v14.isFile()) {
                                                            try {
                                                                v14.createNewFile();
                                                            } catch (com.google.android.gms.internal.ads.zzaqi v2) {
                                                            }
                                                        } else {
                                                            v14.setLastModified(System.currentTimeMillis());
                                                        }
                                                        this.zza(p28, v13_1.getAbsolutePath(), v6_11);
                                                        com.google.android.gms.internal.ads.zzaqn.zzdbg.remove(v9_1);
                                                        v2_28 = 1;
                                                    } else {
                                                        v6_11 += v2_14;
                                                        try {
                                                            if (v6_11 <= v15) {
                                                                v18.flip();
                                                                while (v17.write(v18) > 0) {
                                                                }
                                                                v18.clear();
                                                                if ((v19.currentTimeMillis() - v20) <= (1000 * v24)) {
                                                                    if (!this.zzdbj) {
                                                                    } else {
                                                                        v4_11 = "externalAbort";
                                                                        throw new java.io.IOException("abort requested");
                                                                    }
                                                                } else {
                                                                    v4_11 = "downloadTimeout";
                                                                    com.google.android.gms.internal.ads.zzaqi v2_41 = Long.toString(v24);
                                                                    v3_37 = new StringBuilder((String.valueOf(v2_41).length() + 29)).append("Timeout exceeded. Limit: ").append(v2_41).append(" sec").toString();
                                                                    throw new java.io.IOException("stream cache time limit exceeded");
                                                                }
                                                            } else {
                                                                v4_11 = "sizeExceeded";
                                                                com.google.android.gms.internal.ads.zzaqn v3_39 = String.valueOf(Integer.toString(v6_11));
                                                                if (v3_39.length() == 0) {
                                                                    v3_37 = new String("File too big for full file cache. Size: ");
                                                                } else {
                                                                    v3_37 = "File too big for full file cache. Size: ".concat(v3_39);
                                                                }
                                                                throw new java.io.IOException("stream cache file size limit exceeded");
                                                            }
                                                        } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                                            v3_37 = 0;
                                                            v5_5 = v12_1;
                                                        } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                                            v3_37 = 0;
                                                            v5_5 = v12_1;
                                                        } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                                            v5_5 = v12_1;
                                                        } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                                            v5_5 = v12_1;
                                                        }
                                                    }
                                                } while(!v22.tryAcquire());
                                                com.google.android.gms.internal.ads.zzamu.zzsy.post(new com.google.android.gms.internal.ads.zzaqi(this, p28, v13_1.getAbsolutePath(), v6_11, v7_0, 0));
                                            } else {
                                                com.google.android.gms.internal.ads.zzaqi v2_65;
                                                com.google.android.gms.internal.ads.zzakb.zzdk(new StringBuilder(((String.valueOf(v4_1).length() + 33) + String.valueOf(p28).length())).append("Content length ").append(v4_1).append(" exceeds limit at ").append(p28).toString());
                                                com.google.android.gms.internal.ads.zzaqi v2_63 = String.valueOf(v4_1);
                                                if (v2_63.length() == 0) {
                                                    v2_65 = new String("File too big for full file cache. Size: ");
                                                } else {
                                                    v2_65 = "File too big for full file cache. Size: ".concat(v2_63);
                                                }
                                                this.zza(p28, v13_1.getAbsolutePath(), "sizeExceeded", v2_65);
                                                com.google.android.gms.internal.ads.zzaqn.zzdbg.remove(v9_1);
                                                v2_28 = 0;
                                            }
                                        } else {
                                            com.google.android.gms.internal.ads.zzaqi v2_71;
                                            com.google.android.gms.internal.ads.zzaqi v2_69 = String.valueOf(p28);
                                            if (v2_69.length() == 0) {
                                                v2_71 = new String("Stream cache aborted, missing content-length header at ");
                                            } else {
                                                v2_71 = "Stream cache aborted, missing content-length header at ".concat(v2_69);
                                            }
                                            com.google.android.gms.internal.ads.zzakb.zzdk(v2_71);
                                            this.zza(p28, v13_1.getAbsolutePath(), "contentLengthMissing", 0);
                                            com.google.android.gms.internal.ads.zzaqn.zzdbg.remove(v9_1);
                                            v2_28 = 0;
                                        }
                                    } else {
                                        int v8_7 = v2_2.getHeaderField("Location");
                                        if (v8_7 != 0) {
                                            int v6_20 = new java.net.URL(v3_58, v8_7);
                                            com.google.android.gms.internal.ads.zzaqn v3_54 = v6_20.getProtocol();
                                            if (v3_54 != null) {
                                                if ((!v3_54.equals("http")) && (!v3_54.equals("https"))) {
                                                    break;
                                                }
                                                com.google.android.gms.internal.ads.zzaqn v3_57;
                                                com.google.android.gms.internal.ads.zzaqn v3_55 = String.valueOf(v8_7);
                                                if (v3_55.length() == 0) {
                                                    v3_57 = new String("Redirecting to ");
                                                } else {
                                                    v3_57 = "Redirecting to ".concat(v3_55);
                                                }
                                                com.google.android.gms.internal.ads.zzakb.zzck(v3_57);
                                                v2_2.disconnect();
                                                v2_78 = v4_28;
                                                v3_58 = v6_20;
                                            } else {
                                                throw new java.io.IOException("Protocol is null");
                                            }
                                        } else {
                                            throw new java.io.IOException("Missing Location header in redirect");
                                        }
                                    }
                                } else {
                                    throw new java.io.IOException("Invalid protocol.");
                                }
                            }
                        }
                        com.google.android.gms.internal.ads.zzaqi v2_81;
                        com.google.android.gms.internal.ads.zzaqi v2_79 = String.valueOf(v3_54);
                        if (v2_79.length() == 0) {
                            v2_81 = new String("Unsupported scheme: ");
                        } else {
                            v2_81 = "Unsupported scheme: ".concat(v2_79);
                        }
                        throw new java.io.IOException(v2_81);
                    } else {
                        com.google.android.gms.internal.ads.zzaqi v2_110;
                        com.google.android.gms.internal.ads.zzaqi v2_108 = String.valueOf(p28);
                        if (v2_108.length() == 0) {
                            v2_110 = new String("Stream cache already in progress at ");
                        } else {
                            v2_110 = "Stream cache already in progress at ".concat(v2_108);
                        }
                        com.google.android.gms.internal.ads.zzakb.zzdk(v2_110);
                        this.zza(p28, v13_1.getAbsolutePath(), "inProgress", 0);
                        v2_28 = 0;
                    }
                } catch (com.google.android.gms.internal.ads.zzaqi v2_112) {
                    throw v2_112;
                }
            } else {
                com.google.android.gms.internal.ads.zzaqi v2_116;
                com.google.android.gms.internal.ads.zzaqn v3_65 = ((int) v13_1.length());
                com.google.android.gms.internal.ads.zzaqi v2_114 = String.valueOf(p28);
                if (v2_114.length() == 0) {
                    v2_116 = new String("Stream cache hit at ");
                } else {
                    v2_116 = "Stream cache hit at ".concat(v2_114);
                }
                com.google.android.gms.internal.ads.zzakb.zzck(v2_116);
                this.zza(p28, v13_1.getAbsolutePath(), v3_65);
                v2_28 = 1;
            }
        } else {
            this.zza(p28, 0, "noCacheDir", 0);
            v2_28 = 0;
        }
        return v2_28;
    }

Method com.google.android.gms.internal.ads.zzam.zza() calling method java.io.FileOutputStream.<init>()


    public final declared_synchronized void zza(String p13, com.google.android.gms.internal.ads.zzc p14)
    {
        int v1_0 = 0;
        try {
            Object[] v2_4 = p14.data.length;
        } catch (int v0_4) {
            throw v0_4;
        }
        if ((this.zzbx + ((long) v2_4)) >= ((long) this.zzbz)) {
            if (com.google.android.gms.internal.ads.zzaf.DEBUG) {
                Long v3_5 = new Object[0];
                com.google.android.gms.internal.ads.zzaf.v("Pruning old cache entries.", v3_5);
            }
            long v4_1 = this.zzbx;
            long v6_0 = android.os.SystemClock.elapsedRealtime();
            Long v3_6 = this.zzbw.entrySet().iterator();
            while (v3_6.hasNext()) {
                int v0_12 = ((com.google.android.gms.internal.ads.zzan) ((java.util.Map$Entry) v3_6.next()).getValue());
                if (!this.zze(v0_12.zzcb).delete()) {
                    int v9_1 = new Object[2];
                    v9_1[0] = v0_12.zzcb;
                    v9_1[1] = com.google.android.gms.internal.ads.zzam.zzd(v0_12.zzcb);
                    com.google.android.gms.internal.ads.zzaf.d("Could not delete cache entry for key=%s, filename=%s", v9_1);
                } else {
                    this.zzbx = (this.zzbx - v0_12.zzca);
                }
                v3_6.remove();
                int v0_8 = (v1_0 + 1);
                if (((float) (this.zzbx + ((long) v2_4))) >= (((float) this.zzbz) * 1063675494)) {
                    v1_0 = v0_8;
                }
                if (com.google.android.gms.internal.ads.zzaf.DEBUG) {
                    Object[] v2_6 = new Object[3];
                    v2_6[0] = Integer.valueOf(v0_8);
                    v2_6[1] = Long.valueOf((this.zzbx - v4_1));
                    v2_6[2] = Long.valueOf((android.os.SystemClock.elapsedRealtime() - v6_0));
                    com.google.android.gms.internal.ads.zzaf.v("pruned %d files, %d bytes, %d ms", v2_6);
                }
            }
            v0_8 = v1_0;
        }
        int v0_20 = this.zze(p13);
        try {
            int v1_11 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v0_20));
            Object[] v2_10 = new com.google.android.gms.internal.ads.zzan(p13, p14);
        } catch (int v1) {
            if (v0_20.delete()) {
                return;
            } else {
                Object[] v2_3 = new Object[1];
                v2_3[0] = v0_20.getAbsolutePath();
                com.google.android.gms.internal.ads.zzaf.d("Could not clean up file %s", v2_3);
                return;
            }
        }
        if (v2_10.zza(v1_11)) {
            v1_11.write(p14.data);
            v1_11.close();
            this.zza(p13, v2_10);
            return;
        } else {
            v1_11.close();
            Object[] v2_1 = new Object[1];
            v2_1[0] = v0_20.getAbsolutePath();
            com.google.android.gms.internal.ads.zzaf.d("Failed to write header for %s", v2_1);
            throw new java.io.IOException();
        }
    }

Method kotlin.io.FilesKt__UtilsKt.copyTo() calling method java.io.FileOutputStream.<init>()


    public static final java.io.File copyTo(java.io.File p10, java.io.File p11, boolean p12, int p13)
    {
        int v5_0 = 0;
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p10, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p11, "target");
        if (p10.exists()) {
            if (p11.exists()) {
                int v9;
                if (p12) {
                    if (p11.delete()) {
                        v9 = 0;
                    } else {
                        v9 = 1;
                    }
                } else {
                    v9 = 1;
                }
                if (v9 != 0) {
                    throw ((Throwable) new kotlin.io.FileAlreadyExistsException(p10, p11, "The destination file already exists."));
                }
            }
            if (!p10.isDirectory()) {
                Throwable v1_3 = p11.getParentFile();
                if (v1_3 != null) {
                    v1_3.mkdirs();
                }
                Throwable v1_7 = ((java.io.Closeable) new java.io.FileInputStream(p10));
                try {
                    Throwable v2_2 = ((java.io.Closeable) new java.io.FileOutputStream(p11));
                    try {
                        kotlin.io.ByteStreamsKt.copyTo(((java.io.InputStream) ((java.io.FileInputStream) v1_7)), ((java.io.OutputStream) ((java.io.FileOutputStream) v2_2)), p13);
                    } catch (Throwable v3_3) {
                        Exception v4_0 = 0;
                        if (v4_0 == null) {
                            v2_2.close();
                        }
                        throw v3_3;
                    } catch (Throwable v3_1) {
                        try {
                            v2_2.close();
                        } catch (Throwable v3_3) {
                            v4_0 = 1;
                        } catch (Exception v4) {
                        }
                        throw ((Throwable) v3_1);
                    }
                    v2_2.close();
                    v1_7.close();
                } catch (Throwable v2_5) {
                    if (v5_0 == 0) {
                        v1_7.close();
                    }
                    throw v2_5;
                } catch (Throwable v2_3) {
                    try {
                        v1_7.close();
                    } catch (Throwable v2_5) {
                        v5_0 = 1;
                    } catch (Throwable v3) {
                    }
                    throw ((Throwable) v2_3);
                }
            } else {
                if (!p11.mkdirs()) {
                    throw ((Throwable) new kotlin.io.FileSystemException(p10, p11, "Failed to create target directory."));
                }
            }
            return p11;
        } else {
            throw ((Throwable) new kotlin.io.NoSuchFileException(p10, 0, "The source file doesn\'t exist.", 2, 0));
        }
    }

Method kotlin.io.FilesKt__FileReadWriteKt.writer$default() calling method java.io.FileOutputStream.<init>()


    static bridge synthetic java.io.OutputStreamWriter writer$default(java.io.File p2, java.nio.charset.Charset p3, int p4, Object p5)
    {
        if ((p4 & 1) != 0) {
            p3 = kotlin.text.Charsets.UTF_8;
        }
        return new java.io.OutputStreamWriter(((java.io.OutputStream) new java.io.FileOutputStream(p2)), p3);
    }

Method kotlin.io.FilesKt__FileReadWriteKt.writer() calling method java.io.FileOutputStream.<init>()


    private static final java.io.OutputStreamWriter writer(java.io.File p2, java.nio.charset.Charset p3)
    {
        return new java.io.OutputStreamWriter(((java.io.OutputStream) new java.io.FileOutputStream(p2)), p3);
    }

Method kotlin.io.FilesKt__FileReadWriteKt.writeBytes() calling method java.io.FileOutputStream.<init>()


    public static final void writeBytes(java.io.File p6, byte[] p7)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p6, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p7, "array");
        java.io.Closeable v2_4 = ((java.io.Closeable) new java.io.FileOutputStream(p6));
        int v4 = 0;
        try {
            ((java.io.FileOutputStream) v2_4).write(p7);
            v2_4.close();
            return;
        } catch (Throwable v3_0) {
            v4 = 1;
            try {
                v2_4.close();
            } catch (Exception v5) {
            }
            throw ((Throwable) v3_0);
        } catch (Throwable v3_2) {
            if (v4 == 0) {
                v2_4.close();
            }
            throw v3_2;
        }
    }

Method kotlin.io.FilesKt__FileReadWriteKt.printWriter$default() calling method java.io.FileOutputStream.<init>()


    static bridge synthetic java.io.PrintWriter printWriter$default(java.io.File p4, java.nio.charset.Charset p5, int p6, Object p7)
    {
        if ((p6 & 1) != 0) {
            p5 = kotlin.text.Charsets.UTF_8;
        }
        java.io.Writer v0_3;
        java.io.Writer v0_2 = ((java.io.Writer) new java.io.OutputStreamWriter(((java.io.OutputStream) new java.io.FileOutputStream(p4)), p5));
        if (!(v0_2 instanceof java.io.BufferedWriter)) {
            v0_3 = new java.io.BufferedWriter(v0_2, 8192);
        } else {
            v0_3 = ((java.io.BufferedWriter) v0_2);
        }
        return new java.io.PrintWriter(((java.io.Writer) v0_3));
    }

Method kotlin.io.FilesKt__FileReadWriteKt.printWriter() calling method java.io.FileOutputStream.<init>()


    private static final java.io.PrintWriter printWriter(java.io.File p4, java.nio.charset.Charset p5)
    {
        java.io.Writer v0_1;
        java.io.Writer v0_0 = ((java.io.Writer) new java.io.OutputStreamWriter(((java.io.OutputStream) new java.io.FileOutputStream(p4)), p5));
        if (!(v0_0 instanceof java.io.BufferedWriter)) {
            v0_1 = new java.io.BufferedWriter(v0_0, 8192);
        } else {
            v0_1 = ((java.io.BufferedWriter) v0_0);
        }
        return new java.io.PrintWriter(((java.io.Writer) v0_1));
    }

Method kotlin.io.FilesKt__FileReadWriteKt.outputStream() calling method java.io.FileOutputStream.<init>()


    private static final java.io.FileOutputStream outputStream(java.io.File p1)
    {
        return new java.io.FileOutputStream(p1);
    }

Method kotlin.io.FilesKt__FileReadWriteKt.bufferedWriter$default() calling method java.io.FileOutputStream.<init>()


    static bridge synthetic java.io.BufferedWriter bufferedWriter$default(java.io.File p2, java.nio.charset.Charset p3, int p4, int p5, Object p6)
    {
        if ((p5 & 1) != 0) {
            p3 = kotlin.text.Charsets.UTF_8;
        }
        if ((p5 & 2) != 0) {
            p4 = 8192;
        }
        java.io.BufferedWriter v0_3;
        java.io.BufferedWriter v0_2 = ((java.io.Writer) new java.io.OutputStreamWriter(((java.io.OutputStream) new java.io.FileOutputStream(p2)), p3));
        if (!(v0_2 instanceof java.io.BufferedWriter)) {
            v0_3 = new java.io.BufferedWriter(v0_2, p4);
        } else {
            v0_3 = ((java.io.BufferedWriter) v0_2);
        }
        return v0_3;
    }

Method kotlin.io.FilesKt__FileReadWriteKt.bufferedWriter() calling method java.io.FileOutputStream.<init>()


    private static final java.io.BufferedWriter bufferedWriter(java.io.File p2, java.nio.charset.Charset p3, int p4)
    {
        java.io.BufferedWriter v0_2;
        java.io.BufferedWriter v0_5 = ((java.io.Writer) new java.io.OutputStreamWriter(((java.io.OutputStream) new java.io.FileOutputStream(p2)), p3));
        if (!(v0_5 instanceof java.io.BufferedWriter)) {
            v0_2 = new java.io.BufferedWriter(v0_5, p4);
        } else {
            v0_2 = ((java.io.BufferedWriter) v0_5);
        }
        return v0_2;
    }

Method kotlin.io.FilesKt__FileReadWriteKt.appendBytes() calling method java.io.FileOutputStream.<init>()


    public static final void appendBytes(java.io.File p6, byte[] p7)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p6, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p7, "array");
        java.io.Closeable v2_4 = ((java.io.Closeable) new java.io.FileOutputStream(p6, 1));
        Exception v4 = 0;
        try {
            ((java.io.FileOutputStream) v2_4).write(p7);
            v2_4.close();
            return;
        } catch (Throwable v3_2) {
            if (v4 == null) {
                v2_4.close();
            }
            throw v3_2;
        } catch (Throwable v3_0) {
            try {
                v2_4.close();
            } catch (Throwable v3_2) {
                v4 = 1;
            } catch (Exception v4) {
            }
            throw ((Throwable) v3_0);
        }
    }

Method android.support.v4.print.PrintHelper$PrintHelperApi19$2.doInBackground() calling method java.io.FileOutputStream.<init>()


    protected varargs Throwable doInBackground(Void[] p13)
    {
        Throwable v7 = 0;
        try {
            if (!this.val$cancellationSignal.isCanceled()) {
                android.print.pdf.PrintedPdfDocument v6_1 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.val$pdfAttributes);
                android.graphics.Bitmap v4 = android.support.v4.print.PrintHelper$PrintHelperApi19.access$100(this.this$0, this.val$bitmap, this.val$pdfAttributes.getColorMode());
                if (!this.val$cancellationSignal.isCanceled()) {
                    try {
                        android.graphics.RectF v0_1;
                        android.graphics.pdf.PdfDocument$Page v5 = v6_1.startPage(1);
                    } catch (java.io.IOException v8_30) {
                        v6_1.close();
                        if (this.val$fileDescriptor != null) {
                            try {
                                this.val$fileDescriptor.close();
                            } catch (java.io.FileDescriptor v9) {
                            }
                        }
                        if (v4 != this.val$bitmap) {
                            v4.recycle();
                        }
                        throw v8_30;
                    }
                    if (!this.this$0.mIsMinMarginsHandlingCorrect) {
                        android.print.pdf.PrintedPdfDocument v1_1 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.val$attributes);
                        android.graphics.pdf.PdfDocument$Page v2 = v1_1.startPage(1);
                        v0_1 = new android.graphics.RectF(v2.getInfo().getContentRect());
                        v1_1.finishPage(v2);
                        v1_1.close();
                    } else {
                        v0_1 = new android.graphics.RectF(v5.getInfo().getContentRect());
                    }
                    android.graphics.Matrix v3 = android.support.v4.print.PrintHelper$PrintHelperApi19.access$200(this.this$0, v4.getWidth(), v4.getHeight(), v0_1, this.val$fittingMode);
                    if (!this.this$0.mIsMinMarginsHandlingCorrect) {
                        v3.postTranslate(v0_1.left, v0_1.top);
                        v5.getCanvas().clipRect(v0_1);
                    }
                    v5.getCanvas().drawBitmap(v4, v3, 0);
                    v6_1.finishPage(v5);
                    if (!this.val$cancellationSignal.isCanceled()) {
                        v6_1.writeTo(new java.io.FileOutputStream(this.val$fileDescriptor.getFileDescriptor()));
                        v6_1.close();
                        if (this.val$fileDescriptor != null) {
                            try {
                                this.val$fileDescriptor.close();
                            } catch (java.io.IOException v8) {
                            }
                        }
                        if (v4 != this.val$bitmap) {
                            v4.recycle();
                        }
                    } else {
                        v6_1.close();
                        if (this.val$fileDescriptor != null) {
                            try {
                                this.val$fileDescriptor.close();
                            } catch (java.io.IOException v8) {
                            }
                        }
                        if (v4 != this.val$bitmap) {
                            v4.recycle();
                        }
                    }
                }
            }
        } catch (Throwable v7) {
        }
        return v7;
    }

Method com.recoverimages.datarestorepicturecanfreeapp.ListActivity.copyDirectory() calling method java.io.FileOutputStream.<init>()


    public void copyDirectory(java.io.File p11, java.io.File p12)
    {
        if (p11.isDirectory()) {
            if ((!p12.exists()) && (!p12.mkdirs())) {
                throw new java.io.IOException(new StringBuilder().append("Cannot create dir ").append(p12.getAbsolutePath()).toString());
            } else {
                String[] v1 = p11.list();
                int v3 = 0;
                while (v3 < v1.length) {
                    this.copyDirectory(new java.io.File(p11, v1[v3]), new java.io.File(p12, v1[v3]));
                    v3++;
                }
            }
        } else {
            java.io.File v2 = p12.getParentFile();
            if ((v2 != null) && ((!v2.exists()) && (!v2.mkdirs()))) {
                throw new java.io.IOException(new StringBuilder().append("Cannot create dir ").append(v2.getAbsolutePath()).toString());
            } else {
                java.io.FileInputStream v4_1 = new java.io.FileInputStream(p11);
                java.io.FileOutputStream v6_1 = new java.io.FileOutputStream(p12);
                byte[] v0 = new byte[1024];
                while(true) {
                    int v5 = v4_1.read(v0);
                    if (v5 <= 0) {
                        break;
                    }
                    v6_1.write(v0, 0, v5);
                }
                v4_1.close();
                v6_1.close();
            }
        }
        return;
    }

Method com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.copyDirectory() calling method java.io.FileOutputStream.<init>()


    public void copyDirectory(java.io.File p11, java.io.File p12)
    {
        if (p11.isDirectory()) {
            if ((!p12.exists()) && (!p12.mkdirs())) {
                throw new java.io.IOException(new StringBuilder().append("Cannot create dir ").append(p12.getAbsolutePath()).toString());
            } else {
                String[] v1 = p11.list();
                int v3 = 0;
                while (v3 < v1.length) {
                    this.copyDirectory(new java.io.File(p11, v1[v3]), new java.io.File(p12, v1[v3]));
                    v3++;
                }
            }
        } else {
            java.io.File v2 = p12.getParentFile();
            if ((v2 != null) && ((!v2.exists()) && (!v2.mkdirs()))) {
                throw new java.io.IOException(new StringBuilder().append("Cannot create dir ").append(v2.getAbsolutePath()).toString());
            } else {
                java.io.FileInputStream v4_1 = new java.io.FileInputStream(p11);
                java.io.FileOutputStream v6_1 = new java.io.FileOutputStream(p12);
                byte[] v0 = new byte[1024];
                while(true) {
                    int v5 = v4_1.read(v0);
                    if (v5 <= 0) {
                        break;
                    }
                    v6_1.write(v0, 0, v5);
                }
                v4_1.close();
                v6_1.close();
            }
        }
        return;
    }

Method com.bumptech.glide.load.resource.bitmap.BitmapEncoder.encode() calling method java.io.FileOutputStream.<init>()


    public boolean encode(com.bumptech.glide.load.engine.Resource p17, java.io.File p18, com.bumptech.glide.load.Options p19)
    {
        android.graphics.Bitmap v2_1 = ((android.graphics.Bitmap) p17.get());
        android.graphics.Bitmap$CompressFormat v4 = this.getFormat(v2_1, p19);
        com.bumptech.glide.util.pool.GlideTrace.beginSectionFormat("encode: [%dx%d] %s", Integer.valueOf(v2_1.getWidth()), Integer.valueOf(v2_1.getHeight()), v4);
        try {
            long v8 = com.bumptech.glide.util.LogTime.getLogTime();
            int v7 = ((Integer) p19.get(com.bumptech.glide.load.resource.bitmap.BitmapEncoder.COMPRESSION_QUALITY)).intValue();
            int v10 = 0;
            java.io.FileOutputStream v5_0 = 0;
            try {
                java.io.FileOutputStream v6_1 = new java.io.FileOutputStream(p18);
                try {
                    if (this.arrayPool == null) {
                        v5_0 = v6_1;
                    } else {
                        v5_0 = new com.bumptech.glide.load.data.BufferedOutputStream(v6_1, this.arrayPool);
                    }
                } catch (java.io.IOException v11_6) {
                    v5_0 = v6_1;
                    if (v5_0 != null) {
                        try {
                            v5_0.close();
                        } catch (String v12) {
                        }
                    }
                    throw v11_6;
                } catch (java.io.IOException v3) {
                    v5_0 = v6_1;
                    if (android.util.Log.isLoggable("BitmapEncoder", 3)) {
                        android.util.Log.d("BitmapEncoder", "Failed to encode Bitmap", v3);
                    }
                    if (v5_0 == null) {
                        if (android.util.Log.isLoggable("BitmapEncoder", 2)) {
                            android.util.Log.v("BitmapEncoder", new StringBuilder().append("Compressed with type: ").append(v4).append(" of size ").append(com.bumptech.glide.util.Util.getBitmapByteSize(v2_1)).append(" in ").append(com.bumptech.glide.util.LogTime.getElapsedMillis(v8)).append(", options format: ").append(p19.get(com.bumptech.glide.load.resource.bitmap.BitmapEncoder.COMPRESSION_FORMAT)).append(", hasAlpha: ").append(v2_1.hasAlpha()).toString());
                        }
                        com.bumptech.glide.util.pool.GlideTrace.endSection();
                        return v10;
                    } else {
                        try {
                            v5_0.close();
                        } catch (java.io.IOException v11) {
                        }
                    }
                }
                v2_1.compress(v4, v7, v5_0);
                v5_0.close();
                v10 = 1;
                if (v5_0 == null) {
                } else {
                    try {
                        v5_0.close();
                    } catch (java.io.IOException v11) {
                    }
                }
            } catch (java.io.IOException v11_6) {
            } catch (java.io.IOException v3) {
            }
        } catch (java.io.IOException v11_0) {
            com.bumptech.glide.util.pool.GlideTrace.endSection();
            throw v11_0;
        }
    }

Method com.bumptech.glide.load.model.StreamEncoder.encode() calling method java.io.FileOutputStream.<init>()


    public boolean encode(java.io.InputStream p10, java.io.File p11, com.bumptech.glide.load.Options p12)
    {
        byte[] v0_1 = ((byte[]) this.byteArrayPool.get(65536, byte[]));
        int v5 = 0;
        java.io.FileOutputStream v2 = 0;
        try {
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(p11);
            try {
                while(true) {
                    int v4 = p10.read(v0_1);
                    v3_1.write(v0_1, 0, v4);
                }
                v3_1.close();
                v5 = 1;
                if (v3_1 != null) {
                    try {
                        v3_1.close();
                    } catch (java.io.IOException v6) {
                    }
                }
                this.byteArrayPool.put(v0_1);
                return v5;
            } catch (java.io.IOException v6_5) {
                v2 = v3_1;
                if (v2 != null) {
                    try {
                        v2.close();
                    } catch (java.io.IOException v7) {
                    }
                }
                this.byteArrayPool.put(v0_1);
                throw v6_5;
            } catch (java.io.IOException v1) {
                v2 = v3_1;
                if (android.util.Log.isLoggable("StreamEncoder", 3)) {
                    android.util.Log.d("StreamEncoder", "Failed to encode data onto the OutputStream", v1);
                }
                if (v2 != null) {
                    try {
                        v2.close();
                    } catch (java.io.IOException v6) {
                    }
                }
                this.byteArrayPool.put(v0_1);
                return v5;
            }
            if (v4 != -1) {
            }
        } catch (java.io.IOException v6_5) {
        } catch (java.io.IOException v1) {
        }
    }

Method android.support.v4.util.AtomicFile.startWrite() calling method java.io.FileOutputStream.<init>()


    public java.io.FileOutputStream startWrite()
    {
        if (this.mBaseName.exists()) {
            if (this.mBackupName.exists()) {
                this.mBaseName.delete();
            } else {
                if (!this.mBaseName.renameTo(this.mBackupName)) {
                    android.util.Log.w("AtomicFile", new StringBuilder().append("Couldn\'t rename file ").append(this.mBaseName).append(" to backup file ").append(this.mBackupName).toString());
                }
            }
        }
        try {
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.mBaseName);
        } catch (java.io.FileNotFoundException v0) {
            if (this.mBaseName.getParentFile().mkdirs()) {
                try {
                    v3_1 = new java.io.FileOutputStream(this.mBaseName);
                } catch (java.io.FileNotFoundException v1) {
                    throw new java.io.IOException(new StringBuilder().append("Couldn\'t create ").append(this.mBaseName).toString());
                }
            } else {
                throw new java.io.IOException(new StringBuilder().append("Couldn\'t create directory ").append(this.mBaseName).toString());
            }
        }
        return v3_1;
    }

Method android.support.v4.graphics.TypefaceCompatUtil.copyToFile() calling method java.io.FileOutputStream.<init>()


    public static boolean copyToFile(java.io.File p9, java.io.InputStream p10)
    {
        int v5_0 = 0;
        java.io.FileOutputStream v2 = 0;
        try {
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(p9, 0);
            try {
                byte[] v0 = new byte[1024];
            } catch (int v5_1) {
                v2 = v3_1;
                android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v2);
                throw v5_1;
            } catch (java.io.IOException v1) {
                v2 = v3_1;
                android.util.Log.e("TypefaceCompatUtil", new StringBuilder().append("Error copying resource contents to temp file: ").append(v1.getMessage()).toString());
                android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v2);
                return v5_0;
            }
            while(true) {
                int v4 = p10.read(v0);
                if (v4 == -1) {
                    break;
                }
                v3_1.write(v0, 0, v4);
            }
            v5_0 = 1;
            android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v3_1);
            return v5_0;
        } catch (int v5_1) {
        } catch (java.io.IOException v1) {
        }
    }

Method android.support.multidex.MultiDexExtractor.extract() calling method java.io.FileOutputStream.<init>()


    private static void extract(java.util.zip.ZipFile p10, java.util.zip.ZipEntry p11, java.io.File p12, String p13)
    {
        java.io.InputStream v2 = p10.getInputStream(p11);
        java.io.File v6 = java.io.File.createTempFile(p13, ".zip", p12.getParentFile());
        android.util.Log.i("MultiDex", new StringBuilder().append("Extracting ").append(v6.getPath()).toString());
        try {
            java.util.zip.ZipOutputStream v5_1 = new java.util.zip.ZipOutputStream(new java.io.BufferedOutputStream(new java.io.FileOutputStream(v6)));
            try {
                java.util.zip.ZipEntry v1_1 = new java.util.zip.ZipEntry("classes.dex");
                v1_1.setTime(p11.getTime());
                v5_1.putNextEntry(v1_1);
                byte[] v0 = new byte[16384];
                int v3 = v2.read(v0);
            } catch (java.io.IOException v7_13) {
                v5_1.close();
                throw v7_13;
            } catch (java.io.IOException v7_2) {
                android.support.multidex.MultiDexExtractor.closeQuietly(v2);
                v6.delete();
                throw v7_2;
            }
            while (v3 != -1) {
                v5_1.write(v0, 0, v3);
                v3 = v2.read(v0);
            }
            v5_1.closeEntry();
            v5_1.close();
            android.util.Log.i("MultiDex", new StringBuilder().append("Renaming to ").append(p12.getPath()).toString());
            if (v6.renameTo(p12)) {
                android.support.multidex.MultiDexExtractor.closeQuietly(v2);
                v6.delete();
                return;
            } else {
                throw new java.io.IOException(new StringBuilder().append("Failed to rename \"").append(v6.getAbsolutePath()).append("\" to \"").append(p12.getAbsolutePath()).append("\"").toString());
            }
        } catch (java.io.IOException v7_2) {
        }
    }

Method com.bumptech.glide.disklrucache.DiskLruCache.readJournal() calling method java.io.FileInputStream.<init>()


    private void readJournal()
    {
        com.bumptech.glide.disklrucache.StrictLineReader v5_1 = new com.bumptech.glide.disklrucache.StrictLineReader(new java.io.FileInputStream(this.journalFile), com.bumptech.glide.disklrucache.Util.US_ASCII);
        try {
            String v4 = v5_1.readLine();
            String v7 = v5_1.readLine();
            String v0 = v5_1.readLine();
            String v6 = v5_1.readLine();
            String v1 = v5_1.readLine();
        } catch (java.io.BufferedWriter v8_23) {
            com.bumptech.glide.disklrucache.Util.closeQuietly(v5_1);
            throw v8_23;
        }
        if (("libcore.io.DiskLruCache".equals(v4)) && (("1".equals(v7)) && ((Integer.toString(this.appVersion).equals(v0)) && ((Integer.toString(this.valueCount).equals(v6)) && ("".equals(v1)))))) {
            int v3 = 0;
            try {
                while(true) {
                    this.readJournalLine(v5_1.readLine());
                    v3++;
                }
            } catch (java.io.EOFException v2) {
                this.redundantOpCount = (v3 - this.lruEntries.size());
                if (!v5_1.hasUnterminatedLine()) {
                    this.journalWriter = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.journalFile, 1), com.bumptech.glide.disklrucache.Util.US_ASCII));
                } else {
                    this.rebuildJournal();
                }
                com.bumptech.glide.disklrucache.Util.closeQuietly(v5_1);
                return;
            }
        } else {
            throw new java.io.IOException(new StringBuilder().append("unexpected journal header: [").append(v4).append(", ").append(v7).append(", ").append(v6).append(", ").append(v1).append("]").toString());
        }
    }

Method com.bumptech.glide.disklrucache.DiskLruCache$Value.getString() calling method java.io.FileInputStream.<init>()


    public String getString(int p3)
    {
        return com.bumptech.glide.disklrucache.DiskLruCache.access$1800(new java.io.FileInputStream(this.files[p3]));
    }

Method com.bumptech.glide.disklrucache.DiskLruCache$Editor.newInputStream() calling method java.io.FileInputStream.<init>()


    private java.io.InputStream newInputStream(int p6)
    {
        java.io.FileInputStream v1_0 = 0;
        try {
            if (com.bumptech.glide.disklrucache.DiskLruCache$Entry.access$800(this.entry) == this) {
                if (com.bumptech.glide.disklrucache.DiskLruCache$Entry.access$700(this.entry)) {
                    try {
                    } catch (java.io.FileNotFoundException v0) {
                    }
                    v1_0 = new java.io.FileInputStream(this.entry.getCleanFile(p6));
                } else {
                }
                return v1_0;
            } else {
                throw new IllegalStateException();
            }
        } catch (java.io.FileInputStream v1_3) {
            throw v1_3;
        }
    }

Method com.google.android.gms.internal.ads.zzcz.zzb() calling method java.io.FileInputStream.<init>()


    private final boolean zzb(java.io.File p13, String p14)
    {
        java.io.FileInputStream v0_3;
        int v3 = 0;
        java.io.FileInputStream v4_3 = new Object[2];
        v4_3[0] = p13;
        v4_3[1] = p14;
        byte[] v5_0 = new java.io.File(String.format("%s/%s.tmp", v4_3));
        if (v5_0.exists()) {
            java.io.FileInputStream v4_1 = new Object[2];
            v4_1[0] = p13;
            v4_1[1] = p14;
            int v6_1 = new java.io.File(String.format("%s/%s.dex", v4_1));
            if (!v6_1.exists()) {
                try {
                    String v8_0 = v5_0.length();
                } catch (java.io.FileInputStream v0_2) {
                    java.io.FileInputStream v4_0 = 0;
                    if (v4_0 != null) {
                        try {
                            v4_0.close();
                        } catch (java.io.FileInputStream v1) {
                        }
                    }
                    if (v3 != 0) {
                        try {
                            v3.close();
                        } catch (java.io.FileInputStream v1) {
                        }
                    }
                    throw v0_2;
                } catch (java.io.FileInputStream v0) {
                    java.io.FileInputStream v0_1 = 0;
                    java.io.FileInputStream v1_0 = 0;
                    if (v1_0 != null) {
                        try {
                            v1_0.close();
                        } catch (java.io.FileInputStream v1) {
                        }
                    }
                    if (v0_1 != null) {
                        try {
                            v0_1.close();
                        } catch (java.io.FileInputStream v0) {
                        }
                    }
                    v0_3 = 0;
                } catch (java.io.FileInputStream v0) {
                    v0_1 = 0;
                    v1_0 = 0;
                } catch (java.io.FileInputStream v0) {
                    v0_1 = 0;
                    v1_0 = 0;
                }
                if (v8_0 > 0) {
                    java.io.FileInputStream v0_10 = new byte[((int) v8_0)];
                    v4_0 = new java.io.FileInputStream(v5_0);
                    try {
                        if (v4_0.read(v0_10) > 0) {
                            java.io.FileInputStream v0_12 = ((com.google.android.gms.internal.ads.zzbe) com.google.android.gms.internal.ads.zzbfi.zza(new com.google.android.gms.internal.ads.zzbe(), v0_10));
                            if ((p14.equals(new String(v0_12.zzgr))) && ((java.util.Arrays.equals(v0_12.zzgq, com.google.android.gms.internal.ads.zzbk.zzb(v0_12.data))) && (java.util.Arrays.equals(v0_12.zzgs, android.os.Build$VERSION.SDK.getBytes())))) {
                                byte[] v5_3 = this.zzrw.zza(this.zzrx, new String(v0_12.data));
                                v6_1.createNewFile();
                                v0_1 = new java.io.FileOutputStream(v6_1);
                                v3 = 0;
                                try {
                                    v0_1.write(v5_3, 0, v5_3.length);
                                    try {
                                        v4_0.close();
                                        try {
                                            v0_1.close();
                                        } catch (java.io.FileInputStream v0) {
                                        }
                                        v0_3 = 1;
                                    } catch (java.io.IOException v2) {
                                    }
                                } catch (java.io.FileInputStream v1_2) {
                                    v3 = v0_1;
                                    v0_2 = v1_2;
                                } catch (java.io.FileInputStream v1) {
                                    v1_0 = v4_0;
                                } catch (java.io.FileInputStream v1) {
                                    v1_0 = v4_0;
                                } catch (java.io.FileInputStream v1) {
                                    v1_0 = v4_0;
                                }
                            } else {
                                com.google.android.gms.internal.ads.zzcz.zzb(v5_0);
                                try {
                                    v4_0.close();
                                } catch (java.io.FileInputStream v0) {
                                }
                                v0_3 = 0;
                            }
                        } else {
                            android.util.Log.d(com.google.android.gms.internal.ads.zzcz.TAG, "Cannot read the cache data.");
                            com.google.android.gms.internal.ads.zzcz.zzb(v5_0);
                            try {
                                v4_0.close();
                            } catch (java.io.FileInputStream v0) {
                            }
                            v0_3 = 0;
                        }
                    } catch (java.io.FileInputStream v0_2) {
                    } catch (java.io.FileInputStream v0) {
                        v0_1 = v3;
                        v1_0 = v4_0;
                    } catch (java.io.FileInputStream v0) {
                        v0_1 = v3;
                        v1_0 = v4_0;
                    } catch (java.io.FileInputStream v0) {
                        v0_1 = v3;
                        v1_0 = v4_0;
                    }
                } else {
                    com.google.android.gms.internal.ads.zzcz.zzb(v5_0);
                    v0_3 = 0;
                }
            } else {
                v0_3 = 0;
            }
        } else {
            v0_3 = 0;
        }
        return v0_3;
    }

Method com.google.android.gms.internal.ads.zzcz.zza() calling method java.io.FileInputStream.<init>()


    private final void zza(java.io.File p12, String p13)
    {
        java.io.IOException v1_0 = 0;
        java.io.IOException v2_3 = new Object[2];
        v2_3[0] = p12;
        v2_3[1] = p13;
        int v3_0 = new java.io.File(String.format("%s/%s.tmp", v2_3));
        if (!v3_0.exists()) {
            java.io.IOException v2_0 = new Object[2];
            v2_0[0] = p12;
            v2_0[1] = p13;
            java.io.File v4_1 = new java.io.File(String.format("%s/%s.dex", v2_0));
            if (v4_1.exists()) {
                com.google.android.gms.internal.ads.zzck v6_1 = v4_1.length();
                if (v6_1 > 0) {
                    java.io.IOException v0_8 = new byte[((int) v6_1)];
                    try {
                        java.io.IOException v2_2 = new java.io.FileInputStream(v4_1);
                        try {
                            if (v2_2.read(v0_8) > 0) {
                                int v5_3 = new com.google.android.gms.internal.ads.zzbe();
                                v5_3.zzgs = android.os.Build$VERSION.SDK.getBytes();
                                v5_3.zzgr = p13.getBytes();
                                java.io.IOException v0_12 = this.zzrw.zzb(this.zzrx, v0_8).getBytes();
                                v5_3.data = v0_12;
                                v5_3.zzgq = com.google.android.gms.internal.ads.zzbk.zzb(v0_12);
                                v3_0.createNewFile();
                                java.io.IOException v0_9 = new java.io.FileOutputStream(v3_0);
                                try {
                                    java.io.IOException v1_1 = com.google.android.gms.internal.ads.zzbfi.zzb(v5_3);
                                    v0_9.write(v1_1, 0, v1_1.length);
                                    v0_9.close();
                                    try {
                                        v2_2.close();
                                        try {
                                            v0_9.close();
                                        } catch (java.io.IOException v0) {
                                        }
                                        com.google.android.gms.internal.ads.zzcz.zzb(v4_1);
                                    } catch (java.io.IOException v1) {
                                    }
                                } catch (java.io.IOException v1_2) {
                                    v1_0 = v0_9;
                                    java.io.IOException v0_1 = v1_2;
                                    if (v2_2 != null) {
                                        try {
                                            v2_2.close();
                                        } catch (java.io.IOException v2) {
                                        }
                                    }
                                    if (v1_0 != null) {
                                        try {
                                            v1_0.close();
                                        } catch (java.io.IOException v1) {
                                        }
                                    }
                                    com.google.android.gms.internal.ads.zzcz.zzb(v4_1);
                                    throw v0_1;
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                    if (v1_0 != null) {
                                        try {
                                            v1_0.close();
                                        } catch (java.io.IOException v1) {
                                        }
                                    }
                                    if (v0_9 != null) {
                                        try {
                                            v0_9.close();
                                        } catch (java.io.IOException v0) {
                                        }
                                    }
                                    com.google.android.gms.internal.ads.zzcz.zzb(v4_1);
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                }
                            } else {
                                try {
                                    v2_2.close();
                                } catch (java.io.IOException v0) {
                                }
                                com.google.android.gms.internal.ads.zzcz.zzb(v4_1);
                            }
                        } catch (java.io.IOException v0_1) {
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        }
                    } catch (java.io.IOException v0_1) {
                        v2_2 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    }
                }
            }
        }
        return;
    }

Method com.google.android.gms.internal.ads.zzam.zza() calling method java.io.FileInputStream.<init>()


    private static java.io.InputStream zza(java.io.File p1)
    {
        return new java.io.FileInputStream(p1);
    }

Method kotlin.io.FilesKt__UtilsKt.copyTo() calling method java.io.FileInputStream.<init>()


    public static final java.io.File copyTo(java.io.File p10, java.io.File p11, boolean p12, int p13)
    {
        int v5_0 = 0;
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p10, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p11, "target");
        if (p10.exists()) {
            if (p11.exists()) {
                int v9;
                if (p12) {
                    if (p11.delete()) {
                        v9 = 0;
                    } else {
                        v9 = 1;
                    }
                } else {
                    v9 = 1;
                }
                if (v9 != 0) {
                    throw ((Throwable) new kotlin.io.FileAlreadyExistsException(p10, p11, "The destination file already exists."));
                }
            }
            if (!p10.isDirectory()) {
                Throwable v1_3 = p11.getParentFile();
                if (v1_3 != null) {
                    v1_3.mkdirs();
                }
                Throwable v1_7 = ((java.io.Closeable) new java.io.FileInputStream(p10));
                try {
                    Throwable v2_2 = ((java.io.Closeable) new java.io.FileOutputStream(p11));
                    try {
                        kotlin.io.ByteStreamsKt.copyTo(((java.io.InputStream) ((java.io.FileInputStream) v1_7)), ((java.io.OutputStream) ((java.io.FileOutputStream) v2_2)), p13);
                    } catch (Throwable v3_3) {
                        Exception v4_0 = 0;
                        if (v4_0 == null) {
                            v2_2.close();
                        }
                        throw v3_3;
                    } catch (Throwable v3_1) {
                        try {
                            v2_2.close();
                        } catch (Throwable v3_3) {
                            v4_0 = 1;
                        } catch (Exception v4) {
                        }
                        throw ((Throwable) v3_1);
                    }
                    v2_2.close();
                    v1_7.close();
                } catch (Throwable v2_5) {
                    if (v5_0 == 0) {
                        v1_7.close();
                    }
                    throw v2_5;
                } catch (Throwable v2_3) {
                    try {
                        v1_7.close();
                    } catch (Throwable v2_5) {
                        v5_0 = 1;
                    } catch (Throwable v3) {
                    }
                    throw ((Throwable) v2_3);
                }
            } else {
                if (!p11.mkdirs()) {
                    throw ((Throwable) new kotlin.io.FileSystemException(p10, p11, "Failed to create target directory."));
                }
            }
            return p11;
        } else {
            throw ((Throwable) new kotlin.io.NoSuchFileException(p10, 0, "The source file doesn\'t exist.", 2, 0));
        }
    }

Method kotlin.io.FilesKt__FileReadWriteKt.useLines$default() calling method java.io.FileInputStream.<init>()


    public static bridge synthetic Object useLines$default(java.io.File p7, java.nio.charset.Charset p8, kotlin.jvm.functions.Function1 p9, int p10, Object p11)
    {
        int v5 = 0;
        if ((p10 & 1) != 0) {
            p8 = kotlin.text.Charsets.UTF_8;
        }
        java.io.Closeable v2_7;
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p7, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p8, "charset");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p9, "block");
        java.io.Closeable v2_5 = ((java.io.Reader) new java.io.InputStreamReader(((java.io.InputStream) new java.io.FileInputStream(p7)), p8));
        if (!(v2_5 instanceof java.io.BufferedReader)) {
            v2_7 = new java.io.BufferedReader(v2_5, 8192);
        } else {
            v2_7 = ((java.io.BufferedReader) v2_5);
        }
        java.io.Closeable v2_8 = ((java.io.Closeable) v2_7);
        try {
            Throwable v3_6 = p9.invoke(kotlin.io.TextStreamsKt.lineSequence(((java.io.BufferedReader) v2_8)));
            kotlin.jvm.internal.InlineMarker.finallyStart(1);
            v2_8.close();
            kotlin.jvm.internal.InlineMarker.finallyEnd(1);
            return v3_6;
        } catch (Throwable v3_9) {
            kotlin.jvm.internal.InlineMarker.finallyStart(1);
            if (v5 == 0) {
                v2_8.close();
            }
            kotlin.jvm.internal.InlineMarker.finallyEnd(1);
            throw v3_9;
        } catch (Throwable v3_7) {
            try {
                v2_8.close();
            } catch (Throwable v3_9) {
                v5 = 1;
            } catch (Exception v4) {
            }
            throw ((Throwable) v3_7);
        }
    }

Method kotlin.io.FilesKt__FileReadWriteKt.useLines() calling method java.io.FileInputStream.<init>()


    public static final Object useLines(java.io.File p7, java.nio.charset.Charset p8, kotlin.jvm.functions.Function1 p9)
    {
        java.io.Closeable v2_6;
        int v5 = 0;
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p7, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p8, "charset");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p9, "block");
        java.io.Closeable v2_4 = ((java.io.Reader) new java.io.InputStreamReader(((java.io.InputStream) new java.io.FileInputStream(p7)), p8));
        if (!(v2_4 instanceof java.io.BufferedReader)) {
            v2_6 = new java.io.BufferedReader(v2_4, 8192);
        } else {
            v2_6 = ((java.io.BufferedReader) v2_4);
        }
        java.io.Closeable v2_7 = ((java.io.Closeable) v2_6);
        try {
            Throwable v3_6 = p9.invoke(kotlin.io.TextStreamsKt.lineSequence(((java.io.BufferedReader) v2_7)));
            kotlin.jvm.internal.InlineMarker.finallyStart(1);
            v2_7.close();
            kotlin.jvm.internal.InlineMarker.finallyEnd(1);
            return v3_6;
        } catch (Throwable v3_9) {
            kotlin.jvm.internal.InlineMarker.finallyStart(1);
            if (v5 == 0) {
                v2_7.close();
            }
            kotlin.jvm.internal.InlineMarker.finallyEnd(1);
            throw v3_9;
        } catch (Throwable v3_7) {
            try {
                v2_7.close();
            } catch (Throwable v3_9) {
                v5 = 1;
            } catch (Exception v4) {
            }
            throw ((Throwable) v3_7);
        }
    }

Method kotlin.io.FilesKt__FileReadWriteKt.reader$default() calling method java.io.FileInputStream.<init>()


    static bridge synthetic java.io.InputStreamReader reader$default(java.io.File p2, java.nio.charset.Charset p3, int p4, Object p5)
    {
        if ((p4 & 1) != 0) {
            p3 = kotlin.text.Charsets.UTF_8;
        }
        return new java.io.InputStreamReader(((java.io.InputStream) new java.io.FileInputStream(p2)), p3);
    }

Method kotlin.io.FilesKt__FileReadWriteKt.reader() calling method java.io.FileInputStream.<init>()


    private static final java.io.InputStreamReader reader(java.io.File p2, java.nio.charset.Charset p3)
    {
        return new java.io.InputStreamReader(((java.io.InputStream) new java.io.FileInputStream(p2)), p3);
    }

Method kotlin.io.FilesKt__FileReadWriteKt.readBytes() calling method java.io.FileInputStream.<init>()


    public static final byte[] readBytes(java.io.File p14)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p14, "$receiver");
        java.io.Closeable v9_3 = ((java.io.Closeable) new java.io.FileInputStream(p14));
        int v11 = 0;
        try {
            java.io.FileInputStream v2 = ((java.io.FileInputStream) v9_3);
            int v3 = 0;
            long v4 = p14.length();
        } catch (String v10_6) {
            v11 = 1;
            try {
                v9_3.close();
            } catch (Exception v12) {
            }
            throw ((Throwable) v10_6);
        } catch (String v10_8) {
            if (v11 == 0) {
                v9_3.close();
            }
            throw v10_8;
        }
        if (v4 <= ((long) 2147483647)) {
            int v7 = ((int) v4);
            byte[] v8 = new byte[v7];
            while (v7 > 0) {
                int v6 = v2.read(v8, v3, v7);
                if (v6 < 0) {
                    break;
                }
                v7 -= v6;
                v3 += v6;
            }
            if (v7 != 0) {
                v8 = java.util.Arrays.copyOf(v8, v3);
                kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v8, "java.util.Arrays.copyOf(this, newSize)");
            }
            v9_3.close();
            return v8;
        } else {
            throw ((Throwable) new OutOfMemoryError(new StringBuilder().append("File ").append(p14).append(" is too big (").append(v4).append(" bytes) to fit in memory.").toString()));
        }
    }

Method kotlin.io.FilesKt__FileReadWriteKt.inputStream() calling method java.io.FileInputStream.<init>()


    private static final java.io.FileInputStream inputStream(java.io.File p1)
    {
        return new java.io.FileInputStream(p1);
    }

Method kotlin.io.FilesKt__FileReadWriteKt.forEachLine() calling method java.io.FileInputStream.<init>()


    public static final void forEachLine(java.io.File p3, java.nio.charset.Charset p4, kotlin.jvm.functions.Function1 p5)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p3, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p4, "charset");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p5, "action");
        kotlin.io.TextStreamsKt.forEachLine(((java.io.Reader) new java.io.BufferedReader(((java.io.Reader) new java.io.InputStreamReader(((java.io.InputStream) new java.io.FileInputStream(p3)), p4)))), p5);
        return;
    }

Method kotlin.io.FilesKt__FileReadWriteKt.forEachBlock() calling method java.io.FileInputStream.<init>()


    public static final void forEachBlock(java.io.File p4, int p5, kotlin.jvm.functions.Function2 p6)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p4, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p6, "action");
        byte[] v0 = new byte[kotlin.ranges.RangesKt.coerceAtLeast(p5, 512)];
        java.io.FileInputStream v1_1 = new java.io.FileInputStream(p4);
        try {
            while(true) {
                int v2 = v1_1.read(v0);
                p6.invoke(v0, Integer.valueOf(v2));
            }
            v1_1.close();
            return;
        } catch (Integer v3_2) {
            v1_1.close();
            throw v3_2;
        }
        if (v2 > 0) {
        }
        v1_1.close();
        return;
    }

Method kotlin.io.FilesKt__FileReadWriteKt.bufferedReader$default() calling method java.io.FileInputStream.<init>()


    static bridge synthetic java.io.BufferedReader bufferedReader$default(java.io.File p2, java.nio.charset.Charset p3, int p4, int p5, Object p6)
    {
        if ((p5 & 1) != 0) {
            p3 = kotlin.text.Charsets.UTF_8;
        }
        if ((p5 & 2) != 0) {
            p4 = 8192;
        }
        java.io.BufferedReader v0_3;
        java.io.BufferedReader v0_2 = ((java.io.Reader) new java.io.InputStreamReader(((java.io.InputStream) new java.io.FileInputStream(p2)), p3));
        if (!(v0_2 instanceof java.io.BufferedReader)) {
            v0_3 = new java.io.BufferedReader(v0_2, p4);
        } else {
            v0_3 = ((java.io.BufferedReader) v0_2);
        }
        return v0_3;
    }

Method kotlin.io.FilesKt__FileReadWriteKt.bufferedReader() calling method java.io.FileInputStream.<init>()


    private static final java.io.BufferedReader bufferedReader(java.io.File p2, java.nio.charset.Charset p3, int p4)
    {
        java.io.BufferedReader v0_2;
        java.io.BufferedReader v0_5 = ((java.io.Reader) new java.io.InputStreamReader(((java.io.InputStream) new java.io.FileInputStream(p2)), p3));
        if (!(v0_5 instanceof java.io.BufferedReader)) {
            v0_2 = new java.io.BufferedReader(v0_5, p4);
        } else {
            v0_2 = ((java.io.BufferedReader) v0_5);
        }
        return v0_2;
    }

Method com.recoverimages.datarestorepicturecanfreeapp.Utils.isPNG() calling method java.io.FileInputStream.<init>()


    public static boolean isPNG(java.io.File p14)
    {
        int v7 = 0;
        java.io.DataInputStream v2 = 0;
        try {
            java.io.DataInputStream v3_1 = new java.io.DataInputStream(new java.io.BufferedInputStream(new java.io.FileInputStream(p14)));
            try {
                if (v3_1.readLong() != -8.091055181950927e-264) {
                    if (v3_1 != null) {
                        try {
                            v3_1.close();
                        } catch (Exception v9) {
                        }
                    }
                } else {
                    v7 = 1;
                    if (v3_1 != null) {
                        try {
                            v3_1.close();
                        } catch (Exception v9) {
                        }
                    }
                }
            } catch (Exception v0) {
                v2 = v3_1;
                if (v2 != null) {
                    try {
                        v2.close();
                    } catch (Exception v9) {
                    }
                }
                int v8 = 0;
                return v8;
            } catch (Throwable v5) {
                Throwable v4_0 = v5;
                v2 = v3_1;
                if (v2 != null) {
                    try {
                        v2.close();
                    } catch (Exception v9) {
                    }
                }
                throw v4_0;
            }
            v8 = v7;
            return v8;
        } catch (Exception v1) {
            if (v2 != null) {
                v2.close();
            }
            v8 = v7;
            return v8;
        } catch (Throwable v6) {
            Throwable v4_1 = v6;
            if (v2 != null) {
                v2.close();
            }
            throw v4_1;
        }
    }

Method com.recoverimages.datarestorepicturecanfreeapp.Utils.isJPEG() calling method java.io.FileInputStream.<init>()


    public static Boolean isJPEG(java.io.File p13)
    {
        java.io.DataInputStream v3 = 0;
        try {
            java.io.DataInputStream v4_1 = new java.io.DataInputStream(new java.io.BufferedInputStream(new java.io.FileInputStream(p13)));
        } catch (Exception v1) {
            Boolean v8_3 = Boolean.valueOf(0);
            if (v3 != null) {
                v3.close();
            }
            Boolean v9 = v8_3;
            return v9;
        }
        try {
            int v2 = v4_1.readInt();
        } catch (Exception v0) {
            v3 = v4_1;
            try {
                Boolean v8_1 = Boolean.valueOf(0);
            } catch (Throwable v6) {
                Throwable v5_0 = v6;
                if (v3 != null) {
                    try {
                        v3.close();
                    } catch (Exception v10) {
                    }
                }
                throw v5_0;
            }
            if (v3 != null) {
                try {
                    v3.close();
                } catch (Exception v10) {
                }
            }
            v9 = v8_1;
            return v9;
        } catch (Throwable v7) {
            Throwable v5_1 = v7;
            v3 = v4_1;
            if (v3 != null) {
                v3.close();
            }
            throw v5_1;
        }
        if ((v2 != -2555936) && ((v2 != -2555941) && (v2 != -2555935))) {
            Boolean v8_0 = Boolean.valueOf(0);
            if (v4_1 != null) {
                try {
                    v4_1.close();
                } catch (Exception v10) {
                }
            }
            v9 = v8_0;
            return v9;
        } else {
            Boolean v8_2 = Boolean.valueOf(1);
            if (v4_1 != null) {
                try {
                    v4_1.close();
                } catch (Exception v10) {
                }
            }
            v9 = v8_2;
            return v9;
        }
    }

Method com.recoverimages.datarestorepicturecanfreeapp.ListActivity.copyDirectory() calling method java.io.FileInputStream.<init>()


    public void copyDirectory(java.io.File p11, java.io.File p12)
    {
        if (p11.isDirectory()) {
            if ((!p12.exists()) && (!p12.mkdirs())) {
                throw new java.io.IOException(new StringBuilder().append("Cannot create dir ").append(p12.getAbsolutePath()).toString());
            } else {
                String[] v1 = p11.list();
                int v3 = 0;
                while (v3 < v1.length) {
                    this.copyDirectory(new java.io.File(p11, v1[v3]), new java.io.File(p12, v1[v3]));
                    v3++;
                }
            }
        } else {
            java.io.File v2 = p12.getParentFile();
            if ((v2 != null) && ((!v2.exists()) && (!v2.mkdirs()))) {
                throw new java.io.IOException(new StringBuilder().append("Cannot create dir ").append(v2.getAbsolutePath()).toString());
            } else {
                java.io.FileInputStream v4_1 = new java.io.FileInputStream(p11);
                java.io.FileOutputStream v6_1 = new java.io.FileOutputStream(p12);
                byte[] v0 = new byte[1024];
                while(true) {
                    int v5 = v4_1.read(v0);
                    if (v5 <= 0) {
                        break;
                    }
                    v6_1.write(v0, 0, v5);
                }
                v4_1.close();
                v6_1.close();
            }
        }
        return;
    }

Method com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.copyDirectory() calling method java.io.FileInputStream.<init>()


    public void copyDirectory(java.io.File p11, java.io.File p12)
    {
        if (p11.isDirectory()) {
            if ((!p12.exists()) && (!p12.mkdirs())) {
                throw new java.io.IOException(new StringBuilder().append("Cannot create dir ").append(p12.getAbsolutePath()).toString());
            } else {
                String[] v1 = p11.list();
                int v3 = 0;
                while (v3 < v1.length) {
                    this.copyDirectory(new java.io.File(p11, v1[v3]), new java.io.File(p12, v1[v3]));
                    v3++;
                }
            }
        } else {
            java.io.File v2 = p12.getParentFile();
            if ((v2 != null) && ((!v2.exists()) && (!v2.mkdirs()))) {
                throw new java.io.IOException(new StringBuilder().append("Cannot create dir ").append(v2.getAbsolutePath()).toString());
            } else {
                java.io.FileInputStream v4_1 = new java.io.FileInputStream(p11);
                java.io.FileOutputStream v6_1 = new java.io.FileOutputStream(p12);
                byte[] v0 = new byte[1024];
                while(true) {
                    int v5 = v4_1.read(v0);
                    if (v5 <= 0) {
                        break;
                    }
                    v6_1.write(v0, 0, v5);
                }
                v4_1.close();
                v6_1.close();
            }
        }
        return;
    }

Method com.bumptech.glide.load.model.FileLoader$StreamFactory$1.open() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream open(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method android.support.v4.util.AtomicFile.openRead() calling method java.io.FileInputStream.<init>()


    public java.io.FileInputStream openRead()
    {
        if (this.mBackupName.exists()) {
            this.mBaseName.delete();
            this.mBackupName.renameTo(this.mBaseName);
        }
        return new java.io.FileInputStream(this.mBaseName);
    }

Method android.support.v4.graphics.TypefaceCompatUtil.mmap() calling method java.io.FileInputStream.<init>()


    private static java.nio.ByteBuffer mmap(java.io.File p11)
    {
        java.io.FileInputStream v7_1 = new java.io.FileInputStream(p11);
        try {
            java.nio.channels.FileChannel v0 = v7_1.getChannel();
            Throwable v1_0 = v0.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v0.size());
        } catch (Throwable v1_2) {
            Throwable v2_1 = 0;
            if (v7_1 != null) {
                if (v2_1 == null) {
                    v7_1.close();
                } else {
                    v7_1.close();
                }
            }
            throw v1_2;
        } catch (Throwable v1_1) {
            try {
                throw v1_1;
            } catch (Throwable v2_0) {
                v2_1 = v1_1;
                v1_2 = v2_0;
            }
        }
        if (v7_1 == null) {
            return v1_0;
        } else {
            if (0 == 0) {
                v7_1.close();
                return v1_0;
            } else {
                try {
                    v7_1.close();
                } catch (Throwable v2_2) {
                    0.addSuppressed(v2_2);
                }
                return v1_0;
            }
        }
    }

Method android.support.v4.graphics.TypefaceCompatUtil.mmap() calling method java.io.FileInputStream.<init>()


    public static java.nio.ByteBuffer mmap(android.content.Context p13, android.os.CancellationSignal p14, android.net.Uri p15)
    {
        Throwable v1_1;
        android.os.ParcelFileDescriptor v8 = p13.getContentResolver().openFileDescriptor(p15, "r", p14);
        if (v8 != null) {
            try {
                java.io.FileInputStream v7_0 = new java.io.FileInputStream(v8.getFileDescriptor());
                try {
                    java.nio.channels.FileChannel v0 = v7_0.getChannel();
                    v1_1 = v0.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v0.size());
                } catch (Throwable v1_4) {
                    Throwable v2_2 = 0;
                    if (v7_0 != null) {
                        if (v2_2 == null) {
                            v7_0.close();
                        } else {
                            v7_0.close();
                        }
                    }
                    throw v1_4;
                } catch (Throwable v1_3) {
                    try {
                        throw v1_3;
                    } catch (Throwable v2_1) {
                        v2_2 = v1_3;
                        v1_4 = v2_1;
                    }
                }
                if (v7_0 != null) {
                    if (0 == 0) {
                        v7_0.close();
                    } else {
                        try {
                            v7_0.close();
                        } catch (Throwable v2_3) {
                            0.addSuppressed(v2_3);
                        }
                    }
                }
                if (v8 == null) {
                    return v1_1;
                } else {
                    if (0 == 0) {
                        v8.close();
                        return v1_1;
                    } else {
                        try {
                            v8.close();
                        } catch (Throwable v2_6) {
                            0.addSuppressed(v2_6);
                        }
                        return v1_1;
                    }
                }
            } catch (Throwable v1_6) {
                Throwable v2_5 = 0;
                if (v8 != null) {
                    if (v2_5 == null) {
                        v8.close();
                    } else {
                        try {
                            v8.close();
                        } catch (Throwable v3_1) {
                            v2_5.addSuppressed(v3_1);
                        }
                    }
                }
                throw v1_6;
            } catch (Throwable v1_5) {
                try {
                    throw v1_5;
                } catch (Throwable v2_4) {
                    v2_5 = v1_5;
                    v1_6 = v2_4;
                }
            }
        } else {
            v1_1 = 0;
            if (v8 == null) {
                return v1_1;
            } else {
                if (0 == 0) {
                    v8.close();
                    return v1_1;
                } else {
                    try {
                        v8.close();
                    } catch (Throwable v2_7) {
                        0.addSuppressed(v2_7);
                    }
                    return v1_1;
                }
            }
        }
    }

Method android.support.v4.graphics.TypefaceCompatApi21Impl.createFromFontInfo() calling method java.io.FileInputStream.<init>()


    public android.graphics.Typeface createFromFontInfo(android.content.Context p12, android.os.CancellationSignal p13, android.support.v4.provider.FontsContractCompat$FontInfo[] p14, int p15)
    {
        Throwable v6_2;
        if (p14.length >= 1) {
            try {
                android.os.ParcelFileDescriptor v4 = p12.getContentResolver().openFileDescriptor(this.findBestInfo(p14, p15).getUri(), "r", p13);
                try {
                    java.io.File v2 = this.getFile(v4);
                } catch (Throwable v6_6) {
                    Throwable v7_4 = 0;
                    if (v4 != null) {
                        if (v7_4 == null) {
                            v4.close();
                        } else {
                            v4.close();
                        }
                    }
                    throw v6_6;
                } catch (Throwable v6_5) {
                    try {
                        throw v6_5;
                    } catch (Throwable v7_3) {
                        v7_4 = v6_5;
                        v6_6 = v7_3;
                    }
                }
                if ((v2 != null) && (v2.canRead())) {
                    v6_2 = android.graphics.Typeface.createFromFile(v2);
                    if (v4 != null) {
                        if (0 == 0) {
                            v4.close();
                        } else {
                            try {
                                v4.close();
                            } catch (Throwable v7_1) {
                                0.addSuppressed(v7_1);
                            }
                        }
                    }
                } else {
                    java.io.FileInputStream v3_1 = new java.io.FileInputStream(v4.getFileDescriptor());
                    Throwable v7_2 = 0;
                    try {
                        v6_2 = super.createFromInputStream(p12, v3_1);
                    } catch (Throwable v7_2) {
                        throw v7_2;
                    } catch (Throwable v6_4) {
                        if (v3_1 != null) {
                            if (v7_2 == null) {
                                v3_1.close();
                            } else {
                                v3_1.close();
                            }
                        }
                        throw v6_4;
                    }
                    if (v3_1 != null) {
                        if (0 == 0) {
                            v3_1.close();
                        } else {
                            try {
                                v3_1.close();
                            } catch (Throwable v9_1) {
                                0.addSuppressed(v9_1);
                            }
                        }
                    }
                    if (v4 != null) {
                        if (0 == 0) {
                            v4.close();
                        } else {
                            try {
                                v4.close();
                            } catch (Throwable v7_5) {
                                0.addSuppressed(v7_5);
                            }
                        }
                    }
                }
            } catch (java.io.IOException v1) {
                v6_2 = 0;
            }
        } else {
            v6_2 = 0;
        }
        return v6_2;
    }

Method com.google.android.gms.common.util.IOUtils$zzb.zzdd() calling method java.io.FileInputStream.<init>()


    public final byte[] zzdd()
    {
        try {
            int v1_1 = new java.io.FileInputStream(this.file);
            try {
                Throwable v0_0 = com.google.android.gms.common.util.IOUtils.zzb(v1_1, v1_1.getChannel().size());
                com.google.android.gms.common.util.IOUtils.closeQuietly(v1_1);
                return v0_0;
            } catch (Throwable v0_1) {
                com.google.android.gms.common.util.IOUtils.closeQuietly(v1_1);
                throw v0_1;
            }
        } catch (Throwable v0_1) {
            v1_1 = 0;
        }
        v0_0 = com.google.android.gms.common.util.IOUtils.zzb(v1_1, v1_1.getChannel().size());
        com.google.android.gms.common.util.IOUtils.closeQuietly(v1_1);
        return v0_0;
    }

Method com.google.android.gms.common.util.ProcessUtils.zzm() calling method java.io.FileReader.<init>()


    private static java.io.BufferedReader zzm(String p3)
    {
        android.os.StrictMode$ThreadPolicy v1 = android.os.StrictMode.allowThreadDiskReads();
        try {
            Throwable v0_1 = new java.io.BufferedReader(new java.io.FileReader(p3));
            android.os.StrictMode.setThreadPolicy(v1);
            return v0_1;
        } catch (Throwable v0_2) {
            android.os.StrictMode.setThreadPolicy(v1);
            throw v0_2;
        }
    }

Method com.bumptech.glide.disklrucache.DiskLruCache.open() calling method java.io.File.<init>()


    public static com.bumptech.glide.disklrucache.DiskLruCache open(java.io.File p11, int p12, int p13, long p14)
    {
        if (p14 > 0) {
            if (p13 > 0) {
                java.io.File v6_1 = new java.io.File(p11, "journal.bkp");
                if (v6_1.exists()) {
                    java.io.File v8_1 = new java.io.File(p11, "journal");
                    if (!v8_1.exists()) {
                        com.bumptech.glide.disklrucache.DiskLruCache.renameTo(v6_1, v8_1, 0);
                    } else {
                        v6_1.delete();
                    }
                }
                void v7;
                void v0_1 = new com.bumptech.glide.disklrucache.DiskLruCache(p11, p12, p13, p14);
                if (!v0_1.journalFile.exists()) {
                    p11.mkdirs();
                    v7 = new com.bumptech.glide.disklrucache.DiskLruCache(p11, p12, p13, p14).rebuildJournal();
                } else {
                    try {
                        void v0_3 = v0_1.readJournal().processJournal();
                        v7 = v0_3;
                    } catch (java.io.IOException v9) {
                        System.out.println(new StringBuilder().append("DiskLruCache ").append(p11).append(" is corrupt: ").append(v9.getMessage()).append(", removing").toString());
                        v0_3.delete();
                    }
                }
                return v7;
            } else {
                throw new IllegalArgumentException("valueCount <= 0");
            }
        } else {
            throw new IllegalArgumentException("maxSize <= 0");
        }
    }

Method com.bumptech.glide.disklrucache.DiskLruCache.<init>() calling method java.io.File.<init>()


    private DiskLruCache(java.io.File p11, int p12, int p13, long p14)
    {
        this.size = 0;
        this.lruEntries = new java.util.LinkedHashMap(0, 1061158912, 1);
        this.nextSequenceNumber = 0;
        this.executorService = new java.util.concurrent.ThreadPoolExecutor(0, 1, 60, java.util.concurrent.TimeUnit.SECONDS, new java.util.concurrent.LinkedBlockingQueue(), new com.bumptech.glide.disklrucache.DiskLruCache$DiskLruCacheThreadFactory(0));
        this.cleanupCallable = new com.bumptech.glide.disklrucache.DiskLruCache$1(this);
        this.directory = p11;
        this.appVersion = p12;
        this.journalFile = new java.io.File(p11, "journal");
        this.journalFileTmp = new java.io.File(p11, "journal.tmp");
        this.journalFileBackup = new java.io.File(p11, "journal.bkp");
        this.valueCount = p13;
        this.maxSize = p14;
        return;
    }

Method com.bumptech.glide.disklrucache.DiskLruCache$Entry.<init>() calling method java.io.File.<init>()


    private DiskLruCache$Entry(com.bumptech.glide.disklrucache.DiskLruCache p8, String p9)
    {
        this.this$0 = p8;
        this.key = p9;
        java.io.File[] v3_9 = new long[com.bumptech.glide.disklrucache.DiskLruCache.access$1900(p8)];
        this.lengths = v3_9;
        java.io.File[] v3_11 = new java.io.File[com.bumptech.glide.disklrucache.DiskLruCache.access$1900(p8)];
        this.cleanFiles = v3_11;
        java.io.File[] v3_1 = new java.io.File[com.bumptech.glide.disklrucache.DiskLruCache.access$1900(p8)];
        this.dirtyFiles = v3_1;
        StringBuilder v0 = new StringBuilder(p9).append(46);
        int v2 = v0.length();
        int v1 = 0;
        while (v1 < com.bumptech.glide.disklrucache.DiskLruCache.access$1900(p8)) {
            v0.append(v1);
            this.cleanFiles[v1] = new java.io.File(com.bumptech.glide.disklrucache.DiskLruCache.access$2000(p8), v0.toString());
            v0.append(".tmp");
            this.dirtyFiles[v1] = new java.io.File(com.bumptech.glide.disklrucache.DiskLruCache.access$2000(p8), v0.toString());
            v0.setLength(v2);
            v1++;
        }
        return;
    }

Method com.google.android.gms.internal.ads.zznn.zza() calling method java.io.File.<init>()


    public final void zza(android.content.Context p5, String p6, String p7, java.util.Map p8)
    {
        this.mContext = p5;
        this.zzaej = p6;
        this.zzbfx = p7;
        this.zzbgd = new java.util.concurrent.atomic.AtomicBoolean(0);
        this.zzbgd.set(((Boolean) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzawj)).booleanValue());
        if (this.zzbgd.get()) {
            java.util.Map v0_5 = android.os.Environment.getExternalStorageDirectory();
            if (v0_5 != null) {
                this.zzbge = new java.io.File(v0_5, "sdk_csi_data.txt");
            }
        }
        com.google.android.gms.internal.ads.zznr v2_2 = p8.entrySet().iterator();
        while (v2_2.hasNext()) {
            java.util.Map v0_16 = ((java.util.Map$Entry) v2_2.next());
            this.zzbgb.put(((String) v0_16.getKey()), ((String) v0_16.getValue()));
        }
        this.zzbga = java.util.concurrent.Executors.newSingleThreadExecutor();
        this.zzbga.execute(new com.google.android.gms.internal.ads.zzno(this));
        this.zzbgc.put("action", com.google.android.gms.internal.ads.zznr.zzbgh);
        this.zzbgc.put("ad_format", com.google.android.gms.internal.ads.zznr.zzbgh);
        this.zzbgc.put("e", com.google.android.gms.internal.ads.zznr.zzbgi);
        return;
    }

Method com.google.android.gms.internal.ads.zzhs.zzc() calling method java.io.File.<init>()


    private final declared_synchronized void zzc(com.google.android.gms.internal.ads.zzhu$zza$zzb p4)
    {
        try {
            String v0_0 = android.os.Environment.getExternalStorageDirectory();
        } catch (String v0_9) {
            throw v0_9;
        }
        if (v0_0 != null) {
            try {
                java.io.FileOutputStream v2_2 = new java.io.FileOutputStream(new java.io.File(v0_0, "clearcut_events.txt"), 1);
                try {
                    v2_2.write(this.zzd(p4).getBytes());
                    v2_2.write(10);
                    try {
                        v2_2.close();
                    } catch (String v0) {
                        com.google.android.gms.internal.ads.zzakb.v("Could not close Clearcut output stream.");
                    }
                } catch (String v0_6) {
                    try {
                        v2_2.close();
                    } catch (String v1) {
                        com.google.android.gms.internal.ads.zzakb.v("Could not close Clearcut output stream.");
                    }
                    throw v0_6;
                } catch (String v0) {
                    com.google.android.gms.internal.ads.zzakb.v("Could not write Clearcut to file.");
                    try {
                        v2_2.close();
                    } catch (String v0) {
                        com.google.android.gms.internal.ads.zzakb.v("Could not close Clearcut output stream.");
                    }
                }
            } catch (String v0) {
                com.google.android.gms.internal.ads.zzakb.v("Could not find file for Clearcut");
            }
        }
        return;
    }

Method com.google.android.gms.internal.ads.zzcz.zzm() calling method java.io.File.<init>()


    private static void zzm(String p1)
    {
        com.google.android.gms.internal.ads.zzcz.zzb(new java.io.File(p1));
        return;
    }

Method com.google.android.gms.internal.ads.zzcz.zzb() calling method java.io.File.<init>()


    private final boolean zzb(java.io.File p13, String p14)
    {
        java.io.FileInputStream v0_3;
        int v3 = 0;
        java.io.FileInputStream v4_3 = new Object[2];
        v4_3[0] = p13;
        v4_3[1] = p14;
        byte[] v5_0 = new java.io.File(String.format("%s/%s.tmp", v4_3));
        if (v5_0.exists()) {
            java.io.FileInputStream v4_1 = new Object[2];
            v4_1[0] = p13;
            v4_1[1] = p14;
            int v6_1 = new java.io.File(String.format("%s/%s.dex", v4_1));
            if (!v6_1.exists()) {
                try {
                    String v8_0 = v5_0.length();
                } catch (java.io.FileInputStream v0_2) {
                    java.io.FileInputStream v4_0 = 0;
                    if (v4_0 != null) {
                        try {
                            v4_0.close();
                        } catch (java.io.FileInputStream v1) {
                        }
                    }
                    if (v3 != 0) {
                        try {
                            v3.close();
                        } catch (java.io.FileInputStream v1) {
                        }
                    }
                    throw v0_2;
                } catch (java.io.FileInputStream v0) {
                    java.io.FileInputStream v0_1 = 0;
                    java.io.FileInputStream v1_0 = 0;
                    if (v1_0 != null) {
                        try {
                            v1_0.close();
                        } catch (java.io.FileInputStream v1) {
                        }
                    }
                    if (v0_1 != null) {
                        try {
                            v0_1.close();
                        } catch (java.io.FileInputStream v0) {
                        }
                    }
                    v0_3 = 0;
                } catch (java.io.FileInputStream v0) {
                    v0_1 = 0;
                    v1_0 = 0;
                } catch (java.io.FileInputStream v0) {
                    v0_1 = 0;
                    v1_0 = 0;
                }
                if (v8_0 > 0) {
                    java.io.FileInputStream v0_10 = new byte[((int) v8_0)];
                    v4_0 = new java.io.FileInputStream(v5_0);
                    try {
                        if (v4_0.read(v0_10) > 0) {
                            java.io.FileInputStream v0_12 = ((com.google.android.gms.internal.ads.zzbe) com.google.android.gms.internal.ads.zzbfi.zza(new com.google.android.gms.internal.ads.zzbe(), v0_10));
                            if ((p14.equals(new String(v0_12.zzgr))) && ((java.util.Arrays.equals(v0_12.zzgq, com.google.android.gms.internal.ads.zzbk.zzb(v0_12.data))) && (java.util.Arrays.equals(v0_12.zzgs, android.os.Build$VERSION.SDK.getBytes())))) {
                                byte[] v5_3 = this.zzrw.zza(this.zzrx, new String(v0_12.data));
                                v6_1.createNewFile();
                                v0_1 = new java.io.FileOutputStream(v6_1);
                                v3 = 0;
                                try {
                                    v0_1.write(v5_3, 0, v5_3.length);
                                    try {
                                        v4_0.close();
                                        try {
                                            v0_1.close();
                                        } catch (java.io.FileInputStream v0) {
                                        }
                                        v0_3 = 1;
                                    } catch (java.io.IOException v2) {
                                    }
                                } catch (java.io.FileInputStream v1_2) {
                                    v3 = v0_1;
                                    v0_2 = v1_2;
                                } catch (java.io.FileInputStream v1) {
                                    v1_0 = v4_0;
                                } catch (java.io.FileInputStream v1) {
                                    v1_0 = v4_0;
                                } catch (java.io.FileInputStream v1) {
                                    v1_0 = v4_0;
                                }
                            } else {
                                com.google.android.gms.internal.ads.zzcz.zzb(v5_0);
                                try {
                                    v4_0.close();
                                } catch (java.io.FileInputStream v0) {
                                }
                                v0_3 = 0;
                            }
                        } else {
                            android.util.Log.d(com.google.android.gms.internal.ads.zzcz.TAG, "Cannot read the cache data.");
                            com.google.android.gms.internal.ads.zzcz.zzb(v5_0);
                            try {
                                v4_0.close();
                            } catch (java.io.FileInputStream v0) {
                            }
                            v0_3 = 0;
                        }
                    } catch (java.io.FileInputStream v0_2) {
                    } catch (java.io.FileInputStream v0) {
                        v0_1 = v3;
                        v1_0 = v4_0;
                    } catch (java.io.FileInputStream v0) {
                        v0_1 = v3;
                        v1_0 = v4_0;
                    } catch (java.io.FileInputStream v0) {
                        v0_1 = v3;
                        v1_0 = v4_0;
                    }
                } else {
                    com.google.android.gms.internal.ads.zzcz.zzb(v5_0);
                    v0_3 = 0;
                }
            } else {
                v0_3 = 0;
            }
        } else {
            v0_3 = 0;
        }
        return v0_3;
    }

Method com.google.android.gms.internal.ads.zzcz.zza() calling method java.io.File.<init>()


    private final void zza(java.io.File p12, String p13)
    {
        java.io.IOException v1_0 = 0;
        java.io.IOException v2_3 = new Object[2];
        v2_3[0] = p12;
        v2_3[1] = p13;
        int v3_0 = new java.io.File(String.format("%s/%s.tmp", v2_3));
        if (!v3_0.exists()) {
            java.io.IOException v2_0 = new Object[2];
            v2_0[0] = p12;
            v2_0[1] = p13;
            java.io.File v4_1 = new java.io.File(String.format("%s/%s.dex", v2_0));
            if (v4_1.exists()) {
                com.google.android.gms.internal.ads.zzck v6_1 = v4_1.length();
                if (v6_1 > 0) {
                    java.io.IOException v0_8 = new byte[((int) v6_1)];
                    try {
                        java.io.IOException v2_2 = new java.io.FileInputStream(v4_1);
                        try {
                            if (v2_2.read(v0_8) > 0) {
                                int v5_3 = new com.google.android.gms.internal.ads.zzbe();
                                v5_3.zzgs = android.os.Build$VERSION.SDK.getBytes();
                                v5_3.zzgr = p13.getBytes();
                                java.io.IOException v0_12 = this.zzrw.zzb(this.zzrx, v0_8).getBytes();
                                v5_3.data = v0_12;
                                v5_3.zzgq = com.google.android.gms.internal.ads.zzbk.zzb(v0_12);
                                v3_0.createNewFile();
                                java.io.IOException v0_9 = new java.io.FileOutputStream(v3_0);
                                try {
                                    java.io.IOException v1_1 = com.google.android.gms.internal.ads.zzbfi.zzb(v5_3);
                                    v0_9.write(v1_1, 0, v1_1.length);
                                    v0_9.close();
                                    try {
                                        v2_2.close();
                                        try {
                                            v0_9.close();
                                        } catch (java.io.IOException v0) {
                                        }
                                        com.google.android.gms.internal.ads.zzcz.zzb(v4_1);
                                    } catch (java.io.IOException v1) {
                                    }
                                } catch (java.io.IOException v1_2) {
                                    v1_0 = v0_9;
                                    java.io.IOException v0_1 = v1_2;
                                    if (v2_2 != null) {
                                        try {
                                            v2_2.close();
                                        } catch (java.io.IOException v2) {
                                        }
                                    }
                                    if (v1_0 != null) {
                                        try {
                                            v1_0.close();
                                        } catch (java.io.IOException v1) {
                                        }
                                    }
                                    com.google.android.gms.internal.ads.zzcz.zzb(v4_1);
                                    throw v0_1;
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                    if (v1_0 != null) {
                                        try {
                                            v1_0.close();
                                        } catch (java.io.IOException v1) {
                                        }
                                    }
                                    if (v0_9 != null) {
                                        try {
                                            v0_9.close();
                                        } catch (java.io.IOException v0) {
                                        }
                                    }
                                    com.google.android.gms.internal.ads.zzcz.zzb(v4_1);
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                }
                            } else {
                                try {
                                    v2_2.close();
                                } catch (java.io.IOException v0) {
                                }
                                com.google.android.gms.internal.ads.zzcz.zzb(v4_1);
                            }
                        } catch (java.io.IOException v0_1) {
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        }
                    } catch (java.io.IOException v0_1) {
                        v2_2 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    }
                }
            }
        }
        return;
    }

Method com.google.android.gms.internal.ads.zzcz.zza() calling method java.io.File.<init>()


    public static com.google.android.gms.internal.ads.zzcz zza(android.content.Context p9, String p10, String p11, boolean p12)
    {
        int v0_0 = 1;
        void v3_0 = new com.google.android.gms.internal.ads.zzcz(p9);
        v3_0.zzru = java.util.concurrent.Executors.newCachedThreadPool(new com.google.android.gms.internal.ads.zzda());
        v3_0.zzqt = p12;
        if (p12) {
            v3_0.zzrz = v3_0.zzru.submit(new com.google.android.gms.internal.ads.zzdb(v3_0));
        }
        v3_0.zzru.execute(new com.google.android.gms.internal.ads.zzdd(v3_0));
        try {
            com.google.android.gms.internal.ads.zzcz$zza v2_7;
            int v4_8 = com.google.android.gms.common.GoogleApiAvailabilityLight.getInstance();
        } catch (int v0) {
            v3_0.zza(0, 1);
            if ((!com.google.android.gms.internal.ads.zzdg.isMainThread()) || (!((Boolean) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzbaz)).booleanValue())) {
                v3_0.zzrw = new com.google.android.gms.internal.ads.zzck(0);
                v3_0.zzrx = v3_0.zzrw.zzl(p10);
                try {
                    int v0_33 = v3_0.zzrt.getCacheDir();
                } catch (int v0_18) {
                    throw new com.google.android.gms.internal.ads.zzcw(v0_18);
                } catch (int v0_17) {
                    throw new com.google.android.gms.internal.ads.zzcw(v0_17);
                }
                if (v0_33 == 0) {
                    v0_33 = v3_0.zzrt.getDir("dex", 0);
                    if (v0_33 == 0) {
                        throw new com.google.android.gms.internal.ads.zzcw();
                    }
                }
                android.content.Context v1_22 = v0_33;
                Object[] v5_5 = new Object[2];
                v5_5[0] = v1_22;
                v5_5[1] = "1521499837408";
                int v4_10 = new java.io.File(String.format("%s/%s.jar", v5_5));
                if (!v4_10.exists()) {
                    int v0_39 = v3_0.zzrw.zza(v3_0.zzrx, p11);
                    v4_10.createNewFile();
                    Object[] v5_8 = new java.io.FileOutputStream(v4_10);
                    v5_8.write(v0_39, 0, v0_39.length);
                    v5_8.close();
                }
                v3_0.zzb(v1_22, "1521499837408");
                try {
                    v3_0.zzrv = new dalvik.system.DexClassLoader(v4_10.getAbsolutePath(), v1_22.getAbsolutePath(), 0, v3_0.zzrt.getClassLoader());
                } catch (int v0_3) {
                    com.google.android.gms.internal.ads.zzcz.zzb(v4_10);
                    v3_0 = v3_0.zza(v1_22, "1521499837408");
                    Object[] v5_2 = new Object[2];
                    v5_2[0] = v1_22;
                    v5_2[1] = "1521499837408";
                    com.google.android.gms.internal.ads.zzcz.zzm(String.format("%s/%s.dex", v5_2));
                    throw v0_3;
                }
                com.google.android.gms.internal.ads.zzcz.zzb(v4_10);
                v3_0 = v3_0.zza(v1_22, "1521499837408");
                int v4_4 = new Object[2];
                v4_4[0] = v1_22;
                v4_4[1] = "1521499837408";
                com.google.android.gms.internal.ads.zzcz.zzm(String.format("%s/%s.dex", v4_4));
                if (!v3_0.zzsj) {
                    int v0_8 = new android.content.IntentFilter();
                    v0_8.addAction("android.intent.action.USER_PRESENT");
                    v0_8.addAction("android.intent.action.SCREEN_OFF");
                    v3_0.zzrt.registerReceiver(new com.google.android.gms.internal.ads.zzcz$zza(v3_0, 0), v0_8);
                    v3_0.zzsj = 1;
                }
                v3_0.zzsd = new com.google.android.gms.internal.ads.zzcc(v3_0);
                v3_0.zzsh = 1;
                return v3_0;
            } else {
                throw new IllegalStateException("Task Context initialization must not be called from the UI thread.");
            }
        }
        if (v4_8.getApkVersion(v3_0.zzrt) <= 0) {
            v2_7 = 0;
        } else {
            v2_7 = 1;
        }
        v3_0.zzse = v2_7;
        if (v4_8.isGooglePlayServicesAvailable(v3_0.zzrt) != 0) {
            v0_0 = 0;
        }
        v3_0.zzsf = v0_0;
    }

Method com.google.android.gms.internal.ads.zzasj.zzd() calling method java.io.File.<init>()


    public final android.webkit.WebResourceResponse zzd(com.google.android.gms.internal.ads.zzasu p6)
    {
        if (this.zzxd != null) {
            this.zzxd.zza(p6.url, p6.zzab, 1);
        }
        android.webkit.WebResourceResponse v0_2;
        if ("mraid.js".equalsIgnoreCase(new java.io.File(p6.url).getName())) {
            android.webkit.WebResourceResponse v0_14;
            this.zznk();
            if (!this.zzbnd.zzud().zzvs()) {
                if (!this.zzbnd.zzuj()) {
                    v0_14 = ((String) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzawc));
                } else {
                    v0_14 = ((String) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzawd));
                }
            } else {
                v0_14 = ((String) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzawe));
            }
            com.google.android.gms.ads.internal.zzbv.zzek();
            v0_2 = com.google.android.gms.internal.ads.zzakk.zzf(this.zzbnd.getContext(), this.zzbnd.zztq().zzcw, v0_14);
        } else {
            v0_2 = 0;
        }
        if (v0_2 == null) {
            try {
                if (com.google.android.gms.internal.ads.zzajb.zzb(p6.url, this.zzbnd.getContext()).equals(p6.url)) {
                    android.webkit.WebResourceResponse v0_23 = com.google.android.gms.internal.ads.zzhl.zzaa(p6.url);
                    if (v0_23 != null) {
                        java.io.InputStream v2_12 = com.google.android.gms.ads.internal.zzbv.zzeq().zza(v0_23);
                        if ((v2_12 != null) && (v2_12.zzhi())) {
                            v0_2 = new android.webkit.WebResourceResponse("", "", v2_12.zzhj());
                            return v0_2;
                        }
                    }
                    if ((!com.google.android.gms.internal.ads.zzamy.isEnabled()) || (!((Boolean) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzazn)).booleanValue())) {
                        v0_2 = 0;
                        return v0_2;
                    } else {
                        v0_2 = this.zze(p6);
                        return v0_2;
                    }
                } else {
                    v0_2 = this.zze(p6);
                    return v0_2;
                }
            } catch (android.webkit.WebResourceResponse v0_3) {
            } catch (android.webkit.WebResourceResponse v0_3) {
            }
            com.google.android.gms.ads.internal.zzbv.zzeo().zza(v0_3, "AdWebViewClient.interceptRequest");
            v0_2 = 0;
        }
        return v0_2;
    }

Method com.google.android.gms.internal.ads.zzaru.zza() calling method java.io.File.<init>()


    protected final android.webkit.WebResourceResponse zza(android.webkit.WebView p4, String p5, java.util.Map p6)
    {
        String v0_17;
        if ((p4 instanceof com.google.android.gms.internal.ads.zzaqw)) {
            if (this.zzxd != null) {
                this.zzxd.zza(p5, p6, 1);
            }
            if ("mraid.js".equalsIgnoreCase(new java.io.File(p5).getName())) {
                if (((com.google.android.gms.internal.ads.zzaqw) p4).zzuf() != null) {
                    ((com.google.android.gms.internal.ads.zzaqw) p4).zzuf().zznk();
                }
                String v0_11;
                if (!((com.google.android.gms.internal.ads.zzaqw) p4).zzud().zzvs()) {
                    if (!((com.google.android.gms.internal.ads.zzaqw) p4).zzuj()) {
                        v0_11 = ((String) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzawc));
                    } else {
                        v0_11 = ((String) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzawd));
                    }
                } else {
                    v0_11 = ((String) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzawe));
                }
                com.google.android.gms.ads.internal.zzbv.zzek();
                v0_17 = com.google.android.gms.internal.ads.zzakk.zzf(((com.google.android.gms.internal.ads.zzaqw) p4).getContext(), ((com.google.android.gms.internal.ads.zzaqw) p4).zztq().zzcw, v0_11);
            } else {
                if (p6 == null) {
                    p6 = java.util.Collections.emptyMap();
                }
                v0_17 = super.zzd(p5, p6);
            }
        } else {
            com.google.android.gms.internal.ads.zzakb.zzdk("Tried to intercept request from a WebView that wasn\'t an AdWebView.");
            v0_17 = 0;
        }
        return v0_17;
    }

Method com.google.android.gms.internal.ads.zzaqn.zzdp() calling method java.io.File.<init>()


    public final boolean zzdp(String p28)
    {
        com.google.android.gms.internal.ads.zzaqi v2_28;
        if (this.zzdbi != null) {
            do {
                com.google.android.gms.internal.ads.zzaqn v3_17;
                if (this.zzdbi != null) {
                    String v4_0 = this.zzdbi.listFiles();
                    com.google.android.gms.internal.ads.zzaqi v2_4 = 0;
                    com.google.android.gms.internal.ads.zzaqn v3_8 = 0;
                    while (v3_8 < v4_0.length) {
                        if (!v4_0[v3_8].getName().endsWith(".done")) {
                            v2_4++;
                        }
                        v3_8++;
                    }
                    v3_17 = v2_4;
                } else {
                    v3_17 = 0;
                }
                if (v3_17 <= ((Integer) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzaux)).intValue()) {
                    com.google.android.gms.internal.ads.zzkb.zzif();
                    java.io.File v13_1 = new java.io.File(this.zzdbi, com.google.android.gms.internal.ads.zzamu.zzde(p28));
                    java.io.File v14 = this.zzc(v13_1);
                    if ((!v13_1.isFile()) || (!v14.isFile())) {
                        String v9_1;
                        com.google.android.gms.internal.ads.zzaqn v3_63 = String.valueOf(this.zzdbi.getAbsolutePath());
                        com.google.android.gms.internal.ads.zzaqi v2_107 = String.valueOf(p28);
                        if (v2_107.length() == 0) {
                            v9_1 = new String(v3_63);
                        } else {
                            v9_1 = v3_63.concat(v2_107);
                        }
                        try {
                            if (!com.google.android.gms.internal.ads.zzaqn.zzdbg.contains(v9_1)) {
                                com.google.android.gms.internal.ads.zzaqn.zzdbg.add(v9_1);
                                String v5_5 = 0;
                                try {
                                    com.google.android.gms.ads.internal.zzbv.zzew();
                                    String v7_11 = ((Integer) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzavc)).intValue();
                                    com.google.android.gms.internal.ads.zzaqn v3_58 = new java.net.URL(p28);
                                    com.google.android.gms.internal.ads.zzaqi v2_78 = 0;
                                } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                    com.google.android.gms.internal.ads.zzaqn v3_37 = 0;
                                    String v4_11 = "error";
                                    if ((v2_46 instanceof RuntimeException)) {
                                        com.google.android.gms.ads.internal.zzbv.zzeo().zza(v2_46, "VideoStreamFullFileCache.preload");
                                    }
                                    try {
                                        v5_5.close();
                                    } catch (String v5) {
                                    } catch (String v5) {
                                    }
                                    if (!this.zzdbj) {
                                        com.google.android.gms.internal.ads.zzakb.zzc(new StringBuilder((String.valueOf(p28).length() + 25)).append("Preload failed for URL \"").append(p28).append("\"").toString(), v2_46);
                                    } else {
                                        com.google.android.gms.internal.ads.zzakb.zzdj(new StringBuilder((String.valueOf(p28).length() + 26)).append("Preload aborted for URL \"").append(p28).append("\"").toString());
                                    }
                                    if (v13_1.exists()) {
                                        if (!v13_1.delete()) {
                                            com.google.android.gms.internal.ads.zzaqi v2_102 = String.valueOf(v13_1.getAbsolutePath());
                                            if (v2_102.length() == 0) {
                                                com.google.android.gms.internal.ads.zzaqi v2_104 = new String("Could not delete partial cache file at ");
                                            } else {
                                                v2_104 = "Could not delete partial cache file at ".concat(v2_102);
                                            }
                                            com.google.android.gms.internal.ads.zzakb.zzdk(v2_104);
                                        }
                                    }
                                    this.zza(p28, v13_1.getAbsolutePath(), v4_11, v3_37);
                                    com.google.android.gms.internal.ads.zzaqn.zzdbg.remove(v9_1);
                                    v2_28 = 0;
                                }
                                while(true) {
                                    String v4_28 = (v2_78 + 1);
                                    if (v4_28 > 20) {
                                        throw new java.io.IOException("Too many redirects (20)");
                                    } else {
                                        com.google.android.gms.internal.ads.zzaqi v2_1 = v3_58.openConnection();
                                        v2_1.setConnectTimeout(v7_11);
                                        v2_1.setReadTimeout(v7_11);
                                        if ((v2_1 instanceof java.net.HttpURLConnection)) {
                                            com.google.android.gms.internal.ads.zzaqi v2_2 = ((java.net.HttpURLConnection) v2_1);
                                            int v6_2 = new com.google.android.gms.internal.ads.zzamy();
                                            v6_2.zza(v2_2, 0);
                                            v2_2.setInstanceFollowRedirects(0);
                                            int v8_2 = v2_2.getResponseCode();
                                            v6_2.zza(v2_2, v8_2);
                                            if ((v8_2 / 100) != 3) {
                                                if ((v2_2 instanceof java.net.HttpURLConnection)) {
                                                    int v6_4 = ((java.net.HttpURLConnection) v2_2).getResponseCode();
                                                    if (v6_4 >= 400) {
                                                        v4_11 = "badUrl";
                                                        try {
                                                            com.google.android.gms.internal.ads.zzaqn v3_52 = String.valueOf(Integer.toString(v6_4));
                                                        } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                                            v3_37 = 0;
                                                        } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                                            v3_37 = 0;
                                                        }
                                                        if (v3_52.length() == 0) {
                                                            v3_37 = new String("HTTP request failed. Code: ");
                                                        } else {
                                                            v3_37 = "HTTP request failed. Code: ".concat(v3_52);
                                                        }
                                                        try {
                                                            throw new java.io.IOException(new StringBuilder((String.valueOf(p28).length() + 32)).append("HTTP status code ").append(v6_4).append(" at ").append(p28).toString());
                                                        } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                                        } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                                        }
                                                    }
                                                }
                                                String v7_0 = v2_2.getContentLength();
                                                if (v7_0 >= null) {
                                                    String v4_1 = com.google.android.gms.internal.ads.zzaqn.zzdbh.format(((long) v7_0));
                                                    int v15 = ((Integer) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzauy)).intValue();
                                                    if (v7_0 <= v15) {
                                                        com.google.android.gms.internal.ads.zzakb.zzck(new StringBuilder(((String.valueOf(v4_1).length() + 20) + String.valueOf(p28).length())).append("Caching ").append(v4_1).append(" bytes from ").append(p28).toString());
                                                        java.nio.channels.ReadableByteChannel v16_1 = java.nio.channels.Channels.newChannel(v2_2.getInputStream());
                                                        java.io.FileOutputStream v12_1 = new java.io.FileOutputStream(v13_1);
                                                        try {
                                                            java.nio.channels.FileChannel v17 = v12_1.getChannel();
                                                            java.nio.ByteBuffer v18 = java.nio.ByteBuffer.allocate(1048576);
                                                            com.google.android.gms.common.util.Clock v19 = com.google.android.gms.ads.internal.zzbv.zzer();
                                                            int v6_11 = 0;
                                                            long v20 = v19.currentTimeMillis();
                                                            com.google.android.gms.internal.ads.zzamj v22 = new com.google.android.gms.internal.ads.zzamj;
                                                            v22(((Long) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzavb)).longValue());
                                                            long v24 = ((Long) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzava)).longValue();
                                                        } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                                            v3_37 = 0;
                                                            v4_11 = "error";
                                                            v5_5 = v12_1;
                                                        }
                                                        while(true) {
                                                            com.google.android.gms.internal.ads.zzaqi v2_14 = v16_1.read(v18);
                                                            if (v2_14 < null) {
                                                                break;
                                                            }
                                                            v6_11 += v2_14;
                                                            try {
                                                                if (v6_11 <= v15) {
                                                                    v18.flip();
                                                                    while (v17.write(v18) > 0) {
                                                                    }
                                                                    v18.clear();
                                                                    if ((v19.currentTimeMillis() - v20) <= (1000 * v24)) {
                                                                        if (!this.zzdbj) {
                                                                            if (v22.tryAcquire()) {
                                                                                com.google.android.gms.internal.ads.zzamu.zzsy.post(new com.google.android.gms.internal.ads.zzaqi(this, p28, v13_1.getAbsolutePath(), v6_11, v7_0, 0));
                                                                            }
                                                                        } else {
                                                                            v4_11 = "externalAbort";
                                                                            throw new java.io.IOException("abort requested");
                                                                        }
                                                                    } else {
                                                                        v4_11 = "downloadTimeout";
                                                                        com.google.android.gms.internal.ads.zzaqi v2_41 = Long.toString(v24);
                                                                        v3_37 = new StringBuilder((String.valueOf(v2_41).length() + 29)).append("Timeout exceeded. Limit: ").append(v2_41).append(" sec").toString();
                                                                        throw new java.io.IOException("stream cache time limit exceeded");
                                                                    }
                                                                } else {
                                                                    v4_11 = "sizeExceeded";
                                                                    com.google.android.gms.internal.ads.zzaqn v3_39 = String.valueOf(Integer.toString(v6_11));
                                                                    if (v3_39.length() == 0) {
                                                                        v3_37 = new String("File too big for full file cache. Size: ");
                                                                    } else {
                                                                        v3_37 = "File too big for full file cache. Size: ".concat(v3_39);
                                                                    }
                                                                    throw new java.io.IOException("stream cache file size limit exceeded");
                                                                }
                                                            } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                                                v3_37 = 0;
                                                                v5_5 = v12_1;
                                                            } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                                                v3_37 = 0;
                                                                v5_5 = v12_1;
                                                            } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                                                v5_5 = v12_1;
                                                            } catch (com.google.android.gms.internal.ads.zzaqi v2_46) {
                                                                v5_5 = v12_1;
                                                            }
                                                        }
                                                        v12_1.close();
                                                        if (com.google.android.gms.internal.ads.zzakb.isLoggable(3)) {
                                                            com.google.android.gms.internal.ads.zzaqi v2_18 = com.google.android.gms.internal.ads.zzaqn.zzdbh.format(((long) v6_11));
                                                            com.google.android.gms.internal.ads.zzakb.zzck(new StringBuilder(((String.valueOf(v2_18).length() + 22) + String.valueOf(p28).length())).append("Preloaded ").append(v2_18).append(" bytes from ").append(p28).toString());
                                                        }
                                                        v13_1.setReadable(1, 0);
                                                        if (!v14.isFile()) {
                                                            try {
                                                                v14.createNewFile();
                                                            } catch (com.google.android.gms.internal.ads.zzaqi v2) {
                                                            }
                                                        } else {
                                                            v14.setLastModified(System.currentTimeMillis());
                                                        }
                                                        this.zza(p28, v13_1.getAbsolutePath(), v6_11);
                                                        com.google.android.gms.internal.ads.zzaqn.zzdbg.remove(v9_1);
                                                        v2_28 = 1;
                                                    } else {
                                                        com.google.android.gms.internal.ads.zzaqi v2_65;
                                                        com.google.android.gms.internal.ads.zzakb.zzdk(new StringBuilder(((String.valueOf(v4_1).length() + 33) + String.valueOf(p28).length())).append("Content length ").append(v4_1).append(" exceeds limit at ").append(p28).toString());
                                                        com.google.android.gms.internal.ads.zzaqi v2_63 = String.valueOf(v4_1);
                                                        if (v2_63.length() == 0) {
                                                            v2_65 = new String("File too big for full file cache. Size: ");
                                                        } else {
                                                            v2_65 = "File too big for full file cache. Size: ".concat(v2_63);
                                                        }
                                                        this.zza(p28, v13_1.getAbsolutePath(), "sizeExceeded", v2_65);
                                                        com.google.android.gms.internal.ads.zzaqn.zzdbg.remove(v9_1);
                                                        v2_28 = 0;
                                                    }
                                                } else {
                                                    com.google.android.gms.internal.ads.zzaqi v2_71;
                                                    com.google.android.gms.internal.ads.zzaqi v2_69 = String.valueOf(p28);
                                                    if (v2_69.length() == 0) {
                                                        v2_71 = new String("Stream cache aborted, missing content-length header at ");
                                                    } else {
                                                        v2_71 = "Stream cache aborted, missing content-length header at ".concat(v2_69);
                                                    }
                                                    com.google.android.gms.internal.ads.zzakb.zzdk(v2_71);
                                                    this.zza(p28, v13_1.getAbsolutePath(), "contentLengthMissing", 0);
                                                    com.google.android.gms.internal.ads.zzaqn.zzdbg.remove(v9_1);
                                                    v2_28 = 0;
                                                }
                                            } else {
                                                int v8_7 = v2_2.getHeaderField("Location");
                                                if (v8_7 != 0) {
                                                    int v6_20 = new java.net.URL(v3_58, v8_7);
                                                    com.google.android.gms.internal.ads.zzaqn v3_54 = v6_20.getProtocol();
                                                    if (v3_54 != null) {
                                                        if ((!v3_54.equals("http")) && (!v3_54.equals("https"))) {
                                                            break;
                                                        }
                                                        com.google.android.gms.internal.ads.zzaqn v3_57;
                                                        com.google.android.gms.internal.ads.zzaqn v3_55 = String.valueOf(v8_7);
                                                        if (v3_55.length() == 0) {
                                                            v3_57 = new String("Redirecting to ");
                                                        } else {
                                                            v3_57 = "Redirecting to ".concat(v3_55);
                                                        }
                                                        com.google.android.gms.internal.ads.zzakb.zzck(v3_57);
                                                        v2_2.disconnect();
                                                        v2_78 = v4_28;
                                                        v3_58 = v6_20;
                                                    } else {
                                                        throw new java.io.IOException("Protocol is null");
                                                    }
                                                } else {
                                                    throw new java.io.IOException("Missing Location header in redirect");
                                                }
                                            }
                                        } else {
                                            throw new java.io.IOException("Invalid protocol.");
                                        }
                                    }
                                }
                                com.google.android.gms.internal.ads.zzaqi v2_81;
                                com.google.android.gms.internal.ads.zzaqi v2_79 = String.valueOf(v3_54);
                                if (v2_79.length() == 0) {
                                    v2_81 = new String("Unsupported scheme: ");
                                } else {
                                    v2_81 = "Unsupported scheme: ".concat(v2_79);
                                }
                                throw new java.io.IOException(v2_81);
                            } else {
                                com.google.android.gms.internal.ads.zzaqi v2_110;
                                com.google.android.gms.internal.ads.zzaqi v2_108 = String.valueOf(p28);
                                if (v2_108.length() == 0) {
                                    v2_110 = new String("Stream cache already in progress at ");
                                } else {
                                    v2_110 = "Stream cache already in progress at ".concat(v2_108);
                                }
                                com.google.android.gms.internal.ads.zzakb.zzdk(v2_110);
                                this.zza(p28, v13_1.getAbsolutePath(), "inProgress", 0);
                                v2_28 = 0;
                            }
                        } catch (com.google.android.gms.internal.ads.zzaqi v2_112) {
                            throw v2_112;
                        }
                    } else {
                        com.google.android.gms.internal.ads.zzaqi v2_116;
                        com.google.android.gms.internal.ads.zzaqn v3_65 = ((int) v13_1.length());
                        com.google.android.gms.internal.ads.zzaqi v2_114 = String.valueOf(p28);
                        if (v2_114.length() == 0) {
                            v2_116 = new String("Stream cache hit at ");
                        } else {
                            v2_116 = "Stream cache hit at ".concat(v2_114);
                        }
                        com.google.android.gms.internal.ads.zzakb.zzck(v2_116);
                        this.zza(p28, v13_1.getAbsolutePath(), v3_65);
                        v2_28 = 1;
                    }
                } else {
                    com.google.android.gms.internal.ads.zzaqi v2_123;
                    if (this.zzdbi != null) {
                        String v7_10 = 0;
                        String v4_23 = nan;
                        String v9_0 = this.zzdbi.listFiles();
                        int v10_0 = v9_0.length;
                        int v8_9 = 0;
                        while (v8_9 < v10_0) {
                            com.google.android.gms.internal.ads.zzaqi v2_126;
                            String v4_25;
                            int v6_28 = v9_0[v8_9];
                            if (v6_28.getName().endsWith(".done")) {
                                v2_126 = v4_23;
                                v4_25 = v7_10;
                            } else {
                                v2_126 = v6_28.lastModified();
                                if (v2_126 >= v4_23) {
                                } else {
                                    v4_25 = v6_28;
                                }
                            }
                            v8_9++;
                            v7_10 = v4_25;
                            v4_23 = v2_126;
                        }
                        v2_123 = 0;
                        if (v7_10 != null) {
                            v2_123 = v7_10.delete();
                            com.google.android.gms.internal.ads.zzaqn v3_66 = this.zzc(v7_10);
                            if (v3_66.isFile()) {
                                v2_123 &= v3_66.delete();
                            }
                        }
                    } else {
                        v2_123 = 0;
                    }
                }
            } while(v2_123 != null);
            com.google.android.gms.internal.ads.zzakb.zzdk("Unable to expire stream cache");
            this.zza(p28, 0, "expireFailed", 0);
            v2_28 = 0;
        } else {
            this.zza(p28, 0, "noCacheDir", 0);
            v2_28 = 0;
        }
        return v2_28;
    }

Method com.google.android.gms.internal.ads.zzaqn.zzc() calling method java.io.File.<init>()


    private final java.io.File zzc(java.io.File p5)
    {
        return new java.io.File(this.zzdbi, String.valueOf(p5.getName()).concat(".done"));
    }

Method com.google.android.gms.internal.ads.zzaqn.<init>() calling method java.io.File.<init>()


    public zzaqn(com.google.android.gms.internal.ads.zzapw p7)
    {
        super(p7);
        String v0_20 = super.mContext.getCacheDir();
        if (v0_20 != null) {
            super.zzdbi = new java.io.File(v0_20, "admobVideoStreams");
            if ((super.zzdbi.isDirectory()) || (super.zzdbi.mkdirs())) {
                if ((!super.zzdbi.setReadable(1, 0)) || (!super.zzdbi.setExecutable(1, 0))) {
                    String v0_12;
                    String v0_10 = String.valueOf(super.zzdbi.getAbsolutePath());
                    if (v0_10.length() == 0) {
                        v0_12 = new String("Could not set cache file permissions at ");
                    } else {
                        v0_12 = "Could not set cache file permissions at ".concat(v0_10);
                    }
                    com.google.android.gms.internal.ads.zzakb.zzdk(v0_12);
                    super.zzdbi = 0;
                }
            } else {
                String v0_18;
                String v0_16 = String.valueOf(super.zzdbi.getAbsolutePath());
                if (v0_16.length() == 0) {
                    v0_18 = new String("Could not create preload cache directory at ");
                } else {
                    v0_18 = "Could not create preload cache directory at ".concat(v0_16);
                }
                com.google.android.gms.internal.ads.zzakb.zzdk(v0_18);
                super.zzdbi = 0;
            }
        } else {
            com.google.android.gms.internal.ads.zzakb.zzdk("Context.getCacheDir() returned null");
        }
        return;
    }

Method com.google.android.gms.internal.ads.zzam.zze() calling method java.io.File.<init>()


    private final java.io.File zze(String p4)
    {
        return new java.io.File(this.zzby, com.google.android.gms.internal.ads.zzam.zzd(p4));
    }

Method com.google.android.gms.internal.ads.zzalt.zzbb() calling method java.io.File.<init>()


    private static com.google.android.gms.internal.ads.zzv zzbb(android.content.Context p5)
    {
        try {
            if (com.google.android.gms.internal.ads.zzalt.zzctf == null) {
                com.google.android.gms.internal.ads.zzv v0_6;
                com.google.android.gms.internal.ads.zznk.initialize(p5);
                if (!((Boolean) com.google.android.gms.internal.ads.zzkb.zzik().zzd(com.google.android.gms.internal.ads.zznk.zzbdv)).booleanValue()) {
                    v0_6 = new com.google.android.gms.internal.ads.zzv(new com.google.android.gms.internal.ads.zzam(new java.io.File(p5.getCacheDir(), "volley")), new com.google.android.gms.internal.ads.zzaj(new com.google.android.gms.internal.ads.zzas()));
                    v0_6.start();
                } else {
                    v0_6 = com.google.android.gms.internal.ads.zzaln.zzba(p5);
                }
                com.google.android.gms.internal.ads.zzalt.zzctf = v0_6;
            }
        } catch (com.google.android.gms.internal.ads.zzv v0_8) {
            throw v0_8;
        }
        return com.google.android.gms.internal.ads.zzalt.zzctf;
    }

Method com.google.android.gms.internal.ads.zzaln.zzba() calling method java.io.File.<init>()


    public static com.google.android.gms.internal.ads.zzv zzba(android.content.Context p4)
    {
        com.google.android.gms.internal.ads.zzv v2_0 = new com.google.android.gms.internal.ads.zzv(new com.google.android.gms.internal.ads.zzam(new java.io.File(p4.getCacheDir(), "admob_volley")), new com.google.android.gms.internal.ads.zzaln(p4, new com.google.android.gms.internal.ads.zzas()));
        v2_0.start();
        return v2_0;
    }

Method kotlin.io.FilesKt__UtilsKt.startsWith() calling method java.io.File.<init>()


    public static final boolean startsWith(java.io.File p1, String p2)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p1, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p2, "other");
        return kotlin.io.FilesKt.startsWith(p1, new java.io.File(p2));
    }

Method kotlin.io.FilesKt__UtilsKt.resolveSibling() calling method java.io.File.<init>()


    public static final java.io.File resolveSibling(java.io.File p1, String p2)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p1, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p2, "relative");
        return kotlin.io.FilesKt.resolveSibling(p1, new java.io.File(p2));
    }

Method kotlin.io.FilesKt__UtilsKt.resolveSibling() calling method java.io.File.<init>()


    public static final java.io.File resolveSibling(java.io.File p4, java.io.File p5)
    {
        java.io.File v1_0;
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p4, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p5, "relative");
        kotlin.io.FilePathComponents v0 = kotlin.io.FilesKt.toComponents(p4);
        if (v0.getSize() != 0) {
            v1_0 = v0.subPath(0, (v0.getSize() - 1));
        } else {
            v1_0 = new java.io.File("..");
        }
        return kotlin.io.FilesKt.resolve(kotlin.io.FilesKt.resolve(v0.getRoot(), v1_0), p5);
    }

Method kotlin.io.FilesKt__UtilsKt.resolve() calling method java.io.File.<init>()


    public static final java.io.File resolve(java.io.File p1, String p2)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p1, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p2, "relative");
        return kotlin.io.FilesKt.resolve(p1, new java.io.File(p2));
    }

Method kotlin.io.FilesKt__UtilsKt.resolve() calling method java.io.File.<init>()


    public static final java.io.File resolve(java.io.File p6, java.io.File p7)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p6, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p7, "relative");
        if (!kotlin.io.FilesKt.isRooted(p7)) {
            java.io.File v1_4;
            String v0 = p6.toString();
            if (((CharSequence) v0).length() != 0) {
                v1_4 = 0;
            } else {
                v1_4 = 1;
            }
            if ((v1_4 == null) && (!kotlin.text.StringsKt.endsWith$default(((CharSequence) v0), java.io.File.separatorChar, 0, 2, 0))) {
                java.io.File v1_10 = new java.io.File(new StringBuilder().append(v0).append(java.io.File.separatorChar).append(p7).toString());
            } else {
                v1_10 = new java.io.File(new StringBuilder().append(v0).append(p7).toString());
            }
            p7 = v1_10;
        }
        return p7;
    }

Method kotlin.io.FilesKt__UtilsKt.relativeToOrSelf() calling method java.io.File.<init>()


    public static final java.io.File relativeToOrSelf(java.io.File p2, java.io.File p3)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p2, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p3, "base");
        String v0 = kotlin.io.FilesKt__UtilsKt.toRelativeStringOrNull$FilesKt__UtilsKt(p2, p3);
        if (v0 != null) {
            p2 = new java.io.File(v0);
        }
        return p2;
    }

Method kotlin.io.FilesKt__UtilsKt.relativeToOrNull() calling method java.io.File.<init>()


    public static final java.io.File relativeToOrNull(java.io.File p2, java.io.File p3)
    {
        int v1_2;
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p2, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p3, "base");
        String v0 = kotlin.io.FilesKt__UtilsKt.toRelativeStringOrNull$FilesKt__UtilsKt(p2, p3);
        if (v0 == null) {
            v1_2 = 0;
        } else {
            v1_2 = new java.io.File(v0);
        }
        return v1_2;
    }

Method kotlin.io.FilesKt__UtilsKt.relativeTo() calling method java.io.File.<init>()


    public static final java.io.File relativeTo(java.io.File p2, java.io.File p3)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p2, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p3, "base");
        return new java.io.File(kotlin.io.FilesKt.toRelativeString(p2, p3));
    }

Method kotlin.io.FilesKt__UtilsKt.endsWith() calling method java.io.File.<init>()


    public static final boolean endsWith(java.io.File p1, String p2)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p1, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p2, "other");
        return kotlin.io.FilesKt.endsWith(p1, new java.io.File(p2));
    }

Method kotlin.io.FilesKt__UtilsKt.copyRecursively() calling method java.io.File.<init>()


    public static final boolean copyRecursively(java.io.File p16, java.io.File p17, boolean p18, kotlin.jvm.functions.Function2 p19)
    {
        int v2_3;
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p16, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p17, "target");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p19, "onError");
        if (p16.exists()) {
            java.util.Iterator v12 = kotlin.io.FilesKt.walkTopDown(p16).onFail(((kotlin.jvm.functions.Function2) new kotlin.io.FilesKt__UtilsKt$copyRecursively$2(p19))).iterator();
            while (v12.hasNext()) {
                java.io.File v3_2 = ((java.io.File) v12.next());
                if (v3_2.exists()) {
                    java.io.File v4_3 = new java.io.File(p17, kotlin.io.FilesKt.toRelativeString(v3_2, p16));
                    if ((v4_3.exists()) && ((!v3_2.isDirectory()) || (!v4_3.isDirectory()))) {
                        int v11;
                        if (p18) {
                            if (!v4_3.isDirectory()) {
                                if (v4_3.delete()) {
                                    v11 = 0;
                                } else {
                                    v11 = 1;
                                }
                            } else {
                                int v2_28;
                                if (kotlin.io.FilesKt.deleteRecursively(v4_3)) {
                                    v2_28 = 0;
                                } else {
                                    v2_28 = 1;
                                }
                                v11 = v2_28;
                            }
                        } else {
                            v11 = 1;
                        }
                        if (v11 != 0) {
                            if (kotlin.jvm.internal.Intrinsics.areEqual(((kotlin.io.OnErrorAction) p19.invoke(v4_3, new kotlin.io.FileAlreadyExistsException(v3_2, v4_3, "The destination file already exists."))), kotlin.io.OnErrorAction.TERMINATE)) {
                                v2_3 = 0;
                                return v2_3;
                            }
                        }
                    }
                    if (!v3_2.isDirectory()) {
                        if ((kotlin.io.FilesKt.copyTo$default(v3_2, v4_3, p18, 0, 4, 0).length() != v3_2.length()) && (kotlin.jvm.internal.Intrinsics.areEqual(((kotlin.io.OnErrorAction) p19.invoke(v3_2, new java.io.IOException("Source file wasn\'t copied completely, length of destination file differs."))), kotlin.io.OnErrorAction.TERMINATE))) {
                            v2_3 = 0;
                        }
                    } else {
                        v4_3.mkdirs();
                    }
                } else {
                    if (kotlin.jvm.internal.Intrinsics.areEqual(((kotlin.io.OnErrorAction) p19.invoke(v3_2, new kotlin.io.NoSuchFileException(v3_2, 0, "The source file doesn\'t exist.", 2, 0))), kotlin.io.OnErrorAction.TERMINATE)) {
                        v2_3 = 0;
                    }
                }
            }
            v2_3 = 1;
        } else {
            v2_3 = (kotlin.jvm.internal.Intrinsics.areEqual(((kotlin.io.OnErrorAction) p19.invoke(p16, new kotlin.io.NoSuchFileException(p16, 0, "The source file doesn\'t exist.", 2, 0))), kotlin.io.OnErrorAction.TERMINATE) ^ 1);
        }
        return v2_3;
    }

Method kotlin.io.FilesKt__FilePathComponentsKt.toComponents() calling method java.io.File.<init>()


    public static final kotlin.io.FilePathComponents toComponents(java.io.File p14)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p14, "$receiver");
        String v10 = p14.getPath();
        int v11 = kotlin.io.FilesKt__FilePathComponentsKt.getRootLength$FilesKt__FilePathComponentsKt(v10);
        if (v10 != null) {
            String v12 = v10.substring(0, v11);
            kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v12, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)");
            if (v10 != null) {
                kotlin.io.FilePathComponents v0_6;
                String v13 = v10.substring(v11);
                kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v13, "(this as java.lang.String).substring(startIndex)");
                if (((CharSequence) v13).length() != 0) {
                    v0_6 = 0;
                } else {
                    v0_6 = 1;
                }
                java.util.List v9;
                if (v0_6 == null) {
                    kotlin.io.FilePathComponents v0_8 = ((CharSequence) v13);
                    java.io.File v1_1 = new char[1];
                    v1_1[0] = java.io.File.separatorChar;
                    Iterable v6_1 = ((Iterable) kotlin.text.StringsKt.split$default(v0_8, v1_1, 0, 0, 6, 0));
                    java.util.List v7_2 = ((java.util.Collection) new java.util.ArrayList(kotlin.collections.CollectionsKt.collectionSizeOrDefault(v6_1, 10)));
                    kotlin.io.FilePathComponents v0_11 = v6_1.iterator();
                    while (v0_11.hasNext()) {
                        v7_2.add(new java.io.File(((String) v0_11.next())));
                    }
                    v9 = ((java.util.List) v7_2);
                } else {
                    v9 = kotlin.collections.CollectionsKt.emptyList();
                }
                return new kotlin.io.FilePathComponents(new java.io.File(v12), v9);
            } else {
                throw new kotlin.TypeCastException("null cannot be cast to non-null type java.lang.String");
            }
        } else {
            throw new kotlin.TypeCastException("null cannot be cast to non-null type java.lang.String");
        }
    }

Method kotlin.io.FilesKt__FilePathComponentsKt.getRoot() calling method java.io.File.<init>()


    public static final java.io.File getRoot(java.io.File p2)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p2, "$receiver");
        return new java.io.File(kotlin.io.FilesKt.getRootName(p2));
    }

Method kotlin.io.FilePathComponents.subPath() calling method java.io.File.<init>()


    public final java.io.File subPath(int p11, int p12)
    {
        if ((p11 >= 0) && ((p11 <= p12) && (p12 <= this.getSize()))) {
            String v0_0 = ((Iterable) this.segments.subList(p11, p12));
            CharSequence v1_0 = java.io.File.separator;
            kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v1_0, "File.separator");
            return new java.io.File(kotlin.collections.CollectionsKt.joinToString$default(v0_0, ((CharSequence) v1_0), 0, 0, 0, 0, 0, 62, 0));
        } else {
            throw ((Throwable) new IllegalArgumentException());
        }
    }

Method android.support.v4.provider.RawDocumentFile.renameTo() calling method java.io.File.<init>()


    public boolean renameTo(String p3)
    {
        int v1_1;
        java.io.File v0_1 = new java.io.File(this.mFile.getParentFile(), p3);
        if (!this.mFile.renameTo(v0_1)) {
            v1_1 = 0;
        } else {
            this.mFile = v0_1;
            v1_1 = 1;
        }
        return v1_1;
    }

Method android.support.v4.provider.RawDocumentFile.createFile() calling method java.io.File.<init>()


    public android.support.v4.provider.DocumentFile createFile(String p7, String p8)
    {
        String v1 = android.webkit.MimeTypeMap.getSingleton().getExtensionFromMimeType(p7);
        if (v1 != null) {
            p8 = new StringBuilder().append(p8).append(".").append(v1).toString();
        }
        java.io.File v2_1 = new java.io.File(this.mFile, p8);
        try {
            v2_1.createNewFile();
            int v3_5 = new android.support.v4.provider.RawDocumentFile(this, v2_1);
        } catch (java.io.IOException v0) {
            android.util.Log.w("DocumentFile", new StringBuilder().append("Failed to createFile: ").append(v0).toString());
            v3_5 = 0;
        }
        return v3_5;
    }

Method android.support.v4.provider.RawDocumentFile.createDirectory() calling method java.io.File.<init>()


    public android.support.v4.provider.DocumentFile createDirectory(String p3)
    {
        int v1_2;
        java.io.File v0_1 = new java.io.File(this.mFile, p3);
        if ((!v0_1.isDirectory()) && (!v0_1.mkdir())) {
            v1_2 = 0;
        } else {
            v1_2 = new android.support.v4.provider.RawDocumentFile(this, v0_1);
        }
        return v1_2;
    }

Method android.support.v4.content.FileProvider.buildPath() calling method java.io.File.<init>()


    private static varargs java.io.File buildPath(java.io.File p5, String[] p6)
    {
        int v4 = p6.length;
        int v3 = 0;
        java.io.File v1 = p5;
        while (v3 < v4) {
            java.io.File v0_1;
            String v2 = p6[v3];
            if (v2 == null) {
                v0_1 = v1;
            } else {
                v0_1 = new java.io.File(v1, v2);
            }
            v3++;
            v1 = v0_1;
        }
        return v1;
    }

Method android.support.v4.content.FileProvider.<clinit>() calling method java.io.File.<init>()


    static FileProvider()
    {
        java.util.HashMap v0_1 = new String[2];
        v0_1[0] = "_display_name";
        v0_1[1] = "_size";
        android.support.v4.content.FileProvider.COLUMNS = v0_1;
        android.support.v4.content.FileProvider.DEVICE_ROOT = new java.io.File("/");
        android.support.v4.content.FileProvider.sCache = new java.util.HashMap();
        return;
    }

Method android.support.v4.content.FileProvider$SimplePathStrategy.getFileForUri() calling method java.io.File.<init>()


    public java.io.File getFileForUri(android.net.Uri p10)
    {
        String v2_1 = p10.getEncodedPath();
        int v4 = v2_1.indexOf(47, 1);
        String v5 = android.net.Uri.decode(v2_1.substring(1, v4));
        String vtmp6 = android.net.Uri.decode(v2_1.substring((v4 + 1)));
        java.io.File v3_1 = ((java.io.File) this.mRoots.get(v5));
        if (v3_1 != null) {
            try {
                java.io.File v1_2 = new java.io.File(v3_1, vtmp6).getCanonicalFile();
            } catch (java.io.IOException v0) {
                throw new IllegalArgumentException(new StringBuilder().append("Failed to resolve canonical path for ").append(v1_2).toString());
            }
            if (v1_2.getPath().startsWith(v3_1.getPath())) {
                return v1_2;
            } else {
                throw new SecurityException("Resolved path jumped beyond configured root");
            }
        } else {
            throw new IllegalArgumentException(new StringBuilder().append("Unable to find configured root for ").append(p10).toString());
        }
    }

Method com.recoverimages.datarestorepicturecanfreeapp.Utils.getImagesFromFolder() calling method java.io.File.<init>()


    public static java.util.HashMap getImagesFromFolder(String p9)
    {
        try {
            int v3_1 = new java.util.HashMap();
            java.util.ArrayList v2_1 = new java.util.ArrayList();
            java.io.File[] v6 = new java.io.File(p9).listFiles();
            int v7 = v6.length;
            int v5_0 = 0;
        } catch (Exception v0) {
            v3_1 = 0;
            return v3_1;
        }
        while (v5_0 < v7) {
            java.io.File v1 = v6[v5_0];
            if (com.recoverimages.datarestorepicturecanfreeapp.Utils.isImageFile(v1)) {
                v2_1.add(v1.getAbsolutePath());
            }
            v5_0++;
        }
        if (v2_1.size() > 0) {
            v3_1.put(p9, v2_1);
            return v3_1;
        } else {
            v3_1 = 0;
            return v3_1;
        }
    }

Method com.recoverimages.datarestorepicturecanfreeapp.ScannerNew.doInBackground() calling method java.io.File.<init>()


    protected varargs Void doInBackground(Void[] p19)
    {
        java.util.Stack v10_1 = new java.util.Stack();
        java.util.HashSet v11 = com.recoverimages.datarestorepicturecanfreeapp.Utils.getExternalMounts();
        if ((v11 != null) && (v11.size() > 0)) {
            java.util.Iterator v7 = v11.iterator();
            while (v7.hasNext()) {
                java.io.File[] v5 = new java.io.File(((String) v7.next())).listFiles();
                if ((v5 != null) && (v5.length >= 1)) {
                    int v13_1 = v5.length;
                    int v12_1 = 0;
                    while (v12_1 < v13_1) {
                        v10_1.push(v5[v12_1].getAbsolutePath());
                        v12_1++;
                    }
                }
            }
        }
        while (!v10_1.isEmpty()) {
            String v2_1 = ((String) v10_1.pop());
            java.io.File v3_1 = new java.io.File(v2_1);
            if (v3_1.isFile()) {
            } else {
                java.io.File[] v4 = v3_1.listFiles();
                if ((v4 == null) || (v4.length < 1)) {
                } else {
                    java.util.ArrayList v8_1 = new java.util.ArrayList();
                    int v13_3 = v4.length;
                    int v12_7 = 0;
                    while (v12_7 < v13_3) {
                        java.io.File v6 = v4[v12_7];
                        if (v6.isDirectory()) {
                            v10_1.push(v6.getAbsolutePath());
                        } else {
                            if ((v2_1.contains("/.")) && (com.recoverimages.datarestorepicturecanfreeapp.Utils.isImageFile(v6))) {
                                v8_1.add(v6.getAbsolutePath());
                                this.total_size = (this.total_size + v6.length());
                                this.count = (this.count + 1);
                                if ((this.limit == 0) || (this.count < this.limit)) {
                                    android.util.Log.e("Restore Image", v6.getName());
                                } else {
                                    v10_1.clear();
                                    break;
                                }
                            }
                        }
                        v12_7++;
                    }
                    if (v8_1.size() <= 0) {
                    } else {
                        com.recoverimages.datarestorepicturecanfreeapp.ScannerNew.folderImage.put(v2_1, v8_1);
                        int v12_12 = new java.util.HashMap[1];
                        v12_12[0] = com.recoverimages.datarestorepicturecanfreeapp.ScannerNew.folderImage;
                        this.publishProgress(v12_12);
                    }
                }
            }
        }
        return 0;
    }

Method com.recoverimages.datarestorepicturecanfreeapp.Scanner.doInBackground() calling method java.io.File.<init>()


    protected varargs Void doInBackground(Void[] p19)
    {
        java.util.Stack v10_1 = new java.util.Stack();
        java.util.HashSet v11 = com.recoverimages.datarestorepicturecanfreeapp.Utils.getExternalMounts();
        if ((v11 != null) && (v11.size() > 0)) {
            java.util.Iterator v7 = v11.iterator();
            while (v7.hasNext()) {
                java.io.File[] v5 = new java.io.File(((String) v7.next())).listFiles();
                if ((v5 != null) && (v5.length >= 1)) {
                    int v13_1 = v5.length;
                    int v12_1 = 0;
                    while (v12_1 < v13_1) {
                        v10_1.push(v5[v12_1].getAbsolutePath());
                        v12_1++;
                    }
                }
            }
        }
        while (!v10_1.isEmpty()) {
            String v2_1 = ((String) v10_1.pop());
            java.io.File v3_1 = new java.io.File(v2_1);
            if (v3_1.isFile()) {
            } else {
                java.io.File[] v4 = v3_1.listFiles();
                if ((v4 == null) || (v4.length < 1)) {
                } else {
                    java.util.ArrayList v8_1 = new java.util.ArrayList();
                    int v13_3 = v4.length;
                    int v12_7 = 0;
                    while (v12_7 < v13_3) {
                        java.io.File v6 = v4[v12_7];
                        if (v6.isDirectory()) {
                            v10_1.push(v6.getAbsolutePath());
                        } else {
                            if ((v2_1.contains("/.")) && (com.recoverimages.datarestorepicturecanfreeapp.Utils.isImageFile(v6))) {
                                v8_1.add(v6.getAbsolutePath());
                                this.total_size = (this.total_size + v6.length());
                                this.count = (this.count + 1);
                                if ((this.limit == 0) || (this.count < this.limit)) {
                                    android.util.Log.e("Restore Image", v6.getName());
                                } else {
                                    v10_1.clear();
                                    break;
                                }
                            }
                        }
                        v12_7++;
                    }
                    if (v8_1.size() <= 0) {
                    } else {
                        com.recoverimages.datarestorepicturecanfreeapp.Scanner.folderImage.put(v2_1, v8_1);
                        int v12_12 = new java.util.HashMap[1];
                        v12_12[0] = com.recoverimages.datarestorepicturecanfreeapp.Scanner.folderImage;
                        this.publishProgress(v12_12);
                    }
                }
            }
        }
        return 0;
    }

Method com.recoverimages.datarestorepicturecanfreeapp.ListActivity.copyDirectory() calling method java.io.File.<init>()


    public void copyDirectory(java.io.File p11, java.io.File p12)
    {
        if (p11.isDirectory()) {
            if ((!p12.exists()) && (!p12.mkdirs())) {
                throw new java.io.IOException(new StringBuilder().append("Cannot create dir ").append(p12.getAbsolutePath()).toString());
            } else {
                String[] v1 = p11.list();
                int v3 = 0;
                while (v3 < v1.length) {
                    this.copyDirectory(new java.io.File(p11, v1[v3]), new java.io.File(p12, v1[v3]));
                    v3++;
                }
            }
        } else {
            java.io.File v2 = p12.getParentFile();
            if ((v2 != null) && ((!v2.exists()) && (!v2.mkdirs()))) {
                throw new java.io.IOException(new StringBuilder().append("Cannot create dir ").append(v2.getAbsolutePath()).toString());
            } else {
                java.io.FileInputStream v4_1 = new java.io.FileInputStream(p11);
                java.io.FileOutputStream v6_1 = new java.io.FileOutputStream(p12);
                byte[] v0 = new byte[1024];
                while(true) {
                    int v5 = v4_1.read(v0);
                    if (v5 <= 0) {
                        break;
                    }
                    v6_1.write(v0, 0, v5);
                }
                v4_1.close();
                v6_1.close();
            }
        }
        return;
    }

Method com.recoverimages.datarestorepicturecanfreeapp.ListActivity$RestoreBackground.doInBackground() calling method java.io.File.<init>()


    protected varargs Void doInBackground(Void[] p14)
    {
        android.content.Intent v4_1 = new android.content.Intent("android.intent.action.MEDIA_SCANNER_SCAN_FILE");
        try {
            java.util.Iterator v2 = com.recoverimages.datarestorepicturecanfreeapp.ListActivity.image_path.iterator();
        } catch (Throwable v8) {
            v8.printStackTrace();
            return 0;
        }
        while (v2.hasNext()) {
            java.util.Iterator v3 = ((java.util.ArrayList) v2.next()).iterator();
            while (v3.hasNext()) {
                String v6_1 = ((String) v3.next());
                String[] v5 = v6_1.split("/");
                java.io.File v7_1 = new java.io.File(v6_1);
                String v9 = "";
                if (!v5[(v5.length - 1)].contains(".")) {
                    if (!com.recoverimages.datarestorepicturecanfreeapp.Utils.isJPEG(v7_1).booleanValue()) {
                        if (com.recoverimages.datarestorepicturecanfreeapp.Utils.isPNG(v7_1)) {
                            v9 = ".png";
                        }
                    } else {
                        v9 = ".jpg";
                    }
                }
                java.io.File v0_1 = new java.io.File(new StringBuilder().append(com.recoverimages.datarestorepicturecanfreeapp.MainActivity.RESTORE_DIR).append(v5[(v5.length - 1)]).append(v9).toString());
                try {
                    this.this$0.copyDirectory(v7_1, v0_1);
                    v4_1.setData(android.net.Uri.fromFile(v0_1));
                    this.this$0.sendBroadcast(v4_1);
                    com.recoverimages.datarestorepicturecanfreeapp.ListActivity.access$1002(this.this$0, (com.recoverimages.datarestorepicturecanfreeapp.ListActivity.access$1000(this.this$0) + 1));
                    com.recoverimages.datarestorepicturecanfreeapp.ListActivity.access$1102(this.this$0, ((com.recoverimages.datarestorepicturecanfreeapp.ListActivity.access$1000(this.this$0) * 100) / com.recoverimages.datarestorepicturecanfreeapp.ListActivity.access$1200(this.this$0)));
                    Void[] v10_26 = new Void[0];
                    this.publishProgress(v10_26);
                } catch (Exception v1) {
                    v1.printStackTrace();
                }
            }
        }
        return 0;
    }

Method com.recoverimages.datarestorepicturecanfreeapp.ListActivity$C18737.onClick() calling method java.io.File.<init>()


    public void onClick(android.view.View p7)
    {
        int v0 = 0;
        java.util.Iterator v1 = com.recoverimages.datarestorepicturecanfreeapp.ListActivity.image_path.iterator();
        while (v1.hasNext()) {
            java.util.Iterator v2 = ((java.util.ArrayList) v1.next()).iterator();
            while (v2.hasNext()) {
                new java.io.File(((String) v2.next())).delete();
                v0++;
            }
        }
        com.recoverimages.datarestorepicturecanfreeapp.ListActivity.folder.clear();
        com.recoverimages.datarestorepicturecanfreeapp.ListActivity.image_path.clear();
        com.recoverimages.datarestorepicturecanfreeapp.ListActivity.access$500(this.this$0).clear();
        android.widget.Toast.makeText(this.this$0, new StringBuilder().append(v0).append(" file(s) deleted").toString(), 1).show();
        com.recoverimages.datarestorepicturecanfreeapp.ListActivity.access$300(this.this$0).notifyDataSetChanged();
        return;
    }

Method com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.copyDirectory() calling method java.io.File.<init>()


    public void copyDirectory(java.io.File p11, java.io.File p12)
    {
        if (p11.isDirectory()) {
            if ((!p12.exists()) && (!p12.mkdirs())) {
                throw new java.io.IOException(new StringBuilder().append("Cannot create dir ").append(p12.getAbsolutePath()).toString());
            } else {
                String[] v1 = p11.list();
                int v3 = 0;
                while (v3 < v1.length) {
                    this.copyDirectory(new java.io.File(p11, v1[v3]), new java.io.File(p12, v1[v3]));
                    v3++;
                }
            }
        } else {
            java.io.File v2 = p12.getParentFile();
            if ((v2 != null) && ((!v2.exists()) && (!v2.mkdirs()))) {
                throw new java.io.IOException(new StringBuilder().append("Cannot create dir ").append(v2.getAbsolutePath()).toString());
            } else {
                java.io.FileInputStream v4_1 = new java.io.FileInputStream(p11);
                java.io.FileOutputStream v6_1 = new java.io.FileOutputStream(p12);
                byte[] v0 = new byte[1024];
                while(true) {
                    int v5 = v4_1.read(v0);
                    if (v5 <= 0) {
                        break;
                    }
                    v6_1.write(v0, 0, v5);
                }
                v4_1.close();
                v6_1.close();
            }
        }
        return;
    }

Method com.recoverimages.datarestorepicturecanfreeapp.FolderActivity$RestoreBackground.doInBackground() calling method java.io.File.<init>()


    protected varargs Void doInBackground(Void[] p13)
    {
        android.content.Intent v3_1 = new android.content.Intent("android.intent.action.MEDIA_SCANNER_SCAN_FILE");
        try {
            java.util.Iterator v2 = com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$000(this.this$0).iterator();
        } catch (Throwable v7) {
            v7.printStackTrace();
            return 0;
        }
        while (v2.hasNext()) {
            String v5_1 = ((String) v2.next());
            String[] v4 = v5_1.split("/");
            java.io.File v6_1 = new java.io.File(v5_1);
            String v8 = "";
            if (!v4[(v4.length - 1)].contains(".")) {
                if (!com.recoverimages.datarestorepicturecanfreeapp.Utils.isJPEG(v6_1).booleanValue()) {
                    if (com.recoverimages.datarestorepicturecanfreeapp.Utils.isPNG(v6_1)) {
                        v8 = ".png";
                    }
                } else {
                    v8 = ".jpg";
                }
            }
            java.io.File v0_1 = new java.io.File(new StringBuilder().append(com.recoverimages.datarestorepicturecanfreeapp.MainActivity.RESTORE_DIR).append(v4[(v4.length - 1)]).append(v8).toString());
            try {
                this.this$0.copyDirectory(v6_1, v0_1);
                v3_1.setData(android.net.Uri.fromFile(v0_1));
                this.this$0.sendBroadcast(v3_1);
                com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$1602(this.this$0, (com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$1600(this.this$0) + 1));
                com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$1702(this.this$0, ((com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$1600(this.this$0) * 100) / com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$000(this.this$0).size()));
                com.recoverimages.datarestorepicturecanfreeapp.FolderActivity v9_23 = new Void[0];
                this.publishProgress(v9_23);
            } catch (Exception v1) {
                com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$1802(this.this$0, (com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$1800(this.this$0) + 1));
                v1.printStackTrace();
            }
        }
        return 0;
    }

Method com.recoverimages.datarestorepicturecanfreeapp.FolderActivity$C18565.onClick() calling method java.io.File.<init>()


    public void onClick(android.view.View p8)
    {
        this.this$0.mInterstitialAd.show();
        this.this$0.mInterstitialAd.loadAd(this.this$0.adRequest2);
        int v0 = 0;
        java.util.Collections.sort(com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$100(this.this$0));
        java.util.Iterator v1 = com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$000(this.this$0).iterator();
        while (v1.hasNext()) {
            String v2_1 = ((String) v1.next());
            new java.io.File(v2_1).delete();
            com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$600(this.this$0).remove(v2_1);
            com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$200(this.this$0).remove((((Integer) com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$100(this.this$0).get(v0)).intValue() - v0));
            com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$700(this.this$0).add(v2_1);
            v0++;
        }
        com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$802(this.this$0, 1);
        com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$300(this.this$0).notifyDataSetChanged();
        android.widget.Toast.makeText(this.this$0, new StringBuilder().append(v0).append(" file(s) deleted").toString(), 1).show();
        com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$100(this.this$0).clear();
        com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$000(this.this$0).clear();
        com.recoverimages.datarestorepicturecanfreeapp.FolderActivity.access$500(this.this$0).setVisibility(8);
        return;
    }

Method com.recoverimages.datarestorepicturecanfreeapp.CustomDialogClass.onCreate() calling method java.io.File.<init>()


    protected void onCreate(android.os.Bundle p6)
    {
        super.onCreate(p6);
        this.requestWindowFeature(1);
        this.getWindow().setBackgroundDrawable(new android.graphics.drawable.ColorDrawable(0));
        this.setContentView(2130968614);
        this.yes = ((android.widget.Button) this.findViewById(2131624173));
        this.no = ((android.widget.Button) this.findViewById(2131624172));
        this.storage_txt = ((android.widget.TextView) this.findViewById(2131624167));
        this.back = ((android.widget.ImageView) this.findViewById(2131624166));
        this.add = ((android.widget.ImageView) this.findViewById(2131623980));
        this.listView1 = ((android.widget.ListView) this.findViewById(2131624169));
        this.storage_txt.setText(this.path);
        this.directory = new java.io.File(this.path);
        this.files = this.directory.listFiles();
        int v0 = 0;
        while (v0 < this.files.length) {
            if (this.files[v0].isDirectory()) {
                this.myList.add(this.files[v0].getName());
            }
            v0++;
        }
        this.adapter = new android.widget.ArrayAdapter(this.getContext(), 2130968629, this.myList);
        this.listView1.setAdapter(this.adapter);
        this.listView1.setOnItemClickListener(new com.recoverimages.datarestorepicturecanfreeapp.CustomDialogClass$C18451(this));
        this.back.setOnClickListener(new com.recoverimages.datarestorepicturecanfreeapp.CustomDialogClass$1(this));
        this.add.setOnClickListener(new com.recoverimages.datarestorepicturecanfreeapp.CustomDialogClass$C18493(this));
        this.yes.setOnClickListener(new com.recoverimages.datarestorepicturecanfreeapp.CustomDialogClass$2(this));
        this.no.setOnClickListener(new com.recoverimages.datarestorepicturecanfreeapp.CustomDialogClass$3(this));
        return;
    }

Method com.recoverimages.datarestorepicturecanfreeapp.CustomDialogClass$C18493$C18471.onClick() calling method java.io.File.<init>()


    public void onClick(android.content.DialogInterface p7, int p8)
    {
        java.io.File v2_1 = new java.io.File(this.this$1.this$0.path, "sample");
        boolean v1 = 0;
        if (!v2_1.exists()) {
            v1 = v2_1.mkdir();
        }
        if (!v1) {
            android.widget.Toast.makeText(this.this$1.this$0.getContext(), "Already Exist", 1).show();
        } else {
            this.this$1.this$0.myList.clear();
            this.this$1.this$0.directory = new java.io.File(this.this$1.this$0.path);
            this.this$1.this$0.files = this.this$1.this$0.directory.listFiles();
            int v0 = 0;
            while (v0 < this.this$1.this$0.files.length) {
                if (this.this$1.this$0.files[v0].isDirectory()) {
                    this.this$1.this$0.myList.add(this.this$1.this$0.files[v0].getName());
                }
                v0++;
            }
            this.this$1.this$0.listView1.setAdapter(this.this$1.this$0.adapter);
        }
        p7.cancel();
        return;
    }

Method com.recoverimages.datarestorepicturecanfreeapp.CustomDialogClass$C18462.onClick() calling method java.io.File.<init>()


    public void onClick(android.view.View p7)
    {
        if (this.this$0.counter != 0) {
            java.util.List v2_9 = this.this$0;
            v2_9.counter = (v2_9.counter - 1);
            int v0 = 1;
            int v1_0 = (this.this$0.path.length() - 2);
            while (v1_0 >= 0) {
                if (!String.valueOf(this.this$0.path.charAt(v1_0)).equals("/")) {
                    v0++;
                    v1_0--;
                } else {
                    v0++;
                    break;
                }
            }
            this.this$0.path = this.this$0.path.substring(0, (this.this$0.path.length() - v0));
            this.this$0.storage_txt.setText(this.this$0.path);
            this.this$0.myList.clear();
            this.this$0.directory = new java.io.File(this.this$0.path);
            this.this$0.files = this.this$0.directory.listFiles();
            int v1_1 = 0;
            while (v1_1 < this.this$0.files.length) {
                if (this.this$0.files[v1_1].isDirectory()) {
                    this.this$0.myList.add(this.this$0.files[v1_1].getName());
                }
                v1_1++;
            }
            this.this$0.listView1.setAdapter(this.this$0.adapter);
        }
        return;
    }

Method com.recoverimages.datarestorepicturecanfreeapp.CustomDialogClass$C18451.onItemClick() calling method java.io.File.<init>()


    public void onItemClick(android.widget.AdapterView p5, android.view.View p6, int p7, long p8)
    {
        java.util.List v1_0 = this.this$0;
        v1_0.counter = (v1_0.counter + 1);
        String v2_11 = this.this$0;
        v2_11.path = new StringBuilder().append(v2_11.path).append("/").append(p5.getItemAtPosition(p7)).append("/").toString();
        this.this$0.storage_txt.setText(this.this$0.path);
        this.this$0.myList.clear();
        this.this$0.directory = new java.io.File(this.this$0.path);
        this.this$0.files = this.this$0.directory.listFiles();
        int v0 = 0;
        while (v0 < this.this$0.files.length) {
            if (this.this$0.files[v0].isDirectory()) {
                this.this$0.myList.add(this.this$0.files[v0].getName());
            }
            v0++;
        }
        this.this$0.listView1.setAdapter(this.this$0.adapter);
        return;
    }

Method com.recoverimages.datarestorepicturecanfreeapp.CustomDialogClass$1.onClick() calling method java.io.File.<init>()


    public void onClick(android.view.View p7)
    {
        if (this.this$0.counter != 0) {
            java.util.List v2_9 = this.this$0;
            v2_9.counter = (v2_9.counter - 1);
            int v0 = 1;
            int v1_0 = (this.this$0.path.length() - 2);
            while (v1_0 >= 0) {
                if (!String.valueOf(this.this$0.path.charAt(v1_0)).equals("/")) {
                    v0++;
                    v1_0--;
                } else {
                    v0++;
                    break;
                }
            }
            this.this$0.path = this.this$0.path.substring(0, (this.this$0.path.length() - v0));
            this.this$0.storage_txt.setText(this.this$0.path);
            this.this$0.myList.clear();
            this.this$0.directory = new java.io.File(this.this$0.path);
            this.this$0.files = this.this$0.directory.listFiles();
            int v1_1 = 0;
            while (v1_1 < this.this$0.files.length) {
                if (this.this$0.files[v1_1].isDirectory()) {
                    this.this$0.myList.add(this.this$0.files[v1_1].getName());
                }
                v1_1++;
            }
            this.this$0.listView1.setAdapter(this.this$0.adapter);
        }
        return;
    }

Method com.bumptech.glide.load.resource.bitmap.HardwareConfigState.<clinit>() calling method java.io.File.<init>()


    static HardwareConfigState()
    {
        com.bumptech.glide.load.resource.bitmap.HardwareConfigState.FD_SIZE_LIST = new java.io.File("/proc/self/fd");
        return;
    }

Method com.bumptech.glide.load.model.StringLoader.toFileUri() calling method java.io.File.<init>()


    private static android.net.Uri toFileUri(String p1)
    {
        return android.net.Uri.fromFile(new java.io.File(p1));
    }

Method com.bumptech.glide.load.model.MediaStoreFileLoader$FilePathFetcher.loadData() calling method java.io.File.<init>()


    public void loadData(com.bumptech.glide.Priority p9, com.bumptech.glide.load.data.DataFetcher$DataCallback p10)
    {
        android.database.Cursor v6 = this.context.getContentResolver().query(this.uri, com.bumptech.glide.load.model.MediaStoreFileLoader$FilePathFetcher.PROJECTION, 0, 0, 0);
        String v7 = 0;
        if (v6 != null) {
            try {
                if (v6.moveToFirst()) {
                    v7 = v6.getString(v6.getColumnIndexOrThrow("_data"));
                }
            } catch (java.io.File v0_2) {
                v6.close();
                throw v0_2;
            }
            v6.close();
        }
        if (!android.text.TextUtils.isEmpty(v7)) {
            p10.onDataReady(new java.io.File(v7));
        } else {
            p10.onLoadFailed(new java.io.FileNotFoundException(new StringBuilder().append("Failed to find file path for: ").append(this.uri).toString()));
        }
        return;
    }

Method com.bumptech.glide.load.engine.executor.RuntimeCompat.getCoreCountPre17() calling method java.io.File.<init>()


    private static int getCoreCountPre17()
    {
        android.os.StrictMode$ThreadPolicy v3 = android.os.StrictMode.allowThreadDiskReads();
        try {
            java.io.File[] v2 = new java.io.File("/sys/devices/system/cpu/").listFiles(new com.bumptech.glide.load.engine.executor.RuntimeCompat$1(java.util.regex.Pattern.compile("cpu[0-9]+")));
            android.os.StrictMode.setThreadPolicy(v3);
        } catch (int v5_4) {
            android.os.StrictMode.setThreadPolicy(v3);
            throw v5_4;
        } catch (Throwable v4) {
            if (android.util.Log.isLoggable("GlideRuntimeCompat", 6)) {
                android.util.Log.e("GlideRuntimeCompat", "Failed to calculate accurate cpu count", v4);
            }
            android.os.StrictMode.setThreadPolicy(v3);
        }
        int v5_5;
        if (v2 == null) {
            v5_5 = 0;
        } else {
            v5_5 = v2.length;
        }
        return Math.max(1, v5_5);
    }

Method com.bumptech.glide.load.engine.cache.InternalCacheDiskCacheFactory$1.getCacheDirectory() calling method java.io.File.<init>()


    public java.io.File getCacheDirectory()
    {
        java.io.File v0 = this.val$context.getCacheDir();
        if (v0 != null) {
            if (this.val$diskCacheName != null) {
                v0 = new java.io.File(v0, this.val$diskCacheName);
            }
        } else {
            v0 = 0;
        }
        return v0;
    }

Method com.bumptech.glide.load.engine.cache.ExternalPreferredCacheDiskCacheFactory$1.getCacheDirectory() calling method java.io.File.<init>()


    public java.io.File getCacheDirectory()
    {
        java.io.File v1_0 = this.getInternalCacheDirectory();
        if ((v1_0 == null) || (!v1_0.exists())) {
            java.io.File v0 = this.val$context.getExternalCacheDir();
            if ((v0 != null) && (v0.canWrite())) {
                if (this.val$diskCacheName == null) {
                    v1_0 = v0;
                } else {
                    v1_0 = new java.io.File(v0, this.val$diskCacheName);
                }
            }
        }
        return v1_0;
    }

Method com.bumptech.glide.load.engine.cache.ExternalPreferredCacheDiskCacheFactory$1.getInternalCacheDirectory() calling method java.io.File.<init>()


    private java.io.File getInternalCacheDirectory()
    {
        java.io.File v0 = this.val$context.getCacheDir();
        if (v0 != null) {
            if (this.val$diskCacheName != null) {
                v0 = new java.io.File(v0, this.val$diskCacheName);
            }
        } else {
            v0 = 0;
        }
        return v0;
    }

Method com.bumptech.glide.load.engine.cache.ExternalCacheDiskCacheFactory$1.getCacheDirectory() calling method java.io.File.<init>()


    public java.io.File getCacheDirectory()
    {
        java.io.File v0 = this.val$context.getExternalCacheDir();
        if (v0 != null) {
            if (this.val$diskCacheName != null) {
                v0 = new java.io.File(v0, this.val$diskCacheName);
            }
        } else {
            v0 = 0;
        }
        return v0;
    }

Method com.bumptech.glide.load.engine.cache.DiskLruCacheFactory$2.getCacheDirectory() calling method java.io.File.<init>()


    public java.io.File getCacheDirectory()
    {
        return new java.io.File(this.val$diskCacheFolder, this.val$diskCacheName);
    }

Method com.bumptech.glide.load.engine.cache.DiskLruCacheFactory$1.getCacheDirectory() calling method java.io.File.<init>()


    public java.io.File getCacheDirectory()
    {
        return new java.io.File(this.val$diskCacheFolder);
    }

Method com.bumptech.glide.load.data.mediastore.FileService.get() calling method java.io.File.<init>()


    public java.io.File get(String p2)
    {
        return new java.io.File(p2);
    }

Method com.bumptech.glide.Glide.getPhotoCacheDir() calling method java.io.File.<init>()


    public static java.io.File getPhotoCacheDir(android.content.Context p5, String p6)
    {
        int v1_0;
        java.io.File v0 = p5.getCacheDir();
        if (v0 == null) {
            if (android.util.Log.isLoggable("Glide", 6)) {
                android.util.Log.e("Glide", "default disk cache dir is null");
            }
            v1_0 = 0;
        } else {
            v1_0 = new java.io.File(v0, p6);
            if ((!v1_0.mkdirs()) && ((!v1_0.exists()) || (!v1_0.isDirectory()))) {
                v1_0 = 0;
            }
        }
        return v1_0;
    }

Method android.support.v4.util.AtomicFile.<init>() calling method java.io.File.<init>()


    public AtomicFile(java.io.File p4)
    {
        this.mBaseName = p4;
        this.mBackupName = new java.io.File(new StringBuilder().append(p4.getPath()).append(".bak").toString());
        return;
    }

Method android.support.v4.graphics.TypefaceCompatUtil.getTempFile() calling method java.io.File.<init>()


    public static java.io.File getTempFile(android.content.Context p5)
    {
        String v2 = new StringBuilder().append(".font").append(android.os.Process.myPid()).append("-").append(android.os.Process.myTid()).append("-").toString();
        int v1 = 0;
        while (v1 < 100) {
            int v0_0 = new java.io.File(p5.getCacheDir(), new StringBuilder().append(v2).append(v1).toString());
            try {
                if (v0_0.createNewFile()) {
                    return v0_0;
                }
                v1++;
            } catch (java.io.IOException v3) {
            }
        }
        v0_0 = 0;
        return v0_0;
    }

Method android.support.v4.graphics.TypefaceCompatApi21Impl.getFile() calling method java.io.File.<init>()


    private java.io.File getFile(android.os.ParcelFileDescriptor p6)
    {
        try {
            int v2_6;
            String v1 = android.system.Os.readlink(new StringBuilder().append("/proc/self/fd/").append(p6.getFd()).toString());
        } catch (android.system.ErrnoException v0) {
            v2_6 = 0;
            return v2_6;
        }
        if (!android.system.OsConstants.S_ISREG(android.system.Os.stat(v1).st_mode)) {
            v2_6 = 0;
            return v2_6;
        } else {
            v2_6 = new java.io.File(v1);
            return v2_6;
        }
    }

Method android.support.v4.content.ContextCompat.getNoBackupFilesDir() calling method java.io.File.<init>()


    public static java.io.File getNoBackupFilesDir(android.content.Context p4)
    {
        java.io.File v1_1;
        if (android.os.Build$VERSION.SDK_INT < 21) {
            v1_1 = android.support.v4.content.ContextCompat.createFilesDir(new java.io.File(p4.getApplicationInfo().dataDir, "no_backup"));
        } else {
            v1_1 = p4.getNoBackupFilesDir();
        }
        return v1_1;
    }

Method android.support.v4.content.ContextCompat.getDataDir() calling method java.io.File.<init>()


    public static java.io.File getDataDir(android.content.Context p3)
    {
        int v1_1;
        if (android.os.Build$VERSION.SDK_INT < 24) {
            String v0 = p3.getApplicationInfo().dataDir;
            if (v0 == null) {
                v1_1 = 0;
            } else {
                v1_1 = new java.io.File(v0);
            }
        } else {
            v1_1 = p3.getDataDir();
        }
        return v1_1;
    }

Method android.support.v4.content.ContextCompat.getCodeCacheDir() calling method java.io.File.<init>()


    public static java.io.File getCodeCacheDir(android.content.Context p4)
    {
        java.io.File v1_1;
        if (android.os.Build$VERSION.SDK_INT < 21) {
            v1_1 = android.support.v4.content.ContextCompat.createFilesDir(new java.io.File(p4.getApplicationInfo().dataDir, "code_cache"));
        } else {
            v1_1 = p4.getCodeCacheDir();
        }
        return v1_1;
    }

Method android.support.v4.content.ContextCompat.buildPath() calling method java.io.File.<init>()


    private static varargs java.io.File buildPath(java.io.File p5, String[] p6)
    {
        int v4 = p6.length;
        int v3 = 0;
        java.io.File v1 = p5;
        while (v3 < v4) {
            java.io.File v0_2;
            String v2 = p6[v3];
            if (v1 != null) {
                if (v2 == null) {
                    v0_2 = v1;
                } else {
                    v0_2 = new java.io.File(v1, v2);
                }
            } else {
                v0_2 = new java.io.File(v2);
            }
            v3++;
            v1 = v0_2;
        }
        return v1;
    }

Method com.google.android.gms.common.util.SharedPreferencesUtils.publishWorldReadableSharedPreferences() calling method java.io.File.<init>()


    public static void publishWorldReadableSharedPreferences(android.content.Context p6, android.content.SharedPreferences$Editor p7, String p8)
    {
        java.io.File v0_1 = new java.io.File(p6.getApplicationInfo().dataDir, "shared_prefs");
        java.io.File v1_4 = v0_1.getParentFile();
        if (v1_4 != null) {
            v1_4.setExecutable(1, 0);
        }
        v0_1.setExecutable(1, 0);
        p7.commit();
        new java.io.File(v0_1, String.valueOf(p8).concat(".xml")).setReadable(1, 0);
        return;
    }

Method android.support.multidex.MultiDexExtractor.performExtractions() calling method java.io.File.<init>()


    private static java.util.List performExtractions(java.io.File p14, java.io.File p15)
    {
        String v4 = new StringBuilder().append(p14.getName()).append(".classes").toString();
        android.support.multidex.MultiDexExtractor.prepareDexDir(p15, v4);
        java.util.ArrayList v6_1 = new java.util.ArrayList();
        java.util.zip.ZipFile v0_1 = new java.util.zip.ZipFile(p14);
        int v9 = 2;
        try {
            java.util.zip.ZipEntry v1 = v0_1.getEntry(new StringBuilder().append("classes").append(2).append(".dex").toString());
        } catch (String v10_13) {
            try {
                v0_1.close();
            } catch (java.io.IOException v2_0) {
                android.util.Log.w("MultiDex", "Failed to close resource", v2_0);
            }
            throw v10_13;
        }
        while (v1 != null) {
            java.io.File v3_1 = new java.io.File(p15, new StringBuilder().append(v4).append(v9).append(".zip").toString());
            v6_1.add(v3_1);
            android.util.Log.i("MultiDex", new StringBuilder().append("Extraction is needed for file ").append(v3_1).toString());
            int v8 = 0;
            boolean v7 = 0;
            while ((v8 < 3) && (!v7)) {
                String v10_5;
                v8++;
                android.support.multidex.MultiDexExtractor.extract(v0_1, v1, v3_1, v4);
                v7 = android.support.multidex.MultiDexExtractor.verifyZipFile(v3_1);
                StringBuilder vtmp22 = new StringBuilder().append("Extraction ");
                if (!v7) {
                    v10_5 = "failed";
                } else {
                    v10_5 = "success";
                }
                android.util.Log.i("MultiDex", vtmp22.append(v10_5).append(" - length ").append(v3_1.getAbsolutePath()).append(": ").append(v3_1.length()).toString());
                if (!v7) {
                    v3_1.delete();
                    if (v3_1.exists()) {
                        android.util.Log.w("MultiDex", new StringBuilder().append("Failed to delete corrupted secondary dex \'").append(v3_1.getPath()).append("\'").toString());
                    }
                }
            }
            if (v7) {
                v9++;
                v1 = v0_1.getEntry(new StringBuilder().append("classes").append(v9).append(".dex").toString());
            } else {
                throw new java.io.IOException(new StringBuilder().append("Could not create zip file ").append(v3_1.getAbsolutePath()).append(" for secondary dex (").append(v9).append(")").toString());
            }
        }
        try {
            v0_1.close();
        } catch (java.io.IOException v2_1) {
            android.util.Log.w("MultiDex", "Failed to close resource", v2_1);
        }
        return v6_1;
    }

Method android.support.multidex.MultiDexExtractor.loadExistingExtractions() calling method java.io.File.<init>()


    private static java.util.List loadExistingExtractions(android.content.Context p9, java.io.File p10, java.io.File p11)
    {
        android.util.Log.i("MultiDex", "loading existing secondary dex files");
        String v1 = new StringBuilder().append(p10.getName()).append(".classes").toString();
        int v5 = android.support.multidex.MultiDexExtractor.getMultiDexPreferences(p9).getInt("dex.number", 1);
        java.util.ArrayList v3_1 = new java.util.ArrayList(v5);
        int v4 = 2;
        while (v4 <= v5) {
            java.io.File v0_1 = new java.io.File(p11, new StringBuilder().append(v1).append(v4).append(".zip").toString());
            if (!v0_1.isFile()) {
                throw new java.io.IOException(new StringBuilder().append("Missing extracted secondary dex file \'").append(v0_1.getPath()).append("\'").toString());
            } else {
                v3_1.add(v0_1);
                if (android.support.multidex.MultiDexExtractor.verifyZipFile(v0_1)) {
                    v4++;
                } else {
                    android.util.Log.i("MultiDex", new StringBuilder().append("Invalid zip file: ").append(v0_1).toString());
                    throw new java.io.IOException("Invalid ZIP file.");
                }
            }
        }
        return v3_1;
    }

Method android.support.multidex.MultiDexExtractor.load() calling method java.io.File.<init>()


    static java.util.List load(android.content.Context p9, android.content.pm.ApplicationInfo p10, java.io.File p11, boolean p12)
    {
        java.util.List v0;
        android.util.Log.i("MultiDex", new StringBuilder().append("MultiDexExtractor.load(").append(p10.sourceDir).append(", ").append(p12).append(")").toString());
        java.io.File v8_1 = new java.io.File(p10.sourceDir);
        long v4 = android.support.multidex.MultiDexExtractor.getZipCrc(v8_1);
        if ((p12) || (android.support.multidex.MultiDexExtractor.isModified(p9, v8_1, v4))) {
            android.util.Log.i("MultiDex", "Detected that extraction must be performed.");
            v0 = android.support.multidex.MultiDexExtractor.performExtractions(v8_1, p11);
            android.support.multidex.MultiDexExtractor.putStoredApkInfo(p9, android.support.multidex.MultiDexExtractor.getTimeStamp(v8_1), v4, (v0.size() + 1));
        } else {
            try {
                v0 = android.support.multidex.MultiDexExtractor.loadExistingExtractions(p9, v8_1, p11);
            } catch (java.io.IOException v7) {
                android.util.Log.w("MultiDex", "Failed to reload existing extracted secondary dex files, falling back to fresh extraction", v7);
                v0 = android.support.multidex.MultiDexExtractor.performExtractions(v8_1, p11);
                android.support.multidex.MultiDexExtractor.putStoredApkInfo(p9, android.support.multidex.MultiDexExtractor.getTimeStamp(v8_1), v4, (v0.size() + 1));
            }
        }
        android.util.Log.i("MultiDex", new StringBuilder().append("load found ").append(v0.size()).append(" secondary dex files").toString());
        return v0;
    }

Method android.support.multidex.MultiDex.install() calling method java.io.File.<init>()


    public static void install(android.content.Context p11)
    {
        android.util.Log.i("MultiDex", "install");
        if (!android.support.multidex.MultiDex.IS_VM_MULTIDEX_CAPABLE) {
            if (android.os.Build$VERSION.SDK_INT >= 4) {
                try {
                    android.content.pm.ApplicationInfo v1 = android.support.multidex.MultiDex.getApplicationInfo(p11);
                } catch (RuntimeException v3_0) {
                    android.util.Log.e("MultiDex", "Multidex installation failure", v3_0);
                    throw new RuntimeException(new StringBuilder().append("Multi dex installation failed (").append(v3_0.getMessage()).append(").").toString());
                }
                if (v1 != null) {
                    String v0 = v1.sourceDir;
                    if (!android.support.multidex.MultiDex.installedApk.contains(v0)) {
                        android.support.multidex.MultiDex.installedApk.add(v0);
                        if (android.os.Build$VERSION.SDK_INT > 20) {
                            android.util.Log.w("MultiDex", new StringBuilder().append("MultiDex is not guaranteed to work in SDK version ").append(android.os.Build$VERSION.SDK_INT).append(": SDK version higher than ").append(20).append(" should be backed by ").append("runtime with built-in multidex capabilty but it\'s not the ").append("case here: java.vm.version=\"").append(System.getProperty("java.vm.version")).append("\"").toString());
                        }
                        try {
                            ClassLoader v5 = p11.getClassLoader();
                        } catch (RuntimeException v3_1) {
                            android.util.Log.w("MultiDex", "Failure while trying to obtain Context class loader. Must be running in test mode. Skip patching.", v3_1);
                        }
                        if (v5 != null) {
                            try {
                                android.support.multidex.MultiDex.clearOldDexDir(p11);
                            } catch (Throwable v6) {
                                android.util.Log.w("MultiDex", "Something went wrong when trying to clear old MultiDex extraction, continuing without cleaning.", v6);
                            }
                            java.io.File v2_1 = new java.io.File(v1.dataDir, android.support.multidex.MultiDex.SECONDARY_FOLDER_NAME);
                            java.util.List v4_0 = android.support.multidex.MultiDexExtractor.load(p11, v1, v2_1, 0);
                            if (!android.support.multidex.MultiDex.checkValidZipFiles(v4_0)) {
                                android.util.Log.w("MultiDex", "Files were not valid zip files.  Forcing a reload.");
                                java.util.List v4_1 = android.support.multidex.MultiDexExtractor.load(p11, v1, v2_1, 1);
                                if (!android.support.multidex.MultiDex.checkValidZipFiles(v4_1)) {
                                    throw new RuntimeException("Zip files were not valid.");
                                } else {
                                    android.support.multidex.MultiDex.installSecondaryDexes(v5, v2_1, v4_1);
                                }
                            } else {
                                android.support.multidex.MultiDex.installSecondaryDexes(v5, v2_1, v4_0);
                            }
                            android.util.Log.i("MultiDex", "install done");
                        } else {
                            android.util.Log.e("MultiDex", "Context class loader is null. Must be running in test mode. Skip patching.");
                        }
                    } else {
                    }
                }
            } else {
                throw new RuntimeException(new StringBuilder().append("Multi dex installation failed. SDK ").append(android.os.Build$VERSION.SDK_INT).append(" is unsupported. Min SDK version is ").append(4).append(".").toString());
            }
        } else {
            android.util.Log.i("MultiDex", "VM has multidex support, MultiDex support library is disabled.");
        }
        return;
    }

Method android.support.multidex.MultiDex.clearOldDexDir() calling method java.io.File.<init>()


    private static void clearOldDexDir(android.content.Context p10)
    {
        java.io.File v1_1 = new java.io.File(p10.getFilesDir(), "secondary-dexes");
        if (v1_1.isDirectory()) {
            android.util.Log.i("MultiDex", new StringBuilder().append("Clearing old secondary dex dir (").append(v1_1.getPath()).append(").").toString());
            java.io.File[] v2 = v1_1.listFiles();
            if (v2 != null) {
                java.io.File[] v0 = v2;
                int v4 = v0.length;
                int v3 = 0;
                while (v3 < v4) {
                    java.io.File v5 = v0[v3];
                    android.util.Log.i("MultiDex", new StringBuilder().append("Trying to delete old file ").append(v5.getPath()).append(" of size ").append(v5.length()).toString());
                    if (v5.delete()) {
                        android.util.Log.i("MultiDex", new StringBuilder().append("Deleted old file ").append(v5.getPath()).toString());
                    } else {
                        android.util.Log.w("MultiDex", new StringBuilder().append("Failed to delete old file ").append(v5.getPath()).toString());
                    }
                    v3++;
                }
                if (v1_1.delete()) {
                    android.util.Log.i("MultiDex", new StringBuilder().append("Deleted old secondary dex dir ").append(v1_1.getPath()).toString());
                } else {
                    android.util.Log.w("MultiDex", new StringBuilder().append("Failed to delete secondary dex dir ").append(v1_1.getPath()).toString());
                }
            } else {
                android.util.Log.w("MultiDex", new StringBuilder().append("Failed to list secondary dex dir content (").append(v1_1.getPath()).append(").").toString());
            }
        }
        return;
    }

Method com.bumptech.glide.util.ByteBufferUtil.toFile() calling method java.io.RandomAccessFile.<init>()


    public static void toFile(java.nio.ByteBuffer p5, java.io.File p6)
    {
        p5.position(0);
        java.io.RandomAccessFile v1 = 0;
        java.nio.channels.FileChannel v0 = 0;
        try {
            java.io.RandomAccessFile v2_1 = new java.io.RandomAccessFile(p6, "rw");
            try {
                v0 = v2_1.getChannel();
                v0.write(p5);
                v0.force(0);
                v0.close();
                v2_1.close();
            } catch (java.io.IOException v3_2) {
                v1 = v2_1;
                if (v0 != null) {
                    try {
                        v0.close();
                    } catch (java.io.IOException v4) {
                    }
                }
                if (v1 != null) {
                    try {
                        v1.close();
                    } catch (java.io.IOException v4) {
                    }
                }
                throw v3_2;
            }
            if (v0 != null) {
                try {
                    v0.close();
                } catch (java.io.IOException v3) {
                }
            }
            if (v2_1 != null) {
                try {
                    v2_1.close();
                } catch (java.io.IOException v3) {
                }
            }
            return;
        } catch (java.io.IOException v3_2) {
        }
    }

Method com.bumptech.glide.util.ByteBufferUtil.fromFile() calling method java.io.RandomAccessFile.<init>()


    public static java.nio.ByteBuffer fromFile(java.io.File p10)
    {
        java.io.RandomAccessFile v6 = 0;
        java.nio.channels.FileChannel v0 = 0;
        try {
            long v4 = p10.length();
        } catch (Throwable v1_4) {
            if (v0 != null) {
                try {
                    v0.close();
                } catch (java.io.IOException v2) {
                }
            }
            if (v6 != null) {
                try {
                    v6.close();
                } catch (java.io.IOException v2) {
                }
            }
            throw v1_4;
        }
        if (v4 <= 2147483647) {
            if (v4 != 0) {
                java.io.RandomAccessFile v7_1 = new java.io.RandomAccessFile(p10, "r");
                try {
                    v0 = v7_1.getChannel();
                    Throwable v1_3 = v0.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v4).load();
                } catch (Throwable v1_4) {
                    v6 = v7_1;
                }
                if (v0 != null) {
                    try {
                        v0.close();
                    } catch (java.io.IOException v2) {
                    }
                }
                if (v7_1 != null) {
                    try {
                        v7_1.close();
                    } catch (java.io.IOException v2) {
                    }
                }
                return v1_3;
            } else {
                throw new java.io.IOException("File unsuitable for memory mapping");
            }
        } else {
            throw new java.io.IOException("File too large to map into memory");
        }
    }

Method com.google.android.gms.common.util.IOUtils.lockAndTruncateFile() calling method java.io.RandomAccessFile.<init>()


    public static void lockAndTruncateFile(java.io.File p6)
    {
        java.io.IOException v1 = 0;
        if (p6.exists()) {
            try {
                int v2_1 = new java.io.RandomAccessFile(p6, "rw");
                try {
                    java.io.IOException v0_0 = v2_1.getChannel();
                    v1 = v0_0.lock();
                    v0_0.truncate(0);
                } catch (java.io.IOException v0_1) {
                    if (v1 != null) {
                        if (v1.isValid()) {
                            try {
                                v1.release();
                            } catch (java.io.IOException v1) {
                            }
                        }
                    }
                    if (v2_1 != 0) {
                        com.google.android.gms.common.util.IOUtils.closeQuietly(v2_1);
                    }
                    throw v0_1;
                }
                if ((v1 != null) && (v1.isValid())) {
                    try {
                        v1.release();
                    } catch (java.io.IOException v0) {
                    }
                }
                com.google.android.gms.common.util.IOUtils.closeQuietly(v2_1);
                return;
            } catch (java.io.IOException v0_1) {
                v2_1 = 0;
            }
        } else {
            throw new java.io.FileNotFoundException();
        }
    }

Method android.support.multidex.ZipUtil.getZipCrc() calling method java.io.RandomAccessFile.<init>()


    static long getZipCrc(java.io.File p4)
    {
        java.io.RandomAccessFile v1_1 = new java.io.RandomAccessFile(p4, "r");
        try {
            Throwable v2_1 = android.support.multidex.ZipUtil.computeCrcOfCentralDir(v1_1, android.support.multidex.ZipUtil.findCentralDirectory(v1_1));
            v1_1.close();
            return v2_1;
        } catch (Throwable v2_2) {
            v1_1.close();
            throw v2_2;
        }
    }

Method com.google.android.gms.internal.ads.zzakk.zze() calling method android.content.Context.openFileOutput()


    public static void zze(android.content.Context p2, String p3, String p4)
    {
        try {
            Exception v0_1 = p2.openFileOutput(p3, 0);
            v0_1.write(p4.getBytes("UTF-8"));
            v0_1.close();
        } catch (Exception v0_2) {
            com.google.android.gms.internal.ads.zzakb.zzb("Error writing to file in internal storage.", v0_2);
        }
        return;
    }

Method android.support.v7.widget.ActivityChooserModel$PersistHistoryAsyncTask.doInBackground() calling method android.content.Context.openFileOutput()


    public varargs Void doInBackground(Object[] p19)
    {
        java.util.List v4_1 = ((java.util.List) p19[0]);
        String v5_1 = ((String) p19[1]);
        try {
            java.io.FileOutputStream v3 = this.this$0.mContext.openFileOutput(v5_1, 0);
            org.xmlpull.v1.XmlSerializer v12 = android.util.Xml.newSerializer();
            try {
                v12.setOutput(v3, 0);
                v12.startDocument("UTF-8", Boolean.valueOf(1));
                v12.startTag(0, "historical-records");
                int v11 = v4_1.size();
                int v6 = 0;
            } catch (IllegalArgumentException v7) {
                android.util.Log.e(android.support.v7.widget.ActivityChooserModel.LOG_TAG, new StringBuilder().append("Error writing historical record file: ").append(this.this$0.mHistoryFileName).toString(), v7);
                this.this$0.mCanReadHistoricalData = 1;
                if (v3 == null) {
                    java.io.IOException v13_3 = 0;
                    return v13_3;
                } else {
                    try {
                        v3.close();
                    } catch (java.io.IOException v13) {
                    }
                }
            } catch (IllegalStateException v9) {
                android.util.Log.e(android.support.v7.widget.ActivityChooserModel.LOG_TAG, new StringBuilder().append("Error writing historical record file: ").append(this.this$0.mHistoryFileName).toString(), v9);
                this.this$0.mCanReadHistoricalData = 1;
                if (v3 == null) {
                } else {
                    try {
                        v3.close();
                    } catch (java.io.IOException v13) {
                    }
                }
            } catch (java.io.IOException v8) {
                android.util.Log.e(android.support.v7.widget.ActivityChooserModel.LOG_TAG, new StringBuilder().append("Error writing historical record file: ").append(this.this$0.mHistoryFileName).toString(), v8);
                this.this$0.mCanReadHistoricalData = 1;
                if (v3 == null) {
                } else {
                    try {
                        v3.close();
                    } catch (java.io.IOException v13) {
                    }
                }
            } catch (java.io.IOException v13_2) {
                this.this$0.mCanReadHistoricalData = 1;
                if (v3 != null) {
                    try {
                        v3.close();
                    } catch (int v14) {
                    }
                }
                throw v13_2;
            }
            while (v6 < v11) {
                android.support.v7.widget.ActivityChooserModel$HistoricalRecord v10_1 = ((android.support.v7.widget.ActivityChooserModel$HistoricalRecord) v4_1.remove(0));
                v12.startTag(0, "historical-record");
                v12.attribute(0, "activity", v10_1.activity.flattenToString());
                v12.attribute(0, "time", String.valueOf(v10_1.time));
                v12.attribute(0, "weight", String.valueOf(v10_1.weight));
                v12.endTag(0, "historical-record");
                v6++;
            }
            v12.endTag(0, "historical-records");
            v12.endDocument();
            this.this$0.mCanReadHistoricalData = 1;
            if (v3 == null) {
            } else {
                try {
                    v3.close();
                } catch (java.io.IOException v13) {
                }
            }
        } catch (java.io.FileNotFoundException v2) {
            android.util.Log.e(android.support.v7.widget.ActivityChooserModel.LOG_TAG, new StringBuilder().append("Error writing historical record file: ").append(v5_1).toString(), v2);
            v13_3 = 0;
            return v13_3;
        }
    }