	.file	"extr_m68kcpu.c_m68k_pulse_reset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	m68k_pulse_reset
	.type	m68k_pulse_reset, @function
m68k_pulse_reset:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	xor	edi, edi
	mov	QWORD PTR CPU_STOPPED[rip], 0
	call	SET_CYCLES@PLT
	mov	eax, DWORD PTR RUN_MODE_BERR_AERR_RESET[rip]
	mov	QWORD PTR FLAG_T0[rip], 0
	mov	QWORD PTR FLAG_T1[rip], 0
	mov	DWORD PTR CPU_RUN_MODE[rip], eax
	xor	eax, eax
	call	m68ki_clear_trace@PLT
	mov	edi, DWORD PTR SFLAG_SET[rip]
	or	edi, DWORD PTR MFLAG_CLEAR[rip]
	mov	DWORD PTR FLAG_INT_MASK[rip], 1792
	mov	QWORD PTR REG_VBR[rip], 0
	call	m68ki_set_sm_flag@PLT
	xor	edi, edi
	call	m68ki_jump@PLT
	xor	eax, eax
	call	m68ki_read_imm_32@PLT
	mov	QWORD PTR REG_SP[rip], rax
	xor	eax, eax
	call	m68ki_read_imm_32@PLT
	mov	rdi, rax
	mov	QWORD PTR REG_PC[rip], rax
	call	m68ki_jump@PLT
	mov	eax, DWORD PTR RUN_MODE_NORMAL[rip]
	mov	DWORD PTR CPU_RUN_MODE[rip], eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	m68k_pulse_reset, .-m68k_pulse_reset
	.comm	SFLAG_SET,4,4
	.comm	RUN_MODE_NORMAL,4,4
	.comm	RUN_MODE_BERR_AERR_RESET,4,4
	.comm	REG_VBR,8,8
	.comm	REG_SP,8,8
	.comm	REG_PC,8,8
	.comm	MFLAG_CLEAR,4,4
	.comm	FLAG_T1,8,8
	.comm	FLAG_T0,8,8
	.comm	FLAG_INT_MASK,4,4
	.comm	CPU_STOPPED,8,8
	.comm	CPU_RUN_MODE,4,4
	.comm	CPU_PREF_ADDR,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_m68kcpu.c_m68k_pulse_reset.c"
	.text
	.align	2
	.global	m68k_pulse_reset
	.syntax unified
	.arm
	.fpu softvfp
	.type	m68k_pulse_reset, %function
m68k_pulse_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, #0
	ldr	r3, .L4
	mov	r0, r4
	str	r4, [r3]
	bl	SET_CYCLES
	ldr	r3, .L4+4
	ldr	r1, .L4+8
	ldr	r2, .L4+12
	ldr	r3, [r3]
	ldr	r5, .L4+16
	str	r4, [r1]
	str	r4, [r2]
	str	r3, [r5]
	bl	m68ki_clear_trace
	mov	r2, #1792
	ldr	r1, .L4+20
	ldr	r3, .L4+24
	ldr	r0, [r1]
	ldr	r3, [r3]
	ldr	r1, .L4+28
	orr	r0, r0, r3
	ldr	r3, .L4+32
	str	r4, [r1]
	str	r2, [r3]
	bl	m68ki_set_sm_flag
	mov	r0, r4
	bl	m68ki_jump
	bl	m68ki_read_imm_32
	ldr	r3, .L4+36
	str	r0, [r3]
	bl	m68ki_read_imm_32
	ldr	r3, .L4+40
	str	r0, [r3]
	bl	m68ki_jump
	ldr	r3, .L4+44
	ldr	r3, [r3]
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	CPU_STOPPED
	.word	RUN_MODE_BERR_AERR_RESET
	.word	FLAG_T0
	.word	FLAG_T1
	.word	CPU_RUN_MODE
	.word	SFLAG_SET
	.word	MFLAG_CLEAR
	.word	REG_VBR
	.word	FLAG_INT_MASK
	.word	REG_SP
	.word	REG_PC
	.word	RUN_MODE_NORMAL
	.size	m68k_pulse_reset, .-m68k_pulse_reset
	.comm	SFLAG_SET,4,4
	.comm	RUN_MODE_NORMAL,4,4
	.comm	RUN_MODE_BERR_AERR_RESET,4,4
	.comm	REG_VBR,4,4
	.comm	REG_SP,4,4
	.comm	REG_PC,4,4
	.comm	MFLAG_CLEAR,4,4
	.comm	FLAG_T1,4,4
	.comm	FLAG_T0,4,4
	.comm	FLAG_INT_MASK,4,4
	.comm	CPU_STOPPED,4,4
	.comm	CPU_RUN_MODE,4,4
	.comm	CPU_PREF_ADDR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
