	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_htbl_vct_init_mem              ## -- Begin function htbl_vct_init_mem
	.p2align	4, 0x90
_htbl_vct_init_mem:                     ## @htbl_vct_init_mem
	.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
	movl	%edi, %r14d
	movq	_htbl_vct_free_entries@GOTPCREL(%rip), %r12
	xorl	%edi, %edi
	cmpq	$0, (%r12)
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	testl	%r14d, %r14d
	setg	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_dl_get_memory_used
	movq	_htbl_vct_memory@GOTPCREL(%rip), %r15
	subl	%eax, (%r15)
	leal	(,%r14,4), %edi
	callq	_dl_malloc
	movq	%rax, (%r12)
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_dl_get_memory_used
	addl	%eax, (%r15)
	movq	_htbl_vct_allocated_cnt@GOTPCREL(%rip), %rax
	addl	%r14d, (%rax)
	leal	-1(%r14), %r8d
	cmpl	$2, %r14d
	jl	LBB0_9
## %bb.1:
	movl	%r8d, %esi
	leaq	-1(%rsi), %rdx
	movl	%esi, %ecx
	andl	$3, %ecx
	cmpq	$3, %rdx
	jae	LBB0_3
## %bb.2:
	movl	$1, %esi
	xorl	%edx, %edx
	testq	%rcx, %rcx
	jne	LBB0_7
	jmp	LBB0_9
LBB0_3:
	andl	$-4, %esi
	xorl	%edi, %edi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	leaq	(%rax,%rdi), %rbx
	addq	$8, %rbx
	movq	%rbx, (%rax,%rdi)
	movq	(%r12), %rax
	leaq	16(%rax,%rdi), %rbx
	movq	%rbx, 8(%rax,%rdi)
	movq	(%r12), %rax
	leaq	(%rax,%rdi), %rbx
	addq	$24, %rbx
	movq	%rbx, 16(%rax,%rdi)
	addq	$4, %rdx
	movq	(%r12), %rax
	leaq	(%rax,%rdi), %rbx
	addq	$32, %rbx
	movq	%rbx, 24(%rax,%rdi)
	addq	$32, %rdi
	cmpq	%rdx, %rsi
	jne	LBB0_4
## %bb.5:
	leaq	1(%rdx), %rsi
	testq	%rcx, %rcx
	je	LBB0_9
LBB0_7:
	shlq	$3, %rsi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	leaq	(%rax,%rsi), %rdi
	movq	%rdi, (%rax,%rdx,8)
	incq	%rdx
	addq	$8, %rsi
	decq	%rcx
	jne	LBB0_8
LBB0_9:
	movq	(%r12), %rax
	movslq	%r8d, %rcx
	movq	$0, (%rax,%rcx,8)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_htbl_vct_free_entries,8,3      ## @htbl_vct_free_entries
	.comm	_htbl_vct_memory,4,2            ## @htbl_vct_memory
	.comm	_htbl_vct_allocated_cnt,4,2     ## @htbl_vct_allocated_cnt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_htbl_vct_init_mem              ; -- Begin function htbl_vct_init_mem
	.p2align	2
_htbl_vct_init_mem:                     ; @htbl_vct_init_mem
	.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
Lloh0:
	adrp	x20, _htbl_vct_free_entries@GOTPAGE
Lloh1:
	ldr	x20, [x20, _htbl_vct_free_entries@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	cmp	w19, #0
	cset	w0, gt
	bl	_assert
	bl	_dl_get_memory_used
Lloh2:
	adrp	x21, _htbl_vct_memory@GOTPAGE
Lloh3:
	ldr	x21, [x21, _htbl_vct_memory@GOTPAGEOFF]
	ldr	w8, [x21]
	sub	w8, w8, w0
	str	w8, [x21]
	lsl	w0, w19, #2
	bl	_dl_malloc
	str	x0, [x20]
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	bl	_dl_get_memory_used
	ldr	w8, [x21]
	add	w8, w8, w0
	str	w8, [x21]
Lloh4:
	adrp	x8, _htbl_vct_allocated_cnt@GOTPAGE
Lloh5:
	ldr	x8, [x8, _htbl_vct_allocated_cnt@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, w19
	str	w9, [x8]
	sxtw	x8, w19
	sub	x8, x8, #1
	cmp	w19, #2
	b.lt	LBB0_3
; %bb.1:
	mov	x9, #0
	mov	w10, w8
	lsl	x10, x10, #3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x20]
	add	x11, x11, x9
	add	x12, x11, #8
	str	x12, [x11]
	add	x9, x9, #8
	cmp	x10, x9
	b.ne	LBB0_2
LBB0_3:
	ldr	x9, [x20]
	str	xzr, [x9, x8, lsl #3]
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_htbl_vct_free_entries,8,3      ; @htbl_vct_free_entries
	.comm	_htbl_vct_memory,4,2            ; @htbl_vct_memory
	.comm	_htbl_vct_allocated_cnt,4,2     ; @htbl_vct_allocated_cnt
.subsections_via_symbols
