	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_rx_umac_scan_complete_notif ## -- Begin function iwl_mvm_rx_umac_scan_complete_notif
	.p2align	4, 0x90
_iwl_mvm_rx_umac_scan_complete_notif:   ## @iwl_mvm_rx_umac_scan_complete_notif
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_rxb_addr
	movq	(%rax), %r13
	movl	28(%r13), %edi
	callq	___le32_to_cpu
	movq	(%r13), %rcx
	movq	_IWL_SCAN_OFFLOAD_ABORTED@GOTPCREL(%rip), %rdx
	xorl	%r15d, %r15d
	cmpq	(%rdx), %rcx
	movslq	%eax, %r14
	sete	%r12b
	movq	(%rbx), %rax
	movl	8(%rbx), %ecx
	xorl	%edi, %edi
	andl	(%rax,%r14,4), %ecx
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movq	(%rbx), %rax
	movl	(%rax,%r14,4), %eax
	movq	_IWL_MVM_SCAN_REGULAR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.2:
	movb	%r12b, %r15b
	movl	%r15d, -56(%rbp)
	movl	$0, -52(%rbp)
	movl	40(%rbx), %eax
	movl	%eax, -48(%rbp)
	movq	32(%rbx), %rax
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	callq	_memcpy
	movl	20(%rbx), %edi
	leaq	-56(%rbp), %rsi
	callq	_ieee80211_scan_completed
	movq	$0, 32(%rbx)
	leaq	24(%rbx), %rdi
	callq	_cancel_delayed_work
	movq	%rbx, %rdi
	callq	_iwl_mvm_resume_tcm
	jmp	LBB0_5
LBB0_3:
	movq	_IWL_MVM_SCAN_SCHED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:
	movl	20(%rbx), %edi
	callq	_ieee80211_sched_scan_stopped
	movq	_SCHED_SCAN_PASS_ALL_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
LBB0_5:
	movq	(%rbx), %rax
	movl	(%rax,%r14,4), %ecx
	notl	%ecx
	andl	%ecx, 8(%rbx)
	movl	(%rax,%r14,4), %r15d
	movq	_IWL_SCAN_OFFLOAD_COMPLETED@GOTPCREL(%rip), %rax
	movq	(%r13), %rcx
	movq	8(%r13), %rdi
	cmpq	(%rax), %rcx
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %r12
	cmoveq	%rax, %r12
	callq	_iwl_mvm_ebs_status_str
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movl	%r15d, %ecx
	movq	%r12, %r8
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_IWL_DEBUG_SCAN
	movslq	24(%r13), %r15
	movl	16(%r13), %edi
	movl	20(%r13), %r12d
	callq	___le32_to_cpu
	movslq	%eax, %r8
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_IWL_DEBUG_SCAN
	movq	8(%r13), %rax
	movq	_IWL_SCAN_EBS_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.6:
	movq	_IWL_SCAN_EBS_INACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	movl	$0, 12(%rbx)
LBB0_8:
	movq	(%rbx), %rax
	movl	$0, (%rax,%r14,4)
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_SCAN_OFFLOAD_ABORTED,8,3   ## @IWL_SCAN_OFFLOAD_ABORTED
	.comm	_IWL_MVM_SCAN_REGULAR,4,2       ## @IWL_MVM_SCAN_REGULAR
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_IWL_MVM_SCAN_SCHED,4,2         ## @IWL_MVM_SCAN_SCHED
	.comm	_SCHED_SCAN_PASS_ALL_DISABLED,4,2 ## @SCHED_SCAN_PASS_ALL_DISABLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Scan completed, uid %u type %u, status %s, EBS status %s\n"

	.comm	_IWL_SCAN_OFFLOAD_COMPLETED,8,3 ## @IWL_SCAN_OFFLOAD_COMPLETED
L_.str.1:                               ## @.str.1
	.asciz	"completed"

L_.str.2:                               ## @.str.2
	.asciz	"aborted"

L_.str.3:                               ## @.str.3
	.asciz	"Last line %d, Last iteration %d, Time from last iteration %d\n"

	.comm	_IWL_SCAN_EBS_SUCCESS,8,3       ## @IWL_SCAN_EBS_SUCCESS
	.comm	_IWL_SCAN_EBS_INACTIVE,8,3      ## @IWL_SCAN_EBS_INACTIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_rx_umac_scan_complete_notif ; -- Begin function iwl_mvm_rx_umac_scan_complete_notif
	.p2align	2
