	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function frndint_
_frndint_:                              ## @frndint_
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	_TAG_Valid@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_1
## %bb.7:
	movq	_TAG_Zero@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_12
## %bb.8:
	movq	_TAG_Special@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_FPU_Special
	movq	%rax, %rbx
LBB0_10:
	movq	_TW_Denormal@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_11
LBB0_1:
	movq	%r14, %rdi
	callq	_getsign
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_exponent
	cmpl	$63, %eax
	jle	LBB0_2
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_TW_Denormal@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_denormal_operand
	testq	%rax, %rax
	js	LBB0_12
LBB0_4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_FPU_round_to_int
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %edi
	callq	_set_precision_flag
LBB0_6:
	movq	%r14, %rdi
	movl	$63, %esi
	callq	_setexponent16
	movq	%r14, %rdi
	callq	_FPU_normalize
	movl	%eax, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_setsign
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_FPU_settag0                    ## TAILCALL
LBB0_11:
	movq	_TW_Infinity@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_12
## %bb.13:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_single_arg_error               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TAG_Valid,8,3                  ## @TAG_Valid
	.comm	_TW_Denormal,8,3                ## @TW_Denormal
	.comm	_TAG_Zero,8,3                   ## @TAG_Zero
	.comm	_TAG_Special,8,3                ## @TAG_Special
	.comm	_TW_Infinity,8,3                ## @TW_Infinity
	.no_dead_strip	_frndint_
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function frndint_
_frndint_:                              ; @frndint_
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _TAG_Valid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TAG_Valid@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.eq	LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _TAG_Zero@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TAG_Zero@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x20
	b.eq	LBB0_6
; %bb.2:
Lloh6:
	adrp	x8, _TAG_Special@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TAG_Special@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_FPU_Special
	mov	x20, x0
LBB0_4:
Lloh9:
	adrp	x8, _TW_Denormal@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TW_Denormal@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_12
LBB0_5:
	mov	x0, x19
	bl	_getsign
	mov	x21, x0
	mov	x0, x19
	bl	_exponent
	cmp	w0, #63
	b.le	LBB0_7
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh12:
	adrp	x8, _TW_Denormal@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TW_Denormal@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_9
; %bb.8:
	bl	_denormal_operand
	tbnz	x0, #63, LBB0_6
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	bl	_FPU_round_to_int
	cbz	w0, LBB0_11
; %bb.10:
	bl	_set_precision_flag
LBB0_11:
	mov	x0, x19
	mov	w1, #63
	bl	_setexponent16
	mov	x0, x19
	bl	_FPU_normalize
	mov	x20, x0
	mov	x0, x19
	mov	x1, x21
	bl	_setsign
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_FPU_settag0
LBB0_12:
Lloh15:
	adrp	x8, _TW_Infinity@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TW_Infinity@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x20, x8
	b.eq	LBB0_6
; %bb.13:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_single_arg_error
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TAG_Valid,8,3                  ; @TAG_Valid
	.comm	_TW_Denormal,8,3                ; @TW_Denormal
	.comm	_TAG_Zero,8,3                   ; @TAG_Zero
	.comm	_TAG_Special,8,3                ; @TAG_Special
	.comm	_TW_Infinity,8,3                ; @TW_Infinity
	.no_dead_strip	_frndint_
.subsections_via_symbols
