	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enlarge_stack
_enlarge_stack:                         ## @enlarge_stack
	.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	_STACKMAX@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	addl	%eax, %ecx
	movl	%ecx, (%r15)
	movq	_mstack@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movslq	%ecx, %rsi
	leaq	L_.str(%rip), %r14
	movl	$4, %edx
	movq	%r14, %rcx
	movq	%rsi, %r8
	callq	_xreallocarray
	movl	%eax, (%rbx)
	movq	_sstack@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	(%r15), %eax
	movslq	%eax, %rcx
	movl	%ecx, %esi
	movq	%r14, %rdx
	callq	_xrealloc
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STACKMAX,4,2                   ## @STACKMAX
	.comm	_mstack,4,2                     ## @mstack
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Evaluation stack overflow (%lu)"

	.comm	_sstack,4,2                     ## @sstack
	.no_dead_strip	_enlarge_stack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enlarge_stack
_enlarge_stack:                         ; @enlarge_stack
	.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
Lloh0:
	adrp	x20, _STACKMAX@GOTPAGE
Lloh1:
	ldr	x20, [x20, _STACKMAX@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #0
	cinc	w9, w8, lt
	add	w1, w8, w9, asr #1
	str	w1, [x20]
Lloh2:
	adrp	x21, _mstack@GOTPAGE
Lloh3:
	ldr	x21, [x21, _mstack@GOTPAGEOFF]
	ldr	w0, [x21]
	sxtw	x4, w1
Lloh4:
	adrp	x19, l_.str@PAGE
Lloh5:
	add	x19, x19, l_.str@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w2, #4
	mov	x3, x19
	bl	_xreallocarray
	str	w0, [x21]
Lloh6:
	adrp	x21, _sstack@GOTPAGE
Lloh7:
	ldr	x21, [x21, _sstack@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x20]
	sxtw	x3, w1
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x19
	bl	_xrealloc
	str	w0, [x21]
	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
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_STACKMAX,4,2                   ; @STACKMAX
	.comm	_mstack,4,2                     ; @mstack
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Evaluation stack overflow (%lu)"

	.comm	_sstack,4,2                     ; @sstack
	.no_dead_strip	_enlarge_stack
.subsections_via_symbols
