	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_umac_scan_abort
_iwl_mvm_umac_scan_abort:               ## @iwl_mvm_umac_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	addq	$8, %rdi
	callq	_lockdep_assert_held
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_iwl_mvm_scan_uid_by_status
	movl	%eax, %r15d
	movl	%eax, %edi
	shrl	$31, %edi
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%r15d, %eax
	jmp	LBB0_4
LBB0_2:
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movl	%eax, -32(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_IWL_DEBUG_SCAN
	movq	_SCAN_ABORT_UMAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IWL_ALWAYS_LONG_GROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_iwl_cmd_id
	leaq	-32(%rbp), %r8
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	movl	$4, %ecx
	callq	_iwl_mvm_send_cmd_pdu
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_IWL_MVM_SCAN_STOPPING_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r14d
	movq	(%rbx), %rax
	movslq	%r15d, %rcx
	movl	%r14d, (%rax,%rcx,4)
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sending scan abort, uid %u\n"

	.comm	_SCAN_ABORT_UMAC,4,2            ## @SCAN_ABORT_UMAC
	.comm	_IWL_ALWAYS_LONG_GROUP,4,2      ## @IWL_ALWAYS_LONG_GROUP
	.comm	_IWL_MVM_SCAN_STOPPING_SHIFT,4,2 ## @IWL_MVM_SCAN_STOPPING_SHIFT
	.no_dead_strip	_iwl_mvm_umac_scan_abort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_umac_scan_abort
_iwl_mvm_umac_scan_abort:               ; @iwl_mvm_umac_scan_abort
	.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	x20, x1
	mov	x19, x0
	add	x0, x0, #8
	bl	_lockdep_assert_held
	mov	x0, x19
	mov	x1, x20
	bl	_iwl_mvm_scan_uid_by_status
	mov	x21, x0
	lsr	w0, w0, #31
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	b	LBB0_4
LBB0_2:
	mov	x0, x21
	bl	_cpu_to_le32
	str	w0, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_IWL_DEBUG_SCAN
Lloh2:
	adrp	x8, _SCAN_ABORT_UMAC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SCAN_ABORT_UMAC@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _IWL_ALWAYS_LONG_GROUP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IWL_ALWAYS_LONG_GROUP@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_iwl_cmd_id
	mov	x1, x0
	add	x4, sp, #8
	mov	x0, x19
	mov	w2, #0
	mov	w3, #4
	bl	_iwl_mvm_send_cmd_pdu
	cbnz	w0, LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _IWL_MVM_SCAN_STOPPING_SHIFT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IWL_MVM_SCAN_STOPPING_SHIFT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	lsl	w8, w20, w8
	ldr	x9, [x19]
	str	w8, [x9, w21, sxtw #2]
LBB0_4:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sending scan abort, uid %u\n"

	.comm	_SCAN_ABORT_UMAC,4,2            ; @SCAN_ABORT_UMAC
	.comm	_IWL_ALWAYS_LONG_GROUP,4,2      ; @IWL_ALWAYS_LONG_GROUP
	.comm	_IWL_MVM_SCAN_STOPPING_SHIFT,4,2 ; @IWL_MVM_SCAN_STOPPING_SHIFT
	.no_dead_strip	_iwl_mvm_umac_scan_abort
.subsections_via_symbols
