package f1;

import d5.AbstractC0844a;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
import u0.C;
import u0.C1564A;
import u0.C1579o;
import u0.E;
import x0.o;

/* JADX INFO: renamed from: f1.a, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0910a implements C {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final int f12659a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final String f12660b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final String f12661c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final int f12662d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final int f12663e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final int f12664f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final int f12665g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public final byte[] f12666h;

    public C0910a(int i, String str, String str2, int i5, int i8, int i9, int i10, byte[] bArr) {
        this.f12659a = i;
        this.f12660b = str;
        this.f12661c = str2;
        this.f12662d = i5;
        this.f12663e = i8;
        this.f12664f = i9;
        this.f12665g = i10;
        this.f12666h = bArr;
    }

    public static C0910a d(o oVar) {
        int iG = oVar.g();
        String strM = E.m(oVar.r(oVar.g(), StandardCharsets.US_ASCII));
        String strR = oVar.r(oVar.g(), StandardCharsets.UTF_8);
        int iG2 = oVar.g();
        int iG3 = oVar.g();
        int iG4 = oVar.g();
        int iG5 = oVar.g();
        int iG6 = oVar.g();
        byte[] bArr = new byte[iG6];
        oVar.e(bArr, 0, iG6);
        return new C0910a(iG, strM, strR, iG2, iG3, iG4, iG5, bArr);
    }

    @Override // u0.C
    public final void a(C1564A c1564a) {
        c1564a.a(this.f12659a, this.f12666h);
    }

    @Override // u0.C
    public final /* synthetic */ byte[] b() {
        return null;
    }

    @Override // u0.C
    public final /* synthetic */ C1579o c() {
        return null;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj != null && C0910a.class == obj.getClass()) {
            C0910a c0910a = (C0910a) obj;
            if (this.f12659a == c0910a.f12659a && this.f12660b.equals(c0910a.f12660b) && this.f12661c.equals(c0910a.f12661c) && this.f12662d == c0910a.f12662d && this.f12663e == c0910a.f12663e && this.f12664f == c0910a.f12664f && this.f12665g == c0910a.f12665g && Arrays.equals(this.f12666h, c0910a.f12666h)) {
                return true;
            }
        }
        return false;
    }

    public final int hashCode() {
        return Arrays.hashCode(this.f12666h) + ((((((((AbstractC0844a.g(AbstractC0844a.g((527 + this.f12659a) * 31, 31, this.f12660b), 31, this.f12661c) + this.f12662d) * 31) + this.f12663e) * 31) + this.f12664f) * 31) + this.f12665g) * 31);
    }

    public final String toString() {
        return "Picture: mimeType=" + this.f12660b + ", description=" + this.f12661c;
    }
}
