	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function cluster_dist_write
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_2:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_3:
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
LCPI0_4:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
LCPI0_5:
	.long	20                              ## 0x14
	.long	20                              ## 0x14
	.long	20                              ## 0x14
	.long	20                              ## 0x14
LCPI0_6:
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18
LCPI0_7:
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
LCPI0_8:
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_cluster_dist_write:                    ## @cluster_dist_write
	.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, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	(%rdi), %rax
	movq	16(%rdi), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.4:
	callq	_zend_hash_num_elements
	movq	%rax, %r14
	leal	1(%rax), %r12d
	leal	4(,%rax,4), %edi
	callq	_emalloc
	movq	%rax, %rbx
	cmpl	$2147483647, %r14d              ## imm = 0x7FFFFFFF
	jb	LBB0_2
## %bb.5:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_fyshuffle
LBB0_25:
	movq	%rbx, %rdi
	callq	_efree
	movl	$-1, %eax
LBB0_26:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	$4, %edi
	callq	_emalloc
	movq	%rax, %rbx
	movl	$1, %r12d
LBB0_2:
	movl	%r12d, %r14d
	cmpl	$8, %r12d
	jae	LBB0_6
## %bb.3:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_6:
	movl	%r14d, %eax
	andl	$-8, %eax
	leaq	-8(%rax), %rsi
	movq	%rsi, %rdx
	shrq	$3, %rdx
	incq	%rdx
	movl	%edx, %ecx
	andl	$3, %ecx
	cmpq	$24, %rsi
	jae	LBB0_8
## %bb.7:
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	xorl	%esi, %esi
	jmp	LBB0_10
