package 㿎;

import java.net.InetSocketAddress;
import java.net.Proxy;
import ඓ.K.K.K.C1293;

/* renamed from: 㿎.ᆯ  reason: contains not printable characters */
/* compiled from: Route */
public final class C2539 {

    /* renamed from: ʬ  reason: contains not printable characters */
    public final InetSocketAddress f8557;

    /* renamed from: ῲ  reason: contains not printable characters */
    public final Proxy f8558;

    /* renamed from: K  reason: contains not printable characters */
    public final C2640 f8559;

    public C2539(C2640 k, Proxy proxy, InetSocketAddress inetSocketAddress) {
        if (k == null) {
            throw new NullPointerException("address == null");
        } else if (proxy == null) {
            throw new NullPointerException("proxy == null");
        } else if (inetSocketAddress != null) {
            this.f8559 = k;
            this.f8558 = proxy;
            this.f8557 = inetSocketAddress;
        } else {
            throw new NullPointerException("inetSocketAddress == null");
        }
    }

    public boolean equals(Object obj) {
        if (obj instanceof C2539) {
            C2539 r3 = (C2539) obj;
            return r3.f8559.equals(this.f8559) && r3.f8558.equals(this.f8558) && r3.f8557.equals(this.f8557);
        }
    }

    public int hashCode() {
        int hashCode = this.f8558.hashCode();
        return this.f8557.hashCode() + ((hashCode + ((this.f8559.hashCode() + 527) * 31)) * 31);
    }

    public String toString() {
        StringBuilder r0 = C1293.m3416("Route{");
        r0.append(this.f8557);
        r0.append("}");
        return r0.toString();
    }

    /* renamed from: K  reason: contains not printable characters */
    public boolean m6628() {
        return this.f8559.f8966 != null && this.f8558.type() == Proxy.Type.HTTP;
    }
}
