	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ide_issue_rq                   ## -- Begin function ide_issue_rq
	.p2align	4, 0x90
_ide_issue_rq:                          ## @ide_issue_rq
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	16(%rdi), %r14
	movq	24(%r14), %rbx
	movq	%rsi, %rdi
	callq	_blk_rq_is_passthrough
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	(%r15), %eax
	movq	_RQF_DONTPREP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_3
## %bb.2:
	orl	%eax, %ecx
	movl	%ecx, (%r15)
	movq	%r15, %rdi
	callq	_ide_req
	movq	$0, (%rax)
LBB0_3:
	xorl	%eax, %eax
	callq	_might_sleep
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ide_lock_host
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_BLK_STS_DEV_RESOURCE@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_5:
	movq	%r14, %rdi
	callq	_spin_lock_irq
	movq	%r14, %rdi
	callq	_ide_lock_port
	testl	%eax, %eax
	je	LBB0_6
## %bb.24:
	testl	%r13d, %r13d
	je	LBB0_26
LBB0_25:
	addq	$4, %r15
	addq	$4, %r12
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_list_add
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	movq	%rbx, %rdi
	jmp	LBB0_29
LBB0_6:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rdi
	callq	_WARN_ON_ONCE
	movq	_IDE_DFLAG_SLEEPING@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rax
	movq	8(%rax), %r13
	movl	(%rbx), %ecx
	testl	%ecx, (%r12)
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	8(%r12), %edi
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_23
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	24(%r14), %rax
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_IDE_HFLAG_SERIALIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%r13, %r14
	je	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	testq	%r13, %r13
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r13), %rcx
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_IDE_DFLAG_NIEN_QUIRK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	32(%r13), %rax
	movq	_ATA_DEVCTL_OBS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ATA_NIEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	%r13, %rdi
	callq	*(%rax)
	movq	24(%r14), %rax
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, 8(%rax)
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, 16(%r14)
	movq	_IDE_DFLAG_PARKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rbx), %eax
	notl	%eax
	andl	(%r12), %eax
	movl	%eax, (%r12)
	movq	_IDE_DFLAG_BLOCKED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	callq	_ata_pm_request
	testq	%rax, %rax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_RQF_PREEMPT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_23
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	callq	_blk_rq_bytes
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_scsi_req
	movl	%r13d, (%rax)
	movq	%r15, 8(%r14)
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_start_request
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_spin_lock_irq
	movq	_ide_stopped@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_27
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r14), %r15
	movq	$0, 8(%r14)
	testq	%r15, %r15
	jne	LBB0_7
## %bb.22:
	movq	%r14, %rdi
	callq	_ide_unlock_port
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	jmp	LBB0_28
LBB0_27:
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	testq	%r15, %r15
	jne	LBB0_30
LBB0_28:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_29:
	callq	_ide_unlock_host
	jmp	LBB0_30
LBB0_23:
	movq	%r14, %rdi
	callq	_ide_unlock_port
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	testl	%r13d, %r13d
	jne	LBB0_25
LBB0_26:
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	movq	%rbx, %rdi
	callq	_ide_unlock_host
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ide_requeue_and_plug
LBB0_30:
	movq	_BLK_STS_OK@GOTPCREL(%rip), %rax
LBB0_31:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RQF_DONTPREP,4,2               ## @RQF_DONTPREP
	.comm	_BLK_STS_DEV_RESOURCE,4,2       ## @BLK_STS_DEV_RESOURCE
	.comm	_IDE_DFLAG_SLEEPING,4,2         ## @IDE_DFLAG_SLEEPING
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_IDE_HFLAG_SERIALIZE,4,2        ## @IDE_HFLAG_SERIALIZE
	.comm	_IDE_DFLAG_NIEN_QUIRK,4,2       ## @IDE_DFLAG_NIEN_QUIRK
	.comm	_ATA_NIEN,4,2                   ## @ATA_NIEN
	.comm	_ATA_DEVCTL_OBS,4,2             ## @ATA_DEVCTL_OBS
	.comm	_IDE_DFLAG_PARKED,4,2           ## @IDE_DFLAG_PARKED
	.comm	_IDE_DFLAG_BLOCKED,4,2          ## @IDE_DFLAG_BLOCKED
	.comm	_RQF_PREEMPT,4,2                ## @RQF_PREEMPT
	.comm	_ide_stopped,8,3                ## @ide_stopped
	.comm	_BLK_STS_OK,4,2                 ## @BLK_STS_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ide_issue_rq                   ; -- Begin function ide_issue_rq
	.p2align	2
