	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_container_track_allocate_extradata ## -- Begin function vc_container_track_allocate_extradata
	.p2align	4, 0x90
_vc_container_track_allocate_extradata: ## @vc_container_track_allocate_extradata
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	callq	_VC_CONTAINER_PARAM_UNUSED
	cmpl	$102400, %ebx                   ## imm = 0x19000
	jbe	LBB0_2
## %bb.1:
	movq	_VC_CONTAINER_ERROR_UNSUPPORTED_OPERATION@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	movq	(%r14), %rax
	cmpl	%ebx, (%rax)
	jae	LBB0_3
## %bb.4:
	movl	$0, (%rax)
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_free
LBB0_6:
	movl	%ebx, %edi
	callq	_malloc
	movq	(%r14), %rdx
	movq	%rax, 8(%rdx)
	movq	8(%r14), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movl	%ebx, (%rdx)
	jmp	LBB0_9
LBB0_3:
	movq	8(%rax), %rax
	movq	8(%r14), %rcx
LBB0_9:
	movq	%rax, (%rcx)
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_7:
	movq	_VC_CONTAINER_ERROR_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_ERROR_UNSUPPORTED_OPERATION,4,2 ## @VC_CONTAINER_ERROR_UNSUPPORTED_OPERATION
	.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_track_allocate_extradata ; -- Begin function vc_container_track_allocate_extradata
	.p2align	2
_vc_container_track_allocate_extradata: ; @vc_container_track_allocate_extradata
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	bl	_VC_CONTAINER_PARAM_UNUSED
	cmp	w19, #25, lsl #12               ; =102400
	b.ls	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _VC_CONTAINER_ERROR_UNSUPPORTED_OPERATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_UNSUPPORTED_OPERATION@GOTPAGEOFF]
	b	LBB0_10
LBB0_2:
	ldr	x8, [x20]
	ldr	w9, [x8]
	cmp	w9, w19
	b.hs	LBB0_7
; %bb.3:
	str	wzr, [x8]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_free
LBB0_5:
	mov	x0, x19
	bl	_malloc
	ldp	x9, x8, [x20]
	str	x0, [x9, #8]
	str	x0, [x8]
	cbz	x0, LBB0_9
; %bb.6:
	str	w19, [x9]
	b	LBB0_8
LBB0_7:
	ldr	x0, [x8, #8]
	ldr	x8, [x20, #8]
LBB0_8:
	str	x0, [x8]
Lloh2:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh4:
	adrp	x8, _VC_CONTAINER_ERROR_OUT_OF_MEMORY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_OUT_OF_MEMORY@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_ERROR_UNSUPPORTED_OPERATION,4,2 ; @VC_CONTAINER_ERROR_UNSUPPORTED_OPERATION
	.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
