	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function searcher_Croot
_searcher_Croot:                        ## @searcher_Croot
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$1, %r14d
	movl	$1, %esi
	callq	_luaL_checkstring
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	$46, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	subl	%r15d, %eax
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_lua_pushlstring
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_lua_tostring
	movq	_LUA_CSUBSEP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_findfile
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r15, %rdx
	callq	_loadfunc
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movq	_ERRFUNC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_lua_pushfstring
	jmp	LBB0_7
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_lua_pushstring
	movl	$2, %r14d
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_checkload                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cpath"

	.comm	_LUA_CSUBSEP,4,2                ## @LUA_CSUBSEP
	.comm	_ERRFUNC,4,2                    ## @ERRFUNC
L_.str.1:                               ## @.str.1
	.asciz	"\n\tno module '%s' in file '%s'"

	.no_dead_strip	_searcher_Croot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function searcher_Croot
_searcher_Croot:                        ; @searcher_Croot
	.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	x19, x0
	mov	w1, #1
	bl	_luaL_checkstring
	mov	x20, x0
	mov	w1, #46
	bl	_strchr
	cbz	x0, LBB0_7
; %bb.1:
	sub	w2, w0, w20
	mov	x0, x19
	mov	x1, x20
	bl	_lua_pushlstring
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_tostring
	mov	x1, x0
Lloh0:
	adrp	x8, _LUA_CSUBSEP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LUA_CSUBSEP@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_findfile
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_loadfunc
	cbz	w0, LBB0_6
; %bb.3:
Lloh5:
	adrp	x8, _ERRFUNC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERRFUNC@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.4:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	bl	_lua_pushfstring
LBB0_5:
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	bl	_lua_pushstring
	mov	w0, #2
LBB0_7:
	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
LBB0_8:
	mov	x0, x19
	mov	w1, #0
	mov	x2, x21
	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	_checkload
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cpath"

	.comm	_LUA_CSUBSEP,4,2                ; @LUA_CSUBSEP
	.comm	_ERRFUNC,4,2                    ; @ERRFUNC
l_.str.1:                               ; @.str.1
	.asciz	"\n\tno module '%s' in file '%s'"

	.no_dead_strip	_searcher_Croot
.subsections_via_symbols
