package com.google.android.play.core.assetpacks; import java.io.File; /* loaded from: classes2.dex */ final class y0 { /* renamed from: g, reason: collision with root package name */ private static final r3.h0 f5157g = new r3.h0("ExtractChunkTaskHandler"); /* renamed from: a, reason: collision with root package name */ private final byte[] f5158a = new byte[8192]; /* renamed from: b, reason: collision with root package name */ private final e0 f5159b; /* renamed from: c, reason: collision with root package name */ private final h1 f5160c; /* renamed from: d, reason: collision with root package name */ private final p2 f5161d; /* renamed from: e, reason: collision with root package name */ private final r3.o f5162e; /* renamed from: f, reason: collision with root package name */ private final r3.o f5163f; y0(e0 e0Var, r3.o oVar, r3.o oVar2, h1 h1Var, p2 p2Var) { this.f5159b = e0Var; this.f5162e = oVar; this.f5163f = oVar2; this.f5160c = h1Var; this.f5161d = p2Var; } private final File b(x0 x0Var) { File B = this.f5159b.B(x0Var.f5165b, x0Var.f5132c, x0Var.f5133d, x0Var.f5135f); if (!B.exists()) { B.mkdirs(); } return B; } /* JADX WARN: Can't wrap try/catch for region: R(12:11|(2:13|(14:15|16|17|(1:(1:(2:21|(1:23)(2:88|89))(2:90|91))(2:92|(10:94|(6:26|(4:27|(2:31|(1:40)(4:35|(1:37)|38|39))|41|(1:43)(1:68))|46|(1:48)|49|(2:51|(1:53)(2:54|(1:56)(3:57|(2:59|(1:61)(2:63|64))(1:66)|62))))|69|70|(2:82|83)|72|73|74|75|(2:77|78)(1:79))(2:95|96)))(2:97|(4:99|(4:100|(1:102)|103|(1:1)(1:106))|108|(3:110|111|112))(2:115|116))|24|(0)|69|70|(0)|72|73|74|75|(0)(0))(2:127|128))|129|(0)|69|70|(0)|72|73|74|75|(0)(0)) */ /* JADX WARN: Code restructure failed: missing block: B:81:0x02ff, code lost: com.google.android.play.core.assetpacks.y0.f5157g.e("Could not close file for chunk %s of slice %s of pack %s.", java.lang.Integer.valueOf(r23.f5137h), r23.f5135f, r23.f5165b); */ /* JADX WARN: Multi-variable type inference failed */ /* JADX WARN: Removed duplicated region for block: B:26:0x018b A[Catch: all -> 0x0297, TryCatch #3 {all -> 0x0297, blocks: (B:26:0x018b, B:27:0x0194, B:29:0x019e, B:31:0x01a4, B:33:0x01aa, B:35:0x01b0, B:37:0x01d4, B:39:0x01e0, B:40:0x01e4, B:41:0x01eb, B:43:0x01f1, B:46:0x01f7, B:48:0x01fd, B:49:0x020d, B:51:0x0213, B:53:0x0219, B:54:0x022c, B:56:0x0232, B:57:0x0241, B:59:0x0247, B:62:0x0288, B:63:0x026f, B:64:0x0276, B:66:0x0277, B:112:0x0156, B:115:0x015b, B:116:0x0165, B:127:0x0166, B:128:0x0186), top: B:11:0x0041 }] */ /* JADX WARN: Removed duplicated region for block: B:77:0x031e */ /* JADX WARN: Removed duplicated region for block: B:79:? A[RETURN, SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:82:0x02a3 A[EXC_TOP_SPLITTER, SYNTHETIC] */ /* JADX WARN: Type inference failed for: r0v0, types: [com.google.android.play.core.assetpacks.b3] */ /* JADX WARN: Type inference failed for: r10v18 */ /* JADX WARN: Type inference failed for: r10v3, types: [java.io.InputStream] */ /* JADX WARN: Type inference failed for: r10v7 */ /* JADX WARN: Type inference failed for: r9v1 */ /* JADX WARN: Type inference failed for: r9v11 */ /* JADX WARN: Type inference failed for: r9v2, types: [java.io.InputStream] */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct code enable 'Show inconsistent code' option in preferences */ public final void a(com.google.android.play.core.assetpacks.x0 r23) { /* Method dump skipped, instructions count: 912 To view this dump change 'Code comments level' option to 'DEBUG' */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.play.core.assetpacks.y0.a(com.google.android.play.core.assetpacks.x0):void"); } }