	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtsp_copy_track_data_from_reader
_rtsp_copy_track_data_from_reader:      ## @rtsp_copy_track_data_from_reader
	.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
	movq	%rdi, %r14
	movq	16(%rsi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r13
	movl	(%r13), %edx
	cmpl	$1, %edx
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r12
	movq	8(%r13), %rax
	movq	(%rax), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_LOG_DEBUG
	movq	8(%r13), %rax
	movq	(%rax), %rax
LBB0_4:
	movq	8(%rax), %r15
	movq	8(%r12), %rbx
	movl	56(%r15), %eax
	movl	%eax, 56(%rbx)
	movl	52(%r15), %eax
	movl	%eax, 52(%rbx)
	movl	48(%r15), %eax
	movl	%eax, 48(%rbx)
	movq	40(%r15), %rax
	movl	(%rax), %eax
	movq	40(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	32(%r15), %eax
	movl	%eax, 32(%rbx)
	movq	24(%rbx), %rdi
	movq	24(%r15), %rsi
	movl	$8, %edx
	callq	_memcpy
	movl	20(%r15), %eax
	movl	%eax, 20(%rbx)
	movl	16(%r15), %eax
	movl	%eax, 16(%rbx)
	cmpq	$0, 8(%r15)
	je	LBB0_7
## %bb.5:
	movl	(%r15), %eax
	movq	%r14, %rdi
	movl	%eax, %r14d
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_vc_container_track_allocate_extradata
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.6:
	movq	8(%rbx), %rdi
	movq	8(%r15), %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movl	%r14d, (%rbx)
LBB0_7:
	movq	8(%r13), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_LOG_ERROR
	movq	_VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RTSP: Expected track reader to have one track, has %d"

	.comm	_VC_CONTAINER_ERROR_FORMAT_INVALID,8,3 ## @VC_CONTAINER_ERROR_FORMAT_INVALID
L_.str.1:                               ## @.str.1
	.asciz	"RTSP: Track reader has meta data - not supported"

	.comm	_VC_CONTAINER_SUCCESS,8,3       ## @VC_CONTAINER_SUCCESS
	.no_dead_strip	_rtsp_copy_track_data_from_reader
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtsp_copy_track_data_from_reader
_rtsp_copy_track_data_from_reader:      ; @rtsp_copy_track_data_from_reader
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x0
	ldr	x8, [x1, #16]
	ldr	x8, [x8]
	ldr	x22, [x8]
	ldr	w2, [x22]
	cmp	w2, #1
	b.ne	LBB0_7
; %bb.1:
	mov	x19, x1
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_3
; %bb.2:
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_LOG_DEBUG
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
LBB0_3:
	ldr	x24, [x8, #8]
	ldr	x23, [x19, #8]
	ldr	w8, [x24, #56]
	str	w8, [x23, #56]
	ldr	d0, [x24, #48]
	str	d0, [x23, #48]
	ldr	x8, [x24, #40]
	ldr	w8, [x8]
	ldr	x9, [x23, #40]
	str	w8, [x9]
	ldr	w8, [x24, #32]
	str	w8, [x23, #32]
	ldr	x0, [x23, #24]
	ldr	x1, [x24, #24]
	mov	w2, #8
	bl	_memcpy
	ldr	d0, [x24, #16]
	str	d0, [x23, #16]
	ldr	x8, [x24, #8]
Lloh2:
	adrp	x25, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh3:
	ldr	x25, [x25, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	w21, [x24]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_vc_container_track_allocate_extradata
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.5:
	ldr	x0, [x23, #8]
	ldr	x1, [x24, #8]
	mov	x2, x21
	bl	_memcpy
	str	w21, [x23]
LBB0_6:
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	x0, [x25]
	b	LBB0_8
LBB0_7:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_LOG_ERROR
Lloh6:
	adrp	x8, _VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RTSP: Expected track reader to have one track, has %d"

	.comm	_VC_CONTAINER_ERROR_FORMAT_INVALID,8,3 ; @VC_CONTAINER_ERROR_FORMAT_INVALID
l_.str.1:                               ; @.str.1
	.asciz	"RTSP: Track reader has meta data - not supported"

	.comm	_VC_CONTAINER_SUCCESS,8,3       ; @VC_CONTAINER_SUCCESS
	.no_dead_strip	_rtsp_copy_track_data_from_reader
.subsections_via_symbols
