	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SH2InterpreterSendInterrupt    ## -- Begin function SH2InterpreterSendInterrupt
	.p2align	4, 0x90
_SH2InterpreterSendInterrupt:           ## @SH2InterpreterSendInterrupt
	.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
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r9
	movq	8(%rdi), %r8
	testq	%r9, %r9
	je	LBB0_12
## %bb.1:
	movq	%r8, %rax
	movq	%r9, %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rax)
	je	LBB0_13
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %rax
	decq	%rcx
	jne	LBB0_3
## %bb.4:
	movq	%r9, %rax
	shlq	$4, %rax
	leaq	1(%r9), %r14
	movq	%rdx, 8(%r8,%rax)
	movq	%rsi, (%r8,%rax)
	movq	%r14, (%rdi)
	testq	%r9, %r9
	je	LBB0_13
## %bb.5:
	leaq	24(%r8), %r11
	xorl	%r10d, %r10d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	addq	$16, %r11
	cmpq	%r9, %r10
	je	LBB0_13
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	%r10, %r15
	incq	%r10
	cmpq	%r14, %r10
	jae	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	shlq	$4, %r15
	leaq	(%r8,%r15), %rax
	addq	$8, %rax
	addq	%r8, %r15
	movq	%r11, %rdx
	movq	%r10, %rsi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=2
	incq	%rsi
	addq	$16, %rdx
	cmpq	%r14, %rsi
	jae	LBB0_6
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax), %rbx
	movq	(%rdx), %rcx
	cmpq	%rcx, %rbx
	jle	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	(%r15), %rdi
	movq	%rcx, (%rax)
	movq	-8(%rdx), %rcx
	movq	%rcx, (%r15)
	movq	%rbx, (%rdx)
	movq	%rdi, -8(%rdx)
	jmp	LBB0_11
LBB0_12:
	movq	%r9, %rax
	shlq	$4, %rax
	movq	%rdx, 8(%r8,%rax)
	movq	%rsi, (%r8,%rax)
	incq	%r9
	movq	%r9, (%rdi)
LBB0_13:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SH2InterpreterSendInterrupt    ; -- Begin function SH2InterpreterSendInterrupt
	.p2align	2
_SH2InterpreterSendInterrupt:           ; @SH2InterpreterSendInterrupt
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0]
	cbz	x8, LBB0_12
; %bb.1:
	mov	x10, x9
	mov	x11, x8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10]
	cmp	x12, x1
	b.eq	LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #16
	subs	x11, x11, #1
	b.ne	LBB0_2
; %bb.4:
	add	x10, x9, x8, lsl #4
	stp	x1, x2, [x10]
	add	x10, x8, #1
	str	x10, [x0]
	cbz	x8, LBB0_13
; %bb.5:
	mov	x14, #0
	add	x11, x9, #24
	mov	x12, x8
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	sub	x12, x12, #1
	add	x11, x11, #16
	mov	x14, x13
	cmp	x13, x8
	b.eq	LBB0_13
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	add	x13, x14, #1
	cmp	x13, x10
	b.hs	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x14, x9, x14, lsl #4
	add	x15, x14, #8
	mov	x16, x11
	mov	x17, x12
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x16, x16, #16
	subs	x17, x17, #1
	b.eq	LBB0_6
LBB0_10:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x15]
	ldr	x1, [x16]
	cmp	x0, x1
	b.le	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x2, [x14]
	str	x1, [x15]
	ldur	x1, [x16, #-8]
	str	x1, [x14]
	stp	x2, x0, [x16, #-8]
	b	LBB0_9
LBB0_12:
	add	x9, x9, x8, lsl #4
	stp	x1, x2, [x9]
	add	x8, x8, #1
	str	x8, [x0]
LBB0_13:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
