	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __ARQServiceQueueLo
___ARQServiceQueueLo:                   ## @__ARQServiceQueueLo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___ARQReqPendingLo@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	___ARQReqQueueLo@GOTPCREL(%rip), %rdi
	callq	___lwp_queue_getI
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_5
LBB0_2:
	movq	_ARQ_TASK_RUNNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	(%rax), %rcx
	movq	___ARQChunkSize@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r8
	movl	16(%rax), %edi
	movl	8(%rax), %esi
	movl	12(%rax), %edx
	cmpq	%r8, %rcx
	jle	LBB0_3
## %bb.4:
	movq	%r8, %rcx
	callq	_AR_StartDMA
	movq	(%rbx), %rax
	movq	(%r14), %rcx
	subq	%rax, (%rcx)
	movl	(%rbx), %eax
	addl	%eax, 12(%rcx)
	addl	%eax, 8(%rcx)
	jmp	LBB0_5
LBB0_3:
	callq	_AR_StartDMA
	movq	(%r14), %rax
	movl	20(%rax), %eax
	movq	___ARQCallbackLo@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___ARQReqPendingLo,8,3          ## @__ARQReqPendingLo
	.comm	___ARQReqQueueLo,4,2            ## @__ARQReqQueueLo
	.comm	_ARQ_TASK_RUNNING,4,2           ## @ARQ_TASK_RUNNING
	.comm	___ARQChunkSize,8,3             ## @__ARQChunkSize
	.comm	___ARQCallbackLo,4,2            ## @__ARQCallbackLo
	.no_dead_strip	___ARQServiceQueueLo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __ARQServiceQueueLo
___ARQServiceQueueLo:                   ; @__ARQServiceQueueLo
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, ___ARQReqPendingLo@GOTPAGE
Lloh1:
	ldr	x19, [x19, ___ARQReqPendingLo@GOTPAGEOFF]
	ldr	x0, [x19]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, ___ARQReqQueueLo@GOTPAGE
Lloh3:
	ldr	x0, [x0, ___ARQReqQueueLo@GOTPAGEOFF]
	bl	___lwp_queue_getI
	str	x0, [x19]
	cbz	x0, LBB0_5
LBB0_2:
Lloh4:
	adrp	x8, _ARQ_TASK_RUNNING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ARQ_TASK_RUNNING@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x0, #24]
Lloh7:
	adrp	x20, ___ARQChunkSize@GOTPAGE
Lloh8:
	ldr	x20, [x20, ___ARQChunkSize@GOTPAGEOFF]
	ldr	x3, [x0]
	ldr	x8, [x20]
	ldp	w2, w9, [x0, #12]
	ldr	w1, [x0, #8]
	mov	x0, x9
	cmp	x3, x8
	b.le	LBB0_4
; %bb.3:
	mov	x3, x8
	bl	_AR_StartDMA
	ldr	x8, [x20]
	ldr	x9, [x19]
	ldr	x10, [x9]
	sub	x8, x10, x8
	str	x8, [x9]
	ldr	d0, [x9, #8]
	ld1r.2s	{ v1 }, [x20]
	add.2s	v0, v0, v1
	str	d0, [x9, #8]
	b	LBB0_5
LBB0_4:
	bl	_AR_StartDMA
	ldr	x8, [x19]
	ldr	w8, [x8, #20]
Lloh9:
	adrp	x9, ___ARQCallbackLo@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___ARQCallbackLo@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	___ARQReqPendingLo,8,3          ; @__ARQReqPendingLo
	.comm	___ARQReqQueueLo,4,2            ; @__ARQReqQueueLo
	.comm	_ARQ_TASK_RUNNING,4,2           ; @ARQ_TASK_RUNNING
	.comm	___ARQChunkSize,8,3             ; @__ARQChunkSize
	.comm	___ARQCallbackLo,4,2            ; @__ARQCallbackLo
	.no_dead_strip	___ARQServiceQueueLo
.subsections_via_symbols
