package ඓ.ῲ.K.㗗;

import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import androidx.recyclerview.widget.RecyclerView;
import com.bumptech.glide.Priority;
import com.bumptech.glide.load.resource.bitmap.DownsampleStrategy;
import com.facebook.internal.NativeProtocol;
import java.util.Map;
import ඓ.ῲ.K.ؿ.C0822;
import ඓ.ῲ.K.ᓣ.C0840;
import ඓ.ῲ.K.ᓣ.C0845;
import ඓ.ῲ.K.ᕣ.AbstractC1029;
import ඓ.ῲ.K.ᕣ.AbstractC1030;
import ඓ.ῲ.K.ᕣ.C0850;
import ඓ.ῲ.K.ᕣ.C1121;
import ඓ.ῲ.K.ᕣ.ᕣ.ʬ.C0876;
import ඓ.ῲ.K.ᕣ.ᕣ.ʬ.C0883;
import ඓ.ῲ.K.ᕣ.ᕣ.ʬ.C0885;
import ඓ.ῲ.K.ᕣ.ᕣ.ʬ.C0894;
import ඓ.ῲ.K.ᕣ.ᕣ.ⁱ.C0901;
import ඓ.ῲ.K.ᕣ.ᕣ.ⁱ.C0915;
import ඓ.ῲ.K.ᕣ.ᨨ.AbstractC0951;
import ඓ.ῲ.K.㗗.AbstractC1198;
import ῲ.ᨨ.㳳.C1841;

/* renamed from: ඓ.ῲ.K.㗗.K  reason: contains not printable characters */
/* compiled from: BaseRequestOptions */
public abstract class AbstractC1198<T extends AbstractC1198<T>> implements Cloneable {

    /* renamed from: ʬ  reason: contains not printable characters */
    public float f4740 = 1.0f;

    /* renamed from: Ԕ  reason: contains not printable characters */
    public boolean f4741;

    /* renamed from: Ԛ  reason: contains not printable characters */
    public boolean f4742;

    /* renamed from: ؿ  reason: contains not printable characters */
    public Drawable f4743;

    /* renamed from: ݜ  reason: contains not printable characters */
    public Map<Class<?>, AbstractC1030<?>> f4744 = new C0840();

    /* renamed from: ඓ  reason: contains not printable characters */
    public Priority f4745 = Priority.NORMAL;

    /* renamed from: ᑓ  reason: contains not printable characters */
    public boolean f4746;

    /* renamed from: ᓆ  reason: contains not printable characters */
    public boolean f4747;

    /* renamed from: ᓣ  reason: contains not printable characters */
    public int f4748;

    /* renamed from: ᕣ  reason: contains not printable characters */
    public int f4749 = -1;

    /* renamed from: ᨨ  reason: contains not printable characters */
    public int f4750;

    /* renamed from: ῲ  reason: contains not printable characters */
    public int f4751;

    /* renamed from: ⁱ  reason: contains not printable characters */
    public int f4752;

    /* renamed from: ゎ  reason: contains not printable characters */
    public boolean f4753 = true;

    /* renamed from: ト  reason: contains not printable characters */
    public boolean f4754;

    /* renamed from: 㑃  reason: contains not printable characters */
    public int f4755 = -1;

    /* renamed from: 㗗  reason: contains not printable characters */
    public boolean f4756 = true;

    /* renamed from: 㗽  reason: contains not printable characters */
    public C1121 f4757 = new C1121();

    /* renamed from: 㳳  reason: contains not printable characters */
    public boolean f4758 = true;

    /* renamed from: 㴪  reason: contains not printable characters */
    public boolean f4759;

    /* renamed from: 㴹  reason: contains not printable characters */
    public Drawable f4760;

    /* renamed from: 㶋  reason: contains not printable characters */
    public Resources.Theme f4761;

    /* renamed from: 㸾  reason: contains not printable characters */
    public AbstractC0951 f4762 = AbstractC0951.f4298;

    /* renamed from: 㿎  reason: contains not printable characters */
    public Drawable f4763;

    /* renamed from: 䀟  reason: contains not printable characters */
    public Class<?> f4764 = Object.class;

    /* renamed from: 䁗  reason: contains not printable characters */
    public AbstractC1029 f4765 = C0822.f4046;

    /* renamed from: ῲ  reason: contains not printable characters */
    public static boolean m3206(int i, int i2) {
        return (i & i2) != 0;
    }

