	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ide_park_show                  ## -- Begin function ide_park_show
	.p2align	4, 0x90
_ide_park_show:                         ## @ide_park_show
	.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	%rdx, %r14
	callq	_to_ide_device
	movq	%rax, %rbx
	movq	_IDE_DFLAG_NO_UNLOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_1
## %bb.5:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	16(%rbx), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irq
	movq	_IDE_DFLAG_PARKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r15d, %r15d
	testl	%eax, (%rbx)
	je	LBB0_4
## %bb.2:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	8(%rbx), %rdi
	movq	%r13, %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	8(%rbx), %rdi
	subq	%r13, %rdi
	callq	_jiffies_to_msecs
	movl	%eax, %r15d
LBB0_4:
	movq	%r12, %rdi
	callq	_spin_unlock_irq
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	$20, %esi
	movl	%r15d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snprintf                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IDE_DFLAG_NO_UNLOAD,4,2        ## @IDE_DFLAG_NO_UNLOAD
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_IDE_DFLAG_PARKED,4,2           ## @IDE_DFLAG_PARKED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ide_park_show                  ; -- Begin function ide_park_show
	.p2align	2
_ide_park_show:                         ; @ide_park_show
	.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	x19, x2
	bl	_to_ide_device
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IDE_DFLAG_NO_UNLOAD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IDE_DFLAG_NO_UNLOAD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	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_2:
	mov	x21, x0
	ldr	x20, [x0, #16]
	mov	x0, x20
	bl	_spin_lock_irq
	ldr	w8, [x21]
Lloh6:
	adrp	x9, _IDE_DFLAG_PARKED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IDE_DFLAG_PARKED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
Lloh9:
	adrp	x8, _jiffies@GOTPAGE
Lloh10:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh11:
	ldr	x22, [x8]
	ldr	x0, [x21, #8]
	mov	x1, x22
	bl	_time_after
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x21, #8]
	sub	x0, x8, x22
	bl	_jiffies_to_msecs
	mov	x21, x0
	b	LBB0_6
LBB0_5:
	mov	w21, #0
LBB0_6:
	mov	x0, x20
	bl	_spin_unlock_irq
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #20
	mov	x3, x21
	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
	b	_snprintf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IDE_DFLAG_NO_UNLOAD,4,2        ; @IDE_DFLAG_NO_UNLOAD
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_IDE_DFLAG_PARKED,4,2           ; @IDE_DFLAG_PARKED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u\n"

.subsections_via_symbols
