	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redisvAppendCommand            ## -- Begin function redisvAppendCommand
	.p2align	4, 0x90
_redisvAppendCommand:                   ## @redisvAppendCommand
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	-32(%rbp), %rdi
	callq	_redisvFormatCommand
	cmpl	$-2, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.2:
	movq	_REDIS_ERR_OOM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_3
LBB0_4:
	movq	_REDIS_ERR_OTHER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_3:
	movq	%rbx, %rdi
	callq	___redisSetError
	jmp	LBB0_6
LBB0_5:
	movq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	___redisAppendCommand
	movq	%rax, %r15
	movq	_REDIS_OK@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	movq	-32(%rbp), %rdi
	callq	_free
	cmpq	%rbx, %r15
	jne	LBB0_6
## %bb.7:
	movl	(%r14), %eax
	jmp	LBB0_8
LBB0_6:
	movq	_REDIS_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REDIS_ERR_OOM,4,2              ## @REDIS_ERR_OOM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Out of memory"

	.comm	_REDIS_ERR,4,2                  ## @REDIS_ERR
	.comm	_REDIS_ERR_OTHER,4,2            ## @REDIS_ERR_OTHER
L_.str.1:                               ## @.str.1
	.asciz	"Invalid format string"

	.comm	_REDIS_OK,8,3                   ## @REDIS_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redisvAppendCommand            ; -- Begin function redisvAppendCommand
	.p2align	2
_redisvAppendCommand:                   ; @redisvAppendCommand
	.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, x0
	add	x0, sp, #8
	bl	_redisvFormatCommand
	cmn	w0, #2
	b.eq	LBB0_3
; %bb.1:
	mov	x2, x0
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _REDIS_ERR_OOM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REDIS_ERR_OOM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _REDIS_ERR_OTHER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REDIS_ERR_OTHER@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	___redisSetError
	b	LBB0_7
LBB0_5:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	___redisAppendCommand
	mov	x19, x0
Lloh10:
	adrp	x20, _REDIS_OK@GOTPAGE
Lloh11:
	ldr	x20, [x20, _REDIS_OK@GOTPAGEOFF]
	ldr	x21, [x20]
	ldr	x0, [sp, #8]
	bl	_free
	cmp	x19, x21
	b.ne	LBB0_7
; %bb.6:
	ldr	w0, [x20]
	b	LBB0_8
LBB0_7:
Lloh12:
	adrp	x8, _REDIS_ERR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REDIS_ERR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_8:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_REDIS_ERR_OOM,4,2              ; @REDIS_ERR_OOM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Out of memory"

	.comm	_REDIS_ERR,4,2                  ; @REDIS_ERR
	.comm	_REDIS_ERR_OTHER,4,2            ; @REDIS_ERR_OTHER
l_.str.1:                               ; @.str.1
	.asciz	"Invalid format string"

	.comm	_REDIS_OK,8,3                   ; @REDIS_OK
.subsections_via_symbols
