package o; import com.google.gson.Gson; import com.google.gson.TypeAdapter; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; import org.bouncycastle.crypto.tls.CipherSuite; /* renamed from: o.ark, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public final class C3133ark extends TypeAdapter implements HJa { private Gson a; private PYE c; private InterfaceC15734iCu e; public C3133ark(Gson gson, InterfaceC15734iCu interfaceC15734iCu, PYE pye) { this.a = gson; this.e = interfaceC15734iCu; this.c = pye; } @Override // com.google.gson.TypeAdapter public final void write(JsonWriter jsonWriter, Object obj) throws IOException { if (obj == null) { jsonWriter.nullValue(); } else { this.c.d(jsonWriter, obj == EnumC14464fth.LOADING ? 331 : obj == EnumC14464fth.NTB_SCB_CUSTOMER ? 1 : obj == EnumC14464fth.PREDICTIVE_TILE_LOADING ? 412 : obj == EnumC14464fth.HEADER ? 288 : obj == EnumC14464fth.SPLASH ? 252 : obj == EnumC14464fth.GROUP ? 28 : obj == EnumC14464fth.LEARN_MORE ? 438 : obj == EnumC14464fth.SCB ? 515 : obj == EnumC14464fth.BANNER ? 685 : obj == EnumC14464fth.STATIC_ERROR ? 3 : obj == EnumC14464fth.ADD_SHORTCUT ? 590 : obj == EnumC14464fth.STATIC_LOADING ? 357 : obj == EnumC14464fth.ERROR ? 57 : obj == EnumC14464fth.EMPTY ? CipherSuite.TLS_RSA_WITH_SEED_CBC_SHA : obj == EnumC14464fth.SHORTCUT ? CipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA : obj == EnumC14464fth.STATIC_SHORTCUT ? 660 : obj == EnumC14464fth.NTB_PREDICTIVE ? 441 : -1); } } @Override // com.google.gson.TypeAdapter /* renamed from: read */ public final Object read2(JsonReader jsonReader) throws IOException { switch (this.e.a(jsonReader)) { case 74: return EnumC14464fth.SCB; case 99: return EnumC14464fth.SPLASH; case CipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA /* 146 */: return EnumC14464fth.GROUP; case CipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384 /* 161 */: return EnumC14464fth.EMPTY; case CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256 /* 180 */: return EnumC14464fth.BANNER; case CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256 /* 186 */: return EnumC14464fth.HEADER; case CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256 /* 193 */: return EnumC14464fth.LEARN_MORE; case 273: return EnumC14464fth.NTB_SCB_CUSTOMER; case 334: return EnumC14464fth.SHORTCUT; case 343: return EnumC14464fth.STATIC_SHORTCUT; case 402: return EnumC14464fth.NTB_PREDICTIVE; case 451: return EnumC14464fth.ADD_SHORTCUT; case 601: return EnumC14464fth.STATIC_LOADING; case 607: return EnumC14464fth.LOADING; case 676: return EnumC14464fth.PREDICTIVE_TILE_LOADING; case 678: return EnumC14464fth.ERROR; case 682: return EnumC14464fth.STATIC_ERROR; default: return null; } } }