	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_request_wait
_get_request_wait:                      ## @get_request_wait
	.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
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_rw_is_sync
	movq	%rax, %r12
	movq	_GFP_NOIO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_get_request
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	testq	%r12, %r12
	setne	%cl
	movl	%r14d, %eax
	andl	$1, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	shlq	$2, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_wait@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DEFINE_WAIT
	movq	%rbx, %rdi
	callq	_blk_queue_dead
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rdi
	addq	%r12, %rdi
	movq	_TASK_UNINTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_wait@GOTPCREL(%rip), %rsi
	callq	_prepare_to_wait_exclusive
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_trace_block_sleeprq
	movq	%rbx, %rdi
	callq	___generic_unplug_device
	movl	(%rbx), %edi
	callq	_spin_unlock_irq
	xorl	%eax, %eax
	callq	_io_schedule
	movq	_GFP_NOIO@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	4(%rbx), %esi
	callq	_current_io_context
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_ioc_set_batching
	movl	(%rbx), %edi
	callq	_spin_lock_irq
	movq	8(%rbx), %rdi
	addq	%r12, %rdi
	movq	_wait@GOTPCREL(%rip), %rsi
	callq	_finish_wait
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r13, %rdx
	callq	_get_request
	testq	%rax, %rax
	je	LBB0_2
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_NOIO,4,2                   ## @GFP_NOIO
	.comm	_wait,4,2                       ## @wait
	.comm	_TASK_UNINTERRUPTIBLE,4,2       ## @TASK_UNINTERRUPTIBLE
	.no_dead_strip	_get_request_wait
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_request_wait
_get_request_wait:                      ; @get_request_wait
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_rw_is_sync
	mov	x22, x0
Lloh0:
	adrp	x24, _GFP_NOIO@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GFP_NOIO@GOTPAGEOFF]
	ldr	w3, [x24]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_get_request
	cbnz	x0, LBB0_5
; %bb.1:
	cmp	x22, #0
	cset	w8, ne
	and	w22, w20, #0x1
Lloh2:
	adrp	x23, _wait@GOTPAGE
Lloh3:
	ldr	x23, [x23, _wait@GOTPAGEOFF]
	lsl	x25, x8, #2
Lloh4:
	adrp	x26, _TASK_UNINTERRUPTIBLE@GOTPAGE
Lloh5:
	ldr	x26, [x26, _TASK_UNINTERRUPTIBLE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	bl	_DEFINE_WAIT
	mov	x0, x21
	bl	_blk_queue_dead
	bl	_unlikely
	cbnz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21, #8]
	add	x0, x8, x25
	ldr	w2, [x26]
	mov	x1, x23
	bl	_prepare_to_wait_exclusive
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_trace_block_sleeprq
	mov	x0, x21
	bl	___generic_unplug_device
	ldr	w0, [x21]
	bl	_spin_unlock_irq
	bl	_io_schedule
	ldr	w0, [x24]
	ldr	w1, [x21, #4]
	bl	_current_io_context
	mov	x1, x0
	mov	x0, x21
	bl	_ioc_set_batching
	ldr	w0, [x21]
	bl	_spin_lock_irq
	ldr	x8, [x21, #8]
	add	x0, x8, x25
	mov	x1, x23
	bl	_finish_wait
	ldr	w3, [x24]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_get_request
	cbz	x0, LBB0_2
	b	LBB0_5
LBB0_4:
	mov	x0, #0
LBB0_5:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_NOIO,4,2                   ; @GFP_NOIO
	.comm	_wait,4,2                       ; @wait
	.comm	_TASK_UNINTERRUPTIBLE,4,2       ; @TASK_UNINTERRUPTIBLE
	.no_dead_strip	_get_request_wait
.subsections_via_symbols
