	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function queue_requests_store
_queue_requests_store:                  ## @queue_requests_store
	.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
	cmpl	$0, 12(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	leaq	-48(%rbp), %rdi
	callq	_queue_var_store
	movl	%eax, %r14d
	movq	_BLKDEV_MIN_RQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, -48(%rbp)
	jae	LBB0_4
## %bb.3:
	movq	%rax, -48(%rbp)
LBB0_4:
	movl	8(%rbx), %edi
	callq	_spin_lock_irq
	movq	-48(%rbp), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_blk_queue_congestion_threshold
	movq	16(%rbx), %rax
	movq	_BLK_RW_SYNC@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %r12d
	movq	%rbx, %rdi
	callq	_queue_congestion_on_threshold
	cmpl	%eax, %r12d
	jge	LBB0_5
## %bb.6:
	movq	16(%rbx), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %r12d
	movq	%rbx, %rdi
	callq	_queue_congestion_off_threshold
	cmpl	%eax, %r12d
	jge	LBB0_8
## %bb.7:
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_blk_clear_queue_congested
	jmp	LBB0_8
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_21
LBB0_5:
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_blk_set_queue_congested
LBB0_8:
	movq	16(%rbx), %rax
	movq	_BLK_RW_ASYNC@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %r13d
	movq	%rbx, %rdi
	callq	_queue_congestion_on_threshold
	cmpl	%eax, %r13d
	jge	LBB0_9
## %bb.10:
	movq	16(%rbx), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %r13d
	movq	%rbx, %rdi
	callq	_queue_congestion_off_threshold
	cmpl	%eax, %r13d
	jge	LBB0_12
## %bb.11:
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	callq	_blk_clear_queue_congested
	jmp	LBB0_12
LBB0_9:
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	callq	_blk_set_queue_congested
LBB0_12:
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	(%r15), %rsi
	movslq	(%rcx,%rsi,4), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_13
## %bb.14:
	incq	%rcx
	cmpq	%rcx, %rax
	jb	LBB0_16
## %bb.15:
	movq	%rbx, %rdi
	callq	_blk_clear_queue_full
	movq	(%r15), %rdi
	shlq	$2, %rdi
	addq	24(%rbx), %rdi
	callq	_wake_up
	jmp	LBB0_16
LBB0_13:
	movq	%rbx, %rdi
	callq	_blk_set_queue_full
LBB0_16:
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	(%r12), %rsi
	movslq	(%rcx,%rsi,4), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_17
## %bb.18:
	incq	%rcx
	cmpq	%rcx, %rax
	jb	LBB0_20
## %bb.19:
	movq	%rbx, %rdi
	callq	_blk_clear_queue_full
	movq	(%r12), %rdi
	shlq	$2, %rdi
	addq	24(%rbx), %rdi
	callq	_wake_up
	jmp	LBB0_20
LBB0_17:
	movq	%rbx, %rdi
	callq	_blk_set_queue_full
LBB0_20:
	movl	8(%rbx), %edi
	callq	_spin_unlock_irq
LBB0_21:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_BLKDEV_MIN_RQ,8,3              ## @BLKDEV_MIN_RQ
	.comm	_BLK_RW_SYNC,8,3                ## @BLK_RW_SYNC
	.comm	_BLK_RW_ASYNC,8,3               ## @BLK_RW_ASYNC
	.no_dead_strip	_queue_requests_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function queue_requests_store
_queue_requests_store:                  ; @queue_requests_store
	.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
	ldr	w8, [x0, #12]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x19, x0
	add	x0, sp, #8
	bl	_queue_var_store
	mov	x20, x0
	ldr	x9, [sp, #8]
Lloh0:
	adrp	x8, _BLKDEV_MIN_RQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLKDEV_MIN_RQ@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
	b.hs	LBB0_3
; %bb.2:
	str	x8, [sp, #8]
LBB0_3:
	ldr	w0, [x19, #8]
	bl	_spin_lock_irq
	ldr	x8, [sp, #8]
	str	x8, [x19]
	mov	x0, x19
	bl	_blk_queue_congestion_threshold
	ldr	x8, [x19, #16]
Lloh3:
	adrp	x21, _BLK_RW_SYNC@GOTPAGE
Lloh4:
	ldr	x21, [x21, _BLK_RW_SYNC@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	w22, [x8, x9, lsl #2]
	mov	x0, x19
	bl	_queue_congestion_on_threshold
	cmp	w22, w0
	b.ge	LBB0_7
; %bb.4:
	ldr	x8, [x19, #16]
	ldr	x9, [x21]
	ldr	w22, [x8, x9, lsl #2]
	mov	x0, x19
	bl	_queue_congestion_off_threshold
	cmp	w22, w0
	b.ge	LBB0_8
; %bb.5:
	ldr	x1, [x21]
	mov	x0, x19
	bl	_blk_clear_queue_congested
	b	LBB0_8
LBB0_6:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_21
LBB0_7:
	ldr	x1, [x21]
	mov	x0, x19
	bl	_blk_set_queue_congested
LBB0_8:
	ldr	x8, [x19, #16]
Lloh8:
	adrp	x22, _BLK_RW_ASYNC@GOTPAGE
Lloh9:
	ldr	x22, [x22, _BLK_RW_ASYNC@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	w23, [x8, x9, lsl #2]
	mov	x0, x19
	bl	_queue_congestion_on_threshold
	cmp	w23, w0
	b.ge	LBB0_11
; %bb.9:
	ldr	x8, [x19, #16]
	ldr	x9, [x22]
	ldr	w23, [x8, x9, lsl #2]
	mov	x0, x19
	bl	_queue_congestion_off_threshold
	cmp	w23, w0
	b.ge	LBB0_12
; %bb.10:
	ldr	x1, [x22]
	mov	x0, x19
	bl	_blk_clear_queue_congested
	b	LBB0_12
LBB0_11:
	ldr	x1, [x22]
	mov	x0, x19
	bl	_blk_set_queue_congested
LBB0_12:
	ldr	x8, [x19, #16]
	ldr	x1, [x21]
	ldrsw	x8, [x8, x1, lsl #2]
	ldr	x9, [x19]
	cmp	x9, x8
	b.ls	LBB0_15
; %bb.13:
	add	x8, x8, #1
	cmp	x9, x8
	b.lo	LBB0_16
; %bb.14:
	mov	x0, x19
	bl	_blk_clear_queue_full
	ldr	x8, [x19, #24]
	ldr	x9, [x21]
	add	x0, x8, x9, lsl #2
	bl	_wake_up
	b	LBB0_16
LBB0_15:
	mov	x0, x19
	bl	_blk_set_queue_full
LBB0_16:
	ldr	x8, [x19, #16]
	ldr	x1, [x22]
	ldrsw	x8, [x8, x1, lsl #2]
	ldr	x9, [x19]
	cmp	x9, x8
	b.ls	LBB0_19
; %bb.17:
	add	x8, x8, #1
	cmp	x9, x8
	b.lo	LBB0_20
; %bb.18:
	mov	x0, x19
	bl	_blk_clear_queue_full
	ldr	x8, [x19, #24]
	ldr	x9, [x22]
	add	x0, x8, x9, lsl #2
	bl	_wake_up
	b	LBB0_20
LBB0_19:
	mov	x0, x19
	bl	_blk_set_queue_full
LBB0_20:
	ldr	w0, [x19, #8]
	bl	_spin_unlock_irq
LBB0_21:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_BLKDEV_MIN_RQ,8,3              ; @BLKDEV_MIN_RQ
	.comm	_BLK_RW_SYNC,8,3                ; @BLK_RW_SYNC
	.comm	_BLK_RW_ASYNC,8,3               ; @BLK_RW_ASYNC
	.no_dead_strip	_queue_requests_store
.subsections_via_symbols
