	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function ssa_post_init
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ssa_post_init:                         ## @ssa_post_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %r12
	xorl	%eax, %eax
	callq	_ass_library_init
	movl	%eax, 8(%r12)
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	movq	_ssa_log@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%ebx, %ebx
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_ass_set_message_cb
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	32(%r14), %r15
	movq	%r15, %rdi
	callq	_hb_list_count
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	movq	_FONT_TTF_ATTACH@GOTPCREL(%rip), %r13
	movq	_FONT_OTF_ATTACH@GOTPCREL(%rip), %r14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%r12), %edi
	movl	16(%rax), %esi
	movl	8(%rax), %ecx
	movl	12(%rax), %edx
	callq	_ass_add_font
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%ebx
	movq	%r15, %rdi
	callq	_hb_list_count
	cmpl	%eax, %ebx
	jge	LBB0_7
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_hb_list_item
	movq	(%rax), %rcx
	cmpq	(%r13), %rcx
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	(%r14), %rcx
	jne	LBB0_4
	jmp	LBB0_3
LBB0_7:
	movl	8(%r12), %edi
	movl	$1, %ebx
	movl	$1, %esi
	callq	_ass_set_extract_fonts
	movl	8(%r12), %edi
	xorl	%esi, %esi
	callq	_ass_set_style_overrides
	movl	8(%r12), %edi
	callq	_ass_renderer_init
	movl	%eax, (%r12)
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ass_set_use_margins
	movl	(%r12), %edi
	movq	_ASS_HINTING_LIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ass_set_hinting
	movl	(%r12), %edi
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_ass_set_font_scale
	movl	(%r12), %edi
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_ass_set_line_spacing
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rdx
	movl	$1, %ebx
	xorl	%esi, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ass_set_fonts
	movl	8(%r12), %edi
	callq	_ass_new_track
	movl	%eax, 4(%r12)
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	(%rax), %esi
	addl	4(%rax), %esi
	movl	8(%rax), %edi
	movl	(%rcx), %edx
	subl	%esi, %edx
	movl	4(%rcx), %esi
	addl	12(%rax), %edi
	subl	%edi, %esi
	movl	(%r12), %edi
	callq	_ass_set_frame_size
	xorps	%xmm0, %xmm0
	cvtsi2sdq	16(%rbx), %xmm0
	divsd	8(%rbx), %xmm0
	movl	(%r12), %edi
	movl	$1, %esi
	callq	_ass_set_aspect_ratio
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_10:
	leaq	L_.str(%rip), %rdi
	callq	_hb_error
	movl	$1, %ebx
	jmp	LBB0_14
LBB0_11:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str.3(%rip), %rdi
LBB0_13:
	callq	_hb_log
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"decssasub: libass initialization failed\n"

	.comm	_ssa_log,4,2                    ## @ssa_log
	.comm	_FONT_TTF_ATTACH,8,3            ## @FONT_TTF_ATTACH
	.comm	_FONT_OTF_ATTACH,8,3            ## @FONT_OTF_ATTACH
L_.str.1:                               ## @.str.1
	.asciz	"decssasub: renderer initialization failed\n"

	.comm	_ASS_HINTING_LIGHT,4,2          ## @ASS_HINTING_LIGHT
L_.str.2:                               ## @.str.2
	.asciz	"Arial"

L_.str.3:                               ## @.str.3
	.asciz	"decssasub: ssa track initialization failed\n"

	.no_dead_strip	_ssa_post_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssa_post_init
_ssa_post_init:                         ; @ssa_post_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	ldr	x22, [x0]
	bl	_ass_library_init
	str	w0, [x22, #8]
	cbz	w0, LBB0_9
; %bb.1:
Lloh0:
	adrp	x8, _ssa_log@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ssa_log@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_ass_set_message_cb
	ldr	x20, [x19, #32]
	mov	x0, x20
	bl	_hb_list_count
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.2:
	mov	w21, #0
Lloh3:
	adrp	x23, _FONT_TTF_ATTACH@GOTPAGE
Lloh4:
	ldr	x23, [x23, _FONT_TTF_ATTACH@GOTPAGEOFF]
Lloh5:
	adrp	x24, _FONT_OTF_ATTACH@GOTPAGE
Lloh6:
	ldr	x24, [x24, _FONT_OTF_ATTACH@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	mov	x0, x20
	bl	_hb_list_count
	cmp	w21, w0
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_hb_list_item
	ldr	x8, [x0]
	ldr	x9, [x23]
	ldr	x10, [x24]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22, #8]
	ldp	w2, w1, [x0, #12]
	ldr	w3, [x0, #8]
	mov	x0, x8
	bl	_ass_add_font
	b	LBB0_3
LBB0_6:
	ldr	w0, [x22, #8]
	mov	w1, #1
	bl	_ass_set_extract_fonts
	ldr	w0, [x22, #8]
	mov	x1, #0
	bl	_ass_set_style_overrides
	ldr	w0, [x22, #8]
	bl	_ass_renderer_init
	str	w0, [x22]
	cbz	w0, LBB0_10
; %bb.7:
	mov	w1, #0
	bl	_ass_set_use_margins
	ldr	w0, [x22]
Lloh7:
	adrp	x8, _ASS_HINTING_LIGHT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ASS_HINTING_LIGHT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_ass_set_hinting
	ldr	w0, [x22]
	fmov	d0, #1.00000000
	bl	_ass_set_font_scale
	ldr	w0, [x22]
	fmov	d0, #1.00000000
	bl	_ass_set_line_spacing
	ldr	w0, [x22]
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, #0
	mov	w3, #1
	mov	x4, #0
	mov	w5, #1
	bl	_ass_set_fonts
	ldr	w0, [x22, #8]
	bl	_ass_new_track
	str	w0, [x22, #4]
	cbz	w0, LBB0_11
; %bb.8:
	ldr	x8, [x19, #24]
	ldr	x9, [x19]
	ldp	w10, w11, [x9]
	ldp	w12, w8, [x8]
	add	w10, w10, w11
	sub	w2, w12, w10
	ldp	w10, w9, [x9, #8]
	add	w9, w10, w9
	sub	w1, w8, w9
	ldr	w0, [x22]
	bl	_ass_set_frame_size
	ldp	d1, d0, [x19, #8]
	scvtf	d0, d0
	ldr	w0, [x22]
	fdiv	d0, d0, d1
	mov	w1, #1
	bl	_ass_set_aspect_ratio
	mov	w0, #0
	b	LBB0_14
LBB0_9:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hb_error
	b	LBB0_13
LBB0_10:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_12:
	bl	_hb_log
LBB0_13:
	mov	w0, #1
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"decssasub: libass initialization failed\n"

	.comm	_ssa_log,4,2                    ; @ssa_log
	.comm	_FONT_TTF_ATTACH,8,3            ; @FONT_TTF_ATTACH
	.comm	_FONT_OTF_ATTACH,8,3            ; @FONT_OTF_ATTACH
l_.str.1:                               ; @.str.1
	.asciz	"decssasub: renderer initialization failed\n"

	.comm	_ASS_HINTING_LIGHT,4,2          ; @ASS_HINTING_LIGHT
l_.str.2:                               ; @.str.2
	.asciz	"Arial"

l_.str.3:                               ; @.str.3
	.asciz	"decssasub: ssa track initialization failed\n"

	.no_dead_strip	_ssa_post_init
.subsections_via_symbols
