	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lua_parse
_lua_parse:                             ## @lua_parse
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	$1, %ebx
	movl	$1, %esi
	callq	_luaL_checkstring
	leaq	-20(%rbp), %rdi
	leaq	-32(%rbp), %rsi
	movl	%eax, %edx
	callq	_parse
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movq	%r14, %rdi
	callq	_lua_pushnil
	jmp	LBB0_7
LBB0_1:
	cmpl	$0, -20(%rbp)
	jle	LBB0_2
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-32(%rbp), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r14, %rdi
	callq	_lua_pushstring
	incq	%rbx
	movslq	-20(%rbp), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
	jmp	LBB0_5
LBB0_2:
	xorl	%ebx, %ebx
LBB0_5:
	movq	-32(%rbp), %rdi
	callq	_free
LBB0_7:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lua_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lua_parse
_lua_parse:                             ; @lua_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	mov	w1, #1
	bl	_luaL_checkstring
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, sp
	bl	_parse
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_lua_pushnil
	mov	w20, #1
	b	LBB0_7
LBB0_2:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x20, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp]
	ldr	x1, [x8, x20, lsl #3]
	mov	x0, x19
	bl	_lua_pushstring
	add	x20, x20, #1
	ldrsw	x8, [sp, #12]
	cmp	x20, x8
	b.lt	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	w20, #0
LBB0_6:
	ldr	x0, [sp]
	bl	_free
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lua_parse
.subsections_via_symbols
