	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CPU_StateRead                  ## -- Begin function CPU_StateRead
	.p2align	4, 0x90
_CPU_StateRead:                         ## @CPU_StateRead
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_CPU_regA@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_StateSav_ReadUBYTE
	movq	_CPU_regP@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_StateSav_ReadUBYTE
	xorl	%eax, %eax
	callq	_CPU_PutStatus
	movq	_CPU_regS@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_StateSav_ReadUBYTE
	movq	_CPU_regX@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_StateSav_ReadUBYTE
	movq	_CPU_regY@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_StateSav_ReadUBYTE
	movq	_CPU_IRQ@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_StateSav_ReadUBYTE
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_MEMORY_StateRead
	movq	_CPU_regPC@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_StateSav_ReadUWORD             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CPU_regA,4,2                   ## @CPU_regA
	.comm	_CPU_regP,4,2                   ## @CPU_regP
	.comm	_CPU_regS,4,2                   ## @CPU_regS
	.comm	_CPU_regX,4,2                   ## @CPU_regX
	.comm	_CPU_regY,4,2                   ## @CPU_regY
	.comm	_CPU_IRQ,4,2                    ## @CPU_IRQ
	.comm	_CPU_regPC,4,2                  ## @CPU_regPC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CPU_StateRead                  ; -- Begin function CPU_StateRead
	.p2align	2
_CPU_StateRead:                         ; @CPU_StateRead
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, _CPU_regA@GOTPAGE
Lloh1:
	ldr	x0, [x0, _CPU_regA@GOTPAGEOFF]
	mov	w1, #1
	bl	_StateSav_ReadUBYTE
Lloh2:
	adrp	x0, _CPU_regP@GOTPAGE
Lloh3:
	ldr	x0, [x0, _CPU_regP@GOTPAGEOFF]
	mov	w1, #1
	bl	_StateSav_ReadUBYTE
	bl	_CPU_PutStatus
Lloh4:
	adrp	x0, _CPU_regS@GOTPAGE
Lloh5:
	ldr	x0, [x0, _CPU_regS@GOTPAGEOFF]
	mov	w1, #1
	bl	_StateSav_ReadUBYTE
Lloh6:
	adrp	x0, _CPU_regX@GOTPAGE
Lloh7:
	ldr	x0, [x0, _CPU_regX@GOTPAGEOFF]
	mov	w1, #1
	bl	_StateSav_ReadUBYTE
Lloh8:
	adrp	x0, _CPU_regY@GOTPAGE
Lloh9:
	ldr	x0, [x0, _CPU_regY@GOTPAGEOFF]
	mov	w1, #1
	bl	_StateSav_ReadUBYTE
Lloh10:
	adrp	x0, _CPU_IRQ@GOTPAGE
Lloh11:
	ldr	x0, [x0, _CPU_IRQ@GOTPAGEOFF]
	mov	w1, #1
	bl	_StateSav_ReadUBYTE
	mov	x0, x20
	mov	x1, x19
	bl	_MEMORY_StateRead
Lloh12:
	adrp	x0, _CPU_regPC@GOTPAGE
Lloh13:
	ldr	x0, [x0, _CPU_regPC@GOTPAGEOFF]
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_StateSav_ReadUWORD
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CPU_regA,4,2                   ; @CPU_regA
	.comm	_CPU_regP,4,2                   ; @CPU_regP
	.comm	_CPU_regS,4,2                   ; @CPU_regS
	.comm	_CPU_regX,4,2                   ; @CPU_regX
	.comm	_CPU_regY,4,2                   ; @CPU_regY
	.comm	_CPU_IRQ,4,2                    ; @CPU_IRQ
	.comm	_CPU_regPC,4,2                  ; @CPU_regPC
.subsections_via_symbols
