	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_packetizer_pop              ## -- Begin function vc_packetizer_pop
	.p2align	4, 0x90
_vc_packetizer_pop:                     ## @vc_packetizer_pop
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	(%rdi), %r12
	movq	%r12, %rdi
	callq	_bytestream_pop
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 24(%rax)
	je	LBB0_18
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	callq	_free
	movq	%r12, %rdi
	callq	_bytestream_pop
	movq	%rax, (%r14)
	testq	%rax, %rax
	jne	LBB0_2
LBB0_4:
	movq	_VC_PACKETIZER_FLAG_FORCE_RELEASE_INPUT@GOTPCREL(%rip), %rax
	movq	_VC_CONTAINER_ERROR_INCOMPLETE_DATA@GOTPCREL(%rip), %r13
	testl	%r15d, (%rax)
	je	LBB0_18
## %bb.5:
	movq	16(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.6:
	cmpq	$0, 24(%rbx)
	je	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r15
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	cmpq	$0, 24(%rbx)
	jne	LBB0_9
## %bb.10:
	addq	$16, %r15
	jmp	LBB0_11
LBB0_7:
	leaq	16(%r12), %r15
LBB0_11:
	movq	(%rbx), %rdi
	addq	$32, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	16(%rbx), %rcx
	movq	%rcx, 16(%rax)
	movups	(%rbx), %xmm0
	movups	%xmm0, (%rax)
	movq	%rax, 24(%rax)
	testq	%rcx, %rcx
	jne	LBB0_15
## %bb.14:
	leaq	16(%rax), %rcx
	movq	%rcx, 8(%r12)
LBB0_15:
	cmpq	%rbx, (%r12)
	jne	LBB0_17
## %bb.16:
	movq	%rax, (%r12)
LBB0_17:
	movq	%rax, (%r15)
	movq	%rax, %rdi
	addq	$32, %rdi
	movq	%rdi, 8(%rax)
	movq	(%rbx), %rdx
	movq	8(%rbx), %rsi
	callq	_memcpy
	movq	%rbx, (%r14)
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %r13
	jmp	LBB0_18
LBB0_12:
	movq	_VC_CONTAINER_ERROR_OUT_OF_MEMORY@GOTPCREL(%rip), %r13
LBB0_18:
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,4,2       ## @VC_CONTAINER_SUCCESS
	.comm	_VC_PACKETIZER_FLAG_FORCE_RELEASE_INPUT,4,2 ## @VC_PACKETIZER_FLAG_FORCE_RELEASE_INPUT
	.comm	_VC_CONTAINER_ERROR_INCOMPLETE_DATA,4,2 ## @VC_CONTAINER_ERROR_INCOMPLETE_DATA
	.comm	_VC_CONTAINER_ERROR_OUT_OF_MEMORY,4,2 ## @VC_CONTAINER_ERROR_OUT_OF_MEMORY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_packetizer_pop              ; -- Begin function vc_packetizer_pop
	.p2align	2
_vc_packetizer_pop:                     ; @vc_packetizer_pop
	.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	x21, x2
	mov	x19, x1
	ldr	x20, [x0]
	mov	x0, x20
	bl	_bytestream_pop
	str	x0, [x19]
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x22, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_18
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_free
	mov	x0, x20
	bl	_bytestream_pop
	str	x0, [x19]
	cbnz	x0, LBB0_2
LBB0_4:
Lloh2:
	adrp	x8, _VC_PACKETIZER_FLAG_FORCE_RELEASE_INPUT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VC_PACKETIZER_FLAG_FORCE_RELEASE_INPUT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_17
; %bb.5:
	mov	x22, x20
	ldr	x21, [x22, #16]!
	cbz	x21, LBB0_17
; %bb.6:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_11
; %bb.7:
Lloh5:
	adrp	x22, _VC_CONTAINER_ERROR_INCOMPLETE_DATA@GOTPAGE
Lloh6:
	ldr	x22, [x22, _VC_CONTAINER_ERROR_INCOMPLETE_DATA@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x21
	ldr	x21, [x21, #16]
	cbz	x21, LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x9, [x21, #24]
	cbnz	x9, LBB0_8
; %bb.10:
	add	x22, x8, #16
LBB0_11:
	ldr	x8, [x21]
	add	x0, x8, #32
	bl	_malloc
	cbz	x0, LBB0_19
; %bb.12:
	ldr	x9, [x21, #16]
	ldr	q0, [x21]
	str	q0, [x0]
	mov	x8, x0
	str	x9, [x8, #16]!
	str	x0, [x0, #24]
	cbnz	x9, LBB0_14
; %bb.13:
	str	x8, [x20, #8]
LBB0_14:
	ldr	x8, [x20]
	cmp	x8, x21
	b.ne	LBB0_16
; %bb.15:
	str	x0, [x20]
LBB0_16:
	str	x0, [x22]
	add	x8, x0, #32
	str	x8, [x0, #8]
	ldp	x2, x1, [x21]
	mov	x0, x8
	bl	_memcpy
	str	x21, [x19]
Lloh7:
	adrp	x22, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh8:
	ldr	x22, [x22, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh9:
	adrp	x22, _VC_CONTAINER_ERROR_INCOMPLETE_DATA@GOTPAGE
Lloh10:
	ldr	x22, [x22, _VC_CONTAINER_ERROR_INCOMPLETE_DATA@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x22]
	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
LBB0_19:
Lloh11:
	adrp	x22, _VC_CONTAINER_ERROR_OUT_OF_MEMORY@GOTPAGE
Lloh12:
	ldr	x22, [x22, _VC_CONTAINER_ERROR_OUT_OF_MEMORY@GOTPAGEOFF]
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,4,2       ; @VC_CONTAINER_SUCCESS
	.comm	_VC_PACKETIZER_FLAG_FORCE_RELEASE_INPUT,4,2 ; @VC_PACKETIZER_FLAG_FORCE_RELEASE_INPUT
	.comm	_VC_CONTAINER_ERROR_INCOMPLETE_DATA,4,2 ; @VC_CONTAINER_ERROR_INCOMPLETE_DATA
	.comm	_VC_CONTAINER_ERROR_OUT_OF_MEMORY,4,2 ; @VC_CONTAINER_ERROR_OUT_OF_MEMORY
.subsections_via_symbols
