	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FRTExec                        ## -- Begin function FRTExec
	.p2align	4, 0x90
_FRTExec:                               ## @FRTExec
	.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
	movq	%rdi, %rax
	movq	_CurrentSH2@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	(%rdi), %rdx
	movb	48(%rdi), %cl
	movl	$-1, %esi
	shll	%cl, %esi
	movq	40(%rdi), %r15
	notl	%esi
	addq	56(%rdi), %rax
	movslq	%esi, %rsi
	movq	%rax, %rbx
	sarq	%cl, %rbx
	addq	%r15, %rbx
	andq	%rsi, %rax
	movq	%rax, 56(%rdi)
	cmpq	%rdx, %r15
	jge	LBB0_7
## %bb.1:
	cmpq	%rdx, %rbx
	jl	LBB0_7
## %bb.2:
	testb	$8, 8(%rdi)
	je	LBB0_4
## %bb.3:
	movl	12(%rdi), %esi
	movl	16(%rdi), %edx
	andl	$127, %esi
	shrl	$8, %edx
	andl	$15, %edx
	callq	_SH2SendInterrupt
	movq	(%r14), %rdi
LBB0_4:
	movl	20(%rdi), %eax
	testb	$1, %al
	je	LBB0_6
## %bb.5:
	movq	$0, 56(%rdi)
	xorl	%ebx, %ebx
LBB0_6:
	orl	$8, %eax
	movl	%eax, 20(%rdi)
LBB0_7:
	movq	24(%rdi), %rax
	cmpq	%rax, %rbx
	jl	LBB0_12
## %bb.8:
	cmpq	%rax, %r15
	jge	LBB0_12
## %bb.9:
	testb	$4, 8(%rdi)
	je	LBB0_11
## %bb.10:
	movl	12(%rdi), %esi
	movl	16(%rdi), %edx
	andl	$127, %esi
	shrl	$8, %edx
	andl	$15, %edx
	callq	_SH2SendInterrupt
	movq	(%r14), %rdi
LBB0_11:
	orb	$4, 20(%rdi)
LBB0_12:
	cmpq	$65536, %rbx                    ## imm = 0x10000
	jl	LBB0_16
## %bb.13:
	testb	$2, 8(%rdi)
	je	LBB0_15
## %bb.14:
	movl	16(%rdi), %edx
	movl	32(%rdi), %esi
	shrl	$8, %esi
	andl	$127, %esi
	shrl	$8, %edx
	andl	$15, %edx
	callq	_SH2SendInterrupt
	movq	(%r14), %rdi
LBB0_15:
	orb	$2, 20(%rdi)
LBB0_16:
	movq	%rbx, 40(%rdi)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CurrentSH2,8,3                 ## @CurrentSH2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FRTExec                        ; -- Begin function FRTExec
	.p2align	2
_FRTExec:                               ; @FRTExec
	.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
	mov	x8, x0
Lloh0:
	adrp	x19, _CurrentSH2@GOTPAGE
Lloh1:
	ldr	x19, [x19, _CurrentSH2@GOTPAGEOFF]
	ldr	x0, [x19]
	ldr	x21, [x0, #40]
	ldr	w9, [x0, #48]
	mov	w10, #-1
	lsl	w10, w10, w9
	mvn	w10, w10
	sxtw	x10, w10
	ldr	x11, [x0, #56]
	add	x8, x11, x8
	and	x10, x8, x10
	asr	x8, x8, x9
	add	x20, x8, x21
	str	x10, [x0, #56]
	ldr	x8, [x0]
	cmp	x21, x8
	ccmp	x20, x8, #8, lt
	b.lt	LBB0_6
; %bb.1:
	ldrb	w8, [x0, #8]
	tbz	w8, #3, LBB0_3
; %bb.2:
	ldp	w8, w9, [x0, #12]
	and	w1, w8, #0x7f
	ubfx	w2, w9, #8, #4
	bl	_SH2SendInterrupt
	ldr	x0, [x19]
LBB0_3:
	ldr	w8, [x0, #20]
	tbz	w8, #0, LBB0_5
; %bb.4:
	mov	x20, #0
	str	xzr, [x0, #56]
LBB0_5:
	orr	w8, w8, #0x8
	str	w8, [x0, #20]
LBB0_6:
	ldr	x8, [x0, #24]
	cmp	x20, x8
	ccmp	x21, x8, #0, ge
	b.ge	LBB0_10
; %bb.7:
	ldrb	w8, [x0, #8]
	tbz	w8, #2, LBB0_9
; %bb.8:
	ldp	w8, w9, [x0, #12]
	and	w1, w8, #0x7f
	ubfx	w2, w9, #8, #4
	bl	_SH2SendInterrupt
	ldr	x0, [x19]
LBB0_9:
	ldr	w8, [x0, #20]
	orr	w8, w8, #0x4
	str	w8, [x0, #20]
LBB0_10:
	cmp	x20, #16, lsl #12               ; =65536
	b.lt	LBB0_14
; %bb.11:
	ldrb	w8, [x0, #8]
	tbz	w8, #1, LBB0_13
; %bb.12:
	ldr	w8, [x0, #32]
	ubfx	w1, w8, #8, #7
	ldr	w8, [x0, #16]
	ubfx	w2, w8, #8, #4
	bl	_SH2SendInterrupt
	ldr	x0, [x19]
LBB0_13:
	ldr	w8, [x0, #20]
	orr	w8, w8, #0x2
	str	w8, [x0, #20]
LBB0_14:
	str	x20, [x0, #40]
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CurrentSH2,8,3                 ; @CurrentSH2
.subsections_via_symbols
