	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_c_antsel_antsel2id       ## -- Begin function brcms_c_antsel_antsel2id
	.p2align	4, 0x90
_brcms_c_antsel_antsel2id:              ## @brcms_c_antsel_antsel2id
	.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), %rcx
	movq	_ANTSEL_2x4@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_mimo_2x4_div_antselid_tbl@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_ANTSEL_2x3@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.3:
	movq	_mimo_2x3_div_antselid_tbl@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rax
	andl	$15, %esi
	movl	(%rax,%rsi,4), %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ANTSEL_2x4,8,3                 ## @ANTSEL_2x4
	.comm	_mimo_2x4_div_antselid_tbl,8,3  ## @mimo_2x4_div_antselid_tbl
	.comm	_ANTSEL_2x3,8,3                 ## @ANTSEL_2x3
	.comm	_mimo_2x3_div_antselid_tbl,8,3  ## @mimo_2x3_div_antselid_tbl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_c_antsel_antsel2id       ; -- Begin function brcms_c_antsel_antsel2id
	.p2align	2
_brcms_c_antsel_antsel2id:              ; @brcms_c_antsel_antsel2id
	.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:
Lloh3:
	adrp	x8, _mimo_2x4_div_antselid_tbl@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mimo_2x4_div_antselid_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_antselid_tbl@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mimo_2x3_div_antselid_tbl@GOTPAGEOFF]
LBB0_4:
	ldr	x8, [x8]
	and	w9, w1, #0xf
	ldr	w0, [x8, w9, uxtw #2]
	ret
LBB0_5:
	mov	w0, #0
	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_antselid_tbl,8,3  ; @mimo_2x4_div_antselid_tbl
	.comm	_ANTSEL_2x3,8,3                 ; @ANTSEL_2x3
	.comm	_mimo_2x3_div_antselid_tbl,8,3  ; @mimo_2x3_div_antselid_tbl
.subsections_via_symbols
