	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RebuildTable
_RebuildTable:                          ## @RebuildTable
	.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	%rdi, %r12
	movq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %r15d
	leal	(%r15,%r15), %r13d
	movl	%r13d, (%rdi)
	movslq	%r13d, %rbx
	leaq	-1(%rbx), %r14
	movl	%r14d, 4(%rdi)
	movl	%r15d, %edi
	shll	$4, %edi
	callq	_bmake_malloc
	movq	%rax, 8(%r12)
	testl	%ebx, %ebx
	jle	LBB0_2
## %bb.1:
	movl	%r13d, %esi
	shlq	$3, %rsi
	movq	%rax, %rdi
	callq	___bzero
LBB0_2:
	testl	%r15d, %r15d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jle	LBB0_7
## %bb.3:
	movq	%rdi, %r8
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	leal	-1(%r15), %ecx
	addq	$8, %r8
	cmpl	$2, %r15d
	movl	%ecx, %r15d
	jl	LBB0_7
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	(%r8), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rcx), %rdx
	movq	8(%r12), %rsi
	movslq	(%rcx), %rbx
	andq	%r14, %rbx
	movq	(%rsi,%rbx,8), %rax
	movq	%rax, 8(%rcx)
	movq	%rcx, (%rsi,%rbx,8)
	movq	%rdx, %rcx
	testq	%rdx, %rdx
	jne	LBB0_6
	jmp	LBB0_4
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_RebuildTable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RebuildTable
_RebuildTable:                          ; @RebuildTable
	.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, x0
	ldr	x19, [x0, #8]
	ldr	w21, [x0]
	lsl	w23, w21, #1
	subs	w8, w23, #1
	stp	w23, w8, [x0]
	lsl	w0, w21, #4
	bl	_bmake_malloc
	str	x0, [x20, #8]
	subs	w22, w23, #1
	b.lt	LBB0_2
; %bb.1:
	lsl	x1, x23, #3
	bl	_bzero
LBB0_2:
	cmp	w21, #1
	b.lt	LBB0_7
; %bb.3:
	mov	x8, x19
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w21, #2
	mov	x21, x9
	b.lt	LBB0_7
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	sub	w9, w21, #1
	ldr	x10, [x8], #8
	cbz	x10, LBB0_4
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x10, #8]
	ldr	x12, [x20, #8]
	ldr	w13, [x10]
	and	w13, w13, w22
	sbfiz	x13, x13, #3, #32
	ldr	x14, [x12, x13]
	str	x14, [x10, #8]
	str	x10, [x12, x13]
	mov	x10, x11
	cbnz	x11, LBB0_6
	b	LBB0_4
LBB0_7:
	mov	x0, x19
	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
	b	_free
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_RebuildTable
.subsections_via_symbols
