	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_request
_get_request:                           ## @get_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -80(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_rw_is_sync
	movq	%rax, %r15
	testq	%rax, %rax
	setne	%r13b
	movq	%rbx, %rdi
	callq	_blk_queue_dead
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_2:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movb	%r13b, -56(%rbp)                ## 1-byte Spill
	movq	%rbx, %rdi
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	%r14d, %esi
	callq	_elv_may_queue
	movq	_ELV_MQUEUE_NO@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %r14
	testq	%r15, %r15
	movl	$0, %r15d
	setne	%r15b
	xorl	%ebx, %ebx
	jmp	LBB0_23
LBB0_5:
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	testq	%r15, %r15
	movl	$0, %r15d
	setne	%r15b
	movq	16(%rbx), %rax
	movl	(%rax,%r15,4), %r14d
	incl	%r14d
	movq	%rbx, %rdi
	callq	_queue_congestion_on_threshold
	cmpl	%eax, %r14d
	jge	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_7:
	xorl	%r14d, %r14d
	movb	-56(%rbp), %al                  ## 1-byte Reload
	movb	%al, %r14b
	movq	16(%rbx), %rax
	movl	(%rax,%r15,4), %eax
	incl	%eax
	cmpl	(%rbx), %eax
	jge	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_9:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	callq	_current_io_context
	movq	%rax, %r12
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_blk_queue_full
	testl	%eax, %eax
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_12
## %bb.10:
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	movq	_ELV_MQUEUE_MUST@GOTPCREL(%rip), %rax
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	cmpl	(%rax), %ecx
	jne	LBB0_13
## %bb.11:
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_14
LBB0_12:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ioc_set_batching
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_blk_set_queue_full
	jmp	LBB0_14
LBB0_13:
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_ioc_batching
	testq	%rax, %rax
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_1
LBB0_14:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_blk_set_queue_congested
LBB0_15:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movq	16(%rbx), %rax
	movl	(%rax,%r15,4), %ecx
	movl	(%rbx), %edx
	leal	(%rdx,%rdx,2), %edx
	movl	%edx, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	sarl	%esi
	cmpl	%esi, %ecx
	jge	LBB0_1
## %bb.16:
	incl	%ecx
	movl	%ecx, (%rax,%r15,4)
	movq	24(%rbx), %rax
	movl	$0, (%rax,%r15,4)
	movq	%r13, %rdi
	callq	_blk_rq_should_init_elevator
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	movq	_QUEUE_FLAG_ELVSWITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_19
## %bb.18:
	movq	_REQ_ELVPRIV@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	incl	32(%rbx)
LBB0_19:
	movq	%rbx, %r14
	movq	%rbx, %rdi
	callq	_blk_queue_io_stat
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	_REQ_IO_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_21:
	orl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	movq	%r14, %r12
	movl	4(%r14), %edi
	callq	_spin_unlock_irq
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	callq	_blk_alloc_request
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_26
## %bb.22:
	movl	4(%r12), %edi
	callq	_spin_lock_irq
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_freed_request
LBB0_23:
	movq	16(%r14), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax,%r15,4)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.24:
	movq	24(%r14), %rax
	movl	$1, (%rax,%r15,4)
	jmp	LBB0_2
LBB0_26:
	movq	%r12, %rdi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_ioc_batching
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	decl	(%r15)
LBB0_28:
	andl	$1, %r13d
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_trace_block_getrq
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_ELV_MQUEUE_NO,4,2              ## @ELV_MQUEUE_NO
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ELV_MQUEUE_MUST,4,2            ## @ELV_MQUEUE_MUST
	.comm	_QUEUE_FLAG_ELVSWITCH,4,2       ## @QUEUE_FLAG_ELVSWITCH
	.comm	_REQ_ELVPRIV,4,2                ## @REQ_ELVPRIV
	.comm	_REQ_IO_STAT,4,2                ## @REQ_IO_STAT
	.no_dead_strip	_get_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_request
_get_request:                           ; @get_request
	.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	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	mov	x0, x1
	bl	_rw_is_sync
	mov	x23, x0
	cmp	x0, #0
	cset	w24, ne
	mov	x0, x19
	bl	_blk_queue_dead
	bl	_unlikely
	cbz	x0, LBB0_3
LBB0_1:
	mov	x21, #0
LBB0_2:
	mov	x0, x21
	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
LBB0_3:
	mov	x0, x19
	mov	x1, x22
	bl	_elv_may_queue
