	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___ath10k_scan_finish           ## -- Begin function __ath10k_scan_finish
	.p2align	4, 0x90
___ath10k_scan_finish:                  ## @__ath10k_scan_finish
	.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	$36, %rdi
	callq	_lockdep_assert_held
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$131, %eax
	je	LBB0_3
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_8
LBB0_3:
	cmpl	$0, 20(%rbx)
	je	LBB0_4
## %bb.5:
	cmpl	$0, 16(%rbx)
	je	LBB0_7
## %bb.6:
	movl	32(%rbx), %edi
	callq	_ieee80211_remain_on_channel_expired
	jmp	LBB0_7
LBB0_4:
	xorl	%ecx, %ecx
	cmpl	$131, %eax
	sete	%cl
	movl	%ecx, -16(%rbp)
	movl	32(%rbx), %edi
	leaq	-16(%rbp), %rsi
	callq	_ieee80211_scan_completed
LBB0_7:
	movl	$130, (%rbx)
	movq	$0, 24(%rbx)
	movl	$0, 12(%rbx)
	movq	%rbx, %rdi
	callq	_ath10k_offchan_tx_purge
	leaq	8(%rbx), %rdi
	callq	_cancel_delayed_work
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_complete
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___ath10k_scan_finish           ; -- Begin function __ath10k_scan_finish
	.p2align	2
___ath10k_scan_finish:                  ; @__ath10k_scan_finish
	.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, #36
	bl	_lockdep_assert_held
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.1:
	cmp	w8, #131
	b.eq	LBB0_3
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_8
LBB0_3:
	ldr	w9, [x19, #20]
	cbz	w9, LBB0_6
; %bb.4:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_7
; %bb.5:
	ldr	w0, [x19, #32]
	bl	_ieee80211_remain_on_channel_expired
	b	LBB0_7
LBB0_6:
	cmp	w8, #131
	cset	w8, eq
	str	w8, [sp, #8]
	ldr	w0, [x19, #32]
	add	x1, sp, #8
	bl	_ieee80211_scan_completed
LBB0_7:
	mov	w8, #130
	str	w8, [x19]
	str	xzr, [x19, #24]
	str	wzr, [x19, #12]
	mov	x0, x19
	bl	_ath10k_offchan_tx_purge
	add	x0, x19, #8
	bl	_cancel_delayed_work
	add	x0, x19, #4
	bl	_complete
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
