package com.google.android.gms.internal.gtm; import android.content.Context; import android.content.res.AssetManager; import android.graphics.Color; import android.text.TextUtils; import android.util.TypedValue; import android.view.ViewConfiguration; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Method; import o.xzZ; /* loaded from: classes.dex */ final class zzna implements zzne { private static int b = 1; private static int e; private final Context val$context; /* JADX INFO: Access modifiers changed from: package-private */ public zzna(Context context) { this.val$context = context; } @Override // com.google.android.gms.internal.gtm.zzne public final InputStream open(String str) throws IOException { int i = 2 % 2; int i2 = e + 71; b = i2 % 128; Object obj = null; try { if (i2 % 2 == 0) { Object[] objArr = {this.val$context.getAssets(), str}; Object obj2 = xzZ.y.get(-867414553); if (obj2 == null) { obj2 = ((Class) xzZ.c(5 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - TextUtils.indexOf("", "", 0, 0), (char) Color.blue(0))).getMethod("NN_", AssetManager.class, String.class); xzZ.y.put(-867414553, obj2); } throw null; } Object[] objArr2 = {this.val$context.getAssets(), str}; Object obj3 = xzZ.y.get(-867414553); if (obj3 == null) { obj3 = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 5, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod("NN_", AssetManager.class, String.class); xzZ.y.put(-867414553, obj3); } InputStream inputStream = (InputStream) ((Method) obj3).invoke(null, objArr2); int i3 = e + 35; b = i3 % 128; if (i3 % 2 != 0) { return inputStream; } obj.hashCode(); throw null; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause != null) { throw cause; } throw th; } } }