	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cleartable
_cleartable:                            ## @cleartable
	.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
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r14), %rdi
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	callq	_gco2h
	movq	%rax, %r14
	movl	(%rax), %r15d
	movl	24(%rax), %edi
	movl	$4, %esi
	callq	_testbit
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	%r15d, %rax
	leaq	-4(,%rax,4), %rbx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	addq	$-4, %rbx
	decl	%r15d
	je	LBB0_8
LBB0_5:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r14), %r12
	addq	%rbx, %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_iscleared
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	%r12, %rdi
	callq	_setnilvalue
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_sizenode
	testl	%eax, %eax
	je	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %ebx
	decl	%ebx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	%r15, %rdi
	callq	_gval
	movq	%rax, %rdi
	callq	_setnilvalue
	movq	%r15, %rdi
	callq	_removeentry
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=2
	addl	$-1, %ebx
	jae	LBB0_15
LBB0_10:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_gnode
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_gval
	movq	%rax, %rdi
	callq	_ttisnil
	testl	%eax, %eax
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	%r15, %rdi
	callq	_key2tval
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_iscleared
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	%r15, %rdi
	callq	_gval
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_iscleared
	testq	%rax, %rax
	jne	LBB0_13
	jmp	LBB0_14
LBB0_16:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cleartable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cleartable
_cleartable:                            ; @cleartable
	.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
	cbnz	x0, LBB0_3
LBB0_1:
	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_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_1
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_8 Depth 2
	bl	_gco2h
	mov	x19, x0
	ldr	w21, [x0]
	ldr	w0, [x0, #24]
	mov	w1, #4
	bl	_testbit
	cmp	x0, #0
	ccmp	w21, #0, #4, ne
	b.ne	LBB0_11
LBB0_4:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_sizenode
	cbz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w20, w0, #1
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x21
	bl	_gval
	bl	_setnilvalue
	mov	x0, x21
	bl	_removeentry
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	sub	w20, w20, #1
	cmn	w20, #1
	b.eq	LBB0_2
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x20
	bl	_gnode
	mov	x21, x0
	bl	_gval
	bl	_ttisnil
	cbnz	w0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x21
	bl	_key2tval
	mov	w1, #1
	bl	_iscleared
	cbnz	x0, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x21
	bl	_gval
	mov	w1, #0
	bl	_iscleared
	cbnz	x0, LBB0_6
	b	LBB0_7
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x8, w21
	lsl	x8, x8, #2
	sub	x22, x8, #4
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	sub	x22, x22, #4
	subs	w21, w21, #1
	b.eq	LBB0_4
LBB0_13:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #16]
	add	x20, x8, x22
	mov	x0, x20
	mov	w1, #0
	bl	_iscleared
	cbz	x0, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x20
	bl	_setnilvalue
	b	LBB0_12
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cleartable
.subsections_via_symbols
