	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AF80_Reset                     ## -- Begin function AF80_Reset
	.p2align	4, 0x90
_AF80_Reset:                            ## @AF80_Reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_af80_screen@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_memset
	movq	_af80_attrib@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_memset
	movq	_rom_bank_select@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_not_rom_output_enable@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_not_right_cartridge_rd4_control@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_not_enable_2k_character_ram@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_not_enable_2k_attribute_ram@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_not_enable_crtc_registers@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_not_enable_80_column_output@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_video_bank_select@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_crtreg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	$64, %edx
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_af80_screen,4,2                ## @af80_screen
	.comm	_af80_attrib,4,2                ## @af80_attrib
	.comm	_rom_bank_select,8,3            ## @rom_bank_select
	.comm	_not_rom_output_enable,8,3      ## @not_rom_output_enable
	.comm	_not_right_cartridge_rd4_control,8,3 ## @not_right_cartridge_rd4_control
	.comm	_not_enable_2k_character_ram,8,3 ## @not_enable_2k_character_ram
	.comm	_not_enable_2k_attribute_ram,8,3 ## @not_enable_2k_attribute_ram
	.comm	_not_enable_crtc_registers,8,3  ## @not_enable_crtc_registers
	.comm	_not_enable_80_column_output,8,3 ## @not_enable_80_column_output
	.comm	_video_bank_select,8,3          ## @video_bank_select
	.comm	_crtreg,4,2                     ## @crtreg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AF80_Reset                     ; -- Begin function AF80_Reset
	.p2align	2
_AF80_Reset:                            ; @AF80_Reset
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _af80_screen@GOTPAGE
Lloh1:
	ldr	x8, [x8, _af80_screen@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #0
	mov	w2, #2048
	bl	_memset
Lloh3:
	adrp	x8, _af80_attrib@GOTPAGE
Lloh4:
	ldr	x8, [x8, _af80_attrib@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #0
	mov	w2, #2048
	bl	_memset
Lloh6:
	adrp	x8, _rom_bank_select@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rom_bank_select@GOTPAGEOFF]
Lloh8:
	str	xzr, [x8]
Lloh9:
	adrp	x8, _not_rom_output_enable@GOTPAGE
Lloh10:
	ldr	x8, [x8, _not_rom_output_enable@GOTPAGEOFF]
Lloh11:
	str	xzr, [x8]
Lloh12:
	adrp	x8, _not_right_cartridge_rd4_control@GOTPAGE
Lloh13:
	ldr	x8, [x8, _not_right_cartridge_rd4_control@GOTPAGEOFF]
Lloh14:
	str	xzr, [x8]
Lloh15:
	adrp	x8, _not_enable_2k_character_ram@GOTPAGE
Lloh16:
	ldr	x8, [x8, _not_enable_2k_character_ram@GOTPAGEOFF]
Lloh17:
	str	xzr, [x8]
Lloh18:
	adrp	x8, _not_enable_2k_attribute_ram@GOTPAGE
Lloh19:
	ldr	x8, [x8, _not_enable_2k_attribute_ram@GOTPAGEOFF]
Lloh20:
	str	xzr, [x8]
Lloh21:
	adrp	x8, _not_enable_crtc_registers@GOTPAGE
Lloh22:
	ldr	x8, [x8, _not_enable_crtc_registers@GOTPAGEOFF]
Lloh23:
	str	xzr, [x8]
Lloh24:
	adrp	x8, _not_enable_80_column_output@GOTPAGE
Lloh25:
	ldr	x8, [x8, _not_enable_80_column_output@GOTPAGEOFF]
Lloh26:
	str	xzr, [x8]
Lloh27:
	adrp	x8, _video_bank_select@GOTPAGE
Lloh28:
	ldr	x8, [x8, _video_bank_select@GOTPAGEOFF]
Lloh29:
	str	xzr, [x8]
Lloh30:
	adrp	x8, _crtreg@GOTPAGE
Lloh31:
	ldr	x8, [x8, _crtreg@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	mov	w1, #0
	mov	w2, #64
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_memset
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_af80_screen,4,2                ; @af80_screen
	.comm	_af80_attrib,4,2                ; @af80_attrib
	.comm	_rom_bank_select,8,3            ; @rom_bank_select
	.comm	_not_rom_output_enable,8,3      ; @not_rom_output_enable
	.comm	_not_right_cartridge_rd4_control,8,3 ; @not_right_cartridge_rd4_control
	.comm	_not_enable_2k_character_ram,8,3 ; @not_enable_2k_character_ram
	.comm	_not_enable_2k_attribute_ram,8,3 ; @not_enable_2k_attribute_ram
	.comm	_not_enable_crtc_registers,8,3  ; @not_enable_crtc_registers
	.comm	_not_enable_80_column_output,8,3 ; @not_enable_80_column_output
	.comm	_video_bank_select,8,3          ; @video_bank_select
	.comm	_crtreg,4,2                     ; @crtreg
.subsections_via_symbols
