package ඓ.ῲ.K.ᕣ.ᨨ;

import ඓ.ῲ.K.ᓣ.ᕣ.AbstractC0836;
import ඓ.ῲ.K.ᓣ.ᕣ.C0830;
import ῲ.ᨨ.㳳.C1841;
import ῲ.ᨨ.㿎.AbstractC1871;

/* renamed from: ඓ.ῲ.K.ᕣ.ᨨ.ݜ  reason: contains not printable characters */
/* compiled from: LockedResource */
public final class C0938<Z> implements AbstractC1027<Z>, C0830.AbstractC0835 {

    /* renamed from: 㴹  reason: contains not printable characters */
    public static final AbstractC1871<C0938<?>> f4247 = C0830.m2423(20, new C0939());

    /* renamed from: ʬ  reason: contains not printable characters */
    public AbstractC1027<Z> f4248;

    /* renamed from: ඓ  reason: contains not printable characters */
    public boolean f4249;

    /* renamed from: ῲ  reason: contains not printable characters */
    public final AbstractC0836 f4250 = new AbstractC0836.C0837();

    /* renamed from: 㸾  reason: contains not printable characters */
    public boolean f4251;

    /* renamed from: ඓ.ῲ.K.ᕣ.ᨨ.ݜ$K  reason: contains not printable characters */
    /* compiled from: LockedResource */
    public class C0939 implements C0830.AbstractC0833<C0938<?>> {
        /* Return type fixed from 'java.lang.Object' to match base method */
        @Override // ඓ.ῲ.K.ᓣ.ᕣ.C0830.AbstractC0833
        /* renamed from: K  reason: contains not printable characters */
        public C0938<?> m2663() {
            return new C0938();
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public static <Z> C0938<Z> m2657(AbstractC1027<Z> r2) {
        C0938<Z> r0 = (C0938<Z>) f4247.m4835();
        C1841.m4783(r0, "Argument must not be null");
        r0.f4249 = false;
        r0.f4251 = true;
        r0.f4248 = r2;
        return r0;
    }

    @Override // ඓ.ῲ.K.ᕣ.ᨨ.AbstractC1027
    public Z get() {
        return this.f4248.get();
    }

    @Override // ඓ.ῲ.K.ᕣ.ᨨ.AbstractC1027
    /* renamed from: ʬ  reason: contains not printable characters */
    public synchronized void m2658() {
        this.f4250.m2431();
        this.f4249 = true;
        if (!this.f4251) {
            this.f4248.m2841();
            this.f4248 = null;
            f4247.m4836(this);
        }
    }

    /* renamed from: ඓ  reason: contains not printable characters */
    public synchronized void m2659() {
        this.f4250.m2431();
        if (this.f4251) {
            this.f4251 = false;
            if (this.f4249) {
                m2658();
            }
        } else {
            throw new IllegalStateException("Already unlocked");
        }
    }

    @Override // ඓ.ῲ.K.ᕣ.ᨨ.AbstractC1027
    /* renamed from: ῲ  reason: contains not printable characters */
    public Class<Z> m2660() {
        return this.f4248.m2842();
    }

    @Override // ඓ.ῲ.K.ᓣ.ᕣ.C0830.AbstractC0835
    /* renamed from: 㸾  reason: contains not printable characters */
    public AbstractC0836 m2662() {
        return this.f4250;
    }

    @Override // ඓ.ῲ.K.ᕣ.ᨨ.AbstractC1027
    /* renamed from: K  reason: contains not printable characters */
    public int m2661() {
        return this.f4248.m2843();
    }
}
