	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_globalinfo
_write_globalinfo:                      ## @write_globalinfo
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rdi), %r12
	movq	$0, -48(%rbp)
	leaq	-56(%rbp), %rdi
	callq	_avio_open_dyn_buf
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_ff_standardize_creation_time
	movl	(%r12), %edi
	movq	_AV_DICT_IGNORE_SUFFIX@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	callq	_av_dict_get
	movl	$0, %r13d
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %rbx
	xorl	%r13d, %r13d
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	callq	_add_info
	addl	%eax, %r13d
	movl	(%r12), %edi
	movl	(%r15), %ecx
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_av_dict_get
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_3
LBB0_4:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	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
	xorl	%esi, %esi
	callq	_ff_put_v
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_ff_put_v
	movq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_avio_close_dyn_buf
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_avio_write
	movq	-48(%rbp), %rdi
	callq	_av_free
	xorl	%eax, %eax
LBB0_5:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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
	.no_dead_strip	_write_globalinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_globalinfo
_write_globalinfo:                      ; @write_globalinfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x1
	ldr	x20, [x0]
	str	xzr, [sp]
	add	x0, sp, #8
	bl	_avio_open_dyn_buf
	tbnz	w0, #31, LBB0_6
; %bb.1:
	mov	x0, x20
	bl	_ff_standardize_creation_time
	ldr	w0, [x20]
Lloh0:
	adrp	x24, _AV_DICT_IGNORE_SUFFIX@GOTPAGE
Lloh1:
	ldr	x24, [x24, _AV_DICT_IGNORE_SUFFIX@GOTPAGEOFF]
	ldr	w3, [x24]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	bl	_av_dict_get
	cbz	x0, LBB0_4
; %bb.2:
	mov	x22, x0
	mov	w21, #0
Lloh4:
	adrp	x23, l_.str@PAGE
Lloh5:
	add	x23, x23, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #8]
	ldp	w2, w1, [x22]
	bl	_add_info
	add	w21, w21, w0
	ldr	w0, [x20]
	ldr	w3, [x24]
	mov	x1, x23
	mov	x2, x22
	bl	_av_dict_get
	mov	x22, x0
	cbnz	x0, LBB0_3
	b	LBB0_5
LBB0_4:
	mov	w21, #0
LBB0_5:
	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	w1, #0
	bl	_ff_put_v
	mov	x0, x19
	mov	x1, x21
	bl	_ff_put_v
	ldr	x0, [sp, #8]
	mov	x1, sp
	bl	_avio_close_dyn_buf
	mov	x2, x0
	ldr	x1, [sp]
	mov	x0, x19
	bl	_avio_write
	ldr	x0, [sp]
	bl	_av_free
	mov	w0, #0
LBB0_6:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.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
	.no_dead_strip	_write_globalinfo
.subsections_via_symbols