    public boolean equals(Object obj) {
        if (!(obj instanceof AbstractC1198)) {
            return false;
        }
        AbstractC1198 k = (AbstractC1198) obj;
        if (Float.compare(k.f4740, this.f4740) == 0 && this.f4752 == k.f4752 && C0845.m2451(this.f4760, k.f4760) && this.f4750 == k.f4750 && C0845.m2451(this.f4763, k.f4763) && this.f4748 == k.f4748 && C0845.m2451(this.f4743, k.f4743) && this.f4758 == k.f4758 && this.f4749 == k.f4749 && this.f4755 == k.f4755 && this.f4741 == k.f4741 && this.f4756 == k.f4756 && this.f4759 == k.f4759 && this.f4746 == k.f4746 && this.f4762.equals(k.f4762) && this.f4745 == k.f4745 && this.f4757.equals(k.f4757) && this.f4744.equals(k.f4744) && this.f4764.equals(k.f4764) && C0845.m2451(this.f4765, k.f4765) && C0845.m2451(this.f4761, k.f4761)) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        return C0845.m2455(this.f4761, C0845.m2455(this.f4765, C0845.m2455(this.f4764, C0845.m2455(this.f4744, C0845.m2455(this.f4757, C0845.m2455(this.f4745, C0845.m2455(this.f4762, (((((((((((((C0845.m2455(this.f4743, (C0845.m2455(this.f4763, (C0845.m2455(this.f4760, (C0845.m2452(this.f4740) * 31) + this.f4752) * 31) + this.f4750) * 31) + this.f4748) * 31) + (this.f4758 ? 1 : 0)) * 31) + this.f4749) * 31) + this.f4755) * 31) + (this.f4741 ? 1 : 0)) * 31) + (this.f4756 ? 1 : 0)) * 31) + (this.f4759 ? 1 : 0)) * 31) + (this.f4746 ? 1 : 0))))))));
    }

    /* renamed from: ʬ  reason: contains not printable characters */
    public final T m3207(DownsampleStrategy downsampleStrategy, AbstractC1030<Bitmap> r4) {
        if (this.f4747) {
            return (T) clone().m3207(downsampleStrategy, r4);
        }
        C1841.m4783(downsampleStrategy, "Argument must not be null");
        m3223((C0850<Y>) DownsampleStrategy.f2248, downsampleStrategy);
        return m3226(r4, true);
    }

    /* renamed from: ඓ  reason: contains not printable characters */
    public T m3209() {
        return m3220(DownsampleStrategy.f2245, new C0885());
    }

    /* renamed from: ῲ  reason: contains not printable characters */
    public T m3212(boolean z) {
        if (this.f4747) {
            return (T) clone().m3212(z);
        }
        this.f4754 = z;
        this.f4751 |= 1048576;
        m3213();
        return this;
    }

    /* renamed from: ⁱ  reason: contains not printable characters */
    public final T m3213() {
        if (!this.f4742) {
            return this;
        }
        throw new IllegalStateException("You cannot modify locked T, consider clone()");
    }

    /* renamed from: K  reason: contains not printable characters */
    public T m3215(float f) {
        if (this.f4747) {
            return (T) clone().m3215(f);
        }
        if (f < 0.0f || f > 1.0f) {
            throw new IllegalArgumentException("sizeMultiplier must be between 0 and 1");
        }
        this.f4740 = f;
        this.f4751 |= 2;
        m3213();
        return this;
    }

    /* renamed from: 㴹  reason: contains not printable characters */
    public T m3229() {
        return m3220(DownsampleStrategy.f2247, new C0883());
    }

    /* renamed from: 㸾  reason: contains not printable characters */
    public T m3230() {
        return m3211(DownsampleStrategy.f2243, new C0876());
    }

    @Override // java.lang.Object
    public T clone() {
        try {
            T t = (T) ((AbstractC1198) super.clone());
            t.f4757 = new C1121();
            t.f4757.m3005(this.f4757);
            t.f4744 = new C0840();
            t.f4744.putAll(this.f4744);
            t.f4742 = false;
            t.f4747 = false;
            return t;
        } catch (CloneNotSupportedException e) {
            throw new RuntimeException(e);
        }
    }

    /* renamed from: ῲ  reason: contains not printable characters */
    public T m3210() {
        T r0 = m3207(DownsampleStrategy.f2247, new C0883());
        r0.f4753 = true;
        return r0;
    }

