	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function redis_cluster_init
LCPI0_0:
	.quad	0x408f400000000000              ## double 1000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_redis_cluster_init:                    ## @redis_cluster_init
	.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, %r12
	movq	%rcx, %r13
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movsd	%xmm1, -48(%rbp)                ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_cluster_validate_args
	testq	%r13, %r13
	je	LBB0_3
## %bb.1:
	testq	%r12, %r12
	je	LBB0_3
## %bb.2:
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_zend_string_init
	movl	%eax, 36(%rbx)
LBB0_3:
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, (%rbx)
	movsd	-48(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movsd	%xmm1, 8(%rbx)
	mulsd	LCPI0_0(%rip), %xmm0
	movl	%r15d, 16(%rbx)
	cvttsd2si	%xmm0, %rax
	movq	%rax, 24(%rbx)
	movq	%r14, %rdi
	callq	_cluster_cache_load
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cluster_init_cache             ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_cluster_init_seeds
	movq	_SUCCESS@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_cluster_map_keyspace
	cmpq	(%r15), %rax
	jne	LBB0_6
## %bb.8:
	movl	32(%rbx), %esi
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cluster_cache_store            ## TAILCALL
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUCCESS,8,3                    ## @SUCCESS
	.no_dead_strip	_redis_cluster_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function redis_cluster_init
_redis_cluster_init:                    ; @redis_cluster_init
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.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
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	mov	x22, x4
	mov	x23, x3
	mov	x21, x2
	fmov	d9, d1
	fmov	d8, d0
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_cluster_validate_args
	cbz	x23, LBB0_3
; %bb.1:
	cbz	x22, LBB0_3
; %bb.2:
	mov	x0, x23
	mov	x1, x22
	mov	w2, #0
	bl	_zend_string_init
	str	w0, [x19, #36]
LBB0_3:
	stp	d8, d9, [x19]
	str	w21, [x19, #16]
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d0, x8
	fmul	d0, d8, d0
	fcvtzs	x8, d0
	str	x8, [x19, #24]
	mov	x0, x20
	bl	_cluster_cache_load
	cbz	x0, LBB0_5
; %bb.4:
	mov	x1, x0
	mov	x0, x19
	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
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	b	_cluster_init_cache
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_cluster_init_seeds
Lloh0:
	adrp	x21, _SUCCESS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SUCCESS@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_cluster_map_keyspace
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.7:
	ldr	w1, [x19, #32]
	mov	x0, x20
	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
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	b	_cluster_cache_store
LBB0_8:
	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
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SUCCESS,8,3                    ; @SUCCESS
	.no_dead_strip	_redis_cluster_init
.subsections_via_symbols
