package IMuAHx_6.KQgRr5e_0.KQgRr5e_0.XnFJ5_9;
/* compiled from: NamedRunnable.java */
/* loaded from: classes.dex */
public abstract class QxJ9d_1 implements Runnable {
    public final String KQgRr5e_0;

    public QxJ9d_1(String str) {
        this.KQgRr5e_0 = str;
    }

    public abstract void KQgRr5e_0() throws InterruptedException;

    public abstract void KQgRr5e_0(InterruptedException interruptedException);

    public abstract void QxJ9d_1();

    @Override // java.lang.Runnable
    public final void run() {
        String name = Thread.currentThread().getName();
        Thread.currentThread().setName(this.KQgRr5e_0);
        try {
            try {
                KQgRr5e_0();
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
                KQgRr5e_0(e);
            }
        } finally {
            Thread.currentThread().setName(name);
            QxJ9d_1();
        }
    }
}
