	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function issue_park_cmd
_issue_park_cmd:                        ## @issue_park_cmd
	.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, %r12
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	24(%rdi), %r15
	movq	_jiffies@GOTPCREL(%rip), %rax
	addq	(%rax), %r12
	movq	%r12, -48(%rbp)
	movq	%r15, %rdi
	callq	_spin_lock_irq
	movq	_IDE_DFLAG_PARKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.1:
	movq	8(%rbx), %rsi
	movq	%r12, %rdi
	callq	_time_before
	movl	%eax, %r13d
	movq	%r12, 8(%rbx)
	movq	_ide_park_wq@GOTPCREL(%rip), %rdi
	callq	_wake_up_all
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.2:
	leaq	4(%r15), %rdi
	callq	_del_timer
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.3:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_blk_run_queue                  ## TAILCALL
LBB0_5:
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movq	_READ@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	___GFP_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_blk_get_request
	movq	%rax, %rbx
	movq	_REQ_PARK_HEADS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	24(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	$1, (%rbx)
	movq	_REQ_TYPE_SPECIAL@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, 16(%rbx)
	leaq	-48(%rbp), %rax
	movq	%rax, 8(%rbx)
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	movl	$1, %ecx
	callq	_blk_execute_rq
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_blk_put_request
	testl	%r15d, %r15d
	jne	LBB0_8
## %bb.6:
	movl	(%r13), %esi
	movq	_GFP_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_blk_get_request
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	_REQ_UNPARK_HEADS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	24(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	$1, (%rbx)
	movq	(%r12), %rax
	movq	%rax, 16(%rbx)
	movq	_ELEVATOR_INSERT_FRONT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %ecx
	callq	_elv_add_request
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irq                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_IDE_DFLAG_PARKED,4,2           ## @IDE_DFLAG_PARKED
	.comm	_ide_park_wq,4,2                ## @ide_park_wq
	.comm	_READ,4,2                       ## @READ
	.comm	___GFP_WAIT,4,2                 ## @__GFP_WAIT
	.comm	_REQ_PARK_HEADS,4,2             ## @REQ_PARK_HEADS
	.comm	_REQ_TYPE_SPECIAL,8,3           ## @REQ_TYPE_SPECIAL
	.comm	_GFP_NOWAIT,4,2                 ## @GFP_NOWAIT
	.comm	_REQ_UNPARK_HEADS,4,2           ## @REQ_UNPARK_HEADS
	.comm	_ELEVATOR_INSERT_FRONT,4,2      ## @ELEVATOR_INSERT_FRONT
	.no_dead_strip	_issue_park_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function issue_park_cmd
_issue_park_cmd:                        ; @issue_park_cmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x0
	ldp	x19, x20, [x0, #16]
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x22, x8, x1
	str	x22, [sp, #8]
	mov	x0, x20
	bl	_spin_lock_irq
	ldr	w8, [x21]
Lloh3:
	adrp	x9, _IDE_DFLAG_PARKED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IDE_DFLAG_PARKED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	ldr	x1, [x21, #8]
	mov	x0, x22
	bl	_time_before
	mov	x23, x0
	str	x22, [x21, #8]
Lloh6:
	adrp	x0, _ide_park_wq@GOTPAGE
Lloh7:
	ldr	x0, [x0, _ide_park_wq@GOTPAGEOFF]
	bl	_wake_up_all
	cbz	w23, LBB0_8
; %bb.2:
	add	x0, x20, #4
	bl	_del_timer
	mov	x21, x0
	mov	x0, x20
	bl	_spin_unlock_irq
	cbz	x21, LBB0_7
; %bb.3:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_blk_run_queue
LBB0_4:
	mov	x0, x20
	bl	_spin_unlock_irq
Lloh8:
	adrp	x23, _READ@GOTPAGE
Lloh9:
	ldr	x23, [x23, _READ@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh10:
	adrp	x8, ___GFP_WAIT@GOTPAGE
Lloh11:
	ldr	x8, [x8, ___GFP_WAIT@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_blk_get_request
	mov	x20, x0
Lloh13:
	adrp	x8, _REQ_PARK_HEADS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _REQ_PARK_HEADS@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	x9, [x0, #24]
	str	w8, [x9]
	mov	w8, #1
	str	w8, [x0]
Lloh16:
	adrp	x22, _REQ_TYPE_SPECIAL@GOTPAGE
Lloh17:
	ldr	x22, [x22, _REQ_TYPE_SPECIAL@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x9, sp, #8
	stp	x9, x8, [x0, #8]
	mov	x0, x19
	mov	x1, #0
	mov	x2, x20
	mov	w3, #1
	bl	_blk_execute_rq
	mov	x21, x0
	mov	x0, x20
	bl	_blk_put_request
	cbnz	w21, LBB0_7
; %bb.5:
	ldr	w1, [x23]
Lloh18:
	adrp	x8, _GFP_NOWAIT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GFP_NOWAIT@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_blk_get_request
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_7
; %bb.6:
Lloh21:
	adrp	x8, _REQ_UNPARK_HEADS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _REQ_UNPARK_HEADS@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	x9, [x20, #24]
	str	w8, [x9]
	mov	w8, #1
	str	w8, [x20]
	ldr	x8, [x22]
	str	x8, [x20, #16]
Lloh24:
	adrp	x8, _ELEVATOR_INSERT_FRONT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ELEVATOR_INSERT_FRONT@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #1
	bl	_elv_add_request
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_spin_unlock_irq
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_IDE_DFLAG_PARKED,4,2           ; @IDE_DFLAG_PARKED
	.comm	_ide_park_wq,4,2                ; @ide_park_wq
	.comm	_READ,4,2                       ; @READ
	.comm	___GFP_WAIT,4,2                 ; @__GFP_WAIT
	.comm	_REQ_PARK_HEADS,4,2             ; @REQ_PARK_HEADS
	.comm	_REQ_TYPE_SPECIAL,8,3           ; @REQ_TYPE_SPECIAL
	.comm	_GFP_NOWAIT,4,2                 ; @GFP_NOWAIT
	.comm	_REQ_UNPARK_HEADS,4,2           ; @REQ_UNPARK_HEADS
	.comm	_ELEVATOR_INSERT_FRONT,4,2      ; @ELEVATOR_INSERT_FRONT
	.no_dead_strip	_issue_park_cmd
.subsections_via_symbols
