package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class CN {
    public static BN a(Object obj, Object obj2) {
        BN bnB = (BN) obj;
        BN bn = (BN) obj2;
        if (!bn.isEmpty()) {
            if (!bnB.l) {
                bnB = bnB.b();
            }
            bnB.a();
            if (!bn.isEmpty()) {
                bnB.putAll(bn);
            }
        }
        return bnB;
    }
}
