	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function as_move_to_dispatch
_as_move_to_dispatch:                   ## @as_move_to_dispatch
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_rq_is_sync
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_RB_EMPTY_NODE
	movl	%eax, %edi
	callq	_BUG_ON
	movq	%r14, %rdi
	callq	_as_antic_stop
	movq	_ANTIC_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r14)
	movq	%rbx, %rdi
	callq	_blk_rq_pos
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_blk_rq_sectors
	addq	%r12, %rax
	movq	40(%r14), %rcx
	movslq	%r15d, %r15
	movq	%rax, (%rcx,%r15,8)
	movq	_BLK_RW_SYNC@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_RQ_IOC
	movq	%rax, -40(%rbp)
	leaq	32(%r14), %rdi
	leaq	-40(%rbp), %rsi
	callq	_copy_io_context
	jmp	LBB0_6
LBB0_2:
	movq	32(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_put_io_context
	movq	$0, 32(%r14)
LBB0_4:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	decq	%rax
	movq	%rax, (%r14)
LBB0_6:
	movq	$0, 24(%r14)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_as_find_next_rq
	movq	16(%r14), %rcx
	movl	%eax, (%rcx,%r15,4)
	movl	12(%r14), %edi
	movq	%rbx, %rsi
	callq	_as_remove_queued_request
	movq	%rbx, %rdi
	callq	_RQ_STATE
	movq	_AS_RQ_QUEUED@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_WARN_ON
	movl	12(%r14), %edi
	movq	%rbx, %rsi
	callq	_elv_dispatch_sort
	movq	_AS_RQ_DISPATCHED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_RQ_SET_STATE
	movq	%rbx, %rdi
	callq	_RQ_IOC
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	callq	_RQ_IOC
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_RQ_IOC
	movq	(%rax), %rdi
	callq	_atomic_inc
LBB0_9:
	incl	8(%r14)
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ANTIC_OFF,4,2                  ## @ANTIC_OFF
	.comm	_BLK_RW_SYNC,4,2                ## @BLK_RW_SYNC
	.comm	_AS_RQ_QUEUED,8,3               ## @AS_RQ_QUEUED
	.comm	_AS_RQ_DISPATCHED,4,2           ## @AS_RQ_DISPATCHED
	.no_dead_strip	_as_move_to_dispatch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function as_move_to_dispatch
_as_move_to_dispatch:                   ; @as_move_to_dispatch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_rq_is_sync
	mov	x21, x0
	mov	x0, x20
	bl	_RB_EMPTY_NODE
	bl	_BUG_ON
	mov	x0, x19
	bl	_as_antic_stop
Lloh0:
	adrp	x8, _ANTIC_OFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ANTIC_OFF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #48]
	mov	x0, x20
	bl	_blk_rq_pos
	mov	x22, x0
	mov	x0, x20
	bl	_blk_rq_sectors
	add	x8, x0, x22
	ldr	x9, [x19, #40]
	sxtw	x22, w21
	str	x8, [x9, w21, sxtw #3]
Lloh3:
	adrp	x8, _BLK_RW_SYNC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BLK_RW_SYNC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_RQ_IOC
	str	x0, [sp, #8]
	add	x0, x19, #32
	add	x1, sp, #8
	bl	_copy_io_context
	b	LBB0_6
LBB0_2:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_put_io_context
	str	xzr, [x19, #32]
LBB0_4:
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.5:
	sub	x8, x8, #1
	str	x8, [x19]
LBB0_6:
	str	xzr, [x19, #24]
	mov	x0, x19
	mov	x1, x20
	bl	_as_find_next_rq
	ldr	x8, [x19, #16]
	str	w0, [x8, x22, lsl #2]
	ldr	w0, [x19, #12]
	mov	x1, x20
	bl	_as_remove_queued_request
	mov	x0, x20
	bl	_RQ_STATE
Lloh6:
	adrp	x8, _AS_RQ_QUEUED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AS_RQ_QUEUED@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, ne
	bl	_WARN_ON
	ldr	w0, [x19, #12]
	mov	x1, x20
	bl	_elv_dispatch_sort
Lloh9:
	adrp	x8, _AS_RQ_DISPATCHED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AS_RQ_DISPATCHED@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_RQ_SET_STATE
	mov	x0, x20
	bl	_RQ_IOC
	cbz	x0, LBB0_9
; %bb.7:
	mov	x0, x20
	bl	_RQ_IOC
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_RQ_IOC
	ldr	x0, [x0]
	bl	_atomic_inc
LBB0_9:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ANTIC_OFF,4,2                  ; @ANTIC_OFF
	.comm	_BLK_RW_SYNC,4,2                ; @BLK_RW_SYNC
	.comm	_AS_RQ_QUEUED,8,3               ; @AS_RQ_QUEUED
	.comm	_AS_RQ_DISPATCHED,4,2           ; @AS_RQ_DISPATCHED
	.no_dead_strip	_as_move_to_dispatch
.subsections_via_symbols
