package defpackage;

import java.io.EOFException;
import java.rmi.UnmarshalException;
import java.util.Arrays;

/* renamed from: ˊᵻᵔ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public abstract class AbstractC1410 implements InterfaceC3791 {

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public C2436[] f5775;

    /* JADX INFO: Thrown type has an unknown type hierarchy: java.rmi.UnmarshalException */
    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public static int m4291(C5553 c5553) throws UnmarshalException {
        long j = ((C0175) c5553.f20835).readInt() & 4294967295L;
        if (j <= 2147483647L) {
            return (int) j;
        }
        throw new UnmarshalException(String.format("%s %d > %d", "EntriesRead", Long.valueOf(j), Integer.MAX_VALUE));
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof AbstractC1410) {
            return Arrays.equals(this.f5775, ((AbstractC1410) obj).f5775);
        }
        return false;
    }

    public final int hashCode() {
        return Arrays.hashCode(this.f5775);
    }

    @Override // defpackage.InterfaceC3791
    /* renamed from: ˏᵙ */
    public final void mo2495(C5553 c5553) throws EOFException {
        C2436[] c2436Arr;
        if (this.f5775 != null) {
            c5553.m11188(EnumC5259.FOUR);
            c5553.m11178(4);
            int i = 0;
            while (true) {
                c2436Arr = this.f5775;
                if (i >= c2436Arr.length) {
                    break;
                }
                c2436Arr[i] = new C2436();
                i++;
            }
            for (C2436 c2436 : c2436Arr) {
                c2436.mo2496(c5553);
            }
            for (C2436 c24362 : this.f5775) {
                c24362.mo2495(c5553);
            }
        }
    }

    /* JADX INFO: Thrown type has an unknown type hierarchy: java.rmi.UnmarshalException */
    @Override // defpackage.InterfaceC3791
    /* renamed from: ᵥᵯˎ */
    public final void mo2496(C5553 c5553) throws UnmarshalException {
        c5553.m11188(EnumC5259.FOUR);
        int iM4291 = m4291(c5553);
        if (((C0175) c5553.f20835).readInt() == 0) {
            this.f5775 = null;
        } else {
            if (iM4291 < 0) {
                throw new UnmarshalException(String.format("Expected entriesRead >= 0, got: %d", Integer.valueOf(iM4291)));
            }
            this.f5775 = new C2436[iM4291];
        }
    }

    @Override // defpackage.InterfaceC3791
    /* renamed from: ᵴᵳ */
    public final void mo2497(C5553 c5553) {
    }
}