    /* renamed from: ʬ  reason: contains not printable characters */
    public final boolean m3208() {
        return this.f4758;
    }

    /* renamed from: K  reason: contains not printable characters */
    public T m3224(AbstractC0951 r2) {
        if (this.f4747) {
            return (T) clone().m3224(r2);
        }
        C1841.m4783(r2, "Argument must not be null");
        this.f4762 = r2;
        this.f4751 |= 4;
        m3213();
        return this;
    }

    /* renamed from: ῲ  reason: contains not printable characters */
    public final T m3211(DownsampleStrategy downsampleStrategy, AbstractC1030<Bitmap> r4) {
        if (this.f4747) {
            return (T) clone().m3211(downsampleStrategy, r4);
        }
        C1841.m4783(downsampleStrategy, "Argument must not be null");
        m3223((C0850<Y>) DownsampleStrategy.f2248, downsampleStrategy);
        return m3226(r4, false);
    }

    /* renamed from: K  reason: contains not printable characters */
    public T m3219(Priority priority) {
        if (this.f4747) {
            return (T) clone().m3219(priority);
        }
        C1841.m4783(priority, "Argument must not be null");
        this.f4745 = priority;
        this.f4751 |= 8;
        m3213();
        return this;
    }

    /* renamed from: K  reason: contains not printable characters */
    public T m3218(Drawable drawable) {
        if (this.f4747) {
            return (T) clone().m3218(drawable);
        }
        this.f4763 = drawable;
        this.f4751 |= 64;
        this.f4750 = 0;
        this.f4751 &= -129;
        m3213();
        return this;
    }

    /* renamed from: K  reason: contains not printable characters */
    public T m3216(int i) {
        if (this.f4747) {
            return (T) clone().m3216(i);
        }
        this.f4750 = i;
        this.f4751 |= 128;
        this.f4763 = null;
        this.f4751 &= -65;
        m3213();
        return this;
    }

    /* renamed from: K  reason: contains not printable characters */
    public T m3228(boolean z) {
        if (this.f4747) {
            return (T) clone().m3228(true);
        }
        this.f4758 = !z;
        this.f4751 |= 256;
        m3213();
        return this;
    }

    /* renamed from: K  reason: contains not printable characters */
    public T m3217(int i, int i2) {
        if (this.f4747) {
            return (T) clone().m3217(i, i2);
        }
        this.f4755 = i;
        this.f4749 = i2;
        this.f4751 |= 512;
        m3213();
        return this;
    }

    /* renamed from: K  reason: contains not printable characters */
    public T m3225(AbstractC1029 r2) {
        if (this.f4747) {
            return (T) clone().m3225(r2);
        }
        C1841.m4783(r2, "Argument must not be null");
        this.f4765 = r2;
        this.f4751 |= RecyclerView.AbstractC0269.FLAG_ADAPTER_FULLUPDATE;
        m3213();
        return this;
    }

    /* renamed from: K  reason: contains not printable characters */
    public <Y> T m3223(C0850<Y> r2, Y y) {
        if (this.f4747) {
            return (T) clone().m3223(r2, y);
        }
        C1841.m4783(r2, "Argument must not be null");
        C1841.m4783((Object) y, "Argument must not be null");
        this.f4757.f4586.put(r2, y);
        m3213();
        return this;
    }

    /* renamed from: K  reason: contains not printable characters */
    public T m3221(Class<?> cls) {
        if (this.f4747) {
            return (T) clone().m3221(cls);
        }
        C1841.m4783(cls, "Argument must not be null");
        this.f4764 = cls;
        this.f4751 |= RecyclerView.AbstractC0269.FLAG_APPEARED_IN_PRE_LAYOUT;
        m3213();
        return this;
    }

    /* renamed from: K  reason: contains not printable characters */
    public T m3214() {
        return m3207(DownsampleStrategy.f2243, new C0876());
    }

    /* renamed from: K  reason: contains not printable characters */
    public final T m3220(DownsampleStrategy downsampleStrategy, AbstractC1030<Bitmap> r2) {
        T r1 = m3211(downsampleStrategy, r2);
        r1.f4753 = true;
        return r1;
    }

