	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_statext_dependencies_serialize ## -- Begin function statext_dependencies_serialize
	.p2align	4, 0x90
_statext_dependencies_serialize:        ## @statext_dependencies_serialize
	.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	%rdi, %r15
	movq	_VARHDRSZ@GOTPCREL(%rip), %rax
	movq	_SizeOfHeader@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	addl	(%rax), %r12d
	cmpl	$0, (%rdi)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %edi
	callq	_SizeOfItem
	addl	%eax, %r12d
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movl	%r12d, %edi
	callq	_palloc0
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	%r12d, %esi
	callq	_SET_VARSIZE
	movq	%rbx, %rdi
	callq	_VARDATA
	movq	%rax, %r13
	leaq	4(%r15), %rsi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_memcpy
	leaq	4(%r13), %rdi
	leaq	8(%r15), %rsi
	movl	$4, %edx
	callq	_memcpy
	leaq	8(%r13), %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	addq	$12, %r13
	cmpl	$0, (%r15)
	jle	LBB0_4
## %bb.5:
	movslq	%r12d, %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%rax), %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%r14,8), %rbx
	leaq	4(%rbx), %rsi
	movq	%r13, %rdi
	movl	$8, %edx
	callq	_memcpy
	leaq	8(%r13), %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_memcpy
	leaq	12(%r13), %rdi
	movq	8(%rbx), %rsi
	movl	(%rbx), %edx
	shll	$2, %edx
	callq	_memcpy
	movslq	(%rbx), %rax
	leaq	12(%r13,%rax,4), %r13
	xorl	%edi, %edi
	cmpq	%r12, %r13
	setbe	%dil
	callq	_Assert
	incq	%r14
	movslq	(%r15), %rax
	cmpq	%rax, %r14
	jl	LBB0_6
## %bb.7:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_4:
	movslq	%r12d, %rcx
LBB0_8:
	movq	%rbx, %rax
	addq	%rcx, %rax
	xorl	%edi, %edi
	cmpq	%rax, %r13
	sete	%dil
	callq	_Assert
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VARHDRSZ,4,2                   ## @VARHDRSZ
	.comm	_SizeOfHeader,4,2               ## @SizeOfHeader
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_statext_dependencies_serialize ; -- Begin function statext_dependencies_serialize
	.p2align	2
_statext_dependencies_serialize:        ; @statext_dependencies_serialize
	.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, x0
Lloh0:
	adrp	x8, _VARHDRSZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VARHDRSZ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SizeOfHeader@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SizeOfHeader@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w21, w9, w8
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x20, lsl #3]
	ldr	w0, [x8]
	bl	_SizeOfItem
	add	w21, w0, w21
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x21
	bl	_palloc0
	mov	x20, x0
	mov	x1, x21
	bl	_SET_VARSIZE
	mov	x0, x20
	bl	_VARDATA
	mov	x22, x0
	add	x1, x19, #4
	mov	w2, #4
	bl	_memcpy
	add	x0, x22, #4
	add	x1, x19, #8
	mov	w2, #4
	bl	_memcpy
	add	x0, x22, #8
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
	add	x22, x22, #12
	ldr	w8, [x19]
	cmp	w8, #0
	b.le	LBB0_6
; %bb.4:
	mov	x24, #0
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	sxtw	x23, w21
	add	x25, x20, x23
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x21, [x8, x24, lsl #3]
	add	x1, x21, #4
	mov	x0, x22
	mov	w2, #8
	bl	_memcpy
	add	x0, x22, #8
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	add	x22, x22, #12
	ldr	x1, [x21, #8]
	ldr	w8, [x21]
	lsl	w2, w8, #2
	mov	x0, x22
	bl	_memcpy
	ldrsw	x8, [x21]
	add	x22, x22, x8, lsl #2
	cmp	x22, x25
	cset	w0, ls
	bl	_Assert
	add	x24, x24, #1
	ldrsw	x8, [x19]
	cmp	x24, x8
	b.lt	LBB0_5
	b	LBB0_7
LBB0_6:
	sxtw	x23, w21
LBB0_7:
	add	x8, x20, x23
	cmp	x22, x8
	cset	w0, eq
	bl	_Assert
	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	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VARHDRSZ,4,2                   ; @VARHDRSZ
	.comm	_SizeOfHeader,4,2               ; @SizeOfHeader
.subsections_via_symbols