_iwl_mvm_rx_umac_scan_complete_notif:   ; @iwl_mvm_rx_umac_scan_complete_notif
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	mov	x0, x1
	bl	_rxb_addr
	ldr	x23, [x0]
	ldr	w0, [x23, #28]
	bl	___le32_to_cpu
	mov	x20, x0
	ldr	x8, [x23]
Lloh0:
	adrp	x9, _IWL_SCAN_OFFLOAD_ABORTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IWL_SCAN_OFFLOAD_ABORTED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w21, eq
	ldr	x8, [x19]
	ldr	w8, [x8, w0, sxtw #2]
	ldr	w9, [x19, #8]
	tst	w9, w8
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_9
; %bb.1:
	sxtw	x20, w20
	ldr	x8, [x19]
	ldr	w8, [x8, x20, lsl #2]
Lloh3:
	adrp	x9, _IWL_MVM_SCAN_REGULAR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IWL_MVM_SCAN_REGULAR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
	stp	w21, wzr, [sp, #16]
	ldr	w8, [x19, #40]
	str	w8, [sp, #24]
	ldr	x8, [x19, #32]
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	w0, #0
	bl	_memcpy
	ldr	w0, [x19, #20]
	add	x1, sp, #16
	bl	_ieee80211_scan_completed
	str	xzr, [x19, #32]
	add	x0, x19, #24
	bl	_cancel_delayed_work
	mov	x0, x19
	bl	_iwl_mvm_resume_tcm
	b	LBB0_5
LBB0_3:
Lloh9:
	adrp	x9, _IWL_MVM_SCAN_SCHED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IWL_MVM_SCAN_SCHED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.4:
	ldr	w0, [x19, #20]
	bl	_ieee80211_sched_scan_stopped
Lloh12:
	adrp	x8, _SCHED_SCAN_PASS_ALL_DISABLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SCHED_SCAN_PASS_ALL_DISABLED@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #16]
LBB0_5:
	ldr	x8, [x19]
	lsl	x9, x20, #2
	ldr	w10, [x8, x9]
	ldr	w11, [x19, #8]
	bic	w10, w11, w10
	str	w10, [x19, #8]
	ldr	w21, [x8, x9]
Lloh15:
	adrp	x8, _IWL_SCAN_OFFLOAD_COMPLETED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IWL_SCAN_OFFLOAD_COMPLETED@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, l_.str.2@PAGE
Lloh19:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh20:
	adrp	x10, l_.str.1@PAGE
Lloh21:
	add	x10, x10, l_.str.1@PAGEOFF
	ldp	x11, x0, [x23]
	cmp	x11, x8
	csel	x22, x10, x9, eq
	bl	_iwl_mvm_ebs_status_str
                                        ; kill: def $w0 killed $w0 def $x0
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	str	x0, [sp]
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	mov	x4, x22
	bl	_IWL_DEBUG_SCAN
	ldp	w22, w21, [x23, #20]
                                        ; kill: def $w21 killed $w21 def $x21
	sxtw	x21, w21
	ldr	w0, [x23, #16]
	bl	___le32_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x4, w0
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	mov	x3, x22
	bl	_IWL_DEBUG_SCAN
	ldr	x8, [x23, #8]
Lloh26:
	adrp	x9, _IWL_SCAN_EBS_SUCCESS@GOTPAGE
Lloh27:
	ldr	x9, [x9, _IWL_SCAN_EBS_SUCCESS@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.6:
Lloh29:
	adrp	x9, _IWL_SCAN_EBS_INACTIVE@GOTPAGE
Lloh30:
	ldr	x9, [x9, _IWL_SCAN_EBS_INACTIVE@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.7:
	str	wzr, [x19, #12]
LBB0_8:
	ldr	x8, [x19]
	str	wzr, [x8, x20, lsl #2]
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_SCAN_OFFLOAD_ABORTED,8,3   ; @IWL_SCAN_OFFLOAD_ABORTED
	.comm	_IWL_MVM_SCAN_REGULAR,4,2       ; @IWL_MVM_SCAN_REGULAR
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_IWL_MVM_SCAN_SCHED,4,2         ; @IWL_MVM_SCAN_SCHED
	.comm	_SCHED_SCAN_PASS_ALL_DISABLED,4,2 ; @SCHED_SCAN_PASS_ALL_DISABLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Scan completed, uid %u type %u, status %s, EBS status %s\n"

	.comm	_IWL_SCAN_OFFLOAD_COMPLETED,8,3 ; @IWL_SCAN_OFFLOAD_COMPLETED
l_.str.1:                               ; @.str.1
	.asciz	"completed"

l_.str.2:                               ; @.str.2
	.asciz	"aborted"

l_.str.3:                               ; @.str.3
	.asciz	"Last line %d, Last iteration %d, Time from last iteration %d\n"

	.comm	_IWL_SCAN_EBS_SUCCESS,8,3       ; @IWL_SCAN_EBS_SUCCESS
	.comm	_IWL_SCAN_EBS_INACTIVE,8,3      ; @IWL_SCAN_EBS_INACTIVE
.subsections_via_symbols
