	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function subviewer_read_header
_subviewer_read_header:                 ## @subviewer_read_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	$2264, %rsp                     ## imm = 0x8D8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %r12
	xorl	%esi, %esi
	callq	_avformat_new_stream
	movq	%rax, %rbx
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -2288(%rbp)
	movl	$-1, -2268(%rbp)
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.3:
	movl	(%r14), %edi
	movl	$3, %esi
	callq	_ffio_ensure_seekback
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_56
## %bb.4:
	movl	(%r14), %edi
	callq	_avio_rb24
	cmpl	$15711167, %eax                 ## imm = 0xEFBBBF
	je	LBB0_6
## %bb.5:
	movl	(%r14), %edi
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$-3, %esi
	callq	_avio_seek
LBB0_6:
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$100, %ecx
	callq	_avpriv_set_pts_info
	movq	_AVMEDIA_TYPE_SUBTITLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, 8(%rcx)
	movq	_AV_CODEC_ID_SUBVIEWER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rcx)
	movq	_AV_BPRINT_SIZE_UNLIMITED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-2264(%rbp), %rdi
	xorl	%esi, %esi
	callq	_av_bprint_init
	movl	(%r14), %edi
	callq	_avio_feof
	testl	%eax, %eax
	je	LBB0_7
LBB0_44:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ff_subtitles_queue_finalize
LBB0_55:
	leaq	-2264(%rbp), %rdi
	xorl	%esi, %esi
	callq	_av_bprint_finalize
LBB0_56:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_58
## %bb.57:
	movl	%r15d, %eax
	addq	$2264, %rsp                     ## imm = 0x8D8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
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_58
## %bb.2:
	addq	$2264, %rsp                     ## imm = 0x8D8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_7:
	movl	$1, -2260(%rbp)                 ## 4-byte Folded Spill
	movq	%rbx, -2280(%rbp)               ## 8-byte Spill
	leaq	4(%r14), %rax
	movq	%rax, -2296(%rbp)               ## 8-byte Spill
	leaq	-2096(%rbp), %r13
	leaq	L_.str(%rip), %rbx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	leaq	-2288(%rbp), %rsi
	leaq	-2268(%rbp), %rdx
	callq	_read_ts
	testq	%rax, %rax
	js	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r14), %edi
	callq	_avio_tell
	movl	$1, -2260(%rbp)                 ## 4-byte Folded Spill
LBB0_43:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r14), %edi
	callq	_avio_feof
	testl	%eax, %eax
	jne	LBB0_44
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_21 Depth 2
                                        ##     Child Loop BB0_26 Depth 2
                                        ##     Child Loop BB0_28 Depth 2
	movl	(%r14), %edi
	movq	%r13, %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_ff_get_line
	testl	%eax, %eax
	je	LBB0_44
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_strcspn
	movb	$0, -2096(%rbp,%rax)
	cmpb	$91, -2096(%rbp)
	jne	LBB0_45
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_45
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_43
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_43
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_43
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_43
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-2280(%rbp), %rax               ## 8-byte Reload
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	jne	LBB0_43
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	-2264(%rbp), %rdi
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdx
	callq	_av_bprintf
	movq	%r13, %rdi
	leaq	L_.str.7(%rip), %rsi
	movl	$17, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.8(%rip), %rsi
	movl	$10, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.9(%rip), %rsi
	movl	$13, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_43
## %bb.20:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r15d, -2272(%rbp)              ## 4-byte Spill
	movl	$1, %r15d
LBB0_21:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	-2096(%rbp,%r15), %eax
	testb	%al, %al
	je	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=2
	cmpb	$93, %al
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=2
	movsbl	%al, %edi
	callq	_av_tolower
	movb	%al, -2129(%rbp,%r15)
	incq	%r15
	cmpq	$31, %r15
	jne	LBB0_21
