	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_ffmpeg_subtitle
_add_ffmpeg_subtitle:                   ## @add_ffmpeg_subtitle
	.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
	movl	%edx, %r13d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movq	(%rax), %rax
	movslq	%edx, %rcx
	movq	(%rax,%rcx,8), %rbx
	movq	8(%rbx), %r12
	movl	4(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rdi
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
LBB0_3:
	callq	_lang_for_code2
	movq	%rax, %r14
	movl	16(%rax), %esi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_ffmpeg_track_name
	movq	%rax, %rbx
	movl	$1, %edi
	movl	$88, %esi
	callq	_calloc
	movq	%rax, %r15
	movl	%r13d, (%rax)
	movabsq	$386547056640001, %rax          ## imm = 0x15F9000000001
	movq	%rax, 80(%r15)
	movl	(%r12), %esi
	leal	-128(%rsi), %eax
	cmpl	$6, %eax
	ja	LBB0_12
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jmpq	*%rax
LBB0_7:
	movq	_TEXTSUB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%r15)
	movq	_UTF8SUB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r15)
	movq	_PASSTHRUSUB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r15)
	movq	_WORK_DECUTF8SUB@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_12:
	leaq	L_.str.3(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_hb_log
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_9:
	movq	_TEXTSUB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%r15)
	movq	_TX3GSUB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r15)
	movq	_PASSTHRUSUB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r15)
	movq	_WORK_DECTX3GSUB@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_11:
	movq	_PICTURESUB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%r15)
	movq	_PGSSUB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r15)
	movq	_RENDERSUB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r15)
	movq	_WORK_DECPGSSUB@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_13:
	movq	_TEXTSUB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%r15)
	movq	_CC608SUB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r15)
	movq	_PASSTHRUSUB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r15)
	movq	_WORK_DECCC608@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r15)
	movq	_HB_SUBTITLE_ATTR_CC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	jmp	LBB0_14
LBB0_5:
	movq	_PICTURESUB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%r15)
	movq	_VOBSUB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r15)
	movq	_RENDERSUB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r15)
	movq	_WORK_DECVOBSUB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r15)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ffmpeg_parse_vobsub_extradata
	testl	%eax, %eax
	je	LBB0_14
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_hb_log
	jmp	LBB0_14
LBB0_10:
	movq	_TEXTSUB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%r15)
	movq	_SSASUB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r15)
	movq	_PASSTHRUSUB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r15)
	movq	_WORK_DECSSASUB@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	movl	%eax, 64(%r15)
LBB0_14:
	movl	60(%r15), %r13d
	movq	(%r14), %rbx
	cmpb	$0, (%rbx)
	jne	LBB0_16
## %bb.15:
	movq	8(%r14), %rbx
LBB0_16:
	movl	56(%r15), %edi
	callq	_hb_subsource_name
	leaq	L_.str.4(%rip), %rdx
	movl	%r13d, %edi
	movl	$4, %esi
	movq	%rbx, %rcx
	movq	%rax, %r8
	callq	_snprintf
	movq	48(%r15), %rdi
	movl	16(%r14), %esi
	movl	$3, %edx
	callq	_strncpy
	movq	48(%r15), %rax
	movq	$0, 24(%rax)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:
	callq	_strdup
	movl	%eax, 40(%r15)
LBB0_18:
	cmpq	$0, 8(%r12)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_20
## %bb.19:
	movl	4(%r12), %edi
	incl	%edi
	callq	_malloc
	movq	%rax, 32(%r15)
	movq	8(%r12), %rsi
	movl	4(%r12), %edx
	movq	%rax, %rdi
	callq	_memcpy
	movq	32(%r15), %rax
	movslq	4(%r12), %rcx
	movq	$0, (%rax,%rcx,8)
	leal	1(%rcx), %eax
	movl	%eax, 4(%r15)
LBB0_20:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	_AV_DISPOSITION_DEFAULT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_22
## %bb.21:
	movl	$1, 16(%r15)
	movq	_HB_SUBTITLE_ATTR_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 12(%r15)
LBB0_22:
	movq	_AV_DISPOSITION_FORCED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_24
## %bb.23:
	movq	_HB_SUBTITLE_ATTR_FORCED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%r15)
LBB0_24:
	movl	(%rbx), %edi
	callq	_hb_list_count
	movl	%eax, 8(%r15)
	movl	(%rbx), %edi
	movq	%r15, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hb_list_add                    ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_5
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"language"

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

	.comm	_PICTURESUB,8,3                 ## @PICTURESUB
	.comm	_VOBSUB,4,2                     ## @VOBSUB
	.comm	_RENDERSUB,8,3                  ## @RENDERSUB
	.comm	_WORK_DECVOBSUB,4,2             ## @WORK_DECVOBSUB
