	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SerializeSnapshot              ## -- Begin function SerializeSnapshot
	.p2align	4, 0x90
_SerializeSnapshot:                     ## @SerializeSnapshot
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	shrq	$63, %rdi
	xorl	$1, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_Assert
	movl	60(%rbx), %eax
	movl	%eax, -20(%rbp)
	movl	56(%rbx), %eax
	movl	%eax, -24(%rbp)
	movl	8(%rbx), %eax
	movl	%eax, -64(%rbp)
	movq	(%rbx), %rax
	movq	%rax, -56(%rbp)
	movq	48(%rbx), %rcx
	movq	%rcx, -48(%rbp)
	movl	32(%rbx), %eax
	movdqu	32(%rbx), %xmm0
	pshufd	$57, %xmm0, %xmm0               ## xmm0 = xmm0[1,2,3,0]
	movdqu	%xmm0, -40(%rbp)
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	$0, -56(%rbp)
LBB0_3:
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	movl	$48, %edx
	callq	_memcpy
	movl	8(%rbx), %edx
	testl	%edx, %edx
	jle	LBB0_5
## %bb.4:
	leaq	48(%r14), %rdi
	movq	24(%rbx), %rsi
	callq	_memcpy
LBB0_5:
	cmpq	$0, -56(%rbp)
	jle	LBB0_7
## %bb.6:
	movl	(%rbx), %edx
	movl	8(%rbx), %eax
	addl	$48, %eax
	cltq
	addq	%rax, %r14
	movq	16(%rbx), %rsi
	movq	%r14, %rdi
	callq	_memcpy
LBB0_7:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SerializeSnapshot              ; -- Begin function SerializeSnapshot
	.p2align	2
_SerializeSnapshot:                     ; @SerializeSnapshot
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	lsr	x8, x8, #63
	eor	w0, w8, #0x1
	bl	_Assert
	ldr	d0, [x19, #56]
	str	d0, [sp, #40]
	ldr	w8, [x19, #8]
	str	w8, [sp]
	ldr	x8, [x19]
	ldr	x9, [x19, #48]
	stp	x8, x9, [sp, #8]
	ldr	q0, [x19, #32]
	ext.16b	v1, v0, v0, #4
	stur	q1, [sp, #24]
	cbz	x9, LBB0_3
; %bb.1:
	fmov	w8, s0
	cbnz	w8, LBB0_3
; %bb.2:
	str	xzr, [sp, #8]
LBB0_3:
	mov	x1, sp
	mov	x0, x20
	mov	w2, #48
	bl	_memcpy
	ldr	w2, [x19, #8]
	cmp	w2, #1
	b.lt	LBB0_5
; %bb.4:
	add	x0, x20, #48
	ldr	x1, [x19, #24]
	bl	_memcpy
LBB0_5:
	ldr	x8, [sp, #8]
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.6:
	ldr	w8, [x19, #8]
	add	w8, w8, #48
	add	x0, x20, w8, sxtw
	ldr	x1, [x19, #16]
	ldr	w2, [x19]
	bl	_memcpy
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
