package o; import android.content.res.AssetManager; import android.text.TextUtils; import android.view.View; import android.widget.ExpandableListView; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Method; /* loaded from: classes.dex */ public final class IVF extends AbstractC16647pwy { private static int d = 1; private static int e; @Override // o.AbstractC16647pwy protected final /* synthetic */ InputStream DJ_(AssetManager assetManager, String str) throws IOException { return DI_(assetManager, str); } @Override // o.AbstractC16647pwy protected final /* synthetic */ void b(InputStream inputStream) throws IOException { inputStream.close(); } public IVF(AssetManager assetManager, String str) { super(assetManager, str); } private static InputStream DI_(AssetManager assetManager, String str) throws IOException { int i = 2 % 2; int i2 = e + 117; d = i2 % 128; if (i2 % 2 != 0) { try { Object[] objArr = {assetManager, str}; Object obj = xzZ.y.get(-867414553); if (obj == null) { obj = ((Class) xzZ.c(5 - TextUtils.getOffsetAfter("", 0), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).getMethod("NN_", AssetManager.class, String.class); xzZ.y.put(-867414553, obj); } return (InputStream) ((Method) obj).invoke(null, objArr); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause != null) { throw cause; } throw th; } } try { Object[] objArr2 = {assetManager, str}; Object obj2 = xzZ.y.get(-867414553); if (obj2 == null) { obj2 = ((Class) xzZ.c(5 - View.getDefaultSize(0, 0), 5 - View.combineMeasuredStates(0, 0), (char) TextUtils.getOffsetAfter("", 0))).getMethod("NN_", AssetManager.class, String.class); xzZ.y.put(-867414553, obj2); } InputStream inputStream = (InputStream) ((Method) obj2).invoke(null, objArr2); int i3 = 14 / 0; return inputStream; } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 != null) { throw cause2; } throw th2; } } @Override // o.InterfaceC12232euN public final Class c() { return InputStream.class; } }