	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spe_to_int
_spe_to_int:                            ## @spe_to_int
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	-48(%rbp), %rdx
	callq	_fpu_ftox
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_UINT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.2:
	movq	_FPSCR_OX@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	testl	%r15d, %r15d
	jne	LBB0_7
## %bb.5:
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_FPSCR_UX@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	jmp	LBB0_8
LBB0_7:
	movq	-40(%rbp), %rax
	movq	%rax, (%r14)
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT_MAX,8,3                   ## @UINT_MAX
	.comm	_FPSCR_OX,4,2                   ## @FPSCR_OX
	.comm	_FPSCR_UX,4,2                   ## @FPSCR_UX
	.no_dead_strip	_spe_to_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spe_to_int
_spe_to_int:                            ; @spe_to_int
	.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	x21, x3
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	add	x2, sp, #8
	bl	_fpu_ftox
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _UINT_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UINT_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _FPSCR_OX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FPSCR_OX@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	cbnz	w21, LBB0_7
; %bb.4:
	cbz	x0, LBB0_7
; %bb.5:
Lloh8:
	adrp	x8, _FPSCR_UX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FPSCR_UX@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_8
LBB0_7:
	ldr	x8, [sp, #16]
	str	x8, [x20]
LBB0_8:
	ldr	x8, [sp, #24]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	w0, #0
	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
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT_MAX,8,3                   ; @UINT_MAX
	.comm	_FPSCR_OX,4,2                   ; @FPSCR_OX
	.comm	_FPSCR_UX,4,2                   ; @FPSCR_UX
	.no_dead_strip	_spe_to_int
.subsections_via_symbols
