	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_reply_reader
_test_reply_reader:                     ## @test_reply_reader
	.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
	leaq	L_.str(%rip), %rdi
	callq	_test
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_redisReaderCreate
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	movl	$6, %edx
	callq	_redisReaderFeed
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_redisReaderGetReply
	movq	_REDIS_ERR@GOTPCREL(%rip), %r12
	movl	$0, %edi
	cmpl	(%r12), %eax
	jne	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcasecmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
LBB0_2:
	callq	_test_cond
	movq	%rbx, %rdi
	callq	_redisReaderFree
	leaq	L_.str.3(%rip), %rdi
	callq	_test
	xorl	%eax, %eax
	callq	_redisReaderCreate
	movq	%rax, %rbx
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_redisReaderFeed
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movl	$11, %edx
	callq	_redisReaderFeed
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$6, %edx
	callq	_redisReaderFeed
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_redisReaderGetReply
	cmpl	(%r12), %eax
	jne	LBB0_4
## %bb.3:
	movl	8(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcasecmp
	xorl	%r14d, %r14d
	testq	%rax, %rax
	sete	%r14b
LBB0_4:
	movl	%r14d, %edi
	callq	_test_cond
	movq	%rbx, %rdi
	callq	_redisReaderFree
	leaq	L_.str.6(%rip), %rdi
	callq	_test
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_redisReaderCreate
	movq	%rax, %rbx
	leaq	L_.str.7(%rip), %r15
	movq	%rax, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_redisReaderFeed
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_redisReaderFeed
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_redisReaderFeed
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_redisReaderFeed
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_redisReaderFeed
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_redisReaderFeed
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_redisReaderFeed
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_redisReaderFeed
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_redisReaderFeed
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_redisReaderGetReply
	movl	$0, %edi
	cmpl	(%r12), %eax
	jne	LBB0_6
## %bb.5:
	movl	8(%rbx), %edi
	leaq	L_.str.8(%rip), %rsi
	movl	$14, %edx
	callq	_strncasecmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
LBB0_6:
	callq	_test_cond
	movq	%rbx, %rdi
	callq	_redisReaderFree
	leaq	L_.str.9(%rip), %rdi
	callq	_test
	xorl	%eax, %eax
	callq	_redisReaderCreate
	movq	%rax, %rbx
	leaq	L_.str.10(%rip), %rsi
	movq	%rax, %rdi
	movl	$22, %edx
	callq	_redisReaderFeed
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_redisReaderGetReply
	movq	_REDIS_OK@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	jne	LBB0_9
## %bb.7:
	movq	-48(%rbp), %rax
	movq	(%rax), %rcx
	movq	_REDIS_REPLY_INTEGER@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.8:
	movq	8(%rax), %rax
	movq	_LLONG_MAX@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	sete	%r14b
LBB0_9:
	movl	%r14d, %edi
	callq	_test_cond
	movq	-48(%rbp), %rdi
	callq	_freeReplyObject
	movq	%rbx, %rdi
	callq	_redisReaderFree
	leaq	L_.str.11(%rip), %rdi
	callq	_test
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_redisReaderCreate
	movq	%rax, %rbx
	leaq	L_.str.12(%rip), %rsi
	movq	%rax, %rdi
	movl	$22, %edx
	callq	_redisReaderFeed
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_redisReaderGetReply
	movl	$0, %edi
	cmpl	(%r12), %eax
	jne	LBB0_11
## %bb.10:
	movl	8(%rbx), %edi
	leaq	L_.str.13(%rip), %rsi
	callq	_strcasecmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
LBB0_11:
	callq	_test_cond
	movq	-48(%rbp), %rdi
	callq	_freeReplyObject
	movq	%rbx, %rdi
	callq	_redisReaderFree
	leaq	L_.str.14(%rip), %rdi
	callq	_test
	xorl	%eax, %eax
	callq	_redisReaderCreate
	movq	%rax, %rbx
	leaq	L_.str.15(%rip), %rsi
	movq	%rax, %rdi
	movl	$23, %edx
	callq	_redisReaderFeed
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_redisReaderGetReply
	cmpl	(%r13), %eax
	jne	LBB0_14
## %bb.12:
	movq	-48(%rbp), %rax
	movq	(%rax), %rcx
	movq	_REDIS_REPLY_INTEGER@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_14
## %bb.13:
	movq	8(%rax), %rax
	movq	_LLONG_MIN@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	sete	%r14b
LBB0_14:
	movl	%r14d, %edi
	callq	_test_cond
	movq	-48(%rbp), %rdi
	callq	_freeReplyObject
	movq	%rbx, %rdi
	callq	_redisReaderFree
	leaq	L_.str.16(%rip), %rdi
	callq	_test
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_redisReaderCreate
	movq	%rax, %rbx
	leaq	L_.str.17(%rip), %rsi
	movq	%rax, %rdi
	movl	$23, %edx
	callq	_redisReaderFeed
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_redisReaderGetReply
	movl	$0, %edi
	cmpl	(%r12), %eax
	jne	LBB0_16
## %bb.15:
	movl	8(%rbx), %edi
	leaq	L_.str.13(%rip), %rsi
	callq	_strcasecmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
LBB0_16:
	callq	_test_cond
	movq	-48(%rbp), %rdi
	callq	_freeReplyObject
	movq	%rbx, %rdi
	callq	_redisReaderFree
	leaq	L_.str.18(%rip), %rdi
	callq	_test
	xorl	%eax, %eax
	callq	_redisReaderCreate
	movq	%rax, %rbx
	leaq	L_.str.19(%rip), %rsi
	movq	%rax, %rdi
	movl	$12, %edx
	callq	_redisReaderFeed
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_redisReaderGetReply
	cmpl	(%r12), %eax
	jne	LBB0_18
## %bb.17:
	movl	8(%rbx), %edi
	leaq	L_.str.20(%rip), %rsi
	callq	_strcasecmp
	xorl	%r14d, %r14d
	testq	%rax, %rax
	sete	%r14b
LBB0_18:
	movl	%r14d, %edi
	callq	_test_cond
	movq	-48(%rbp), %rdi
	callq	_freeReplyObject
	movq	%rbx, %rdi
	callq	_redisReaderFree
	leaq	L_.str.21(%rip), %rdi
	callq	_test
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_redisReaderCreate
	movq	%rax, %rbx
	leaq	L_.str.22(%rip), %rsi
	movq	%rax, %rdi
	movl	$11, %edx
	callq	_redisReaderFeed
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_redisReaderGetReply
	movl	$0, %edi
	cmpl	(%r12), %eax
	jne	LBB0_20
## %bb.19:
	movl	8(%rbx), %edi
	leaq	L_.str.23(%rip), %rsi
	callq	_strcasecmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
LBB0_20:
	callq	_test_cond
	movq	-48(%rbp), %rdi
	callq	_freeReplyObject
	movq	%rbx, %rdi
	callq	_redisReaderFree
	leaq	L_.str.24(%rip), %rdi
	callq	_test
	xorl	%eax, %eax
	callq	_redisReaderCreate
	movq	%rax, %rbx
	movq	$0, (%rax)
	leaq	L_.str.25(%rip), %rsi
	movq	%rax, %rdi
	movl	$5, %edx
	callq	_redisReaderFeed
	leaq	-48(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_redisReaderGetReply
	cmpl	(%r13), %eax
	sete	%al
	movq	-48(%rbp), %rcx
	movq	%r13, %r12
	movq	_REDIS_REPLY_STATUS@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rcx
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_test_cond
	movq	%rbx, %rdi
	callq	_redisReaderFree
	leaq	L_.str.26(%rip), %rdi
	callq	_test
	xorl	%eax, %eax
	callq	_redisReaderCreate
	movq	%rax, %rbx
	movq	$0, (%rax)
	leaq	L_.str.27(%rip), %rsi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_redisReaderFeed
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_redisReaderGetReply
	cmpl	(%r12), %eax
	sete	%al
	cmpq	$0, -48(%rbp)
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	leaq	L_.str.28(%rip), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_redisReaderFeed
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_redisReaderGetReply
	cmpl	(%r12), %eax
	sete	%al
	movq	-48(%rbp), %rcx
	cmpq	(%r13), %rcx
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_test_cond
	movq	%rbx, %rdi
	callq	_redisReaderFree
	leaq	L_.str.29(%rip), %rdi
	callq	_test
	xorl	%eax, %eax
	callq	_redisReaderCreate
	movq	%rax, %rbx
	movq	$0, (%rax)
	leaq	L_.str.30(%rip), %rsi
	movq	%rax, %rdi
	movl	$1, %edx
	callq	_redisReaderFeed
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_redisReaderGetReply
	xorl	%edi, %edi
	movq	_REDIS_ERR@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	sete	%dil
	callq	_assert
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_redisReaderGetReply
	cmpl	(%r13), %eax
	sete	%al
	cmpq	$0, -48(%rbp)
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_test_cond
	movq	%rbx, %rdi
	callq	_redisReaderFree
	leaq	L_.str.31(%rip), %rdi
	callq	_test
	xorl	%eax, %eax
	callq	_redisReaderCreate
	movq	%rax, %rbx
	leaq	L_.str.32(%rip), %rsi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_redisReaderFeed
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_redisReaderGetReply
	cmpl	(%r12), %eax
	jne	LBB0_23
## %bb.21:
	movq	-48(%rbp), %rax
	movq	(%rax), %rcx
	movq	_REDIS_REPLY_ARRAY@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_23
## %bb.22:
	xorl	%r14d, %r14d
	cmpq	$0, 16(%rax)
	sete	%r14b
LBB0_23:
	movl	%r14d, %edi
	callq	_test_cond
	movq	-48(%rbp), %rdi
	callq	_freeReplyObject
	movq	%rbx, %rdi
	callq	_redisReaderFree
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error handling in reply parser: "

L_.str.1:                               ## @.str.1
	.asciz	"@foo\r\n"

	.comm	_REDIS_ERR,4,2                  ## @REDIS_ERR
L_.str.2:                               ## @.str.2
	.asciz	"Protocol error, got \"@\" as reply type byte"

L_.str.3:                               ## @.str.3
	.asciz	"Memory cleanup in reply parser: "

L_.str.4:                               ## @.str.4
	.asciz	"*2\r\n"

L_.str.5:                               ## @.str.5
	.asciz	"$5\r\nhello\r\n"

L_.str.6:                               ## @.str.6
	.asciz	"Set error on nested multi bulks with depth > 7: "

L_.str.7:                               ## @.str.7
	.asciz	"*1\r\n"

L_.str.8:                               ## @.str.8
	.asciz	"No support for"

L_.str.9:                               ## @.str.9
	.asciz	"Correctly parses LLONG_MAX: "

L_.str.10:                              ## @.str.10
	.asciz	":9223372036854775807\r\n"

	.comm	_REDIS_OK,4,2                   ## @REDIS_OK
	.comm	_REDIS_REPLY_INTEGER,8,3        ## @REDIS_REPLY_INTEGER
	.comm	_LLONG_MAX,8,3                  ## @LLONG_MAX
L_.str.11:                              ## @.str.11
	.asciz	"Set error when > LLONG_MAX: "

L_.str.12:                              ## @.str.12
	.asciz	":9223372036854775808\r\n"

L_.str.13:                              ## @.str.13
	.asciz	"Bad integer value"

L_.str.14:                              ## @.str.14
	.asciz	"Correctly parses LLONG_MIN: "

L_.str.15:                              ## @.str.15
	.asciz	":-9223372036854775808\r\n"

	.comm	_LLONG_MIN,8,3                  ## @LLONG_MIN
L_.str.16:                              ## @.str.16
	.asciz	"Set error when < LLONG_MIN: "

L_.str.17:                              ## @.str.17
	.asciz	":-9223372036854775809\r\n"

L_.str.18:                              ## @.str.18
	.asciz	"Set error when array < -1: "

L_.str.19:                              ## @.str.19
	.asciz	"*-2\r\n+asdf\r\n"

L_.str.20:                              ## @.str.20
	.asciz	"Multi-bulk length out of range"

L_.str.21:                              ## @.str.21
	.asciz	"Set error when bulk < -1: "

L_.str.22:                              ## @.str.22
	.asciz	"$-2\r\nasdf\r\n"

L_.str.23:                              ## @.str.23
	.asciz	"Bulk string length out of range"

L_.str.24:                              ## @.str.24
	.asciz	"Works with NULL functions for reply: "

L_.str.25:                              ## @.str.25
	.asciz	"+OK\r\n"

	.comm	_REDIS_REPLY_STATUS,8,3         ## @REDIS_REPLY_STATUS
L_.str.26:                              ## @.str.26
	.asciz	"Works when a single newline (\\r\\n) covers two calls to feed: "

L_.str.27:                              ## @.str.27
	.asciz	"+OK\r"

L_.str.28:                              ## @.str.28
	.asciz	"\n"

L_.str.29:                              ## @.str.29
	.asciz	"Don't reset state after protocol error: "

L_.str.30:                              ## @.str.30
	.asciz	"x"

L_.str.31:                              ## @.str.31
	.asciz	"Don't do empty allocation for empty multi bulk: "

L_.str.32:                              ## @.str.32
	.asciz	"*0\r\n"

	.comm	_REDIS_REPLY_ARRAY,8,3          ## @REDIS_REPLY_ARRAY
	.no_dead_strip	_test_reply_reader
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_reply_reader
_test_reply_reader:                     ; @test_reply_reader
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_test
	bl	_redisReaderCreate
	mov	x19, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #6
	bl	_redisReaderFeed
	mov	x0, x19
	mov	x1, #0
	bl	_redisReaderGetReply
Lloh4:
	adrp	x21, _REDIS_ERR@GOTPAGE
Lloh5:
	ldr	x21, [x21, _REDIS_ERR@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcasecmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_test_cond
	mov	x0, x19
	bl	_redisReaderFree
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_test
	bl	_redisReaderCreate
	mov	x19, x0
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #4
	bl	_redisReaderFeed
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w2, #11
	bl	_redisReaderFeed
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #6
	bl	_redisReaderFeed
	mov	x0, x19
	mov	x1, #0
	bl	_redisReaderGetReply
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.4:
	ldr	w0, [x19, #8]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcasecmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	bl	_test_cond
	mov	x0, x19
	bl	_redisReaderFree
Lloh18:
	adrp	x0, l_.str.6@PAGE
Lloh19:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_test
	bl	_redisReaderCreate
	mov	x19, x0
Lloh20:
	adrp	x20, l_.str.7@PAGE
Lloh21:
	add	x20, x20, l_.str.7@PAGEOFF
	mov	x1, x20
	mov	w2, #4
	bl	_redisReaderFeed
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	bl	_redisReaderFeed
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	bl	_redisReaderFeed
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	bl	_redisReaderFeed
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	bl	_redisReaderFeed
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	bl	_redisReaderFeed
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	bl	_redisReaderFeed
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	bl	_redisReaderFeed
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	bl	_redisReaderFeed
	mov	x0, x19
	mov	x1, #0
	bl	_redisReaderGetReply
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.7:
	ldr	w0, [x19, #8]
Lloh22:
	adrp	x1, l_.str.8@PAGE
Lloh23:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w2, #14
	bl	_strncasecmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	bl	_test_cond
	mov	x0, x19
	bl	_redisReaderFree
Lloh24:
	adrp	x0, l_.str.9@PAGE
Lloh25:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_test
	bl	_redisReaderCreate
	mov	x19, x0
Lloh26:
	adrp	x1, l_.str.10@PAGE
Lloh27:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	w2, #22
	bl	_redisReaderFeed
	add	x1, sp, #8
	mov	x0, x19
	bl	_redisReaderGetReply
Lloh28:
	adrp	x20, _REDIS_OK@GOTPAGE
Lloh29:
	ldr	x20, [x20, _REDIS_OK@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh30:
	adrp	x22, _REDIS_REPLY_INTEGER@GOTPAGE
Lloh31:
	ldr	x22, [x22, _REDIS_REPLY_INTEGER@GOTPAGEOFF]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.10:
	ldr	x8, [sp, #8]
	ldr	x9, [x8]
	ldr	x10, [x22]
	cmp	x9, x10
	b.ne	LBB0_12
; %bb.11:
	ldr	x8, [x8, #8]
Lloh32:
	adrp	x9, _LLONG_MAX@GOTPAGE
Lloh33:
	ldr	x9, [x9, _LLONG_MAX@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	bl	_test_cond
	ldr	x0, [sp, #8]
	bl	_freeReplyObject
	mov	x0, x19
	bl	_redisReaderFree
Lloh35:
	adrp	x0, l_.str.11@PAGE
Lloh36:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_test
	bl	_redisReaderCreate
	mov	x19, x0
Lloh37:
	adrp	x1, l_.str.12@PAGE
Lloh38:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	w2, #22
	bl	_redisReaderFeed
	add	x1, sp, #8
	mov	x0, x19
	bl	_redisReaderGetReply
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_15
; %bb.14:
	ldr	w0, [x19, #8]
Lloh39:
	adrp	x1, l_.str.13@PAGE
Lloh40:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_strcasecmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_16
LBB0_15:
	mov	w0, #0
LBB0_16:
	bl	_test_cond
	ldr	x0, [sp, #8]
	bl	_freeReplyObject
	mov	x0, x19
	bl	_redisReaderFree
Lloh41:
	adrp	x0, l_.str.14@PAGE
Lloh42:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_test
	bl	_redisReaderCreate
	mov	x19, x0
Lloh43:
	adrp	x1, l_.str.15@PAGE
Lloh44:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	w2, #23
	bl	_redisReaderFeed
	add	x1, sp, #8
	mov	x0, x19
	bl	_redisReaderGetReply
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_19
; %bb.17:
	ldr	x8, [sp, #8]
	ldr	x9, [x8]
	ldr	x10, [x22]
	cmp	x9, x10
	b.ne	LBB0_19
; %bb.18:
	ldr	x8, [x8, #8]
Lloh45:
	adrp	x9, _LLONG_MIN@GOTPAGE
Lloh46:
	ldr	x9, [x9, _LLONG_MIN@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_20
LBB0_19:
	mov	w0, #0
LBB0_20:
	bl	_test_cond
	ldr	x0, [sp, #8]
	bl	_freeReplyObject
	mov	x0, x19
	bl	_redisReaderFree
Lloh48:
	adrp	x0, l_.str.16@PAGE
Lloh49:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_test
	bl	_redisReaderCreate
	mov	x19, x0
Lloh50:
	adrp	x1, l_.str.17@PAGE
Lloh51:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	w2, #23
	bl	_redisReaderFeed
	add	x1, sp, #8
	mov	x0, x19
	bl	_redisReaderGetReply
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_22
; %bb.21:
	ldr	w0, [x19, #8]
Lloh52:
	adrp	x1, l_.str.13@PAGE
Lloh53:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_strcasecmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_23
LBB0_22:
	mov	w0, #0
LBB0_23:
	bl	_test_cond
	ldr	x0, [sp, #8]
	bl	_freeReplyObject
	mov	x0, x19
	bl	_redisReaderFree
Lloh54:
	adrp	x0, l_.str.18@PAGE
Lloh55:
	add	x0, x0, l_.str.18@PAGEOFF
	bl	_test
	bl	_redisReaderCreate
	mov	x19, x0
Lloh56:
	adrp	x1, l_.str.19@PAGE
Lloh57:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	w2, #12
	bl	_redisReaderFeed
	add	x1, sp, #8
	mov	x0, x19
	bl	_redisReaderGetReply
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_25
; %bb.24:
	ldr	w0, [x19, #8]
Lloh58:
	adrp	x1, l_.str.20@PAGE
Lloh59:
	add	x1, x1, l_.str.20@PAGEOFF
	bl	_strcasecmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_26
LBB0_25:
	mov	w0, #0
LBB0_26:
	bl	_test_cond
	ldr	x0, [sp, #8]
	bl	_freeReplyObject
	mov	x0, x19
	bl	_redisReaderFree
Lloh60:
	adrp	x0, l_.str.21@PAGE
Lloh61:
	add	x0, x0, l_.str.21@PAGEOFF
	bl	_test
	bl	_redisReaderCreate
	mov	x19, x0
Lloh62:
	adrp	x1, l_.str.22@PAGE
Lloh63:
	add	x1, x1, l_.str.22@PAGEOFF
	mov	w2, #11
	bl	_redisReaderFeed
	add	x1, sp, #8
	mov	x0, x19
	bl	_redisReaderGetReply
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_28
; %bb.27:
	ldr	w0, [x19, #8]
Lloh64:
	adrp	x1, l_.str.23@PAGE
Lloh65:
	add	x1, x1, l_.str.23@PAGEOFF
	bl	_strcasecmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_29
LBB0_28:
	mov	w0, #0
LBB0_29:
	bl	_test_cond
	ldr	x0, [sp, #8]
	bl	_freeReplyObject
	mov	x0, x19
	bl	_redisReaderFree
Lloh66:
	adrp	x0, l_.str.24@PAGE
Lloh67:
	add	x0, x0, l_.str.24@PAGEOFF
	bl	_test
	bl	_redisReaderCreate
	mov	x19, x0
	str	xzr, [x0]
Lloh68:
	adrp	x1, l_.str.25@PAGE
Lloh69:
	add	x1, x1, l_.str.25@PAGEOFF
	mov	w2, #5
	bl	_redisReaderFeed
	add	x1, sp, #8
	mov	x0, x19
	bl	_redisReaderGetReply
	ldr	w8, [x20]
	cmp	w0, w8
	ldr	x8, [sp, #8]
Lloh70:
	adrp	x22, _REDIS_REPLY_STATUS@GOTPAGE
Lloh71:
	ldr	x22, [x22, _REDIS_REPLY_STATUS@GOTPAGEOFF]
	ldr	x9, [x22]
	ccmp	x8, x9, #0, eq
	cset	w0, eq
	bl	_test_cond
	mov	x0, x19
	bl	_redisReaderFree
Lloh72:
	adrp	x0, l_.str.26@PAGE
Lloh73:
	add	x0, x0, l_.str.26@PAGEOFF
	bl	_test
	bl	_redisReaderCreate
	mov	x19, x0
	str	xzr, [x0]
Lloh74:
	adrp	x1, l_.str.27@PAGE
Lloh75:
	add	x1, x1, l_.str.27@PAGEOFF
	mov	w2, #4
	bl	_redisReaderFeed
	add	x1, sp, #8
	mov	x0, x19
	bl	_redisReaderGetReply
	ldr	w8, [x20]
	cmp	w0, w8
	ldr	x8, [sp, #8]
	ccmp	x8, #0, #0, eq
	cset	w0, eq
	bl	_assert
Lloh76:
	adrp	x1, l_.str.28@PAGE
Lloh77:
	add	x1, x1, l_.str.28@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_redisReaderFeed
	add	x1, sp, #8
	mov	x0, x19
	bl	_redisReaderGetReply
	ldr	w8, [x20]
	cmp	w0, w8
	ldr	x8, [sp, #8]
	ldr	x9, [x22]
	ccmp	x8, x9, #0, eq
	cset	w0, eq
	bl	_test_cond
	mov	x0, x19
	bl	_redisReaderFree
Lloh78:
	adrp	x0, l_.str.29@PAGE
Lloh79:
	add	x0, x0, l_.str.29@PAGEOFF
	bl	_test
	bl	_redisReaderCreate
	mov	x19, x0
	str	xzr, [x0]
Lloh80:
	adrp	x1, l_.str.30@PAGE
Lloh81:
	add	x1, x1, l_.str.30@PAGEOFF
	mov	w2, #1
	bl	_redisReaderFeed
	add	x1, sp, #8
	mov	x0, x19
	bl	_redisReaderGetReply
	ldr	w8, [x21]
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
	add	x1, sp, #8
	mov	x0, x19
	bl	_redisReaderGetReply
	ldr	w8, [x21]
	cmp	w0, w8
	ldr	x8, [sp, #8]
	ccmp	x8, #0, #0, eq
	cset	w0, eq
	bl	_test_cond
	mov	x0, x19
	bl	_redisReaderFree
Lloh82:
	adrp	x0, l_.str.31@PAGE
Lloh83:
	add	x0, x0, l_.str.31@PAGEOFF
	bl	_test
	bl	_redisReaderCreate
	mov	x19, x0
Lloh84:
	adrp	x1, l_.str.32@PAGE
Lloh85:
	add	x1, x1, l_.str.32@PAGEOFF
	mov	w2, #4
	bl	_redisReaderFeed
	add	x1, sp, #8
	mov	x0, x19
	bl	_redisReaderGetReply
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_32
; %bb.30:
	ldr	x8, [sp, #8]
	ldr	x9, [x8]
Lloh86:
	adrp	x10, _REDIS_REPLY_ARRAY@GOTPAGE
Lloh87:
	ldr	x10, [x10, _REDIS_REPLY_ARRAY@GOTPAGEOFF]
Lloh88:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_32
; %bb.31:
	ldr	x8, [x8, #16]
	cmp	x8, #0
	cset	w0, eq
	b	LBB0_33
LBB0_32:
	mov	w0, #0
LBB0_33:
	bl	_test_cond
	ldr	x0, [sp, #8]
	bl	_freeReplyObject
	mov	x0, x19
	bl	_redisReaderFree
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error handling in reply parser: "

l_.str.1:                               ; @.str.1
	.asciz	"@foo\r\n"

	.comm	_REDIS_ERR,4,2                  ; @REDIS_ERR
l_.str.2:                               ; @.str.2
	.asciz	"Protocol error, got \"@\" as reply type byte"

l_.str.3:                               ; @.str.3
	.asciz	"Memory cleanup in reply parser: "

l_.str.4:                               ; @.str.4
	.asciz	"*2\r\n"

l_.str.5:                               ; @.str.5
	.asciz	"$5\r\nhello\r\n"

l_.str.6:                               ; @.str.6
	.asciz	"Set error on nested multi bulks with depth > 7: "

l_.str.7:                               ; @.str.7
	.asciz	"*1\r\n"

l_.str.8:                               ; @.str.8
	.asciz	"No support for"

l_.str.9:                               ; @.str.9
	.asciz	"Correctly parses LLONG_MAX: "

l_.str.10:                              ; @.str.10
	.asciz	":9223372036854775807\r\n"

	.comm	_REDIS_OK,4,2                   ; @REDIS_OK
	.comm	_REDIS_REPLY_INTEGER,8,3        ; @REDIS_REPLY_INTEGER
	.comm	_LLONG_MAX,8,3                  ; @LLONG_MAX
l_.str.11:                              ; @.str.11
	.asciz	"Set error when > LLONG_MAX: "

l_.str.12:                              ; @.str.12
	.asciz	":9223372036854775808\r\n"

l_.str.13:                              ; @.str.13
	.asciz	"Bad integer value"

l_.str.14:                              ; @.str.14
	.asciz	"Correctly parses LLONG_MIN: "

l_.str.15:                              ; @.str.15
	.asciz	":-9223372036854775808\r\n"

	.comm	_LLONG_MIN,8,3                  ; @LLONG_MIN
l_.str.16:                              ; @.str.16
	.asciz	"Set error when < LLONG_MIN: "

l_.str.17:                              ; @.str.17
	.asciz	":-9223372036854775809\r\n"

l_.str.18:                              ; @.str.18
	.asciz	"Set error when array < -1: "

l_.str.19:                              ; @.str.19
	.asciz	"*-2\r\n+asdf\r\n"

l_.str.20:                              ; @.str.20
	.asciz	"Multi-bulk length out of range"

l_.str.21:                              ; @.str.21
	.asciz	"Set error when bulk < -1: "

l_.str.22:                              ; @.str.22
	.asciz	"$-2\r\nasdf\r\n"

l_.str.23:                              ; @.str.23
	.asciz	"Bulk string length out of range"

l_.str.24:                              ; @.str.24
	.asciz	"Works with NULL functions for reply: "

l_.str.25:                              ; @.str.25
	.asciz	"+OK\r\n"

	.comm	_REDIS_REPLY_STATUS,8,3         ; @REDIS_REPLY_STATUS
l_.str.26:                              ; @.str.26
	.asciz	"Works when a single newline (\\r\\n) covers two calls to feed: "

l_.str.27:                              ; @.str.27
	.asciz	"+OK\r"

l_.str.28:                              ; @.str.28
	.asciz	"\n"

l_.str.29:                              ; @.str.29
	.asciz	"Don't reset state after protocol error: "

l_.str.30:                              ; @.str.30
	.asciz	"x"

l_.str.31:                              ; @.str.31
	.asciz	"Don't do empty allocation for empty multi bulk: "

l_.str.32:                              ; @.str.32
	.asciz	"*0\r\n"

	.comm	_REDIS_REPLY_ARRAY,8,3          ; @REDIS_REPLY_ARRAY
	.no_dead_strip	_test_reply_reader
.subsections_via_symbols
