package o; import com.drew.imaging.tiff.TiffProcessingException; import java.io.IOException; import java.util.Collections; /* renamed from: o.boD, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public final class C5178boD implements yYF { @Override // o.yYF public final Iterable c() { return Collections.singletonList(EnumC2874amo.APP1); } @Override // o.yYF public final void d(Iterable iterable, C16613piz c16613piz, EnumC2874amo enumC2874amo) { for (byte[] bArr : iterable) { if (a(bArr)) { b(new C0925RrQ(bArr), c16613piz, 6, null); } } } public static boolean a(byte[] bArr) { return bArr.length >= 6 && new String(bArr, 0, 6).equals("Exif\u0000\u0000"); } public static void b(Pmg pmg, C16613piz c16613piz, int i, BrP brP) { zRE zre = new zRE(c16613piz, brP); try { new Xfn(); Xfn.c(pmg, zre, i); } catch (TiffProcessingException e) { StringBuilder sb = new StringBuilder("Exception processing TIFF data: "); sb.append(e.getMessage()); String obj = sb.toString(); BrP b = zre.b(); BrP.b(new Object[]{b, obj}, -1786863991, 1786863992, System.identityHashCode(b)); } catch (IOException e2) { StringBuilder sb2 = new StringBuilder("Exception processing TIFF data: "); sb2.append(e2.getMessage()); String obj2 = sb2.toString(); BrP b2 = zre.b(); BrP.b(new Object[]{b2, obj2}, -1786863991, 1786863992, System.identityHashCode(b2)); } } }