	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function start_motor
_start_motor:                           ## @start_motor
	.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	%rdi, %r14
	movq	_current_drive@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_UNIT
	movl	%eax, %r15d
	movq	_raw_cmd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FD_RAW_NO_MOTOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	(%rax), %ebx
	movq	_FDCS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %r13d
	movq	(%r12), %rdi
	callq	_UNIT
	movl	$16, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	andl	%r13d, %edx
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.3:
	testl	%edx, %edx
	je	LBB0_4
## %bb.5:
	movq	(%r12), %rdi
	callq	_UNIT
	movl	$16, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	movzbl	%dl, %ebx
	xorl	$252, %ebx
	jmp	LBB0_6
LBB0_1:
	movl	$252, %ebx
	testl	%edx, %edx
	jne	LBB0_6
## %bb.2:
	xorl	%eax, %eax
	callq	_set_debugt
	movq	_DRS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, 16(%rax)
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	(%r12), %rdi
	callq	_UNIT
	movl	$16, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	orl	%edx, %r15d
	jmp	LBB0_6
LBB0_4:
	movl	$252, %ebx
LBB0_6:
	movq	_motor_off_timer@GOTPCREL(%rip), %rax
	movq	(%r12), %rdi
	addq	(%rax), %rdi
	callq	_del_timer
	movq	_fdc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_set_dor
	movq	_DRS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_DP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fd_wait_for_completion         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_current_drive,8,3              ## @current_drive
	.comm	_raw_cmd,8,3                    ## @raw_cmd
	.comm	_FD_RAW_NO_MOTOR,4,2            ## @FD_RAW_NO_MOTOR
	.comm	_FDCS,8,3                       ## @FDCS
	.comm	_DRS,8,3                        ## @DRS
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_motor_off_timer,8,3            ## @motor_off_timer
	.comm	_fdc,4,2                        ## @fdc
	.comm	_DP,8,3                         ## @DP
	.no_dead_strip	_start_motor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function start_motor
_start_motor:                           ; @start_motor
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x22, _current_drive@GOTPAGE
Lloh1:
	ldr	x22, [x22, _current_drive@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_UNIT
	mov	x20, x0
Lloh2:
	adrp	x8, _raw_cmd@GOTPAGE
Lloh3:
	ldr	x8, [x8, _raw_cmd@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _FD_RAW_NO_MOTOR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FD_RAW_NO_MOTOR@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	and	w21, w9, w8
Lloh8:
	adrp	x8, _FDCS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FDCS@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	w23, [x8]
	ldr	x0, [x22]
	bl	_UNIT
	mov	w8, #16
	lsl	w8, w8, w0
	and	w8, w8, w23
Lloh11:
	adrp	x23, _DRS@GOTPAGE
Lloh12:
	ldr	x23, [x23, _DRS@GOTPAGEOFF]
	cbz	w21, LBB0_3
; %bb.1:
	cbz	w8, LBB0_5
; %bb.2:
	ldr	x0, [x22]
	bl	_UNIT
	mov	w8, #16
	lsl	w8, w8, w0
	and	w8, w8, #0xf0
	eor	w21, w8, #0xfc
	b	LBB0_6
LBB0_3:
	cbnz	w8, LBB0_5
; %bb.4:
	bl	_set_debugt
	ldr	x8, [x23]
	str	xzr, [x8, #16]
Lloh13:
	adrp	x9, _jiffies@GOTPAGE
Lloh14:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	str	w9, [x8, #8]
	ldr	x0, [x22]
	bl	_UNIT
	mov	w8, #16
	lsl	w8, w8, w0
	orr	w20, w8, w20
LBB0_5:
	mov	w21, #252
LBB0_6:
Lloh16:
	adrp	x8, _motor_off_timer@GOTPAGE
Lloh17:
	ldr	x8, [x8, _motor_off_timer@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_del_timer
Lloh19:
	adrp	x8, _fdc@GOTPAGE
Lloh20:
	ldr	x8, [x8, _fdc@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	x1, x21
	mov	x2, x20
	bl	_set_dor
	ldr	x8, [x23]
Lloh22:
	adrp	x9, _DP@GOTPAGE
Lloh23:
	ldr	x9, [x9, _DP@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh24:
	ldr	x9, [x9]
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	x1, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_fd_wait_for_completion
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_current_drive,8,3              ; @current_drive
	.comm	_raw_cmd,8,3                    ; @raw_cmd
	.comm	_FD_RAW_NO_MOTOR,4,2            ; @FD_RAW_NO_MOTOR
	.comm	_FDCS,8,3                       ; @FDCS
	.comm	_DRS,8,3                        ; @DRS
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_motor_off_timer,8,3            ; @motor_off_timer
	.comm	_fdc,4,2                        ; @fdc
	.comm	_DP,8,3                         ; @DP
	.no_dead_strip	_start_motor
.subsections_via_symbols
