	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_ass_subtitle
_parse_ass_subtitle:                    ## @parse_ass_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
	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
	movl	$58, %esi
	callq	_strchr
	leaq	1(%rax), %rdi
	movl	$44, %esi
	callq	_strchr
	leaq	1(%rax), %rdi
	movl	$44, %esi
	callq	_strchr
	leaq	1(%rax), %rdi
	movl	$44, %esi
	callq	_strchr
	leaq	1(%rax), %rdi
	movl	$44, %esi
	callq	_strchr
	leaq	1(%rax), %rdi
	movl	$44, %esi
	callq	_strchr
	leaq	1(%rax), %rdi
	movl	$44, %esi
	callq	_strchr
	leaq	1(%rax), %rdi
	movl	$44, %esi
	callq	_strchr
	leaq	1(%rax), %rdi
	movl	$44, %esi
	callq	_strchr
	leaq	1(%rax), %rdi
	movl	$44, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	incq	%r15
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	movq	%rax, %r13
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rbx
	subq	%r15, %rbx
	leaq	(%r14,%r12), %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	addq	%rbx, %r12
	movb	$10, (%r14,%r12)
	incq	%rbx
	movq	%r13, %r15
	addq	$2, %r15
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strstr
	movq	%rax, %r13
	movq	%rbx, %r12
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_4
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
LBB0_4:
	movq	%r15, %rdi
	callq	_strlen
	movslq	%eax, %r12
	leaq	(%r14,%rbx), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_memcpy
	addq	%r12, %rbx
	leaq	(%r14,%rbx), %rax
	decq	%rax
	cmpb	$10, -1(%r14,%rbx)
	leaq	(%r14,%rbx), %rcx
	cmoveq	%rax, %rcx
	movb	$0, (%rcx)
	movq	%r14, %rdi
	callq	_strlen
	incl	%eax
	cltq
LBB0_5:
	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	"\\N"

	.no_dead_strip	_parse_ass_subtitle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_ass_subtitle
_parse_ass_subtitle:                    ; @parse_ass_subtitle
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	mov	w1, #58
	bl	_strchr
	add	x0, x0, #1
	mov	w1, #44
	bl	_strchr
	add	x0, x0, #1
	mov	w1, #44
	bl	_strchr
	add	x0, x0, #1
	mov	w1, #44
	bl	_strchr
	add	x0, x0, #1
	mov	w1, #44
	bl	_strchr
	add	x0, x0, #1
	mov	w1, #44
	bl	_strchr
	add	x0, x0, #1
	mov	w1, #44
	bl	_strchr
	add	x0, x0, #1
	mov	w1, #44
	bl	_strchr
	add	x0, x0, #1
	mov	w1, #44
	bl	_strchr
	add	x0, x0, #1
	mov	w1, #44
	bl	_strchr
	cbz	x0, LBB0_6
; %bb.1:
	add	x20, x0, #1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbz	x0, LBB0_4
; %bb.2:
	mov	x22, x0
	mov	x24, #0
	mov	w25, #10
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	x23, x22, x20
	add	x0, x19, x24
	mov	x1, x20
	mov	x2, x23
	bl	_memcpy
	add	x8, x23, x24
	strb	w25, [x19, x8]
	add	x24, x23, #1
	add	x20, x22, #2
	mov	x0, x20
	mov	x1, x21
	bl	_strstr
	mov	x22, x0
	cbnz	x0, LBB0_3
	b	LBB0_5
LBB0_4:
	mov	x24, #0
LBB0_5:
	mov	x0, x20
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x21, w0
	add	x0, x19, x24
	mov	x1, x20
	mov	x2, x21
	bl	_memcpy
	add	x8, x24, x21
	sub	x9, x8, #1
	ldrb	w10, [x19, x9]
	cmp	w10, #10
	csel	x8, x9, x8, eq
	strb	wzr, [x19, x8]
	mov	x0, x19
	bl	_strlen
	add	w8, w0, #1
	sxtw	x0, w8
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\\N"

	.no_dead_strip	_parse_ass_subtitle
.subsections_via_symbols
