package l2;

import com.google.android.gms.internal.ads.tk2;

/* JADX INFO: loaded from: classes.dex */
public final class f {

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

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

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

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public boolean f29991d;

    public f() {
        this.f29988a = 2;
        this.f29989b = true;
        this.f29990c = false;
        this.f29991d = false;
    }

    public final boolean a() {
        return (this.f29991d || this.f29990c) && this.f29989b;
    }

    public final tk2 b() {
        if (this.f29989b || !(this.f29990c || this.f29991d)) {
            return new tk2(this);
        }
        throw new IllegalStateException("Secondary offload attribute fields are true but primary isFormatSupported is false");
    }

    public /* synthetic */ f(int i10) {
        this.f29988a = i10;
    }

    public /* synthetic */ f(boolean z10, boolean z11, boolean z12, int i10) {
        this.f29988a = i10;
        this.f29989b = z10;
        this.f29990c = z11;
        this.f29991d = z12;
    }
}
