	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function track_header
_track_header:                          ## @track_header
	.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	$1112, %rsp                     ## imm = 0x458
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rdi
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, (%rsp)
	movl	%ecx, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_avio_alloc_context
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_ffio_read_varlen
	movq	%r14, %rdi
	callq	_avio_r8
	movq	%r14, %rdi
	callq	_ffio_read_varlen
	testl	%eax, %eax
	jle	LBB0_9
## %bb.4:
	movl	%eax, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%r12d
	cmpl	%r15d, %r12d
	je	LBB0_9
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	%r14, %rdi
	callq	_avio_r8
	testl	%eax, %eax
	jle	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	callq	_avio_r8
	movq	%r14, %rdi
	callq	_avio_r8
	decl	%ebx
	jne	LBB0_7
	jmp	LBB0_8
LBB0_9:
	movq	%r14, %rdi
	callq	_avio_r8
	movq	%r14, %rdi
	callq	_avio_tell
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_ffio_read_varlen
	addl	%eax, %r15d
	movq	%r14, %rdi
	callq	_avio_r8
	movq	%r14, %rdi
	callq	_avio_r8
	movl	%eax, %ebx
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_avio_seek
	cmpl	$1, %ebx
	movq	%rbx, -1128(%rbp)               ## 8-byte Spill
	je	LBB0_11
## %bb.10:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movl	%ebx, %ecx
	callq	_av_log
	testl	%ebx, %ebx
	jle	LBB0_13
LBB0_11:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_avformat_new_stream
	movq	%rax, %rbx
	movl	%r15d, (%rax)
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rbx), %rcx
	movl	%eax, 36(%rcx)
	movq	_AV_CODEC_ID_VP6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rcx)
	movq	%r14, %rdi
	callq	_avio_tell
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_ffio_read_varlen
	addl	%eax, %r12d
	movq	%r14, %rdi
	callq	_avio_r8
	movq	%r14, %rdi
	callq	_avio_r8
	movq	%r14, %rdi
	callq	_avio_rl32
	movq	%rax, 32(%rbx)
	movq	%r14, %rdi
	callq	_avio_rl32
	movq	%rax, 24(%rbx)
	movq	%r14, %rdi
	callq	_avio_rl32
	movq	%rax, 16(%rbx)
	movq	%r14, %rdi
	callq	_avio_rl16
	movq	8(%rbx), %rcx
	movq	%rax, 48(%rcx)
	movq	%r14, %rdi
	callq	_avio_rl16
	movq	8(%rbx), %rcx
	movq	%rax, 40(%rcx)
	movq	%r14, %rdi
	callq	_avio_r8
	movq	%r14, %rdi
	callq	_avio_rl32
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	-1128(%rbp), %rbx               ## 8-byte Reload
	callq	_avio_seek
	incl	%r15d
	cmpl	%r15d, %ebx
	jne	LBB0_12
LBB0_13:
	movq	%r14, %rdi
	callq	_avio_tell
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_ffio_read_varlen
	addl	%eax, %r15d
	movq	%r14, %rdi
	callq	_avio_r8
	movq	%r14, %rdi
	callq	_avio_r8
	movq	_SEEK_SET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %r15d
	callq	_avio_seek
	cmpl	$1, %r15d
	movq	%r13, -1112(%rbp)               ## 8-byte Spill
	je	LBB0_15
## %bb.14:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	-1112(%rbp), %rdi               ## 8-byte Reload
	movl	%r15d, %ecx
	callq	_av_log
	testl	%r15d, %r15d
	jle	LBB0_39
LBB0_15:
	xorl	%r13d, %r13d
	movl	%r15d, -1076(%rbp)              ## 4-byte Spill
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	-1136(%rbp), %r13               ## 8-byte Reload
LBB0_38:                                ##   in Loop: Header=BB0_16 Depth=1
	incl	%r13d
	cmpl	%r15d, %r13d
	movq	-1128(%rbp), %rbx               ## 8-byte Reload
	je	LBB0_39
