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

import android.os.Parcel;
import android.os.Parcelable;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.common.annotation.KeepForSdk;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable$Constructor;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable$Field;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable$Param;

/* JADX INFO: loaded from: classes2.dex */
public final class j extends f8.a {

    @NonNull
    @KeepForSdk
    public static final Parcelable.Creator<j> CREATOR = new d1(8);

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final y f8360a;

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

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

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

    @Nullable
    @SafeParcelable$Field(getter = "getMethodInvocationMethodKeyAllowlist", id = 4)
    private final int[] zzd;

    @Nullable
    @SafeParcelable$Field(getter = "getMethodInvocationMethodKeyDisallowlist", id = 6)
    private final int[] zzf;

    @SafeParcelable$Constructor
    public j(@NonNull @SafeParcelable$Param(id = 1) y yVar, @SafeParcelable$Param(id = 2) boolean z10, @SafeParcelable$Param(id = 3) boolean z11, @Nullable @SafeParcelable$Param(id = 4) int[] iArr, @SafeParcelable$Param(id = 5) int i10, @Nullable @SafeParcelable$Param(id = 6) int[] iArr2) {
        this.f8360a = yVar;
        this.f8361b = z10;
        this.f8362c = z11;
        this.zzd = iArr;
        this.f8363d = i10;
        this.zzf = iArr2;
    }

    @Nullable
    @KeepForSdk
    public int[] getMethodInvocationMethodKeyAllowlist() {
        return this.zzd;
    }

    @Nullable
    @KeepForSdk
    public int[] getMethodInvocationMethodKeyDisallowlist() {
        return this.zzf;
    }

    @Override // android.os.Parcelable
    public final void writeToParcel(Parcel parcel, int i10) {
        int I = com.bumptech.glide.g.I(20293, parcel);
        com.bumptech.glide.g.q(parcel, 1, this.f8360a, i10);
        com.bumptech.glide.g.C(parcel, 2, 4);
        parcel.writeInt(this.f8361b ? 1 : 0);
        com.bumptech.glide.g.C(parcel, 3, 4);
        parcel.writeInt(this.f8362c ? 1 : 0);
        int[] methodInvocationMethodKeyAllowlist = getMethodInvocationMethodKeyAllowlist();
        if (methodInvocationMethodKeyAllowlist != null) {
            int I2 = com.bumptech.glide.g.I(4, parcel);
            parcel.writeIntArray(methodInvocationMethodKeyAllowlist);
            com.bumptech.glide.g.N(I2, parcel);
        }
        com.bumptech.glide.g.C(parcel, 5, 4);
        parcel.writeInt(this.f8363d);
        int[] methodInvocationMethodKeyDisallowlist = getMethodInvocationMethodKeyDisallowlist();
        if (methodInvocationMethodKeyDisallowlist != null) {
            int I3 = com.bumptech.glide.g.I(6, parcel);
            parcel.writeIntArray(methodInvocationMethodKeyDisallowlist);
            com.bumptech.glide.g.N(I3, parcel);
        }
        com.bumptech.glide.g.N(I, parcel);
    }
}
