package o; import com.google.gson.Gson; import com.google.gson.TypeAdapter; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonToken; import com.google.gson.stream.JsonWriter; import java.io.IOException; import org.bouncycastle.crypto.tls.CipherSuite; import org.jmrtd.PassportService; /* loaded from: classes.dex */ public final class SXD extends TypeAdapter implements HJa { private PYE b; private Gson c; private InterfaceC15734iCu e; public SXD(Gson gson, InterfaceC15734iCu interfaceC15734iCu, PYE pye) { this.c = gson; this.e = interfaceC15734iCu; this.b = pye; } @Override // com.google.gson.TypeAdapter public final void write(JsonWriter jsonWriter, Object obj) throws IOException { if (obj == null) { jsonWriter.nullValue(); return; } YIo yIo = (YIo) obj; Gson gson = this.c; PYE pye = this.b; jsonWriter.beginObject(); String str = yIo.d; pye.c(jsonWriter, 217); String str2 = yIo.d; DTh.b(gson, String.class, str2).write(jsonWriter, str2); pye.c(jsonWriter, 451); Class cls = Boolean.TYPE; Boolean valueOf = Boolean.valueOf(yIo.a); DTh.b(gson, cls, valueOf).write(jsonWriter, valueOf); pye.c(jsonWriter, 389); Class cls2 = Boolean.TYPE; Boolean valueOf2 = Boolean.valueOf(yIo.b); DTh.b(gson, cls2, valueOf2).write(jsonWriter, valueOf2); pye.c(jsonWriter, 644); Class cls3 = Boolean.TYPE; Boolean valueOf3 = Boolean.valueOf(yIo.c); DTh.b(gson, cls3, valueOf3).write(jsonWriter, valueOf3); pye.c(jsonWriter, 233); Class cls4 = Boolean.TYPE; Boolean valueOf4 = Boolean.valueOf(yIo.j); DTh.b(gson, cls4, valueOf4).write(jsonWriter, valueOf4); pye.c(jsonWriter, 562); Class cls5 = Boolean.TYPE; Boolean valueOf5 = Boolean.valueOf(yIo.f); DTh.b(gson, cls5, valueOf5).write(jsonWriter, valueOf5); pye.c(jsonWriter, 84); Class cls6 = Boolean.TYPE; Boolean valueOf6 = Boolean.valueOf(yIo.i); DTh.b(gson, cls6, valueOf6).write(jsonWriter, valueOf6); pye.c(jsonWriter, 304); Class cls7 = Boolean.TYPE; Boolean valueOf7 = Boolean.valueOf(yIo.g); DTh.b(gson, cls7, valueOf7).write(jsonWriter, valueOf7); pye.c(jsonWriter, 692); Class cls8 = Boolean.TYPE; Boolean valueOf8 = Boolean.valueOf(yIo.h); DTh.b(gson, cls8, valueOf8).write(jsonWriter, valueOf8); pye.c(jsonWriter, 663); Class cls9 = Boolean.TYPE; Boolean valueOf9 = Boolean.valueOf(yIo.f8460o); DTh.b(gson, cls9, valueOf9).write(jsonWriter, valueOf9); pye.c(jsonWriter, 24); Class cls10 = Boolean.TYPE; Boolean valueOf10 = Boolean.valueOf(yIo.k); DTh.b(gson, cls10, valueOf10).write(jsonWriter, valueOf10); pye.c(jsonWriter, 291); Class cls11 = Boolean.TYPE; Boolean valueOf11 = Boolean.valueOf(yIo.m); DTh.b(gson, cls11, valueOf11).write(jsonWriter, valueOf11); pye.c(jsonWriter, 258); Class cls12 = Boolean.TYPE; Boolean valueOf12 = Boolean.valueOf(yIo.n); DTh.b(gson, cls12, valueOf12).write(jsonWriter, valueOf12); pye.c(jsonWriter, CipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256); Class cls13 = Boolean.TYPE; Boolean valueOf13 = Boolean.valueOf(yIo.l); DTh.b(gson, cls13, valueOf13).write(jsonWriter, valueOf13); pye.c(jsonWriter, 59); Class cls14 = Boolean.TYPE; Boolean valueOf14 = Boolean.valueOf(yIo.s); DTh.b(gson, cls14, valueOf14).write(jsonWriter, valueOf14); pye.c(jsonWriter, 286); Class cls15 = Boolean.TYPE; Boolean valueOf15 = Boolean.valueOf(yIo.t); DTh.b(gson, cls15, valueOf15).write(jsonWriter, valueOf15); pye.c(jsonWriter, 368); Class cls16 = Boolean.TYPE; Boolean valueOf16 = Boolean.valueOf(yIo.p); DTh.b(gson, cls16, valueOf16).write(jsonWriter, valueOf16); pye.c(jsonWriter, 330); Class cls17 = Boolean.TYPE; Boolean valueOf17 = Boolean.valueOf(yIo.q); DTh.b(gson, cls17, valueOf17).write(jsonWriter, valueOf17); pye.c(jsonWriter, 306); Class cls18 = Boolean.TYPE; Boolean valueOf18 = Boolean.valueOf(yIo.r); DTh.b(gson, cls18, valueOf18).write(jsonWriter, valueOf18); pye.c(jsonWriter, 56); Class cls19 = Boolean.TYPE; Boolean valueOf19 = Boolean.valueOf(yIo.v); DTh.b(gson, cls19, valueOf19).write(jsonWriter, valueOf19); pye.c(jsonWriter, 598); Class cls20 = Boolean.TYPE; Boolean valueOf20 = Boolean.valueOf(yIo.x); DTh.b(gson, cls20, valueOf20).write(jsonWriter, valueOf20); pye.c(jsonWriter, 387); Class cls21 = Boolean.TYPE; Boolean valueOf21 = Boolean.valueOf(yIo.y); DTh.b(gson, cls21, valueOf21).write(jsonWriter, valueOf21); pye.c(jsonWriter, 514); Class cls22 = Boolean.TYPE; Boolean valueOf22 = Boolean.valueOf(yIo.w); DTh.b(gson, cls22, valueOf22).write(jsonWriter, valueOf22); pye.c(jsonWriter, 423); Class cls23 = Boolean.TYPE; Boolean valueOf23 = Boolean.valueOf(yIo.u); DTh.b(gson, cls23, valueOf23).write(jsonWriter, valueOf23); pye.c(jsonWriter, 4); Class cls24 = Boolean.TYPE; Boolean valueOf24 = Boolean.valueOf(yIo.A); DTh.b(gson, cls24, valueOf24).write(jsonWriter, valueOf24); pye.c(jsonWriter, 688); Class cls25 = Boolean.TYPE; Boolean valueOf25 = Boolean.valueOf(yIo.z); DTh.b(gson, cls25, valueOf25).write(jsonWriter, valueOf25); pye.c(jsonWriter, 395); Class cls26 = Boolean.TYPE; Boolean valueOf26 = Boolean.valueOf(yIo.D); DTh.b(gson, cls26, valueOf26).write(jsonWriter, valueOf26); pye.c(jsonWriter, 40); Class cls27 = Boolean.TYPE; Boolean valueOf27 = Boolean.valueOf(yIo.C); DTh.b(gson, cls27, valueOf27).write(jsonWriter, valueOf27); pye.c(jsonWriter, com.kofax.mobile.sdk._internal.impl.camera.h.Az); Class cls28 = Boolean.TYPE; Boolean valueOf28 = Boolean.valueOf(yIo.B); DTh.b(gson, cls28, valueOf28).write(jsonWriter, valueOf28); pye.c(jsonWriter, 125); Class cls29 = Boolean.TYPE; Boolean valueOf29 = Boolean.valueOf(yIo.G); DTh.b(gson, cls29, valueOf29).write(jsonWriter, valueOf29); pye.c(jsonWriter, 408); Class cls30 = Boolean.TYPE; Boolean valueOf30 = Boolean.valueOf(yIo.E); DTh.b(gson, cls30, valueOf30).write(jsonWriter, valueOf30); pye.c(jsonWriter, 120); Class cls31 = Boolean.TYPE; Boolean valueOf31 = Boolean.valueOf(yIo.H); DTh.b(gson, cls31, valueOf31).write(jsonWriter, valueOf31); pye.c(jsonWriter, 674); Class cls32 = Boolean.TYPE; Boolean valueOf32 = Boolean.valueOf(yIo.F); DTh.b(gson, cls32, valueOf32).write(jsonWriter, valueOf32); pye.c(jsonWriter, 319); Class cls33 = Boolean.TYPE; Boolean valueOf33 = Boolean.valueOf(yIo.I); DTh.b(gson, cls33, valueOf33).write(jsonWriter, valueOf33); pye.c(jsonWriter, 573); Class cls34 = Boolean.TYPE; Boolean valueOf34 = Boolean.valueOf(yIo.M); DTh.b(gson, cls34, valueOf34).write(jsonWriter, valueOf34); pye.c(jsonWriter, 471); Class cls35 = Boolean.TYPE; Boolean valueOf35 = Boolean.valueOf(yIo.L); DTh.b(gson, cls35, valueOf35).write(jsonWriter, valueOf35); pye.c(jsonWriter, 225); Class cls36 = Boolean.TYPE; Boolean valueOf36 = Boolean.valueOf(yIo.N); DTh.b(gson, cls36, valueOf36).write(jsonWriter, valueOf36); pye.c(jsonWriter, 589); Class cls37 = Boolean.TYPE; Boolean valueOf37 = Boolean.valueOf(yIo.J); DTh.b(gson, cls37, valueOf37).write(jsonWriter, valueOf37); pye.c(jsonWriter, 554); Class cls38 = Boolean.TYPE; Boolean valueOf38 = Boolean.valueOf(yIo.K); DTh.b(gson, cls38, valueOf38).write(jsonWriter, valueOf38); pye.c(jsonWriter, 73); Class cls39 = Boolean.TYPE; Boolean valueOf39 = Boolean.valueOf(yIo.P); DTh.b(gson, cls39, valueOf39).write(jsonWriter, valueOf39); pye.c(jsonWriter, 381); Class cls40 = Boolean.TYPE; Boolean valueOf40 = Boolean.valueOf(yIo.R); DTh.b(gson, cls40, valueOf40).write(jsonWriter, valueOf40); pye.c(jsonWriter, CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256); Class cls41 = Boolean.TYPE; Boolean valueOf41 = Boolean.valueOf(yIo.S); DTh.b(gson, cls41, valueOf41).write(jsonWriter, valueOf41); pye.c(jsonWriter, 205); Class cls42 = Boolean.TYPE; Boolean valueOf42 = Boolean.valueOf(yIo.Q); DTh.b(gson, cls42, valueOf42).write(jsonWriter, valueOf42); pye.c(jsonWriter, 153); Class cls43 = Boolean.TYPE; Boolean valueOf43 = Boolean.valueOf(yIo.O); DTh.b(gson, cls43, valueOf43).write(jsonWriter, valueOf43); pye.c(jsonWriter, 490); Class cls44 = Boolean.TYPE; Boolean valueOf44 = Boolean.valueOf(yIo.V); DTh.b(gson, cls44, valueOf44).write(jsonWriter, valueOf44); pye.c(jsonWriter, 669); Class cls45 = Boolean.TYPE; Boolean valueOf45 = Boolean.valueOf(yIo.W); DTh.b(gson, cls45, valueOf45).write(jsonWriter, valueOf45); pye.c(jsonWriter, 76); Class cls46 = Boolean.TYPE; Boolean valueOf46 = Boolean.valueOf(yIo.T); DTh.b(gson, cls46, valueOf46).write(jsonWriter, valueOf46); pye.c(jsonWriter, CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256); Class cls47 = Boolean.TYPE; Boolean valueOf47 = Boolean.valueOf(yIo.X); DTh.b(gson, cls47, valueOf47).write(jsonWriter, valueOf47); pye.c(jsonWriter, 229); Class cls48 = Boolean.TYPE; Boolean valueOf48 = Boolean.valueOf(yIo.U); DTh.b(gson, cls48, valueOf48).write(jsonWriter, valueOf48); pye.c(jsonWriter, 338); Class cls49 = Boolean.TYPE; Boolean valueOf49 = Boolean.valueOf(yIo.Z); DTh.b(gson, cls49, valueOf49).write(jsonWriter, valueOf49); pye.c(jsonWriter, 665); Class cls50 = Boolean.TYPE; Boolean valueOf50 = Boolean.valueOf(yIo.ac); DTh.b(gson, cls50, valueOf50).write(jsonWriter, valueOf50); pye.c(jsonWriter, 577); Class cls51 = Boolean.TYPE; Boolean valueOf51 = Boolean.valueOf(yIo.aa); DTh.b(gson, cls51, valueOf51).write(jsonWriter, valueOf51); pye.c(jsonWriter, 270); Class cls52 = Boolean.TYPE; Boolean valueOf52 = Boolean.valueOf(yIo.ab); DTh.b(gson, cls52, valueOf52).write(jsonWriter, valueOf52); pye.c(jsonWriter, 316); Class cls53 = Boolean.TYPE; Boolean valueOf53 = Boolean.valueOf(yIo.Y); DTh.b(gson, cls53, valueOf53).write(jsonWriter, valueOf53); pye.c(jsonWriter, 450); Class cls54 = Boolean.TYPE; Boolean valueOf54 = Boolean.valueOf(yIo.ag); DTh.b(gson, cls54, valueOf54).write(jsonWriter, valueOf54); pye.c(jsonWriter, 87); Class cls55 = Boolean.TYPE; Boolean valueOf55 = Boolean.valueOf(yIo.ad); DTh.b(gson, cls55, valueOf55).write(jsonWriter, valueOf55); pye.c(jsonWriter, 116); Class cls56 = Boolean.TYPE; Boolean valueOf56 = Boolean.valueOf(yIo.ah); DTh.b(gson, cls56, valueOf56).write(jsonWriter, valueOf56); yIo.c(gson, jsonWriter, pye); jsonWriter.endObject(); } @Override // com.google.gson.TypeAdapter /* renamed from: read */ public final Object read2(JsonReader jsonReader) throws IOException { if (jsonReader.peek() == JsonToken.NULL) { jsonReader.skipValue(); return null; } YIo yIo = new YIo(); Gson gson = this.c; InterfaceC15734iCu interfaceC15734iCu = this.e; jsonReader.beginObject(); while (jsonReader.hasNext()) { int e = interfaceC15734iCu.e(jsonReader); boolean z = jsonReader.peek() != JsonToken.NULL; switch (e) { case 16: if (!z) { break; } else { yIo.L = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 36: if (!z) { break; } else { yIo.l = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 44: if (!z) { break; } else { yIo.U = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 49: if (!z) { break; } else { yIo.aa = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 63: if (!z) { break; } else { yIo.k = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 66: if (!z) { break; } else { yIo.u = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 71: if (!z) { break; } else { yIo.Y = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 76: if (!z) { break; } else { yIo.t = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 91: if (!z) { break; } else { yIo.a = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 103: if (!z) { break; } else { yIo.ac = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 109: if (!z) { break; } else { yIo.m = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 110: if (!z) { break; } else { yIo.V = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case CipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA /* 149 */: if (!z) { break; } else { yIo.s = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256 /* 174 */: if (!z) { break; } else { yIo.v = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case CipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256 /* 194 */: if (!z) { break; } else { yIo.K = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case CipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256 /* 195 */: if (!z) { break; } else { yIo.Z = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 206: if (!z) { break; } else { yIo.N = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 212: if (!z) { break; } else { yIo.J = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case PassportService.DEFAULT_MAX_BLOCKSIZE /* 224 */: if (!z) { break; } else { yIo.ab = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 240: if (!z) { break; } else { yIo.F = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 247: if (!z) { break; } else { yIo.h = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 276: if (!z) { break; } else { yIo.B = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 282: if (!z) { break; } else { yIo.q = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 302: if (!z) { break; } else { yIo.j = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 305: if (!z) { break; } else { yIo.W = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 314: if (!z) { break; } else { yIo.p = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 333: if (!z) { break; } else { yIo.R = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 340: if (!z) { break; } else { yIo.P = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 345: if (!z) { break; } else { yIo.z = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 366: if (!z) { break; } else { yIo.Q = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 367: if (!z) { break; } else { yIo.T = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 376: if (!z) { break; } else { yIo.C = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 379: if (!z) { break; } else { yIo.f = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 381: if (!z) { break; } else { yIo.i = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 386: if (!z) { break; } else { yIo.D = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 396: if (!z) { yIo.d = null; break; } else { yIo.d = (String) gson.getAdapter(String.class).read2(jsonReader); break; } case 422: if (!z) { break; } else { yIo.ag = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 433: if (!z) { break; } else { yIo.M = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 445: if (!z) { break; } else { yIo.c = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 475: if (!z) { break; } else { yIo.E = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 481: if (!z) { break; } else { yIo.H = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 523: if (!z) { break; } else { yIo.S = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 530: if (!z) { break; } else { yIo.G = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 534: if (!z) { break; } else { yIo.f8460o = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 547: if (!z) { break; } else { yIo.y = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 573: if (!z) { break; } else { yIo.b = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 575: if (!z) { break; } else { yIo.w = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 595: if (!z) { break; } else { yIo.x = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 609: if (!z) { break; } else { yIo.X = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 625: if (!z) { break; } else { yIo.A = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 637: if (!z) { break; } else { yIo.I = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 648: if (!z) { break; } else { yIo.ad = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 658: if (!z) { break; } else { yIo.O = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 660: if (!z) { break; } else { yIo.ah = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 669: if (!z) { break; } else { yIo.g = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 674: if (!z) { break; } else { yIo.n = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } case 680: if (!z) { break; } else { yIo.r = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue(); break; } default: yIo.e(gson, jsonReader, e); continue; } jsonReader.nextNull(); } jsonReader.endObject(); return yIo; } }