	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_ide_request                 ## -- Begin function do_ide_request
	.p2align	4, 0x90
_do_ide_request:                        ## @do_ide_request
	.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, %rbx
	movq	8(%rdi), %r12
	movq	16(%r12), %r15
	movq	24(%r15), %r14
	callq	_blk_queue_flushing
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_blk_remove_plug
LBB0_2:
	movq	(%rbx), %rdi
	callq	_spin_unlock_irq
	xorl	%eax, %eax
	callq	_might_sleep
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ide_lock_host
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%rbx), %rdi
	callq	_spin_lock_irq
	jmp	LBB0_31
LBB0_4:
	movq	%r15, %rdi
	callq	_spin_lock_irq
	movq	%r15, %rdi
	callq	_ide_lock_port
	testl	%eax, %eax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.5:
	xorl	%r13d, %r13d
LBB0_29:
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ide_unlock_host
	movq	(%rbx), %rdi
	callq	_spin_lock_irq
	testq	%r13, %r13
	je	LBB0_31
## %bb.30:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_blk_requeue_request
LBB0_31:
	movq	%rbx, %rdi
	callq	_elv_queue_empty
	testl	%eax, %eax
	je	LBB0_33
## %bb.32:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_blk_plug_device                ## TAILCALL
LBB0_6:
	movq	8(%r15), %rdi
	callq	_WARN_ON_ONCE
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rax
	movq	8(%rax), %r14
	movq	_IDE_DFLAG_SLEEPING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %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_28
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	24(%r15), %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	%r14, %r15
	je	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	testq	%r14, %r14
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r14), %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(%r14), %rax
	movq	_ATA_DEVCTL_OBS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ATA_NIEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	%r14, %rdi
	callq	*(%rax)
	movq	24(%r15), %rax
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, 8(%rax)
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, 16(%r15)
	movq	_IDE_DFLAG_PARKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IDE_DFLAG_SLEEPING@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	%eax, (%r12)
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movq	(%rbx), %rdi
	callq	_spin_lock_irq
	testq	%r13, %r13
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	4(%r12), %edi
	callq	_blk_fetch_request
	movq	%rax, %r13
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rbx), %rdi
	callq	_spin_unlock_irq
	movq	%r15, %rdi
	callq	_spin_lock_irq
	testq	%r13, %r13
	je	LBB0_26
## %bb.20:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_IDE_DFLAG_BLOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	callq	_blk_pm_request
	testq	%rax, %rax
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_REQ_PREEMPT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_28
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, 8(%r15)
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_start_request
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_spin_lock_irq
	movq	_ide_stopped@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r15), %r13
	movq	$0, 8(%r15)
	jmp	LBB0_7
LBB0_26:
	movq	%r15, %rdi
	callq	_ide_unlock_port
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ide_unlock_host
	jmp	LBB0_27
LBB0_28:
	movq	%r15, %rdi
	callq	_ide_unlock_port
	jmp	LBB0_29
LBB0_25:
	movq	%r15, %rdi
	callq	_spin_unlock_irq
