	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_sdp
_print_sdp:                             ## @print_sdp
	.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	$16408, %eax                    ## imm = 0x4018
	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
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_nb_output_files@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	testl	%edi, %edi
	jle	LBB0_4
## %bb.1:
	movq	_output_files@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rcx,8), %rdx
	cmpl	$0, 8(%rdx)
	je	LBB0_18
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rcx
	cmpq	%rcx, %rdi
	jne	LBB0_3
LBB0_4:
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$8, %esi
	callq	_av_malloc_array
	movq	%rax, -16440(%rbp)
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	$1, %edi
	callq	_exit_program
LBB0_6:
	cmpl	$0, (%r15)
	jle	LBB0_17
## %bb.7:
	xorl	%ebx, %ebx
	movq	_output_files@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r14
	xorl	%r12d, %r12d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rax
	movq	-16440(%rbp), %rcx
	movslq	%r12d, %r12
	movq	%rax, (%rcx,%r12,8)
	incl	%r12d
	jmp	LBB0_10
LBB0_11:
	testl	%r12d, %r12d
	je	LBB0_17
## %bb.12:
	movq	-16440(%rbp), %rdi
	leaq	-16432(%rbp), %rdx
	movl	%r12d, %esi
	movl	$16384, %ecx                    ## imm = 0x4000
	callq	_av_sdp_create
	movq	_sdp_filename@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.14:
	movq	_AVIO_FLAG_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_int_cb@GOTPCREL(%rip), %rcx
	leaq	-16448(%rbp), %rdi
	xorl	%r8d, %r8d
	callq	_avio_open2
	testq	%rax, %rax
	js	LBB0_15
## %bb.16:
	movq	-16448(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	-16432(%rbp), %rdx
	callq	_avio_printf
	leaq	-16448(%rbp), %rdi
	callq	_avio_closep
	movq	_sdp_filename@GOTPCREL(%rip), %rdi
	callq	_av_freep
	jmp	LBB0_17
LBB0_13:
	leaq	L_.str.1(%rip), %rdi
	leaq	-16432(%rbp), %rsi
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	jmp	LBB0_17
LBB0_15:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rcx
	leaq	L_.str.2(%rip), %rdx
	xorl	%edi, %edi
	callq	_av_log
LBB0_17:
	leaq	-16440(%rbp), %rdi
	callq	_av_freep
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	addq	$16408, %rsp                    ## imm = 0x4018
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_nb_output_files,4,2            ## @nb_output_files
	.comm	_output_files,8,3               ## @output_files
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rtp"

	.comm	_sdp_filename,8,3               ## @sdp_filename
L_.str.1:                               ## @.str.1
	.asciz	"SDP:\n%s\n"

	.comm	_stdout,4,2                     ## @stdout
	.comm	_AVIO_FLAG_WRITE,4,2            ## @AVIO_FLAG_WRITE
	.comm	_int_cb,4,2                     ## @int_cb
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"Failed to open sdp file '%s'\n"

L_.str.3:                               ## @.str.3
	.asciz	"SDP:\n%s"

	.no_dead_strip	_print_sdp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_sdp
_print_sdp:                             ; @print_sdp
	.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	w9, #16416
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #4, lsl #12             ; =16384
	sub	sp, sp, #32
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh5:
	adrp	x21, _nb_output_files@GOTPAGE
Lloh6:
	ldr	x21, [x21, _nb_output_files@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh7:
	adrp	x22, _output_files@GOTPAGE
Lloh8:
	ldr	x22, [x22, _output_files@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	ldr	x8, [x22]
	mov	x9, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	ldr	w10, [x10, #8]
	cbz	w10, LBB0_18
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #8
	subs	x9, x9, #1
	b.ne	LBB0_2
LBB0_4:
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #8
	bl	_av_malloc_array
	str	x0, [sp, #8]
	cbnz	x0, LBB0_6
; %bb.5:
	mov	w0, #1
	bl	_exit_program
LBB0_6:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.7:
	mov	x23, #0
	mov	w19, #0
Lloh9:
	adrp	x20, l_.str@PAGE
Lloh10:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x21]
	cmp	x23, x8
	b.ge	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x8, [x8, x23, lsl #3]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_strcmp
	cbnz	w0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x22]
	ldr	x8, [x8, x23, lsl #3]
	ldr	x8, [x8]
	ldr	x9, [sp, #8]
	str	x8, [x9, w19, sxtw #3]
	add	w19, w19, #1
	b	LBB0_8
LBB0_11:
	cbz	w19, LBB0_17
; %bb.12:
	ldr	x0, [sp, #8]
	add	x2, sp, #24
	mov	x1, x19
	mov	w3, #16384
	bl	_av_sdp_create
Lloh11:
	adrp	x19, _sdp_filename@GOTPAGE
Lloh12:
	ldr	x19, [x19, _sdp_filename@GOTPAGEOFF]
	ldr	x1, [x19]
	cbz	x1, LBB0_15
; %bb.13:
Lloh13:
	adrp	x8, _AVIO_FLAG_WRITE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AVIO_FLAG_WRITE@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x3, _int_cb@GOTPAGE
Lloh17:
	ldr	x3, [x3, _int_cb@GOTPAGEOFF]
	add	x0, sp, #16
	mov	x4, #0
	bl	_avio_open2
	tbnz	x0, #63, LBB0_16
; %bb.14:
	ldr	x0, [sp, #16]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #24
	bl	_avio_printf
	add	x0, sp, #16
	bl	_avio_closep
Lloh20:
	adrp	x0, _sdp_filename@GOTPAGE
Lloh21:
	ldr	x0, [x0, _sdp_filename@GOTPAGEOFF]
	bl	_av_freep
	b	LBB0_17
LBB0_15:
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #24
	bl	_printf
Lloh24:
	adrp	x8, _stdout@GOTPAGE
Lloh25:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_fflush
	b	LBB0_17
LBB0_16:
Lloh27:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ldr	x3, [x19]
Lloh30:
	adrp	x2, l_.str.2@PAGE
Lloh31:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, #0
	bl	_av_log
LBB0_17:
	add	x0, sp, #8
	bl	_av_freep
LBB0_18:
	ldur	x8, [x29, #-56]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	add	sp, sp, #4, lsl #12             ; =16384
	add	sp, sp, #32
	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
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_nb_output_files,4,2            ; @nb_output_files
	.comm	_output_files,8,3               ; @output_files
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rtp"

	.comm	_sdp_filename,8,3               ; @sdp_filename
l_.str.1:                               ; @.str.1
	.asciz	"SDP:\n%s\n"

	.comm	_stdout,4,2                     ; @stdout
	.comm	_AVIO_FLAG_WRITE,4,2            ; @AVIO_FLAG_WRITE
	.comm	_int_cb,4,2                     ; @int_cb
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"Failed to open sdp file '%s'\n"

l_.str.3:                               ; @.str.3
	.asciz	"SDP:\n%s"

	.no_dead_strip	_print_sdp
.subsections_via_symbols
