	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function decccInit
LCPI0_0:
	.quad	0x3fe999999999999a              ## double 0.80000000000000004
LCPI0_1:
	.quad	0x3fb47ae147ae147b              ## double 0.080000000000000002
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_decccInit:                             ## @decccInit
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	$1, %ebx
	movl	$1, %edi
	movl	$16, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %r12
	movq	%rax, 8(%r15)
	movq	%r14, 8(%rax)
	movl	$1, %ebx
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	8(%r14), %rcx
	movl	4(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	(%r14), %rsi
	xorl	%edi, %edi
	movl	$16, %edx
	callq	_memcpy
	movq	8(%r14), %rax
	movl	8(%rax), %eax
	movq	(%r12), %rdi
	movl	%eax, 24(%rdi)
	callq	_general_608_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movl	$1, %ebx
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	movq	(%r12), %rcx
	movq	%rax, 16(%rcx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %rdi
	callq	_init_eia608
	xorl	%ebx, %ebx
LBB0_5:
	movq	(%r15), %rdi
	movq	(%rdi), %rax
	movq	_RENDERSUB@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movq	(%r12), %rax
	movl	%edx, 8(%rax)
	testl	%ebx, %ebx
	jne	LBB0_7
## %bb.6:
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movl	(%rcx), %edx
	movl	4(%rcx), %ecx
	movl	(%rax), %esi
	movl	8(%rax), %ebx
	addl	4(%rax), %esi
	addl	12(%rax), %ebx
	cvtsi2sd	%ecx, %xmm0
	subl	%ebx, %edx
	subl	%esi, %ecx
	mulsd	LCPI0_0(%rip), %xmm0
	movq	_HB_FONT_MONO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cvttpd2dq	%xmm0, %xmm0
	cvtdq2pd	%xmm0, %xmm0
	mulsd	LCPI0_1(%rip), %xmm0
	callq	_hb_subtitle_add_ssa_header
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RENDERSUB,8,3                  ## @RENDERSUB
	.comm	_HB_FONT_MONO,4,2               ## @HB_FONT_MONO
	.no_dead_strip	_decccInit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decccInit
_decccInit:                             ; @decccInit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	mov	w22, #1
	mov	w0, #1
	mov	w1, #16
	bl	_calloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x21, x0
	str	x0, [x20, #8]
	str	x19, [x0, #8]
	mov	w22, #1
	mov	w0, #1
	mov	w1, #4
	bl	_calloc
	str	x0, [x21]
	cbz	x0, LBB0_7
; %bb.2:
	ldp	x1, x8, [x19]
	ldr	w8, [x8, #4]
	str	w8, [x0, #4]
	mov	w0, #0
	mov	w2, #16
	bl	_memcpy
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #8]
	ldr	x0, [x21]
	str	w8, [x0, #24]
	bl	_general_608_init
	mov	x22, x0
	cbnz	w0, LBB0_5
; %bb.3:
	mov	w22, #1
	mov	w0, #1
	mov	w1, #4
	bl	_calloc
	ldr	x8, [x21]
	str	x0, [x8, #16]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_init_eia608
	mov	w22, #0
LBB0_5:
	ldr	x0, [x20]
Lloh0:
	adrp	x8, _RENDERSUB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RENDERSUB@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
	cset	w8, eq
	ldr	x9, [x21]
	str	w8, [x9, #8]
	cbnz	w22, LBB0_7
; %bb.6:
	ldp	x9, x8, [x19]
	ldp	w10, w11, [x9]
	ldp	w8, w12, [x8]
	add	w10, w10, w11
	sub	w3, w12, w10
	ldp	w10, w9, [x9, #8]
	add	w9, w10, w9
	sub	w2, w8, w9
	scvtf	d0, w12
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16361, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	fcvtzs	w8, d0
Lloh3:
	adrp	x9, _HB_FONT_MONO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HB_FONT_MONO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	scvtf	d0, w8
	mov	x8, #5243
	movk	x8, #18350, lsl #16
	movk	x8, #31457, lsl #32
	movk	x8, #16308, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	bl	_hb_subtitle_add_ssa_header
LBB0_7:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RENDERSUB,8,3                  ; @RENDERSUB
	.comm	_HB_FONT_MONO,4,2               ; @HB_FONT_MONO
	.no_dead_strip	_decccInit
.subsections_via_symbols
