package vq;

import kotlin.jvm.internal.t;
import uq.c0;
import uq.x;

/* loaded from: classes3.dex */
public abstract class i {

    /* loaded from: classes3.dex */
    public static final class a extends c0 {

        /* renamed from: b, reason: collision with root package name */
        final /* synthetic */ x f40461b;

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

        /* renamed from: d, reason: collision with root package name */
        final /* synthetic */ byte[] f40463d;

        /* renamed from: e, reason: collision with root package name */
        final /* synthetic */ int f40464e;

        a(x xVar, int i10, byte[] bArr, int i11) {
            this.f40461b = xVar;
            this.f40462c = i10;
            this.f40463d = bArr;
            this.f40464e = i11;
        }

        @Override // uq.c0
        public long a() {
            return this.f40462c;
        }

        @Override // uq.c0
        public x b() {
            return this.f40461b;
        }

        @Override // uq.c0
        public void k(kr.e sink) {
            t.g(sink, "sink");
            sink.d0(this.f40463d, this.f40464e, this.f40462c);
        }
    }

    /* loaded from: classes3.dex */
    public static final class b extends c0 {

        /* renamed from: b, reason: collision with root package name */
        final /* synthetic */ x f40465b;

        /* renamed from: c, reason: collision with root package name */
        final /* synthetic */ kr.g f40466c;

        b(x xVar, kr.g gVar) {
            this.f40465b = xVar;
            this.f40466c = gVar;
        }

        @Override // uq.c0
        public long a() {
            return this.f40466c.size();
        }

        @Override // uq.c0
        public x b() {
            return this.f40465b;
        }

        @Override // uq.c0
        public void k(kr.e sink) {
            t.g(sink, "sink");
            sink.i0(this.f40466c);
        }
    }

    public static final boolean a(c0 c0Var) {
        t.g(c0Var, "<this>");
        return false;
    }

    public static final boolean b(c0 c0Var) {
        t.g(c0Var, "<this>");
        return false;
    }

    public static final c0 c(kr.g gVar, x xVar) {
        t.g(gVar, "<this>");
        return new b(xVar, gVar);
    }

    public static final c0 d(byte[] bArr, x xVar, int i10, int i11) {
        t.g(bArr, "<this>");
        m.e(bArr.length, i10, i11);
        return new a(xVar, i11, bArr, i10);
    }
}
