	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function motor_on_callback
_motor_on_callback:                     ## @motor_on_callback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ciaa@GOTPCREL(%rip), %rax
	movq	_DSKRDY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_on_attempts@GOTPCREL(%rip), %rax
	decq	(%rax)
	je	LBB0_2
## %bb.3:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	$1717986919, %rcx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	movslq	%ecx, %rcx
	addq	(%rax), %rcx
	movq	_motor_on_timer@GOTPCREL(%rip), %rdi
	movq	%rcx, (%rdi)
	popq	%rbp
	jmp	_add_timer                      ## TAILCALL
LBB0_2:
	movq	_motor_on_completion@GOTPCREL(%rip), %rdi
	popq	%rbp
	jmp	_complete_all                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ciaa,4,2                       ## @ciaa
	.comm	_DSKRDY,4,2                     ## @DSKRDY
	.comm	_on_attempts,8,3                ## @on_attempts
	.comm	_motor_on_completion,4,2        ## @motor_on_completion
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_motor_on_timer,8,3             ## @motor_on_timer
	.no_dead_strip	_motor_on_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function motor_on_callback
_motor_on_callback:                     ; @motor_on_callback
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ciaa@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ciaa@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DSKRDY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DSKRDY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _on_attempts@GOTPAGE
Lloh7:
	ldr	x8, [x8, _on_attempts@GOTPAGEOFF]
	ldr	x9, [x8]
	subs	x9, x9, #1
	str	x9, [x8]
	b.eq	LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _jiffies@GOTPAGE
Lloh9:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh10:
	adrp	x9, _HZ@GOTPAGE
Lloh11:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	ldrsw	x9, [x9]
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	add	x8, x8, w9, sxtw
Lloh14:
	adrp	x0, _motor_on_timer@GOTPAGE
Lloh15:
	ldr	x0, [x0, _motor_on_timer@GOTPAGEOFF]
	str	x8, [x0]
	b	_add_timer
LBB0_3:
Lloh16:
	adrp	x0, _motor_on_completion@GOTPAGE
Lloh17:
	ldr	x0, [x0, _motor_on_completion@GOTPAGEOFF]
	b	_complete_all
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ciaa,4,2                       ; @ciaa
	.comm	_DSKRDY,4,2                     ; @DSKRDY
	.comm	_on_attempts,8,3                ; @on_attempts
	.comm	_motor_on_completion,4,2        ; @motor_on_completion
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_motor_on_timer,8,3             ; @motor_on_timer
	.no_dead_strip	_motor_on_callback
.subsections_via_symbols
