	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redisGetReply                  ## -- Begin function redisGetReply
	.p2align	4, 0x90
_redisGetReply:                         ## @redisGetReply
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$0, -36(%rbp)
	movq	$0, -48(%rbp)
	leaq	-48(%rbp), %rsi
	callq	_redisGetReplyFromReader
	movq	_REDIS_ERR@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	je	LBB0_14
## %bb.1:
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_2
LBB0_11:
	testq	%r14, %r14
	je	LBB0_13
## %bb.12:
	movq	%rax, (%r14)
LBB0_13:
	movq	_REDIS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_14:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_REDIS_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.4:
	leaq	-36(%rbp), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_redisBufferWrite
	cmpq	(%r12), %rax
	je	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, -36(%rbp)
	je	LBB0_5
## %bb.7:
	leaq	-48(%rbp), %r15
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_redisBufferRead
	cmpq	(%r12), %rax
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_redisGetReplyFromReader
	cmpq	(%r12), %rax
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_8
	jmp	LBB0_11
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_REDIS_ERR,8,3                  ## @REDIS_ERR
	.comm	_REDIS_BLOCK,4,2                ## @REDIS_BLOCK
	.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	_redisGetReply                  ; -- Begin function redisGetReply
	.p2align	2
_redisGetReply:                         ; @redisGetReply
	.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
	mov	x19, x1
	mov	x20, x0
	str	wzr, [sp, #12]
	str	xzr, [sp]
	mov	x1, sp
	bl	_redisGetReplyFromReader
Lloh0:
	adrp	x21, _REDIS_ERR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _REDIS_ERR@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.1:
	ldr	x8, [sp]
	cbz	x8, LBB0_6
LBB0_2:
	cbz	x19, LBB0_4
; %bb.3:
	str	x8, [x19]
LBB0_4:
Lloh2:
	adrp	x8, _REDIS_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REDIS_OK@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
LBB0_5:
                                        ; kill: def $w0 killed $w0 killed $x0
	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
LBB0_6:
	ldr	w8, [x20]
Lloh5:
	adrp	x9, _REDIS_BLOCK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _REDIS_BLOCK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #12
	mov	x0, x20
	bl	_redisBufferWrite
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_7
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	x1, sp
	mov	x0, x20
	bl	_redisGetReplyFromReader
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [sp]
	cbnz	x8, LBB0_2
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_redisBufferRead
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_9
LBB0_12:
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	b	LBB0_5
LBB0_13:
	mov	x8, #0
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_REDIS_ERR,8,3                  ; @REDIS_ERR
	.comm	_REDIS_BLOCK,4,2                ; @REDIS_BLOCK
	.comm	_REDIS_OK,4,2                   ; @REDIS_OK
.subsections_via_symbols
