	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_lcnphy_stop_tx_tone        ## -- Begin function wlc_lcnphy_stop_tx_tone
	.p2align	4, 0x90
_wlc_lcnphy_stop_tx_tone:               ## @wlc_lcnphy_stop_tx_tone
	.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	8(%rdi), %rax
	movq	$0, (%rdi)
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$2370, %esi                     ## imm = 0x942
	movl	$7, %edx
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$2363, %esi                     ## imm = 0x93B
	movl	$8215, %edx                     ## imm = 0x2017
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$2364, %esi                     ## imm = 0x93C
	movl	$10181, %edx                    ## imm = 0x27C5
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_wlc_lcnphy_txrx_spur_avoidance_mode
LBB0_2:
	movq	%rbx, %rdi
	movl	$1604, %esi                     ## imm = 0x644
	callq	_read_phy_reg
	testb	$1, %al
	jne	LBB0_3
## %bb.4:
	testb	$2, %al
	je	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	movl	$1107, %esi                     ## imm = 0x453
	movl	$32768, %edx                    ## imm = 0x8000
	xorl	%ecx, %ecx
	jmp	LBB0_6
LBB0_3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_wlc_lcnphy_tx_pu
	movq	%rbx, %rdi
	movl	$1599, %esi                     ## imm = 0x63F
	movl	$2, %edx
	movl	$2, %ecx
LBB0_6:
	callq	_mod_phy_reg
LBB0_7:
	movq	%rbx, %rdi
	movl	$1750, %esi                     ## imm = 0x6D6
	movl	$3, %edx
	movl	$1, %ecx
	callq	_mod_phy_reg
	movq	%rbx, %rdi
	movl	$1754, %esi                     ## imm = 0x6DA
	movl	$8, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%rbx, %rdi
	movl	$1754, %esi                     ## imm = 0x6DA
	movl	$128, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	_RADIO_2064_REG112@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$65529, %edx                    ## imm = 0xFFF9
	callq	_and_radio_reg
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_wlc_lcnphy_deaf_mode           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIO_2064_REG112,4,2          ## @RADIO_2064_REG112
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_lcnphy_stop_tx_tone        ; -- Begin function wlc_lcnphy_stop_tx_tone
	.p2align	2
_wlc_lcnphy_stop_tx_tone:               ; @wlc_lcnphy_stop_tx_tone
	.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, #8]
	str	xzr, [x0]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #2370
	mov	w2, #7
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #2363
	mov	w2, #8215
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #2364
	mov	w2, #10181
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #1
	bl	_wlc_lcnphy_txrx_spur_avoidance_mode
LBB0_2:
	mov	x0, x19
	mov	w1, #1604
	bl	_read_phy_reg
	tbnz	w0, #0, LBB0_5
; %bb.3:
	tbz	w0, #1, LBB0_7
; %bb.4:
	mov	x0, x19
	mov	w1, #1107
	mov	w2, #32768
	mov	w3, #0
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	mov	w1, #0
	bl	_wlc_lcnphy_tx_pu
	mov	x0, x19
	mov	w1, #1599
	mov	w2, #2
	mov	w3, #2
LBB0_6:
	bl	_mod_phy_reg
LBB0_7:
	mov	x0, x19
	mov	w1, #1750
	mov	w2, #3
	mov	w3, #1
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1754
	mov	w2, #8
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1754
	mov	w2, #128
	mov	w3, #0
	bl	_mod_phy_reg
Lloh0:
	adrp	x8, _RADIO_2064_REG112@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RADIO_2064_REG112@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #65529
	bl	_and_radio_reg
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wlc_lcnphy_deaf_mode
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIO_2064_REG112,4,2          ; @RADIO_2064_REG112
.subsections_via_symbols
