	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcv_reader_read
_rcv_reader_read:                       ## @rcv_reader_read
	.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, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %r12
	cmpl	$0, (%r12)
	je	LBB0_1
LBB0_5:
	movl	24(%r12), %esi
	movl	%esi, (%rbx)
	imulq	$1000, 16(%r12), %rax           ## imm = 0x3E8
	movq	%rax, 16(%rbx)
	movq	%rax, 8(%rbx)
	movq	$0, 48(%rbx)
	movl	$0, 24(%rbx)
	movq	8(%r12), %rax
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_VC_CONTAINER_PACKET_FLAG_FRAME_START@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rbx)
LBB0_7:
	cmpq	$0, 32(%r12)
	je	LBB0_9
## %bb.8:
	movq	_VC_CONTAINER_PACKET_FLAG_KEYFRAME@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 24(%rbx)
LBB0_9:
	movq	_VC_CONTAINER_READ_FLAG_SKIP@GOTPCREL(%rip), %rcx
	testl	%r15d, (%rcx)
	je	LBB0_13
## %bb.10:
	subq	%rax, %rsi
	movq	%r14, %rdi
	callq	_SKIP_BYTES
	movl	%eax, %eax
	addq	8(%r12), %rax
	movq	%rax, 8(%r12)
	movl	24(%r12), %ecx
	cmpq	%rcx, %rax
	jne	LBB0_12
## %bb.11:
	movq	$0, 8(%r12)
	movl	$0, (%r12)
LBB0_12:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_STREAM_STATUS                  ## TAILCALL
LBB0_1:
	movq	%r14, %rdi
	callq	_STREAM_POSITION
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	16(%r12), %r13
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_READ_BYTES
	cmpl	$4, %eax
	jne	LBB0_18
