	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cluster_send_command           ## -- Begin function cluster_send_command
	.p2align	4, 0x90
_cluster_send_command:                  ## @cluster_send_command
	.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
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_SLOT
	testl	%eax, %eax
	je	LBB0_18
## %bb.1:
	movw	%r12w, (%rbx)
	movswl	%r12w, %esi
	movq	%rbx, %rdi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	callq	_SLOT_SOCK
	movq	%rax, 24(%rbx)
	xorl	%eax, %eax
	callq	_mstime
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	48(%rbx), %r12
	movq	_MULTI@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%rbx), %rax
	movq	(%rax), %rax
	cmpq	(%r14), %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_CMD_SOCK
	movq	(%rax), %rax
	cmpq	(%r14), %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_cluster_send_multi
	cmpl	$-1, %eax
	je	LBB0_27
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	callq	_cluster_sock_write
	cmpl	$-1, %eax
	je	LBB0_19
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_cluster_check_response
	movl	%eax, %r13d
	testl	%eax, %eax
	jle	LBB0_20
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %r13d
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%rbx), %rax
	movq	(%rax), %rax
	cmpq	(%r14), %rax
	je	LBB0_24
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	movq	_REDIR_MOVED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_cluster_update_slot
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_SLOT_SOCK
	movq	%rax, 24(%rbx)
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_mstime
	subq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	xorl	%r15d, %r15d
	cmpq	16(%rbx), %rax
	setge	%r15b
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%r15d, %r15d
	je	LBB0_2
LBB0_16:
	testq	%rax, %rax
	je	LBB0_21
LBB0_17:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_29
LBB0_18:
	movq	_redis_cluster_exception_ce@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movswl	%r12w, %ecx
	leaq	L_.str(%rip), %rdx
	xorl	%esi, %esi
	callq	_zend_throw_exception_ex
	jmp	LBB0_30
LBB0_19:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_29
LBB0_20:
	movq	32(%rbx), %rax
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_17
LBB0_21:
	testl	%r15d, %r15d
	jne	LBB0_25
## %bb.22:
	cmpl	$-1, %r13d
	je	LBB0_25
## %bb.23:
	movq	_REDIR_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_31
LBB0_24:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_29
LBB0_25:
	movq	24(%rbx), %rdi
	movl	$1, %esi
	callq	_redis_sock_disconnect
	testl	%r15d, %r15d
	je	LBB0_28
## %bb.26:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_29
LBB0_27:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_29
LBB0_28:
	leaq	L_.str.6(%rip), %rdi
LBB0_29:
	xorl	%esi, %esi
	callq	_CLUSTER_THROW_EXCEPTION
LBB0_30:
	movw	$-1, %ax
LBB0_31:
	cwtl
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_redis_cluster_exception_ce,4,2 ## @redis_cluster_exception_ce
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"The slot %d is not covered by any node in this cluster"

	.comm	_MULTI,8,3                      ## @MULTI
L_.str.1:                               ## @.str.1
	.asciz	"Unable to enter MULTI mode on requested slot"

L_.str.2:                               ## @.str.2
	.asciz	"Can't communicate with any node in the cluster"

L_.str.3:                               ## @.str.3
	.asciz	"Can't process MULTI sequence when cluster is resharding"

	.comm	_REDIR_MOVED,8,3                ## @REDIR_MOVED
L_.str.4:                               ## @.str.4
	.asciz	"The Redis Cluster is down (CLUSTERDOWN)"

L_.str.5:                               ## @.str.5
	.asciz	"Timed out attempting to find data in the correct node!"

L_.str.6:                               ## @.str.6
	.asciz	"Error processing response from Redis node!"

	.comm	_REDIR_NONE,8,3                 ## @REDIR_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cluster_send_command           ; -- Begin function cluster_send_command
	.p2align	2
_cluster_send_command:                  ; @cluster_send_command
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	bl	_SLOT
	cbz	w0, LBB0_17
