	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generateJSR
_generateJSR:                           ## @generateJSR
	.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
	movq	%rsi, %rbx
	callq	_INSTRUCTION_B
	movl	%eax, %r15d
	movl	(%rbx), %r14d
	movq	_R0@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_emitMOVLI
	testb	$3, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_emitBRA
	movq	_R8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_R2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_emitMOVLL4
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_emit16
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_emitBRA
	movq	_R8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_R2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_emitMOVLL4
LBB0_3:
	addl	$4, %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_emit32
	movq	_R2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_R15@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_emitMOVLM
	movq	%rbx, %rdi
	movl	$21, %esi
	callq	_emitMOVLSG
	addl	$2, (%rbx)
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_sh2rec_rec_inst
	movq	%rbx, %rdi
	callq	_emitRTS
	movl	(%r14), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_emitMOVLP
	addl	$2, 4(%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R0,4,2                         ## @R0
	.comm	_R8,4,2                         ## @R8
	.comm	_R2,4,2                         ## @R2
	.comm	_R15,4,2                        ## @R15
	.no_dead_strip	_generateJSR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generateJSR
_generateJSR:                           ; @generateJSR
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	bl	_INSTRUCTION_B
	mov	x20, x0
	ldr	w22, [x19]
Lloh0:
	adrp	x21, _R0@GOTPAGE
Lloh1:
	ldr	x21, [x21, _R0@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #1
	bl	_emitMOVLI
	ldrb	w8, [x19, #8]
Lloh2:
	adrp	x23, _R2@GOTPAGE
Lloh3:
	ldr	x23, [x23, _R2@GOTPAGEOFF]
	mov	x0, x19
	tst	w8, #0x3
	b.eq	LBB0_2
; %bb.1:
	mov	w1, #3
	bl	_emitBRA
Lloh4:
	adrp	x8, _R8@GOTPAGE
Lloh5:
	ldr	x8, [x8, _R8@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldr	w3, [x23]
	mov	x0, x19
	mov	x2, x20
	bl	_emitMOVLL4
	mov	x0, x19
	mov	w1, #0
	bl	_emit16
	b	LBB0_3
LBB0_2:
	mov	w1, #2
	bl	_emitBRA
Lloh7:
	adrp	x8, _R8@GOTPAGE
Lloh8:
	ldr	x8, [x8, _R8@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	w3, [x23]
	mov	x0, x19
	mov	x2, x20
	bl	_emitMOVLL4
LBB0_3:
	add	w1, w22, #4
	mov	x0, x19
	bl	_emit32
	ldr	w1, [x23]
Lloh10:
	adrp	x20, _R15@GOTPAGE
Lloh11:
	ldr	x20, [x20, _R15@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_emitMOVLM
	mov	x0, x19
	mov	w1, #21
	bl	_emitMOVLSG
	ldr	w8, [x19]
	add	w8, w8, #2
	str	w8, [x19]
	mov	x0, x19
	mov	w1, #1
	bl	_sh2rec_rec_inst
	mov	x0, x19
	bl	_emitRTS
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_emitMOVLP
	ldr	w8, [x19, #4]
	add	w8, w8, #2
	str	w8, [x19, #4]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_R0,4,2                         ; @R0
	.comm	_R8,4,2                         ; @R8
	.comm	_R2,4,2                         ; @R2
	.comm	_R15,4,2                        ; @R15
	.no_dead_strip	_generateJSR
.subsections_via_symbols