L_.str.2:                               ## @.str.2
	.asciz	"add_ffmpeg_subtitle: malformed extradata for VOB subtitle track; subtitle colors likely to be wrong"

	.comm	_TEXTSUB,8,3                    ## @TEXTSUB
	.comm	_UTF8SUB,4,2                    ## @UTF8SUB
	.comm	_PASSTHRUSUB,8,3                ## @PASSTHRUSUB
	.comm	_WORK_DECUTF8SUB,4,2            ## @WORK_DECUTF8SUB
	.comm	_TX3GSUB,4,2                    ## @TX3GSUB
	.comm	_WORK_DECTX3GSUB,4,2            ## @WORK_DECTX3GSUB
	.comm	_SSASUB,4,2                     ## @SSASUB
	.comm	_WORK_DECSSASUB,4,2             ## @WORK_DECSSASUB
	.comm	_PGSSUB,4,2                     ## @PGSSUB
	.comm	_WORK_DECPGSSUB,4,2             ## @WORK_DECPGSSUB
	.comm	_CC608SUB,4,2                   ## @CC608SUB
	.comm	_WORK_DECCC608,4,2              ## @WORK_DECCC608
	.comm	_HB_SUBTITLE_ATTR_CC,4,2        ## @HB_SUBTITLE_ATTR_CC
L_.str.3:                               ## @.str.3
	.asciz	"add_ffmpeg_subtitle: unknown subtitle stream type: 0x%x"

L_.str.4:                               ## @.str.4
	.asciz	"%s [%s]"

	.comm	_AV_DISPOSITION_DEFAULT,4,2     ## @AV_DISPOSITION_DEFAULT
	.comm	_HB_SUBTITLE_ATTR_DEFAULT,4,2   ## @HB_SUBTITLE_ATTR_DEFAULT
	.comm	_AV_DISPOSITION_FORCED,4,2      ## @AV_DISPOSITION_FORCED
	.comm	_HB_SUBTITLE_ATTR_FORCED,4,2    ## @HB_SUBTITLE_ATTR_FORCED
	.no_dead_strip	_add_ffmpeg_subtitle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function add_ffmpeg_subtitle