## %bb.24:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	$31, %r15d
LBB0_25:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%r15d, %ecx
	movslq	%r15d, %rax
	xorl	%edx, %edx
	cmpb	$93, -2096(%rbp,%rcx)
	leaq	-2128(%rbp), %rcx
	movb	$0, -1(%rax,%rcx)
	sete	%dl
	addl	%edx, %eax
	decq	%rax
LBB0_26:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$32, -2095(%rbp,%rax)
	leaq	1(%rax), %rax
	je	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%eax, %eax
	leaq	(%rax,%rbp), %rcx
	addq	$-2096, %rcx                    ## imm = 0xF7D0
	movl	$3, %eax
	movl	-2272(%rbp), %r15d              ## 4-byte Reload
LBB0_28:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	-3(%rcx,%rax), %edx
	testb	%dl, %dl
	je	LBB0_39
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=2
	cmpb	$93, %dl
	je	LBB0_39
## %bb.30:                              ##   in Loop: Header=BB0_28 Depth=2
	movb	%dl, -2259(%rbp,%rax)
	movzbl	-2(%rcx,%rax), %edx
	testb	%dl, %dl
	je	LBB0_40
## %bb.31:                              ##   in Loop: Header=BB0_28 Depth=2
	cmpb	$93, %dl
	je	LBB0_40
## %bb.32:                              ##   in Loop: Header=BB0_28 Depth=2
	movb	%dl, -2258(%rbp,%rax)
	movzbl	-1(%rcx,%rax), %edx
	testb	%dl, %dl
	je	LBB0_41
## %bb.33:                              ##   in Loop: Header=BB0_28 Depth=2
	cmpb	$93, %dl
	je	LBB0_41
## %bb.34:                              ##   in Loop: Header=BB0_28 Depth=2
	movb	%dl, -2257(%rbp,%rax)
	cmpq	$127, %rax
	je	LBB0_35
## %bb.36:                              ##   in Loop: Header=BB0_28 Depth=2
	movzbl	(%rcx,%rax), %edx
	testb	%dl, %dl
	je	LBB0_42
## %bb.37:                              ##   in Loop: Header=BB0_28 Depth=2
	cmpb	$93, %dl
	je	LBB0_42
## %bb.38:                              ##   in Loop: Header=BB0_28 Depth=2
	movb	%dl, -2256(%rbp,%rax)
	addq	$4, %rax
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpb	$0, -2096(%rbp)
	je	LBB0_43
## %bb.48:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r15d, %ebx
	movl	-2260(%rbp), %ecx               ## 4-byte Reload
	testl	%ecx, %ecx
	jne	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.10(%rip), %rsi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_ff_subtitles_queue_insert
	movl	-2260(%rbp), %ecx               ## 4-byte Reload
	testq	%rax, %rax
	je	LBB0_54
LBB0_50:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%r15d, %r15d
	testl	%ecx, %ecx
	sete	%r15b
	movq	%r13, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	movl	%r15d, %ecx
	callq	_ff_subtitles_queue_insert
	movl	-2260(%rbp), %ecx               ## 4-byte Reload
	testq	%rax, %rax
	je	LBB0_54
## %bb.51:                              ##   in Loop: Header=BB0_8 Depth=1
	testl	%ecx, %ecx
	je	LBB0_52
## %bb.53:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	$0, 16(%rax)
	movq	-2288(%rbp), %rcx
	movq	%rcx, 8(%rax)
	movl	-2268(%rbp), %ecx
	movl	%ecx, (%rax)
LBB0_52:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	$0, -2260(%rbp)                 ## 4-byte Folded Spill
	movl	%ebx, %r15d
	leaq	L_.str(%rip), %rbx
	jmp	LBB0_43
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-2280(%rbp), %rax               ## 8-byte Reload
	movq	(%rax), %rdi
	leaq	-2264(%rbp), %rsi
	callq	_ff_bprint_to_codecpar_extradata
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_43
	jmp	LBB0_55