    /* JADX DEBUG: Multi-variable search result rejected for r3v0, resolved type: ඓ.ῲ.K.ᕣ.ⁱ<android.graphics.Bitmap> */
    /* JADX WARN: Multi-variable type inference failed */
    /* renamed from: K  reason: contains not printable characters */
    public T m3226(AbstractC1030<Bitmap> r3, boolean z) {
        if (this.f4747) {
            return (T) clone().m3226(r3, z);
        }
        C0894 r0 = new C0894(r3, z);
        m3222(Bitmap.class, r3, z);
        m3222(Drawable.class, r0, z);
        m3222(BitmapDrawable.class, r0, z);
        m3222(C0901.class, new C0915(r3), z);
        m3213();
        return this;
    }

    /* renamed from: K  reason: contains not printable characters */
    public <Y> T m3222(Class<Y> cls, AbstractC1030<Y> r3, boolean z) {
        if (this.f4747) {
            return (T) clone().m3222(cls, r3, z);
        }
        C1841.m4783(cls, "Argument must not be null");
        C1841.m4783(r3, "Argument must not be null");
        this.f4744.put(cls, r3);
        this.f4751 |= RecyclerView.AbstractC0269.FLAG_MOVED;
        this.f4756 = true;
        this.f4751 |= NativeProtocol.MESSAGE_GET_ACCESS_TOKEN_REQUEST;
        this.f4753 = false;
        if (z) {
            this.f4751 |= 131072;
            this.f4741 = true;
        }
        m3213();
        return this;
    }

    /* renamed from: K  reason: contains not printable characters */
    public T m3227(AbstractC1198<?> k) {
        if (this.f4747) {
            return (T) clone().m3227(k);
        }
        if (m3206(k.f4751, 2)) {
            this.f4740 = k.f4740;
        }
        if (m3206(k.f4751, 262144)) {
            this.f4759 = k.f4759;
        }
        if (m3206(k.f4751, 1048576)) {
            this.f4754 = k.f4754;
        }
        if (m3206(k.f4751, 4)) {
            this.f4762 = k.f4762;
        }
        if (m3206(k.f4751, 8)) {
            this.f4745 = k.f4745;
        }
        if (m3206(k.f4751, 16)) {
            this.f4760 = k.f4760;
            this.f4752 = 0;
            this.f4751 &= -33;
        }
        if (m3206(k.f4751, 32)) {
            this.f4752 = k.f4752;
            this.f4760 = null;
            this.f4751 &= -17;
        }
        if (m3206(k.f4751, 64)) {
            this.f4763 = k.f4763;
            this.f4750 = 0;
            this.f4751 &= -129;
        }
        if (m3206(k.f4751, 128)) {
            this.f4750 = k.f4750;
            this.f4763 = null;
            this.f4751 &= -65;
        }
        if (m3206(k.f4751, 256)) {
            this.f4758 = k.f4758;
        }
        if (m3206(k.f4751, 512)) {
            this.f4755 = k.f4755;
            this.f4749 = k.f4749;
        }
        if (m3206(k.f4751, (int) RecyclerView.AbstractC0269.FLAG_ADAPTER_FULLUPDATE)) {
            this.f4765 = k.f4765;
        }
        if (m3206(k.f4751, (int) RecyclerView.AbstractC0269.FLAG_APPEARED_IN_PRE_LAYOUT)) {
            this.f4764 = k.f4764;
        }
        if (m3206(k.f4751, 8192)) {
            this.f4743 = k.f4743;
            this.f4748 = 0;
            this.f4751 &= -16385;
        }
        if (m3206(k.f4751, 16384)) {
            this.f4748 = k.f4748;
            this.f4743 = null;
            this.f4751 &= -8193;
        }
        if (m3206(k.f4751, 32768)) {
            this.f4761 = k.f4761;
        }
        if (m3206(k.f4751, (int) NativeProtocol.MESSAGE_GET_ACCESS_TOKEN_REQUEST)) {
            this.f4756 = k.f4756;
        }
        if (m3206(k.f4751, 131072)) {
            this.f4741 = k.f4741;
        }
        if (m3206(k.f4751, (int) RecyclerView.AbstractC0269.FLAG_MOVED)) {
            this.f4744.putAll(k.f4744);
            this.f4753 = k.f4753;
        }
        if (m3206(k.f4751, 524288)) {
            this.f4746 = k.f4746;
        }
        if (!this.f4756) {
            this.f4744.clear();
            this.f4751 &= -2049;
            this.f4741 = false;
            this.f4751 &= -131073;
            this.f4753 = true;
        }
        this.f4751 |= k.f4751;
        this.f4757.m3005(k.f4757);
        m3213();
        return this;
    }
}
