	.file	"extr_atari.c_Atari800_Warmstart.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	Atari800_Warmstart
	.type	Atari800_Warmstart, @function
Atari800_Warmstart:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rax, QWORD PTR Atari800_MACHINE_800[rip]
	cmp	QWORD PTR Atari800_machine_type[rip], rax
	jne	.L2
	cmp	QWORD PTR MEMORY_axlon_num_banks[rip], 0
	jg	.L6
.L3:
	mov	DWORD PTR ANTIC_NMIST[rip], 63
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	CPU_NMI@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	xor	esi, esi
	mov	edi, 53247
	call	MEMORY_PutByte@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	xor	eax, eax
	call	PBI_Reset@PLT
	xor	eax, eax
	call	PIA_Reset@PLT
	xor	eax, eax
	call	ANTIC_Reset@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	CPU_Reset@PLT
	.cfi_endproc
.LFE0:
	.size	Atari800_Warmstart, .-Atari800_Warmstart
	.comm	MEMORY_axlon_num_banks,8,8
	.comm	Atari800_machine_type,8,8
	.comm	Atari800_MACHINE_800,8,8
	.comm	ANTIC_NMIST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_atari.c_Atari800_Warmstart.c"
	.text
	.align	2
	.global	Atari800_Warmstart
	.syntax unified
	.arm
	.fpu softvfp
	.type	Atari800_Warmstart, %function
Atari800_Warmstart:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L7
	ldr	r3, .L7+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	push	{r4, lr}
	cmp	r2, r3
	bne	.L2
	ldr	r3, .L7+8
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L6
.L3:
	pop	{r4, lr}
	mov	r2, #63
	ldr	r3, .L7+12
	str	r2, [r3]
	b	CPU_NMI
.L6:
	mov	r1, #0
	ldr	r0, .L7+16
	bl	MEMORY_PutByte
	b	.L3
.L2:
	bl	PBI_Reset
	bl	PIA_Reset
	bl	ANTIC_Reset
	pop	{r4, lr}
	b	CPU_Reset
.L8:
	.align	2
.L7:
	.word	Atari800_machine_type
	.word	Atari800_MACHINE_800
	.word	MEMORY_axlon_num_banks
	.word	ANTIC_NMIST
	.word	53247
	.size	Atari800_Warmstart, .-Atari800_Warmstart
	.comm	MEMORY_axlon_num_banks,4,4
	.comm	Atari800_machine_type,4,4
	.comm	Atari800_MACHINE_800,4,4
	.comm	ANTIC_NMIST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
