	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcms_c_antsel_id2antcfg
_brcms_c_antsel_id2antcfg:              ## @brcms_c_antsel_id2antcfg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movq	(%rdi), %rax
	movq	_ANTSEL_2x4@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	%esi, %eax
	andl	$2, %eax
	andl	$1, %esi
	leal	(%rsi,%rax,8), %eax
	addl	$2, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_ANTSEL_2x3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movl	%esi, %eax
	shll	$4, %eax
	andl	$32, %eax
	andl	$1, %esi
	addl	%esi, %eax
	incl	%eax
	popq	%rbp
	retq
LBB0_3:
	movq	_ANT_SELCFG_DEF_2x2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ANT_SELCFG_DEF_2x2,4,2         ## @ANT_SELCFG_DEF_2x2
	.comm	_ANTSEL_2x4,8,3                 ## @ANTSEL_2x4
	.comm	_ANTSEL_2x3,8,3                 ## @ANTSEL_2x3
	.no_dead_strip	_brcms_c_antsel_id2antcfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcms_c_antsel_id2antcfg
_brcms_c_antsel_id2antcfg:              ; @brcms_c_antsel_id2antcfg
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ANTSEL_2x4@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ANTSEL_2x4@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	lsl	w8, w1, #3
	and	w8, w8, #0x10
	bfxil	w8, w1, #0, #1
	orr	w0, w8, #0x2
	ret
LBB0_2:
Lloh3:
	adrp	x9, _ANT_SELCFG_DEF_2x2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ANT_SELCFG_DEF_2x2@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _ANTSEL_2x3@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ANTSEL_2x3@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x10
	lsl	w8, w1, #4
	and	w8, w8, #0x20
	bfxil	w8, w1, #0, #1
	csinc	w0, w9, w8, ne
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ANT_SELCFG_DEF_2x2,4,2         ; @ANT_SELCFG_DEF_2x2
	.comm	_ANTSEL_2x4,8,3                 ; @ANTSEL_2x4
	.comm	_ANTSEL_2x3,8,3                 ; @ANTSEL_2x3
	.no_dead_strip	_brcms_c_antsel_id2antcfg
.subsections_via_symbols
