	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _brcms_c_stf_phytxchain_sel
__brcms_c_stf_phytxchain_sel:           ## @_brcms_c_stf_phytxchain_sel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movl	(%rax), %ebx
	movl	%esi, %edi
	callq	_rspec_stf
	movq	_PHY_TXC1_MODE_SISO@GOTPCREL(%rip), %rdx
	movq	(%r14), %rcx
	cmpq	(%rdx), %rax
	jne	LBB0_2
## %bb.1:
	movq	8(%rcx), %rax
	movq	_ANT_TX_DEF@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_3
LBB0_2:
	movl	4(%rcx), %ebx
	movq	_PHY_TXC_ANT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
LBB0_3:
	movq	_PHY_TXC_ANT_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_TXC1_MODE_SISO,8,3         ## @PHY_TXC1_MODE_SISO
	.comm	_PHY_TXC_ANT_SHIFT,4,2          ## @PHY_TXC_ANT_SHIFT
	.comm	_ANT_TX_DEF,8,3                 ## @ANT_TX_DEF
	.comm	_PHY_TXC_ANT_MASK,4,2           ## @PHY_TXC_ANT_MASK
	.no_dead_strip	__brcms_c_stf_phytxchain_sel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _brcms_c_stf_phytxchain_sel
__brcms_c_stf_phytxchain_sel:           ; @_brcms_c_stf_phytxchain_sel
	.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
	ldr	x8, [x0]
	ldr	w20, [x8]
	mov	x0, x1
	bl	_rspec_stf
Lloh0:
	adrp	x8, _PHY_TXC1_MODE_SISO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHY_TXC1_MODE_SISO@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	x8, [x19]
	cmp	x0, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x9, [x8, #8]
Lloh3:
	adrp	x10, _ANT_TX_DEF@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ANT_TX_DEF@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
LBB0_2:
	ldr	w8, [x8, #4]
Lloh6:
	adrp	x9, _PHY_TXC_ANT_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PHY_TXC_ANT_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w20, w8, w9
LBB0_3:
Lloh9:
	adrp	x8, _PHY_TXC_ANT_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PHY_TXC_ANT_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	and	w0, w8, w20
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_TXC1_MODE_SISO,8,3         ; @PHY_TXC1_MODE_SISO
	.comm	_PHY_TXC_ANT_SHIFT,4,2          ; @PHY_TXC_ANT_SHIFT
	.comm	_ANT_TX_DEF,8,3                 ; @ANT_TX_DEF
	.comm	_PHY_TXC_ANT_MASK,4,2           ; @PHY_TXC_ANT_MASK
	.no_dead_strip	__brcms_c_stf_phytxchain_sel
.subsections_via_symbols
