	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ll_require
_ll_require:                            ## @ll_require
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$1, %esi
	callq	_luaL_checkstring
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_lua_settop
	movq	_LUA_REGISTRYINDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LUA_LOADED_TABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rbx, %rdi
	callq	_lua_getfield
	movq	%rbx, %rdi
	movl	$2, %esi
	movq	%r14, %rdx
	callq	_lua_getfield
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_lua_toboolean
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_lua_pop
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_findloader
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_lua_pushstring
	movq	%rbx, %rdi
	movl	$-2, %esi
	callq	_lua_insert
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	$1, %edx
	callq	_lua_call
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_lua_isnil
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movl	$2, %esi
	movq	%r14, %rdx
	callq	_lua_setfield
LBB0_3:
	movq	%rbx, %rdi
	movl	$2, %esi
	movq	%r14, %rdx
	callq	_lua_getfield
	movq	_LUA_TNIL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_lua_pushboolean
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_lua_pushvalue
	movq	%rbx, %rdi
	movl	$2, %esi
	movq	%r14, %rdx
	callq	_lua_setfield
LBB0_5:
	movl	$1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LUA_REGISTRYINDEX,4,2          ## @LUA_REGISTRYINDEX
	.comm	_LUA_LOADED_TABLE,8,3           ## @LUA_LOADED_TABLE
	.comm	_LUA_TNIL,8,3                   ## @LUA_TNIL
	.no_dead_strip	_ll_require
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ll_require
_ll_require:                            ; @ll_require
	.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
	mov	w1, #1
	bl	_luaL_checkstring
	mov	x20, x0
	mov	x0, x19
	mov	w1, #1
	bl	_lua_settop
Lloh0:
	adrp	x8, _LUA_REGISTRYINDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LUA_REGISTRYINDEX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _LUA_LOADED_TABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LUA_LOADED_TABLE@GOTPAGEOFF]
Lloh5:
	ldr	x2, [x8]
	mov	x0, x19
	bl	_lua_getfield
	mov	x0, x19
	mov	w1, #2
	mov	x2, x20
	bl	_lua_getfield
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_toboolean
	cbnz	x0, LBB0_5
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_lua_pop
	mov	x0, x19
	mov	x1, x20
	bl	_findloader
	mov	x0, x19
	mov	x1, x20
	bl	_lua_pushstring
	mov	x0, x19
	mov	w1, #-2
	bl	_lua_insert
	mov	x0, x19
	mov	w1, #2
	mov	w2, #1
	bl	_lua_call
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_isnil
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #2
	mov	x2, x20
	bl	_lua_setfield
LBB0_3:
	mov	x0, x19
	mov	w1, #2
	mov	x2, x20
	bl	_lua_getfield
Lloh6:
	adrp	x8, _LUA_TNIL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LUA_TNIL@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	mov	w1, #1
	bl	_lua_pushboolean
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_pushvalue
	mov	x0, x19
	mov	w1, #2
	mov	x2, x20
	bl	_lua_setfield
LBB0_5:
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LUA_REGISTRYINDEX,4,2          ; @LUA_REGISTRYINDEX
	.comm	_LUA_LOADED_TABLE,8,3           ; @LUA_LOADED_TABLE
	.comm	_LUA_TNIL,8,3                   ; @LUA_TNIL
	.no_dead_strip	_ll_require
.subsections_via_symbols
