	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtp_open
_rtp_open:                              ## @rtp_open
	.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
	movl	$4456, %eax                     ## imm = 0x1168
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -4420(%rbp)               ## 4-byte Spill
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -4416(%rbp)               ## 8-byte Spill
	movq	24(%rdi), %rbx
	movq	$0, -4448(%rbp)
	leaq	-1328(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rdi, -4440(%rbp)               ## 8-byte Spill
	callq	___bzero
	leaq	-2352(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rdi, -4432(%rbp)               ## 8-byte Spill
	callq	___bzero
	leaq	-4400(%rbp), %rax
	leaq	-4424(%rbp), %r10
	leaq	-304(%rbp), %r8
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$256, %r9d                      ## imm = 0x100
	pushq	%r14
	pushq	$1024                           ## imm = 0x400
	pushq	%rax
	pushq	%r10
	callq	_av_url_split
	addq	$32, %rsp
	movq	%rbx, -4408(%rbp)               ## 8-byte Spill
	cmpl	$0, (%rbx)
	jns	LBB0_2
## %bb.1:
	movl	-4424(%rbp), %eax
	incl	%eax
	movq	-4408(%rbp), %rcx               ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_2:
	movq	%r14, %rdi
	movl	$63, %esi
	callq	_strchr
	movq	%rax, -4472(%rbp)
	testq	%rax, %rax
	je	LBB0_27
## %bb.3:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdx
	leaq	-3376(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rax, %rcx
	callq	_av_find_info_tag
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	-3376(%rbp), %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movq	-4408(%rbp), %rcx               ## 8-byte Reload
	movq	%rax, 8(%rcx)
LBB0_5:
	leaq	L_.str.1(%rip), %rdx
	leaq	-3376(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rbx, %rcx
	callq	_av_find_info_tag
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	-3376(%rbp), %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movq	-4408(%rbp), %rcx               ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_7:
	leaq	L_.str.2(%rip), %rdx
	leaq	-3376(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rbx, %rcx
	callq	_av_find_info_tag
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	-3376(%rbp), %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movq	-4408(%rbp), %rcx               ## 8-byte Reload
	movl	%eax, 16(%rcx)
LBB0_9:
	leaq	L_.str.3(%rip), %rdx
	leaq	-3376(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rbx, %rcx
	callq	_av_find_info_tag
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	-3376(%rbp), %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movq	-4408(%rbp), %rcx               ## 8-byte Reload
	movl	%eax, 16(%rcx)
LBB0_11:
	leaq	L_.str.4(%rip), %rdx
	leaq	-3376(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rbx, %rcx
	callq	_av_find_info_tag
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	-3376(%rbp), %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movq	-4408(%rbp), %rcx               ## 8-byte Reload
	movl	%eax, 20(%rcx)
LBB0_13:
	leaq	L_.str.5(%rip), %rdx
	leaq	-3376(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rbx, %rcx
	callq	_av_find_info_tag
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	-3376(%rbp), %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movq	-4408(%rbp), %rcx               ## 8-byte Reload
	movq	%rax, 120(%rcx)
LBB0_15:
	leaq	L_.str.6(%rip), %rdx
	leaq	-3376(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rbx, %rcx
	callq	_av_find_info_tag
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	leaq	-3376(%rbp), %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movq	-4408(%rbp), %rcx               ## 8-byte Reload
	movq	%rax, 112(%rcx)
LBB0_17:
	leaq	L_.str.7(%rip), %rdx
	leaq	-3376(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rbx, %rcx
	callq	_av_find_info_tag
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	leaq	-3376(%rbp), %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movq	-4408(%rbp), %rcx               ## 8-byte Reload
	movq	%rax, 104(%rcx)
LBB0_19:
	leaq	L_.str.8(%rip), %rdx
	leaq	-3376(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rbx, %rcx
	callq	_av_find_info_tag
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	leaq	-3376(%rbp), %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movq	-4408(%rbp), %rcx               ## 8-byte Reload
	movq	%rax, 96(%rcx)
LBB0_21:
	leaq	L_.str.9(%rip), %rdx
	leaq	-3376(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rbx, %rcx
	callq	_av_find_info_tag
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	leaq	-1328(%rbp), %rdi
	leaq	-3376(%rbp), %r14
	movq	%rdi, -4440(%rbp)               ## 8-byte Spill
	movq	%r14, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_av_strlcpy
	movq	-4408(%rbp), %rax               ## 8-byte Reload
	leaq	88(%rax), %rdx
	movq	-4416(%rbp), %rdi               ## 8-byte Reload
	movq	%r14, %rsi
	callq	_ff_ip_parse_sources
	jmp	LBB0_24
LBB0_23:
	movq	-4408(%rbp), %r14               ## 8-byte Reload
	movq	24(%r14), %rsi
	leaq	88(%r14), %rdx
	movq	-4416(%rbp), %rdi               ## 8-byte Reload
	callq	_ff_ip_parse_sources
	movq	24(%r14), %rax
	movq	%rax, -4440(%rbp)               ## 8-byte Spill
LBB0_24:
	leaq	L_.str.10(%rip), %rdx
	leaq	-3376(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rbx, %rcx
	callq	_av_find_info_tag
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	leaq	-2352(%rbp), %rdi
	leaq	-3376(%rbp), %r14
	movq	%rdi, -4432(%rbp)               ## 8-byte Spill
	movq	%r14, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_av_strlcpy
	movq	-4408(%rbp), %rax               ## 8-byte Reload
	leaq	88(%rax), %rdx
	movq	-4416(%rbp), %rdi               ## 8-byte Reload
	movq	%r14, %rsi
	callq	_ff_ip_parse_blocks
	jmp	LBB0_27
LBB0_26:
	movq	-4408(%rbp), %rbx               ## 8-byte Reload
	movq	32(%rbx), %rsi
	leaq	88(%rbx), %rdx
	movq	-4416(%rbp), %rdi               ## 8-byte Reload
	callq	_ff_ip_parse_blocks
	movq	32(%rbx), %rax
	movq	%rax, -4432(%rbp)               ## 8-byte Spill
LBB0_27:
	movq	-4408(%rbp), %rax               ## 8-byte Reload
	movq	40(%rax), %rax
	testq	%rax, %rax
	je	LBB0_28
## %bb.29:
	movq	%rax, -4472(%rbp)
	leaq	L_.str.11(%rip), %rsi
	leaq	-4472(%rbp), %rdi
	callq	_av_get_token
	testq	%rax, %rax
	movq	-4416(%rbp), %rbx               ## 8-byte Reload
	je	LBB0_30
## %bb.31:
	movq	%rax, %r13
	leaq	L_.str.13(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.14(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_52
LBB0_28:
	xorl	%eax, %eax
	movq	%rax, -4456(%rbp)               ## 8-byte Spill
	movq	-4416(%rbp), %r15               ## 8-byte Reload
LBB0_40:
	movq	-4408(%rbp), %rcx               ## 8-byte Reload
	leaq	64(%rcx), %r14
	leaq	16(%r15), %rax
	movq	%rax, -4464(%rbp)               ## 8-byte Spill
	leaq	56(%rcx), %rax
	movq	%rax, -4480(%rbp)               ## 8-byte Spill
	movl	16(%rcx), %r9d
	movl	$3, %r13d
	movq	%r14, -4488(%rbp)               ## 8-byte Spill
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_41 Depth=1
	movq	-4408(%rbp), %rax               ## 8-byte Reload
	movl	$-1, 20(%rax)
LBB0_46:                                ##   in Loop: Header=BB0_41 Depth=1
	movq	-4408(%rbp), %rax               ## 8-byte Reload
	movl	$-1, 16(%rax)
	movl	$-1, %r9d
	decl	%r13d
	je	LBB0_47
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	movl	-4424(%rbp), %r8d
	movq	-4408(%rbp), %rdi               ## 8-byte Reload
	leaq	-3376(%rbp), %r12
	movq	%r12, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	leaq	-304(%rbp), %rcx
	pushq	-4432(%rbp)                     ## 8-byte Folded Reload
	pushq	-4440(%rbp)                     ## 8-byte Folded Reload
	callq	_build_udp_url
	addq	$16, %rsp
	movl	8(%r15), %eax
	movl	12(%r15), %r9d
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	-4420(%rbp), %edx               ## 4-byte Reload
	movq	-4464(%rbp), %rcx               ## 8-byte Reload
	xorl	%r8d, %r8d
	pushq	%r15
	pushq	%rax
	callq	_ffurl_open_whitelist
	addq	$16, %rsp
	testq	%rax, %rax
	js	LBB0_51
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=1
	movq	-4408(%rbp), %rbx               ## 8-byte Reload
	movq	64(%rbx), %rdi
	callq	_ff_udp_get_local_port
	movl	%eax, 16(%rbx)
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	je	LBB0_46
## %bb.43:                              ##   in Loop: Header=BB0_41 Depth=1
	movq	-4408(%rbp), %rdi               ## 8-byte Reload
	movq	_AVIO_FLAG_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	orl	-4420(%rbp), %r14d              ## 4-byte Folded Reload
	movl	20(%rdi), %r9d
	testl	%r9d, %r9d
	jns	LBB0_50
## %bb.44:                              ##   in Loop: Header=BB0_41 Depth=1
	incl	%eax
	movl	%eax, 20(%rdi)
	movl	(%rdi), %r8d
	leaq	-3376(%rbp), %r15
	movq	%r15, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	leaq	-304(%rbp), %rcx
	movl	%eax, %r9d
	pushq	-4432(%rbp)                     ## 8-byte Folded Reload
	pushq	-4440(%rbp)                     ## 8-byte Folded Reload
	callq	_build_udp_url
	addq	$16, %rsp
	movq	-4416(%rbp), %rbx               ## 8-byte Reload
	movl	8(%rbx), %eax
	movl	12(%rbx), %r9d
	movq	-4480(%rbp), %rdi               ## 8-byte Reload
	movq	%r15, %rsi
	movl	%r14d, %edx
	movq	%rbx, %r15
	movq	-4464(%rbp), %rcx               ## 8-byte Reload
	xorl	%r8d, %r8d
	pushq	%rbx
	pushq	%rax
	callq	_ffurl_open_whitelist
	addq	$16, %rsp
	testq	%rax, %rax
	movq	-4488(%rbp), %r14               ## 8-byte Reload
	js	LBB0_45
	jmp	LBB0_47
LBB0_30:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.12(%rip), %rdx
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
LBB0_37:
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_52
LBB0_33:
	movq	-4408(%rbp), %rax               ## 8-byte Reload
	movq	40(%rax), %r14
	movq	%r13, %rdi
	callq	_strlen
	movslq	%eax, %rsi
	addq	%r14, %rsi
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	%rsi, -4472(%rbp)
	cmpb	$61, (%rsi)
	leaq	1(%rsi), %rsi
	je	LBB0_34
## %bb.35:
	decq	%rsi
	leaq	L_.str.11(%rip), %rdx
	leaq	L_.str.15(%rip), %rcx
	leaq	-4448(%rbp), %rdi
	xorl	%r8d, %r8d
	callq	_av_dict_parse_string
	testq	%rax, %rax
	movq	-4416(%rbp), %r15               ## 8-byte Reload
	js	LBB0_36
## %bb.38:
	movq	-4408(%rbp), %rax               ## 8-byte Reload
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	movq	%r13, -4456(%rbp)               ## 8-byte Spill
	jle	LBB0_40
## %bb.39:
	leaq	L_.str.17(%rip), %rdx
	leaq	-3376(%rbp), %r14
	movq	%r14, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_snprintf
	leaq	L_.str(%rip), %rsi
	leaq	-4448(%rbp), %rdi
	movq	%r14, %rdx
	movq	-4416(%rbp), %r15               ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_av_dict_set
	jmp	LBB0_40
LBB0_50:
	movl	(%rdi), %r8d
	leaq	-3376(%rbp), %r13
	leaq	-304(%rbp), %rcx
	movq	%r13, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	pushq	-4432(%rbp)                     ## 8-byte Folded Reload
	pushq	-4440(%rbp)                     ## 8-byte Folded Reload
	callq	_build_udp_url
	addq	$16, %rsp
	movq	-4416(%rbp), %r15               ## 8-byte Reload
	movl	8(%r15), %eax
	movl	12(%r15), %r9d
	movq	-4480(%rbp), %rdi               ## 8-byte Reload
	movq	%r13, %rsi
	movl	%r14d, %edx
	movq	-4464(%rbp), %rcx               ## 8-byte Reload
	xorl	%r8d, %r8d
	pushq	%r15
	pushq	%rax
	callq	_ffurl_open_whitelist
	addq	$16, %rsp
	testq	%rax, %rax
	js	LBB0_51
LBB0_47:
	movq	-4408(%rbp), %rax               ## 8-byte Reload
	movq	$0, 48(%rax)
	movq	-4456(%rbp), %r13               ## 8-byte Reload
	testq	%r13, %r13
	je	LBB0_49
## %bb.48:
	movq	-4408(%rbp), %rax               ## 8-byte Reload
	leaq	48(%rax), %r14
	movl	-4424(%rbp), %r9d
	subq	$8, %rsp
	leaq	-3376(%rbp), %rbx
	leaq	-304(%rbp), %r8
	movq	%rbx, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	pushq	$0
	callq	_ff_url_join
	addq	$16, %rsp
	movq	-4416(%rbp), %rax               ## 8-byte Reload
	movl	8(%rax), %eax
	movq	-4416(%rbp), %rcx               ## 8-byte Reload
	movl	12(%rcx), %r9d
	leaq	-4448(%rbp), %r8
	movq	%r14, %rdi
	movq	-4416(%rbp), %r15               ## 8-byte Reload
	movq	%rbx, %rsi
	movl	-4420(%rbp), %edx               ## 4-byte Reload
	movq	-4464(%rbp), %rcx               ## 8-byte Reload
	pushq	%r15
	pushq	%rax
	callq	_ffurl_open_whitelist
	addq	$16, %rsp
	testq	%rax, %rax
	js	LBB0_52
LBB0_49:
	movq	-4408(%rbp), %rbx               ## 8-byte Reload
	movq	64(%rbx), %rdi
	callq	_ffurl_get_file_handle
	movq	%rax, 80(%rbx)
	movq	56(%rbx), %rdi
	callq	_ffurl_get_file_handle
	movq	%rax, 72(%rbx)
	movq	64(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movl	$1, (%r15)
	movq	%r13, %rdi
	callq	_av_free
	leaq	-4448(%rbp), %rdi
	callq	_av_dict_free
	xorl	%eax, %eax
	jmp	LBB0_57
LBB0_51:
	movq	-4456(%rbp), %r13               ## 8-byte Reload
LBB0_52:
	movq	-4408(%rbp), %rax               ## 8-byte Reload
	movq	64(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_54
## %bb.53:
	callq	_ffurl_close
LBB0_54:
	movq	-4408(%rbp), %rax               ## 8-byte Reload
	movq	56(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_56
## %bb.55:
	callq	_ffurl_close
LBB0_56:
	movq	-4408(%rbp), %rdi               ## 8-byte Reload
	addq	$48, %rdi
	callq	_ffurl_closep
	movq	%r13, %rdi
	callq	_av_free
	leaq	-4448(%rbp), %rdi
	callq	_av_dict_free
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_57:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_59
## %bb.58:
	addq	$4456, %rsp                     ## imm = 0x1168
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.16(%rip), %rdx
	movq	%r15, %rdi
	jmp	LBB0_37
LBB0_59:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ttl"

L_.str.1:                               ## @.str.1
	.asciz	"rtcpport"

L_.str.2:                               ## @.str.2
	.asciz	"localport"

L_.str.3:                               ## @.str.3
	.asciz	"localrtpport"

L_.str.4:                               ## @.str.4
	.asciz	"localrtcpport"

L_.str.5:                               ## @.str.5
	.asciz	"pkt_size"

L_.str.6:                               ## @.str.6
	.asciz	"connect"

L_.str.7:                               ## @.str.7
	.asciz	"write_to_source"

L_.str.8:                               ## @.str.8
	.asciz	"dscp"

L_.str.9:                               ## @.str.9
	.asciz	"sources"

L_.str.10:                              ## @.str.10
	.asciz	"block"

L_.str.11:                              ## @.str.11
	.asciz	"="

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.12:                              ## @.str.12
	.asciz	"Failed to parse the FEC protocol value\n"

L_.str.13:                              ## @.str.13
	.asciz	"prompeg"

L_.str.14:                              ## @.str.14
	.asciz	"Unsupported FEC protocol %s\n"

L_.str.15:                              ## @.str.15
	.asciz	":"

L_.str.16:                              ## @.str.16
	.asciz	"Failed to parse the FEC options\n"

L_.str.17:                              ## @.str.17
	.asciz	"%d"

	.comm	_AVIO_FLAG_WRITE,4,2            ## @AVIO_FLAG_WRITE
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_rtp_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtp_open
_rtp_open:                              ; @rtp_open
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	w9, #4432
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #336
	mov	x28, x2
	mov	x22, x1
	mov	x20, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	x19, [x0, #24]
	str	xzr, [sp, #56]
	mov	w21, #1024
	add	x0, sp, #3136
	mov	w1, #1024
	bl	_bzero
	add	x0, sp, #2112
	mov	w1, #1024
	bl	_bzero
	str	x22, [sp, #8]
	str	w21, [sp]
	add	x4, sp, #1, lsl #12             ; =4096
	add	x4, x4, #64
	add	x6, sp, #52
	add	x7, sp, #64
	mov	x0, #0
	mov	w1, #0
	mov	x2, #0
	mov	w3, #0
	mov	w5, #256
	bl	_av_url_split
	ldr	w8, [x19]
	tbz	w8, #31, LBB0_2
; %bb.1:
	ldr	w8, [sp, #52]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_2:
	mov	x0, x22
	mov	w1, #63
	bl	_strchr
	str	x0, [sp, #40]
	cbz	x0, LBB0_23
; %bb.3:
	mov	x22, x0
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #1088
	mov	w1, #1024
	mov	x3, x22
	bl	_av_find_info_tag
	cbz	x0, LBB0_5
; %bb.4:
	add	x0, sp, #1088
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	str	x0, [x19, #8]
LBB0_5:
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #1088
	mov	w1, #1024
	mov	x3, x22
	bl	_av_find_info_tag
	cbz	x0, LBB0_7
; %bb.6:
	add	x0, sp, #1088
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	str	w0, [x19]
LBB0_7:
Lloh9:
	adrp	x2, l_.str.2@PAGE
Lloh10:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x0, sp, #1088
	mov	w1, #1024
	mov	x3, x22
	bl	_av_find_info_tag
	cbz	x0, LBB0_9
; %bb.8:
	add	x0, sp, #1088
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	str	w0, [x19, #16]
LBB0_9:
Lloh11:
	adrp	x2, l_.str.3@PAGE
Lloh12:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x0, sp, #1088
	mov	w1, #1024
	mov	x3, x22
	bl	_av_find_info_tag
	cbz	x0, LBB0_11
; %bb.10:
	add	x0, sp, #1088
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	str	w0, [x19, #16]
LBB0_11:
Lloh13:
	adrp	x2, l_.str.4@PAGE
Lloh14:
	add	x2, x2, l_.str.4@PAGEOFF
	add	x0, sp, #1088
	mov	w1, #1024
	mov	x3, x22
	bl	_av_find_info_tag
	cbz	x0, LBB0_13
; %bb.12:
	add	x0, sp, #1088
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	str	w0, [x19, #20]
LBB0_13:
Lloh15:
	adrp	x2, l_.str.5@PAGE
Lloh16:
	add	x2, x2, l_.str.5@PAGEOFF
	add	x0, sp, #1088
	mov	w1, #1024
	mov	x3, x22
	bl	_av_find_info_tag
	cbz	x0, LBB0_15
; %bb.14:
	add	x0, sp, #1088
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	str	x0, [x19, #120]
LBB0_15:
Lloh17:
	adrp	x2, l_.str.6@PAGE
Lloh18:
	add	x2, x2, l_.str.6@PAGEOFF
	add	x0, sp, #1088
	mov	w1, #1024
	mov	x3, x22
	bl	_av_find_info_tag
	cbz	x0, LBB0_17
; %bb.16:
	add	x0, sp, #1088
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	str	x0, [x19, #112]
LBB0_17:
Lloh19:
	adrp	x2, l_.str.7@PAGE
Lloh20:
	add	x2, x2, l_.str.7@PAGEOFF
	add	x0, sp, #1088
	mov	w1, #1024
	mov	x3, x22
	bl	_av_find_info_tag
	cbz	x0, LBB0_19
; %bb.18:
	add	x0, sp, #1088
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	str	x0, [x19, #104]
LBB0_19:
Lloh21:
	adrp	x2, l_.str.8@PAGE
Lloh22:
	add	x2, x2, l_.str.8@PAGEOFF
	add	x0, sp, #1088
	mov	w1, #1024
	mov	x3, x22
	bl	_av_find_info_tag
	cbz	x0, LBB0_21
; %bb.20:
	add	x0, sp, #1088
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	str	x0, [x19, #96]
LBB0_21:
Lloh23:
	adrp	x2, l_.str.9@PAGE
Lloh24:
	add	x2, x2, l_.str.9@PAGEOFF
	add	x0, sp, #1088
	mov	w1, #1024
	mov	x3, x22
	bl	_av_find_info_tag
	cbz	x0, LBB0_24
; %bb.22:
	add	x23, sp, #3136
	add	x0, sp, #3136
	add	x1, sp, #1088
	mov	w2, #1024
	bl	_av_strlcpy
	add	x2, x19, #88
	add	x1, sp, #1088
	mov	x0, x20
	bl	_ff_ip_parse_sources
	b	LBB0_25
LBB0_23:
	add	x24, sp, #2112
	add	x23, sp, #3136
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_27
	b	LBB0_31
LBB0_24:
	ldr	x1, [x19, #24]
	add	x2, x19, #88
	mov	x0, x20
	bl	_ff_ip_parse_sources
	ldr	x23, [x19, #24]
LBB0_25:
Lloh25:
	adrp	x2, l_.str.10@PAGE
Lloh26:
	add	x2, x2, l_.str.10@PAGEOFF
	add	x0, sp, #1088
	mov	w1, #1024
	mov	x3, x22
	bl	_av_find_info_tag
	cbz	x0, LBB0_30
; %bb.26:
	add	x24, sp, #2112
	add	x0, sp, #2112
	add	x1, sp, #1088
	mov	w2, #1024
	bl	_av_strlcpy
	add	x2, x19, #88
	add	x1, sp, #1088
	mov	x0, x20
	bl	_ff_ip_parse_blocks
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_31
LBB0_27:
	str	x8, [sp, #40]
Lloh27:
	adrp	x1, l_.str.11@PAGE
Lloh28:
	add	x1, x1, l_.str.11@PAGEOFF
	add	x0, sp, #40
	bl	_av_get_token
	mov	x22, x0
	cbz	x0, LBB0_39
; %bb.28:
Lloh29:
	adrp	x1, l_.str.13@PAGE
Lloh30:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	x0, LBB0_41
; %bb.29:
Lloh31:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	str	x22, [sp]
Lloh34:
	adrp	x2, l_.str.14@PAGE
Lloh35:
	add	x2, x2, l_.str.14@PAGEOFF
	b	LBB0_40
LBB0_30:
	ldr	x1, [x19, #32]
	add	x2, x19, #88
	mov	x0, x20
	bl	_ff_ip_parse_blocks
	ldr	x24, [x19, #32]
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_27
LBB0_31:
	str	xzr, [sp, #24]                  ; 8-byte Folded Spill
LBB0_32:
	add	x27, x19, #64
	add	x25, x20, #16
	add	x8, x19, #56
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	ldr	w5, [x19, #16]
	mov	w22, #3
	mov	w21, #65535
	b	LBB0_35
LBB0_33:                                ;   in Loop: Header=BB0_35 Depth=1
	mov	w8, #-1
	str	w8, [x19, #20]
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=1
	mov	w5, #-1
	str	w5, [x19, #16]
	subs	w22, w22, #1
	b.eq	LBB0_47
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldr	w4, [sp, #52]
	add	x1, sp, #1088
	add	x3, sp, #1, lsl #12             ; =4096
	add	x3, x3, #64
	mov	x0, x19
	mov	w2, #1024
	mov	x6, x23
	mov	x7, x24
	bl	_build_udp_url
	ldp	w6, w5, [x20, #8]
	add	x1, sp, #1088
	mov	x0, x27
	mov	x2, x28
	mov	x3, x25
	mov	x4, #0
	mov	x7, x20
	bl	_ffurl_open_whitelist
	tbnz	x0, #63, LBB0_50
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	x0, [x19, #64]
	bl	_ff_udp_get_local_port
	str	w0, [x19, #16]
	cmp	w0, w21
	b.eq	LBB0_34
; %bb.37:                               ;   in Loop: Header=BB0_35 Depth=1
Lloh36:
	adrp	x8, _AVIO_FLAG_WRITE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _AVIO_FLAG_WRITE@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	mov	x26, x28
	orr	w28, w8, w28
	ldr	w5, [x19, #20]
	tbz	w5, #31, LBB0_46
; %bb.38:                               ;   in Loop: Header=BB0_35 Depth=1
	add	w5, w0, #1
	str	w5, [x19, #20]
	ldr	w4, [x19]
	add	x1, sp, #1088
	add	x3, sp, #1, lsl #12             ; =4096
	add	x3, x3, #64
	mov	x0, x19
	mov	w2, #1024
	mov	x6, x23
	mov	x7, x24
	bl	_build_udp_url
	ldp	w6, w5, [x20, #8]
	add	x1, sp, #1088
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x2, x28
	mov	x3, x25
	mov	x4, #0
	mov	x7, x20
	bl	_ffurl_open_whitelist
	mov	x28, x26
	tbnz	x0, #63, LBB0_33
	b	LBB0_47
LBB0_39:
Lloh39:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
Lloh42:
	adrp	x2, l_.str.12@PAGE
Lloh43:
	add	x2, x2, l_.str.12@PAGEOFF
LBB0_40:
	mov	x0, x20
	bl	_av_log
	b	LBB0_51
LBB0_41:
	ldr	x21, [x19, #40]
	mov	x0, x22
	bl	_strlen
	add	x8, x21, w0, sxtw
LBB0_42:                                ; =>This Inner Loop Header: Depth=1
	str	x8, [sp, #40]
	ldrb	w9, [x8], #1
	cmp	w9, #61
	b.eq	LBB0_42
; %bb.43:
	sub	x1, x8, #1
Lloh44:
	adrp	x2, l_.str.11@PAGE
Lloh45:
	add	x2, x2, l_.str.11@PAGEOFF
Lloh46:
	adrp	x3, l_.str.15@PAGE
Lloh47:
	add	x3, x3, l_.str.15@PAGEOFF
	add	x0, sp, #56
	mov	w4, #0
	bl	_av_dict_parse_string
	tbnz	x0, #63, LBB0_58
; %bb.44:
	ldr	x3, [x19, #8]
	cmp	x3, #1
	str	x22, [sp, #24]                  ; 8-byte Folded Spill
	b.lt	LBB0_32
; %bb.45:
Lloh48:
	adrp	x2, l_.str.17@PAGE
Lloh49:
	add	x2, x2, l_.str.17@PAGEOFF
	add	x0, sp, #1088
	mov	w1, #1024
	bl	_snprintf
Lloh50:
	adrp	x1, l_.str@PAGE
Lloh51:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #56
	add	x2, sp, #1088
	mov	w3, #0
	bl	_av_dict_set
	b	LBB0_32
LBB0_46:
	ldr	w4, [x19]
	add	x1, sp, #1088
	add	x3, sp, #1, lsl #12             ; =4096
	add	x3, x3, #64
	mov	x0, x19
	mov	w2, #1024
	mov	x6, x23
	mov	x7, x24
	bl	_build_udp_url
	ldp	w6, w5, [x20, #8]
	add	x1, sp, #1088
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x2, x28
	mov	x3, x25
	mov	x4, #0
	mov	x7, x20
	bl	_ffurl_open_whitelist
	mov	x28, x26
	tbnz	x0, #63, LBB0_50
LBB0_47:
	mov	x23, x19
	str	xzr, [x23, #48]!
	ldr	x22, [sp, #24]                  ; 8-byte Folded Reload
	cbz	x22, LBB0_49
; %bb.48:
	ldr	w5, [sp, #52]
	add	x0, sp, #1088
	add	x4, sp, #1, lsl #12             ; =4096
	add	x4, x4, #64
	mov	w1, #1024
	mov	x2, x22
	mov	x3, #0
	mov	x6, #0
	bl	_ff_url_join
	ldp	w6, w5, [x20, #8]
	add	x1, sp, #1088
	add	x4, sp, #56
	mov	x0, x23
	mov	x2, x28
	mov	x3, x25
	mov	x7, x20
	bl	_ffurl_open_whitelist
	tbnz	x0, #63, LBB0_51
LBB0_49:
	ldr	x0, [x19, #64]
	bl	_ffurl_get_file_handle
	str	x0, [x19, #80]
	ldr	x0, [x19, #56]
	bl	_ffurl_get_file_handle
	str	x0, [x19, #72]
	ldr	x8, [x19, #64]
	ldr	w8, [x8]
	mov	w9, #1
	stp	w9, w8, [x20]
	mov	x0, x22
	bl	_av_free
	add	x0, sp, #56
	bl	_av_dict_free
	mov	w0, #0
	b	LBB0_56
LBB0_50:
	ldr	x22, [sp, #24]                  ; 8-byte Folded Reload
LBB0_51:
	ldr	x0, [x19, #64]
	cbz	x0, LBB0_53
; %bb.52:
	bl	_ffurl_close
LBB0_53:
	ldr	x0, [x19, #56]
	cbz	x0, LBB0_55
; %bb.54:
	bl	_ffurl_close
LBB0_55:
	add	x0, x19, #48
	bl	_ffurl_closep
	mov	x0, x22
	bl	_av_free
	add	x0, sp, #56
	bl	_av_dict_free
Lloh52:
	adrp	x8, _EIO@GOTPAGE
Lloh53:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_56:
	ldur	x8, [x29, #-96]
Lloh55:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh56:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_59
; %bb.57:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #336
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_58:
Lloh58:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh59:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
Lloh61:
	adrp	x2, l_.str.16@PAGE
Lloh62:
	add	x2, x2, l_.str.16@PAGEOFF
	b	LBB0_40
LBB0_59:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ttl"

l_.str.1:                               ; @.str.1
	.asciz	"rtcpport"

l_.str.2:                               ; @.str.2
	.asciz	"localport"

l_.str.3:                               ; @.str.3
	.asciz	"localrtpport"

l_.str.4:                               ; @.str.4
	.asciz	"localrtcpport"

l_.str.5:                               ; @.str.5
	.asciz	"pkt_size"

l_.str.6:                               ; @.str.6
	.asciz	"connect"

l_.str.7:                               ; @.str.7
	.asciz	"write_to_source"

l_.str.8:                               ; @.str.8
	.asciz	"dscp"

l_.str.9:                               ; @.str.9
	.asciz	"sources"

l_.str.10:                              ; @.str.10
	.asciz	"block"

l_.str.11:                              ; @.str.11
	.asciz	"="

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.12:                              ; @.str.12
	.asciz	"Failed to parse the FEC protocol value\n"

l_.str.13:                              ; @.str.13
	.asciz	"prompeg"

l_.str.14:                              ; @.str.14
	.asciz	"Unsupported FEC protocol %s\n"

l_.str.15:                              ; @.str.15
	.asciz	":"

l_.str.16:                              ; @.str.16
	.asciz	"Failed to parse the FEC options\n"

l_.str.17:                              ; @.str.17
	.asciz	"%d"

	.comm	_AVIO_FLAG_WRITE,4,2            ; @AVIO_FLAG_WRITE
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_rtp_open
.subsections_via_symbols
