	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function serialize_subcnt_list_raw
_serialize_subcnt_list_raw:             ## @serialize_subcnt_list_raw
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	cmpl	$1296637200, (%rsi)             ## imm = 0x4D491D10
	jl	LBB0_2
## %bb.1:
	movq	%rsi, %r14
	movq	8(%rsi), %rdi
	movq	_MAX_SUBCOUNTER@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_is_null
	testq	%rax, %rax
	je	LBB0_4
LBB0_2:
	movl	$0, (%rbx)
	addq	$4, %rbx
	movq	%rbx, %rax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%r15), %eax
	movl	%eax, (%rbx)
	movl	(%r15), %r9d
	leaq	4(%rbx), %rax
	testl	%r9d, %r9d
	jle	LBB0_3
## %bb.5:
	movq	8(%r14), %rdx
	cmpl	$8, %r9d
	jb	LBB0_6
## %bb.7:
	movq	%rbx, %rcx
	subq	%rdx, %rcx
	addq	$4, %rcx
	cmpq	$32, %rcx
	jae	LBB0_9
LBB0_6:
	xorl	%esi, %esi
LBB0_17:
	movq	%rsi, %rcx
	notq	%rcx
	addq	%r9, %rcx
	movq	%r9, %rdi
	andq	$7, %rdi
	je	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rsi,4), %ebx
	movl	%ebx, (%rax)
	incq	%rsi
	addq	$4, %rax
	decq	%rdi
	jne	LBB0_18
LBB0_19:
	cmpq	$7, %rcx
	jb	LBB0_3
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rsi,4), %ecx
	movl	%ecx, (%rax)
	movl	4(%rdx,%rsi,4), %ecx
	movl	%ecx, 4(%rax)
	movl	8(%rdx,%rsi,4), %ecx
	movl	%ecx, 8(%rax)
	movl	12(%rdx,%rsi,4), %ecx
	movl	%ecx, 12(%rax)
	movl	16(%rdx,%rsi,4), %ecx
	movl	%ecx, 16(%rax)
	movl	20(%rdx,%rsi,4), %ecx
	movl	%ecx, 20(%rax)
	movl	24(%rdx,%rsi,4), %ecx
	movl	%ecx, 24(%rax)
	movl	28(%rdx,%rsi,4), %ecx
	movl	%ecx, 28(%rax)
	addq	$8, %rsi
	addq	$32, %rax
	cmpq	%rsi, %r9
	jne	LBB0_20
	jmp	LBB0_3
LBB0_9:
	movl	%r9d, %esi
	andl	$-8, %esi
	leaq	-8(%rsi), %rcx
	movq	%rcx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$3, %r8d
	cmpq	$24, %rcx
	jae	LBB0_11
## %bb.10:
	xorl	%ecx, %ecx
	jmp	LBB0_13
LBB0_11:
	andq	$-4, %rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rdx,%rcx,4), %xmm0
	movups	16(%rdx,%rcx,4), %xmm1
	movups	%xmm0, 4(%rbx,%rcx,4)
	movups	%xmm1, 20(%rbx,%rcx,4)
	movups	32(%rdx,%rcx,4), %xmm0
	movups	48(%rdx,%rcx,4), %xmm1
	movups	%xmm0, 36(%rbx,%rcx,4)
	movups	%xmm1, 52(%rbx,%rcx,4)
	movups	64(%rdx,%rcx,4), %xmm0
	movups	80(%rdx,%rcx,4), %xmm1
	movups	%xmm0, 68(%rbx,%rcx,4)
	movups	%xmm1, 84(%rbx,%rcx,4)
	movups	96(%rdx,%rcx,4), %xmm0
	movups	112(%rdx,%rcx,4), %xmm1
	movups	%xmm0, 100(%rbx,%rcx,4)
	movups	%xmm1, 116(%rbx,%rcx,4)
	addq	$32, %rcx
	addq	$-4, %rdi
	jne	LBB0_12
LBB0_13:
	testq	%r8, %r8
	je	LBB0_16
## %bb.14:
	leaq	(%rdx,%rcx,4), %rdi
	addq	$16, %rdi
	leaq	(%rbx,%rcx,4), %rcx
	addq	$20, %rcx
	shlq	$5, %r8
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdi,%rbx), %xmm0
	movups	(%rdi,%rbx), %xmm1
	movups	%xmm0, -16(%rcx,%rbx)
	movups	%xmm1, (%rcx,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r8
	jne	LBB0_15
LBB0_16:
	leaq	(%rax,%rsi,4), %rax
	cmpq	%r9, %rsi
	je	LBB0_3
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SUBCOUNTER,4,2             ## @MAX_SUBCOUNTER
	.no_dead_strip	_serialize_subcnt_list_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function serialize_subcnt_list_raw
_serialize_subcnt_list_raw:             ; @serialize_subcnt_list_raw
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	w8, [x1]
	mov	w9, #7440
	movk	w9, #19785, lsl #16
	cmp	w8, w9
	b.lt	LBB0_2
; %bb.1:
	mov	x20, x1
	ldr	x0, [x1, #8]
Lloh0:
	adrp	x21, _MAX_SUBCOUNTER@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAX_SUBCOUNTER@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_is_null
	cbz	x0, LBB0_4
LBB0_2:
	str	wzr, [x19], #4
	mov	x0, x19
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w8, [x21]
	mov	x0, x19
	str	w8, [x0], #4
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.5:
	ldr	x9, [x20, #8]
	cmp	w8, #16
	b.lo	LBB0_7
; %bb.6:
	sub	x10, x19, x9
	add	x10, x10, #4
	cmp	x10, #64
	b.hs	LBB0_10
LBB0_7:
	mov	x10, #0
LBB0_8:
	add	x9, x9, x10, lsl #2
	sub	x8, x8, x10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #4
	str	w10, [x0], #4
	subs	x8, x8, #1
	b.ne	LBB0_9
	b	LBB0_3
LBB0_10:
	and	x10, x8, #0xfffffff0
	add	x0, x0, x10, lsl #2
	add	x11, x19, #36
	add	x12, x9, #32
	mov	x13, x10
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #16
	b.ne	LBB0_11
; %bb.12:
	cmp	x10, x8
	b.eq	LBB0_3
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SUBCOUNTER,4,2             ; @MAX_SUBCOUNTER
	.no_dead_strip	_serialize_subcnt_list_raw
.subsections_via_symbols
