	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function runargs
_runargs:                               ## @runargs
	.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
	movl	$1, %eax
	cmpl	$2, %edx
	jl	LBB0_14
## %bb.1:
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %r12d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_dolibrary
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_LUA_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	cmpl	%r13d, %r12d
	jge	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r12d, %r14
	movq	(%rbx,%r14,8), %rax
	movzbl	1(%rax), %r15d
	xorl	%edi, %edi
	cmpb	$45, (%rax)
	sete	%dil
	callq	_lua_assert
	cmpb	$108, %r15b
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$101, %r15b
	jne	LBB0_12
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rax
	movq	(%rbx,%r14,8), %rbx
	cmpb	$0, 2(%rbx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$2, %rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%r14), %r12d
	movq	8(%rax,%r14,8), %rbx
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_lua_assert
	cmpb	$101, %r15b
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	leaq	L_.str(%rip), %rdx
	callq	_dostring
	jmp	LBB0_10
LBB0_13:
	movl	$1, %eax
	jmp	LBB0_14
LBB0_11:
	xorl	%eax, %eax
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"=(command line)"

	.comm	_LUA_OK,4,2                     ## @LUA_OK
	.no_dead_strip	_runargs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function runargs
_runargs:                               ; @runargs
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cmp	w2, #2
	b.lt	LBB0_11
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w25, #1
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
Lloh2:
	adrp	x24, _LUA_OK@GOTPAGE
Lloh3:
	ldr	x24, [x24, _LUA_OK@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_dolibrary
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_12
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w25, w25, #1
	cmp	w25, w19
	b.ge	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, w25, sxtw #3]
	ldrb	w26, [x8, #1]
	ldrb	w8, [x8]
	cmp	w8, #45
	cset	w0, eq
	bl	_lua_assert
	cmp	w26, #108
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w26, #101
	b.ne	LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x8, w25
	ldr	x23, [x20, x8, lsl #3]
	ldrb	w9, [x23, #2]!
	cbnz	w9, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x8, #1
	ldr	x23, [x20, x25, lsl #3]
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	x23, #0
	cset	w0, ne
	bl	_lua_assert
	mov	x0, x21
	mov	x1, x23
	cmp	w26, #101
	b.ne	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x2, x22
	bl	_dostring
	b	LBB0_3
LBB0_11:
	mov	w0, #1
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"=(command line)"

	.comm	_LUA_OK,4,2                     ; @LUA_OK
	.no_dead_strip	_runargs
.subsections_via_symbols
