	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function serialize_list
LCPI0_0:
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_serialize_list:                        ## @serialize_list
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testl	%ecx, %ecx
	jle	LBB0_17
## %bb.1:
	movq	%rdx, %r12
	movq	%rsi, %r15
	movl	%ecx, %r13d
	cmpl	$8, %ecx
	jae	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_3:
	movl	%r13d, %eax
	andl	$-8, %eax
	leaq	-8(%rax), %rdx
	movq	%rdx, %rcx
	shrq	$3, %rcx
	incq	%rcx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.5:
	movq	%rcx, %rsi
	andq	$-2, %rsi
	pxor	%xmm2, %xmm2
	xorl	%edx, %edx
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = [2,2,2,2]
	pxor	%xmm5, %xmm5
	pxor	%xmm4, %xmm4
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%r12,%rdx,4), %xmm6
	movdqu	16(%r12,%rdx,4), %xmm7
	movdqu	32(%r12,%rdx,4), %xmm0
	movdqu	48(%r12,%rdx,4), %xmm1
	pcmpeqd	%xmm2, %xmm6
	paddd	%xmm5, %xmm6
	pcmpeqd	%xmm2, %xmm7
	paddd	%xmm4, %xmm7
	pcmpeqd	%xmm2, %xmm0
	pcmpeqd	%xmm2, %xmm1
	paddd	%xmm3, %xmm0
	paddd	%xmm6, %xmm0
	paddd	%xmm3, %xmm1
	paddd	%xmm7, %xmm1
	addq	$16, %rdx
	movdqa	%xmm0, %xmm5
	movdqa	%xmm1, %xmm4
	addq	$-2, %rsi
	jne	LBB0_6
## %bb.7:
	testb	$1, %cl
	je	LBB0_9
LBB0_8:
	movdqu	(%r12,%rdx,4), %xmm2
	movdqu	16(%r12,%rdx,4), %xmm3
	pxor	%xmm4, %xmm4
	pcmpeqd	%xmm4, %xmm2
	paddd	%xmm2, %xmm0
	pcmpeqd	%xmm4, %xmm3
	paddd	%xmm3, %xmm1
	pcmpeqd	%xmm2, %xmm2
	psubd	%xmm2, %xmm0
	psubd	%xmm2, %xmm1
LBB0_9:
	paddd	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	paddd	%xmm1, %xmm0
	movd	%xmm0, %ebx
	cmpq	%r13, %rax
	je	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$1, (%r12,%rax,4)
	sbbl	$-1, %ebx
	incq	%rax
	cmpq	%rax, %r13
	jne	LBB0_10
LBB0_11:
	testl	%ebx, %ebx
	je	LBB0_17
## %bb.12:
	movq	%r15, %rdi
	callq	_strlen
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	movq	%r15, %rcx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_sprintf
	movslq	%eax, %r15
	addq	%r14, %r15
	leaq	L_.str.1(%rip), %r14
	xorl	%edx, %edx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, %rdx
	cmpq	%rbx, %r13
	je	LBB0_16
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rdx,4), %ecx
	leaq	1(%rdx), %rbx
	testl	%ecx, %ecx
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	incl	%edx
	movq	%r15, %rdi
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_sprintf
	cltq
	addq	%rax, %r15
	jmp	LBB0_15
LBB0_16:
	movb	$125, (%r15)
	incq	%r15
	movq	%r15, %r14
LBB0_17:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	pxor	%xmm0, %xmm0
	xorl	%edx, %edx
	pxor	%xmm1, %xmm1
	testb	$1, %cl
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"s:%ld:\"%s\";a:%d:{"

L_.str.1:                               ## @.str.1
	.asciz	"i:%d;i:%d;"

	.no_dead_strip	_serialize_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function serialize_list
_serialize_list:                        ; @serialize_list
	.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, x0
	cmp	w3, #1
	b.lt	LBB0_14
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	w22, w3
	cmp	w3, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x8, #0
	mov	w23, #0
	b	LBB0_6
LBB0_3:
	and	x8, x22, #0xfffffff0
	add	x9, x20, #32
	movi.2d	v0, #0000000000000000
	mov	x10, x8
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x9, #-32]
	ldp	q6, q7, [x9], #64
	cmtst.4s	v4, v4, v4
	cmtst.4s	v5, v5, v5
	cmtst.4s	v6, v6, v6
	cmtst.4s	v7, v7, v7
	sub.4s	v0, v0, v4
	sub.4s	v1, v1, v5
	sub.4s	v2, v2, v6
	sub.4s	v3, v3, v7
	subs	x10, x10, #16
	b.ne	LBB0_4
; %bb.5:
	add.4s	v0, v1, v0
	add.4s	v0, v2, v0
	add.4s	v0, v3, v0
	addv.4s	s0, v0
	fmov	w23, s0
	cmp	x8, x22
	b.eq	LBB0_8
LBB0_6:
	add	x9, x20, x8, lsl #2
	sub	x8, x22, x8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #4
	cmp	w10, #0
	cinc	w23, w23, ne
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	cbz	w23, LBB0_14
; %bb.9:
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	stp	x21, x23, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_sprintf
	mov	x23, #0
	add	x19, x19, w0, sxtw
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x23, x23, #1
	cmp	x22, x23
	b.eq	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, x23, lsl #2]
	cbz	w8, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	w2, w23, #1
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x21
	bl	_sprintf
	add	x19, x19, w0, sxtw
	b	LBB0_10
LBB0_13:
	mov	w8, #125
	strb	w8, [x19], #1
LBB0_14:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"s:%ld:\"%s\";a:%d:{"

l_.str.1:                               ; @.str.1
	.asciz	"i:%d;i:%d;"

	.no_dead_strip	_serialize_list
.subsections_via_symbols