LBB0_16:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
                                        ##     Child Loop BB0_27 Depth 2
                                        ##     Child Loop BB0_32 Depth 2
	movq	-1112(%rbp), %rdi               ## 8-byte Reload
	xorl	%esi, %esi
	callq	_avformat_new_stream
	movq	%rax, %r15
	leal	(%rbx,%r13), %eax
	movl	%eax, (%r15)
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r15), %rcx
	movl	%eax, 36(%rcx)
	movq	_AV_CODEC_ID_VORBIS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rcx)
	movq	%r14, %rdi
	callq	_avio_tell
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_ffio_read_varlen
	movl	%eax, %r12d
	addl	%ebx, %r12d
	movq	%r14, %rdi
	callq	_avio_r8
	movq	%r14, %rdi
	callq	_avio_r8
	movq	%r14, %rdi
	callq	_avio_rl16
	movq	%r14, %rdi
	callq	_avio_rl16
	movq	8(%r15), %rcx
	movq	%rax, 24(%rcx)
	movq	%r14, %rdi
	callq	_avio_rl32
	movq	%r15, -1096(%rbp)               ## 8-byte Spill
	movq	8(%r15), %rcx
	movl	-1076(%rbp), %r15d              ## 4-byte Reload
	movq	%rax, 16(%rcx)
	movq	_SEEK_CUR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_avio_seek
	movq	%r14, %rdi
	callq	_avio_r8
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_avio_seek
	movq	%r14, %rdi
	callq	_avio_r8
	movq	%r14, %rdi
	callq	_avio_tell
	cmpl	%r12d, %eax
	jge	LBB0_38
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%r13, -1136(%rbp)               ## 8-byte Spill
	movq	%r14, %rdi
	callq	_ffio_read_varlen
	movq	%r14, %rdi
	callq	_avio_r8
	movq	%r14, %rdi
	callq	_ffio_read_varlen
	movq	%r14, %rdi
	callq	_avio_r8
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	movq	%rax, -1088(%rbp)               ## 8-byte Spill
	jle	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	%eax, %r15d
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	movq	_INT_MAX@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	callq	_ffio_read_varlen
	movl	(%r13), %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	subl	%r12d, %edx
	cmpl	%edx, %eax
	jg	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=2
	movl	%eax, -1072(%rbp,%rbx,4)
	addl	%eax, %r12d
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_20
	jmp	LBB0_23
LBB0_18:                                ##   in Loop: Header=BB0_16 Depth=1
	xorl	%r12d, %r12d
LBB0_23:                                ##   in Loop: Header=BB0_16 Depth=1
	movslq	%r12d, %rax
	imulq	$-2139062143, %rax, %rcx        ## imm = 0x80808081
	shrq	$32, %rcx
	addl	%eax, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$7, %ecx
	addl	%edx, %ecx
	leal	(%rax,%rcx), %esi
	addl	$64, %esi
	movq	-1096(%rbp), %rbx               ## 8-byte Reload
	movq	8(%rbx), %rdi
	movl	%esi, (%rdi)
	callq	_ff_alloc_extradata
	testq	%rax, %rax
	jne	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	8(%rbx), %rax
	movq	8(%rax), %rax
	movq	%rax, -1120(%rbp)               ## 8-byte Spill
	movl	$2, (%rax)
	movl	$1, %r12d
	cmpl	$2, -1088(%rbp)                 ## 4-byte Folded Reload
	jl	LBB0_29
## %bb.26:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	-1088(%rbp), %rax               ## 8-byte Reload
	decl	%eax
	movq	%rax, -1104(%rbp)               ## 8-byte Spill
	movl	$1, %r15d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%r15d, %rax
	movq	-1120(%rbp), %rcx               ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdi
	movl	-1072(%rbp,%r13,4), %ebx
	movl	%ebx, %esi
	callq	_av_xiphlacing
	cmpl	%ebx, %eax
	ja	LBB0_21
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=2
	movl	%eax, %r12d
	addl	%r15d, %r12d
	incq	%r13
	movl	%r12d, %r15d
	cmpq	%r13, -1104(%rbp)               ## 8-byte Folded Reload
	jne	LBB0_27
LBB0_29:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	-1088(%rbp), %rax               ## 8-byte Reload
	testl	%eax, %eax
	jle	LBB0_30