LBB0_8:
	andq	$-4, %rdx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	xorl	%esi, %esi
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = [8,8,8,8]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [12,12,12,12]
	movdqa	LCPI0_4(%rip), %xmm4            ## xmm4 = [16,16,16,16]
	movdqa	LCPI0_5(%rip), %xmm5            ## xmm5 = [20,20,20,20]
	movdqa	LCPI0_6(%rip), %xmm6            ## xmm6 = [24,24,24,24]
	movdqa	LCPI0_7(%rip), %xmm7            ## xmm7 = [28,28,28,28]
	movdqa	LCPI0_8(%rip), %xmm1            ## xmm1 = [32,32,32,32]
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm2
	paddd	%xmm8, %xmm2
	movdqu	%xmm0, (%rbx,%rsi,4)
	movdqu	%xmm2, 16(%rbx,%rsi,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm9, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm10, %xmm3
	movdqu	%xmm2, 32(%rbx,%rsi,4)
	movdqu	%xmm3, 48(%rbx,%rsi,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm4, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm5, %xmm3
	movdqu	%xmm2, 64(%rbx,%rsi,4)
	movdqu	%xmm3, 80(%rbx,%rsi,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm6, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm7, %xmm3
	movdqu	%xmm2, 96(%rbx,%rsi,4)
	movdqu	%xmm3, 112(%rbx,%rsi,4)
	addq	$32, %rsi
	paddd	%xmm1, %xmm0
	addq	$-4, %rdx
	jne	LBB0_9
LBB0_10:
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.11:
	leaq	(%rbx,%rsi,4), %rdx
	addq	$16, %rdx
	shlq	$5, %rcx
	xorl	%esi, %esi
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm2            ## xmm2 = [8,8,8,8]
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm3
	paddd	%xmm1, %xmm3
	movdqu	%xmm0, -16(%rdx,%rsi)
	movdqu	%xmm3, (%rdx,%rsi)
	paddd	%xmm2, %xmm0
	addq	$32, %rsi
	cmpq	%rsi, %rcx
	jne	LBB0_12
LBB0_13:
	cmpq	%r14, %rax
	je	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, (%rbx,%rax,4)
	incq	%rax
	cmpq	%rax, %r14
	jne	LBB0_14
LBB0_15:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_fyshuffle
	xorl	%r15d, %r15d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_CLUSTER_SEND_PAYLOAD
	testq	%rax, %rax
	jne	LBB0_23
LBB0_24:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r15
	cmpq	%r15, %r14
	je	LBB0_25
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%r15,4), %edx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	testl	%edx, %edx
	je	LBB0_24
LBB0_18:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	(%r13), %rsi
	movq	%r13, %rdi
	callq	_cluster_slot_sock
	testq	%rax, %rax
	je	LBB0_24
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%rax, %r12
	cmpl	$0, (%rbx,%r15,4)
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpq	$0, (%r12)
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%r12, %rdi
	callq	_cluster_send_readonly
	testq	%rax, %rax
	jne	LBB0_24
	jmp	LBB0_22
LBB0_23:
	movq	%r12, 8(%r13)
	movq	%rbx, %rdi
	callq	_efree
	xorl	%eax, %eax
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cluster_dist_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function cluster_dist_write
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_cluster_dist_write:                    ; @cluster_dist_write
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	ldr	x8, [x0, #16]
	ldr	x9, [x0]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x0, [x8]
	cbz	x0, LBB0_5
; %bb.1:
	bl	_zend_hash_num_elements
	mov	x24, x0
	add	w25, w24, #1
	lsl	w0, w25, #2
	bl	_emalloc
	mov	x23, x0
	mov	w8, #2147483647
	cmp	w24, w8
	b.lo	LBB0_6
; %bb.2:
	mov	x0, x23
	mov	x1, x25
	bl	_fyshuffle
LBB0_3:
	mov	x0, x23
	bl	_efree
	mov	w0, #-1
LBB0_4:
	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	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w0, #4
	bl	_emalloc
	mov	x23, x0
	mov	w25, #1
LBB0_6:
	mov	w24, w25
	cmp	w25, #16
	b.hs	LBB0_8
; %bb.7:
	mov	x8, #0
	b	LBB0_11
LBB0_8:
	and	x8, x24, #0xfffffff0
Lloh0:
	adrp	x9, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	add	x9, x23, #32
	movi.4s	v1, #4
	movi.4s	v2, #8
	movi.4s	v3, #12
	movi.4s	v4, #16
	mov	x10, x8
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add.4s	v5, v0, v1
	add.4s	v6, v0, v2
	add.4s	v7, v0, v3
	stp	q0, q5, [x9, #-32]
	stp	q6, q7, [x9], #64
	add.4s	v0, v0, v4
	subs	x10, x10, #16
	b.ne	LBB0_9
; %bb.10:
	cmp	x8, x24
	b.eq	LBB0_12
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	str	w8, [x23, x8, lsl #2]
	add	x8, x8, #1
	cmp	x24, x8
	b.ne	LBB0_11
LBB0_12:
	mov	x0, x23
	mov	x1, x24
	bl	_fyshuffle
	mov	x26, #0
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x25
	mov	x1, x22
	mov	x2, x20
	bl	_CLUSTER_SEND_PAYLOAD
	cbnz	x0, LBB0_21
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x26, x26, #1
	cmp	x24, x26
	b.eq	LBB0_3
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x23, x26, lsl #2]
	cbz	w19, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	cbz	w2, LBB0_14
LBB0_17:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x1, [x21]
	mov	x0, x21
	bl	_cluster_slot_sock
	cbz	x0, LBB0_14
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x25, x0
	ldr	w8, [x23, x26, lsl #2]
	cbz	w8, LBB0_13
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x25]
	cbnz	x8, LBB0_13
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x25
	bl	_cluster_send_readonly
	cbnz	x0, LBB0_14
	b	LBB0_13
LBB0_21:
	str	x25, [x21, #8]
	mov	x0, x23
	bl	_efree
	mov	w0, #0
	b	LBB0_4
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cluster_dist_write
.subsections_via_symbols
