	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spe_handle_fpdata              ## -- Begin function spe_handle_fpdata
	.p2align	4, 0x90
_spe_handle_fpdata:                     ## @spe_handle_fpdata
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	16(%rdi), %rdi
	leaq	-36(%rbp), %rsi
	callq	_fueword32
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movl	-36(%rbp), %eax
	movq	_OPC_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	_SPE_OPC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.2:
	xorl	%eax, %eax
	callq	_mfmsr
	movl	%eax, %r14d
	movl	-36(%rbp), %ebx
	movl	%ebx, %r12d
	shrl	$21, %r12d
	andl	$31, %r12d
	andl	$2047, %ebx                     ## imm = 0x7FF
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	%ebx, %eax
	orl	$4, %eax
                                        ## implicit-def: $edx
	cmpl	$142, %eax
	je	LBB0_4
## %bb.3:
	leaq	(,%r12,4), %rcx
	addq	(%r15), %rcx
	leaq	-64(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movl	%ebx, %edi
	callq	_spe_emu_instr
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,4), %edx
	cmpl	$-1, %eax
	cmovel	%eax, %edx
LBB0_4:
	movq	_SPE_INST_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	addl	$-148, %ebx
	cmpl	$2, %ebx
	ja	LBB0_6
## %bb.5:
	movl	$28, %ecx
	subl	%r12d, %ecx
	movl	$15, %eax
	shll	%cl, %eax
	notl	%eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	andl	8(%r15), %eax
	orl	%eax, %edx
	movl	%edx, 8(%r15)
LBB0_6:
	movq	_SPR_SPEFSCR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_mfspr
	movq	_SPEFSCR_FINVS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	(%rbx), %edi
	callq	_mtspr
	addq	$4, 16(%r15)
	movl	%r14d, %edi
	callq	_mtmsr
LBB0_7:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPC_SHIFT,4,2                  ## @OPC_SHIFT
	.comm	_SPE_OPC,4,2                    ## @SPE_OPC
	.comm	_PSL_VEC,4,2                    ## @PSL_VEC
	.comm	_EVFSCMPEQ,4,2                  ## @EVFSCMPEQ
	.comm	_EVFSCMPGT,4,2                  ## @EVFSCMPGT
	.comm	_EVFSCMPLT,4,2                  ## @EVFSCMPLT
	.comm	_SPE_INST_MASK,4,2              ## @SPE_INST_MASK
	.comm	_SPR_SPEFSCR,4,2                ## @SPR_SPEFSCR
	.comm	_SPEFSCR_FINVS,4,2              ## @SPEFSCR_FINVS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spe_handle_fpdata              ; -- Begin function spe_handle_fpdata
	.p2align	2
_spe_handle_fpdata:                     ; @spe_handle_fpdata
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	ldr	x0, [x0, #16]
	add	x1, sp, #4
	bl	_fueword32
	cbnz	w0, LBB0_7
; %bb.1:
	ldr	w8, [sp, #4]
Lloh0:
	adrp	x9, _OPC_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OPC_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh3:
	adrp	x9, _SPE_OPC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SPE_OPC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.2:
	bl	_mfmsr
	mov	x20, x0
	ldr	w8, [sp, #4]
	ubfx	x22, x8, #21, #5
	and	w21, w8, #0x7ff
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	orr	w9, w21, #0x4
                                        ; implicit-def: $w8
	cmp	w9, #142
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x19]
	add	x3, x8, x22, lsl #2
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x0, x21
	bl	_spe_emu_instr
	lsl	w8, w0, #2
	cmn	w0, #1
	csinv	w8, w8, wzr, ne
LBB0_4:
Lloh6:
	adrp	x9, _SPE_INST_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SPE_INST_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w9, w9, w21
	sub	w9, w9, #148
	cmp	w9, #2
	b.hi	LBB0_6
; %bb.5:
	mov	w9, #28
	sub	w9, w9, w22
	mov	w10, #15
	lsl	w10, w10, w9
	ldr	w11, [x19, #8]
	bic	w10, w11, w10
	lsl	w8, w8, w9
	orr	w8, w10, w8
	str	w8, [x19, #8]
LBB0_6:
Lloh9:
	adrp	x21, _SPR_SPEFSCR@GOTPAGE
Lloh10:
	ldr	x21, [x21, _SPR_SPEFSCR@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_mfspr
Lloh11:
	adrp	x8, _SPEFSCR_FINVS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SPEFSCR_FINVS@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	bic	w1, w0, w8
	ldr	w0, [x21]
	bl	_mtspr
	ldr	x8, [x19, #16]
	add	x8, x8, #4
	str	x8, [x19, #16]
	mov	x0, x20
	bl	_mtmsr
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_OPC_SHIFT,4,2                  ; @OPC_SHIFT
	.comm	_SPE_OPC,4,2                    ; @SPE_OPC
	.comm	_PSL_VEC,4,2                    ; @PSL_VEC
	.comm	_EVFSCMPEQ,4,2                  ; @EVFSCMPEQ
	.comm	_EVFSCMPGT,4,2                  ; @EVFSCMPGT
	.comm	_EVFSCMPLT,4,2                  ; @EVFSCMPLT
	.comm	_SPE_INST_MASK,4,2              ; @SPE_INST_MASK
	.comm	_SPR_SPEFSCR,4,2                ; @SPR_SPEFSCR
	.comm	_SPEFSCR_FINVS,4,2              ; @SPEFSCR_FINVS
.subsections_via_symbols
