	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function write_cc_buffer_as_ssa
LCPI0_0:
	.quad	0x3fb999999999999a              ## double 0.10000000000000001
LCPI0_1:
	.quad	0x3ff999999999999a              ## double 1.6000000000000001
LCPI0_2:
	.quad	0x3fe999999999999a              ## double 0.80000000000000004
LCPI0_3:
	.quad	0x3fb47ae147ae147b              ## double 0.080000000000000002
LCPI0_4:
	.quad	0x3f9999999999999a              ## double 0.025000000000000001
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_write_cc_buffer_as_ssa:                ## @write_cc_buffer_as_ssa
	.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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	48(%rsi), %rax
	movq	_subs_delay@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	js	LBB0_1
## %bb.2:
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rcx, -216(%rbp)                ## 8-byte Spill
	movq	_debug_608@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_4
## %bb.3:
	movl	8(%rax), %edx
	incl	%edx
	movl	%edx, 8(%rax)
	leaq	L_.str(%rip), %rsi
	leaq	-176(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sprintf
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_hb_log
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_hb_log
LBB0_4:
	movl	$41, %eax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	movl	$15, %ebx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	cmpq	$15, %r15
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	cmpq	$0, (%rax,%r15,8)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-184(%rbp), %rax                ## 8-byte Reload
	incl	%eax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movq	8(%r14), %rax
	movl	(%rax,%r15,4), %edi
	leaq	-176(%rbp), %rsi
	leaq	-188(%rbp), %rdx
	callq	_find_limit_characters
	movl	-188(%rbp), %eax
	movl	-176(%rbp), %ecx
	subl	%ecx, %eax
	leal	1(%rax), %edx
	cmpl	%r13d, %eax
	cmovgel	%edx, %r13d
	movq	-200(%rbp), %rax                ## 8-byte Reload
	cmpl	%ecx, %eax
	cmovgel	%ecx, %eax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	cmpl	%r15d, %ebx
	cmovgel	%r15d, %ebx
	jmp	LBB0_7
LBB0_8:
	movq	_FONT_REGULAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%r12)
	movq	_COL_WHITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r12)
	movl	$0, (%r12)
	movl	4(%r12), %ecx
	movq	8(%r12), %rsi
	movl	(%rsi), %edx
	movl	%edx, -208(%rbp)                ## 4-byte Spill
	movl	8(%rsi), %r10d
	movl	%r10d, -204(%rbp)               ## 4-byte Spill
	movl	4(%rsi), %r9d
	movl	16(%r12), %eax
	cvtsi2sd	%eax, %xmm2
	addl	%edx, %r9d
	movsd	56(%r12), %xmm1                 ## xmm1 = mem[0],zero
	cvtsi2sd	%ecx, %xmm0
	mulsd	%xmm2, %xmm1
	movsd	LCPI0_0(%rip), %xmm3            ## xmm3 = mem[0],zero
	mulsd	%xmm3, %xmm2
	mulsd	%xmm0, %xmm3
	cvttsd2si	%xmm3, %r15d
	leal	(%r15,%r15), %edx
	movl	%ecx, %r11d
	subl	%edx, %r11d
	negl	%edx
	addl	%ecx, %edx
	addl	$15, %edx
	movl	%ecx, %r8d
	subl	%r9d, %r8d
	movl	12(%rsi), %edi
	addl	%r10d, %edi
	movl	%eax, %esi
	subl	%edi, %esi
	movsd	64(%r12), %xmm3                 ## xmm3 = mem[0],zero
	mulsd	%xmm0, %xmm3
	divsd	%xmm3, %xmm1
	cvttsd2si	%xmm2, %r9d
	testl	%r11d, %r11d
	cmovnsl	%r11d, %edx
	sarl	$4, %edx
	subl	%r9d, %eax
	subl	%r9d, %eax
	ucomisd	LCPI0_1(%rip), %xmm1
	movl	$42, %edi
	movl	$32, %r11d
	cmovael	%edi, %r11d
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	leal	5(%rcx), %edi
	mulsd	LCPI0_2(%rip), %xmm0
	mulsd	LCPI0_3(%rip), %xmm0
	cmovbl	%ecx, %edi
	movq	-184(%rbp), %r10                ## 8-byte Reload
	addl	%r10d, %ebx
	incl	%ebx
	imull	%edx, %ebx
	cvttsd2si	%xmm0, %ecx
	subl	-208(%rbp), %r15d               ## 4-byte Folded Reload
	movsd	LCPI0_4(%rip), %xmm0            ## xmm0 = mem[0],zero
	xorps	%xmm1, %xmm1
	cvtsi2sd	%r8d, %xmm1
	mulsd	%xmm0, %xmm1
	addl	%ebx, %r15d
	cvttsd2si	%xmm1, %ebx
	subl	-204(%rbp), %r9d                ## 4-byte Folded Reload
	cltd
	idivl	%r11d
	imull	%eax, %edi
	addl	%edi, %r9d
	imull	%r10d, %ecx
	movl	%r15d, %edx
	subl	%ecx, %edx
	addl	%ebx, %ecx
	cmpl	%ebx, %edx
	xorps	%xmm1, %xmm1
	cvtsi2sd	%esi, %xmm1
	mulsd	%xmm0, %xmm1
	cmovgel	%r15d, %ecx
	cvttsd2si	%xmm1, %edx
	subl	%ebx, %r8d
	cmpl	%r8d, %ecx
	cmovll	%ecx, %r8d
	imull	%eax, %r13d
	leal	(%r9,%r13), %eax
	movl	%esi, %ecx
	addl	%edx, %r13d
	subl	%r13d, %esi
	subl	%edx, %ecx
	cmpl	%ecx, %eax
	cmovlel	%r9d, %esi
	cmpl	%edx, %esi
	cmovlel	%edx, %esi
	leaq	L_.str.3(%rip), %rdi
	movl	%r8d, %edx
	callq	_hb_strdup_printf
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movl	$1, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	cmpq	$15, %rbx
	je	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	leaq	-176(%rbp), %rsi
	leaq	-188(%rbp), %rdx
	callq	_find_limit_characters
	movl	-176(%rbp), %r13d
	movslq	(%r12), %rdi
	shlq	$3, %rdi
	addq	24(%r12), %rdi
	subl	-200(%rbp), %r13d               ## 4-byte Folded Reload
	cmpl	$1, %r15d
	leaq	L_.str.4(%rip), %rsi
	cmoveq	-184(%rbp), %rsi                ## 8-byte Folded Reload
	callq	_encode_line
	movslq	(%r12), %rcx
	movslq	%eax, %rdi
	addq	%rcx, %rdi
	movl	%edi, (%r12)
	shlq	$3, %rdi
	addq	24(%r12), %rdi
	movl	%r13d, %esi
	callq	_stuff_space
	movslq	(%r12), %rcx
	movslq	%eax, %rsi
	addq	%rcx, %rsi
	movl	%esi, (%r12)
	shlq	$3, %rsi
	addq	24(%r12), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	movq	%r14, %rcx
	callq	_get_decoder_line_encoded
	addl	%eax, (%r12)
	movl	$2, %r15d
	jmp	LBB0_11
