	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_phy_resetcca_nphy
_wlc_phy_resetcca_nphy:                 ## @wlc_phy_resetcca_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	(%rdi), %rax
	movl	(%rax), %edi
	movq	_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wlapi_bmac_phyclk_fgc
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_read_phy_reg
	movl	%eax, %r14d
	movq	_BBCFG_RESETCCA@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	orl	%eax, %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_write_phy_reg
	movl	$1, %edi
	callq	_udelay
	movl	(%r15), %edx
	notl	%edx
	andl	%r14d, %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_write_phy_reg
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wlapi_bmac_phyclk_fgc
	movq	_NPHY_RFSEQ_RESET2RX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wlc_phy_force_rfseq_nphy       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ON,4,2                         ## @ON
	.comm	_BBCFG_RESETCCA,4,2             ## @BBCFG_RESETCCA
	.comm	_OFF,4,2                        ## @OFF
	.comm	_NPHY_RFSEQ_RESET2RX,4,2        ## @NPHY_RFSEQ_RESET2RX
	.no_dead_strip	_wlc_phy_resetcca_nphy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_phy_resetcca_nphy
_wlc_phy_resetcca_nphy:                 ; @wlc_phy_resetcca_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
	ldr	x8, [x0]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _ON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ON@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_wlapi_bmac_phyclk_fgc
	mov	x0, x19
	mov	w1, #1
	bl	_read_phy_reg
	mov	x20, x0
Lloh3:
	adrp	x21, _BBCFG_RESETCCA@GOTPAGE
Lloh4:
	ldr	x21, [x21, _BBCFG_RESETCCA@GOTPAGEOFF]
	ldr	w8, [x21]
	orr	w2, w8, w0
	mov	x0, x19
	mov	w1, #1
	bl	_write_phy_reg
	mov	w0, #1
	bl	_udelay
	ldr	w8, [x21]
	bic	w2, w20, w8
	mov	x0, x19
	mov	w1, #1
	bl	_write_phy_reg
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _OFF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OFF@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_wlapi_bmac_phyclk_fgc
Lloh8:
	adrp	x8, _NPHY_RFSEQ_RESET2RX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NPHY_RFSEQ_RESET2RX@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, 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
	b	_wlc_phy_force_rfseq_nphy
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ON,4,2                         ; @ON
	.comm	_BBCFG_RESETCCA,4,2             ; @BBCFG_RESETCCA
	.comm	_OFF,4,2                        ; @OFF
	.comm	_NPHY_RFSEQ_RESET2RX,4,2        ; @NPHY_RFSEQ_RESET2RX
	.no_dead_strip	_wlc_phy_resetcca_nphy
.subsections_via_symbols
