package o; import com.drew.imaging.jpeg.JpegProcessingException; import java.io.ByteArrayInputStream; import java.io.IOException; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; /* loaded from: classes.dex */ public final class XoC extends mEu { public String b; public XoC(Eaa eaa) throws IOException { super(eaa); if (!this.a.equals("CNDA") || this.e > 2147483647L || this.e <= 0) { return; } C5178boD c5178boD = new C5178boD(); ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(eaa.a((int) this.e)); HashSet hashSet = new HashSet(); Iterator it = c5178boD.c().iterator(); while (it.hasNext()) { hashSet.add(it.next()); } try { C0860Qct e = LAT.e(new shM(byteArrayInputStream), hashSet); C16613piz c16613piz = new C16613piz(); for (EnumC2874amo enumC2874amo : c5178boD.c()) { c5178boD.d(e.c(enumC2874amo.byteValue), c16613piz, enumC2874amo); } BrP c = c16613piz.c(C10874eRg.class); if (c != null) { for (qKx qkx : (Collection) BrP.b(new Object[]{c}, -634672472, 634672477, System.identityHashCode(c))) { if (qkx.e == 306) { this.b = qkx.c.e(qkx.e); } } } } catch (JpegProcessingException unused) { } } }