package o;

import java.io.EOFException;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.b, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0771b {
    public static final byte[] a = "0123456789abcdef".getBytes(AbstractC2355rh.a);

    public static final String a(long j, C0732af c0732af) throws EOFException {
        if (j > 0) {
            long j2 = j - 1;
            if (c0732af.g(j2) == 13) {
                String strU = c0732af.u(j2, AbstractC2355rh.a);
                c0732af.skip(2L);
                return strU;
            }
        }
        String strU2 = c0732af.u(j, AbstractC2355rh.a);
        c0732af.skip(1L);
        return strU2;
    }

    /* JADX WARN: Code restructure failed: missing block: B:27:0x0051, code lost:
    
        if (r18 == false) goto L37;
     */
    /* JADX WARN: Code restructure failed: missing block: B:28:0x0053, code lost:
    
        return -2;
     */
    /* JADX WARN: Code restructure failed: missing block: B:37:0x0073, code lost:
    
        return r9;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public static final int b(o.C0732af r16, o.MU r17, boolean r18) {
        /*
            Method dump skipped, instructions count: 159
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: o.AbstractC0771b.b(o.af, o.MU, boolean):int");
    }
}