LBB0_27:
	movq	(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_lock_irq                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.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	_REQ_PREEMPT,4,2                ## @REQ_PREEMPT
	.comm	_ide_stopped,8,3                ## @ide_stopped
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_ide_request                 ; -- Begin function do_ide_request
	.p2align	2
_do_ide_request:                        ; @do_ide_request
	.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	x19, x0
	ldr	x22, [x0, #8]
	ldr	x21, [x22, #16]
	ldr	x20, [x21, #24]
	bl	_blk_queue_flushing
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_blk_remove_plug
LBB0_2:
	ldr	x0, [x19]
	bl	_spin_unlock_irq
	bl	_might_sleep
	mov	x0, x20
	mov	x1, x21
	bl	_ide_lock_host
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x0, [x19]
	bl	_spin_lock_irq
	b	LBB0_8
LBB0_4:
	mov	x0, x21
	bl	_spin_lock_irq
	mov	x0, x21
	bl	_ide_lock_port
	cbz	w0, LBB0_11
; %bb.5:
	mov	x23, #0
LBB0_6:
	mov	x0, x21
	bl	_spin_unlock_irq
	mov	x0, x20
	bl	_ide_unlock_host
	ldr	x0, [x19]
	bl	_spin_lock_irq
	cbz	x23, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x23
	bl	_blk_requeue_request
LBB0_8:
	mov	x0, x19
	bl	_elv_queue_empty
	cbz	w0, LBB0_10
; %bb.9:
	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
LBB0_10:
	mov	x0, x19
	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
	b	_blk_plug_device
LBB0_11:
	ldr	x0, [x21, #8]
	bl	_WARN_ON_ONCE
	mov	x23, #0
Lloh0:
	adrp	x25, _IDE_DFLAG_SLEEPING@GOTPAGE
Lloh1:
	ldr	x25, [x25, _IDE_DFLAG_SLEEPING@GOTPAGEOFF]
Lloh2:
	adrp	x26, _IDE_HFLAG_SERIALIZE@GOTPAGE
Lloh3:
	ldr	x26, [x26, _IDE_HFLAG_SERIALIZE@GOTPAGEOFF]
Lloh4:
	adrp	x27, _IDE_DFLAG_PARKED@GOTPAGE
Lloh5:
	ldr	x27, [x27, _IDE_DFLAG_PARKED@GOTPAGEOFF]
Lloh6:
	adrp	x28, _IDE_DFLAG_BLOCKED@GOTPAGE
Lloh7:
	ldr	x28, [x28, _IDE_DFLAG_BLOCKED@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #24]
	ldr	x24, [x8, #8]
	ldr	w9, [x22]
	ldr	w10, [x25]
	tst	w10, w9
	b.eq	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x22, #8]
Lloh8:
	adrp	x8, _jiffies@GOTPAGE
Lloh9:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_time_after
	cbnz	x0, LBB0_30
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x21, #24]
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w9, [x8]
	ldr	w10, [x26]
	and	w9, w10, w9
	cmp	w9, #0
	ccmp	x21, x24, #4, ne
	b.eq	LBB0_21
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	cbz	x24, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x9, [x24, #16]
	cbz	x9, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _IDE_DFLAG_NIEN_QUIRK@GOTPAGE
Lloh12:
	ldr	x10, [x10, _IDE_DFLAG_NIEN_QUIRK@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x24, #32]
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _ATA_NIEN@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ATA_NIEN@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _ATA_DEVCTL_OBS@GOTPAGE
Lloh18:
	ldr	x10, [x10, _ATA_DEVCTL_OBS@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	orr	w1, w10, w9
	mov	x0, x24
	blr	x8
	ldr	x8, [x21, #24]
LBB0_20:                                ;   in Loop: Header=BB0_12 Depth=1
	str	x21, [x8, #8]
LBB0_21:                                ;   in Loop: Header=BB0_12 Depth=1
	str	x22, [x21, #16]
	ldr	w8, [x25]
	ldr	w9, [x27]
	orr	w8, w9, w8
	ldr	w9, [x22]
	bic	w8, w9, w8
	str	w8, [x22]
	mov	x0, x21
	bl	_spin_unlock_irq
	ldr	x0, [x19]
	bl	_spin_lock_irq
	cbnz	x23, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x22, #4]
	bl	_blk_fetch_request
	mov	x23, x0
LBB0_23:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x19]
	bl	_spin_unlock_irq
	mov	x0, x21
	bl	_spin_lock_irq
	cbz	x23, LBB0_29
; %bb.24:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x22]
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x23
	bl	_blk_pm_request
	cbnz	x0, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x23]
Lloh20:
	adrp	x9, _REQ_PREEMPT@GOTPAGE
Lloh21:
	ldr	x9, [x9, _REQ_PREEMPT@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_30
LBB0_27:                                ;   in Loop: Header=BB0_12 Depth=1
	str	x23, [x21, #8]
	mov	x0, x21
	bl	_spin_unlock_irq
	mov	x0, x22
	mov	x1, x23
	bl	_start_request
	mov	x23, x0
	mov	x0, x21
	bl	_spin_lock_irq
Lloh23:
	adrp	x8, _ide_stopped@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ide_stopped@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cmp	x23, x8
	b.ne	LBB0_31
; %bb.28:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x23, [x21, #8]
	str	xzr, [x21, #8]
	b	LBB0_12
LBB0_29:
	mov	x0, x21
	bl	_ide_unlock_port
	mov	x0, x21
	bl	_spin_unlock_irq
	mov	x0, x20
	bl	_ide_unlock_host
	b	LBB0_32
LBB0_30:
	mov	x0, x21
	bl	_ide_unlock_port
	b	LBB0_6
LBB0_31:
	mov	x0, x21
	bl	_spin_unlock_irq
LBB0_32:
	ldr	x0, [x19]
	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
	b	_spin_lock_irq
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.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	_REQ_PREEMPT,4,2                ; @REQ_PREEMPT
	.comm	_ide_stopped,8,3                ; @ide_stopped
.subsections_via_symbols
