package defpackage;

import android.transition.Transition;

/* renamed from: ˑᵬ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C2101 extends ᵢˇᵭ {

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public final Object f8317;

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public final Object f8318;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public final boolean f8319;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C2101(C0423 c0423, boolean z, boolean z2) {
        Object obj;
        Object obj2;
        super(c0423);
        AbstractComponentCallbacksC3693 abstractComponentCallbacksC3693 = c0423.f2345;
        int i = c0423.f2347;
        Object obj3 = AbstractComponentCallbacksC3693.f13740;
        Object obj4 = null;
        if (i == 2) {
            if (z) {
                C3371 c3371 = abstractComponentCallbacksC3693.f13765;
                if (c3371 != null) {
                    obj2 = c3371.f12598;
                    if (obj2 == obj3) {
                        obj2 = c3371.f12610;
                    }
                }
            } else {
                C3371 c33712 = abstractComponentCallbacksC3693.f13765;
                if (c33712 != null) {
                    obj = c33712.f12602;
                    obj2 = obj;
                }
            }
            obj2 = null;
        } else if (z) {
            C3371 c33713 = abstractComponentCallbacksC3693.f13765;
            if (c33713 == null) {
                obj2 = null;
            } else {
                obj2 = c33713.f12609;
                if (obj2 == obj3) {
                    obj = c33713.f12602;
                    obj2 = obj;
                }
            }
        } else {
            C3371 c33714 = abstractComponentCallbacksC3693.f13765;
            if (c33714 != null) {
                obj = c33714.f12610;
                obj2 = obj;
            }
            obj2 = null;
        }
        this.f8317 = obj2;
        if (i == 2) {
            if (z) {
                C3371 c33715 = abstractComponentCallbacksC3693.f13765;
            } else {
                C3371 c33716 = abstractComponentCallbacksC3693.f13765;
            }
        }
        this.f8319 = true;
        if (z2) {
            if (z) {
                C3371 c33717 = abstractComponentCallbacksC3693.f13765;
                if (c33717 != null && c33717 != null) {
                    obj4 = c33717.f12606;
                }
            } else {
                C3371 c33718 = abstractComponentCallbacksC3693.f13765;
                if (c33718 != null) {
                    obj4 = c33718.f12606;
                }
            }
        }
        this.f8318 = obj4;
    }

    /* renamed from: ˑᵥˁ, reason: contains not printable characters */
    public final AbstractC4613 m5689(Object obj) {
        if (obj == null) {
            return null;
        }
        C1159 c1159 = AbstractC1415.f5790;
        if (obj instanceof Transition) {
            return c1159;
        }
        AbstractC4613 abstractC4613 = AbstractC1415.f5791;
        if (abstractC4613 != null && abstractC4613.mo2071(obj)) {
            return abstractC4613;
        }
        StringBuilder sb = new StringBuilder("Transition ");
        sb.append(obj);
        AbstractComponentCallbacksC3693 abstractComponentCallbacksC3693 = ((C0423) ((ᵢˇᵭ) this).ᵧᵾˀˈ).f2345;
        sb.append(" for fragment ");
        sb.append(abstractComponentCallbacksC3693);
        sb.append(" is not a valid framework Transition or AndroidX Transition");
        throw new IllegalArgumentException(sb.toString());
    }

    /* renamed from: ᵡˎ, reason: contains not printable characters */
    public final AbstractC4613 m5690() {
        Object obj = this.f8317;
        AbstractC4613 abstractC4613M5689 = m5689(obj);
        Object obj2 = this.f8318;
        AbstractC4613 abstractC4613M56892 = m5689(obj2);
        if (abstractC4613M5689 == null || abstractC4613M56892 == null || abstractC4613M5689 == abstractC4613M56892) {
            return abstractC4613M5689 == null ? abstractC4613M56892 : abstractC4613M5689;
        }
        throw new IllegalArgumentException(("Mixing framework transitions and AndroidX transitions is not allowed. Fragment " + ((C0423) ((ᵢˇᵭ) this).ᵧᵾˀˈ).f2345 + " returned Transition " + obj + " which uses a different Transition  type than its shared element transition " + obj2).toString());
    }
}
