	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function GC_Ideal_Size
LCPI0_0:
	.long	1127219200                      ## 0x43300000
	.long	1160773632                      ## 0x45300000
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_1:
	.quad	0x4330000000000000              ## double 4503599627370496
	.quad	0x4530000000000000              ## double 1.9342813113834067E+25
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_2:
	.quad	0x43e0000000000000              ## double 9.2233720368547758E+18
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_GC_Ideal_Size:                         ## @GC_Ideal_Size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	incq	%rdi
	movq	%rdi, %xmm0
	punpckldq	LCPI0_0(%rip), %xmm0    ## xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
	subpd	LCPI0_1(%rip), %xmm0
	movapd	%xmm0, %xmm1
	unpckhpd	%xmm0, %xmm1                    ## xmm1 = xmm1[1],xmm0[1]
	addsd	%xmm0, %xmm1
	movq	_GC_Load_Factor@GOTPCREL(%rip), %rax
	divsd	(%rax), %xmm1
	cvttsd2si	%xmm1, %rax
	movq	%rax, %rdx
	subsd	LCPI0_2(%rip), %xmm1
	cvttsd2si	%xmm1, %rcx
	sarq	$63, %rdx
	andq	%rdx, %rcx
	orq	%rax, %rcx
	movq	_GC_PRIMES_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_GC_Primes@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.1:
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rdi,8), %rax
	cmpq	%rcx, %rax
	jae	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdi
	cmpq	%rdi, %rdx
	jne	LBB0_3
LBB0_4:
	movq	-8(%rsi,%rdx,8), %rdx
	movq	%rdx, %rax
	negq	%rax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	addq	%rdx, %rax
	cmpq	%rcx, %rax
	jb	LBB0_5
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GC_Load_Factor,8,3             ## @GC_Load_Factor
	.comm	_GC_PRIMES_COUNT,8,3            ## @GC_PRIMES_COUNT
	.comm	_GC_Primes,8,3                  ## @GC_Primes
	.no_dead_strip	_GC_Ideal_Size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GC_Ideal_Size
_GC_Ideal_Size:                         ; @GC_Ideal_Size
	.cfi_startproc
; %bb.0:
	add	x8, x0, #1
	ucvtf	d0, x8
Lloh0:
	adrp	x8, _GC_Load_Factor@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GC_Load_Factor@GOTPAGEOFF]
Lloh2:
	ldr	d1, [x8]
	fdiv	d0, d0, d1
	fcvtzu	x8, d0
Lloh3:
	adrp	x9, _GC_PRIMES_COUNT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GC_PRIMES_COUNT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _GC_Primes@GOTPAGE
Lloh7:
	ldr	x10, [x10, _GC_Primes@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cbz	x9, LBB0_4
; %bb.1:
	mov	x11, x10
	mov	x12, x9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x11]
	cmp	x0, x8
	b.hs	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x11, x11, #8
	subs	x12, x12, #1
	b.ne	LBB0_2
LBB0_4:
	add	x9, x10, x9, lsl #3
	ldur	x9, [x9, #-8]
	neg	x0, x9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x0, x9
	cmp	x0, x8
	b.lo	LBB0_5
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GC_Load_Factor,8,3             ; @GC_Load_Factor
	.comm	_GC_PRIMES_COUNT,8,3            ; @GC_PRIMES_COUNT
	.comm	_GC_Primes,8,3                  ; @GC_Primes
	.no_dead_strip	_GC_Ideal_Size
.subsections_via_symbols