## %bb.31:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	%eax, %eax
	movq	%rax, -1104(%rbp)               ## 8-byte Spill
	xorl	%r13d, %r13d
	movl	-1076(%rbp), %r15d              ## 4-byte Reload
	.p2align	4, 0x90
LBB0_32:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%r12d, %rax
	movq	-1120(%rbp), %rcx               ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	movl	-1072(%rbp,%r13,4), %ebx
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_avio_read
	cmpl	%ebx, %eax
	jl	LBB0_33
## %bb.34:                              ##   in Loop: Header=BB0_32 Depth=2
	addl	%ebx, %r12d
	incq	%r13
	cmpq	%r13, -1104(%rbp)               ## 8-byte Folded Reload
	jne	LBB0_32
	jmp	LBB0_35
LBB0_30:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	-1076(%rbp), %r15d              ## 4-byte Reload
	jmp	LBB0_35
LBB0_33:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	-1096(%rbp), %rax               ## 8-byte Reload
	movq	8(%rax), %rdi
	movl	$0, (%rdi)
	addq	$8, %rdi
	callq	_av_freep
LBB0_35:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	-1096(%rbp), %rax               ## 8-byte Reload
	movq	8(%rax), %rax
	cmpl	(%rax), %r12d
	jge	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	%r12d, (%rax)
	jmp	LBB0_37
LBB0_21:
	movq	%r14, %rdi
	callq	_av_free
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_40
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_42
## %bb.2:
	addq	$1112, %rsp                     ## imm = 0x458
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_39:
	movq	%r14, %rdi
	callq	_av_free
	xorl	%eax, %eax
LBB0_40:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_42
## %bb.41:
	addq	$1112, %rsp                     ## imm = 0x458
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	%r14, %rdi
	callq	_av_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_40
LBB0_42:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"number of video tracks %d is not 1\n"

	.comm	_AVMEDIA_TYPE_VIDEO,4,2         ## @AVMEDIA_TYPE_VIDEO
	.comm	_AV_CODEC_ID_VP6,4,2            ## @AV_CODEC_ID_VP6
L_.str.1:                               ## @.str.1
	.asciz	"number of audio tracks %d is not 1\n"

	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ## @AVMEDIA_TYPE_AUDIO
	.comm	_AV_CODEC_ID_VORBIS,4,2         ## @AV_CODEC_ID_VORBIS
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_track_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function track_header
_track_header:                          ; @track_header
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #1056
	mov	x0, 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, #-96]
	mov	x1, x3
	mov	w2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	bl	_avio_alloc_context
	cbz	x0, LBB0_34
; %bb.1:
	mov	x20, x0
	bl	_ffio_read_varlen
	mov	x0, x20
	bl	_avio_r8
	mov	x0, x20
	bl	_ffio_read_varlen
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x21, x0
	mov	w23, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #1
	cmp	w23, w21
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x0, x20
	bl	_avio_r8
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x0
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_avio_r8
	mov	x0, x20
	bl	_avio_r8
	subs	w22, w22, #1
	b.ne	LBB0_6
	b	LBB0_3
LBB0_7:
	mov	x0, x20
	bl	_avio_r8
	mov	x0, x20
	bl	_avio_tell
	mov	x21, x0
	mov	x0, x20
	bl	_ffio_read_varlen
	add	w22, w0, w21
	mov	x0, x20
	bl	_avio_r8
	mov	x0, x20
	bl	_avio_r8
	mov	x21, x0
Lloh3:
	adrp	x24, _SEEK_SET@GOTPAGE
