	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fpround
_fpround:                               ## @fpround
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rbx
	movl	8(%rbx), %r9d
	movl	12(%rbx), %r11d
	movq	_FP_NG@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movl	%r11d, %r8d
	movl	%eax, %ecx
	sarl	%cl, %r8d
	movl	%eax, %edx
	negb	%dl
	movl	%r9d, %r12d
	movl	%edx, %ecx
	shll	%cl, %r12d
	movl	(%rbx), %r14d
	movl	%eax, %ecx
	sarl	%cl, %r9d
	movl	4(%rbx), %ebx
	movl	%r11d, %r10d
	movl	%ebx, %r13d
	movl	%edx, %ecx
	shll	%cl, %r13d
	andl	$3, %r10d
	movl	%eax, %ecx
	sarl	%cl, %ebx
	orl	%r8d, %r12d
	movl	%r14d, %r15d
	movl	%edx, %ecx
	shll	%cl, %r15d
	orl	%r9d, %r13d
	movl	%eax, %ecx
	sarl	%cl, %r14d
	orl	%ebx, %r15d
	movq	%rsi, %rbx
	xorl	%eax, %eax
	orl	8(%rsi), %r10d
	je	LBB0_11
## %bb.1:
	movl	%r11d, -44(%rbp)                ## 4-byte Spill
	movq	_FSR_NX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rdi)
	movl	(%rdi), %edi
	callq	_FSR_GET_RD
	cmpl	$128, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$129, %eax
	je	LBB0_9
## %bb.4:
	cmpl	$130, %eax
	jne	LBB0_5
## %bb.8:
	cmpl	$0, 12(%rbx)
	movl	$0, %eax
	jne	LBB0_10
	jmp	LBB0_11
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_9:
	cmpl	$0, 12(%rbx)
	movl	$0, %eax
	jne	LBB0_11
	jmp	LBB0_10
LBB0_5:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testb	$2, %cl
	movl	$0, %eax
	je	LBB0_11
## %bb.6:
	testb	$1, %cl
	jne	LBB0_10
## %bb.7:
	movl	%r12d, %ecx
	andl	$1, %ecx
	orl	8(%rbx), %ecx
	je	LBB0_11
LBB0_10:
	movl	%r12d, %edi
	movl	%r12d, %esi
	movl	$1, %edx
	callq	_FPU_ADDS
	movl	%r13d, %edi
	movl	%r13d, %esi
	xorl	%edx, %edx
	callq	_FPU_ADDCS
	movl	%r15d, %edi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_FPU_ADDCS
	movl	%r14d, %edi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_FPU_ADDC
	movl	$1, %eax
LBB0_11:
	movq	(%rbx), %rcx
	movl	%r14d, (%rcx)
	movl	%r15d, 4(%rcx)
	movl	%r13d, 8(%rcx)
	movl	%r12d, 12(%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FP_NG,4,2                      ## @FP_NG
	.comm	_FSR_NX,4,2                     ## @FSR_NX
	.no_dead_strip	_fpround
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fpround
_fpround:                               ; @fpround
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	ldr	x8, [x1]
	ldp	w9, w10, [x8]
	ldp	w11, w24, [x8, #8]
	and	w8, w24, #0x3
Lloh0:
	adrp	x12, _FP_NG@GOTPAGE
Lloh1:
	ldr	x12, [x12, _FP_NG@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x12]
	asr	w13, w24, w12
	neg	w14, w12
	lsl	w15, w11, w14
	asr	w11, w11, w12
	ldr	w16, [x1, #8]
	orr	w20, w15, w13
	lsl	w13, w10, w14
	orr	w21, w13, w11
	asr	w10, w10, w12
	lsl	w11, w9, w14
	orr	w22, w11, w10
	asr	w23, w9, w12
	orr	w8, w8, w16
	cbz	w8, LBB0_7
; %bb.1:
Lloh3:
	adrp	x8, _FSR_NX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FSR_NX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x8]
	ldp	w8, w10, [x0]
	orr	w9, w10, w9
	str	w9, [x0, #4]
	mov	x0, x8
	bl	_FSR_GET_RD
	cmp	w0, #128
	b.eq	LBB0_7
; %bb.2:
	cmp	w0, #129
	b.eq	LBB0_5
; %bb.3:
	cmp	w0, #130
	b.ne	LBB0_6
; %bb.4:
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_10
	b	LBB0_7
LBB0_5:
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_7
	b	LBB0_10
LBB0_6:
	tbnz	w24, #1, LBB0_8
LBB0_7:
	mov	w24, #0
	b	LBB0_11
LBB0_8:
	tbnz	w24, #0, LBB0_10
; %bb.9:
	ldr	w8, [x19, #8]
	and	w9, w20, #0x1
	orr	w8, w8, w9
	cbz	w8, LBB0_7
LBB0_10:
	mov	w24, #1
	mov	x0, x20
	mov	x1, x20
	mov	w2, #1
	bl	_FPU_ADDS
	mov	x0, x21
	mov	x1, x21
	mov	w2, #0
	bl	_FPU_ADDCS
	mov	x0, x22
	mov	x1, x22
	mov	w2, #0
	bl	_FPU_ADDCS
	mov	x0, x23
	mov	x1, x23
	mov	w2, #0
	bl	_FPU_ADDC
LBB0_11:
	ldr	x8, [x19]
	stp	w23, w22, [x8]
	stp	w21, w20, [x8, #8]
	mov	x0, x24
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FP_NG,4,2                      ; @FP_NG
	.comm	_FSR_NX,4,2                     ; @FSR_NX
	.no_dead_strip	_fpround
.subsections_via_symbols