## %bb.2:
	movl	$1, (%r12)
	movq	$0, 8(%r12)
	movq	40(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:
	cmpq	$0, 32(%r12)
	je	LBB0_5
## %bb.4:
	imulq	$1000, (%r13), %rsi             ## imm = 0x3E8
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_vc_container_index_add
	jmp	LBB0_5
LBB0_13:
	movq	_VC_CONTAINER_READ_FLAG_INFO@GOTPCREL(%rip), %rcx
	testl	%r15d, (%rcx)
	jne	LBB0_14
## %bb.15:
	subq	%rax, %rsi
	movl	40(%rbx), %eax
	movq	%rsi, %rdi
	movl	%eax, %esi
	callq	_MIN
	movq	32(%rbx), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_READ_BYTES
	movl	%eax, %ecx
	addq	8(%r12), %rcx
	movq	%rcx, 8(%r12)
	movl	24(%r12), %edx
	cmpq	%rdx, %rcx
	jne	LBB0_17
## %bb.16:
	movq	$0, 8(%r12)
	movl	$0, (%r12)
	movq	_VC_CONTAINER_PACKET_FLAG_FRAME_END@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 24(%rbx)
LBB0_17:
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_12
LBB0_14:
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_18:
	movq	_VC_CONTAINER_ERROR_EOS@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_ERROR_EOS,4,2     ## @VC_CONTAINER_ERROR_EOS
	.comm	_VC_CONTAINER_PACKET_FLAG_FRAME_START,4,2 ## @VC_CONTAINER_PACKET_FLAG_FRAME_START
	.comm	_VC_CONTAINER_PACKET_FLAG_KEYFRAME,4,2 ## @VC_CONTAINER_PACKET_FLAG_KEYFRAME
	.comm	_VC_CONTAINER_READ_FLAG_SKIP,4,2 ## @VC_CONTAINER_READ_FLAG_SKIP
	.comm	_VC_CONTAINER_READ_FLAG_INFO,4,2 ## @VC_CONTAINER_READ_FLAG_INFO
	.comm	_VC_CONTAINER_SUCCESS,4,2       ## @VC_CONTAINER_SUCCESS
	.comm	_VC_CONTAINER_PACKET_FLAG_FRAME_END,4,2 ## @VC_CONTAINER_PACKET_FLAG_FRAME_END
	.no_dead_strip	_rcv_reader_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcv_reader_read
_rcv_reader_read:                       ; @rcv_reader_read
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x24, [x8]
	ldr	w8, [x24]
	cbz	w8, LBB0_9
LBB0_1:
	mov	w10, #0
	ldr	w8, [x24, #24]
	str	w8, [x20]
	mov	w11, #1000
	ldp	x9, x12, [x24, #8]
	mul	x11, x12, x11
	stp	x11, x11, [x20, #8]
	str	xzr, [x20, #48]
	str	wzr, [x20, #24]
	cbnz	x9, LBB0_3
; %bb.2:
Lloh0:
	adrp	x10, _VC_CONTAINER_PACKET_FLAG_FRAME_START@GOTPAGE
Lloh1:
	ldr	x10, [x10, _VC_CONTAINER_PACKET_FLAG_FRAME_START@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	str	w10, [x20, #24]
LBB0_3:
	ldr	x11, [x24, #32]
	cbz	x11, LBB0_5
; %bb.4:
Lloh3:
	adrp	x11, _VC_CONTAINER_PACKET_FLAG_KEYFRAME@GOTPAGE
Lloh4:
	ldr	x11, [x11, _VC_CONTAINER_PACKET_FLAG_KEYFRAME@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	orr	w10, w10, w11
	str	w10, [x20, #24]
LBB0_5:
Lloh6:
	adrp	x10, _VC_CONTAINER_READ_FLAG_SKIP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _VC_CONTAINER_READ_FLAG_SKIP@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w21
	b.eq	LBB0_13
; %bb.6:
	sub	x1, x8, x9
	mov	x0, x19
	bl	_SKIP_BYTES
	ldr	x8, [x24, #8]
	add	x8, x8, w0, uxtw
	str	x8, [x24, #8]
	ldr	w9, [x24, #24]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	str	xzr, [x24, #8]
	str	wzr, [x24]
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_STREAM_STATUS
LBB0_9:
	mov	x0, x19
	bl	_STREAM_POSITION
	mov	x22, x0
	add	x23, x24, #16
	mov	x0, x19
	mov	x1, x23
	mov	w2, #4
	bl	_READ_BYTES
	cmp	w0, #4
	b.ne	LBB0_18
; %bb.10:
	mov	w8, #1
	str	w8, [x24]
	str	xzr, [x24, #8]
	ldr	x0, [x24, #40]
	cbz	x0, LBB0_1
; %bb.11:
	ldr	x8, [x24, #32]
	cbz	x8, LBB0_1
; %bb.12:
	ldr	x8, [x23]
	mov	w9, #1000
	mul	x1, x8, x9
	mov	x2, x22
	bl	_vc_container_index_add
	b	LBB0_1
LBB0_13:
Lloh9:
	adrp	x10, _VC_CONTAINER_READ_FLAG_INFO@GOTPAGE
Lloh10:
	ldr	x10, [x10, _VC_CONTAINER_READ_FLAG_INFO@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w21
	b.ne	LBB0_17
; %bb.14:
	sub	x0, x8, x9
	ldr	w1, [x20, #40]
	bl	_MIN
	mov	x2, x0
	ldr	x1, [x20, #32]
	mov	x0, x19
	bl	_READ_BYTES
	ldr	x8, [x24, #8]
	add	x8, x8, w0, uxtw
	str	x8, [x24, #8]
	ldr	w9, [x24, #24]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.15:
	str	xzr, [x24, #8]
	str	wzr, [x24]
Lloh12:
	adrp	x8, _VC_CONTAINER_PACKET_FLAG_FRAME_END@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VC_CONTAINER_PACKET_FLAG_FRAME_END@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x20, #24]
	orr	w8, w9, w8
	str	w8, [x20, #24]
LBB0_16:
	str	w0, [x20]
	cbz	w0, LBB0_8
LBB0_17:
Lloh15:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:
Lloh17:
	adrp	x8, _VC_CONTAINER_ERROR_EOS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_EOS@GOTPAGEOFF]
LBB0_19:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_ERROR_EOS,4,2     ; @VC_CONTAINER_ERROR_EOS
	.comm	_VC_CONTAINER_PACKET_FLAG_FRAME_START,4,2 ; @VC_CONTAINER_PACKET_FLAG_FRAME_START
	.comm	_VC_CONTAINER_PACKET_FLAG_KEYFRAME,4,2 ; @VC_CONTAINER_PACKET_FLAG_KEYFRAME
	.comm	_VC_CONTAINER_READ_FLAG_SKIP,4,2 ; @VC_CONTAINER_READ_FLAG_SKIP
	.comm	_VC_CONTAINER_READ_FLAG_INFO,4,2 ; @VC_CONTAINER_READ_FLAG_INFO
	.comm	_VC_CONTAINER_SUCCESS,4,2       ; @VC_CONTAINER_SUCCESS
	.comm	_VC_CONTAINER_PACKET_FLAG_FRAME_END,4,2 ; @VC_CONTAINER_PACKET_FLAG_FRAME_END
	.no_dead_strip	_rcv_reader_read
.subsections_via_symbols
