package o;

import android.content.res.TypedArray;
import android.content.res.XmlResourceParser;
import org.xmlpull.v1.XmlPullParser;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class P5 {
    public final XmlPullParser a;
    public int b = 0;
    public final N1 c;

    public P5(XmlResourceParser xmlResourceParser) {
        this.a = xmlResourceParser;
        N1 n1 = new N1();
        n1.b = new float[64];
        this.c = n1;
    }

    public final float a(TypedArray typedArray, String str, int i, float f) {
        if (AbstractC1692kh0.x(this.a, str)) {
            f = typedArray.getFloat(i, f);
        }
        b(typedArray.getChangingConfigurations());
        return f;
    }

    public final void b(int i) {
        this.b = i | this.b;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof P5)) {
            return false;
        }
        P5 p5 = (P5) obj;
        return F3.c(this.a, p5.a) && this.b == p5.b;
    }

    public final int hashCode() {
        return Integer.hashCode(this.b) + (this.a.hashCode() * 31);
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("AndroidVectorParser(xmlParser=");
        sb.append(this.a);
        sb.append(", config=");
        return AbstractC2462sn.m(sb, this.b, ')');
    }
}
