package p037.p065.p074;

/* JADX INFO: renamed from: މ.ރ.ކ.֏, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class C1880 {

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public boolean f6289;

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public InterfaceC1881 f6290;

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public boolean f6291;

    /* JADX INFO: renamed from: މ.ރ.ކ.֏$֏, reason: contains not printable characters */
    public interface InterfaceC1881 {
        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        void mo3701();
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m3698() {
        synchronized (this) {
            if (this.f6289) {
                return;
            }
            this.f6289 = true;
            this.f6291 = true;
            InterfaceC1881 interfaceC1881 = this.f6290;
            if (interfaceC1881 != null) {
                try {
                    interfaceC1881.mo3701();
                } catch (Throwable th) {
                    synchronized (this) {
                        this.f6291 = false;
                        notifyAll();
                        throw th;
                    }
                }
            }
            synchronized (this) {
                this.f6291 = false;
                notifyAll();
            }
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m3699(InterfaceC1881 interfaceC1881) {
        synchronized (this) {
            while (this.f6291) {
                try {
                    wait();
                } catch (InterruptedException unused) {
                }
            }
            if (this.f6290 == interfaceC1881) {
                return;
            }
            this.f6290 = interfaceC1881;
            if (this.f6289 && interfaceC1881 != null) {
                interfaceC1881.mo3701();
            }
        }
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public boolean m3700() {
        boolean z;
        synchronized (this) {
            z = this.f6289;
        }
        return z;
    }
}
