	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redis_build_raw_cmd            ## -- Begin function redis_build_raw_cmd
	.p2align	4, 0x90
_redis_build_raw_cmd:                   ## @redis_build_raw_cmd
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movl	(%rdi), %edi
	callq	_Z_TYPE
	cmpl	$128, %eax
	jne	LBB0_1
## %bb.2:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	leal	-1(%r12), %r13d
	movl	(%rbx), %edi
	callq	_Z_STRVAL
	movl	%eax, %r14d
	movl	(%rbx), %edi
	callq	_Z_STRLEN
	leaq	-64(%rbp), %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_redis_cmd_init_sstr
	cmpl	$2, %r12d
	jl	LBB0_12
## %bb.3:
	movl	%r12d, %r13d
	movl	$1, %r15d
	leaq	-64(%rbp), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx,%r15,4), %edi
	callq	_Z_LVAL
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_redis_cmd_append_sstr_long
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	cmpq	%r15, %r13
	je	LBB0_12
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%r15,4), %edi
	callq	_Z_TYPE
	cmpl	$130, %eax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$129, %eax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx,%r15,4), %edi
	callq	_Z_STRVAL
	movl	%eax, %r14d
	movl	(%rbx,%r15,4), %edi
	callq	_Z_STRLEN
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_redis_cmd_append_sstr
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx,%r15,4), %edi
	callq	_Z_DVAL
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_redis_cmd_append_sstr_dbl
	jmp	LBB0_11
LBB0_1:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	callq	_php_error_docref
	movq	_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movq	-64(%rbp), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	-56(%rbp), %eax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	_SUCCESS@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%edi, %edi
	callq	_php_error_docref
	movq	-64(%rbp), %rdi
	callq	_efree
	movq	_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"When sending a 'raw' command, the first argument must be a string!"

	.comm	_FAILURE,4,2                    ## @FAILURE
L_.str.1:                               ## @.str.1
	.asciz	"Raw command arguments must be scalar values!"

	.comm	_SUCCESS,4,2                    ## @SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redis_build_raw_cmd            ; -- Begin function redis_build_raw_cmd
	.p2align	2
_redis_build_raw_cmd:                   ; @redis_build_raw_cmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	stp	xzr, xzr, [sp]
	ldr	w0, [x0]
	bl	_Z_TYPE
	cmp	w0, #128
	b.ne	LBB0_10
; %bb.1:
	sub	w23, w22, #1
	ldr	w0, [x21]
	bl	_Z_STRVAL
	mov	x24, x0
	ldr	w0, [x21]
	bl	_Z_STRLEN
	mov	x3, x0
	mov	x0, sp
	mov	x1, x23
	mov	x2, x24
	bl	_redis_cmd_init_sstr
	cmp	w22, #2
	b.lt	LBB0_12
; %bb.2:
	mov	w8, w22
	add	x22, x21, #4
	sub	x23, x8, #1
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x22]
	bl	_Z_LVAL
	mov	x1, x0
	mov	x0, sp
	bl	_redis_cmd_append_sstr_long
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #4
	subs	x23, x23, #1
	b.eq	LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_Z_TYPE
	cmp	w0, #130
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #129
	b.eq	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #128
	b.ne	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x22]
	bl	_Z_STRVAL
	mov	x21, x0
	ldr	w0, [x22]
	bl	_Z_STRLEN
	mov	x2, x0
	mov	x0, sp
	mov	x1, x21
	bl	_redis_cmd_append_sstr
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x22]
	bl	_Z_DVAL
	mov	x1, x0
	mov	x0, sp
	bl	_redis_cmd_append_sstr_dbl
	b	LBB0_4
LBB0_10:
Lloh0:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_php_error_docref
LBB0_11:
Lloh5:
	adrp	x8, _FAILURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
	ldr	x8, [sp]
	str	x8, [x20]
	ldr	w8, [sp, #8]
	str	w8, [x19]
Lloh7:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_14:
Lloh9:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, #0
	bl	_php_error_docref
	ldr	x0, [sp]
	bl	_efree
	b	LBB0_11
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"When sending a 'raw' command, the first argument must be a string!"

	.comm	_FAILURE,4,2                    ; @FAILURE
l_.str.1:                               ; @.str.1
	.asciz	"Raw command arguments must be scalar values!"

	.comm	_SUCCESS,4,2                    ; @SUCCESS
.subsections_via_symbols
