	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il_scan_initiate
_il_scan_initiate:                      ## @il_scan_initiate
	.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	%rsi, %r14
	movq	%rdi, %r12
	addq	$28, %rdi
	callq	_lockdep_assert_held
	movq	%r12, %rdi
	callq	_cancel_delayed_work
	movq	%r12, %rdi
	callq	_il_is_ready_rf
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_S_SCAN_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r12), %r15
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_IL_WARN
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	movq	_S_SCAN_ABORTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
LBB0_4:
	callq	_D_SCAN
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_5:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.3(%rip), %rdi
	callq	_D_SCAN
	movq	_S_SCANNING@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_set_bit
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
	movq	16(%r12), %rax
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %ebx
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	jmp	LBB0_11
LBB0_10:
	movl	4(%r12), %edi
	movq	_IL_SCAN_CHECK_WATCHDOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_queue_delayed_work
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Request scan called when driver not ready.\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_S_SCAN_HW,4,2                  ## @S_SCAN_HW
L_.str.1:                               ## @.str.1
	.asciz	"Multiple concurrent scan requests in parallel.\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_S_SCAN_ABORTING,4,2            ## @S_SCAN_ABORTING
L_.str.2:                               ## @.str.2
	.asciz	"Scan request while abort pending.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Starting scan...\n"

	.comm	_S_SCANNING,4,2                 ## @S_SCANNING
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_IL_SCAN_CHECK_WATCHDOG,4,2     ## @IL_SCAN_CHECK_WATCHDOG
	.no_dead_strip	_il_scan_initiate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il_scan_initiate
_il_scan_initiate:                      ; @il_scan_initiate
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	add	x0, x0, #28
	bl	_lockdep_assert_held
	mov	x0, x19
	bl	_cancel_delayed_work
	mov	x0, x19
	bl	_il_is_ready_rf
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _S_SCAN_HW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_SCAN_HW@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x21, x19, #8
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IL_WARN
Lloh7:
	adrp	x8, _EIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh9:
	adrp	x8, _S_SCAN_ABORTING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _S_SCAN_ABORTING@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_9
; %bb.5:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	bl	_D_SCAN
Lloh14:
	adrp	x8, _EBUSY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_D_SCAN
Lloh18:
	adrp	x22, _S_SCANNING@GOTPAGE
Lloh19:
	ldr	x22, [x22, _S_SCANNING@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x21
	bl	_set_bit
Lloh20:
	adrp	x8, _jiffies@GOTPAGE
Lloh21:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	mov	x20, x0
	cbz	w0, LBB0_11
; %bb.10:
	ldr	w0, [x22]
	mov	x1, x21
	bl	_clear_bit
	b	LBB0_8
LBB0_11:
	ldr	w0, [x19, #4]
Lloh23:
	adrp	x8, _IL_SCAN_CHECK_WATCHDOG@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IL_SCAN_CHECK_WATCHDOG@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_queue_delayed_work
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Request scan called when driver not ready.\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_S_SCAN_HW,4,2                  ; @S_SCAN_HW
l_.str.1:                               ; @.str.1
	.asciz	"Multiple concurrent scan requests in parallel.\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_S_SCAN_ABORTING,4,2            ; @S_SCAN_ABORTING
l_.str.2:                               ; @.str.2
	.asciz	"Scan request while abort pending.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Starting scan...\n"

	.comm	_S_SCANNING,4,2                 ; @S_SCANNING
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_IL_SCAN_CHECK_WATCHDOG,4,2     ; @IL_SCAN_CHECK_WATCHDOG
	.no_dead_strip	_il_scan_initiate
.subsections_via_symbols
