package cr;

import kotlin.jvm.internal.t;
import kr.g;

/* loaded from: classes3.dex */
public final class c {

    /* renamed from: d, reason: collision with root package name */
    public static final a f15524d = new a(null);

    /* renamed from: e, reason: collision with root package name */
    public static final kr.g f15525e;

    /* renamed from: f, reason: collision with root package name */
    public static final kr.g f15526f;

    /* renamed from: g, reason: collision with root package name */
    public static final kr.g f15527g;

    /* renamed from: h, reason: collision with root package name */
    public static final kr.g f15528h;

    /* renamed from: i, reason: collision with root package name */
    public static final kr.g f15529i;

    /* renamed from: j, reason: collision with root package name */
    public static final kr.g f15530j;

    /* renamed from: a, reason: collision with root package name */
    public final kr.g f15531a;

    /* renamed from: b, reason: collision with root package name */
    public final kr.g f15532b;

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

    /* loaded from: classes3.dex */
    public static final class a {
        private a() {
        }

        public /* synthetic */ a(kotlin.jvm.internal.k kVar) {
            this();
        }
    }

    static {
        g.a aVar = kr.g.f26649s;
        f15525e = aVar.c(":");
        f15526f = aVar.c(":status");
        f15527g = aVar.c(":method");
        f15528h = aVar.c(":path");
        f15529i = aVar.c(":scheme");
        f15530j = aVar.c(":authority");
    }

    public c(kr.g name, kr.g value) {
        t.g(name, "name");
        t.g(value, "value");
        this.f15531a = name;
        this.f15532b = value;
        this.f15533c = name.size() + 32 + value.size();
    }

    public final kr.g a() {
        return this.f15531a;
    }

    public final kr.g b() {
        return this.f15532b;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof c)) {
            return false;
        }
        c cVar = (c) obj;
        return t.b(this.f15531a, cVar.f15531a) && t.b(this.f15532b, cVar.f15532b);
    }

    public int hashCode() {
        return (this.f15531a.hashCode() * 31) + this.f15532b.hashCode();
    }

    public String toString() {
        return this.f15531a.I() + ": " + this.f15532b.I();
    }

    /* JADX WARN: Illegal instructions before constructor call */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public c(String name, String value) {
        this(r0.c(name), r0.c(value));
        t.g(name, "name");
        t.g(value, "value");
        g.a aVar = kr.g.f26649s;
    }

    /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
    public c(kr.g name, String value) {
        this(name, kr.g.f26649s.c(value));
        t.g(name, "name");
        t.g(value, "value");
    }
}
