	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sh2setRegister
_sh2setRegister:                        ## @sh2setRegister
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	(%rdi), %edi
	leaq	-88(%rbp), %rsi
	callq	_SH2GetRegisters
	cmpl	$15, %ebx
	jg	LBB0_2
## %bb.1:
	movq	-32(%rbp), %rax
	movslq	%ebx, %rcx
	movq	%r14, (%rax,%rcx,8)
LBB0_2:
	addl	$-16, %ebx
	cmpl	$6, %ebx
	ja	LBB0_11
## %bb.3:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_4:
	movq	%r14, -40(%rbp)
	jmp	LBB0_11
LBB0_5:
	movq	%r14, -48(%rbp)
	jmp	LBB0_11
LBB0_6:
	movq	%r14, -56(%rbp)
	jmp	LBB0_11
LBB0_7:
	movq	%r14, -64(%rbp)
	jmp	LBB0_11
LBB0_8:
	movq	%r14, -72(%rbp)
	jmp	LBB0_11
LBB0_9:
	movq	%r14, -80(%rbp)
	jmp	LBB0_11
LBB0_10:
	movq	%r14, -88(%rbp)
LBB0_11:
	movl	(%r15), %edi
	leaq	-88(%rbp), %rsi
	callq	_SH2SetRegisters
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.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
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_sh2setRegister
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sh2setRegister
_sh2setRegister:                        ; @sh2setRegister
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0]
	mov	x1, sp
	bl	_SH2GetRegisters
	cmp	w21, #15
	b.gt	LBB0_2
; %bb.1:
	ldr	x8, [sp, #56]
	str	x20, [x8, w21, sxtw #3]
LBB0_2:
	sub	w8, w21, #16
	cmp	w8, #6
	b.hi	LBB0_11
; %bb.3:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	str	x20, [sp, #48]
	b	LBB0_11
LBB0_5:
	str	x20, [sp, #40]
	b	LBB0_11
LBB0_6:
	str	x20, [sp, #32]
	b	LBB0_11
LBB0_7:
	str	x20, [sp, #24]
	b	LBB0_11
LBB0_8:
	str	x20, [sp, #16]
	b	LBB0_11
LBB0_9:
	str	x20, [sp, #8]
	b	LBB0_11
LBB0_10:
	str	x20, [sp]
LBB0_11:
	ldr	w0, [x19]
	mov	x1, sp
	bl	_SH2SetRegisters
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
                                        ; -- End function
	.no_dead_strip	_sh2setRegister
.subsections_via_symbols
