	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_force_scan_end             ## -- Begin function iwl_force_scan_end
	.p2align	4, 0x90
_iwl_force_scan_end:                    ## @iwl_force_scan_end
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	addq	$4, %rdi
	callq	_lockdep_assert_held
	movq	_STATUS_SCANNING@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_IWL_DEBUG_SCAN
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	movq	_STATUS_SCAN_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	movq	_STATUS_SCAN_ABORTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	movq	_STATUS_SCAN_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	movq	%rbx, %rdi
	movl	$1, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_iwl_complete_scan              ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_IWL_DEBUG_SCAN                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_SCANNING,4,2            ## @STATUS_SCANNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Forcing scan end while not scanning\n"

L_.str.1:                               ## @.str.1
	.asciz	"Forcing scan end\n"

	.comm	_STATUS_SCAN_HW,4,2             ## @STATUS_SCAN_HW
	.comm	_STATUS_SCAN_ABORTING,4,2       ## @STATUS_SCAN_ABORTING
	.comm	_STATUS_SCAN_COMPLETE,4,2       ## @STATUS_SCAN_COMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_force_scan_end             ; -- Begin function iwl_force_scan_end
	.p2align	2
_iwl_force_scan_end:                    ; @iwl_force_scan_end
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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, #4
	bl	_lockdep_assert_held
Lloh0:
	adrp	x20, _STATUS_SCANNING@GOTPAGE
Lloh1:
	ldr	x20, [x20, _STATUS_SCANNING@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x19
	bl	_test_bit
	cbz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_SCAN
	ldr	w0, [x20]
	mov	x1, x19
	bl	_clear_bit
Lloh4:
	adrp	x8, _STATUS_SCAN_HW@GOTPAGE
Lloh5:
	ldr	x8, [x8, _STATUS_SCAN_HW@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_clear_bit
Lloh7:
	adrp	x8, _STATUS_SCAN_ABORTING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _STATUS_SCAN_ABORTING@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_clear_bit
Lloh10:
	adrp	x8, _STATUS_SCAN_COMPLETE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _STATUS_SCAN_COMPLETE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_clear_bit
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iwl_complete_scan
LBB0_2:
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_IWL_DEBUG_SCAN
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_SCANNING,4,2            ; @STATUS_SCANNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Forcing scan end while not scanning\n"

l_.str.1:                               ; @.str.1
	.asciz	"Forcing scan end\n"

	.comm	_STATUS_SCAN_HW,4,2             ; @STATUS_SCAN_HW
	.comm	_STATUS_SCAN_ABORTING,4,2       ; @STATUS_SCAN_ABORTING
	.comm	_STATUS_SCAN_COMPLETE,4,2       ; @STATUS_SCAN_COMPLETE
.subsections_via_symbols
