	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaopen_lpeg                   ## -- Begin function luaopen_lpeg
	.p2align	4, 0x90
_luaopen_lpeg:                          ## @luaopen_lpeg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_lua_newtable
	movq	_LUA_ENVIRONINDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_lua_replace
	movq	_PATTERN_T@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_luaL_newmetatable
	movq	_metapattreg@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_luaL_register
	movq	_pattreg@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_luaL_register
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_lua_pushliteral
	movq	%rbx, %rdi
	movl	$-2, %esi
	callq	_lua_pushvalue
	movq	%rbx, %rdi
	movl	$-4, %esi
	callq	_lua_settable
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LUA_ENVIRONINDEX,4,2           ## @LUA_ENVIRONINDEX
	.comm	_PATTERN_T,4,2                  ## @PATTERN_T
	.comm	_metapattreg,4,2                ## @metapattreg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lpeg"

	.comm	_pattreg,4,2                    ## @pattreg
L_.str.1:                               ## @.str.1
	.asciz	"__index"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaopen_lpeg                   ; -- Begin function luaopen_lpeg
	.p2align	2
_luaopen_lpeg:                          ; @luaopen_lpeg
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_lua_newtable
Lloh0:
	adrp	x8, _LUA_ENVIRONINDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LUA_ENVIRONINDEX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_lua_replace
Lloh3:
	adrp	x8, _PATTERN_T@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATTERN_T@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_luaL_newmetatable
Lloh6:
	adrp	x8, _metapattreg@GOTPAGE
Lloh7:
	ldr	x8, [x8, _metapattreg@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, #0
	bl	_luaL_register
Lloh9:
	adrp	x8, _pattreg@GOTPAGE
Lloh10:
	ldr	x8, [x8, _pattreg@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_luaL_register
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_lua_pushliteral
	mov	x0, x19
	mov	w1, #-2
	bl	_lua_pushvalue
	mov	x0, x19
	mov	w1, #-4
	bl	_lua_settable
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LUA_ENVIRONINDEX,4,2           ; @LUA_ENVIRONINDEX
	.comm	_PATTERN_T,4,2                  ; @PATTERN_T
	.comm	_metapattreg,4,2                ; @metapattreg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lpeg"

	.comm	_pattreg,4,2                    ; @pattreg
l_.str.1:                               ; @.str.1
	.asciz	"__index"

.subsections_via_symbols
