	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redisReaderGetReply            ## -- Begin function redisReaderGetReply
	.p2align	4, 0x90
_redisReaderGetReply:                   ## @redisReaderGetReply
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	$0, (%r14)
LBB0_2:
	movq	_REDIS_ERR@GOTPCREL(%rip), %r12
	cmpq	$0, 32(%rbx)
	jne	LBB0_18
## %bb.3:
	movq	_REDIS_OK@GOTPCREL(%rip), %r15
	cmpq	$0, (%rbx)
	je	LBB0_17
## %bb.4:
	movl	8(%rbx), %eax
	cmpl	$-1, %eax
	jne	LBB0_6
## %bb.5:
	movq	48(%rbx), %rax
	movq	$-1, (%rax)
	movl	$-1, 8(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rax)
	movl	40(%rbx), %ecx
	movl	%ecx, 12(%rax)
	movl	$0, 8(%rbx)
	xorl	%eax, %eax
LBB0_6:
	testl	%eax, %eax
	js	LBB0_10
## %bb.7:
	movq	_REDIS_OK@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_processItem
	cmpl	(%r13), %eax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$0, 8(%rbx)
	jns	LBB0_8
LBB0_10:
	cmpq	$0, 32(%rbx)
	jne	LBB0_18
## %bb.11:
	movl	12(%rbx), %esi
	cmpl	$1024, %esi                     ## imm = 0x400
	jl	LBB0_13
## %bb.12:
	movl	24(%rbx), %edi
	movl	$-1, %edx
	callq	_sdsrange
	movl	$0, 12(%rbx)
	movl	24(%rbx), %edi
	callq	_sdslen
	movq	%rax, (%rbx)
LBB0_13:
	cmpl	$-1, 8(%rbx)
	jne	LBB0_17
## %bb.14:
	testq	%r14, %r14
	je	LBB0_16
## %bb.15:
	movq	16(%rbx), %rax
	movq	%rax, (%r14)
LBB0_16:
	movq	$0, 16(%rbx)
LBB0_17:
	movq	%r15, %r12
LBB0_18:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REDIS_ERR,4,2                  ## @REDIS_ERR
	.comm	_REDIS_OK,4,2                   ## @REDIS_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redisReaderGetReply            ; -- Begin function redisReaderGetReply
	.p2align	2
_redisReaderGetReply:                   ; @redisReaderGetReply
	.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	x20, x1
	mov	x19, x0
	cbz	x1, LBB0_2
; %bb.1:
	str	xzr, [x20]
LBB0_2:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_5
LBB0_3:
Lloh0:
	adrp	x21, _REDIS_ERR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _REDIS_ERR@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x21]
	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
LBB0_5:
	ldr	x8, [x19]
Lloh2:
	adrp	x21, _REDIS_OK@GOTPAGE
Lloh3:
	ldr	x21, [x21, _REDIS_OK@GOTPAGEOFF]
	cbz	x8, LBB0_4
; %bb.6:
	ldr	w8, [x19, #8]
	cmn	w8, #1
	b.ne	LBB0_8
; %bb.7:
	mov	w8, #0
	ldr	x9, [x19, #48]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x9]
	mov	w10, #-1
	stp	xzr, xzr, [x9, #16]
	ldr	w11, [x19, #40]
	stp	w10, w11, [x9, #8]
	str	wzr, [x19, #8]
LBB0_8:
	tbnz	w8, #31, LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_processItem
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x19, #8]
	tbz	w8, #31, LBB0_9
LBB0_11:
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_3
; %bb.12:
	ldr	w1, [x19, #12]
	cmp	w1, #1024
	b.lt	LBB0_14
; %bb.13:
	ldr	w0, [x19, #24]
	mov	w2, #-1
	bl	_sdsrange
	str	wzr, [x19, #12]
	ldr	w0, [x19, #24]
	bl	_sdslen
	str	x0, [x19]
LBB0_14:
	ldr	w8, [x19, #8]
	cmn	w8, #1
	b.ne	LBB0_18
; %bb.15:
	cbz	x20, LBB0_17
; %bb.16:
	ldr	x8, [x19, #16]
	str	x8, [x20]
LBB0_17:
	str	xzr, [x19, #16]
LBB0_18:
Lloh4:
	adrp	x21, _REDIS_OK@GOTPAGE
Lloh5:
	ldr	x21, [x21, _REDIS_OK@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_REDIS_ERR,4,2                  ; @REDIS_ERR
	.comm	_REDIS_OK,4,2                   ; @REDIS_OK
.subsections_via_symbols
