	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_rx_lmac_scan_complete_notif ## -- Begin function iwl_mvm_rx_lmac_scan_complete_notif
	.p2align	4, 0x90
_iwl_mvm_rx_lmac_scan_complete_notif:   ## @iwl_mvm_rx_lmac_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_rxb_addr
	movq	(%rax), %r12
	movq	(%r12), %r15
	movq	_IWL_SCAN_OFFLOAD_ABORTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpq	%rbx, %r15
	sete	%r13b
	movq	24(%r14), %rdi
	movq	_IWL_UCODE_TLV_CAPA_UMAC_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_fw_has_capa
	movl	%eax, %edi
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_12
## %bb.1:
	leaq	20(%r14), %rdi
	callq	_lockdep_assert_held
	movl	(%r14), %eax
	movq	_IWL_MVM_SCAN_STOPPING_SCHED@GOTPCREL(%rip), %rcx
	movq	_IWL_MVM_SCAN_STOPPING_REGULAR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	andl	%eax, %edi
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	%rcx, %r13
	callq	_WARN_ON_ONCE
	cmpq	%rbx, %r15
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rbx
	cmoveq	%rax, %rbx
	movq	8(%r12), %rdi
	callq	_iwl_mvm_ebs_status_str
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_IWL_DEBUG_SCAN
	movslq	24(%r12), %r15
	movl	16(%r12), %edi
	movl	20(%r12), %ebx
	callq	___le32_to_cpu
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_IWL_DEBUG_SCAN
	movl	(%r13), %eax
	jmp	LBB0_5
LBB0_3:
	testl	%edi, %edi
	je	LBB0_6
## %bb.4:
	cmpq	%rbx, %r15
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rbx
	cmoveq	%rax, %rbx
	movq	8(%r12), %rdi
	movq	%rdx, %r15
	callq	_iwl_mvm_ebs_status_str
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_IWL_DEBUG_SCAN
	movl	(%r15), %eax
LBB0_5:
	notl	%eax
	andl	%eax, (%r14)
LBB0_11:
	movq	8(%r12), %rax
	movq	_IWL_SCAN_EBS_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_IWL_SCAN_EBS_INACTIVE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %eax
	movl	%eax, 4(%r14)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_IWL_MVM_SCAN_SCHED@GOTPCREL(%rip), %rcx
	movq	_IWL_MVM_SCAN_REGULAR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	andl	%eax, %edi
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	%rcx, %r13
	callq	_WARN_ON_ONCE
	cmpq	%rbx, %r15
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rbx
	cmoveq	%rax, %rbx
	movq	8(%r12), %rdi
	callq	_iwl_mvm_ebs_status_str
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_IWL_DEBUG_SCAN
	movslq	24(%r12), %r15
	movl	16(%r12), %edi
	movl	20(%r12), %ebx
	callq	___le32_to_cpu
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_IWL_DEBUG_SCAN
	movl	(%r13), %eax
	notl	%eax
	andl	%eax, (%r14)
	movl	12(%r14), %edi
	callq	_ieee80211_sched_scan_stopped
	movq	_SCHED_SCAN_PASS_ALL_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	jmp	LBB0_11
LBB0_8:
	testl	%edi, %edi
	je	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	movb	%r13b, %al
	cmpq	%rbx, %r15
	movl	%eax, -48(%rbp)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rbx
	cmoveq	%rax, %rbx
	movq	8(%r12), %rdi
	movq	%rdx, %r15
	callq	_iwl_mvm_ebs_status_str
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_IWL_DEBUG_SCAN
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, (%r14)
	movl	12(%r14), %edi
	leaq	-48(%rbp), %rsi
	callq	_ieee80211_scan_completed
	leaq	8(%r14), %rdi
	callq	_cancel_delayed_work
	movq	%r14, %rdi
	callq	_iwl_mvm_resume_tcm
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	callq	_IWL_ERR
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_SCAN_OFFLOAD_ABORTED,8,3   ## @IWL_SCAN_OFFLOAD_ABORTED
	.comm	_IWL_UCODE_TLV_CAPA_UMAC_SCAN,4,2 ## @IWL_UCODE_TLV_CAPA_UMAC_SCAN
	.comm	_IWL_MVM_SCAN_STOPPING_SCHED,4,2 ## @IWL_MVM_SCAN_STOPPING_SCHED
	.comm	_IWL_MVM_SCAN_STOPPING_REGULAR,4,2 ## @IWL_MVM_SCAN_STOPPING_REGULAR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Scheduled scan %s, EBS status %s\n"

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

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

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

