	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cluster_dist_add_key           ## -- Begin function cluster_dist_add_key
	.p2align	4, 0x90
_cluster_dist_add_key:                  ## @cluster_dist_add_key
	.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	%r8, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rdx, -48(%rbp)
	movq	%rcx, -56(%rbp)
	movl	8(%rdi), %edi
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_redis_key_prefix
	movl	%eax, %r12d
	movq	-48(%rbp), %rdi
	movq	-56(%rbp), %rsi
	callq	_cluster_hash_key
	movq	(%rbx), %rcx
	movswq	%ax, %rdx
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_1
## %bb.3:
	movswl	%ax, %r13d
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_zend_hash_index_find_ptr
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_cluster_dl_create
	movq	%rax, %rbx
	movq	%r15, %rdi
	movl	%r13d, %esi
	movq	%rax, %rdx
	callq	_zend_hash_index_update_ptr
LBB0_5:
	movq	-48(%rbp), %rsi
	movq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r12d, %ecx
	callq	_cluster_dl_add_key
	movq	_SUCCESS@GOTPCREL(%rip), %rbx
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	movq	%rax, (%r14)
	jmp	LBB0_7
LBB0_1:
	movq	_FAILURE@GOTPCREL(%rip), %rbx
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.2:
	movq	-48(%rbp), %rdi
	callq	_efree
LBB0_7:
	movl	(%rbx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FAILURE,4,2                    ## @FAILURE
	.comm	_SUCCESS,4,2                    ## @SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cluster_dist_add_key           ; -- Begin function cluster_dist_add_key
	.p2align	2
_cluster_dist_add_key:                  ; @cluster_dist_add_key
	.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, x4
	mov	x21, x1
	mov	x23, x0
	stp	x3, x2, [sp]
	ldr	w0, [x0, #8]
	add	x1, sp, #8
	mov	x2, sp
	bl	_redis_key_prefix
	mov	x20, x0
	ldp	x1, x0, [sp]
	bl	_cluster_hash_key
	ldr	x8, [x23]
	ldr	x8, [x8, w0, sxtw #3]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x22, x0
	mov	x0, x21
	mov	x1, x22
	bl	_zend_hash_index_find_ptr
	mov	x23, x0
	cbnz	x0, LBB0_3
; %bb.2:
	bl	_cluster_dl_create
	mov	x23, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_zend_hash_index_update_ptr
LBB0_3:
	ldp	x2, x1, [sp]
	mov	x0, x23
	mov	x3, x20
	bl	_cluster_dl_add_key
	cbz	x19, LBB0_5
; %bb.4:
	str	x0, [x19]
LBB0_5:
Lloh0:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	cbz	w20, LBB0_8
; %bb.7:
	ldr	x0, [sp, #8]
	bl	_efree
LBB0_8:
Lloh2:
	adrp	x8, _FAILURE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
LBB0_9:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FAILURE,4,2                    ; @FAILURE
	.comm	_SUCCESS,4,2                    ; @SUCCESS
.subsections_via_symbols
