package o;

import com.google.android.gms.common.internal.Preconditions;
import java.math.BigInteger;
import java.util.List;
import java.util.Locale;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.xq0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2944xq0 extends AbstractC2090oq0 {
    public String c;
    public String d;
    public int e;
    public String f;
    public String g;
    public long h;
    public final long i;
    public final long j;
    public List k;
    public String l;
    public int m;
    public String n;

    /* renamed from: o, reason: collision with root package name */
    public String f796o;
    public long p;
    public String q;

    public C2944xq0(Kr0 kr0, long j, long j2) {
        super(kr0);
        this.p = 0L;
        this.q = null;
        this.i = j;
        this.j = j2;
    }

    @Override // o.AbstractC2090oq0
    public final boolean v() {
        return true;
    }

    /* JADX WARN: Removed duplicated region for block: B:109:0x02ae  */
    /* JADX WARN: Removed duplicated region for block: B:114:0x02c5  */
    /* JADX WARN: Removed duplicated region for block: B:118:0x02d2  */
    /* JADX WARN: Removed duplicated region for block: B:139:0x025c A[EXC_TOP_SPLITTER, SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:36:0x0105  */
    /* JADX WARN: Removed duplicated region for block: B:39:0x010c  */
    /* JADX WARN: Removed duplicated region for block: B:58:0x0188  */
    /* JADX WARN: Removed duplicated region for block: B:61:0x0199  */
    /* JADX WARN: Removed duplicated region for block: B:65:0x01a3  */
    /* JADX WARN: Removed duplicated region for block: B:68:0x01c5  */
    /* JADX WARN: Removed duplicated region for block: B:69:0x01c7  */
    /* JADX WARN: Removed duplicated region for block: B:72:0x01dc  */
    /* JADX WARN: Removed duplicated region for block: B:75:0x01f7  */
    /* JADX WARN: Removed duplicated region for block: B:76:0x01fb  */
    /* JADX WARN: Removed duplicated region for block: B:92:0x0239  */
    /* JADX WARN: Removed duplicated region for block: B:93:0x023b  */
    /* JADX WARN: Removed duplicated region for block: B:96:0x0256  */
    /* JADX WARN: Unreachable blocks removed: 1, instructions: 1 */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final o.C1531iw0 w(java.lang.String r45) throws java.lang.IllegalAccessException, java.security.NoSuchAlgorithmException, java.lang.ClassNotFoundException, java.lang.IllegalArgumentException, java.lang.reflect.InvocationTargetException {
        /*
            Method dump skipped, instructions count: 830
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: o.C2944xq0.w(java.lang.String):o.iw0");
    }

    public final void x() {
        String str;
        r();
        Kr0 kr0 = (Kr0) this.a;
        C1617jr0 c1617jr0 = kr0.e;
        Nq0 nq0 = kr0.f;
        Kr0.j(c1617jr0);
        if (c1617jr0.z().i(EnumC2094os0.n)) {
            byte[] bArr = new byte[16];
            C2574tv0 c2574tv0 = kr0.i;
            Kr0.j(c2574tv0);
            c2574tv0.o0().nextBytes(bArr);
            str = String.format(Locale.US, "%032x", new BigInteger(1, bArr));
        } else {
            Kr0.l(nq0);
            nq0.m.b("Analytics Storage consent is not granted");
            str = null;
        }
        Kr0.l(nq0);
        nq0.m.b("Resetting session stitching token to ".concat(str == null ? "null" : "not null"));
        this.f796o = str;
        this.p = kr0.k.currentTimeMillis();
    }

    public final String y() {
        t();
        Preconditions.checkNotNull(this.c);
        return this.c;
    }

    public final String z() {
        r();
        t();
        Preconditions.checkNotNull(this.n);
        return this.n;
    }
}
