package com.google.android.gms.internal.pal;

import java.util.HashMap;

/* JADX INFO: loaded from: classes2.dex */
public final class n3 extends z2 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f21093a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final Long f21094b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final Object f21095c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final Object f21096d;

    public n3(String str, int i10) {
        this.f21093a = i10;
        if (i10 != 1) {
            HashMap mapA = z2.a(str);
            if (mapA != null) {
                this.f21094b = (Long) mapA.get(0);
                this.f21095c = (Long) mapA.get(1);
                this.f21096d = (Long) mapA.get(2);
                return;
            }
            return;
        }
        HashMap mapA2 = z2.a(str);
        if (mapA2 != null) {
            this.f21094b = (Long) mapA2.get(0);
            this.f21095c = (Boolean) mapA2.get(1);
            this.f21096d = (Boolean) mapA2.get(2);
        }
    }

    @Override // com.google.android.gms.internal.pal.z2
    public final HashMap b() {
        switch (this.f21093a) {
            case 0:
                HashMap map = new HashMap();
                map.put(0, this.f21094b);
                map.put(1, (Long) this.f21095c);
                map.put(2, (Long) this.f21096d);
                return map;
            default:
                HashMap map2 = new HashMap();
                map2.put(0, this.f21094b);
                map2.put(1, (Boolean) this.f21095c);
                map2.put(2, (Boolean) this.f21096d);
                return map2;
        }
    }
}
