package com.google.android.gms.internal.ads;

import java.lang.ref.WeakReference;
import java.util.Collections;
import java.util.Iterator;

/* JADX INFO: loaded from: classes2.dex */
public final class jg1 {

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public static final jg1 f12851d;

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public WeakReference f12852a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public boolean f12853b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public boolean f12854c;

    static {
        jg1 jg1Var = new jg1();
        jg1Var.f12853b = false;
        jg1Var.f12854c = false;
        f12851d = jg1Var;
    }

    public final void a(boolean z10, boolean z11) {
        if ((z11 || z10) == (this.f12854c || this.f12853b)) {
            return;
        }
        Iterator it = Collections.unmodifiableCollection(cg1.f9890c.f9891a).iterator();
        while (it.hasNext()) {
            lg1 lg1Var = ((uf1) it.next()).f17230d;
            boolean z12 = z11 || z10;
            if (lg1Var.f13684b.get() != 0) {
                w80.f17911c.m(lg1Var.c(), "setDeviceLockState", true != z12 ? "unlocked" : "locked");
            }
        }
    }
}
