package v2;

import O3.e;
import android.content.res.TypedArray;

/* JADX INFO: renamed from: v2.b, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C1672b extends e {

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public final /* synthetic */ int f18070r;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C1672b(int i) {
        super(6);
        this.f18070r = i;
        switch (i) {
            case 1:
                super(6);
                break;
            default:
                ((C1673c) this.f5146q).f18085p = true;
                break;
        }
    }

    @Override // O3.e
    public e h(TypedArray typedArray) {
        switch (this.f18070r) {
            case 1:
                super.h(typedArray);
                boolean zHasValue = typedArray.hasValue(2);
                C1673c c1673c = (C1673c) this.f5146q;
                if (zHasValue) {
                    c1673c.f18075e = (typedArray.getColor(2, c1673c.f18075e) & 16777215) | (c1673c.f18075e & (-16777216));
                }
                if (typedArray.hasValue(12)) {
                    c1673c.f18074d = typedArray.getColor(12, c1673c.f18074d);
                }
                return this;
            default:
                return super.h(typedArray);
        }
    }

    @Override // O3.e
    public final e m() {
        int i = this.f18070r;
        return this;
    }
}
