	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_c_antsel_antcfg_get      ## -- Begin function brcms_c_antsel_antcfg_get
	.p2align	4, 0x90
_brcms_c_antsel_antcfg_get:             ## @brcms_c_antsel_antcfg_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%rdi, %rbx
	movq	16(%rbp), %r12
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	movq	_ANT_SELCFG_TX_DEF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
LBB0_2:
	movl	%eax, (%r15)
LBB0_6:
	movl	%eax, (%r12)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%rbx), %rax
	movq	_ANT_SELCFG_TX_UNICAST@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rax,%rsi,4), %eax
	testl	%edx, %edx
	je	LBB0_2
## %bb.4:
	movq	_ANT_SELCFG_AUTO@GOTPCREL(%rip), %rdx
	movl	%eax, %esi
	notl	%esi
	testl	%esi, (%rdx)
	jne	LBB0_2
## %bb.5:
	movl	%r8d, %r14d
	movq	%rbx, %rdi
	movl	%ecx, %esi
	callq	_brcms_c_antsel_id2antcfg
	movl	%eax, (%r15)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_brcms_c_antsel_id2antcfg
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_ANT_SELCFG_TX_DEF,8,3          ## @ANT_SELCFG_TX_DEF
	.comm	_ANT_SELCFG_TX_UNICAST,8,3      ## @ANT_SELCFG_TX_UNICAST
	.comm	_ANT_SELCFG_AUTO,4,2            ## @ANT_SELCFG_AUTO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_c_antsel_antcfg_get      ; -- Begin function brcms_c_antsel_antcfg_get
	.p2align	2
_brcms_c_antsel_antcfg_get:             ; @brcms_c_antsel_antcfg_get
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x6
	mov	x20, x5
	mov	x22, x0
	cbz	w1, LBB0_4
; %bb.1:
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _ANT_SELCFG_TX_DEF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ANT_SELCFG_TX_DEF@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
LBB0_2:
	str	w0, [x20]
LBB0_3:
	str	w0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x8, [x22]
Lloh3:
	adrp	x9, _ANT_SELCFG_TX_UNICAST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ANT_SELCFG_TX_UNICAST@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	cbz	w2, LBB0_2
; %bb.5:
Lloh6:
	adrp	x8, _ANT_SELCFG_AUTO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ANT_SELCFG_AUTO@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	bics	wzr, w8, w0
	b.ne	LBB0_2
; %bb.6:
	mov	x21, x4
	mov	x0, x22
	mov	x1, x3
	bl	_brcms_c_antsel_id2antcfg
	str	w0, [x20]
	mov	x0, x22
	mov	x1, x21
	bl	_brcms_c_antsel_id2antcfg
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ANT_SELCFG_TX_DEF,8,3          ; @ANT_SELCFG_TX_DEF
	.comm	_ANT_SELCFG_TX_UNICAST,8,3      ; @ANT_SELCFG_TX_UNICAST
	.comm	_ANT_SELCFG_AUTO,4,2            ; @ANT_SELCFG_AUTO
.subsections_via_symbols
