	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function flv_write_trailer
LCPI0_0:
	.quad	0x408f400000000000              ## double 1000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_flv_write_trailer:                     ## @flv_write_trailer
	.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	%rdi, %r14
	movq	16(%rdi), %r15
	movq	24(%rdi), %r12
	movq	_FLV_ADD_KEYFRAME_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r12), %r13d
	movq	%r15, %rdi
	callq	_avio_tell
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	andl	%ebx, %r13d
	je	LBB0_12
## %bb.1:
	movsd	8(%r12), %xmm0                  ## xmm0 = mem[0],zero
	movq	_SEEK_SET@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_avio_seek
	movsd	16(%r12), %xmm0                 ## xmm0 = mem[0],zero
	movq	%r15, %rdi
	callq	_put_amf_double
	movsd	24(%r12), %xmm0                 ## xmm0 = mem[0],zero
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_avio_seek
	movsd	32(%r12), %xmm0                 ## xmm0 = mem[0],zero
	movq	%r15, %rdi
	callq	_put_amf_double
	movsd	40(%r12), %xmm0                 ## xmm0 = mem[0],zero
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_avio_seek
	movsd	48(%r12), %xmm0                 ## xmm0 = mem[0],zero
	movq	%r15, %rdi
	callq	_put_amf_double
	movsd	56(%r12), %xmm0                 ## xmm0 = mem[0],zero
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_avio_seek
	movsd	64(%r12), %xmm0                 ## xmm0 = mem[0],zero
	movq	%r15, %rdi
	callq	_put_amf_double
	movsd	72(%r12), %xmm0                 ## xmm0 = mem[0],zero
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_avio_seek
	movsd	80(%r12), %xmm0                 ## xmm0 = mem[0],zero
	addsd	88(%r12), %xmm0
	movq	%r15, %rdi
	callq	_put_amf_double
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_avio_seek
	movq	%r14, %rdi
	callq	_shift_data
	testl	%eax, %eax
	js	LBB0_12
