	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eval_string
_eval_string:                           ## @eval_string
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_bmachine@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_readch
	movq	_EOF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_src_free
	movq	(%r12), %rdi
	shlq	$2, %rdi
	addq	16(%r12), %rdi
	jmp	LBB0_11
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	callq	_unreadch
	movq	(%r12), %rax
LBB0_5:
	movslq	8(%r12), %rbx
	leaq	-1(%rbx), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_6
## %bb.7:
	addq	%rbx, %rbx
	movq	16(%r12), %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_reallocarray
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_9:
	movl	%ebx, 8(%r12)
	movq	%r15, 16(%r12)
	movq	(%r12), %rax
	jmp	LBB0_10
LBB0_6:
	movq	16(%r12), %r15
LBB0_10:
	leaq	1(%rax), %rcx
	movq	%rcx, (%r12)
	leaq	(%r15,%rax,4), %rdi
	addq	$4, %rdi
LBB0_11:
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_src_setstring                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_bmachine,24,3                  ## @bmachine
	.comm	_EOF,4,2                        ## @EOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"recursion too deep"

	.no_dead_strip	_eval_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eval_string
_eval_string:                           ; @eval_string
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _bmachine@GOTPAGE
Lloh1:
	ldr	x22, [x22, _bmachine@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_4
; %bb.1:
	bl	_readch
Lloh2:
	adrp	x8, _EOF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
	bl	_src_free
	ldr	x8, [x22, #16]
	ldr	x9, [x22]
	add	x0, x8, x9, lsl #2
	b	LBB0_10
LBB0_3:
	bl	_unreadch
	ldr	x8, [x22]
LBB0_4:
	ldrsw	x9, [x22, #8]
	sub	x10, x9, #1
	cmp	x8, x10
	b.ne	LBB0_8
; %bb.5:
	lsl	x21, x9, #1
	ldr	x0, [x22, #16]
	mov	x1, x21
	mov	w2, #4
	bl	_reallocarray
	mov	x20, x0
	cbnz	x0, LBB0_7
; %bb.6:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_7:
	str	w21, [x22, #8]
	str	x20, [x22, #16]
	ldr	x8, [x22]
	b	LBB0_9
LBB0_8:
	ldr	x20, [x22, #16]
LBB0_9:
	add	x8, x8, #1
	str	x8, [x22]
	add	x0, x20, x8, lsl #2
LBB0_10:
	mov	x1, x19
	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
	b	_src_setstring
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_bmachine,24,3                  ; @bmachine
	.comm	_EOF,4,2                        ; @EOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"recursion too deep"

	.no_dead_strip	_eval_string
.subsections_via_symbols
