package kotlin.reflect.jvm.internal.impl.descriptors.annotations;

import defpackage.cr4;
import defpackage.kp6;

/* JADX INFO: loaded from: classes3.dex */
public final class AnnotationsKt {
    @kp6
    public static final Annotations composeAnnotations(@kp6 Annotations annotations, @kp6 Annotations annotations2) {
        cr4.g(annotations, "first");
        cr4.g(annotations2, "second");
        return annotations.isEmpty() ? annotations2 : annotations2.isEmpty() ? annotations : new CompositeAnnotations(annotations, annotations2);
    }
}
