	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_container_format_copy       ## -- Begin function vc_container_format_copy
	.p2align	4, 0x90
_vc_container_format_copy:              ## @vc_container_format_copy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rsi), %ecx
	movq	_VC_CONTAINER_ERROR_BUFFER_TOO_SMALL@GOTPCREL(%rip), %rbx
	cmpl	%edx, %ecx
	ja	LBB0_5
## %bb.1:
	movq	%rdi, %rax
	movq	8(%rdi), %rdi
	movq	16(%rax), %rdx
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.2:
	testq	%rdi, %rdi
	je	LBB0_5
LBB0_3:
	movq	16(%rsi), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rdx)
	movq	(%rsi), %rcx
	movq	%rcx, (%rax)
	movq	%rdx, 16(%rax)
	movq	%rdi, 8(%rax)
	movl	(%rsi), %edx
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rbx
	testl	%edx, %edx
	je	LBB0_5
## %bb.4:
	movq	8(%rsi), %rsi
	callq	_memcpy
LBB0_5:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_ERROR_BUFFER_TOO_SMALL,4,2 ## @VC_CONTAINER_ERROR_BUFFER_TOO_SMALL
	.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_format_copy       ; -- Begin function vc_container_format_copy
	.p2align	2
_vc_container_format_copy:              ; @vc_container_format_copy
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w9, [x1]
	cmp	w9, w2
	b.hi	LBB0_5
; %bb.1:
	mov	x8, x0
	ldr	x0, [x0, #8]
	cmp	w9, #0
	ccmp	x0, #0, #0, ne
	b.eq	LBB0_5
; %bb.2:
	ldr	x9, [x8, #16]
	ldr	x10, [x1, #16]
	ldr	w10, [x10]
	str	w10, [x9]
	ldr	x10, [x1]
	stp	x0, x9, [x8, #8]
	str	x10, [x8]
	ldr	w2, [x1]
	cbz	w2, LBB0_4
; %bb.3:
	ldr	x1, [x1, #8]
	bl	_memcpy
LBB0_4:
Lloh0:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _VC_CONTAINER_ERROR_BUFFER_TOO_SMALL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_BUFFER_TOO_SMALL@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_ERROR_BUFFER_TOO_SMALL,4,2 ; @VC_CONTAINER_ERROR_BUFFER_TOO_SMALL
	.comm	_VC_CONTAINER_SUCCESS,4,2       ; @VC_CONTAINER_SUCCESS
.subsections_via_symbols
