	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function luaL_findtable
_luaL_findtable:                        ## @luaL_findtable
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r12
	movq	%rdi, %r15
	callq	_lua_pushvalue
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_lua_createtable
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_lua_pushlstring
	movq	%r15, %rdi
	movl	$-2, %esi
	callq	_lua_pushvalue
	movq	%r15, %rdi
	movl	$-4, %esi
	callq	_lua_settable
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movl	$-2, %esi
	callq	_lua_remove
	leaq	1(%r13), %r12
	cmpb	$46, (%r13)
	jne	LBB0_8
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$46, %esi
	callq	_strchr
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_strlen
	movslq	%eax, %r13
	addq	%r12, %r13
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r13d, %ebx
	subl	%r12d, %ebx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_lua_pushlstring
	movq	%r15, %rdi
	movl	$-2, %esi
	callq	_lua_rawget
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_lua_isnil
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %r14d
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_lua_pop
	cmpb	$46, (%r13)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_lua_istable
	testl	%eax, %eax
	jne	LBB0_7
## %bb.10:
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_lua_pop
	jmp	LBB0_11
LBB0_8:
	xorl	%r12d, %r12d
LBB0_11:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_luaL_findtable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function luaL_findtable
_luaL_findtable:                        ; @luaL_findtable
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x0
	bl	_lua_pushvalue
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	w1, #1
	bl	_lua_pop
	ldrb	w8, [x22]
	cmp	w8, #46
	csinc	w2, w20, wzr, ne
	mov	x0, x19
	mov	w1, #0
	bl	_lua_createtable
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_lua_pushlstring
	mov	x0, x19
	mov	w1, #-2
	bl	_lua_pushvalue
	mov	x0, x19
	mov	w1, #-4
	bl	_lua_settable
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	w1, #-2
	bl	_lua_remove
	ldrb	w8, [x22], #1
	mov	x21, x22
	cmp	w8, #46
	b.ne	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	w1, #46
	bl	_strchr
	mov	x22, x0
	cbnz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_strlen
	add	x22, x21, w0, sxtw
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w23, w22, w21
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_lua_pushlstring
	mov	x0, x19
	mov	w1, #-2
	bl	_lua_rawget
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_isnil
	cbnz	x0, LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_istable
	cbnz	w0, LBB0_2
; %bb.7:
	mov	x0, x19
	mov	w1, #2
	bl	_lua_pop
	b	LBB0_9
LBB0_8:
	mov	x21, #0
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_luaL_findtable
.subsections_via_symbols
