package o; import com.drew.imaging.jpeg.JpegProcessingException; import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.HashSet; import java.util.Iterator; /* loaded from: classes.dex */ public final class SoZ { private static Iterable d = Arrays.asList(new C11221ebJ(), new YVX(), new aTS(), new CzH(), new C5178boD(), new RKF(), new GXv(), new EKY(), new GPI(), new KCy(), new C13238fUq(), new OJg(), new Uae()); public static C16613piz b(InputStream inputStream) throws JpegProcessingException, IOException { C16613piz c16613piz = new C16613piz(); Iterable iterable = d; HashSet hashSet = new HashSet(); Iterator it = iterable.iterator(); while (it.hasNext()) { Iterator it2 = it.next().c().iterator(); while (it2.hasNext()) { hashSet.add(it2.next()); } } C0860Qct e = LAT.e(new shM(inputStream), hashSet); for (yYF yyf : iterable) { for (EnumC2874amo enumC2874amo : yyf.c()) { yyf.d(e.c(enumC2874amo.byteValue), c16613piz, enumC2874amo); } } return c16613piz; } }