	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_script
_handle_script:                         ## @handle_script
	.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	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	-8(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmovneq	%rcx, %rbx
LBB0_2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_luaL_loadfile
	movq	_LUA_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_pushargs
	movq	_LUA_MULTRET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_docall
LBB0_4:
	movq	%r14, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_report                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-"

L_.str.1:                               ## @.str.1
	.asciz	"--"

	.comm	_LUA_OK,4,2                     ## @LUA_OK
	.comm	_LUA_MULTRET,4,2                ## @LUA_MULTRET
	.no_dead_strip	_handle_script
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_script
_handle_script:                         ; @handle_script
	.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	x21, x1
	mov	x19, x0
	ldr	x20, [x1]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbnz	x0, LBB0_2
; %bb.1:
	ldur	x0, [x21, #-8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cmp	x0, #0
	csel	x20, x20, xzr, eq
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	bl	_luaL_loadfile
	mov	x1, x0
Lloh4:
	adrp	x8, _LUA_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LUA_OK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_pushargs
	mov	x1, x0
Lloh7:
	adrp	x8, _LUA_MULTRET@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LUA_MULTRET@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_docall
	mov	x1, x0
LBB0_4:
	mov	x0, 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	_report
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-"

l_.str.1:                               ; @.str.1
	.asciz	"--"

	.comm	_LUA_OK,4,2                     ; @LUA_OK
	.comm	_LUA_MULTRET,4,2                ; @LUA_MULTRET
	.no_dead_strip	_handle_script
.subsections_via_symbols
