	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il_do_scan_abort
_il_do_scan_abort:                      ## @il_do_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	addq	$4, %rdi
	callq	_lockdep_assert_held
	movq	_S_SCANNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	_S_SCAN_ABORTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_5:
	movq	%rbx, %rdi
	callq	_il_send_scan_abort
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_D_SCAN
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_il_force_scan_end              ## TAILCALL
LBB0_6:
	leaq	L_.str.3(%rip), %rdi
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_D_SCAN                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_S_SCANNING,4,2                 ## @S_SCANNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not performing scan to abort\n"

	.comm	_S_SCAN_ABORTING,4,2            ## @S_SCAN_ABORTING
L_.str.1:                               ## @.str.1
	.asciz	"Scan abort in progress\n"

L_.str.2:                               ## @.str.2
	.asciz	"Send scan abort failed %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"Successfully send scan abort\n"

	.no_dead_strip	_il_do_scan_abort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il_do_scan_abort
_il_do_scan_abort:                      ; @il_do_scan_abort
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x8, _S_SCANNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_SCANNING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	w0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _S_SCAN_ABORTING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S_SCAN_ABORTING@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_and_set_bit
	cbz	x0, LBB0_4
; %bb.2:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_3:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_il_send_scan_abort
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_6
; %bb.5:
	str	x0, [sp]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_D_SCAN
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_il_force_scan_end
LBB0_6:
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_D_SCAN
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_S_SCANNING,4,2                 ; @S_SCANNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not performing scan to abort\n"

	.comm	_S_SCAN_ABORTING,4,2            ; @S_SCAN_ABORTING
l_.str.1:                               ; @.str.1
	.asciz	"Scan abort in progress\n"

l_.str.2:                               ; @.str.2
	.asciz	"Send scan abort failed %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"Successfully send scan abort\n"

	.no_dead_strip	_il_do_scan_abort
.subsections_via_symbols
