	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_scan_abort
_ath10k_scan_abort:                     ## @ath10k_scan_abort
	.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
	addq	$8, %rdi
	callq	_lockdep_assert_held
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movl	4(%rbx), %edi
	cmpl	$131, %edi
	je	LBB0_3
## %bb.1:
	cmpl	$129, %edi
	je	LBB0_4
## %bb.2:
	cmpl	$128, %edi
	jne	LBB0_7
LBB0_3:
	callq	_ath10k_scan_state_str
	movl	4(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_ath10k_warn
	jmp	LBB0_7
LBB0_4:
	movl	$131, 4(%rbx)
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	movq	%rbx, %rdi
	callq	_ath10k_scan_stop
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_6:
	movq	%rbx, %rdi
	callq	_spin_lock_bh
LBB0_7:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"refusing scan abortion due to invalid scan state: %s (%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to abort scan: %d\n"

	.no_dead_strip	_ath10k_scan_abort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_scan_abort
_ath10k_scan_abort:                     ; @ath10k_scan_abort
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	add	x0, x0, #8
	bl	_lockdep_assert_held
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	w0, [x19, #4]
	cmp	w0, #131
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w0, #128
	b.ne	LBB0_7
LBB0_3:
	bl	_ath10k_scan_state_str
	mov	x2, x0
	ldr	w8, [x19, #4]
	str	x8, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
	b	LBB0_7
LBB0_4:
	mov	w8, #131
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_spin_unlock_bh
	mov	x0, x19
	bl	_ath10k_scan_stop
	cbz	w0, LBB0_6
; %bb.5:
	mov	x2, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
LBB0_6:
	mov	x0, x19
	bl	_spin_lock_bh
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_spin_unlock_bh
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"refusing scan abortion due to invalid scan state: %s (%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to abort scan: %d\n"

	.no_dead_strip	_ath10k_scan_abort
.subsections_via_symbols
