package com.revenuecat.purchases.ui.revenuecatui.customercenter.composables;

import androidx.compose.runtime.internal.StabilityInferred;
import kotlin.jvm.internal.h;
import q.AbstractC2761L;

/* JADX INFO: loaded from: classes3.dex */
@StabilityInferred(parameters = 1)
public final class SettingsButtonConfig {
    public static final int $stable = 0;
    private final boolean enabled;
    private final boolean loading;

    /* JADX WARN: Illegal instructions before constructor call */
    public SettingsButtonConfig() {
        boolean z6 = false;
        this(z6, z6, 3, null);
    }

    public static /* synthetic */ SettingsButtonConfig copy$default(SettingsButtonConfig settingsButtonConfig, boolean z6, boolean z7, int i6, Object obj) {
        if ((i6 & 1) != 0) {
            z6 = settingsButtonConfig.enabled;
        }
        if ((i6 & 2) != 0) {
            z7 = settingsButtonConfig.loading;
        }
        return settingsButtonConfig.copy(z6, z7);
    }

    public final boolean component1() {
        return this.enabled;
    }

    public final boolean component2() {
        return this.loading;
    }

    public final SettingsButtonConfig copy(boolean z6, boolean z7) {
        return new SettingsButtonConfig(z6, z7);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof SettingsButtonConfig)) {
            return false;
        }
        SettingsButtonConfig settingsButtonConfig = (SettingsButtonConfig) obj;
        return this.enabled == settingsButtonConfig.enabled && this.loading == settingsButtonConfig.loading;
    }

    public final boolean getEnabled() {
        return this.enabled;
    }

    public final boolean getLoading() {
        return this.loading;
    }

    public int hashCode() {
        return Boolean.hashCode(this.loading) + (Boolean.hashCode(this.enabled) * 31);
    }

    public String toString() {
        StringBuilder sb = new StringBuilder("SettingsButtonConfig(enabled=");
        sb.append(this.enabled);
        sb.append(", loading=");
        return AbstractC2761L.h(sb, this.loading, ')');
    }

    public SettingsButtonConfig(boolean z6, boolean z7) {
        this.enabled = z6;
        this.loading = z7;
    }

    public /* synthetic */ SettingsButtonConfig(boolean z6, boolean z7, int i6, h hVar) {
        this((i6 & 1) != 0 ? true : z6, (i6 & 2) != 0 ? false : z7);
    }
}
