	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcms_c_antsel_antcfg2antsel
_brcms_c_antsel_antcfg2antsel:          ## @brcms_c_antsel_antcfg2antsel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_BRCMS_ANTSEL_11N
	movl	%eax, %edi
	callq	_BRCMS_ANTIDX_11N
	movq	(%rbx), %rdx
	movq	_ANTSEL_2x4@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_2
## %bb.1:
	movq	_mimo_2x4_div_antselpat_tbl@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_2:
	movq	_ANTSEL_2x3@GOTPCREL(%rip), %rsi
	xorl	%ecx, %ecx
	cmpq	(%rsi), %rdx
	jne	LBB0_5
## %bb.3:
	movq	_mimo_2x3_div_antselpat_tbl@GOTPCREL(%rip), %rcx
LBB0_4:
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %ecx
	andl	$15, %ecx
LBB0_5:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ANTSEL_2x4,8,3                 ## @ANTSEL_2x4
	.comm	_mimo_2x4_div_antselpat_tbl,8,3 ## @mimo_2x4_div_antselpat_tbl
	.comm	_ANTSEL_2x3,8,3                 ## @ANTSEL_2x3
	.comm	_mimo_2x3_div_antselpat_tbl,8,3 ## @mimo_2x3_div_antselpat_tbl
	.no_dead_strip	_brcms_c_antsel_antcfg2antsel
.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_antcfg2antsel
_brcms_c_antsel_antcfg2antsel:          ; @brcms_c_antsel_antcfg2antsel
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, x1
	bl	_BRCMS_ANTSEL_11N
	bl	_BRCMS_ANTIDX_11N
	ldr	x8, [x19]
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:
Lloh3:
	adrp	x8, _mimo_2x4_div_antselpat_tbl@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mimo_2x4_div_antselpat_tbl@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
Lloh5:
	adrp	x9, _ANTSEL_2x3@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ANTSEL_2x3@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
Lloh8:
	adrp	x8, _mimo_2x3_div_antselpat_tbl@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mimo_2x3_div_antselpat_tbl@GOTPAGEOFF]
LBB0_4:
	ldr	x8, [x8]
	ldr	w8, [x8, x0, lsl #2]
	and	w0, w8, #0xf
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ANTSEL_2x4,8,3                 ; @ANTSEL_2x4
	.comm	_mimo_2x4_div_antselpat_tbl,8,3 ; @mimo_2x4_div_antselpat_tbl
	.comm	_ANTSEL_2x3,8,3                 ; @ANTSEL_2x3
	.comm	_mimo_2x3_div_antselpat_tbl,8,3 ; @mimo_2x3_div_antselpat_tbl
	.no_dead_strip	_brcms_c_antsel_antcfg2antsel
.subsections_via_symbols
