	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function roundFloatXTo64
_roundFloatXTo64:                       ## @roundFloatXTo64
	.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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%rsi, %r13
	shrq	$32, %r13
	movl	$-1, %edi
	callq	_LIT64
	movl	%eax, %ebx
	andl	%r13d, %ebx
	subl	%ebx, %r13d
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.1:
	movq	_float_flag_inexact@GOTPCREL(%rip), %rdx
	movq	_slow_float_exception_flags@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	(%rdx), %ecx
	movl	%ecx, (%rax)
	testq	%r12, %r12
	je	LBB0_3
## %bb.2:
	movq	_float_flag_underflow@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rax)
LBB0_3:
	movq	_slow_float_rounding_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_10
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	movq	%r15, %rax
	shrq	$32, %rax
	je	LBB0_10
	jmp	LBB0_13
LBB0_5:
	xorl	%edi, %edi
	callq	_LIT64
	cmpl	%eax, %ebx
	jl	LBB0_13
## %bb.6:
	xorl	%edi, %edi
	callq	_LIT64
	cmpl	%eax, %ebx
	jne	LBB0_10
## %bb.7:
	xorl	%edi, %edi
	callq	_LIT64
	testl	%r13d, %eax
	jne	LBB0_10
	jmp	LBB0_13
LBB0_8:
	movq	%r15, %rax
	shrq	$32, %rax
	je	LBB0_13
LBB0_10:
	xorl	%edi, %edi
	callq	_LIT64
	xorl	%ebx, %ebx
	addl	%eax, %r13d
	sete	%bl
	addq	%r15, %rbx
	movabsq	$-4294967296, %r12              ## imm = 0xFFFFFFFF00000000
	andq	%r15, %r12
	xorl	%edi, %edi
	callq	_LIT64
	cmpl	%ebx, %eax
	jne	LBB0_11
## %bb.12:
	xorl	%edi, %edi
	callq	_LIT64
	movl	%eax, %eax
	orq	%rax, %r12
	incq	%r14
	movq	%r12, %r15
	jmp	LBB0_13
LBB0_11:
	movl	%ebx, %r15d
	orq	%r12, %r15
LBB0_13:
	shlq	$32, %r13
	movl	%r14d, %eax
	orq	%r13, %rax
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_13
	.long	L0_0_set_5
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_float_flag_inexact,4,2         ## @float_flag_inexact
	.comm	_slow_float_exception_flags,4,2 ## @slow_float_exception_flags
	.comm	_float_flag_underflow,4,2       ## @float_flag_underflow
	.comm	_slow_float_rounding_mode,4,2   ## @slow_float_rounding_mode
	.no_dead_strip	_roundFloatXTo64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function roundFloatXTo64
_roundFloatXTo64:                       ; @roundFloatXTo64
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	lsr	x22, x1, #32
	mov	w0, #-1
	bl	_LIT64
	and	w23, w0, w22
	sub	w22, w22, w23
	cbz	w23, LBB0_13
; %bb.1:
Lloh0:
	adrp	x8, _float_flag_inexact@GOTPAGE
Lloh1:
	ldr	x8, [x8, _float_flag_inexact@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _slow_float_exception_flags@GOTPAGE
Lloh4:
	ldr	x8, [x8, _slow_float_exception_flags@GOTPAGEOFF]
	ldr	w10, [x8]
	orr	w9, w10, w9
	str	w9, [x8]
	cbz	x21, LBB0_3
; %bb.2:
Lloh5:
	adrp	x10, _float_flag_underflow@GOTPAGE
Lloh6:
	ldr	x10, [x10, _float_flag_underflow@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	orr	w9, w10, w9
	str	w9, [x8]
LBB0_3:
Lloh8:
	adrp	x8, _slow_float_rounding_mode@GOTPAGE
Lloh9:
	ldr	x8, [x8, _slow_float_rounding_mode@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_10
; %bb.4:
Lloh11:
	adrp	x9, lJTI0_0@PAGE
Lloh12:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	lsr	x8, x20, #32
	cbz	x8, LBB0_10
	b	LBB0_13
LBB0_6:
	mov	w0, #0
	bl	_LIT64
	cmp	w23, w0
	b.lt	LBB0_13
; %bb.7:
	mov	w0, #0
	bl	_LIT64
	cmp	w23, w0
	b.ne	LBB0_10
; %bb.8:
	mov	w0, #0
	bl	_LIT64
	tst	w0, w22
	b.ne	LBB0_10
	b	LBB0_13
LBB0_9:
	lsr	x8, x20, #32
	cbz	x8, LBB0_13
LBB0_10:
	mov	w0, #0
	bl	_LIT64
	adds	w22, w0, w22
	cinc	x21, x20, eq
	mov	w0, #0
	bl	_LIT64
	cmp	w0, w21
	b.ne	LBB0_12
; %bb.11:
	and	x20, x20, #0xffffffff00000000
	mov	w0, #0
	bl	_LIT64
	mov	w8, w0
	orr	x20, x20, x8
	add	x19, x19, #1
	b	LBB0_13
LBB0_12:
	bfxil	x20, x21, #0, #32
LBB0_13:
	bfi	x19, x22, #32, #32
	mov	x0, x19
	mov	x1, x20
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
                                        ; -- End function
	.comm	_float_flag_inexact,4,2         ; @float_flag_inexact
	.comm	_slow_float_exception_flags,4,2 ; @slow_float_exception_flags
	.comm	_float_flag_underflow,4,2       ; @float_flag_underflow
	.comm	_slow_float_rounding_mode,4,2   ; @slow_float_rounding_mode
	.no_dead_strip	_roundFloatXTo64
.subsections_via_symbols
