	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srt_markup_to_ssa
_srt_markup_to_ssa:                     ## @srt_markup_to_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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	$0, (%rsi)
	movb	(%rdi), %al
	cmpb	$123, %al
	je	LBB0_2
## %bb.1:
	cmpb	$60, %al
	jne	LBB0_8
LBB0_2:
	cmpb	$60, %al
	movl	$62, %edx
	movl	$125, %ecx
	cmovel	%edx, %ecx
	movb	1(%rbx), %dl
	cmpb	$104, %dl
	jg	LBB0_9
## %bb.3:
	cmpb	$47, %dl
	je	LBB0_14
## %bb.4:
	cmpb	$98, %dl
	jne	LBB0_30
## %bb.5:
	movsbl	2(%rbx), %edx
	cmpl	%edx, %ecx
	jne	LBB0_30
## %bb.6:
	movl	$3, (%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_54
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_23
LBB0_9:
	cmpb	$117, %dl
	je	LBB0_20
## %bb.10:
	cmpb	$105, %dl
	jne	LBB0_30
## %bb.11:
	movsbl	2(%rbx), %edx
	cmpl	%edx, %ecx
	jne	LBB0_30
## %bb.12:
	movl	$3, (%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_54
## %bb.13:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_23
LBB0_14:
	movb	2(%rbx), %dl
	cmpb	$98, %dl
	je	LBB0_24
## %bb.15:
	cmpb	$117, %dl
	je	LBB0_27
## %bb.16:
	cmpb	$105, %dl
	jne	LBB0_30
## %bb.17:
	movsbl	3(%rbx), %edx
	cmpl	%edx, %ecx
	jne	LBB0_30
## %bb.18:
	movl	$4, (%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_54
## %bb.19:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_23
LBB0_20:
	movsbl	2(%rbx), %edx
	cmpl	%edx, %ecx
	jne	LBB0_30
## %bb.21:
	movl	$3, (%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_54
## %bb.22:
	leaq	L_.str.2(%rip), %rdi
LBB0_23:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hb_strdup_printf               ## TAILCALL
LBB0_24:
	movsbl	3(%rbx), %edx
	cmpl	%edx, %ecx
	jne	LBB0_30
## %bb.25:
	movl	$4, (%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_54
## %bb.26:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_23
LBB0_27:
	movsbl	3(%rbx), %edx
	cmpl	%edx, %ecx
	jne	LBB0_30
## %bb.28:
	movl	$4, (%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_54
## %bb.29:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_23
LBB0_30:
	cmpb	$60, %al
	jne	LBB0_8
## %bb.31:
	leaq	1(%rbx), %r15
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_37
## %bb.32:
	cmpb	$60, (%rbx)
	jne	LBB0_8
## %bb.33:
	cmpb	$47, (%r15)
	jne	LBB0_8
## %bb.34:
	leaq	2(%rbx), %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	$4, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_8
## %bb.50:
	cmpb	$62, 6(%rbx)
	jne	LBB0_8
## %bb.51:
	movl	$7, (%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_54
## %bb.52:
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_23
LBB0_37:
	leaq	L_.str.7(%rip), %rsi
	leaq	-80(%rbp), %rdx
	movq	%r15, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.38:
	movl	(%r14), %eax
	movslq	%eax, %rcx
	cmpb	$62, (%rbx,%rcx)
	je	LBB0_41
## %bb.39:
	addq	%rbx, %rcx
	incq	%rcx
	.p2align	4, 0x90
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	incl	%eax
	movl	%eax, (%r14)
	cmpb	$62, (%rcx)
	leaq	1(%rcx), %rcx
	jne	LBB0_40
LBB0_41:
	incl	%eax
	movl	%eax, (%r14)
	cmpb	$35, -80(%rbp)
	jne	LBB0_46
## %bb.42:
	leaq	-79(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_strtol
	jmp	LBB0_47
LBB0_8:
	xorl	%eax, %eax
LBB0_48:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_54
## %bb.49:
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_46:
	leaq	-80(%rbp), %rdi
	callq	_hb_rgb_lookup_by_name
LBB0_47:
	movl	%eax, %edi
	callq	_HB_RGB_TO_BGR
	leaq	L_.str.8(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_hb_strdup_printf
	jmp	LBB0_48
LBB0_54:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"{\\i1}"

L_.str.1:                               ## @.str.1
	.asciz	"{\\b1}"

L_.str.2:                               ## @.str.2
	.asciz	"{\\u1}"

L_.str.3:                               ## @.str.3
	.asciz	"{\\i0}"

L_.str.4:                               ## @.str.4
	.asciz	"{\\b0}"

L_.str.5:                               ## @.str.5
	.asciz	"{\\u0}"

L_.str.6:                               ## @.str.6
	.asciz	"font"

L_.str.7:                               ## @.str.7
	.asciz	"font color=\"%39[^\"]\">"

L_.str.8:                               ## @.str.8
	.asciz	"{\\1c&H%X&}"

L_.str.9:                               ## @.str.9
	.asciz	"{\\1c&HFFFFFF&}"

	.no_dead_strip	_srt_markup_to_ssa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function srt_markup_to_ssa
_srt_markup_to_ssa:                     ; @srt_markup_to_ssa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	str	wzr, [x1]
	ldrb	w8, [x0]
	cmp	w8, #123
	b.eq	LBB0_2
; %bb.1:
	cmp	w8, #60
	b.ne	LBB0_43
LBB0_2:
	mov	w9, #125
	mov	w10, #62
	cmp	w8, #60
	csel	w9, w10, w9, eq
	mov	x21, x20
	ldrb	w10, [x21, #1]!
	cmp	w10, #104
	b.gt	LBB0_8
; %bb.3:
	cmp	w10, #47
	b.eq	LBB0_13
; %bb.4:
	cmp	w10, #98
	b.ne	LBB0_29
; %bb.5:
	ldrsb	w10, [x20, #2]
	cmp	w9, w10
	b.ne	LBB0_29
; %bb.6:
	mov	w8, #3
	str	w8, [x19]
	ldur	x8, [x29, #-40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_48
; %bb.7:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_22
LBB0_8:
	cmp	w10, #117
	b.eq	LBB0_19
; %bb.9:
	cmp	w10, #105
	b.ne	LBB0_29
; %bb.10:
	ldrsb	w10, [x20, #2]
	cmp	w9, w10
	b.ne	LBB0_29
; %bb.11:
	mov	w8, #3
	str	w8, [x19]
	ldur	x8, [x29, #-40]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_48
; %bb.12:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_22
LBB0_13:
	ldrb	w10, [x20, #2]
	cmp	w10, #98
	b.eq	LBB0_23
; %bb.14:
	cmp	w10, #117
	b.eq	LBB0_26
; %bb.15:
	cmp	w10, #105
	b.ne	LBB0_29
; %bb.16:
	ldrsb	w10, [x20, #3]
	cmp	w9, w10
	b.ne	LBB0_29
; %bb.17:
	mov	w8, #4
	str	w8, [x19]
	ldur	x8, [x29, #-40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_48
; %bb.18:
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_22
LBB0_19:
	ldrsb	w10, [x20, #2]
	cmp	w9, w10
	b.ne	LBB0_29
; %bb.20:
	mov	w8, #3
	str	w8, [x19]
	ldur	x8, [x29, #-40]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_48
; %bb.21:
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_22:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_hb_strdup_printf
LBB0_23:
	ldrsb	w10, [x20, #3]
	cmp	w9, w10
	b.ne	LBB0_29
; %bb.24:
	mov	w8, #4
	str	w8, [x19]
	ldur	x8, [x29, #-40]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_48
; %bb.25:
Lloh26:
	adrp	x0, l_.str.4@PAGE
Lloh27:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_22
LBB0_26:
	ldrsb	w10, [x20, #3]
	cmp	w9, w10
	b.ne	LBB0_29
; %bb.27:
	mov	w8, #4
	str	w8, [x19]
	ldur	x8, [x29, #-40]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_48
; %bb.28:
Lloh31:
	adrp	x0, l_.str.5@PAGE
Lloh32:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_22
LBB0_29:
	cmp	w8, #60
	b.ne	LBB0_43
; %bb.30:
Lloh33:
	adrp	x1, l_.str.6@PAGE
Lloh34:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	mov	w2, #4
	bl	_strncmp
	cbz	w0, LBB0_37
; %bb.31:
	ldrb	w8, [x20]
	cmp	w8, #60
	b.ne	LBB0_43
; %bb.32:
	ldrb	w8, [x21]
	cmp	w8, #47
	b.ne	LBB0_43
; %bb.33:
	add	x0, x20, #2
Lloh35:
	adrp	x1, l_.str.6@PAGE
Lloh36:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w2, #4
	bl	_strncmp
	cbnz	w0, LBB0_43
; %bb.34:
	ldrb	w8, [x20, #6]
	cmp	w8, #62
	b.ne	LBB0_43
; %bb.35:
	mov	w8, #7
	str	w8, [x19]
	ldur	x8, [x29, #-40]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_48
; %bb.36:
Lloh40:
	adrp	x0, l_.str.9@PAGE
Lloh41:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_22
LBB0_37:
Lloh42:
	adrp	x1, l_.str.7@PAGE
Lloh43:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x2, sp, #16
	mov	x0, x21
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_43
; %bb.38:
	ldr	w8, [x19]
	sxtw	x9, w8
	ldrb	w10, [x20, x9]
	cmp	w10, #62
	b.eq	LBB0_41
; %bb.39:
	add	x9, x9, x20
	add	x9, x9, #1
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	add	w8, w8, #1
	str	w8, [x19]
	ldrb	w10, [x9], #1
	cmp	w10, #62
	b.ne	LBB0_40
LBB0_41:
	add	w8, w8, #1
	str	w8, [x19]
	ldrb	w8, [sp, #16]
	cmp	w8, #35
	b.ne	LBB0_46
; %bb.42:
	add	x8, sp, #16
	add	x0, x8, #1
	mov	x1, #0
	mov	w2, #16
	bl	_strtol
	b	LBB0_47
LBB0_43:
	mov	x0, #0
LBB0_44:
	ldur	x8, [x29, #-40]
Lloh44:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh45:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_48
; %bb.45:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_46:
	add	x0, sp, #16
	bl	_hb_rgb_lookup_by_name
LBB0_47:
	bl	_HB_RGB_TO_BGR
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh47:
	adrp	x0, l_.str.8@PAGE
Lloh48:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_hb_strdup_printf
	b	LBB0_44
LBB0_48:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"{\\i1}"

l_.str.1:                               ; @.str.1
	.asciz	"{\\b1}"

l_.str.2:                               ; @.str.2
	.asciz	"{\\u1}"

l_.str.3:                               ; @.str.3
	.asciz	"{\\i0}"

l_.str.4:                               ; @.str.4
	.asciz	"{\\b0}"

l_.str.5:                               ; @.str.5
	.asciz	"{\\u0}"

l_.str.6:                               ; @.str.6
	.asciz	"font"

l_.str.7:                               ; @.str.7
	.asciz	"font color=\"%39[^\"]\">"

l_.str.8:                               ; @.str.8
	.asciz	"{\\1c&H%X&}"

l_.str.9:                               ; @.str.9
	.asciz	"{\\1c&HFFFFFF&}"

	.no_dead_strip	_srt_markup_to_ssa
.subsections_via_symbols
