	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rintl                          ## -- Begin function rintl
	.p2align	4, 0x90
_rintl:                                 ## @rintl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	fldt	16(%rbp)
	fld	%st(0)
	fstpt	-32(%rbp)
	movl	-32(%rbp), %edx
	movl	%edx, %eax
	andl	$32767, %eax                    ## imm = 0x7FFF
	movq	_BIAS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_LDBL_MANT_DIG@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	addl	%ecx, %esi
	decl	%esi
	cmpl	%esi, %eax
	jge	LBB0_1
## %bb.2:
	sarl	$15, %edx
	movq	_shift@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movslq	%edx, %rdx
	movq	(%rsi,%rdx,8), %rsi
	movq	%rsi, -8(%rbp)
	fildll	-8(%rbp)
	fadd	%st, %st(1)
	fsubrp	%st, %st(1)
	cmpl	%ecx, %eax
	jge	LBB0_5
## %bb.3:
	fldz
	fxch	%st(1)
	fucomi	%st(1), %st
	fstp	%st(1)
	jne	LBB0_5
	jp	LBB0_5
## %bb.4:
	fstp	%st(0)
	movq	_zero@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$4, %rdx
	fldt	(%rax,%rdx)
LBB0_5:
	popq	%rbp
	retq
LBB0_1:
	movq	_LDBL_MAX_EXP@GOTPCREL(%rip), %rdx
	addl	(%rdx), %ecx
	cmpl	%ecx, %eax
	fldz
	fchs
	fcmove	%st(1), %st
	faddp	%st, %st(1)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIAS,4,2                       ## @BIAS
	.comm	_LDBL_MANT_DIG,4,2              ## @LDBL_MANT_DIG
	.comm	_LDBL_MAX_EXP,4,2               ## @LDBL_MAX_EXP
	.comm	_shift,8,3                      ## @shift
	.comm	_zero,8,3                       ## @zero
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rintl                          ; -- Begin function rintl
	.p2align	2
_rintl:                                 ; @rintl
	.cfi_startproc
; %bb.0:
	fmov	x8, d0
	and	w9, w8, #0x7fff
Lloh0:
	adrp	x10, _BIAS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BIAS@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _LDBL_MANT_DIG@GOTPAGE
Lloh4:
	ldr	x11, [x11, _LDBL_MANT_DIG@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	add	w11, w10, w11
	sub	w11, w11, #1
	cmp	w9, w11
	b.ge	LBB0_5
; %bb.1:
	asr	w11, w8, #15
Lloh6:
	adrp	x12, _shift@GOTPAGE
Lloh7:
	ldr	x12, [x12, _shift@GOTPAGEOFF]
Lloh8:
	ldr	x12, [x12]
	ldr	d1, [x12, w11, sxtw #3]
	scvtf	d1, d1
	fadd	d0, d1, d0
	fsub	d0, d0, d1
	cmp	w9, w10
	b.ge	LBB0_4
; %bb.2:
	fcmp	d0, #0.0
	b.ne	LBB0_4
; %bb.3:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sbfx	x8, x8, #15, #17
Lloh9:
	adrp	x9, _zero@GOTPAGE
Lloh10:
	ldr	x9, [x9, _zero@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	d0, [x9, x8, lsl #3]
LBB0_4:
	ret
LBB0_5:
Lloh12:
	adrp	x8, _LDBL_MAX_EXP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LDBL_MAX_EXP@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	add	w8, w8, w10
	cmp	w9, w8
	mov	x8, #-9223372036854775808
	fmov	d1, x8
	fcsel	d1, d0, d1, eq
	fadd	d0, d1, d0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BIAS,4,2                       ; @BIAS
	.comm	_LDBL_MANT_DIG,4,2              ; @LDBL_MANT_DIG
	.comm	_LDBL_MAX_EXP,4,2               ; @LDBL_MAX_EXP
	.comm	_shift,8,3                      ; @shift
	.comm	_zero,8,3                       ; @zero
.subsections_via_symbols