lCPI0_0:
	.long	1                               ; 0x1
	.long	90000                           ; 0x15f90
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_add_ffmpeg_subtitle:                   ; @add_ffmpeg_subtitle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x25, x2
	mov	x19, x0
	ldr	x8, [x1]
	ldr	x8, [x8]
	ldr	x20, [x8, w2, sxtw #3]
	ldr	x22, [x20, #8]
	ldr	w0, [x20, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x0]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_3:
	bl	_lang_for_code2
	mov	x24, x0
	ldr	w1, [x0, #16]
	mov	x0, x20
	bl	_ffmpeg_track_name
	mov	x23, x0
	mov	w0, #1
	mov	w1, #88
	bl	_calloc
	mov	x21, x0
	str	w25, [x0]
Lloh4:
	adrp	x8, lCPI0_0@PAGE
Lloh5:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0, #80]
	ldr	w8, [x22]
	sub	w9, w8, #128
	cmp	w9, #6
	b.hi	LBB0_6
; %bb.4:
Lloh6:
	adrp	x8, lJTI0_0@PAGE
Lloh7:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
Lloh8:
	adrp	x8, _TEXTSUB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TEXTSUB@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x21, #72]
Lloh11:
	adrp	x8, _UTF8SUB@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UTF8SUB@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x21, #56]
Lloh14:
	adrp	x8, _PASSTHRUSUB@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PASSTHRUSUB@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	str	x8, [x21, #24]
Lloh17:
	adrp	x8, _WORK_DECUTF8SUB@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WORK_DECUTF8SUB@GOTPAGEOFF]
	b	LBB0_13
LBB0_6:
	str	x8, [sp]
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_hb_log
	mov	x0, x21
	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
	add	sp, sp, #96
	b	_free
LBB0_7:
Lloh21:
	adrp	x8, _TEXTSUB@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TEXTSUB@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	str	x8, [x21, #72]
Lloh24:
	adrp	x8, _TX3GSUB@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TX3GSUB@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x21, #56]
Lloh27:
	adrp	x8, _PASSTHRUSUB@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PASSTHRUSUB@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	str	x8, [x21, #24]
Lloh30:
	adrp	x8, _WORK_DECTX3GSUB@GOTPAGE
Lloh31:
	ldr	x8, [x8, _WORK_DECTX3GSUB@GOTPAGEOFF]
	b	LBB0_13
LBB0_8:
Lloh32:
	adrp	x8, _PICTURESUB@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PICTURESUB@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	str	x8, [x21, #72]
Lloh35:
	adrp	x8, _PGSSUB@GOTPAGE
Lloh36:
	ldr	x8, [x8, _PGSSUB@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	str	w8, [x21, #56]
Lloh38:
	adrp	x8, _RENDERSUB@GOTPAGE
Lloh39:
	ldr	x8, [x8, _RENDERSUB@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	str	x8, [x21, #24]
Lloh41:
	adrp	x8, _WORK_DECPGSSUB@GOTPAGE
Lloh42:
	ldr	x8, [x8, _WORK_DECPGSSUB@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
Lloh43:
	adrp	x8, _TEXTSUB@GOTPAGE
Lloh44:
	ldr	x8, [x8, _TEXTSUB@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	str	x8, [x21, #72]
Lloh46:
	adrp	x8, _CC608SUB@GOTPAGE
Lloh47:
	ldr	x8, [x8, _CC608SUB@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	str	w8, [x21, #56]
Lloh49:
	adrp	x8, _PASSTHRUSUB@GOTPAGE
Lloh50:
	ldr	x8, [x8, _PASSTHRUSUB@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	str	x8, [x21, #24]
Lloh52:
	adrp	x8, _WORK_DECCC608@GOTPAGE
Lloh53:
	ldr	x8, [x8, _WORK_DECCC608@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	str	w8, [x21, #64]
Lloh55:
	adrp	x8, _HB_SUBTITLE_ATTR_CC@GOTPAGE
Lloh56:
	ldr	x8, [x8, _HB_SUBTITLE_ATTR_CC@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	str	w8, [x21, #12]
	b	LBB0_14
LBB0_10:
Lloh58:
	adrp	x8, _PICTURESUB@GOTPAGE
Lloh59:
	ldr	x8, [x8, _PICTURESUB@GOTPAGEOFF]
Lloh60:
	ldr	x8, [x8]
	str	x8, [x21, #72]
Lloh61:
	adrp	x8, _VOBSUB@GOTPAGE
Lloh62:
	ldr	x8, [x8, _VOBSUB@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	str	w8, [x21, #56]
Lloh64:
	adrp	x8, _RENDERSUB@GOTPAGE
Lloh65:
	ldr	x8, [x8, _RENDERSUB@GOTPAGEOFF]
Lloh66:
	ldr	x8, [x8]
	str	x8, [x21, #24]
Lloh67:
	adrp	x8, _WORK_DECVOBSUB@GOTPAGE
Lloh68:
	ldr	x8, [x8, _WORK_DECVOBSUB@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	str	w8, [x21, #64]
	mov	x0, x22
	mov	x1, x21
	bl	_ffmpeg_parse_vobsub_extradata
	cbz	w0, LBB0_14
; %bb.11:
Lloh70:
	adrp	x0, l_.str.2@PAGE
Lloh71:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_hb_log
	b	LBB0_14
LBB0_12:
Lloh72:
	adrp	x8, _TEXTSUB@GOTPAGE
Lloh73:
	ldr	x8, [x8, _TEXTSUB@GOTPAGEOFF]
Lloh74:
	ldr	x8, [x8]
	str	x8, [x21, #72]
Lloh75:
	adrp	x8, _SSASUB@GOTPAGE
Lloh76:
	ldr	x8, [x8, _SSASUB@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
	str	w8, [x21, #56]
Lloh78:
	adrp	x8, _PASSTHRUSUB@GOTPAGE
Lloh79:
	ldr	x8, [x8, _PASSTHRUSUB@GOTPAGEOFF]
Lloh80:
	ldr	x8, [x8]
	str	x8, [x21, #24]
Lloh81:
	adrp	x8, _WORK_DECSSASUB@GOTPAGE
Lloh82:
	ldr	x8, [x8, _WORK_DECSSASUB@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	str	w8, [x21, #64]
LBB0_14:
	ldr	w25, [x21, #60]
	ldr	x26, [x24]
	ldrb	w8, [x26]
	cbnz	w8, LBB0_16
; %bb.15:
	ldr	x26, [x24, #8]
LBB0_16:
	ldr	w0, [x21, #56]
	bl	_hb_subsource_name
	mov	x4, x0
Lloh83:
	adrp	x2, l_.str.4@PAGE
Lloh84:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x25
	mov	w1, #4
	mov	x3, x26
	bl	_snprintf
	ldr	x0, [x21, #48]
	ldr	w1, [x24, #16]
	mov	w2, #3
	bl	_strncpy
	ldr	x8, [x21, #48]
	str	xzr, [x8, #24]
	cbz	x23, LBB0_18
; %bb.17:
	mov	x0, x23
	bl	_strdup
	str	w0, [x21, #40]
LBB0_18:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_20
; %bb.19:
	ldr	w8, [x22, #4]
	add	w0, w8, #1
	bl	_malloc
	str	x0, [x21, #32]
	ldr	x1, [x22, #8]
	ldr	w2, [x22, #4]
	bl	_memcpy
	ldr	x8, [x21, #32]
	ldrsw	x9, [x22, #4]
	str	xzr, [x8, x9, lsl #3]
	add	w8, w9, #1
	str	w8, [x21, #4]
LBB0_20:
	ldr	w8, [x20]
Lloh85:
	adrp	x9, _AV_DISPOSITION_DEFAULT@GOTPAGE
Lloh86:
	ldr	x9, [x9, _AV_DISPOSITION_DEFAULT@GOTPAGEOFF]
Lloh87:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.21:
Lloh88:
	adrp	x9, _HB_SUBTITLE_ATTR_DEFAULT@GOTPAGE
Lloh89:
	ldr	x9, [x9, _HB_SUBTITLE_ATTR_DEFAULT@GOTPAGEOFF]
	mov	w10, #1
Lloh90:
	ldr	w9, [x9]
	ldr	w11, [x21, #12]
	orr	w9, w11, w9
	stp	w9, w10, [x21, #12]
LBB0_22:
Lloh91:
	adrp	x9, _AV_DISPOSITION_FORCED@GOTPAGE
Lloh92:
	ldr	x9, [x9, _AV_DISPOSITION_FORCED@GOTPAGEOFF]
Lloh93:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.23:
Lloh94:
	adrp	x8, _HB_SUBTITLE_ATTR_FORCED@GOTPAGE
Lloh95:
	ldr	x8, [x8, _HB_SUBTITLE_ATTR_FORCED@GOTPAGEOFF]
Lloh96:
	ldr	w8, [x8]
	ldr	w9, [x21, #12]
	orr	w8, w9, w8
	str	w8, [x21, #12]
LBB0_24:
	ldr	w0, [x19]
	bl	_hb_list_count
	str	w0, [x21, #8]
	ldr	w0, [x19]
	mov	x1, x21
	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
	add	sp, sp, #96
	b	_hb_list_add
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"language"

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

	.comm	_PICTURESUB,8,3                 ; @PICTURESUB
	.comm	_VOBSUB,4,2                     ; @VOBSUB
	.comm	_RENDERSUB,8,3                  ; @RENDERSUB
	.comm	_WORK_DECVOBSUB,4,2             ; @WORK_DECVOBSUB
l_.str.2:                               ; @.str.2
	.asciz	"add_ffmpeg_subtitle: malformed extradata for VOB subtitle track; subtitle colors likely to be wrong"

	.comm	_TEXTSUB,8,3                    ; @TEXTSUB
	.comm	_UTF8SUB,4,2                    ; @UTF8SUB
	.comm	_PASSTHRUSUB,8,3                ; @PASSTHRUSUB
	.comm	_WORK_DECUTF8SUB,4,2            ; @WORK_DECUTF8SUB
	.comm	_TX3GSUB,4,2                    ; @TX3GSUB
	.comm	_WORK_DECTX3GSUB,4,2            ; @WORK_DECTX3GSUB
	.comm	_SSASUB,4,2                     ; @SSASUB
	.comm	_WORK_DECSSASUB,4,2             ; @WORK_DECSSASUB
	.comm	_PGSSUB,4,2                     ; @PGSSUB
	.comm	_WORK_DECPGSSUB,4,2             ; @WORK_DECPGSSUB
	.comm	_CC608SUB,4,2                   ; @CC608SUB
	.comm	_WORK_DECCC608,4,2              ; @WORK_DECCC608
	.comm	_HB_SUBTITLE_ATTR_CC,4,2        ; @HB_SUBTITLE_ATTR_CC
l_.str.3:                               ; @.str.3
	.asciz	"add_ffmpeg_subtitle: unknown subtitle stream type: 0x%x"

l_.str.4:                               ; @.str.4
	.asciz	"%s [%s]"

	.comm	_AV_DISPOSITION_DEFAULT,4,2     ; @AV_DISPOSITION_DEFAULT
	.comm	_HB_SUBTITLE_ATTR_DEFAULT,4,2   ; @HB_SUBTITLE_ATTR_DEFAULT
	.comm	_AV_DISPOSITION_FORCED,4,2      ; @AV_DISPOSITION_FORCED
	.comm	_HB_SUBTITLE_ATTR_FORCED,4,2    ; @HB_SUBTITLE_ATTR_FORCED
	.no_dead_strip	_add_ffmpeg_subtitle
.subsections_via_symbols
