	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_container_index_create      ## -- Begin function vc_container_index_create
	.p2align	4, 0x90
_vc_container_index_create:             ## @vc_container_index_create
	.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
	movq	%rdi, %r14
	movq	_VC_CONTAINER_ERROR_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	cmpl	$17, %esi
	movl	$16, %ecx
	cmovgel	%esi, %ecx
	cmpl	$4096, %ecx                     ## imm = 0x1000
	movl	$4096, %eax                     ## imm = 0x1000
	cmovbl	%ecx, %eax
	xorl	%ebx, %ebx
	movl	%eax, %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	shrl	%ecx
	incq	%rbx
	cmpl	$3, %eax
	movl	%ecx, %eax
	ja	LBB0_1
## %bb.2:
	movl	$4, %edi
	movl	%ebx, %ecx
	shlq	%cl, %rdi
	addl	$8, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %r12
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	%ebx, 4(%r12)
	movl	%ebx, (%r12)
	movq	%r12, (%r14)
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_4:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_ERROR_OUT_OF_MEMORY,4,2 ## @VC_CONTAINER_ERROR_OUT_OF_MEMORY
	.comm	_VC_CONTAINER_SUCCESS,4,2       ## @VC_CONTAINER_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_container_index_create      ; -- Begin function vc_container_index_create
	.p2align	2
_vc_container_index_create:             ; @vc_container_index_create
	.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
	mov	x22, #0
Lloh0:
	adrp	x8, _VC_CONTAINER_ERROR_OUT_OF_MEMORY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	w8, #16
	cmp	w1, #16
	csel	w8, w1, w8, gt
	mov	w9, #4096
	cmp	w8, #1, lsl #12                 ; =4096
	csel	w8, w8, w9, lo
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w9, w8, #1
	add	x22, x22, #1
	cmp	w8, #3
	mov	x8, x9
	b.hi	LBB0_1
; %bb.2:
	mov	w8, #4
	lsl	x8, x8, x22
	add	w0, w8, #8
	bl	_malloc
	cbz	x0, LBB0_4
; %bb.3:
	mov	x21, x0
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	stp	w22, w22, [x21]
	str	x21, [x19]
Lloh3:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
LBB0_4:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_ERROR_OUT_OF_MEMORY,4,2 ; @VC_CONTAINER_ERROR_OUT_OF_MEMORY
	.comm	_VC_CONTAINER_SUCCESS,4,2       ; @VC_CONTAINER_SUCCESS
.subsections_via_symbols
