package o;

import android.util.Base64;
import java.util.Arrays;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.pc, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2156pc {
    public final String a;
    public final byte[] b;
    public final HY c;

    public C2156pc(String str, byte[] bArr, HY hy) {
        this.a = str;
        this.b = bArr;
        this.c = hy;
    }

    public static C3126zm0 a() {
        C3126zm0 c3126zm0 = new C3126zm0(5, false);
        c3126zm0.f831o = HY.l;
        return c3126zm0;
    }

    public final C2156pc b(HY hy) {
        C3126zm0 c3126zm0A = a();
        c3126zm0A.P(this.a);
        if (hy == null) {
            throw new NullPointerException("Null priority");
        }
        c3126zm0A.f831o = hy;
        c3126zm0A.n = this.b;
        return c3126zm0A.m();
    }

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (obj instanceof C2156pc) {
            C2156pc c2156pc = (C2156pc) obj;
            if (this.a.equals(c2156pc.a) && Arrays.equals(this.b, c2156pc.b) && this.c.equals(c2156pc.c)) {
                return true;
            }
        }
        return false;
    }

    public final int hashCode() {
        return ((((this.a.hashCode() ^ 1000003) * 1000003) ^ Arrays.hashCode(this.b)) * 1000003) ^ this.c.hashCode();
    }

    public final String toString() {
        byte[] bArr = this.b;
        String strEncodeToString = bArr == null ? "" : Base64.encodeToString(bArr, 2);
        StringBuilder sb = new StringBuilder("TransportContext(");
        sb.append(this.a);
        sb.append(", ");
        sb.append(this.c);
        sb.append(", ");
        return AbstractC2462sn.n(sb, strEncodeToString, ")");
    }
}