_ide_issue_rq:                          ; @ide_issue_rq
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x20, [x0, #16]
	ldr	x19, [x20, #24]
	mov	x0, x1
	bl	_blk_rq_is_passthrough
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _RQF_DONTPREP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RQF_DONTPREP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
	orr	w8, w9, w8
	str	w8, [x21]
	mov	x0, x21
	bl	_ide_req
	str	xzr, [x0]
LBB0_3:
	bl	_might_sleep
	mov	x0, x19
	mov	x1, x20
	bl	_ide_lock_host
	cbz	x0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _BLK_STS_DEV_RESOURCE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BLK_STS_DEV_RESOURCE@GOTPAGEOFF]
	b	LBB0_30
LBB0_5:
	mov	x0, x20
	bl	_spin_lock_irq
	mov	x0, x20
	bl	_ide_lock_port
	cbz	w0, LBB0_8
; %bb.6:
	cbz	w23, LBB0_28
LBB0_7:
	add	x0, x21, #4
	add	x1, x22, #4
	bl	_list_add
	b	LBB0_24
LBB0_8:
	ldr	x0, [x20, #8]
	bl	_WARN_ON_ONCE
Lloh5:
	adrp	x25, _IDE_DFLAG_SLEEPING@GOTPAGE
Lloh6:
	ldr	x25, [x25, _IDE_DFLAG_SLEEPING@GOTPAGEOFF]
Lloh7:
	adrp	x27, _IDE_DFLAG_PARKED@GOTPAGE
Lloh8:
	ldr	x27, [x27, _IDE_DFLAG_PARKED@GOTPAGEOFF]
Lloh9:
	adrp	x28, _IDE_DFLAG_BLOCKED@GOTPAGE
Lloh10:
	ldr	x28, [x28, _IDE_DFLAG_BLOCKED@GOTPAGEOFF]
Lloh11:
	adrp	x26, _ide_stopped@GOTPAGE
Lloh12:
	ldr	x26, [x26, _ide_stopped@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #24]
	ldr	x24, [x8, #8]
	ldr	w9, [x22]
	ldr	w10, [x25]
	tst	w10, w9
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [x22, #8]
Lloh13:
	adrp	x8, _jiffies@GOTPAGE
Lloh14:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_time_after
	cbnz	x0, LBB0_27
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x20, #24]
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w9, [x8]
Lloh16:
	adrp	x10, _IDE_HFLAG_SERIALIZE@GOTPAGE
Lloh17:
	ldr	x10, [x10, _IDE_HFLAG_SERIALIZE@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	and	w9, w10, w9
	cmp	w9, #0
	ccmp	x20, x24, #4, ne
	b.eq	LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	cbz	x24, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x24, #16]
	cbz	x9, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _IDE_DFLAG_NIEN_QUIRK@GOTPAGE
Lloh20:
	ldr	x10, [x10, _IDE_DFLAG_NIEN_QUIRK@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x24, #32]
	ldr	x8, [x8]
Lloh22:
	adrp	x9, _ATA_NIEN@GOTPAGE
Lloh23:
	ldr	x9, [x9, _ATA_NIEN@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
Lloh25:
	adrp	x10, _ATA_DEVCTL_OBS@GOTPAGE
Lloh26:
	ldr	x10, [x10, _ATA_DEVCTL_OBS@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	orr	w1, w10, w9
	mov	x0, x24
	blr	x8
	ldr	x8, [x20, #24]
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=1
	str	x20, [x8, #8]
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=1
	str	x22, [x20, #16]
	ldr	w8, [x25]
	ldr	w9, [x27]
	orr	w8, w9, w8
	ldr	w9, [x22]
	bic	w8, w9, w8
	str	w8, [x22]
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	bl	_ata_pm_request
	cbnz	x0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x21]
Lloh28:
	adrp	x9, _RQF_PREEMPT@GOTPAGE
Lloh29:
	ldr	x9, [x9, _RQF_PREEMPT@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_27
LBB0_21:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	bl	_blk_rq_bytes
	mov	x24, x0
	mov	x0, x21
	bl	_scsi_req
	str	w24, [x0]
	str	x21, [x20, #8]
	mov	x0, x20
	bl	_spin_unlock_irq
	mov	x0, x22
	mov	x1, x21
	bl	_start_request
	mov	x24, x0
	mov	x0, x20
	bl	_spin_lock_irq
	ldr	x8, [x26]
	cmp	x24, x8
	b.ne	LBB0_26
; %bb.22:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x21, [x20, #8]
	str	xzr, [x20, #8]
	cbnz	x21, LBB0_9
; %bb.23:
	mov	x0, x20
	bl	_ide_unlock_port
LBB0_24:
	mov	x0, x20
	bl	_spin_unlock_irq
LBB0_25:
	mov	x0, x19
	bl	_ide_unlock_host
	b	LBB0_29
LBB0_26:
	mov	x0, x20
	bl	_spin_unlock_irq
	cbnz	x21, LBB0_29
	b	LBB0_25
LBB0_27:
	mov	x0, x20
	bl	_ide_unlock_port
	cbnz	w23, LBB0_7
LBB0_28:
	mov	x0, x20
	bl	_spin_unlock_irq
	mov	x0, x19
	bl	_ide_unlock_host
	mov	x0, x22
	mov	x1, x21
	bl	_ide_requeue_and_plug
LBB0_29:
Lloh31:
	adrp	x8, _BLK_STS_OK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _BLK_STS_OK@GOTPAGEOFF]
LBB0_30:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_RQF_DONTPREP,4,2               ; @RQF_DONTPREP
	.comm	_BLK_STS_DEV_RESOURCE,4,2       ; @BLK_STS_DEV_RESOURCE
	.comm	_IDE_DFLAG_SLEEPING,4,2         ; @IDE_DFLAG_SLEEPING
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_IDE_HFLAG_SERIALIZE,4,2        ; @IDE_HFLAG_SERIALIZE
	.comm	_IDE_DFLAG_NIEN_QUIRK,4,2       ; @IDE_DFLAG_NIEN_QUIRK
	.comm	_ATA_NIEN,4,2                   ; @ATA_NIEN
	.comm	_ATA_DEVCTL_OBS,4,2             ; @ATA_DEVCTL_OBS
	.comm	_IDE_DFLAG_PARKED,4,2           ; @IDE_DFLAG_PARKED
	.comm	_IDE_DFLAG_BLOCKED,4,2          ; @IDE_DFLAG_BLOCKED
	.comm	_RQF_PREEMPT,4,2                ; @RQF_PREEMPT
	.comm	_ide_stopped,8,3                ; @ide_stopped
	.comm	_BLK_STS_OK,4,2                 ; @BLK_STS_OK
.subsections_via_symbols