## %bb.2:
	movsd	96(%r12), %xmm0                 ## xmm0 = mem[0],zero
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_avio_seek
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_put_amf_string
	movl	160(%r12), %esi
	movq	%r15, %rdi
	callq	_put_amf_dword_array
	movq	152(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	addsd	88(%r12), %xmm0
	movq	%r15, %rdi
	callq	_put_amf_double
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_put_amf_string
	movl	160(%r12), %esi
	movq	%r15, %rdi
	callq	_put_amf_dword_array
	movq	152(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsd	8(%rbx), %xmm0                  ## xmm0 = mem[0],zero
	movq	%r15, %rdi
	callq	_put_amf_double
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_6
## %bb.7:
	movq	152(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	movq	16(%rdi), %rax
	movq	%rax, 16(%rbx)
	callq	_av_free
	jmp	LBB0_9
LBB0_10:
	movq	%rbx, %rdi
	callq	_av_free
LBB0_11:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_put_amf_string
	movq	_AMF_END_OF_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_avio_w8
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addsd	88(%r12), %xmm0
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_avio_seek
LBB0_12:
	movq	_FLV_NO_SEQUENCE_END@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	je	LBB0_13
## %bb.31:
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	callq	_av_log
LBB0_20:
	movq	%r15, %rdi
	callq	_avio_tell
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_22
## %bb.21:
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	subsd	112(%r12), %xmm0
	movsd	%xmm0, 104(%r12)
	movsd	120(%r12), %xmm0                ## xmm0 = mem[0],zero
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_avio_seek
	movsd	104(%r12), %xmm0                ## xmm0 = mem[0],zero
	movq	%r15, %rdi
	callq	_put_amf_double
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
LBB0_22:
	movl	(%r12), %eax
	movq	_FLV_NO_METADATA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_30
## %bb.23:
	movq	_FLV_NO_DURATION_FILESIZE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_30
## %bb.24:
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movsd	128(%r12), %xmm0                ## xmm0 = mem[0],zero
	movq	_SEEK_SET@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_avio_seek
	testq	%rax, %rax
	js	LBB0_25
## %bb.26:
	movsd	136(%r12), %xmm0                ## xmm0 = mem[0],zero
	divsd	LCPI0_0(%rip), %xmm0
	movq	%r15, %rdi
	callq	_put_amf_double
	jmp	LBB0_27
LBB0_13:
	movl	(%r14), %edi
	testl	%edi, %edi
	jle	LBB0_20
## %bb.14:
	xorl	%ebx, %ebx
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rax
	movq	_AV_CODEC_ID_H264@GOTPCREL(%rip), %r8
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	(%rcx), %esi
	movq	%r8, %r14
	movq	%r15, %rdi
	movq	%r15, %r13
	movq	%r12, %r15
	movq	%rax, %r12
	callq	_put_avc_eos_tag
	movq	%r12, %rax
	movq	%r15, %r12
	movq	%r13, %r15
	movq	%r14, %r8
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %edi
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%rbx
	movslq	%edi, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_20
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	8(%rcx), %rdx
	movq	(%rdx), %rsi
	cmpq	(%rax), %rsi
	jne	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	(%rcx), %rcx
	movq	8(%rdx), %rdx
	cmpq	(%r8), %rdx
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_AV_CODEC_ID_MPEG4@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_19
	jmp	LBB0_18
LBB0_25:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	callq	_av_log
LBB0_27:
	movsd	144(%r12), %xmm0                ## xmm0 = mem[0],zero
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_avio_seek
	testq	%rax, %rax
	js	LBB0_28
## %bb.29:
	movq	%r15, %rdi
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_put_amf_double
	jmp	LBB0_30
LBB0_28:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%r14, %rdi
	callq	_av_log
LBB0_30:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLV_ADD_KEYFRAME_INDEX,4,2     ## @FLV_ADD_KEYFRAME_INDEX
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"filepositions"

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

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_AMF_END_OF_OBJECT,4,2          ## @AMF_END_OF_OBJECT
	.comm	_FLV_NO_SEQUENCE_END,4,2        ## @FLV_NO_SEQUENCE_END
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
L_.str.3:                               ## @.str.3
	.asciz	"FLV no sequence end mode open\n"

	.comm	_AVMEDIA_TYPE_VIDEO,8,3         ## @AVMEDIA_TYPE_VIDEO
	.comm	_AV_CODEC_ID_H264,8,3           ## @AV_CODEC_ID_H264
	.comm	_AV_CODEC_ID_MPEG4,8,3          ## @AV_CODEC_ID_MPEG4
	.comm	_FLV_NO_METADATA,4,2            ## @FLV_NO_METADATA
	.comm	_FLV_NO_DURATION_FILESIZE,4,2   ## @FLV_NO_DURATION_FILESIZE
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.4:                               ## @.str.4
	.asciz	"Failed to update header with correct duration.\n"

L_.str.5:                               ## @.str.5
	.asciz	"Failed to update header with correct filesize.\n"

	.no_dead_strip	_flv_write_trailer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flv_write_trailer
_flv_write_trailer:                     ; @flv_write_trailer
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x0
	ldp	x20, x22, [x0, #16]
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _FLV_ADD_KEYFRAME_INDEX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FLV_ADD_KEYFRAME_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w24, w9, w8
	mov	x0, x20
	bl	_avio_tell
Lloh3:
	adrp	x23, _SEEK_SET@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SEEK_SET@GOTPAGEOFF]
	cbz	w24, LBB0_11
; %bb.1:
	fmov	d8, d0
	ldr	d0, [x22, #8]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_avio_seek
	ldr	d0, [x22, #16]
	mov	x0, x20
	bl	_put_amf_double
	ldr	d0, [x22, #24]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_avio_seek
	ldr	d0, [x22, #32]
	mov	x0, x20
	bl	_put_amf_double
	ldr	d0, [x22, #40]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_avio_seek
	ldr	d0, [x22, #48]
	mov	x0, x20
	bl	_put_amf_double
	ldr	d0, [x22, #56]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_avio_seek
	ldr	d0, [x22, #64]
	mov	x0, x20
	bl	_put_amf_double
	ldr	d0, [x22, #72]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_avio_seek
	ldp	d0, d1, [x22, #80]
	fadd	d0, d0, d1
	mov	x0, x20
	bl	_put_amf_double
	ldr	w1, [x23]
	mov	x0, x20
	fmov	d0, d8
	bl	_avio_seek
	mov	x0, x19
	bl	_shift_data
	tbnz	w0, #31, LBB0_11
; %bb.2:
	ldr	d0, [x22, #96]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_avio_seek
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_put_amf_string
	ldr	w1, [x22, #160]
	mov	x0, x20
	bl	_put_amf_dword_array
	ldr	x21, [x22, #152]
	cbz	x21, LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x21]
	ldr	d1, [x22, #88]
	fadd	d0, d0, d1
	mov	x0, x20
	bl	_put_amf_double
	ldr	x21, [x21, #16]
	cbnz	x21, LBB0_3
LBB0_4:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_put_amf_string
	ldr	w1, [x22, #160]
	mov	x0, x20
	bl	_put_amf_dword_array
	ldr	x21, [x22, #152]
	cbz	x21, LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x21, #8]
	mov	x0, x20
	bl	_put_amf_double
	ldr	x21, [x21, #16]
	cbnz	x21, LBB0_5
; %bb.6:
	ldr	x21, [x22, #152]
	cbz	x21, LBB0_10
; %bb.7:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x0, #16]
	str	x8, [x21, #16]
	bl	_av_free
	ldr	x0, [x21, #16]
	cbnz	x0, LBB0_8
LBB0_9:
	mov	x0, x21
	bl	_av_free
LBB0_10:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_put_amf_string
Lloh11:
	adrp	x8, _AMF_END_OF_OBJECT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AMF_END_OF_OBJECT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_avio_w8
	ldr	d0, [x22, #88]
	fadd	d0, d8, d0
	ldr	w1, [x23]
	mov	x0, x20
	bl	_avio_seek
LBB0_11:
	ldr	w8, [x22]
Lloh14:
	adrp	x9, _FLV_NO_SEQUENCE_END@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FLV_NO_SEQUENCE_END@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.12:
Lloh17:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x2, l_.str.3@PAGE
Lloh21:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_av_log
LBB0_13:
	mov	x0, x20
	bl	_avio_tell
	fmov	d8, d0
	cbz	w24, LBB0_15
; %bb.14:
	ldp	d1, d0, [x22, #112]
	fsub	d1, d8, d1
	str	d1, [x22, #104]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_avio_seek
	ldr	d0, [x22, #104]
	mov	x0, x20
	bl	_put_amf_double
LBB0_15:
	ldr	w8, [x22]
Lloh22:
	adrp	x9, _FLV_NO_METADATA@GOTPAGE
Lloh23:
	ldr	x9, [x9, _FLV_NO_METADATA@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_29
; %bb.16:
Lloh25:
	adrp	x9, _FLV_NO_DURATION_FILESIZE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _FLV_NO_DURATION_FILESIZE@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_29
; %bb.17:
	ldr	d0, [x22, #128]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_avio_seek
	tbnz	x0, #63, LBB0_25
; %bb.18:
	ldr	d0, [x22, #136]
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d1, x8
	fdiv	d0, d0, d1
	mov	x0, x20
	bl	_put_amf_double
	b	LBB0_26
LBB0_19:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.20:
	mov	x21, #0
Lloh28:
	adrp	x25, _AVMEDIA_TYPE_VIDEO@GOTPAGE
Lloh29:
	ldr	x25, [x25, _AVMEDIA_TYPE_VIDEO@GOTPAGEOFF]
Lloh30:
	adrp	x26, _AV_CODEC_ID_H264@GOTPAGE
Lloh31:
	ldr	x26, [x26, _AV_CODEC_ID_H264@GOTPAGEOFF]
Lloh32:
	adrp	x27, _AV_CODEC_ID_MPEG4@GOTPAGE
Lloh33:
	ldr	x27, [x27, _AV_CODEC_ID_MPEG4@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_13
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	ldr	x9, [x9, x21, lsl #3]
	ldr	x10, [x9, #8]
	ldr	x11, [x10]
	ldr	x12, [x25]
	cmp	x11, x12
	b.ne	LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x10, [x10, #8]
	ldr	x11, [x26]
	ldr	x12, [x27]
	cmp	x10, x11
	ccmp	x10, x12, #4, ne
	b.ne	LBB0_21
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x9]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_put_avc_eos_tag
	ldr	w8, [x19]
	b	LBB0_21
LBB0_25:
Lloh34:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh35:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x2, l_.str.4@PAGE
Lloh38:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_av_log
LBB0_26:
	ldr	d0, [x22, #144]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_avio_seek
	tbnz	x0, #63, LBB0_28
; %bb.27:
	mov	x0, x20
	fmov	d0, d8
	bl	_put_amf_double
	b	LBB0_29
LBB0_28:
Lloh39:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh40:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
Lloh42:
	adrp	x2, l_.str.5@PAGE
Lloh43:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_av_log
LBB0_29:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_FLV_ADD_KEYFRAME_INDEX,4,2     ; @FLV_ADD_KEYFRAME_INDEX
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"filepositions"

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

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_AMF_END_OF_OBJECT,4,2          ; @AMF_END_OF_OBJECT
	.comm	_FLV_NO_SEQUENCE_END,4,2        ; @FLV_NO_SEQUENCE_END
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
l_.str.3:                               ; @.str.3
	.asciz	"FLV no sequence end mode open\n"

	.comm	_AVMEDIA_TYPE_VIDEO,8,3         ; @AVMEDIA_TYPE_VIDEO
	.comm	_AV_CODEC_ID_H264,8,3           ; @AV_CODEC_ID_H264
	.comm	_AV_CODEC_ID_MPEG4,8,3          ; @AV_CODEC_ID_MPEG4
	.comm	_FLV_NO_METADATA,4,2            ; @FLV_NO_METADATA
	.comm	_FLV_NO_DURATION_FILESIZE,4,2   ; @FLV_NO_DURATION_FILESIZE
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.4:                               ; @.str.4
	.asciz	"Failed to update header with correct duration.\n"

l_.str.5:                               ; @.str.5
	.asciz	"Failed to update header with correct filesize.\n"

	.no_dead_strip	_flv_write_trailer
.subsections_via_symbols
