	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function traversetable
_traversetable:                         ## @traversetable
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	24(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_markobject
	movq	24(%r15), %rsi
	jmp	LBB0_3
LBB0_2:
	xorl	%esi, %esi
LBB0_3:
	movq	_TM_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_gfasttm
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ttisstring
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	movq	%rbx, %rdi
	callq	_svalue
	movl	%eax, %edi
	movl	$107, %esi
	callq	_strchr
	movq	%rax, %r12
	testq	%rax, %rax
	setne	%al
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_svalue
	movl	%eax, %edi
	movl	$118, %esi
	callq	_strchr
	movq	%rax, %rbx
	movq	%r12, %rax
	orq	%rbx, %rax
	je	LBB0_7
## %bb.6:
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	xorl	%eax, %eax
	testq	%r12, %r12
	setne	%al
	movq	_KEYWEAK@GOTPCREL(%rip), %rcx
	movq	_VALUEWEAK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%edx, (%r15)
	movq	_KEYWEAKBIT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_VALUEWEAKBIT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	orl	%eax, %edi
	callq	_cast_byte
	orl	%eax, (%r15)
	movl	(%r14), %eax
	movl	%eax, 16(%r15)
	movq	%r15, %rdi
	callq	_obj2gco
	movl	%eax, (%r14)
LBB0_7:
	testq	%r12, %r12
	je	LBB0_9
## %bb.8:
	movl	$1, %eax
	testq	%rbx, %rbx
	jne	LBB0_28
LBB0_9:
	movb	$1, %al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testq	%rbx, %rbx
	jne	LBB0_16
	jmp	LBB0_12
LBB0_11:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_12:
	movslq	4(%r15), %r12
	testq	%r12, %r12
	je	LBB0_15
## %bb.13:
	leaq	-4(,%r12,4), %rbx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_markvalue
	addq	$-4, %rbx
	decl	%r12d
	jne	LBB0_14
LBB0_15:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_16:
	movq	%r15, %rdi
	callq	_sizenode
	testl	%eax, %eax
	je	LBB0_27
## %bb.17:
	movl	%eax, %ebx
	decl	%ebx
	movq	_LUA_TDEADKEY@GOTPCREL(%rip), %r13
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_21 Depth=1
	movzbl	%cl, %edi
	callq	_lua_assert
	movq	%r12, %rdi
	callq	_gval
	movq	%rax, %rdi
	callq	_ttisnil
	testq	%rax, %rax
	je	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r12, %rdi
	callq	_removeentry
LBB0_20:                                ##   in Loop: Header=BB0_21 Depth=1
	addl	$-1, %ebx
	jae	LBB0_27
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_gnode
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_gkey
	movq	%rax, %rdi
	callq	_ttype
	movb	$1, %cl
	cmpq	(%r13), %rax
	jne	LBB0_18
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r12, %rdi
	callq	_gval
	movq	%rax, %rdi
	callq	_ttisnil
	testq	%rax, %rax
	setne	%cl
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r12, %rdi
	callq	_gkey
	movq	%rax, %rdi
	callq	_ttisnil
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_lua_assert
	cmpb	$0, -48(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_20
	jmp	LBB0_26
LBB0_25:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r12, %rdi
	callq	_gkey
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_markvalue
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_20
LBB0_26:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r12, %rdi
	callq	_gval
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_markvalue
	jmp	LBB0_20
LBB0_27:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	orb	-44(%rbp), %al                  ## 1-byte Folded Reload
	movzbl	%al, %eax
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TM_MODE,4,2                    ## @TM_MODE
	.comm	_KEYWEAK,4,2                    ## @KEYWEAK
	.comm	_VALUEWEAK,4,2                  ## @VALUEWEAK
	.comm	_KEYWEAKBIT,4,2                 ## @KEYWEAKBIT
	.comm	_VALUEWEAKBIT,4,2               ## @VALUEWEAKBIT
	.comm	_LUA_TDEADKEY,8,3               ## @LUA_TDEADKEY
	.no_dead_strip	_traversetable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function traversetable
_traversetable:                         ; @traversetable
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	ldr	x1, [x1, #24]
	cbz	x1, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_markobject
	ldr	x1, [x19, #24]
LBB0_2:
Lloh0:
	adrp	x8, _TM_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TM_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_gfasttm
	cbz	x0, LBB0_9
; %bb.3:
	mov	x22, x0
	bl	_ttisstring
	cbz	x0, LBB0_9
; %bb.4:
	mov	x0, x22
	bl	_svalue
	mov	w1, #107
	bl	_strchr
	mov	x21, x0
	mov	x0, x22
	bl	_svalue
	mov	w1, #118
	bl	_strchr
	mov	x22, x0
	cmp	x21, #0
	cset	w23, ne
	orr	x8, x21, x0
	cbz	x8, LBB0_6
; %bb.5:
	cmp	x22, #0
	cset	w8, ne
	cmp	x21, #0
Lloh3:
	adrp	x9, _KEYWEAK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _KEYWEAK@GOTPAGEOFF]
	cset	w10, ne
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x11, _VALUEWEAK@GOTPAGE
Lloh7:
	ldr	x11, [x11, _VALUEWEAK@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	orr	w9, w11, w9
	ldr	w11, [x19]
	bic	w9, w11, w9
	str	w9, [x19]
Lloh9:
	adrp	x9, _KEYWEAKBIT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _KEYWEAKBIT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	lsl	w9, w10, w9
Lloh12:
	adrp	x10, _VALUEWEAKBIT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _VALUEWEAKBIT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w0, w8, w9
	bl	_cast_byte
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
	ldr	w8, [x20]
	str	w8, [x19, #16]
	mov	x0, x19
	bl	_obj2gco
	str	w0, [x20]
LBB0_6:
	cmp	x21, #0
	ccmp	x22, #0, #4, ne
	b.ne	LBB0_28
; %bb.7:
	cbz	x22, LBB0_10
; %bb.8:
	mov	w24, #1
	b	LBB0_14
LBB0_9:
	mov	w23, #0
LBB0_10:
	ldr	w21, [x19, #4]
	cbz	w21, LBB0_13
; %bb.11:
	sxtw	x8, w21
	lsl	x8, x8, #2
	sub	x22, x8, #4
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x1, x8, x22
	mov	x0, x20
	bl	_markvalue
	sub	x22, x22, #4
	sub	w21, w21, #1
	cbnz	w21, LBB0_12
LBB0_13:
	mov	w24, #0
LBB0_14:
	mov	x0, x19
	bl	_sizenode
	cbz	w0, LBB0_26
; %bb.15:
	sub	w21, w0, #1
Lloh15:
	adrp	x25, _LUA_TDEADKEY@GOTPAGE
Lloh16:
	ldr	x25, [x25, _LUA_TDEADKEY@GOTPAGEOFF]
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x22
	bl	_removeentry
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	sub	w21, w21, #1
	cmn	w21, #1
	b.eq	LBB0_26
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_gnode
	mov	x22, x0
	bl	_gkey
	bl	_ttype
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x22
	bl	_gval
	bl	_ttisnil
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	w0, #1
LBB0_21:                                ;   in Loop: Header=BB0_18 Depth=1
	bl	_lua_assert
	mov	x0, x22
	bl	_gval
	bl	_ttisnil
	cbnz	x0, LBB0_16
; %bb.22:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x22
	bl	_gkey
	bl	_ttisnil
	cmp	x0, #0
	cset	w0, eq
	bl	_lua_assert
	tbnz	w23, #0, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x22
	bl	_gkey
	mov	x1, x0
	mov	x0, x20
	bl	_markvalue
LBB0_24:                                ;   in Loop: Header=BB0_18 Depth=1
	tbnz	w24, #0, LBB0_17
; %bb.25:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x22
	bl	_gval
	mov	x1, x0
	mov	x0, x20
	bl	_markvalue
	b	LBB0_17
LBB0_26:
	orr	w0, w23, w24
LBB0_27:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_28:
	mov	w0, #1
	b	LBB0_27
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_TM_MODE,4,2                    ; @TM_MODE
	.comm	_KEYWEAK,4,2                    ; @KEYWEAK
	.comm	_VALUEWEAK,4,2                  ; @VALUEWEAK
	.comm	_KEYWEAKBIT,4,2                 ; @KEYWEAKBIT
	.comm	_VALUEWEAKBIT,4,2               ; @VALUEWEAKBIT
	.comm	_LUA_TDEADKEY,8,3               ; @LUA_TDEADKEY
	.no_dead_strip	_traversetable
.subsections_via_symbols
