	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_sh2
_run_sh2:                               ## @run_sh2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_EVT_RUN_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pevt_log_sh2_o
	movq	_SH2_STATE_RUN@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	orl	%eax, 4(%rbx)
	movq	(%rbx), %rdi
	movl	8(%rbx), %esi
	movl	%r14d, %edx
	callq	_C_M68K_TO_SH2
	movl	%eax, %r14d
	movq	_EL_32X@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%rbx), %ecx
	movl	8(%rbx), %r9d
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_elprintf_sh2
	movq	_PicoOpt@GOTPCREL(%rip), %rax
	movq	_POPT_EN_DRC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_sh2_execute
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	movl	8(%rbx), %esi
	movl	%eax, %edx
	callq	_C_SH2_TO_M68K
	addl	%eax, (%rbx)
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, 4(%rbx)
	movq	_EVT_RUN_END@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pevt_log_sh2_o
	movl	(%r12), %esi
	movl	(%rbx), %ecx
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %r8d
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_elprintf_sh2                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EVT_RUN_START,4,2              ## @EVT_RUN_START
	.comm	_SH2_STATE_RUN,4,2              ## @SH2_STATE_RUN
	.comm	_EL_32X,4,2                     ## @EL_32X
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"+run %u %d @%08x"

	.comm	_PicoOpt,4,2                    ## @PicoOpt
	.comm	_POPT_EN_DRC,4,2                ## @POPT_EN_DRC
	.comm	_EVT_RUN_END,4,2                ## @EVT_RUN_END
L_.str.1:                               ## @.str.1
	.asciz	"-run %u %d"

	.no_dead_strip	_run_sh2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_sh2
_run_sh2:                               ; @run_sh2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _EVT_RUN_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVT_RUN_START@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_pevt_log_sh2_o
Lloh3:
	adrp	x21, _SH2_STATE_RUN@GOTPAGE
Lloh4:
	ldr	x21, [x21, _SH2_STATE_RUN@GOTPAGEOFF]
	ldr	w8, [x21]
	ldp	w9, w1, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
	ldr	x0, [x19]
	mov	x2, x20
	bl	_C_M68K_TO_SH2
	mov	x20, x0
Lloh5:
	adrp	x22, _EL_32X@GOTPAGE
Lloh6:
	ldr	x22, [x22, _EL_32X@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	w3, [x19]
	ldr	w8, [x19, #8]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	str	x8, [sp]
	mov	x0, x19
	mov	x4, x20
	bl	_elprintf_sh2
Lloh9:
	adrp	x8, _PicoOpt@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PicoOpt@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _POPT_EN_DRC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _POPT_EN_DRC@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	and	w2, w9, w8
	mov	x0, x19
	mov	x1, x20
	bl	_sh2_execute
	mov	x20, x0
	ldr	x0, [x19]
	ldr	w1, [x19, #8]
	mov	x2, x20
	bl	_C_SH2_TO_M68K
	ldp	w8, w9, [x19]
	add	w8, w8, w0
	str	w8, [x19]
	ldr	w8, [x21]
	bic	w8, w9, w8
	str	w8, [x19, #4]
Lloh15:
	adrp	x8, _EVT_RUN_END@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EVT_RUN_END@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_pevt_log_sh2_o
	ldr	w1, [x22]
Lloh18:
	adrp	x2, l_.str.1@PAGE
Lloh19:
	add	x2, x2, l_.str.1@PAGEOFF
	ldr	w3, [x19]
	mov	x0, x19
	mov	x4, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_elprintf_sh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EVT_RUN_START,4,2              ; @EVT_RUN_START
	.comm	_SH2_STATE_RUN,4,2              ; @SH2_STATE_RUN
	.comm	_EL_32X,4,2                     ; @EL_32X
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"+run %u %d @%08x"

	.comm	_PicoOpt,4,2                    ; @PicoOpt
	.comm	_POPT_EN_DRC,4,2                ; @POPT_EN_DRC
	.comm	_EVT_RUN_END,4,2                ; @EVT_RUN_END
l_.str.1:                               ; @.str.1
	.asciz	"-run %u %d"

	.no_dead_strip	_run_sh2
.subsections_via_symbols