Lloh0:
	adrp	x8, _ELV_MQUEUE_NO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ELV_MQUEUE_NO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.4:
	mov	x21, #0
	cmp	x23, #0
	cset	w26, ne
	b	LBB0_20
LBB0_5:
	mov	x25, x0
	cmp	x23, #0
	cset	w26, ne
	ldr	x8, [x19, #16]
	ldr	w8, [x8, w26, uxtw #2]
	add	w23, w8, #1
	mov	x0, x19
	bl	_queue_congestion_on_threshold
	cmp	w23, w0
	b.ge	LBB0_7
; %bb.6:
	mov	x23, #0
	b	LBB0_14
LBB0_7:
	ldr	x8, [x19, #16]
	ldr	w8, [x8, x26, lsl #2]
	add	w8, w8, #1
	ldr	w9, [x19]
	cmp	w8, w9
	b.ge	LBB0_9
; %bb.8:
	mov	x23, #0
	b	LBB0_13
LBB0_9:
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19, #12]
	bl	_current_io_context
	mov	x23, x0
	mov	x0, x19
	mov	x1, x24
	bl	_blk_queue_full
	cbz	w0, LBB0_12
; %bb.10:
Lloh6:
	adrp	x8, _ELV_MQUEUE_MUST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ELV_MQUEUE_MUST@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w25, w8
	b.eq	LBB0_13
; %bb.11:
	mov	x0, x19
	mov	x1, x23
	bl	_ioc_batching
	cbnz	x0, LBB0_13
	b	LBB0_1
LBB0_12:
	mov	x0, x19
	mov	x1, x23
	bl	_ioc_set_batching
	mov	x0, x19
	mov	x1, x24
	bl	_blk_set_queue_full
LBB0_13:
	mov	x0, x19
	mov	x1, x24
	bl	_blk_set_queue_congested
LBB0_14:
	ldr	x8, [x19, #16]
	ldr	w9, [x8, x26, lsl #2]
	ldr	w10, [x19]
	add	w10, w10, w10, lsl #1
	cmp	w10, #0
	cinc	w10, w10, lt
	cmp	w9, w10, asr #1
	b.ge	LBB0_1
; %bb.15:
	add	w9, w9, #1
	lsl	x10, x26, #2
	str	w9, [x8, x10]
	ldr	x8, [x19, #24]
	str	wzr, [x8, x10]
	mov	x0, x20
	bl	_blk_rq_should_init_elevator
	cbz	x0, LBB0_18
; %bb.16:
Lloh9:
	adrp	x8, _QUEUE_FLAG_ELVSWITCH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QUEUE_FLAG_ELVSWITCH@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cbnz	w0, LBB0_18
; %bb.17:
Lloh12:
	adrp	x8, _REQ_ELVPRIV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REQ_ELVPRIV@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w22, w8, w22
	ldr	w8, [x19, #32]
	add	w8, w8, #1
	str	w8, [x19, #32]
LBB0_18:
	mov	x0, x19
	bl	_blk_queue_io_stat
Lloh15:
	adrp	x8, _REQ_IO_STAT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REQ_IO_STAT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w22, w8, w22
	ldr	w0, [x19, #4]
	bl	_spin_unlock_irq
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_blk_alloc_request
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_22
; %bb.19:
	ldr	w0, [x19, #4]
	bl	_spin_lock_irq
	mov	x0, x19
	mov	x1, x22
	bl	_freed_request
LBB0_20:
	ldr	x8, [x19, #16]
	ldr	w8, [x8, x26, lsl #2]
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.21:
	ldr	x8, [x19, #24]
	mov	w9, #1
	str	w9, [x8, x26, lsl #2]
	b	LBB0_2
LBB0_22:
	mov	x0, x19
	mov	x1, x23
	bl	_ioc_batching
	cbz	x0, LBB0_24
; %bb.23:
	ldr	w8, [x23]
	sub	w8, w8, #1
	str	w8, [x23]
LBB0_24:
	and	w2, w22, #0x1
	mov	x0, x19
	mov	x1, x20
	bl	_trace_block_getrq
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ELV_MQUEUE_NO,4,2              ; @ELV_MQUEUE_NO
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ELV_MQUEUE_MUST,4,2            ; @ELV_MQUEUE_MUST
	.comm	_QUEUE_FLAG_ELVSWITCH,4,2       ; @QUEUE_FLAG_ELVSWITCH
	.comm	_REQ_ELVPRIV,4,2                ; @REQ_ELVPRIV
	.comm	_REQ_IO_STAT,4,2                ; @REQ_IO_STAT
	.no_dead_strip	_get_request
.subsections_via_symbols
