	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtsp_open_track_reader
_rtsp_open_track_reader:                ## @rtsp_open_track_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movl	4(%rsi), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_vc_uri_build
	incl	%eax
	movslq	%eax, %r12
	movq	%r12, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	4(%r15), %edi
	movq	%rax, %rsi
	movq	%r12, %rdx
	callq	_vc_uri_build
	leaq	-36(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_vc_container_open_reader
	movl	%eax, (%r15)
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_LOG_ERROR
	movq	_VC_CONTAINER_ERROR_OUT_OF_MEMORY@GOTPCREL(%rip), %r14
LBB0_3:
	movl	(%r14), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,4,2       ## @VC_CONTAINER_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RTSP: Failed to build RTP URI"

	.comm	_VC_CONTAINER_ERROR_OUT_OF_MEMORY,4,2 ## @VC_CONTAINER_ERROR_OUT_OF_MEMORY
	.no_dead_strip	_rtsp_open_track_reader
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtsp_open_track_reader
_rtsp_open_track_reader:                ; @rtsp_open_track_reader
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	w0, [x1, #4]
	mov	x1, #0
	mov	x2, #0
	bl	_vc_uri_build
	add	w8, w0, #1
	sxtw	x22, w8
	mov	x0, x22
	bl	_malloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	w0, [x19, #4]
	mov	x1, x21
	mov	x2, x22
	bl	_vc_uri_build
	add	x20, sp, #12
	add	x1, sp, #12
	mov	x0, x21
	mov	x2, #0
	mov	x3, #0
	bl	_vc_container_open_reader
	str	w0, [x19]
	mov	x0, x21
	bl	_free
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_LOG_ERROR
Lloh5:
	adrp	x20, _VC_CONTAINER_ERROR_OUT_OF_MEMORY@GOTPAGE
Lloh6:
	ldr	x20, [x20, _VC_CONTAINER_ERROR_OUT_OF_MEMORY@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x20]
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,4,2       ; @VC_CONTAINER_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RTSP: Failed to build RTP URI"

	.comm	_VC_CONTAINER_ERROR_OUT_OF_MEMORY,4,2 ; @VC_CONTAINER_ERROR_OUT_OF_MEMORY
	.no_dead_strip	_rtsp_open_track_reader
.subsections_via_symbols
