	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function ggc_min_heapsize_heuristic
LCPI0_0:
	.quad	0x3f50000000000000              ## double 9.765625E-4
LCPI0_1:
	.quad	0x3fc0000000000000              ## double 0.125
LCPI0_2:
	.quad	0xc0d0000000000000              ## double -16384
LCPI0_3:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ggc_min_heapsize_heuristic
	.p2align	4, 0x90
_ggc_min_heapsize_heuristic:            ## @ggc_min_heapsize_heuristic
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_physmem_total
	movsd	%xmm0, -16(%rbp)                ## 8-byte Spill
	addsd	%xmm0, %xmm0
	callq	_ggc_rlimit_bound
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	movsd	-16(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	mulsd	%xmm2, %xmm1
	mulsd	%xmm2, %xmm0
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	mulsd	LCPI0_1(%rip), %xmm1
	movsd	%xmm1, -16(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_ncpu_available
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	movl	$2, %eax
	subl	%ebx, %eax
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	divsd	%xmm1, %xmm0
	movsd	-16(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	%xmm1, -16(%rbp)                ## 8-byte Spill
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addsd	LCPI0_2(%rip), %xmm0
	cvttsd2si	%xmm0, %edi
	xorpd	%xmm0, %xmm0
	callq	_MAX
	mulsd	LCPI0_3(%rip), %xmm0
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_ggc_min_expand_heuristic
	addl	$110, %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	movsd	-24(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %edi
	movsd	-16(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_MIN
	movl	$4096, %edi                     ## imm = 0x1000
	callq	_MAX
	movl	$131072, %edi                   ## imm = 0x20000
	callq	_MIN
	cvttsd2si	%xmm0, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RLIMIT_RSS,4,2                 ## @RLIMIT_RSS
	.comm	_RLIM_INFINITY,8,3              ## @RLIM_INFINITY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ggc_min_heapsize_heuristic     ; -- Begin function ggc_min_heapsize_heuristic
	.p2align	2
_ggc_min_heapsize_heuristic:            ; @ggc_min_heapsize_heuristic
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	mov	x19, x0
	bl	_physmem_total
	fmov	d8, d0
	fadd	d0, d0, d0
	bl	_ggc_rlimit_bound
	mov	x8, #4562146422526312448
	fmov	d1, x8
	fmul	d2, d8, d1
	fmul	d9, d0, d1
	fmov	d0, #0.12500000
	fmul	d8, d2, d0
	bl	_ncpu_available
	scvtf	d0, x0
	mov	w8, #2
	sub	w8, w8, w19
	scvtf	d1, w8
	fdiv	d0, d0, d1
	fdiv	d8, d8, d0
	mov	x8, #-4553139223271571456
	fmov	d0, x8
	fadd	d0, d9, d0
	fcvtzs	w0, d0
	movi	d0, #0000000000000000
	bl	_MAX
	mov	x8, #4636737291354636288
	fmov	d1, x8
	fmul	d9, d0, d1
	bl	_ggc_min_expand_heuristic
	add	w8, w0, #110
	scvtf	d0, w8
	fdiv	d0, d9, d0
	fcvtzs	w0, d0
	fmov	d0, d8
	bl	_MIN
	mov	w0, #4096
	bl	_MAX
	mov	w0, #131072
	bl	_MIN
	fcvtzs	w0, d0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_RLIMIT_RSS,4,2                 ; @RLIMIT_RSS
	.comm	_RLIM_INFINITY,8,3              ; @RLIM_INFINITY
.subsections_via_symbols