; %bb.1:
	strh	w20, [x19]
	mov	x0, x19
	mov	x1, x20
	bl	_SLOT_SOCK
	str	x0, [x19, #24]
	bl	_mstime
	mov	x23, x0
	add	x24, x19, #48
Lloh0:
	adrp	x26, _MULTI@GOTPAGE
Lloh1:
	ldr	x26, [x26, _MULTI@GOTPAGEOFF]
Lloh2:
	adrp	x27, _REDIR_MOVED@GOTPAGE
Lloh3:
	ldr	x27, [x27, _REDIR_MOVED@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w28, #0
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_15
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w28, LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_CMD_SOCK
	ldr	x8, [x0]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_cluster_send_multi
	cmn	w0, #1
	b.eq	LBB0_26
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	w3, #0
	bl	_cluster_sock_write
	cmn	w0, #1
	b.eq	LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_cluster_check_response
	mov	x25, x0
	cmp	w0, #0
	b.le	LBB0_19
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w25, #1
	b.ne	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_23
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_cluster_update_slot
	mov	x0, x19
	mov	x1, x20
	bl	_SLOT_SOCK
	str	x0, [x19, #24]
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	bl	_mstime
	ldr	x8, [x19, #16]
	sub	x9, x0, x23
	cmp	x9, x8
	cset	w28, ge
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_3
LBB0_15:
	cbz	x8, LBB0_20
LBB0_16:
Lloh4:
	adrp	x0, l_.str.4@PAGE
Lloh5:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_28
LBB0_17:
Lloh6:
	adrp	x8, _redis_cluster_exception_ce@GOTPAGE
Lloh7:
	ldr	x8, [x8, _redis_cluster_exception_ce@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #0
	mov	x3, x20
	bl	_zend_throw_exception_ex
	b	LBB0_29
LBB0_18:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_28
LBB0_19:
	mov	w28, #0
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_16
LBB0_20:
	cbnz	w28, LBB0_24
; %bb.21:
	cmn	w25, #1
	b.eq	LBB0_24
; %bb.22:
	mov	w8, #0
Lloh13:
	adrp	x9, _REDIR_NONE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _REDIR_NONE@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	str	x9, [x19, #8]
	b	LBB0_30
LBB0_23:
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_28
LBB0_24:
	ldr	x0, [x19, #24]
	mov	w1, #1
	bl	_redis_sock_disconnect
	cbz	w28, LBB0_27
; %bb.25:
Lloh18:
	adrp	x0, l_.str.5@PAGE
Lloh19:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_28
LBB0_26:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_28
LBB0_27:
Lloh22:
	adrp	x0, l_.str.6@PAGE
Lloh23:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_28:
	mov	w1, #0
	bl	_CLUSTER_THROW_EXCEPTION
LBB0_29:
	mov	w8, #65535
LBB0_30:
	sxth	w0, w8
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_redis_cluster_exception_ce,4,2 ; @redis_cluster_exception_ce
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"The slot %d is not covered by any node in this cluster"

	.comm	_MULTI,8,3                      ; @MULTI
l_.str.1:                               ; @.str.1
	.asciz	"Unable to enter MULTI mode on requested slot"

l_.str.2:                               ; @.str.2
	.asciz	"Can't communicate with any node in the cluster"

l_.str.3:                               ; @.str.3
	.asciz	"Can't process MULTI sequence when cluster is resharding"

	.comm	_REDIR_MOVED,8,3                ; @REDIR_MOVED
l_.str.4:                               ; @.str.4
	.asciz	"The Redis Cluster is down (CLUSTERDOWN)"

l_.str.5:                               ; @.str.5
	.asciz	"Timed out attempting to find data in the correct node!"

l_.str.6:                               ; @.str.6
	.asciz	"Error processing response from Redis node!"

	.comm	_REDIR_NONE,8,3                 ; @REDIR_NONE
.subsections_via_symbols
