	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PBI_MIO_StateSave              ## -- Begin function PBI_MIO_StateSave
	.p2align	4, 0x90
_PBI_MIO_StateSave:                     ## @PBI_MIO_StateSave
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_PBI_MIO_enabled@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_StateSav_SaveINT
	cmpl	$0, (%rbx)
	je	LBB0_1
## %bb.2:
	movq	_mio_scsi_disk_filename@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_StateSav_SaveFNAME
	movq	_mio_rom_filename@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_StateSav_SaveFNAME
	movq	_mio_ram_size@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_StateSav_SaveINT
	movq	_mio_ram_bank_offset@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_StateSav_SaveINT
	movq	_mio_ram@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	(%rbx), %esi
	callq	_StateSav_SaveUBYTE
	movq	_mio_rom_bank@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_StateSav_SaveUBYTE
	movq	_mio_ram_enabled@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_StateSav_SaveINT               ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PBI_MIO_enabled,4,2            ## @PBI_MIO_enabled
	.comm	_mio_scsi_disk_filename,4,2     ## @mio_scsi_disk_filename
	.comm	_mio_rom_filename,4,2           ## @mio_rom_filename
	.comm	_mio_ram_size,4,2               ## @mio_ram_size
	.comm	_mio_ram_bank_offset,4,2        ## @mio_ram_bank_offset
	.comm	_mio_ram,8,3                    ## @mio_ram
	.comm	_mio_rom_bank,4,2               ## @mio_rom_bank
	.comm	_mio_ram_enabled,4,2            ## @mio_ram_enabled
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PBI_MIO_StateSave              ; -- Begin function PBI_MIO_StateSave
	.p2align	2
_PBI_MIO_StateSave:                     ; @PBI_MIO_StateSave
	.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
Lloh0:
	adrp	x19, _PBI_MIO_enabled@GOTPAGE
Lloh1:
	ldr	x19, [x19, _PBI_MIO_enabled@GOTPAGEOFF]
	mov	x0, x19
	mov	w1, #1
	bl	_StateSav_SaveINT
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _mio_scsi_disk_filename@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mio_scsi_disk_filename@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_StateSav_SaveFNAME
Lloh5:
	adrp	x8, _mio_rom_filename@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mio_rom_filename@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_StateSav_SaveFNAME
Lloh8:
	adrp	x19, _mio_ram_size@GOTPAGE
Lloh9:
	ldr	x19, [x19, _mio_ram_size@GOTPAGEOFF]
	mov	x0, x19
	mov	w1, #1
	bl	_StateSav_SaveINT
Lloh10:
	adrp	x0, _mio_ram_bank_offset@GOTPAGE
Lloh11:
	ldr	x0, [x0, _mio_ram_bank_offset@GOTPAGEOFF]
	mov	w1, #1
	bl	_StateSav_SaveINT
Lloh12:
	adrp	x8, _mio_ram@GOTPAGE
Lloh13:
	ldr	x8, [x8, _mio_ram@GOTPAGEOFF]
Lloh14:
	ldr	x0, [x8]
	ldr	w1, [x19]
	bl	_StateSav_SaveUBYTE
Lloh15:
	adrp	x0, _mio_rom_bank@GOTPAGE
Lloh16:
	ldr	x0, [x0, _mio_rom_bank@GOTPAGEOFF]
	mov	w1, #1
	bl	_StateSav_SaveUBYTE
Lloh17:
	adrp	x0, _mio_ram_enabled@GOTPAGE
Lloh18:
	ldr	x0, [x0, _mio_ram_enabled@GOTPAGEOFF]
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_StateSav_SaveINT
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PBI_MIO_enabled,4,2            ; @PBI_MIO_enabled
	.comm	_mio_scsi_disk_filename,4,2     ; @mio_scsi_disk_filename
	.comm	_mio_rom_filename,4,2           ; @mio_rom_filename
	.comm	_mio_ram_size,4,2               ; @mio_ram_size
	.comm	_mio_ram_bank_offset,4,2        ; @mio_ram_bank_offset
	.comm	_mio_ram,8,3                    ; @mio_ram
	.comm	_mio_rom_bank,4,2               ; @mio_rom_bank
	.comm	_mio_ram_enabled,4,2            ; @mio_ram_enabled
.subsections_via_symbols
