	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spe_emu_instr
_spe_emu_instr:                         ## @spe_emu_instr
	.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	_SPE_INST_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edi, %eax
	movl	$-1, %r14d
	addl	$-128, %eax
	cmpl	$13, %eax
	ja	LBB0_3
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %rbx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_2:
	movq	%rbx, %rdi
	callq	_fpu_sub
	jmp	LBB0_15
LBB0_3:
	movl	%edi, %esi
	leaq	L_.str(%rip), %rdi
	callq	_printf
	jmp	LBB0_16
LBB0_4:
	movq	%rbx, %rdi
	callq	_fpu_mul
	jmp	LBB0_15
LBB0_5:
	movq	%rbx, %rdi
	callq	_fpu_div
	jmp	LBB0_15
LBB0_6:
	movq	_FPSCR_RN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%rbx), %eax
	movl	%eax, (%rbx)
	movq	_FP_RZ@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, (%rbx)
LBB0_7:
	leaq	4(%rbx), %rsi
	movq	%rbx, %rdi
	movq	%rcx, %rdx
	xorl	%ecx, %ecx
	callq	_spe_to_int
	jmp	LBB0_16
LBB0_8:
	movq	_FPSCR_RN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%rbx), %eax
	movl	%eax, (%rbx)
	movq	_FP_RZ@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, (%rbx)
LBB0_9:
	leaq	4(%rbx), %rsi
	movq	%rbx, %rdi
	movq	%rcx, %rdx
	movl	$1, %ecx
	callq	_spe_to_int
	jmp	LBB0_16
LBB0_10:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_fpu_compare
	movq	_FPSCR_FL@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_fpu_compare
	movq	_FPSCR_FG@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_fpu_compare
	movq	_FPSCR_FE@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	testl	%eax, (%rbx)
	setne	%r14b
	jmp	LBB0_16
LBB0_14:
	movq	%rbx, %rdi
	callq	_fpu_add
LBB0_15:
	movq	%rax, (%r15)
LBB0_16:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.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
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_16
	.long	L0_0_set_16
	.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
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_14
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_SPE_INST_MASK,4,2              ## @SPE_INST_MASK
	.comm	_FPSCR_RN,4,2                   ## @FPSCR_RN
	.comm	_FP_RZ,4,2                      ## @FP_RZ
	.comm	_FPSCR_FG,4,2                   ## @FPSCR_FG
	.comm	_FPSCR_FL,4,2                   ## @FPSCR_FL
	.comm	_FPSCR_FE,4,2                   ## @FPSCR_FE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown instruction %x\n"

	.no_dead_strip	_spe_emu_instr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spe_emu_instr
_spe_emu_instr:                         ; @spe_emu_instr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _SPE_INST_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPE_INST_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
	sub	w8, w8, #128
	cmp	w8, #13
	b.hi	LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x19, x1
	mov	w0, #-1
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	bl	_fpu_sub
	b	LBB0_15
LBB0_3:
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	b	LBB0_16
LBB0_4:
	mov	x0, x19
	bl	_fpu_mul
	b	LBB0_15
LBB0_5:
	mov	x0, x19
	bl	_fpu_div
	b	LBB0_15
LBB0_6:
Lloh7:
	adrp	x8, _FPSCR_RN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FPSCR_RN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
Lloh10:
	adrp	x9, _FP_RZ@GOTPAGE
Lloh11:
	ldr	x9, [x9, _FP_RZ@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_7:
	add	x1, x19, #4
	mov	x0, x19
	mov	x2, x3
	mov	w3, #0
	bl	_spe_to_int
	b	LBB0_16
LBB0_8:
Lloh13:
	adrp	x8, _FPSCR_RN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FPSCR_RN@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
Lloh16:
	adrp	x9, _FP_RZ@GOTPAGE
Lloh17:
	ldr	x9, [x9, _FP_RZ@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_9:
	add	x1, x19, #4
	mov	x0, x19
	mov	x2, x3
	mov	w3, #1
	bl	_spe_to_int
	b	LBB0_16
LBB0_10:
	mov	x0, x19
	mov	w1, #0
	bl	_fpu_compare
	ldr	w8, [x19]
Lloh19:
	adrp	x9, _FPSCR_FL@GOTPAGE
Lloh20:
	ldr	x9, [x9, _FPSCR_FL@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	mov	x0, x19
	mov	w1, #0
	bl	_fpu_compare
	ldr	w8, [x19]
Lloh21:
	adrp	x9, _FPSCR_FG@GOTPAGE
Lloh22:
	ldr	x9, [x9, _FPSCR_FG@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
	mov	x0, x19
	mov	w1, #0
	bl	_fpu_compare
	ldr	w8, [x19]
Lloh23:
	adrp	x9, _FPSCR_FE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _FPSCR_FE@GOTPAGEOFF]
LBB0_13:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	b	LBB0_17
LBB0_14:
	mov	x0, x19
	bl	_fpu_add
LBB0_15:
	str	x0, [x20]
LBB0_16:
	mov	w0, #-1
LBB0_17:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
                                        ; -- End function
	.comm	_SPE_INST_MASK,4,2              ; @SPE_INST_MASK
	.comm	_FPSCR_RN,4,2                   ; @FPSCR_RN
	.comm	_FP_RZ,4,2                      ; @FP_RZ
	.comm	_FPSCR_FG,4,2                   ; @FPSCR_FG
	.comm	_FPSCR_FL,4,2                   ; @FPSCR_FL
	.comm	_FPSCR_FE,4,2                   ; @FPSCR_FE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown instruction %x\n"

	.no_dead_strip	_spe_emu_instr
.subsections_via_symbols
