package o;

import android.os.Parcel;
import java.util.concurrent.atomic.AtomicReference;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.tt0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class BinderC2570tt0 extends So0 implements InterfaceC2754vq0 {
    public final /* synthetic */ AtomicReference d;
    public final /* synthetic */ Vt0 e;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public BinderC2570tt0(Vt0 vt0, AtomicReference atomicReference) {
        super("com.google.android.gms.measurement.internal.IUploadBatchesCallback");
        this.d = atomicReference;
        this.e = vt0;
    }

    @Override // o.So0
    public final boolean B(int i, Parcel parcel, Parcel parcel2) {
        if (i != 2) {
            return false;
        }
        Gu0 gu0 = (Gu0) Uo0.a(parcel, Gu0.CREATOR);
        Uo0.d(parcel);
        q(gu0);
        return true;
    }

    @Override // o.InterfaceC2754vq0
    public final void q(Gu0 gu0) {
        AtomicReference atomicReference = this.d;
        synchronized (atomicReference) {
            Nq0 nq0 = ((Kr0) this.e.a).f;
            Kr0.l(nq0);
            nq0.n.c(Integer.valueOf(gu0.l.size()), "[sgtm] Got upload batches from service. count");
            atomicReference.set(gu0);
            atomicReference.notifyAll();
        }
    }
}
