	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redisReaderFeed                ## -- Begin function redisReaderFeed
	.p2align	4, 0x90
_redisReaderFeed:                       ## @redisReaderFeed
	.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	_REDIS_ERR@GOTPCREL(%rip), %r12
	cmpq	$0, 32(%rdi)
	jne	LBB0_11
## %bb.1:
	movq	%rsi, %r15
	movq	_REDIS_OK@GOTPCREL(%rip), %r13
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.2:
	movq	%rdx, %r14
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.3:
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	je	LBB0_4
LBB0_7:
	movq	16(%rbx), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_sdscatlen
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_sdslen
	movq	%rax, (%rbx)
LBB0_10:
	movq	%r13, %r12
LBB0_11:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	cmpq	$0, 8(%rbx)
	je	LBB0_7
## %bb.5:
	movq	16(%rbx), %rdi
	callq	_sdsavail
	cmpq	8(%rbx), %rax
	jle	LBB0_7
## %bb.6:
	movq	16(%rbx), %rdi
	callq	_sdsfree
	xorl	%eax, %eax
	callq	_sdsempty
	movq	%rax, 16(%rbx)
	movq	$0, 24(%rbx)
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	jmp	LBB0_7
LBB0_8:
	movq	%rbx, %rdi
	callq	___redisReaderSetErrorOOM
	jmp	LBB0_11
	.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	_redisReaderFeed                ; -- Begin function redisReaderFeed
	.p2align	2
_redisReaderFeed:                       ; @redisReaderFeed
	.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
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _REDIS_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REDIS_ERR@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
	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_3:
	mov	x21, x1
Lloh2:
	adrp	x8, _REDIS_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REDIS_OK@GOTPAGEOFF]
	cbz	x1, LBB0_2
; %bb.4:
	mov	x20, x2
	cbz	x2, LBB0_2
; %bb.5:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_8
LBB0_6:
	ldr	x0, [x19, #16]
	mov	x1, x21
	mov	x2, x20
	bl	_sdscatlen
	cbz	x0, LBB0_11
; %bb.7:
	str	x0, [x19, #16]
	bl	_sdslen
	str	x0, [x19]
Lloh4:
	adrp	x8, _REDIS_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _REDIS_OK@GOTPAGEOFF]
	b	LBB0_2
LBB0_8:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.9:
	ldr	x0, [x19, #16]
	bl	_sdsavail
	ldr	x8, [x19, #8]
	cmp	x0, x8
	b.le	LBB0_6
; %bb.10:
	ldr	x0, [x19, #16]
	bl	_sdsfree
	bl	_sdsempty
	stp	x0, xzr, [x19, #16]
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	b	LBB0_6
LBB0_11:
	mov	x0, x19
	bl	___redisReaderSetErrorOOM
	b	LBB0_1
	.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
