	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prompeg_open
_prompeg_open:                          ## @prompeg_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
	subq	$1320, %rsp                     ## imm = 0x528
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -48(%rbp)
	movq	16(%rdi), %r12
	movq	$0, -1344(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r12)
	movl	4(%r12), %ecx
	imull	(%r12), %ecx
	cmpl	$101, %ecx
	jl	LBB0_3
## %bb.1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.2:
	addq	$1320, %rsp                     ## imm = 0x528
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_3:
	movl	%edx, %r14d
	movq	%rsi, %rax
	leaq	-1332(%rbp), %r10
	leaq	-304(%rbp), %r8
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$256, %r9d                      ## imm = 0x100
	pushq	%rax
	pushq	$0
	pushq	$0
	pushq	%r10
	callq	_av_url_split
	addq	$32, %rsp
	movl	-1332(%rbp), %r9d
	testl	%r9d, %r9d
	jle	LBB0_5
## %bb.4:
	movq	_UINT16_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-4, %eax
	cmpl	%eax, %r9d
	jle	LBB0_6
LBB0_5:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r9d, %ecx
	xorl	%eax, %eax
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_6:
	leaq	32(%r12), %rax
	movq	%rax, -1360(%rbp)               ## 8-byte Spill
	movq	8(%r12), %rcx
	testq	%rcx, %rcx
	jle	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rdx
	leaq	-1328(%rbp), %r15
	movq	%r15, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_snprintf
	leaq	L_.str.3(%rip), %rsi
	leaq	-1344(%rbp), %rdi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_av_dict_set
	movl	-1332(%rbp), %r9d
LBB0_8:
	leaq	24(%r12), %rax
	movq	%rax, -1352(%rbp)               ## 8-byte Spill
	addl	$2, %r9d
	subq	$8, %rsp
	leaq	L_.str.4(%rip), %rdx
	leaq	-1328(%rbp), %r13
	leaq	-304(%rbp), %r8
	movq	%r13, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	xorl	%ecx, %ecx
	pushq	$0
	callq	_ff_url_join
	addq	$16, %rsp
	leaq	12(%rbx), %r15
	movl	4(%rbx), %eax
	movl	8(%rbx), %r9d
	leaq	-1344(%rbp), %r8
	movq	-1360(%rbp), %rdi               ## 8-byte Reload
	movq	%r13, %rsi
	movl	%r14d, %edx
	movq	%r15, %rcx
	pushq	%rbx
	pushq	%rax
	callq	_ffurl_open_whitelist
	addq	$16, %rsp
	testq	%rax, %rax
	js	LBB0_11
## %bb.9:
	movl	-1332(%rbp), %r9d
	addl	$4, %r9d
	subq	$8, %rsp
	leaq	L_.str.4(%rip), %rdx
	xorl	%r13d, %r13d
	leaq	-1328(%rbp), %rdi
	leaq	-304(%rbp), %r8
	movl	$1024, %esi                     ## imm = 0x400
	xorl	%ecx, %ecx
	pushq	$0
	callq	_ff_url_join
	addq	$16, %rsp
	movl	4(%rbx), %eax
	movl	8(%rbx), %r9d
	leaq	-1344(%rbp), %r8
	movq	-1352(%rbp), %rdi               ## 8-byte Reload
	leaq	-1328(%rbp), %rsi
	movl	%r14d, %edx
	movq	%r15, %rcx
	pushq	%rbx
	pushq	%rax
	callq	_ffurl_open_whitelist
	addq	$16, %rsp
	testq	%rax, %rax
	js	LBB0_11
