package go;

import hp.m0;
import hp.o1;
import hp.w;
import java.util.Set;
import kotlin.jvm.internal.k;
import kotlin.jvm.internal.t;
import sm.w0;
import sm.y0;
import tn.e1;

/* loaded from: classes3.dex */
public final class a extends w {

    /* renamed from: d, reason: collision with root package name */
    private final o1 f20081d;

    /* renamed from: e, reason: collision with root package name */
    private final c f20082e;

    /* renamed from: f, reason: collision with root package name */
    private final boolean f20083f;

    /* renamed from: g, reason: collision with root package name */
    private final boolean f20084g;

    /* renamed from: h, reason: collision with root package name */
    private final Set f20085h;

    /* renamed from: i, reason: collision with root package name */
    private final m0 f20086i;

    public /* synthetic */ a(o1 o1Var, c cVar, boolean z10, boolean z11, Set set, m0 m0Var, int i10, k kVar) {
        this(o1Var, (i10 & 2) != 0 ? c.INFLEXIBLE : cVar, (i10 & 4) != 0 ? false : z10, (i10 & 8) != 0 ? false : z11, (i10 & 16) != 0 ? null : set, (i10 & 32) != 0 ? null : m0Var);
    }

    public static /* synthetic */ a f(a aVar, o1 o1Var, c cVar, boolean z10, boolean z11, Set set, m0 m0Var, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            o1Var = aVar.f20081d;
        }
        if ((i10 & 2) != 0) {
            cVar = aVar.f20082e;
        }
        c cVar2 = cVar;
        if ((i10 & 4) != 0) {
            z10 = aVar.f20083f;
        }
        boolean z12 = z10;
        if ((i10 & 8) != 0) {
            z11 = aVar.f20084g;
        }
        boolean z13 = z11;
        if ((i10 & 16) != 0) {
            set = aVar.f20085h;
        }
        Set set2 = set;
        if ((i10 & 32) != 0) {
            m0Var = aVar.f20086i;
        }
        return aVar.e(o1Var, cVar2, z12, z13, set2, m0Var);
    }

    @Override // hp.w
    public m0 a() {
        return this.f20086i;
    }

    @Override // hp.w
    public o1 b() {
        return this.f20081d;
    }

    @Override // hp.w
    public Set c() {
        return this.f20085h;
    }

    public final a e(o1 howThisTypeIsUsed, c flexibility, boolean z10, boolean z11, Set set, m0 m0Var) {
        t.g(howThisTypeIsUsed, "howThisTypeIsUsed");
        t.g(flexibility, "flexibility");
        return new a(howThisTypeIsUsed, flexibility, z10, z11, set, m0Var);
    }

    public boolean equals(Object obj) {
        if (!(obj instanceof a)) {
            return false;
        }
        a aVar = (a) obj;
        return t.b(aVar.a(), a()) && aVar.b() == b() && aVar.f20082e == this.f20082e && aVar.f20083f == this.f20083f && aVar.f20084g == this.f20084g;
    }

    public final c g() {
        return this.f20082e;
    }

    public final boolean h() {
        return this.f20084g;
    }

    @Override // hp.w
    public int hashCode() {
        m0 a10 = a();
        int hashCode = a10 != null ? a10.hashCode() : 0;
        int hashCode2 = hashCode + (hashCode * 31) + b().hashCode();
        int hashCode3 = hashCode2 + (hashCode2 * 31) + this.f20082e.hashCode();
        int i10 = hashCode3 + (hashCode3 * 31) + (this.f20083f ? 1 : 0);
        return i10 + (i10 * 31) + (this.f20084g ? 1 : 0);
    }

    public final boolean i() {
        return this.f20083f;
    }

    public final a j(boolean z10) {
        return f(this, null, null, z10, false, null, null, 59, null);
    }

    public a k(m0 m0Var) {
        return f(this, null, null, false, false, null, m0Var, 31, null);
    }

    public final a l(c flexibility) {
        t.g(flexibility, "flexibility");
        return f(this, null, flexibility, false, false, null, null, 61, null);
    }

    @Override // hp.w
    /* renamed from: m, reason: merged with bridge method [inline-methods] */
    public a d(e1 typeParameter) {
        t.g(typeParameter, "typeParameter");
        return f(this, null, null, false, false, c() != null ? y0.l(c(), typeParameter) : w0.c(typeParameter), null, 47, null);
    }

    public String toString() {
        return "JavaTypeAttributes(howThisTypeIsUsed=" + this.f20081d + ", flexibility=" + this.f20082e + ", isRaw=" + this.f20083f + ", isForAnnotationParameter=" + this.f20084g + ", visitedTypeParameters=" + this.f20085h + ", defaultType=" + this.f20086i + ')';
    }

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public a(o1 howThisTypeIsUsed, c flexibility, boolean z10, boolean z11, Set set, m0 m0Var) {
        super(howThisTypeIsUsed, set, m0Var);
        t.g(howThisTypeIsUsed, "howThisTypeIsUsed");
        t.g(flexibility, "flexibility");
        this.f20081d = howThisTypeIsUsed;
        this.f20082e = flexibility;
        this.f20083f = z10;
        this.f20084g = z11;
        this.f20085h = set;
        this.f20086i = m0Var;
    }
}
