	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_stf_chain_upd_nphy     ## -- Begin function wlc_phy_stf_chain_upd_nphy
	.p2align	4, 0x90
_wlc_phy_stf_chain_upd_nphy:            ## @wlc_phy_stf_chain_upd_nphy
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_NPHY_RfseqCoreActv_TxRxChain0@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	(%rdi), %rax
	movq	_BRCMS_N_TXRX_CHAIN0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movl	12(%rbx), %edi
	movl	$2, %esi
	callq	_NREV_LE
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rbx, %rdi
	movl	$160, %esi
	movl	$-33, %edx
	callq	_and_phy_reg
	jmp	LBB0_7
LBB0_3:
	movq	_NPHY_RfseqCoreActv_TxRxChain1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movq	_BRCMS_N_TXRX_CHAIN1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.4:
	movl	12(%rbx), %edi
	movl	$2, %esi
	callq	_NREV_LE
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movl	$160, %esi
	movl	$32, %edx
	callq	_or_phy_reg
LBB0_6:
	movl	%r15d, %r14d
LBB0_7:
	movq	%rbx, %rdi
	movl	$162, %esi
	movl	$255, %edx
	movl	%r14d, %ecx
	callq	_mod_phy_reg
	movq	_PHY_PERICAL_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_NPHY_RfseqMode_CoreActv_override@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$161, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_or_phy_reg                     ## TAILCALL
LBB0_8:
	orl	%r14d, %r15d
	movq	%rbx, %rdi
	movl	$162, %esi
	movl	$255, %edx
	movl	%r15d, %ecx
	callq	_mod_phy_reg
	movq	_PHY_PERICAL_MPHASE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_NPHY_RfseqMode_CoreActv_override@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	movq	%rbx, %rdi
	movl	$161, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_and_phy_reg                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NPHY_RfseqCoreActv_TxRxChain0,4,2 ## @NPHY_RfseqCoreActv_TxRxChain0
	.comm	_NPHY_RfseqCoreActv_TxRxChain1,4,2 ## @NPHY_RfseqCoreActv_TxRxChain1
	.comm	_BRCMS_N_TXRX_CHAIN0,8,3        ## @BRCMS_N_TXRX_CHAIN0
	.comm	_BRCMS_N_TXRX_CHAIN1,8,3        ## @BRCMS_N_TXRX_CHAIN1
	.comm	_PHY_PERICAL_DISABLE,4,2        ## @PHY_PERICAL_DISABLE
	.comm	_NPHY_RfseqMode_CoreActv_override,4,2 ## @NPHY_RfseqMode_CoreActv_override
	.comm	_PHY_PERICAL_MPHASE,4,2         ## @PHY_PERICAL_MPHASE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_stf_chain_upd_nphy     ; -- Begin function wlc_phy_stf_chain_upd_nphy
	.p2align	2
_wlc_phy_stf_chain_upd_nphy:            ; @wlc_phy_stf_chain_upd_nphy
	.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, x0
Lloh0:
	adrp	x8, _NPHY_RfseqCoreActv_TxRxChain0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NPHY_RfseqCoreActv_TxRxChain0@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _BRCMS_N_TXRX_CHAIN0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BRCMS_N_TXRX_CHAIN0@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x19, #12]
	mov	w1, #2
	bl	_NREV_LE
	cbz	x0, LBB0_7
; %bb.2:
	mov	x0, x19
	mov	w1, #160
	mov	w2, #-33
	bl	_and_phy_reg
	b	LBB0_7
LBB0_3:
Lloh6:
	adrp	x9, _NPHY_RfseqCoreActv_TxRxChain1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NPHY_RfseqCoreActv_TxRxChain1@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x9]
Lloh9:
	adrp	x9, _BRCMS_N_TXRX_CHAIN1@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BRCMS_N_TXRX_CHAIN1@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.4:
	ldr	w0, [x19, #12]
	mov	w1, #2
	bl	_NREV_LE
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w1, #160
	mov	w2, #32
	bl	_or_phy_reg
LBB0_6:
	mov	x20, x21
LBB0_7:
	mov	x0, x19
	mov	w1, #162
	mov	w2, #255
	mov	x3, x20
	bl	_mod_phy_reg
Lloh12:
	adrp	x8, _PHY_PERICAL_DISABLE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PHY_PERICAL_DISABLE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh15:
	adrp	x8, _NPHY_RfseqMode_CoreActv_override@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NPHY_RfseqMode_CoreActv_override@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #161
	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
	b	_or_phy_reg
LBB0_8:
	orr	w3, w21, w20
	mov	x0, x19
	mov	w1, #162
	mov	w2, #255
	bl	_mod_phy_reg
Lloh18:
	adrp	x8, _PHY_PERICAL_MPHASE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PHY_PERICAL_MPHASE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _NPHY_RfseqMode_CoreActv_override@GOTPAGE
Lloh22:
	ldr	x9, [x9, _NPHY_RfseqMode_CoreActv_override@GOTPAGEOFF]
	str	w8, [x19, #8]
Lloh23:
	ldr	w8, [x9]
	mvn	w2, w8
	mov	x0, x19
	mov	w1, #161
	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
	b	_and_phy_reg
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_NPHY_RfseqCoreActv_TxRxChain0,4,2 ; @NPHY_RfseqCoreActv_TxRxChain0
	.comm	_NPHY_RfseqCoreActv_TxRxChain1,4,2 ; @NPHY_RfseqCoreActv_TxRxChain1
	.comm	_BRCMS_N_TXRX_CHAIN0,8,3        ; @BRCMS_N_TXRX_CHAIN0
	.comm	_BRCMS_N_TXRX_CHAIN1,8,3        ; @BRCMS_N_TXRX_CHAIN1
	.comm	_PHY_PERICAL_DISABLE,4,2        ; @PHY_PERICAL_DISABLE
	.comm	_NPHY_RfseqMode_CoreActv_override,4,2 ; @NPHY_RfseqMode_CoreActv_override
	.comm	_PHY_PERICAL_MPHASE,4,2         ; @PHY_PERICAL_MPHASE
.subsections_via_symbols