LBB0_39:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$-3, %rax
	jmp	LBB0_42
LBB0_40:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$-2, %rax
	jmp	LBB0_42
LBB0_41:                                ##   in Loop: Header=BB0_8 Depth=1
	decq	%rax
	jmp	LBB0_42
LBB0_35:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	$127, %eax
LBB0_42:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%eax, %eax
	movb	$0, -2256(%rbp,%rax)
	movq	-2296(%rbp), %rdi               ## 8-byte Reload
	leaq	-2128(%rbp), %rsi
	leaq	-2256(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_av_dict_set
	jmp	LBB0_43
LBB0_54:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %r15d
	jmp	LBB0_55
LBB0_58:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.comm	_AVMEDIA_TYPE_SUBTITLE,4,2      ## @AVMEDIA_TYPE_SUBTITLE
	.comm	_AV_CODEC_ID_SUBVIEWER,4,2      ## @AV_CODEC_ID_SUBVIEWER
	.comm	_AV_BPRINT_SIZE_UNLIMITED,4,2   ## @AV_BPRINT_SIZE_UNLIMITED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\r\n"

L_.str.1:                               ## @.str.1
	.asciz	"[br]"

L_.str.2:                               ## @.str.2
	.asciz	"[COLF]"

L_.str.3:                               ## @.str.3
	.asciz	"[SIZE]"

L_.str.4:                               ## @.str.4
	.asciz	"[FONT]"

L_.str.5:                               ## @.str.5
	.asciz	"[STYLE]"

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

L_.str.7:                               ## @.str.7
	.asciz	"[END INFORMATION]"

L_.str.8:                               ## @.str.8
	.asciz	"[SUBTITLE]"

L_.str.9:                               ## @.str.9
	.asciz	"[INFORMATION]"

L_.str.10:                              ## @.str.10
	.asciz	"\n"

	.no_dead_strip	_subviewer_read_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function subviewer_read_header
_subviewer_read_header:                 ; @subviewer_read_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, #2272
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	x21, [x0, #8]
	mov	x1, #0
	bl	_avformat_new_stream
Lloh3:
	adrp	x8, _AV_NOPTS_VALUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp, #32]
	mov	w8, #-1
	str	w8, [sp, #28]
	cbz	x0, LBB0_9
; %bb.1:
	mov	x22, x0
	ldr	w0, [x19]
	mov	w1, #3
	bl	_ffio_ensure_seekback
	mov	x20, x0
	tbnz	w0, #31, LBB0_7
; %bb.2:
	ldr	w0, [x19]
	bl	_avio_rb24
	sub	w8, w0, #3835, lsl #12          ; =15708160
	cmp	w8, #3007
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x19]
Lloh6:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	w1, #-3
	bl	_avio_seek
LBB0_4:
	mov	x0, x22
	mov	w1, #64
	mov	w2, #1
	mov	w3, #100
	bl	_avpriv_set_pts_info
Lloh9:
	adrp	x8, _AVMEDIA_TYPE_SUBTITLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AVMEDIA_TYPE_SUBTITLE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	x9, [x22]
Lloh12:
	adrp	x10, _AV_CODEC_ID_SUBVIEWER@GOTPAGE
Lloh13:
	ldr	x10, [x10, _AV_CODEC_ID_SUBVIEWER@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #4]
Lloh15:
	adrp	x8, _AV_BPRINT_SIZE_UNLIMITED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_BPRINT_SIZE_UNLIMITED@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	add	x0, sp, #44
	mov	w1, #0
	bl	_av_bprint_init
	ldr	w0, [x19]
	bl	_avio_feof
	cbz	w0, LBB0_11
LBB0_5:
	mov	x0, x19
	mov	x1, x21
	bl	_ff_subtitles_queue_finalize
LBB0_6:
	add	x0, sp, #44
	mov	x1, #0
	bl	_av_bprint_finalize
LBB0_7:
	ldur	x8, [x29, #-96]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_47
; %bb.8:
	mov	x0, x20
	add	sp, sp, #2272
	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_9:
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldur	x8, [x29, #-96]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_47
; %bb.10:
	add	sp, sp, #2272
	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_11:
	add	x9, x19, #4
	add	x23, sp, #208
	add	x8, x23, #1
	stp	x9, x8, [sp, #8]                ; 16-byte Folded Spill
	mov	w27, #1
Lloh27:
	adrp	x24, l_.str@PAGE
Lloh28:
	add	x24, x24, l_.str@PAGEOFF
Lloh29:
	adrp	x25, l_.str.1@PAGE
Lloh30:
	add	x25, x25, l_.str.1@PAGEOFF
Lloh31:
	adrp	x26, l_.str.2@PAGE
Lloh32:
	add	x26, x26, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x0, sp, #208
	add	x1, sp, #32
	add	x2, sp, #28
	bl	_read_ts
	tbnz	x0, #63, LBB0_31
; %bb.13:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w0, [x19]
	bl	_avio_tell
	mov	w27, #1
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	w0, [x19]
	bl	_avio_feof
	cbnz	w0, LBB0_5
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_27 Depth 2
                                        ;     Child Loop BB0_40 Depth 2
                                        ;     Child Loop BB0_42 Depth 2
	ldr	w0, [x19]
	add	x1, sp, #208
	mov	w2, #2048
	bl	_ff_get_line
	cbz	w0, LBB0_5
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x0, sp, #208
	mov	x1, x24
	bl	_strcspn
	strb	wzr, [x23, x0]
	ldrb	w8, [sp, #208]
	cmp	w8, #91
	b.ne	LBB0_12
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x0, sp, #208
	mov	x1, x25
	mov	w2, #4
	bl	_strncmp
	cbz	x0, LBB0_12
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x0, sp, #208
	mov	x1, x26
	bl	_strstr
	cbnz	x0, LBB0_14
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x0, sp, #208
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strstr
	cbnz	x0, LBB0_14
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x0, sp, #208
Lloh35:
	adrp	x1, l_.str.4@PAGE
Lloh36:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strstr
	cbnz	x0, LBB0_14
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x0, sp, #208
Lloh37:
	adrp	x1, l_.str.5@PAGE
Lloh38:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strstr
	cbnz	x0, LBB0_14
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x22]
	ldr	w8, [x8]
	cbnz	w8, LBB0_14
; %bb.23:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x0, sp, #44
	add	x2, sp, #208
Lloh39:
	adrp	x1, l_.str.6@PAGE
Lloh40:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_av_bprintf
	add	x0, sp, #208
Lloh41:
	adrp	x1, l_.str.7@PAGE
Lloh42:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w2, #17
	bl	_strncmp
	cbz	x0, LBB0_37
; %bb.24:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x0, sp, #208
Lloh43:
	adrp	x1, l_.str.8@PAGE
Lloh44:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w2, #10
	bl	_strncmp
	cbz	x0, LBB0_37
; %bb.25:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x0, sp, #208
Lloh45:
	adrp	x1, l_.str.9@PAGE
Lloh46:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w2, #13
	bl	_strncmp
	cbz	x0, LBB0_14
; %bb.26:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x28, #0
LBB0_27:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldrb	w8, [x8, x28]
	cbz	w8, LBB0_38
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=2
	cmp	w8, #93
	b.eq	LBB0_38
; %bb.29:                               ;   in Loop: Header=BB0_27 Depth=2
	sxtb	w0, w8
	bl	_av_tolower
	add	x8, sp, #176
	strb	w0, [x8, x28]
	add	x28, x28, #1
	cmp	x28, #30
	b.ne	LBB0_27
; %bb.30:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w8, #31
	b	LBB0_39
LBB0_31:                                ;   in Loop: Header=BB0_15 Depth=1
	ldrb	w8, [sp, #208]
	cbz	w8, LBB0_14
; %bb.32:                               ;   in Loop: Header=BB0_15 Depth=1
	cbnz	w27, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x21
Lloh47:
	adrp	x1, l_.str.10@PAGE
Lloh48:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	w2, #1
	mov	w3, #1
	bl	_ff_subtitles_queue_insert
	cbz	x0, LBB0_46
LBB0_34:                                ;   in Loop: Header=BB0_15 Depth=1
	cmp	w27, #0
	cset	w28, eq
	add	x0, sp, #208
	bl	_strlen
	mov	x2, x0
	add	x1, sp, #208
	mov	x0, x21
	mov	x3, x28
	bl	_ff_subtitles_queue_insert
	cbz	x0, LBB0_46
; %bb.35:                               ;   in Loop: Header=BB0_15 Depth=1
	cbz	w27, LBB0_14
; %bb.36:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w27, #0
	ldr	x8, [sp, #32]
	stp	x8, xzr, [x0, #8]
	ldr	w8, [sp, #28]
	str	w8, [x0]
	b	LBB0_14
LBB0_37:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [x22]
	add	x1, sp, #44
	bl	_ff_bprint_to_codecpar_extradata
	mov	x20, x0
	tbz	w0, #31, LBB0_14
	b	LBB0_6
LBB0_38:                                ;   in Loop: Header=BB0_15 Depth=1
	add	w8, w28, #1
LBB0_39:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x9, sp, #176
	add	x9, x9, w8, sxtw
	sturb	wzr, [x9, #-1]
	ldrb	w9, [x23, w8, uxtw]
	cmp	w9, #93
	cinc	w8, w8, eq
	sub	w9, w8, #1
	add	x11, sp, #48
LBB0_40:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x23, x8]
	add	x8, x8, #1
	add	w9, w9, #1
	cmp	w10, #32
	b.eq	LBB0_40
; %bb.41:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x8, #0
	add	x9, x23, w9, uxtw
LBB0_42:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x9, x8]
	cbz	w10, LBB0_45
; %bb.43:                               ;   in Loop: Header=BB0_42 Depth=2
	cmp	w10, #93
	b.eq	LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_42 Depth=2
	strb	w10, [x11, x8]
	add	x10, x8, #1
	mov	x8, x10
	cmp	x10, #127
	b.ne	LBB0_42
LBB0_45:                                ;   in Loop: Header=BB0_15 Depth=1
	strb	wzr, [x11, w8, uxtw]
	add	x1, sp, #176
	add	x2, sp, #48
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	w3, #0
	bl	_av_dict_set
	b	LBB0_14
LBB0_46:
Lloh49:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x20, x0
	b	LBB0_6
LBB0_47:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.comm	_AVMEDIA_TYPE_SUBTITLE,4,2      ; @AVMEDIA_TYPE_SUBTITLE
	.comm	_AV_CODEC_ID_SUBVIEWER,4,2      ; @AV_CODEC_ID_SUBVIEWER
	.comm	_AV_BPRINT_SIZE_UNLIMITED,4,2   ; @AV_BPRINT_SIZE_UNLIMITED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\r\n"

l_.str.1:                               ; @.str.1
	.asciz	"[br]"

l_.str.2:                               ; @.str.2
	.asciz	"[COLF]"

l_.str.3:                               ; @.str.3
	.asciz	"[SIZE]"

l_.str.4:                               ; @.str.4
	.asciz	"[FONT]"

l_.str.5:                               ; @.str.5
	.asciz	"[STYLE]"

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

l_.str.7:                               ; @.str.7
	.asciz	"[END INFORMATION]"

l_.str.8:                               ; @.str.8
	.asciz	"[SUBTITLE]"

l_.str.9:                               ; @.str.9
	.asciz	"[INFORMATION]"

l_.str.10:                              ; @.str.10
	.asciz	"\n"

	.no_dead_strip	_subviewer_read_header
.subsections_via_symbols
