	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cs2SaveState                   ## -- Begin function Cs2SaveState
	.p2align	4, 0x90
_Cs2SaveState:                          ## @Cs2SaveState
	.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, %rbx
	movq	$0, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	movl	$2, %edx
	callq	_StateWriteHeader
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_Cs2Area@GOTPCREL(%rip), %r14
	movl	$248, %esi
	addq	(%r14), %rsi
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$244, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$240, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$236, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$232, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$228, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$224, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$220, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$216, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$212, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$2, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$208, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$2, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$204, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$200, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rax
	movq	192(%rax), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$102, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$188, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$184, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$180, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$176, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$172, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$168, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$164, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$160, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$156, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$152, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$148, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$144, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$140, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$12, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$136, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movl	$132, %esi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rax
	movl	(%rax), %eax
	addl	$3, %eax
	cltq
	imulq	$1431655766, %rax, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
	movl	%eax, -56(%rbp)
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	subq	$-128, %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	addq	$124, %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	addq	$120, %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	addq	$116, %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	addq	$112, %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	addq	$108, %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	addq	$104, %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	addq	$100, %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	addq	$96, %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	addq	$92, %rsi
	movq	%r15, %rdi
	movl	$2, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	addq	$88, %rsi
	movq	%r15, %rdi
	movl	$2, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	addq	$84, %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	addq	$80, %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rax
	movq	72(%rax), %rsi
	movq	_MAX_BLOCKS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	$4, %edx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r8
	callq	_ywrite
	movq	_MAX_SELECTORS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.1:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_Cs2Area@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	64(%rax), %rax
	leaq	(%rax,%r13), %rsi
	addq	$16, %rsi
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r12), %rax
	movq	64(%rax), %rax
	movq	8(%rax,%r13), %rsi
	movq	_MAX_BLOCKS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	$1, %edx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r12), %rax
	movq	64(%rax), %rsi
	addq	%r13, %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	_MAX_SELECTORS@GOTPCREL(%rip), %rax
	incq	%r14
	movslq	(%rax), %rcx
	addq	$24, %r13
	cmpq	%rcx, %r14
	jl	LBB0_2
## %bb.3:
	movq	_Cs2Area@GOTPCREL(%rip), %r14
LBB0_4:
	movq	(%r14), %rax
	movq	56(%rax), %rsi
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	movl	$4, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rax
	movq	48(%rax), %rsi
	movq	_MAX_FILES@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	$4, %edx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	addq	$44, %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	addq	$40, %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	addq	$36, %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	addq	$32, %rsi
	movq	%r15, %rdi
	movl	$2, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	addq	$28, %rsi
	movq	%r15, %rdi
	movl	$2, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rsi
	addq	$24, %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rax
	movq	16(%rax), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$2, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	(%r14), %rax
	movq	8(%rax), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	movl	$2, %ecx
	movq	%rbx, %r8
	callq	_ywrite
	movq	%rbx, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_StateFinishHeader
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CS2 "

	.comm	_Cs2Area,8,3                    ## @Cs2Area
	.comm	_MAX_BLOCKS,4,2                 ## @MAX_BLOCKS
	.comm	_MAX_SELECTORS,4,2              ## @MAX_SELECTORS
	.comm	_MAX_FILES,4,2                  ## @MAX_FILES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cs2SaveState                   ; -- Begin function Cs2SaveState
	.p2align	2
_Cs2SaveState:                          ; @Cs2SaveState
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	str	xzr, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #2
	bl	_StateWriteHeader
	mov	x20, x0
Lloh2:
	adrp	x21, _Cs2Area@GOTPAGE
Lloh3:
	ldr	x21, [x21, _Cs2Area@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x1, x8, #248
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #244
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #240
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #236
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #232
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #228
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #224
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #220
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #216
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #212
	add	x0, sp, #8
	mov	w2, #2
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #208
	add	x0, sp, #8
	mov	w2, #2
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #204
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #200
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	ldr	x1, [x8, #192]
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #102
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #188
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #184
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #180
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #176
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #172
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #168
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #164
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #160
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #156
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #152
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #148
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #144
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #140
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #12
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #136
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #132
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	ldr	w8, [x8]
	add	w8, w8, #3
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	str	w8, [sp, #4]
	add	x0, sp, #8
	add	x1, sp, #4
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #128
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #124
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #120
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #116
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #112
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #108
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #104
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #100
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #96
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #92
	add	x0, sp, #8
	mov	w2, #2
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #88
	add	x0, sp, #8
	mov	w2, #2
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #84
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #80
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	ldr	x1, [x8, #72]
Lloh4:
	adrp	x22, _MAX_BLOCKS@GOTPAGE
Lloh5:
	ldr	x22, [x22, _MAX_BLOCKS@GOTPAGEOFF]
	ldr	w3, [x22]
	add	x0, sp, #8
	mov	w2, #4
	mov	x4, x19
	bl	_ywrite
Lloh6:
	adrp	x23, _MAX_SELECTORS@GOTPAGE
Lloh7:
	ldr	x23, [x23, _MAX_SELECTORS@GOTPAGEOFF]
	ldr	w3, [x23]
	cmp	w3, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x24, #0
	mov	x25, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8, #64]
	add	x8, x8, x24
	add	x1, x8, #16
	add	x0, sp, #8
	mov	w2, #4
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	ldr	x8, [x8, #64]
	add	x8, x8, x24
	ldr	x1, [x8, #8]
	ldr	w3, [x22]
	add	x0, sp, #8
	mov	w2, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	ldr	x8, [x8, #64]
	add	x1, x8, x24
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	add	x25, x25, #1
	ldrsw	x3, [x23]
	add	x24, x24, #24
	cmp	x25, x3
	b.lt	LBB0_2
LBB0_3:
	ldr	x8, [x21]
	ldr	x1, [x8, #56]
	add	x0, sp, #8
	mov	w2, #4
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	ldr	x1, [x8, #48]
Lloh8:
	adrp	x8, _MAX_FILES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_FILES@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	add	x0, sp, #8
	mov	w2, #4
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #44
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #40
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #36
	add	x0, sp, #8
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #32
	add	x0, sp, #8
	mov	w2, #2
	mov	w3, #1
	mov	x4, x19
	bl	_ywrite
	ldr	x8, [x21]
	add	x1, x8, #28
	add	x0, sp, #8
	mov	w2, #2
	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
	mov	x0, x19
	mov	x1, x20
	bl	_StateFinishHeader
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CS2 "

	.comm	_Cs2Area,8,3                    ; @Cs2Area
	.comm	_MAX_BLOCKS,4,2                 ; @MAX_BLOCKS
	.comm	_MAX_SELECTORS,4,2              ; @MAX_SELECTORS
	.comm	_MAX_FILES,4,2                  ; @MAX_FILES
.subsections_via_symbols