LBB0_12:
	movq	-184(%rbp), %rdi                ## 8-byte Reload
	callq	_free
	movl	(%r12), %edi
	testl	%edi, %edi
	je	LBB0_16
## %bb.13:
	movq	24(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.14:
	cmpq	$0, (%r14)
	je	LBB0_16
## %bb.15:
	incl	%edi
	movl	%edi, (%r12)
	movq	_SSA_PREAMBLE_LEN@GOTPCREL(%rip), %rax
	addl	(%rax), %edi
	callq	_hb_buffer_init
	movq	%rax, %rbx
	movq	_HB_FRAME_SUBTITLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movq	-216(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 16(%rbx)
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	48(%r12), %rax
	movl	12(%rax), %eax
	movl	%eax, (%rbx)
	movq	40(%rbx), %rdi
	movl	32(%r12), %edx
	incl	%edx
	movl	%edx, 32(%r12)
	leaq	L_.str.5(%rip), %rsi
	callq	_sprintf
	movq	40(%rbx), %rdi
	callq	_strlen
	movslq	%eax, %rdi
	addq	40(%rbx), %rdi
	movq	24(%r12), %rsi
	movl	(%r12), %edx
	callq	_memcpy
	leaq	40(%r12), %rdi
	movq	%rbx, %rsi
	callq	_hb_buffer_list_append
	movl	$1, 36(%r12)
	movl	$1, %ebx
	jmp	LBB0_19
LBB0_16:
	cmpl	$0, 36(%r12)
	je	LBB0_17
## %bb.18:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_hb_buffer_init
	movq	_HB_FRAME_SUBTITLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 32(%rax)
	movq	_HB_BUF_FLAG_EOS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	-216(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, 16(%rax)
	movq	%rcx, 8(%rax)
	movq	48(%r12), %rcx
	movl	12(%rcx), %ecx
	movl	%ecx, (%rax)
	leaq	40(%r12), %rdi
	movq	%rax, %rsi
	callq	_hb_buffer_list_append
	movl	$0, 36(%r12)
	jmp	LBB0_19
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_17:
	xorl	%ebx, %ebx
LBB0_19:
	movq	_debug_608@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.20:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_hb_log
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	movl	%ebx, %eax
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_subs_delay,8,3                 ## @subs_delay
	.comm	_debug_608,8,3                  ## @debug_608
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u\r\n"

L_.str.1:                               ## @.str.1
	.asciz	"\n- - - SSA caption - - -\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s"

	.comm	_FONT_REGULAR,4,2               ## @FONT_REGULAR
	.comm	_COL_WHITE,4,2                  ## @COL_WHITE
L_.str.3:                               ## @.str.3
	.asciz	"{\\an1\\pos(%d,%d)}"

L_.str.4:                               ## @.str.4
	.asciz	"\\N"

	.comm	_SSA_PREAMBLE_LEN,4,2           ## @SSA_PREAMBLE_LEN
	.comm	_HB_FRAME_SUBTITLE,8,3          ## @HB_FRAME_SUBTITLE
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
L_.str.5:                               ## @.str.5
	.asciz	"%d,,Default,,0,0,0,,"

	.comm	_HB_BUF_FLAG_EOS,4,2            ## @HB_BUF_FLAG_EOS
L_.str.6:                               ## @.str.6
	.asciz	"- - - - - - - - - - - -\r\n"

	.no_dead_strip	_write_cc_buffer_as_ssa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_cc_buffer_as_ssa
_write_cc_buffer_as_ssa:                ; @write_cc_buffer_as_ssa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #256
	.cfi_def_cfa_offset 256
	stp	x28, x27, [sp, #160]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #176]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #192]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #208]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #224]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #240]            ; 16-byte Folded Spill
	add	x29, sp, #240
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	x8, [x1, #48]
	ldr	x9, [x8]
Lloh3:
	adrp	x10, _subs_delay@GOTPAGE
Lloh4:
	ldr	x10, [x10, _subs_delay@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	adds	x25, x10, x9
	b.mi	LBB0_17
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh6:
	adrp	x24, _debug_608@GOTPAGE
Lloh7:
	ldr	x24, [x24, _debug_608@GOTPAGEOFF]
	ldr	x9, [x24]
	cbz	x9, LBB0_3
; %bb.2:
	ldr	w9, [x8, #8]
	add	w2, w9, #1
	str	w2, [x8, #8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	add	x21, sp, #16
	add	x0, sp, #16
	bl	_sprintf
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_hb_log
	str	x21, [sp]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_hb_log
LBB0_3:
	mov	x27, #0
	mov	w22, #0
	mov	w21, #0
	mov	w26, #41
	mov	w23, #15
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x27, x27, #1
	cmp	x27, #15
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x27, lsl #3]
	cbz	x8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w22, w22, #1
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x27, lsl #2]
	add	x1, sp, #16
	add	x2, sp, #12
	bl	_find_limit_characters
	ldp	w8, w9, [sp, #12]
	sub	w8, w8, w9
	cmp	w8, w21
	csinc	w21, w21, w8, lt
	cmp	w26, w9
	csel	w26, w26, w9, lt
	cmp	w23, w27
	csel	w23, w23, w27, lt
	b	LBB0_4
LBB0_7:
Lloh14:
	adrp	x8, _FONT_REGULAR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FONT_REGULAR@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _COL_WHITE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _COL_WHITE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #72]
	str	wzr, [x19]
	ldr	w10, [x19, #4]
	ldr	x8, [x19, #8]
	ldp	w11, w9, [x8]
	add	w9, w11, w9
	sub	w9, w10, w9
	ldr	w12, [x19, #16]
	ldp	w13, w8, [x8, #8]
	add	w8, w13, w8
	sub	w8, w12, w8
	scvtf	d0, w12
	ldp	d1, d2, [x19, #56]
	fmul	d1, d1, d0
	scvtf	d3, w10
	fmul	d2, d2, d3
	fdiv	d1, d1, d2
	mov	x14, #-7378697629483820647
	movk	x14, #39322
	movk	x14, #16313, lsl #48
	fmov	d2, x14
	fmul	d0, d0, d2
	fcvtzs	w14, d0
	fmul	d0, d3, d2
	fcvtzs	w15, d0
	sub	w10, w10, w15, lsl #1
	add	w16, w10, #15
	cmp	w10, #0
	csel	w10, w16, w10, lt
	sub	w12, w12, w14, lsl #1
	mov	x16, #-7378697629483820647
	movk	x16, #39322
	movk	x16, #16377, lsl #48
	fmov	d0, x16
	fcmp	d1, d0
	mov	w16, #32
	mov	w17, #42
	csel	w16, w17, w16, ge
	mov	x17, #-7378697629483820647
	movk	x17, #39322
	movk	x17, #16361, lsl #48
	fmov	d0, x17
	fmul	d0, d3, d0
	mov	x17, #5243
	movk	x17, #18350, lsl #16
	movk	x17, #31457, lsl #32
	movk	x17, #16308, lsl #48
	fmov	d1, x17
	fmul	d0, d0, d1
	fcvtzs	w17, d0
	scvtf	d0, w8
	mov	x0, #-7378697629483820647
	movk	x0, #39322
	movk	x0, #16281, lsl #48
	fmov	d1, x0
	fmul	d0, d0, d1
	fcvtzs	w0, d0
	scvtf	d0, w9
	fmul	d0, d0, d1
	fcvtzs	w1, d0
	asr	w10, w10, #4
	sdiv	w12, w12, w16
	add	w16, w26, #5
	csel	w16, w16, w26, ge
	add	w2, w22, w23
	madd	w10, w10, w2, w10
	sub	w11, w15, w11
	add	w10, w11, w10
	sub	w11, w14, w13
	madd	w11, w16, w12, w11
	mul	w13, w22, w17
	add	w14, w13, w1
	sub	w13, w10, w13
	cmp	w13, w1
	csel	w10, w14, w10, lt
	sub	w9, w9, w1
	cmp	w10, w9
	csel	w2, w10, w9, lt
	mul	w9, w12, w21
	add	w10, w11, w9
	add	w9, w9, w0
	sub	w9, w8, w9
	sub	w8, w8, w0
	cmp	w10, w8
	csel	w8, w9, w11, gt
	cmp	w8, w0
	csel	w1, w8, w0, gt
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_hb_strdup_printf
	mov	x21, x0
	mov	x22, #0
	mov	w28, #1
Lloh22:
	adrp	x27, l_.str.4@PAGE
Lloh23:
	add	x27, x27, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x22, #1
	cmp	x22, #15
	b.eq	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x22, lsl #3]
	cbz	x8, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x22, lsl #2]
	add	x1, sp, #16
	add	x2, sp, #12
	bl	_find_limit_characters
	ldr	w8, [sp, #16]
	sub	w23, w8, w26
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19]
	add	x0, x8, x9, lsl #3
	cmp	w28, #1
	csel	x1, x21, x27, eq
	bl	_encode_line
	ldr	w8, [x19]
	add	w8, w8, w0
	str	w8, [x19]
	ldr	x9, [x19, #24]
	add	x0, x9, w8, sxtw #3
	mov	x1, x23
	bl	_stuff_space
	ldr	w8, [x19]
	add	w8, w8, w0
	str	w8, [x19]
	ldr	x9, [x19, #24]
	add	x1, x9, w8, sxtw #3
	mov	x0, x19
	mov	x2, x22
	mov	x3, x20
	bl	_get_decoder_line_encoded
	ldr	w8, [x19]
	add	w8, w8, w0
	str	w8, [x19]
	mov	w28, #2
	b	LBB0_8
LBB0_11:
	mov	x0, x21
	bl	_free
	ldr	w8, [x19]
	cbz	w8, LBB0_15
; %bb.12:
	ldr	x9, [x19, #24]
	ldr	x9, [x9]
	cbz	x9, LBB0_15
; %bb.13:
	ldr	x9, [x20]
	cbz	x9, LBB0_15
; %bb.14:
	add	w8, w8, #1
	str	w8, [x19]
Lloh24:
	adrp	x9, _SSA_PREAMBLE_LEN@GOTPAGE
Lloh25:
	ldr	x9, [x9, _SSA_PREAMBLE_LEN@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	add	w0, w9, w8
	bl	_hb_buffer_init
	mov	x20, x0
Lloh27:
	adrp	x8, _HB_FRAME_SUBTITLE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _HB_FRAME_SUBTITLE@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	str	x8, [x0, #32]
Lloh30:
	adrp	x8, _AV_NOPTS_VALUE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	stp	x8, x25, [x0, #8]
	ldr	x8, [x19, #48]
	ldr	w8, [x8, #12]
	str	w8, [x0]
	ldr	x0, [x0, #40]
	ldr	w8, [x19, #32]
	add	w2, w8, #1
	str	w2, [x19, #32]
Lloh33:
	adrp	x1, l_.str.5@PAGE
Lloh34:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_sprintf
	ldr	x0, [x20, #40]
	bl	_strlen
	ldr	x8, [x20, #40]
	add	x0, x8, w0, sxtw
	ldr	x1, [x19, #24]
	ldr	w2, [x19]
	bl	_memcpy
	add	x0, x19, #40
	mov	x1, x20
	bl	_hb_buffer_list_append
	mov	w20, #1
	str	w20, [x19, #36]
	ldr	x8, [x24]
	cbnz	x8, LBB0_19
	b	LBB0_20
LBB0_15:
	ldr	w8, [x19, #36]
	cbz	w8, LBB0_18
; %bb.16:
	mov	w0, #0
	bl	_hb_buffer_init
	mov	x1, x0
Lloh35:
	adrp	x8, _HB_FRAME_SUBTITLE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _HB_FRAME_SUBTITLE@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	str	x8, [x0, #32]
Lloh38:
	adrp	x8, _HB_BUF_FLAG_EOS@GOTPAGE
Lloh39:
	ldr	x8, [x8, _HB_BUF_FLAG_EOS@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	stp	x25, x25, [x0, #8]
	ldr	x8, [x19, #48]
	ldr	w8, [x8, #12]
	str	w8, [x0]
	add	x0, x19, #40
	bl	_hb_buffer_list_append
	mov	w20, #0
	str	wzr, [x19, #36]
	ldr	x8, [x24]
	cbnz	x8, LBB0_19
	b	LBB0_20
LBB0_17:
	mov	w20, #0
	b	LBB0_20
LBB0_18:
	mov	w20, #0
	ldr	x8, [x24]
	cbz	x8, LBB0_20
LBB0_19:
Lloh41:
	adrp	x0, l_.str.6@PAGE
Lloh42:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_hb_log
LBB0_20:
	ldur	x8, [x29, #-96]
Lloh43:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh44:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	mov	x0, x20
	ldp	x29, x30, [sp, #240]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #224]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #208]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #192]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #176]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #256
	ret
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_subs_delay,8,3                 ; @subs_delay
	.comm	_debug_608,8,3                  ; @debug_608
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u\r\n"

l_.str.1:                               ; @.str.1
	.asciz	"\n- - - SSA caption - - -\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s"

	.comm	_FONT_REGULAR,4,2               ; @FONT_REGULAR
	.comm	_COL_WHITE,4,2                  ; @COL_WHITE
l_.str.3:                               ; @.str.3
	.asciz	"{\\an1\\pos(%d,%d)}"

l_.str.4:                               ; @.str.4
	.asciz	"\\N"

	.comm	_SSA_PREAMBLE_LEN,4,2           ; @SSA_PREAMBLE_LEN
	.comm	_HB_FRAME_SUBTITLE,8,3          ; @HB_FRAME_SUBTITLE
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
l_.str.5:                               ; @.str.5
	.asciz	"%d,,Default,,0,0,0,,"

	.comm	_HB_BUF_FLAG_EOS,4,2            ; @HB_BUF_FLAG_EOS
l_.str.6:                               ; @.str.6
	.asciz	"- - - - - - - - - - - -\r\n"

	.no_dead_strip	_write_cc_buffer_as_ssa
.subsections_via_symbols
