package com.google.android.gms.internal.ads;

import androidx.annotation.Nullable;
import java.util.Arrays;
import java.util.Objects;

/* JADX INFO: loaded from: classes2.dex */
public final class f5 extends o5 {

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

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

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

    @Nullable
    public final String zzb;

    public f5(String str, @Nullable String str2, int i10, byte[] bArr) {
        super("APIC");
        this.f11021b = str;
        this.zzb = str2;
        this.f11022c = i10;
        this.f11023d = bArr;
    }

    @Override // com.google.android.gms.internal.ads.z9
    public final void a(g8 g8Var) {
        g8Var.w(this.f11022c, this.f11023d);
    }

    public final boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj != null && f5.class == obj.getClass()) {
            f5 f5Var = (f5) obj;
            if (this.f11022c == f5Var.f11022c && Objects.equals(this.f11021b, f5Var.f11021b) && Objects.equals(this.zzb, f5Var.zzb) && Arrays.equals(this.f11023d, f5Var.f11023d)) {
                return true;
            }
        }
        return false;
    }

    public final int hashCode() {
        String str = this.f11021b;
        int iHashCode = str != null ? str.hashCode() : 0;
        String str2 = this.zzb;
        return Arrays.hashCode(this.f11023d) + ((((((this.f11022c + 527) * 31) + iHashCode) * 31) + (str2 != null ? str2.hashCode() : 0)) * 31);
    }

    @Override // com.google.android.gms.internal.ads.o5
    public final String toString() {
        String str = this.f14850a;
        int length = String.valueOf(str).length();
        String str2 = this.f11021b;
        int length2 = String.valueOf(str2).length();
        String str3 = this.zzb;
        StringBuilder sb = new StringBuilder(length + 11 + length2 + 14 + String.valueOf(str3).length());
        u.a.h(sb, str, ": mimeType=", str2, ", description=");
        sb.append(str3);
        return sb.toString();
    }
}
