	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function f_luaopen
_f_luaopen:                             ## @f_luaopen
	.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, %rbx
	callq	_G
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_UNUSED
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_stack_init
	movq	%rbx, %rdi
	callq	_gt
	movl	%eax, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$2, %edx
	callq	_luaH_new
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_sethvalue
	movq	%rbx, %rdi
	callq	_registry
	movl	%eax, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$2, %edx
	callq	_luaH_new
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_sethvalue
	movq	_MINSTRTABSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_luaS_resize
	movq	%rbx, %rdi
	callq	_luaT_init
	movq	%rbx, %rdi
	callq	_luaX_init
	movq	_MEMERRMSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_luaS_newliteral
	movl	%eax, %edi
	callq	_luaS_fix
	movl	4(%r14), %eax
	shll	$2, %eax
	movl	%eax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MINSTRTABSIZE,4,2              ## @MINSTRTABSIZE
	.comm	_MEMERRMSG,4,2                  ## @MEMERRMSG
	.no_dead_strip	_f_luaopen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function f_luaopen
_f_luaopen:                             ; @f_luaopen
	.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	x20, x0
	bl	_G
	mov	x19, x0
	mov	x0, x21
	bl	_UNUSED
	mov	x0, x20
	mov	x1, x20
	bl	_stack_init
	mov	x0, x20
	bl	_gt
	mov	x21, x0
	mov	x0, x20
	mov	w1, #0
	mov	w2, #2
	bl	_luaH_new
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_sethvalue
	mov	x0, x20
	bl	_registry
	mov	x21, x0
	mov	x0, x20
	mov	w1, #0
	mov	w2, #2
	bl	_luaH_new
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_sethvalue
Lloh0:
	adrp	x8, _MINSTRTABSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MINSTRTABSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_luaS_resize
	mov	x0, x20
	bl	_luaT_init
	mov	x0, x20
	bl	_luaX_init
Lloh3:
	adrp	x8, _MEMERRMSG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MEMERRMSG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_luaS_newliteral
	bl	_luaS_fix
	ldr	w8, [x19, #4]
	lsl	w8, w8, #2
	str	w8, [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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MINSTRTABSIZE,4,2              ; @MINSTRTABSIZE
	.comm	_MEMERRMSG,4,2                  ; @MEMERRMSG
	.no_dead_strip	_f_luaopen
.subsections_via_symbols
