	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cluster_cmd_get_slot
_cluster_cmd_get_slot:                  ## @cluster_cmd_get_slot
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_Z_TYPE_P
	movq	_IS_STRING@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_Z_TYPE_P
	movq	_IS_LONG@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_Z_TYPE_P
	movq	_IS_DOUBLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_3:
	movq	%rbx, %rdi
	callq	_zval_get_string
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ZSTR_VAL
	movq	%rax, -48(%rbp)
	movq	%rbx, %rdi
	callq	_ZSTR_LEN
	movq	%rax, -56(%rbp)
	movl	(%r15), %edi
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_redis_key_prefix
	movl	%eax, %r14d
	movq	-48(%rbp), %rdi
	movq	-56(%rbp), %rsi
	callq	_cluster_hash_key
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_zend_string_release
	testl	%r14d, %r14d
	je	LBB0_13
## %bb.4:
	movq	-48(%rbp), %rdi
	callq	_efree
LBB0_13:
	movswl	%r15w, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	callq	_Z_TYPE_P
	movq	_IS_ARRAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.6:
	movq	%rbx, %rdi
	callq	_Z_ARRVAL_P
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_zend_hash_index_find
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_Z_ARRVAL_P
	movl	%eax, %edi
	movl	$1, %esi
	callq	_zend_hash_index_find
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_Z_TYPE_P
	cmpq	(%r13), %rax
	jne	LBB0_12
## %bb.9:
	movq	%rbx, %rdi
	callq	_Z_TYPE_P
	cmpq	(%r12), %rax
	jne	LBB0_12
## %bb.10:
	movq	%r14, %rdi
	callq	_Z_STRVAL_P
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_Z_LVAL_P
	movzwl	%ax, %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_cluster_find_slot
	movl	%eax, %r15d
	testw	%ax, %ax
	jns	LBB0_13
## %bb.11:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r14, %rdi
	callq	_Z_STRVAL_P
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_Z_LVAL_P
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	movl	%r13d, %esi
	movq	%r14, %rcx
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_php_error_docref
	jmp	LBB0_13
LBB0_12:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_php_error_docref
	movw	$-1, %r15w
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_IS_STRING,8,3                  ## @IS_STRING
	.comm	_IS_LONG,8,3                    ## @IS_LONG
	.comm	_IS_DOUBLE,8,3                  ## @IS_DOUBLE
	.comm	_IS_ARRAY,8,3                   ## @IS_ARRAY
	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown node %s:%ld"

L_.str.1:                               ## @.str.1
	.asciz	"Direted commands musty be passed a key or [host,port] array"

	.no_dead_strip	_cluster_cmd_get_slot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cluster_cmd_get_slot
_cluster_cmd_get_slot:                  ; @cluster_cmd_get_slot
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_Z_TYPE_P
Lloh0:
	adrp	x22, _IS_STRING@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IS_STRING@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_Z_TYPE_P
Lloh2:
	adrp	x23, _IS_LONG@GOTPAGE
Lloh3:
	ldr	x23, [x23, _IS_LONG@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_Z_TYPE_P
Lloh4:
	adrp	x8, _IS_DOUBLE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IS_DOUBLE@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
LBB0_3:
	mov	x0, x21
	bl	_zval_get_string
	mov	x20, x0
	bl	_ZSTR_VAL
	str	x0, [sp, #16]
	mov	x0, x20
	bl	_ZSTR_LEN
	str	x0, [sp, #24]
	ldr	w0, [x19]
	add	x1, sp, #16
	add	x2, sp, #24
	bl	_redis_key_prefix
	mov	x21, x0
	ldp	x0, x1, [sp, #16]
	bl	_cluster_hash_key
	mov	x19, x0
	mov	x0, x20
	bl	_zend_string_release
	cbz	w21, LBB0_5
; %bb.4:
	ldr	x0, [sp, #16]
	bl	_efree
LBB0_5:
	sxth	w0, w19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	mov	x0, x21
	bl	_Z_TYPE_P
Lloh7:
	adrp	x8, _IS_ARRAY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IS_ARRAY@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.7:
	mov	x0, x21
	bl	_Z_ARRVAL_P
	mov	w1, #0
	bl	_zend_hash_index_find
	cbz	x0, LBB0_13
; %bb.8:
	mov	x20, x0
	mov	x0, x21
	bl	_Z_ARRVAL_P
	mov	w1, #1
	bl	_zend_hash_index_find
	cbz	x0, LBB0_13
; %bb.9:
	mov	x21, x0
	mov	x0, x20
	bl	_Z_TYPE_P
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.10:
	mov	x0, x21
	bl	_Z_TYPE_P
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.11:
	mov	x0, x20
	bl	_Z_STRVAL_P
	mov	x22, x0
	mov	x0, x21
	bl	_Z_LVAL_P
	and	w2, w0, #0xffff
	mov	x0, x19
	mov	x1, x22
	bl	_cluster_find_slot
	mov	x19, x0
	tbz	w0, #31, LBB0_5
; %bb.12:
Lloh10:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh12:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_Z_STRVAL_P
	mov	x20, x0
	mov	x0, x21
	bl	_Z_LVAL_P
	stp	x20, x0, [sp]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #0
	mov	x1, x22
	bl	_php_error_docref
	b	LBB0_5
LBB0_13:
Lloh15:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh16:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str.1@PAGE
Lloh19:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w0, #0
	bl	_php_error_docref
	mov	w19, #65535
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IS_STRING,8,3                  ; @IS_STRING
	.comm	_IS_LONG,8,3                    ; @IS_LONG
	.comm	_IS_DOUBLE,8,3                  ; @IS_DOUBLE
	.comm	_IS_ARRAY,8,3                   ; @IS_ARRAY
	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown node %s:%ld"

l_.str.1:                               ; @.str.1
	.asciz	"Direted commands musty be passed a key or [host,port] array"

	.no_dead_strip	_cluster_cmd_get_slot
.subsections_via_symbols
