	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function moveToNextTask
_moveToNextTask:                        ## @moveToNextTask
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	_REDIS_REPLY_ARRAY@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %r12
	shlq	$4, %rbx
	movq	-16(%r12,%rbx), %rax
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	sete	%dil
	callq	_assert
	movl	-4(%r12,%rbx), %eax
	movl	8(%r12,%rbx), %ecx
	leal	-1(%rax), %edx
	cmpl	%edx, %ecx
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rbx
	decq	%rbx
	movq	%rbx, (%r14)
	jne	LBB0_2
LBB0_4:
	movq	$-1, (%r14)
	jmp	LBB0_6
LBB0_5:
	leaq	(%r12,%rbx), %r14
	addq	$8, %r14
	xorl	%edi, %edi
	cmpl	%eax, %ecx
	setl	%dil
	callq	_assert
	movq	$-1, (%r12,%rbx)
	movl	$-1, 12(%r12,%rbx)
	incl	(%r14)
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REDIS_REPLY_ARRAY,8,3          ## @REDIS_REPLY_ARRAY
	.no_dead_strip	_moveToNextTask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function moveToNextTask
_moveToNextTask:                        ; @moveToNextTask
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
Lloh0:
	adrp	x20, _REDIS_REPLY_ARRAY@GOTPAGE
Lloh1:
	ldr	x20, [x20, _REDIS_REPLY_ARRAY@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	add	x21, x9, x8, lsl #4
	ldur	x8, [x21, #-16]
	ldr	x9, [x20]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	mov	x22, x21
	ldr	w8, [x22, #8]!
	ldur	w9, [x22, #-12]
	sub	w10, w9, #1
	cmp	w8, w10
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	subs	x8, x8, #1
	str	x8, [x19]
	b.ne	LBB0_2
LBB0_4:
	mov	x8, #-1
	str	x8, [x19]
	b	LBB0_6
LBB0_5:
	cmp	w8, w9
	cset	w0, lt
	bl	_assert
	mov	x8, #-1
	str	x8, [x21]
	mov	w8, #-1
	str	w8, [x21, #12]
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_REDIS_REPLY_ARRAY,8,3          ; @REDIS_REPLY_ARRAY
	.no_dead_strip	_moveToNextTask
.subsections_via_symbols
