package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.bU, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0812bU extends HU {
    public static final C0812bU c = new C0812bU(0, 2, 1);

    @Override // o.HU
    public final void a(C2642ui c2642ui, T8 t8, C1365h90 c1365h90, C0312Mb c0312Mb, IU iu) {
        G2 g2 = (G2) c2642ui.g(0);
        Object objG = c2642ui.g(1);
        if (objG instanceof R10) {
            R10 r10 = (R10) objG;
            ((C1479iR) c0312Mb.f).b(r10);
            ((C0713aR) c0312Mb.e).a(r10);
        }
        if (c1365h90.n != 0) {
            AbstractC0373Ok.c("Can only append a slot if not current inserting");
        }
        int i = c1365h90.i;
        int i2 = c1365h90.j;
        int iC = c1365h90.c(g2);
        int iG = c1365h90.g(c1365h90.b, c1365h90.q(iC + 1));
        c1365h90.i = iG;
        c1365h90.j = iG;
        c1365h90.v(1, iC);
        if (i >= iG) {
            i++;
            i2++;
        }
        c1365h90.c[iG] = objG;
        c1365h90.i = i;
        c1365h90.j = i2;
    }
}
