	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SmpcSaveState                  ## -- Begin function SmpcSaveState
	.p2align	4, 0x90
_SmpcSaveState:                         ## @SmpcSaveState
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	$0, -40(%rbp)
	leaq	L_.str(%rip), %rsi
	movl	$3, %edx
	callq	_StateWriteHeader
	movl	%eax, %r14d
	movq	_SmpcRegs@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	48(%rax), %rsi
	leaq	-40(%rbp), %r15
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$7, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r12), %rsi
	addq	$40, %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r12), %rax
	movq	32(%rax), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$32, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r12), %rsi
	addq	$28, %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r12), %rsi
	addq	$24, %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r12), %rax
	movq	16(%rax), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$2, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r12), %rax
	movq	8(%rax), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$2, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r12), %rsi
	addq	$4, %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r12), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	_SmpcInternalVars@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_StateFinishHeader
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SMPC"

	.comm	_SmpcRegs,8,3                   ## @SmpcRegs
	.comm	_SmpcInternalVars,8,3           ## @SmpcInternalVars
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SmpcSaveState                  ; -- Begin function SmpcSaveState
	.p2align	2
_SmpcSaveState:                         ; @SmpcSaveState
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	str	xzr, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #3
	bl	_StateWriteHeader
	mov	x20, x0
Lloh2:
	adrp	x21, _SmpcRegs@GOTPAGE
Lloh3:
	ldr	x21, [x21, _SmpcRegs@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x1, [x8, #48]
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #7
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #40
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	ldr	x1, [x8, #32]
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #32
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #28
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #24
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	ldr	x1, [x8, #16]
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #2
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	ldr	x1, [x8, #8]
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #2
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #4
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x1, [x21]
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
Lloh4:
	adrp	x8, _SmpcInternalVars@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SmpcInternalVars@GOTPAGEOFF]
Lloh6:
	ldr	x1, [x8]
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	mov	x0, x19
	mov	x1, x20
	bl	_StateFinishHeader
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SMPC"

	.comm	_SmpcRegs,8,3                   ; @SmpcRegs
	.comm	_SmpcInternalVars,8,3           ; @SmpcInternalVars
.subsections_via_symbols
