package o; import java.io.IOException; import java.util.Collections; /* loaded from: classes.dex */ public final class GPI implements yYF { @Override // o.yYF public final Iterable c() { return Collections.singletonList(EnumC2874amo.APPC); } @Override // o.yYF public final void d(Iterable iterable, C16613piz c16613piz, EnumC2874amo enumC2874amo) { for (byte[] bArr : iterable) { if (bArr.length >= 5 && "Ducky".equals(new String(bArr, 0, 5))) { C0629LEh c0629LEh = new C0629LEh(bArr, 5); zVl zvl = new zVl(); c16613piz.c.add(zvl); while (true) { try { int h = c0629LEh.h(); if (h != 0) { int h2 = c0629LEh.h(); if (h == 1) { if (h2 != 4) { BrP.b(new Object[]{zvl, "Unexpected length for the quality tag"}, -1786863991, 1786863992, System.identityHashCode(zvl)); break; } zvl.d(h, c0629LEh.a()); } else if (h == 2 || h == 3) { c0629LEh.b(4L); BrP.b(new Object[]{zvl, Integer.valueOf(h), new Gux(c0629LEh.a(h2 - 4), UeM.b)}, 688836184, -688836178, h); } else { zvl.c(h, c0629LEh.a(h2)); } } } catch (IOException e) { BrP.b(new Object[]{zvl, e.getMessage()}, -1786863991, 1786863992, System.identityHashCode(zvl)); } } } } } }