package o;

import android.os.Parcel;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Lp, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0301Lp {
    public Parcel a;

    public long a() {
        int i = C0190Hi.h;
        long j = this.a.readLong();
        long j2 = 63 & j;
        return j2 < 16 ? j : (j & (-64)) | (j2 + 1);
    }

    public long b() {
        Parcel parcel = this.a;
        byte b = parcel.readByte();
        long j = b == 1 ? 4294967296L : b == 2 ? 8589934592L : 0L;
        return C1115ef0.a(j, 0L) ? C1020df0.c : C1884mi0.H(parcel.readFloat(), j);
    }

    public void c(byte b) {
        this.a.writeByte(b);
    }

    public void d(float f) {
        this.a.writeFloat(f);
    }

    public void e(long j) {
        long jB = C1020df0.b(j);
        byte b = 0;
        if (!C1115ef0.a(jB, 0L)) {
            if (C1115ef0.a(jB, 4294967296L)) {
                b = 1;
            } else if (C1115ef0.a(jB, 8589934592L)) {
                b = 2;
            }
        }
        c(b);
        if (C1115ef0.a(C1020df0.b(j), 0L)) {
            return;
        }
        d(C1020df0.c(j));
    }
}
