	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_streaminfo
_write_streaminfo:                      ## @write_streaminfo
	.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	$1064, %rsp                     ## imm = 0x428
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movslq	%edx, %rcx
	movq	(%rax,%rcx,8), %r14
	movq	$0, -1096(%rbp)
	leaq	-1088(%rbp), %rdi
	callq	_avio_open_dyn_buf
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%ebx, -1076(%rbp)               ## 4-byte Spill
	movq	%r15, -1104(%rbp)               ## 8-byte Spill
	movl	32(%r14), %edi
	movq	_AV_DICT_IGNORE_SUFFIX@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	xorl	%edx, %edx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rbx
	xorl	%r13d, %r13d
	leaq	L_.str(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-1088(%rbp), %rdi
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdx
	callq	_add_info
	addl	%eax, %r13d
	movl	32(%r14), %edi
	movl	(%r15), %ecx
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_av_dict_get
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
LBB0_5:
	movq	_ff_nut_dispositions@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_10
## %bb.6:
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	16(%rax,%rbx), %ecx
	addq	$16, %rbx
	testl	%ecx, %ecx
	je	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ecx, (%r14)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-1088(%rbp), %rdi
	movq	8(%rax,%rbx), %rdx
	movq	%r12, %rsi
	callq	_add_info
	addl	%eax, %r13d
	movq	(%r15), %rax
	jmp	LBB0_9
LBB0_10:
	movq	24(%r14), %rax
	movq	(%rax), %rax
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.12:
	movl	12(%r14), %ecx
	testl	%ecx, %ecx
	movl	-1076(%rbp), %r15d              ## 4-byte Reload
	jle	LBB0_14
## %bb.13:
	movl	16(%r14), %r8d
	testl	%r8d, %r8d
	jg	LBB0_15
LBB0_14:
	movl	4(%r14), %ecx
	movl	8(%r14), %r8d
LBB0_15:
	leaq	L_.str.2(%rip), %rdx
	leaq	-1072(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_snprintf
	movq	-1088(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	-1072(%rbp), %rdx
	callq	_add_info
	addl	%eax, %r13d
	jmp	LBB0_16
LBB0_1:
	movl	%eax, %r13d
	jmp	LBB0_19
LBB0_11:
	movl	-1076(%rbp), %r15d              ## 4-byte Reload
LBB0_16:
	movq	-1088(%rbp), %rdi
	leaq	-1096(%rbp), %rsi
	callq	_avio_close_dyn_buf
	testl	%r13d, %r13d
	je	LBB0_18
## %bb.17:
	movl	%eax, %r14d
	incl	%r15d
	movq	-1104(%rbp), %rbx               ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_ff_put_v
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ff_put_v
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ff_put_v
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ff_put_v
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_ff_put_v
	movq	-1096(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_avio_write
LBB0_18:
	movq	-1096(%rbp), %rdi
	callq	_av_free
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movl	%r13d, %eax
	addq	$1064, %rsp                     ## imm = 0x428
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_AV_DICT_IGNORE_SUFFIX,4,2      ## @AV_DICT_IGNORE_SUFFIX
	.comm	_ff_nut_dispositions,8,3        ## @ff_nut_dispositions
L_.str.1:                               ## @.str.1
	.asciz	"Disposition"

	.comm	_AVMEDIA_TYPE_VIDEO,8,3         ## @AVMEDIA_TYPE_VIDEO
L_.str.2:                               ## @.str.2
	.asciz	"%d/%d"

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

	.no_dead_strip	_write_streaminfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_streaminfo
_write_streaminfo:                      ; @write_streaminfo
	.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
	sub	sp, sp, #1056
	mov	x21, x2
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x24, [x8, w2, sxtw #3]
	str	xzr, [sp, #8]
	add	x0, sp, #16
	bl	_avio_open_dyn_buf
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldr	w0, [x24, #32]
Lloh3:
	adrp	x25, _AV_DICT_IGNORE_SUFFIX@GOTPAGE
Lloh4:
	ldr	x25, [x25, _AV_DICT_IGNORE_SUFFIX@GOTPAGEOFF]
	ldr	w3, [x25]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	bl	_av_dict_get
	cbz	x0, LBB0_5
; %bb.2:
	mov	x22, x0
	mov	w20, #0
Lloh7:
	adrp	x23, l_.str@PAGE
Lloh8:
	add	x23, x23, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #16]
	ldp	x1, x2, [x22]
	bl	_add_info
	add	w20, w20, w0
	ldr	w0, [x24, #32]
	ldr	w3, [x25]
	mov	x1, x23
	mov	x2, x22
	bl	_av_dict_get
	mov	x22, x0
	cbnz	x0, LBB0_3
	b	LBB0_6
LBB0_4:
	mov	x20, x0
	b	LBB0_19
LBB0_5:
	mov	w20, #0
LBB0_6:
Lloh9:
	adrp	x23, _ff_nut_dispositions@GOTPAGE
Lloh10:
	ldr	x23, [x23, _ff_nut_dispositions@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	w9, [x8]
	cbz	w9, LBB0_11
; %bb.7:
	mov	x25, #0
Lloh11:
	adrp	x22, l_.str.1@PAGE
Lloh12:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x9, x8, x25
	ldr	w9, [x9, #16]
	add	x25, x25, #16
	cbz	w9, LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x24]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [sp, #16]
	add	x8, x8, x25
	ldr	x2, [x8, #8]
	mov	x1, x22
	bl	_add_info
	add	w20, w20, w0
	ldr	x8, [x23]
	b	LBB0_8
LBB0_11:
	ldr	x8, [x24, #24]
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _AVMEDIA_TYPE_VIDEO@GOTPAGE
Lloh14:
	ldr	x9, [x9, _AVMEDIA_TYPE_VIDEO@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.12:
	ldr	w3, [x24, #12]
	cmp	w3, #1
	b.lt	LBB0_14
; %bb.13:
	ldr	w4, [x24, #16]
	cmp	w4, #1
	b.ge	LBB0_15
LBB0_14:
	ldp	w3, w4, [x24, #4]
LBB0_15:
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x0, sp, #24
	mov	w1, #1024
	bl	_snprintf
	ldr	x0, [sp, #16]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #24
	bl	_add_info
	add	w20, w20, w0
LBB0_16:
	ldr	x0, [sp, #16]
	add	x1, sp, #8
	bl	_avio_close_dyn_buf
	cbz	w20, LBB0_18
; %bb.17:
	mov	x22, x0
	add	w1, w21, #1
	mov	x0, x19
	bl	_ff_put_v
	mov	x0, x19
	mov	w1, #0
	bl	_ff_put_v
	mov	x0, x19
	mov	w1, #0
	bl	_ff_put_v
	mov	x0, x19
	mov	w1, #0
	bl	_ff_put_v
	mov	x0, x19
	mov	x1, x20
	bl	_ff_put_v
	ldr	x1, [sp, #8]
	mov	x0, x19
	mov	x2, x22
	bl	_avio_write
LBB0_18:
	ldr	x0, [sp, #8]
	bl	_av_free
LBB0_19:
	ldur	x8, [x29, #-72]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	mov	x0, x20
	add	sp, sp, #1056
	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
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_AV_DICT_IGNORE_SUFFIX,4,2      ; @AV_DICT_IGNORE_SUFFIX
	.comm	_ff_nut_dispositions,8,3        ; @ff_nut_dispositions
l_.str.1:                               ; @.str.1
	.asciz	"Disposition"

	.comm	_AVMEDIA_TYPE_VIDEO,8,3         ; @AVMEDIA_TYPE_VIDEO
l_.str.2:                               ; @.str.2
	.asciz	"%d/%d"

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

	.no_dead_strip	_write_streaminfo
.subsections_via_symbols
