	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_container_index_get         ## -- Begin function vc_container_index_get
	.p2align	4, 0x90
_vc_container_index_get:                ## @vc_container_index_get
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	_VC_CONTAINER_ERROR_FAILED@GOTPCREL(%rip), %rdx
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movl	(%rdi), %r9d
	testl	%r9d, %r9d
	je	LBB0_15
## %bb.2:
	leal	-1(%r9), %ebx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rdx
	xorl	%eax, %eax
	cmpq	8(%rdi), %rdx
	setg	%al
	movl	%eax, (%r8)
	xorl	%r13d, %r13d
	cmpl	$3, %r9d
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	jl	LBB0_3
## %bb.4:
	xorl	%r12d, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %r13d
	movl	%r14d, %ebx
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %eax
	subl	%r13d, %eax
	movl	%r13d, %r12d
	cmpl	$1, %eax
	jle	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r15
	leal	(%rbx,%r12), %r14d
	sarl	%r14d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	16(%rdi), %rbx
	movl	%r14d, %esi
	callq	_ENTRY
	shlq	$4, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rdx
	cmpq	(%rbx,%rax), %rdx
	jl	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r14d, %r13d
	movq	%r15, %rbx
	jg	LBB0_7
## %bb.9:
	movl	%r12d, %r13d
	jmp	LBB0_10
LBB0_3:
	xorl	%r14d, %r14d
LBB0_10:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %r12
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%rdx, %r15
	callq	_ENTRY
	shlq	$4, %rax
	cmpq	(%r12,%rax), %r15
	je	LBB0_14
## %bb.11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	movq	16(%rbx), %r15
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_ENTRY
	shlq	$4, %rax
	cmpq	(%r15,%rax), %r14
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmovlel	%r13d, %eax
	movl	%eax, %r14d
	jmp	LBB0_14
LBB0_13:
	movq	%rbx, %rdi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_ENTRY
	shlq	$4, %rax
	cmpq	(%r15,%rax), %r14
	cmovgel	%r12d, %r13d
	movl	%r13d, %r14d
LBB0_14:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_ENTRY
	movq	16(%rbx), %rcx
	cltq
	shlq	$4, %rax
	movq	(%rcx,%rax), %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rdx, (%rsi)
	movq	8(%rcx,%rax), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rdx
LBB0_15:
	movl	(%rdx), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_ERROR_FAILED,4,2  ## @VC_CONTAINER_ERROR_FAILED
	.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_get         ; -- Begin function vc_container_index_get
	.p2align	2
_vc_container_index_get:                ; @vc_container_index_get
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_9
; %bb.1:
	mov	x21, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_9
; %bb.2:
	mov	x19, x3
	mov	x20, x2
	mov	x23, x1
	sub	w22, w8, #1
	ldr	x26, [x2]
	ldr	x9, [x21, #8]
	cmp	x26, x9
	cset	w9, gt
	str	w9, [x4]
	cmp	w8, #3
	b.lt	LBB0_10
; %bb.3:
	mov	w27, #0
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x27
	mov	x22, x24
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w22, w25
	mov	x27, x25
	cmp	w8, #1
	b.le	LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w22, w27
	asr	w24, w8, #1
	ldr	x25, [x21, #16]
	mov	x0, x21
	mov	x1, x24
	bl	_ENTRY
	lsl	x8, x0, #4
	ldr	x8, [x25, x8]
	ldr	x26, [x20]
	cmp	x26, x8
	b.lt	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x24
	b.gt	LBB0_5
; %bb.8:
	mov	x25, x27
	b	LBB0_11
LBB0_9:
Lloh0:
	adrp	x8, _VC_CONTAINER_ERROR_FAILED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_FAILED@GOTPAGEOFF]
	b	LBB0_16
LBB0_10:
	mov	w25, #0
	mov	w24, #0
LBB0_11:
	ldr	x27, [x21, #16]
	mov	x0, x21
	mov	x1, x24
	bl	_ENTRY
	lsl	x8, x0, #4
	ldr	x8, [x27, x8]
	cmp	x26, x8
	b.eq	LBB0_15
; %bb.12:
	ldr	x24, [x20]
	ldr	x26, [x21, #16]
	mov	x0, x21
	cbz	w23, LBB0_14
; %bb.13:
	mov	x1, x25
	bl	_ENTRY
	lsl	x8, x0, #4
	ldr	x8, [x26, x8]
	cmp	x24, x8
	csel	w24, w22, w25, gt
	b	LBB0_15
LBB0_14:
	mov	x1, x22
	bl	_ENTRY
	lsl	x8, x0, #4
	ldr	x8, [x26, x8]
	cmp	x24, x8
	csel	w24, w25, w22, lt
LBB0_15:
	mov	x0, x21
	mov	x1, x24
	bl	_ENTRY
	ldr	x8, [x21, #16]
	lsl	x9, x0, #32
	add	x8, x8, x9, asr #28
	ldr	x9, [x8]
	str	x9, [x20]
	ldr	x8, [x8, #8]
	str	x8, [x19]
Lloh2:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_ERROR_FAILED,4,2  ; @VC_CONTAINER_ERROR_FAILED
	.comm	_VC_CONTAINER_SUCCESS,4,2       ; @VC_CONTAINER_SUCCESS
.subsections_via_symbols