## %bb.10:
	movq	32(%r12), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	$1, 16(%r12)
	leaq	-1344(%rbp), %rdi
	callq	_av_dict_free
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %ecx
	movl	4(%r12), %r8d
	leaq	L_.str.5(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_13
LBB0_11:
	movq	-1360(%rbp), %rdi               ## 8-byte Reload
	callq	_ffurl_closep
	movq	-1352(%rbp), %rdi               ## 8-byte Reload
	callq	_ffurl_closep
	leaq	-1344(%rbp), %rdi
	callq	_av_dict_free
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %r13d
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	movl	%r13d, %eax
	addq	$1320, %rsp                     ## imm = 0x528
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"L * D must be <= 100\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_UINT16_MAX,4,2                 ## @UINT16_MAX
L_.str.1:                               ## @.str.1
	.asciz	"Invalid RTP base port %d\n"

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

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

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

	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
L_.str.5:                               ## @.str.5
	.asciz	"ProMPEG CoP#3-R2 FEC L=%d D=%d\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_prompeg_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prompeg_open
_prompeg_open:                          ; @prompeg_open
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #1328
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x24, [x0, #16]
	str	xzr, [sp, #32]
	mov	x21, x24
	str	xzr, [x21, #32]!
	mov	x20, x24
	str	xzr, [x20, #24]!
	ldp	w8, w9, [x24]
	mul	w8, w9, w8
	cmp	w8, #101
	b.lt	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldur	x8, [x29, #-72]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.2:
	add	sp, sp, #1328
	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	x28, x27, [sp], #80             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_3:
	mov	x22, x2
	str	x1, [sp, #8]
	str	wzr, [sp]
	add	x4, sp, #1064
	add	x6, sp, #28
	mov	x0, #0
	mov	w1, #0
	mov	x2, #0
	mov	w3, #0
	mov	w5, #256
	mov	x7, #0
	bl	_av_url_split
	ldr	w8, [sp, #28]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.4:
Lloh14:
	adrp	x9, _UINT16_MAX@GOTPAGE
Lloh15:
	ldr	x9, [x9, _UINT16_MAX@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	sub	w9, w9, #4
	cmp	w8, w9
	b.le	LBB0_6
LBB0_5:
Lloh17:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh20:
	adrp	x2, l_.str.1@PAGE
Lloh21:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_av_log
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_12
LBB0_6:
	ldr	x3, [x24, #8]
	cmp	x3, #1
	b.lt	LBB0_8
; %bb.7:
Lloh24:
	adrp	x2, l_.str.2@PAGE
Lloh25:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x0, sp, #40
	mov	w1, #1024
	bl	_snprintf
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #32
	add	x2, sp, #40
	mov	w3, #0
	bl	_av_dict_set
	ldr	w8, [sp, #28]
LBB0_8:
	add	w5, w8, #2
Lloh28:
	adrp	x2, l_.str.4@PAGE
Lloh29:
	add	x2, x2, l_.str.4@PAGEOFF
	add	x0, sp, #40
	add	x4, sp, #1064
	mov	w1, #1024
	mov	x3, #0
	mov	x6, #0
	bl	_ff_url_join
	add	x23, x19, #12
	ldp	w6, w5, [x19, #4]
	add	x1, sp, #40
	add	x4, sp, #32
	mov	x0, x21
	mov	x2, x22
	mov	x3, x23
	mov	x7, x19
	bl	_ffurl_open_whitelist
	tbnz	x0, #63, LBB0_11
; %bb.9:
	ldr	w8, [sp, #28]
	add	w5, w8, #4
Lloh30:
	adrp	x2, l_.str.4@PAGE
Lloh31:
	add	x2, x2, l_.str.4@PAGEOFF
	add	x0, sp, #40
	add	x4, sp, #1064
	mov	w1, #1024
	mov	x3, #0
	mov	x6, #0
	bl	_ff_url_join
	ldp	w6, w5, [x19, #4]
	add	x1, sp, #40
	add	x4, sp, #32
	mov	x0, x20
	mov	x2, x22
	mov	x3, x23
	mov	x7, x19
	bl	_ffurl_open_whitelist
	tbnz	x0, #63, LBB0_11
; %bb.10:
	ldr	x8, [x24, #32]
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w8, #1
	str	w8, [x24, #16]
	add	x0, sp, #32
	bl	_av_dict_free
Lloh32:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh33:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	ldp	w8, w9, [x24]
	stp	x8, x9, [sp]
Lloh35:
	adrp	x2, l_.str.5@PAGE
Lloh36:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_av_log
	mov	w0, #0
	b	LBB0_13
LBB0_11:
	mov	x0, x21
	bl	_ffurl_closep
	mov	x0, x20
	bl	_ffurl_closep
	add	x0, sp, #32
	bl	_av_dict_free
Lloh37:
	adrp	x8, _EIO@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_13:
	ldur	x8, [x29, #-72]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	add	sp, sp, #1328
	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	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"L * D must be <= 100\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_UINT16_MAX,4,2                 ; @UINT16_MAX
l_.str.1:                               ; @.str.1
	.asciz	"Invalid RTP base port %d\n"

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

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

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

	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
l_.str.5:                               ; @.str.5
	.asciz	"ProMPEG CoP#3-R2 FEC L=%d D=%d\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_prompeg_open
.subsections_via_symbols
