	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function carm_end_rq
_carm_end_rq:                           ## @carm_end_rq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_carm_end_request_queued
	movq	_max_queue@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	movq	_CARM_MSG_LOW_WATER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_3
## %bb.2:
	movq	8(%rbx), %rax
	movq	_CARM_SG_LOW_WATER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_4
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_carm_round_robin               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_max_queue,4,2                  ## @max_queue
	.comm	_CARM_MSG_LOW_WATER,8,3         ## @CARM_MSG_LOW_WATER
	.comm	_CARM_SG_LOW_WATER,8,3          ## @CARM_SG_LOW_WATER
	.no_dead_strip	_carm_end_rq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function carm_end_rq
_carm_end_rq:                           ; @carm_end_rq
	.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
	mov	x19, x0
	bl	_carm_end_request_queued
Lloh0:
	adrp	x8, _max_queue@GOTPAGE
Lloh1:
	ldr	x8, [x8, _max_queue@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.eq	LBB0_4
; %bb.1:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _CARM_MSG_LOW_WATER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CARM_MSG_LOW_WATER@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _CARM_SG_LOW_WATER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CARM_SG_LOW_WATER@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_carm_round_robin
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_max_queue,4,2                  ; @max_queue
	.comm	_CARM_MSG_LOW_WATER,8,3         ; @CARM_MSG_LOW_WATER
	.comm	_CARM_SG_LOW_WATER,8,3          ; @CARM_SG_LOW_WATER
	.no_dead_strip	_carm_end_rq
.subsections_via_symbols