L_.str.4:                               ## @.str.4
	.asciz	"Regular scan %s, EBS status %s\n"

	.comm	_IWL_MVM_SCAN_SCHED,4,2         ## @IWL_MVM_SCAN_SCHED
	.comm	_IWL_MVM_SCAN_REGULAR,4,2       ## @IWL_MVM_SCAN_REGULAR
L_.str.5:                               ## @.str.5
	.asciz	"Last line %d, Last iteration %d, Time after last iteration %d (FW)\n"

	.comm	_SCHED_SCAN_PASS_ALL_DISABLED,4,2 ## @SCHED_SCAN_PASS_ALL_DISABLED
L_.str.6:                               ## @.str.6
	.asciz	"Regular scan %s, EBS status %s (FW)\n"

L_.str.7:                               ## @.str.7
	.asciz	"got scan complete notification but no scan is running\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_lmac_scan_complete_notif ; -- Begin function iwl_mvm_rx_lmac_scan_complete_notif
	.p2align	2
_iwl_mvm_rx_lmac_scan_complete_notif:   ; @iwl_mvm_rx_lmac_scan_complete_notif
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	mov	x0, x1
	bl	_rxb_addr
	ldr	x22, [x0]
	ldr	x20, [x22]
Lloh0:
	adrp	x8, _IWL_SCAN_OFFLOAD_ABORTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_SCAN_OFFLOAD_ABORTED@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	cmp	x20, x21
	cset	w23, eq
	ldr	x0, [x19, #24]
Lloh3:
	adrp	x8, _IWL_UCODE_TLV_CAPA_UMAC_SCAN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IWL_UCODE_TLV_CAPA_UMAC_SCAN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_fw_has_capa
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_7
; %bb.1:
	add	x0, x19, #20
	bl	_lockdep_assert_held
	ldr	w8, [x19]
Lloh6:
	adrp	x24, _IWL_MVM_SCAN_STOPPING_SCHED@GOTPAGE
Lloh7:
	ldr	x24, [x24, _IWL_MVM_SCAN_STOPPING_SCHED@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh8:
	adrp	x25, _IWL_MVM_SCAN_STOPPING_REGULAR@GOTPAGE
Lloh9:
	ldr	x25, [x25, _IWL_MVM_SCAN_STOPPING_REGULAR@GOTPAGEOFF]
	ldr	w10, [x25]
	and	w0, w10, w8
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	bl	_WARN_ON_ONCE
Lloh10:
	adrp	x8, l_.str.2@PAGE
Lloh11:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh12:
	adrp	x9, l_.str.1@PAGE
Lloh13:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x20, x21
	csel	x20, x9, x8, eq
	ldr	x0, [x22, #8]
	bl	_iwl_mvm_ebs_status_str
	mov	x3, x0
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_IWL_DEBUG_SCAN
	ldp	w21, w20, [x22, #20]
                                        ; kill: def $w20 killed $w20 def $x20
	sxtw	x20, w20
	ldr	w0, [x22, #16]
	bl	___le32_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	bl	_IWL_DEBUG_SCAN
	ldr	w8, [x24]
	b	LBB0_5
LBB0_3:
	cbz	w0, LBB0_8
; %bb.4:
Lloh18:
	adrp	x8, l_.str.2@PAGE
Lloh19:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh20:
	adrp	x9, l_.str.1@PAGE
Lloh21:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x20, x21
	csel	x20, x9, x8, eq
	ldr	x0, [x22, #8]
	bl	_iwl_mvm_ebs_status_str
	mov	x3, x0
Lloh22:
	adrp	x1, l_.str.4@PAGE
Lloh23:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_IWL_DEBUG_SCAN
	ldr	w8, [x25]
LBB0_5:
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
LBB0_6:
	ldr	x8, [x22, #8]
Lloh24:
	adrp	x9, _IWL_SCAN_EBS_SUCCESS@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IWL_SCAN_EBS_SUCCESS@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh27:
	adrp	x9, _IWL_SCAN_EBS_INACTIVE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IWL_SCAN_EBS_INACTIVE@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w8, eq
	str	w8, [x19, #4]
LBB0_7:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_8:
Lloh30:
	adrp	x24, _IWL_MVM_SCAN_SCHED@GOTPAGE
Lloh31:
	ldr	x24, [x24, _IWL_MVM_SCAN_SCHED@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh32:
	adrp	x25, _IWL_MVM_SCAN_REGULAR@GOTPAGE
Lloh33:
	ldr	x25, [x25, _IWL_MVM_SCAN_REGULAR@GOTPAGEOFF]
	ldr	w10, [x25]
	and	w0, w10, w8
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
	bl	_WARN_ON_ONCE
Lloh34:
	adrp	x8, l_.str.2@PAGE
Lloh35:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh36:
	adrp	x9, l_.str.1@PAGE
Lloh37:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x20, x21
	csel	x20, x9, x8, eq
	ldr	x0, [x22, #8]
	bl	_iwl_mvm_ebs_status_str
	mov	x3, x0
Lloh38:
	adrp	x1, l_.str@PAGE
Lloh39:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_IWL_DEBUG_SCAN
	ldp	w21, w20, [x22, #20]
                                        ; kill: def $w20 killed $w20 def $x20
	sxtw	x20, w20
	ldr	w0, [x22, #16]
	bl	___le32_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh40:
	adrp	x1, l_.str.5@PAGE
Lloh41:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	bl	_IWL_DEBUG_SCAN
	ldr	w8, [x24]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	ldr	w0, [x19, #12]
	bl	_ieee80211_sched_scan_stopped
Lloh42:
	adrp	x8, _SCHED_SCAN_PASS_ALL_DISABLED@GOTPAGE
Lloh43:
	ldr	x8, [x8, _SCHED_SCAN_PASS_ALL_DISABLED@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	b	LBB0_6
LBB0_10:
	cbz	w0, LBB0_12
; %bb.11:
Lloh45:
	adrp	x8, l_.str.2@PAGE
Lloh46:
	add	x8, x8, l_.str.2@PAGEOFF
	str	w23, [sp, #8]
Lloh47:
	adrp	x9, l_.str.1@PAGE
Lloh48:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x20, x21
	csel	x20, x9, x8, eq
	ldr	x0, [x22, #8]
	bl	_iwl_mvm_ebs_status_str
	mov	x3, x0
Lloh49:
	adrp	x1, l_.str.6@PAGE
Lloh50:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_IWL_DEBUG_SCAN
	ldr	w8, [x25]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	ldr	w0, [x19, #12]
	add	x1, sp, #8
	bl	_ieee80211_scan_completed
	add	x0, x19, #8
	bl	_cancel_delayed_work
	mov	x0, x19
	bl	_iwl_mvm_resume_tcm
	b	LBB0_6
LBB0_12:
Lloh51:
	adrp	x1, l_.str.7@PAGE
Lloh52:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_IWL_ERR
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_SCAN_OFFLOAD_ABORTED,8,3   ; @IWL_SCAN_OFFLOAD_ABORTED
	.comm	_IWL_UCODE_TLV_CAPA_UMAC_SCAN,4,2 ; @IWL_UCODE_TLV_CAPA_UMAC_SCAN
	.comm	_IWL_MVM_SCAN_STOPPING_SCHED,4,2 ; @IWL_MVM_SCAN_STOPPING_SCHED
	.comm	_IWL_MVM_SCAN_STOPPING_REGULAR,4,2 ; @IWL_MVM_SCAN_STOPPING_REGULAR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Scheduled scan %s, EBS status %s\n"

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

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

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

l_.str.4:                               ; @.str.4
	.asciz	"Regular scan %s, EBS status %s\n"

	.comm	_IWL_MVM_SCAN_SCHED,4,2         ; @IWL_MVM_SCAN_SCHED
	.comm	_IWL_MVM_SCAN_REGULAR,4,2       ; @IWL_MVM_SCAN_REGULAR
l_.str.5:                               ; @.str.5
	.asciz	"Last line %d, Last iteration %d, Time after last iteration %d (FW)\n"

	.comm	_SCHED_SCAN_PASS_ALL_DISABLED,4,2 ; @SCHED_SCAN_PASS_ALL_DISABLED
l_.str.6:                               ; @.str.6
	.asciz	"Regular scan %s, EBS status %s (FW)\n"

l_.str.7:                               ; @.str.7
	.asciz	"got scan complete notification but no scan is running\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
