package coil.request;

import V4.AbstractC0786y;
import V4.N;
import a5.m;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import c5.d;
import c5.e;
import coil.size.Precision;
import coil.transition.Transition;
import coil.util.Utils;
import com.google.android.recaptcha.internal.a;
import kotlin.jvm.internal.h;
import kotlin.jvm.internal.o;

/* JADX INFO: loaded from: classes.dex */
public final class DefaultRequestOptions {
    private final boolean allowHardware;
    private final boolean allowRgb565;
    private final Bitmap.Config bitmapConfig;
    private final AbstractC0786y decoderDispatcher;
    private final CachePolicy diskCachePolicy;
    private final Drawable error;
    private final Drawable fallback;
    private final AbstractC0786y fetcherDispatcher;
    private final AbstractC0786y interceptorDispatcher;
    private final CachePolicy memoryCachePolicy;
    private final CachePolicy networkCachePolicy;
    private final Drawable placeholder;
    private final Precision precision;
    private final AbstractC0786y transformationDispatcher;
    private final Transition.Factory transitionFactory;

    public DefaultRequestOptions() {
        this(null, null, null, null, null, null, null, false, false, null, null, null, null, null, null, 32767, null);
    }

    public final DefaultRequestOptions copy(AbstractC0786y abstractC0786y, AbstractC0786y abstractC0786y2, AbstractC0786y abstractC0786y3, AbstractC0786y abstractC0786y4, Transition.Factory factory, Precision precision, Bitmap.Config config, boolean z6, boolean z7, Drawable drawable, Drawable drawable2, Drawable drawable3, CachePolicy cachePolicy, CachePolicy cachePolicy2, CachePolicy cachePolicy3) {
        return new DefaultRequestOptions(abstractC0786y, abstractC0786y2, abstractC0786y3, abstractC0786y4, factory, precision, config, z6, z7, drawable, drawable2, drawable3, cachePolicy, cachePolicy2, cachePolicy3);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof DefaultRequestOptions)) {
            return false;
        }
        DefaultRequestOptions defaultRequestOptions = (DefaultRequestOptions) obj;
        return o.c(this.interceptorDispatcher, defaultRequestOptions.interceptorDispatcher) && o.c(this.fetcherDispatcher, defaultRequestOptions.fetcherDispatcher) && o.c(this.decoderDispatcher, defaultRequestOptions.decoderDispatcher) && o.c(this.transformationDispatcher, defaultRequestOptions.transformationDispatcher) && o.c(this.transitionFactory, defaultRequestOptions.transitionFactory) && this.precision == defaultRequestOptions.precision && this.bitmapConfig == defaultRequestOptions.bitmapConfig && this.allowHardware == defaultRequestOptions.allowHardware && this.allowRgb565 == defaultRequestOptions.allowRgb565 && o.c(this.placeholder, defaultRequestOptions.placeholder) && o.c(this.error, defaultRequestOptions.error) && o.c(this.fallback, defaultRequestOptions.fallback) && this.memoryCachePolicy == defaultRequestOptions.memoryCachePolicy && this.diskCachePolicy == defaultRequestOptions.diskCachePolicy && this.networkCachePolicy == defaultRequestOptions.networkCachePolicy;
    }

    public final boolean getAllowHardware() {
        return this.allowHardware;
    }

    public final boolean getAllowRgb565() {
        return this.allowRgb565;
    }

    public final Bitmap.Config getBitmapConfig() {
        return this.bitmapConfig;
    }

    public final AbstractC0786y getDecoderDispatcher() {
        return this.decoderDispatcher;
    }

    public final CachePolicy getDiskCachePolicy() {
        return this.diskCachePolicy;
    }

    public final Drawable getError() {
        return this.error;
    }

    public final Drawable getFallback() {
        return this.fallback;
    }

    public final AbstractC0786y getFetcherDispatcher() {
        return this.fetcherDispatcher;
    }

    public final AbstractC0786y getInterceptorDispatcher() {
        return this.interceptorDispatcher;
    }

    public final CachePolicy getMemoryCachePolicy() {
        return this.memoryCachePolicy;
    }

    public final CachePolicy getNetworkCachePolicy() {
        return this.networkCachePolicy;
    }

    public final Drawable getPlaceholder() {
        return this.placeholder;
    }

    public final Precision getPrecision() {
        return this.precision;
    }

    public final AbstractC0786y getTransformationDispatcher() {
        return this.transformationDispatcher;
    }

    public final Transition.Factory getTransitionFactory() {
        return this.transitionFactory;
    }

    public int hashCode() {
        int iF = a.f(a.f((this.bitmapConfig.hashCode() + ((this.precision.hashCode() + ((this.transitionFactory.hashCode() + ((this.transformationDispatcher.hashCode() + ((this.decoderDispatcher.hashCode() + ((this.fetcherDispatcher.hashCode() + (this.interceptorDispatcher.hashCode() * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31, 31, this.allowHardware), 31, this.allowRgb565);
        Drawable drawable = this.placeholder;
        int iHashCode = (iF + (drawable != null ? drawable.hashCode() : 0)) * 31;
        Drawable drawable2 = this.error;
        int iHashCode2 = (iHashCode + (drawable2 != null ? drawable2.hashCode() : 0)) * 31;
        Drawable drawable3 = this.fallback;
        return this.networkCachePolicy.hashCode() + ((this.diskCachePolicy.hashCode() + ((this.memoryCachePolicy.hashCode() + ((iHashCode2 + (drawable3 != null ? drawable3.hashCode() : 0)) * 31)) * 31)) * 31);
    }

    public DefaultRequestOptions(AbstractC0786y abstractC0786y, AbstractC0786y abstractC0786y2, AbstractC0786y abstractC0786y3, AbstractC0786y abstractC0786y4, Transition.Factory factory, Precision precision, Bitmap.Config config, boolean z6, boolean z7, Drawable drawable, Drawable drawable2, Drawable drawable3, CachePolicy cachePolicy, CachePolicy cachePolicy2, CachePolicy cachePolicy3) {
        this.interceptorDispatcher = abstractC0786y;
        this.fetcherDispatcher = abstractC0786y2;
        this.decoderDispatcher = abstractC0786y3;
        this.transformationDispatcher = abstractC0786y4;
        this.transitionFactory = factory;
        this.precision = precision;
        this.bitmapConfig = config;
        this.allowHardware = z6;
        this.allowRgb565 = z7;
        this.placeholder = drawable;
        this.error = drawable2;
        this.fallback = drawable3;
        this.memoryCachePolicy = cachePolicy;
        this.diskCachePolicy = cachePolicy2;
        this.networkCachePolicy = cachePolicy3;
    }

    /* JADX WARN: Illegal instructions before constructor call */
    public DefaultRequestOptions(AbstractC0786y abstractC0786y, AbstractC0786y abstractC0786y2, AbstractC0786y abstractC0786y3, AbstractC0786y abstractC0786y4, Transition.Factory factory, Precision precision, Bitmap.Config config, boolean z6, boolean z7, Drawable drawable, Drawable drawable2, Drawable drawable3, CachePolicy cachePolicy, CachePolicy cachePolicy2, CachePolicy cachePolicy3, int i6, h hVar) {
        AbstractC0786y abstractC0786y5;
        AbstractC0786y abstractC0786y6;
        AbstractC0786y abstractC0786y7;
        AbstractC0786y abstractC0786y8;
        if ((i6 & 1) != 0) {
            e eVar = N.f8259a;
            abstractC0786y5 = m.f10845a.f8429e;
        } else {
            abstractC0786y5 = abstractC0786y;
        }
        if ((i6 & 2) != 0) {
            e eVar2 = N.f8259a;
            abstractC0786y6 = d.f13466b;
        } else {
            abstractC0786y6 = abstractC0786y2;
        }
        if ((i6 & 4) != 0) {
            e eVar3 = N.f8259a;
            abstractC0786y7 = d.f13466b;
        } else {
            abstractC0786y7 = abstractC0786y3;
        }
        if ((i6 & 8) != 0) {
            e eVar4 = N.f8259a;
            abstractC0786y8 = d.f13466b;
        } else {
            abstractC0786y8 = abstractC0786y4;
        }
        this(abstractC0786y5, abstractC0786y6, abstractC0786y7, abstractC0786y8, (i6 & 16) != 0 ? Transition.Factory.NONE : factory, (i6 & 32) != 0 ? Precision.AUTOMATIC : precision, (i6 & 64) != 0 ? Utils.getDEFAULT_BITMAP_CONFIG() : config, (i6 & 128) == 0 ? z6 : true, (i6 & 256) != 0 ? false : z7, (i6 & 512) != 0 ? null : drawable, (i6 & 1024) != 0 ? null : drawable2, (i6 & 2048) == 0 ? drawable3 : null, (i6 & 4096) != 0 ? CachePolicy.ENABLED : cachePolicy, (i6 & 8192) != 0 ? CachePolicy.ENABLED : cachePolicy2, (i6 & 16384) != 0 ? CachePolicy.ENABLED : cachePolicy3);
    }
}
