	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_tm_cmd_utf_stop
_ath10k_tm_cmd_utf_stop:                ## @ath10k_tm_cmd_utf_stop
	.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, %rbx
	movq	_ATH10K_DBG_TESTMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_ath10k_dbg
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	(%rbx), %rax
	movq	_ATH10K_STATE_UTF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	___ath10k_tm_cmd_utf_stop
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ath10k_info
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_1:
	movq	_ENETDOWN@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_3:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_DBG_TESTMODE,4,2        ## @ATH10K_DBG_TESTMODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"testmode cmd utf stop\n"

	.comm	_ATH10K_STATE_UTF,8,3           ## @ATH10K_STATE_UTF
	.comm	_ENETDOWN,4,2                   ## @ENETDOWN
L_.str.1:                               ## @.str.1
	.asciz	"UTF firmware stopped\n"

	.no_dead_strip	_ath10k_tm_cmd_utf_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_tm_cmd_utf_stop
_ath10k_tm_cmd_utf_stop:                ; @ath10k_tm_cmd_utf_stop
	.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	x20, x0
Lloh0:
	adrp	x8, _ATH10K_DBG_TESTMODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH10K_DBG_TESTMODE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_ath10k_dbg
	add	x19, x20, #8
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _ATH10K_STATE_UTF@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ATH10K_STATE_UTF@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	___ath10k_tm_cmd_utf_stop
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_ath10k_info
	mov	w20, #0
	b	LBB0_3
LBB0_2:
Lloh10:
	adrp	x8, _ENETDOWN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENETDOWN@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_3:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_DBG_TESTMODE,4,2        ; @ATH10K_DBG_TESTMODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"testmode cmd utf stop\n"

	.comm	_ATH10K_STATE_UTF,8,3           ; @ATH10K_STATE_UTF
	.comm	_ENETDOWN,4,2                   ; @ENETDOWN
l_.str.1:                               ; @.str.1
	.asciz	"UTF firmware stopped\n"

	.no_dead_strip	_ath10k_tm_cmd_utf_stop
.subsections_via_symbols