Lloh4:
	ldr	x24, [x24, _SEEK_SET@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x22
	bl	_avio_seek
	cmp	w21, #1
	b.eq	LBB0_9
; %bb.8:
Lloh5:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x21
	bl	_av_log
	cmp	w21, #1
	b.lt	LBB0_11
LBB0_9:
	mov	w25, #0
Lloh10:
	adrp	x26, _AVMEDIA_TYPE_VIDEO@GOTPAGE
Lloh11:
	ldr	x26, [x26, _AVMEDIA_TYPE_VIDEO@GOTPAGEOFF]
Lloh12:
	adrp	x27, _AV_CODEC_ID_VP6@GOTPAGE
Lloh13:
	ldr	x27, [x27, _AV_CODEC_ID_VP6@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, #0
	bl	_avformat_new_stream
	mov	x22, x0
	str	w25, [x0]
	ldr	w8, [x26]
	ldr	x9, [x0, #8]
	ldr	w10, [x27]
	stp	w10, w8, [x9, #32]
	mov	x0, x20
	bl	_avio_tell
	mov	x23, x0
	mov	x0, x20
	bl	_ffio_read_varlen
	add	w23, w0, w23
	mov	x0, x20
	bl	_avio_r8
	mov	x0, x20
	bl	_avio_r8
	mov	x0, x20
	bl	_avio_rl32
	str	x0, [x22, #32]
	mov	x0, x20
	bl	_avio_rl32
	str	x0, [x22, #24]
	mov	x0, x20
	bl	_avio_rl32
	str	x0, [x22, #16]
	mov	x0, x20
	bl	_avio_rl16
	ldr	x8, [x22, #8]
	str	x0, [x8, #48]
	mov	x0, x20
	bl	_avio_rl16
	ldr	x8, [x22, #8]
	str	x0, [x8, #40]
	mov	x0, x20
	bl	_avio_r8
	mov	x0, x20
	bl	_avio_rl32
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x23
	bl	_avio_seek
	add	w25, w25, #1
	cmp	w21, w25
	b.ne	LBB0_10
LBB0_11:
	mov	x0, x20
	bl	_avio_tell
	mov	x22, x0
	mov	x0, x20
	bl	_ffio_read_varlen
	add	w23, w0, w22
	mov	x0, x20
	bl	_avio_r8
	mov	x0, x20
	bl	_avio_r8
	mov	x28, x0
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x23
	bl	_avio_seek
	cmp	w28, #1
	b.eq	LBB0_13
; %bb.12:
Lloh14:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, x28
	bl	_av_log
	cmp	w28, #1
	b.lt	LBB0_36
LBB0_13:
	mov	w26, #0
Lloh19:
	adrp	x25, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh20:
	ldr	x25, [x25, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
Lloh21:
	adrp	x27, _AV_CODEC_ID_VORBIS@GOTPAGE
Lloh22:
	ldr	x27, [x27, _AV_CODEC_ID_VORBIS@GOTPAGEOFF]
	str	w28, [sp, #8]                   ; 4-byte Folded Spill
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w28, [sp, #8]                   ; 4-byte Folded Reload
Lloh23:
	adrp	x25, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh24:
	ldr	x25, [x25, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
Lloh25:
	adrp	x27, _AV_CODEC_ID_VORBIS@GOTPAGE
Lloh26:
	ldr	x27, [x27, _AV_CODEC_ID_VORBIS@GOTPAGEOFF]
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	w26, w26, #1
	cmp	w26, w28
	b.eq	LBB0_36
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
                                        ;     Child Loop BB0_24 Depth 2
                                        ;     Child Loop BB0_28 Depth 2
	mov	x0, x19
	mov	x1, #0
	bl	_avformat_new_stream
	mov	x23, x0
	add	w8, w26, w21
	str	w8, [x0]
	ldr	w8, [x25]
	ldr	x9, [x0, #8]
	ldr	w10, [x27]
	stp	w10, w8, [x9, #32]
	mov	x0, x20
	bl	_avio_tell
	mov	x24, x0
	mov	x0, x20
	bl	_ffio_read_varlen
	add	w22, w0, w24
	mov	x0, x20
	bl	_avio_r8
	mov	x0, x20
	bl	_avio_r8
	mov	x0, x20
	bl	_avio_rl16
	mov	x0, x20
	bl	_avio_rl16
	ldr	x8, [x23, #8]
	str	x0, [x8, #24]
	mov	x0, x20
	bl	_avio_rl32
	ldr	x8, [x23, #8]
	str	x0, [x8, #16]
Lloh27:
	adrp	x24, _SEEK_CUR@GOTPAGE
Lloh28:
	ldr	x24, [x24, _SEEK_CUR@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x20
	mov	w1, #10
	bl	_avio_seek
	mov	x0, x20
	bl	_avio_r8
	mov	x1, x0
	ldr	w2, [x24]
	mov	x0, x20
	bl	_avio_seek
	mov	x0, x20
	bl	_avio_r8
	mov	x0, x20
	bl	_avio_tell
	cmp	w0, w22
	b.ge	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x20
	bl	_ffio_read_varlen
	mov	x0, x20
	bl	_avio_r8
	mov	x0, x20
	bl	_ffio_read_varlen
	mov	x0, x20
	bl	_avio_r8
	cmp	w0, #1
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	mov	w22, #0
	b.lt	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	w25, w0
	add	x27, sp, #16
Lloh29:
	adrp	x24, _INT_MAX@GOTPAGE
Lloh30:
	ldr	x24, [x24, _INT_MAX@GOTPAGEOFF]
LBB0_19:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_ffio_read_varlen
	ldr	w8, [x24]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	sub	w8, w8, w22
	cmp	w0, w8
	b.gt	LBB0_33
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	str	w0, [x27], #4
	add	w22, w0, w22
	subs	x25, x25, #1
	b.ne	LBB0_19
LBB0_21:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	w8, #32897
	movk	w8, #32896, lsl #16
	smull	x8, w22, w8
	lsr	x8, x8, #32
	add	w8, w8, w22
	asr	w9, w8, #7
	add	w8, w9, w8, lsr #31
	add	w8, w22, w8
	add	w1, w8, #64
	ldr	x0, [x23, #8]
	str	w1, [x0]
	bl	_ff_alloc_extradata
	cbnz	x0, LBB0_39
; %bb.22:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x23, #8]
	ldr	x22, [x8, #8]
	mov	w8, #2
	str	w8, [x22]
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	mov	w27, #1
	subs	w28, w8, #1
	b.le	LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x24, sp, #16
LBB0_24:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, x22, w27, sxtw #2
	ldr	w25, [x24]
	mov	x1, x25
	bl	_av_xiphlacing
	cmp	w0, w25
	b.hi	LBB0_33
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=2
	add	w27, w0, w27
	add	x24, x24, #4
	subs	x28, x28, #1
	b.ne	LBB0_24
LBB0_26:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_31
; %bb.27:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	w25, w8
	add	x28, sp, #16
LBB0_28:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x1, x22, w27, sxtw #2
	ldr	w24, [x28]
	mov	x0, x20
	mov	x2, x24
	bl	_avio_read
	cmp	w0, w24
	b.lt	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=2
	add	w27, w24, w27
	add	x28, x28, #4
	subs	x25, x25, #1
	b.ne	LBB0_28
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x0, [x23, #8]
	str	wzr, [x0], #8
	bl	_av_freep
LBB0_31:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x23, #8]
	ldr	w9, [x8]
	cmp	w27, w9
	b.ge	LBB0_14
; %bb.32:                               ;   in Loop: Header=BB0_16 Depth=1
	str	w27, [x8]
	b	LBB0_14
LBB0_33:
	mov	x0, x20
	bl	_av_free
Lloh31:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh32:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	b	LBB0_37
LBB0_34:
Lloh34:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	ldur	x8, [x29, #-96]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.35:
	add	sp, sp, #1056
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_36:
	mov	x0, x20
	bl	_av_free
	mov	w0, #0
LBB0_37:
	ldur	x8, [x29, #-96]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.38:
	add	sp, sp, #1056
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_39:
	mov	x0, x20
	bl	_av_free
Lloh43:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_37
LBB0_40:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"number of video tracks %d is not 1\n"

	.comm	_AVMEDIA_TYPE_VIDEO,4,2         ; @AVMEDIA_TYPE_VIDEO
	.comm	_AV_CODEC_ID_VP6,4,2            ; @AV_CODEC_ID_VP6
l_.str.1:                               ; @.str.1
	.asciz	"number of audio tracks %d is not 1\n"

	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ; @AVMEDIA_TYPE_AUDIO
	.comm	_AV_CODEC_ID_VORBIS,4,2         ; @AV_CODEC_ID_VORBIS
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_track_header
.subsections_via_symbols
