	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_c_stf_phy_chain_calc     ## -- Begin function brcms_c_stf_phy_chain_calc
	.p2align	4, 0x90
_brcms_c_stf_phy_chain_calc:            ## @brcms_c_stf_phy_chain_calc
	.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	(%rdi), %rax
	movq	16(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edi
	movl	%edi, (%rax)
	movl	4(%rcx), %ecx
	movl	%ecx, 4(%rax)
	cmpl	$15, %edi
	je	LBB0_2
## %bb.1:
	testl	%edi, %edi
	jne	LBB0_6
LBB0_2:
	movl	8(%rbx), %edi
	callq	_BRCMS_ISNPHY
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_TXCHAIN_DEF@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_TXCHAIN_DEF_NPHY@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movl	%edi, (%rax)
LBB0_6:
	movl	%edi, 8(%rax)
	callq	_hweight8
	movq	(%rbx), %rcx
	movq	%rax, 32(%rcx)
	movl	4(%rcx), %edi
	cmpl	$15, %edi
	je	LBB0_8
## %bb.7:
	testl	%edi, %edi
	jne	LBB0_12
LBB0_8:
	movl	8(%rbx), %edi
	callq	_BRCMS_ISNPHY
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:
	movq	_RXCHAIN_DEF@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_RXCHAIN_DEF_NPHY@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %edi
	movq	(%rbx), %rcx
	movl	%edi, 4(%rcx)
LBB0_12:
	movl	%edi, 12(%rcx)
	callq	_hweight8
	movq	(%rbx), %rcx
	movq	%rax, 24(%rcx)
	movl	20(%rcx), %edi
	movq	_txcore_default@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_memcpy
	movq	_MIN_SPATIAL_EXPANSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rax
	movl	%esi, 16(%rax)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_brcms_c_stf_spatial_policy_set ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TXCHAIN_DEF_NPHY,4,2           ## @TXCHAIN_DEF_NPHY
	.comm	_TXCHAIN_DEF,4,2                ## @TXCHAIN_DEF
	.comm	_RXCHAIN_DEF_NPHY,4,2           ## @RXCHAIN_DEF_NPHY
	.comm	_RXCHAIN_DEF,4,2                ## @RXCHAIN_DEF
	.comm	_txcore_default,4,2             ## @txcore_default
	.comm	_MIN_SPATIAL_EXPANSION,4,2      ## @MIN_SPATIAL_EXPANSION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_c_stf_phy_chain_calc     ; -- Begin function brcms_c_stf_phy_chain_calc
	.p2align	2
_brcms_c_stf_phy_chain_calc:            ; @brcms_c_stf_phy_chain_calc
	.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, #16]
	ldr	x8, [x8]
	ldr	x9, [x8]
	ldr	x8, [x0]
	ldr	d0, [x9]
	str	d0, [x8]
	fmov	w0, s0
	cmp	w0, #15
	ccmp	w0, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
	bl	_BRCMS_ISNPHY
Lloh0:
	adrp	x8, _TXCHAIN_DEF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXCHAIN_DEF@GOTPAGEOFF]
Lloh2:
	adrp	x9, _TXCHAIN_DEF_NPHY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TXCHAIN_DEF_NPHY@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	ldr	x8, [x19]
	str	w0, [x8]
LBB0_2:
	str	w0, [x8, #8]
	bl	_hweight8
	ldr	x8, [x19]
	str	x0, [x8, #32]
	ldr	w0, [x8, #4]
	cmp	w0, #15
	ccmp	w0, #0, #4, ne
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x19, #8]
	bl	_BRCMS_ISNPHY
Lloh4:
	adrp	x8, _RXCHAIN_DEF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RXCHAIN_DEF@GOTPAGEOFF]
Lloh6:
	adrp	x9, _RXCHAIN_DEF_NPHY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RXCHAIN_DEF_NPHY@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	ldr	x8, [x19]
	str	w0, [x8, #4]
LBB0_4:
	str	w0, [x8, #12]
	bl	_hweight8
	ldr	x8, [x19]
	str	x0, [x8, #24]
	ldr	w0, [x8, #20]
Lloh8:
	adrp	x8, _txcore_default@GOTPAGE
Lloh9:
	ldr	x8, [x8, _txcore_default@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_memcpy
Lloh11:
	adrp	x8, _MIN_SPATIAL_EXPANSION@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MIN_SPATIAL_EXPANSION@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	x8, [x19]
	str	w1, [x8, #16]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_brcms_c_stf_spatial_policy_set
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_TXCHAIN_DEF_NPHY,4,2           ; @TXCHAIN_DEF_NPHY
	.comm	_TXCHAIN_DEF,4,2                ; @TXCHAIN_DEF
	.comm	_RXCHAIN_DEF_NPHY,4,2           ; @RXCHAIN_DEF_NPHY
	.comm	_RXCHAIN_DEF,4,2                ; @RXCHAIN_DEF
	.comm	_txcore_default,4,2             ; @txcore_default
	.comm	_MIN_SPATIAL_EXPANSION,4,2      ; @MIN_SPATIAL_EXPANSION
.subsections_via_symbols
