	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function finish_fdc_done
_finish_fdc_done:                       ## @finish_fdc_done
	.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
	leaq	L_.str(%rip), %rdi
	callq	_DPRINT
	xorl	%eax, %eax
	callq	_stop_timeout
	movq	_NeedSeek@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_fd_timer@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_timer_pending
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	(%rbx), %edi
	movq	_jiffies@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	addq	$5, %rsi
	callq	_time_before
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %rsi
	addq	$5, %rsi
	movq	_fd_timer@GOTPCREL(%rip), %rdi
	callq	_mod_timer
	jmp	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	callq	_start_check_change_timer
LBB0_4:
	xorl	%eax, %eax
	callq	_start_motor_off_timer
	callq	_local_irq_save
	xorl	%eax, %eax
	callq	_stdma_release
	movq	_fdc_busy@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_fdc_wait@GOTPCREL(%rip), %rdi
	callq	_wake_up
	callq	_local_irq_restore
	leaq	L_.str.1(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_DPRINT                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"finish_fdc_done entered\n"

	.comm	_NeedSeek,8,3                   ## @NeedSeek
	.comm	_fd_timer,4,2                   ## @fd_timer
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_fdc_busy,8,3                   ## @fdc_busy
	.comm	_fdc_wait,4,2                   ## @fdc_wait
L_.str.1:                               ## @.str.1
	.asciz	"finish_fdc() finished\n"

	.no_dead_strip	_finish_fdc_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function finish_fdc_done
_finish_fdc_done:                       ; @finish_fdc_done
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINT
	bl	_stop_timeout
Lloh2:
	adrp	x8, _NeedSeek@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NeedSeek@GOTPAGEOFF]
Lloh4:
	str	xzr, [x8]
Lloh5:
	adrp	x19, _fd_timer@GOTPAGE
Lloh6:
	ldr	x19, [x19, _fd_timer@GOTPAGEOFF]
	mov	x0, x19
	bl	_timer_pending
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w0, [x19]
Lloh7:
	adrp	x19, _jiffies@GOTPAGE
Lloh8:
	ldr	x19, [x19, _jiffies@GOTPAGEOFF]
	ldr	x8, [x19]
	add	x1, x8, #5
	bl	_time_before
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x19]
	add	x1, x8, #5
Lloh9:
	adrp	x0, _fd_timer@GOTPAGE
Lloh10:
	ldr	x0, [x0, _fd_timer@GOTPAGEOFF]
	bl	_mod_timer
	b	LBB0_4
LBB0_3:
	bl	_start_check_change_timer
LBB0_4:
	bl	_start_motor_off_timer
	bl	_local_irq_save
	bl	_stdma_release
Lloh11:
	adrp	x8, _fdc_busy@GOTPAGE
Lloh12:
	ldr	x8, [x8, _fdc_busy@GOTPAGEOFF]
Lloh13:
	str	xzr, [x8]
Lloh14:
	adrp	x0, _fdc_wait@GOTPAGE
Lloh15:
	ldr	x0, [x0, _fdc_wait@GOTPAGEOFF]
	bl	_wake_up
	bl	_local_irq_restore
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DPRINT
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"finish_fdc_done entered\n"

	.comm	_NeedSeek,8,3                   ; @NeedSeek
	.comm	_fd_timer,4,2                   ; @fd_timer
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_fdc_busy,8,3                   ; @fdc_busy
	.comm	_fdc_wait,4,2                   ; @fdc_wait
l_.str.1:                               ; @.str.1
	.asciz	"finish_fdc() finished\n"

	.no_dead_strip	_finish_fdc_done
.subsections_via_symbols
