	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sh2_execute_interpreter        ## -- Begin function sh2_execute_interpreter
	.p2align	4, 0x90
_sh2_execute_interpreter:               ## @sh2_execute_interpreter
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %eax
	movl	%esi, (%rdi)
	testl	%esi, %esi
	jle	LBB0_29
## %bb.1:
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	jle	LBB0_28
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, 48(%rbx)
	movq	%rbx, %rdi
	callq	_RW
	movq	40(%rbx), %rcx
	addq	$-2, %rcx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 32(%rbx)
	jne	LBB0_2
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%rbx), %rsi
	movq	%rsi, 48(%rbx)
	movq	%rbx, %rdi
	callq	_RW
	movq	40(%rbx), %rcx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 32(%rbx)
	addq	$2, %rcx
	movq	%rcx, 40(%rbx)
	movl	%eax, %ecx
	shrl	$12, %ecx
	andl	$15, %ecx
	cmpl	$14, %ecx
	ja	LBB0_22
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r15,%rcx,4), %rcx
	addq	%r15, %rcx
	jmpq	*%rcx
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_op0000
	jmp	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_op1111
	jmp	LBB0_23
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_op0001
	jmp	LBB0_23
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_op0010
	jmp	LBB0_23
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_op0011
	jmp	LBB0_23
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_op0100
	jmp	LBB0_23
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_op0101
	jmp	LBB0_23
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_op0110
	jmp	LBB0_23
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_op0111
	jmp	LBB0_23
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_op1000
	jmp	LBB0_23
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_op1001
	jmp	LBB0_23
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_op1010
	jmp	LBB0_23
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_op1011
	jmp	LBB0_23
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_op1100
	jmp	LBB0_23
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_op1101
	jmp	LBB0_23
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_op1110
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
	decl	%eax
	movl	%eax, (%rbx)
	cmpq	$0, 24(%rbx)
	je	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 32(%rbx)
	jne	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rbx), %r14d
	movl	8(%rbx), %ecx
	shrl	$4, %ecx
	andl	$15, %ecx
	cmpl	%ecx, %r14d
	jle	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	*16(%rbx)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_sh2_do_irq
	movq	$0, 24(%rbx)
	movl	(%rbx), %eax
	jmp	LBB0_27
LBB0_29:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_19
	.long	L0_0_set_20
	.long	L0_0_set_21
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sh2_execute_interpreter        ; -- Begin function sh2_execute_interpreter
	.p2align	2
_sh2_execute_interpreter:               ; @sh2_execute_interpreter
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	str	w1, [x0]
	cmp	w1, #1
	b.lt	LBB0_29
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x21, lJTI0_0@PAGE
Lloh1:
	add	x21, x21, lJTI0_0@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w1, #0
	b.le	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x19, #32]
	cbz	x1, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x1, [x19, #48]
	mov	x0, x19
	bl	_RW
	mov	x1, x0
	ldr	x8, [x19, #40]
	sub	x8, x8, #2
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_3
	b	LBB0_29
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x19, #40]
	str	x1, [x19, #48]
	mov	x0, x19
	bl	_RW
	mov	x1, x0
	ldr	x8, [x19, #40]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #2
	stp	xzr, x8, [x19, #32]
	ubfx	w8, w1, #12, #4
	cmp	w8, #14
	b.hi	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x9, LBB0_9
	ldrb	w10, [x21, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_op0000
	b	LBB0_25
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_op1111
	b	LBB0_25
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_op0001
	b	LBB0_25
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_op0010
	b	LBB0_25
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_op0011
	b	LBB0_25
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_op0100
	b	LBB0_25
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_op0101
	b	LBB0_25
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_op0110
	b	LBB0_25
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_op0111
	b	LBB0_25
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_op1000
	b	LBB0_25
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_op1001
	b	LBB0_25
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_op1010
	b	LBB0_25
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_op1011
	b	LBB0_25
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_op1100
	b	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_op1101
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_op1110
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
	sub	w1, w8, #1
	str	w1, [x19]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_2
; %bb.26:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_2
; %bb.27:                               ;   in Loop: Header=BB0_3 Depth=1
	ldp	w20, w8, [x19, #4]
	ubfx	w8, w8, #4, #4
	cmp	w20, w8
	b.le	LBB0_2
; %bb.28:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_sh2_do_irq
	str	xzr, [x19, #24]
	ldr	w1, [x19]
	b	LBB0_2
LBB0_29:
	mov	x0, x1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_11-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
	.byte	(LBB0_14-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_16-LBB0_9)>>2
	.byte	(LBB0_17-LBB0_9)>>2
	.byte	(LBB0_18-LBB0_9)>>2
	.byte	(LBB0_19-LBB0_9)>>2
	.byte	(LBB0_20-LBB0_9)>>2
	.byte	(LBB0_21-LBB0_9)>>2
	.byte	(LBB0_22-LBB0_9)>>2
	.byte	(LBB0_23-LBB0_9)>>2
	.byte	(LBB0_24-LBB0_9)>>2
                                        ; -- End function
.subsections_via_symbols
