	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_report_scan_aborted    ## -- Begin function iwl_mvm_report_scan_aborted
	.p2align	4, 0x90
_iwl_mvm_report_scan_aborted:           ## @iwl_mvm_report_scan_aborted
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	32(%rdi), %rdi
	movq	_IWL_UCODE_TLV_CAPA_UMAC_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_fw_has_capa
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	_IWL_MVM_SCAN_REGULAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_iwl_mvm_scan_uid_by_status
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	movl	%eax, %ebx
	movl	$1, -40(%rbp)
	movl	16(%r14), %edi
	leaq	-40(%rbp), %rsi
	callq	_ieee80211_scan_completed
	movq	24(%r14), %rax
	movl	%ebx, %ecx
	movq	$0, (%rax,%rcx,8)
LBB0_3:
	movq	_IWL_MVM_SCAN_SCHED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_iwl_mvm_scan_uid_by_status
	testl	%eax, %eax
	js	LBB0_6
## %bb.4:
	cmpl	$0, 20(%r14)
	jne	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	movl	16(%r14), %edi
	callq	_ieee80211_sched_scan_stopped
	movq	_SCHED_SCAN_PASS_ALL_DISABLED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	24(%r14), %rax
	movl	%ebx, %ecx
	movq	$0, (%rax,%rcx,8)
LBB0_6:
	cmpl	$0, (%r14)
	jle	LBB0_16
## %bb.7:
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r15
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jge	LBB0_16
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_WARN_ONCE
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	24(%r14), %rax
	movq	$0, (%rax,%rbx,8)
	jmp	LBB0_10
LBB0_11:
	movl	4(%r14), %eax
	movq	_IWL_MVM_SCAN_REGULAR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.12:
	movl	$1, -32(%rbp)
	movl	16(%r14), %edi
	leaq	-32(%rbp), %rsi
	callq	_ieee80211_scan_completed
	movl	4(%r14), %eax
LBB0_13:
	movq	_IWL_MVM_SCAN_SCHED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.14:
	cmpl	$0, 20(%r14)
	jne	LBB0_16
## %bb.15:
	movl	16(%r14), %edi
	callq	_ieee80211_sched_scan_stopped
	movq	_SCHED_SCAN_PASS_ALL_DISABLED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_UCODE_TLV_CAPA_UMAC_SCAN,4,2 ## @IWL_UCODE_TLV_CAPA_UMAC_SCAN
	.comm	_IWL_MVM_SCAN_REGULAR,4,2       ## @IWL_MVM_SCAN_REGULAR
	.comm	_IWL_MVM_SCAN_SCHED,4,2         ## @IWL_MVM_SCAN_SCHED
	.comm	_SCHED_SCAN_PASS_ALL_DISABLED,8,3 ## @SCHED_SCAN_PASS_ALL_DISABLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"UMAC scan UID %d status was not cleaned\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_report_scan_aborted    ; -- Begin function iwl_mvm_report_scan_aborted
	.p2align	2
_iwl_mvm_report_scan_aborted:           ; @iwl_mvm_report_scan_aborted
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x0, [x0, #32]
Lloh0:
	adrp	x8, _IWL_UCODE_TLV_CAPA_UMAC_SCAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_UCODE_TLV_CAPA_UMAC_SCAN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_fw_has_capa
	cbz	x0, LBB0_11
; %bb.1:
Lloh3:
	adrp	x8, _IWL_MVM_SCAN_REGULAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IWL_MVM_SCAN_REGULAR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_iwl_mvm_scan_uid_by_status
	tbnz	w0, #31, LBB0_3
; %bb.2:
	mov	x20, x0
	mov	w8, #1
	str	w8, [sp, #8]
	ldr	w0, [x19, #16]
	add	x1, sp, #8
	bl	_ieee80211_scan_completed
	ldr	x8, [x19, #24]
	str	xzr, [x8, w20, uxtw #3]
LBB0_3:
Lloh6:
	adrp	x8, _IWL_MVM_SCAN_SCHED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IWL_MVM_SCAN_SCHED@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_iwl_mvm_scan_uid_by_status
	tbnz	w0, #31, LBB0_6
; %bb.4:
	ldr	w8, [x19, #20]
	cbnz	w8, LBB0_6
; %bb.5:
	mov	x20, x0
	ldr	w0, [x19, #16]
	bl	_ieee80211_sched_scan_stopped
Lloh9:
	adrp	x8, _SCHED_SCAN_PASS_ALL_DISABLED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SCHED_SCAN_PASS_ALL_DISABLED@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	ldr	x8, [x19, #24]
	str	xzr, [x8, w20, uxtw #3]
LBB0_6:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.7:
	mov	x20, #0
Lloh12:
	adrp	x21, l_.str@PAGE
Lloh13:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.ge	LBB0_16
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x0, [x8, x20, lsl #3]
	mov	x1, x21
	mov	x2, x20
	bl	_WARN_ONCE
	cbz	x0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x19, #24]
	str	xzr, [x8, x20, lsl #3]
	b	LBB0_8
LBB0_11:
	ldr	w8, [x19, #4]
Lloh14:
	adrp	x9, _IWL_MVM_SCAN_REGULAR@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IWL_MVM_SCAN_REGULAR@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
	mov	w8, #1
	str	w8, [sp]
	ldr	w0, [x19, #16]
	mov	x1, sp
	bl	_ieee80211_scan_completed
	ldr	w8, [x19, #4]
LBB0_13:
Lloh17:
	adrp	x9, _IWL_MVM_SCAN_SCHED@GOTPAGE
Lloh18:
	ldr	x9, [x9, _IWL_MVM_SCAN_SCHED@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.14:
	ldr	w8, [x19, #20]
	cbnz	w8, LBB0_16
; %bb.15:
	ldr	w0, [x19, #16]
	bl	_ieee80211_sched_scan_stopped
Lloh20:
	adrp	x8, _SCHED_SCAN_PASS_ALL_DISABLED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SCHED_SCAN_PASS_ALL_DISABLED@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_UCODE_TLV_CAPA_UMAC_SCAN,4,2 ; @IWL_UCODE_TLV_CAPA_UMAC_SCAN
	.comm	_IWL_MVM_SCAN_REGULAR,4,2       ; @IWL_MVM_SCAN_REGULAR
	.comm	_IWL_MVM_SCAN_SCHED,4,2         ; @IWL_MVM_SCAN_SCHED
	.comm	_SCHED_SCAN_PASS_ALL_DISABLED,8,3 ; @SCHED_SCAN_PASS_ALL_DISABLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UMAC scan UID %d status was not cleaned\n"

.subsections_via_symbols
