	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_interp_run                     ## -- Begin function interp_run
	.p2align	4, 0x90
_interp_run:                            ## @interp_run
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_lua_softc@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	leaq	L_.str(%rip), %rdi
	callq	_LDBG
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_luaL_dostring
	testl	%eax, %eax
	je	LBB0_15
## %bb.1:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_lua_pop
	movq	_command_errmsg@GOTPCREL(%rip), %rbx
	movq	$0, (%rbx)
	leaq	-44(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdx
	callq	_parse
	testq	%rax, %rax
	je	LBB0_2
## %bb.12:
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	_CMD_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	testl	%r13d, %r13d
	je	LBB0_15
LBB0_14:
	movq	_CMD_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_lua_getglobal
	movl	-44(%rbp), %esi
	testl	%esi, %esi
	jle	LBB0_6
## %bb.3:
	movq	%rbx, %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r12, %rdi
	callq	_lua_pushstring
	incq	%rbx
	movslq	-44(%rbp), %rsi
	cmpq	%rsi, %rbx
	jl	LBB0_4
## %bb.5:
	movq	%r14, %rbx
LBB0_6:
	xorl	%r13d, %r13d
	movq	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_lua_pcall
	movl	%eax, %r14d
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_lua_tointeger
	movl	%eax, %r15d
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_lua_pop
	orl	%r14d, %r15d
	je	LBB0_11
## %bb.7:
	movl	-44(%rbp), %edi
	movq	-56(%rbp), %rsi
	callq	_interp_builtin_cmd
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_10
## %bb.9:
	leaq	L_str(%rip), %rdi
LBB0_10:
	callq	_puts
	movq	_CMD_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_11:
	movq	-56(%rbp), %rdi
	callq	_free
	testl	%r13d, %r13d
	jne	LBB0_14
LBB0_15:
	movq	_CMD_OK@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lua_softc,8,3                  ## @lua_softc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"executing line..."

	.comm	_command_errmsg,8,3             ## @command_errmsg
L_.str.1:                               ## @.str.1
	.asciz	"cli_execute"

	.comm	_CMD_ERROR,4,2                  ## @CMD_ERROR
L_.str.4:                               ## @.str.4
	.asciz	"Failed to parse '%s'\n"

	.comm	_CMD_OK,4,2                     ## @CMD_OK
L_str:                                  ## @str
	.asciz	"Command failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_interp_run                     ; -- Begin function interp_run
	.p2align	2
_interp_run:                            ; @interp_run
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x0
Lloh0:
	adrp	x8, _lua_softc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lua_softc@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LDBG
	mov	x0, x19
	mov	x1, x20
	bl	_luaL_dostring
	cbz	w0, LBB0_14
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_lua_pop
Lloh5:
	adrp	x22, _command_errmsg@GOTPAGE
Lloh6:
	ldr	x22, [x22, _command_errmsg@GOTPAGEOFF]
	str	xzr, [x22]
	add	x0, sp, #28
	add	x1, sp, #16
	mov	x2, x20
	bl	_parse
	cbz	x0, LBB0_4
; %bb.2:
	str	x20, [sp]
Lloh7:
	adrp	x0, l_.str.4@PAGE
Lloh8:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
Lloh9:
	adrp	x8, _CMD_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CMD_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
	cbz	w19, LBB0_14
LBB0_3:
Lloh12:
	adrp	x8, _CMD_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CMD_ERROR@GOTPAGEOFF]
	b	LBB0_15
LBB0_4:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_lua_getglobal
	ldr	w1, [sp, #28]
	cmp	w1, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x20, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #16]
	ldr	x1, [x8, x20, lsl #3]
	mov	x0, x19
	bl	_lua_pushstring
	add	x20, x20, #1
	ldrsw	x1, [sp, #28]
	cmp	x20, x1
	b.lt	LBB0_6
LBB0_7:
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w2, #1
	mov	w3, #0
	bl	_lua_pcall
	mov	x20, x0
	mov	x0, x19
	mov	w1, #1
	bl	_lua_tointeger
	mov	x21, x0
	mov	x0, x19
	mov	w1, #1
	bl	_lua_pop
	mov	w19, #0
	orr	w8, w20, w21
	cbz	w8, LBB0_13
; %bb.8:
	ldr	w0, [sp, #28]
	ldr	x1, [sp, #16]
	bl	_interp_builtin_cmd
	cbz	w0, LBB0_12
; %bb.9:
	ldr	x0, [x22]
	cbnz	x0, LBB0_11
; %bb.10:
Lloh16:
	adrp	x0, l_str@PAGE
Lloh17:
	add	x0, x0, l_str@PAGEOFF
LBB0_11:
	bl	_puts
Lloh18:
	adrp	x8, _CMD_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CMD_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w19, [x8]
	b	LBB0_13
LBB0_12:
	mov	w19, #0
LBB0_13:
	ldr	x0, [sp, #16]
	bl	_free
	cbnz	w19, LBB0_3
LBB0_14:
Lloh21:
	adrp	x8, _CMD_OK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CMD_OK@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_lua_softc,8,3                  ; @lua_softc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"executing line..."

	.comm	_command_errmsg,8,3             ; @command_errmsg
l_.str.1:                               ; @.str.1
	.asciz	"cli_execute"

	.comm	_CMD_ERROR,4,2                  ; @CMD_ERROR
l_.str.4:                               ; @.str.4
	.asciz	"Failed to parse '%s'\n"

	.comm	_CMD_OK,4,2                     ; @CMD_OK
l_str:                                  ; @str
	.asciz	"Command failed"

.subsections_via_symbols
