	.file	"extr_decsrtsub.c_srt_markup_to_ssa.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"{\\i1}"
.LC1:
	.string	"{\\b1}"
.LC2:
	.string	"{\\u1}"
.LC3:
	.string	"{\\i0}"
.LC4:
	.string	"{\\b0}"
.LC5:
	.string	"{\\u0}"
.LC6:
	.string	"font"
.LC7:
	.string	"font color=\"%39[^\"]\">"
.LC8:
	.string	"{\\1c&H%X&}"
.LC9:
	.string	"{\\1c&HFFFFFF&}"
	.text
	.p2align 4
	.type	srt_markup_to_ssa, @function
srt_markup_to_ssa:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	DWORD PTR [rsi], 0
	movzx	eax, BYTE PTR [rdi]
	cmp	al, 60
	je	.L2
	cmp	al, 123
	jne	.L11
.L2:
	mov	ecx, 125
	cmp	al, 60
	mov	edx, 62
	cmovne	edx, ecx
	movzx	ecx, BYTE PTR 1[rbx]
	cmp	cl, 105
	je	.L28
	cmp	cl, 98
	je	.L29
	cmp	cl, 117
	jne	.L8
	cmp	BYTE PTR 2[rbx], dl
	jne	.L6
	mov	DWORD PTR 0[rbp], 3
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	hb_strdup_printf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L29:
	cmp	BYTE PTR 2[rbx], dl
	je	.L30
.L6:
	cmp	al, 60
	je	.L31
.L11:
	xor	eax, eax
.L1:
	mov	rsi, QWORD PTR 40[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L32
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	cmp	cl, 47
	jne	.L6
	movzx	ecx, BYTE PTR 2[rbx]
	cmp	cl, 105
	je	.L33
	cmp	cl, 98
	jne	.L10
	cmp	BYTE PTR 3[rbx], dl
	jne	.L6
	mov	DWORD PTR 0[rbp], 4
	lea	rdi, .LC4[rip]
	xor	eax, eax
	call	hb_strdup_printf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L28:
	cmp	BYTE PTR 2[rbx], dl
	jne	.L6
	mov	DWORD PTR 0[rbp], 3
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	hb_strdup_printf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L31:
	lea	r12, 1[rbx]
	mov	edx, 4
	lea	rsi, .LC6[rip]
	mov	rdi, r12
	call	strncmp@PLT
	test	eax, eax
	je	.L34
	cmp	BYTE PTR [rbx], 60
	jne	.L11
	cmp	BYTE PTR 1[rbx], 47
	jne	.L11
	lea	rdi, 2[rbx]
	mov	edx, 4
	lea	rsi, .LC6[rip]
	call	strncmp@PLT
	test	eax, eax
	jne	.L11
	cmp	BYTE PTR 6[rbx], 62
	jne	.L11
	mov	DWORD PTR 0[rbp], 7
	lea	rdi, .LC9[rip]
	call	hb_strdup_printf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L33:
	cmp	BYTE PTR 3[rbx], dl
	jne	.L6
	mov	DWORD PTR 0[rbp], 4
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	hb_strdup_printf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	cmp	cl, 117
	jne	.L6
	cmp	BYTE PTR 3[rbx], dl
	jne	.L6
	mov	DWORD PTR 0[rbp], 4
	lea	rdi, .LC5[rip]
	xor	eax, eax
	call	hb_strdup_printf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L34:
	mov	r13, rsp
	lea	rsi, .LC7[rip]
	mov	rdi, r12
	mov	rdx, r13
	call	sscanf@PLT
	cmp	eax, 1
	jne	.L11
	movsx	rax, DWORD PTR 0[rbp]
	cmp	BYTE PTR [rbx+rax], 62
	mov	rdx, rax
	je	.L13
	lea	eax, 1[rax]
	cdqe
	.p2align 4,,10
	.p2align 3
.L14:
	mov	DWORD PTR 0[rbp], eax
	mov	edx, eax
	add	rax, 1
	cmp	BYTE PTR -1[rbx+rax], 62
	jne	.L14
.L13:
	add	edx, 1
	cmp	BYTE PTR [rsp], 35
	mov	DWORD PTR 0[rbp], edx
	je	.L35
	mov	rdi, r13
	call	hb_rgb_lookup_by_name@PLT
	mov	edi, eax
.L16:
	call	HB_RGB_TO_BGR@PLT
	lea	rdi, .LC8[rip]
	mov	esi, eax
	xor	eax, eax
	call	hb_strdup_printf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L30:
	mov	DWORD PTR 0[rbp], 3
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	hb_strdup_printf@PLT
	jmp	.L1
.L35:
	lea	rdi, 1[rsp]
	mov	edx, 16
	xor	esi, esi
	call	strtol@PLT
	mov	edi, eax
	jmp	.L16
.L32:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	srt_markup_to_ssa, .-srt_markup_to_ssa
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_decsrtsub.c_srt_markup_to_ssa.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"{\\i1}\000"
	.align	2
.LC1:
	.ascii	"{\\b1}\000"
	.align	2
.LC2:
	.ascii	"{\\u1}\000"
	.align	2
.LC3:
	.ascii	"{\\i0}\000"
	.align	2
.LC4:
	.ascii	"{\\b0}\000"
	.align	2
.LC5:
	.ascii	"{\\u0}\000"
	.align	2
.LC6:
	.ascii	"font\000"
	.align	2
.LC7:
	.ascii	"font color=\"%39[^\"]\">\000"
	.align	2
.LC8:
	.ascii	"{\\1c&H%X&}\000"
	.align	2
.LC9:
	.ascii	"{\\1c&HFFFFFF&}\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	srt_markup_to_ssa, %function
srt_markup_to_ssa:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, lr}
	ldr	r2, .L33
	sub	sp, sp, #52
	ldr	r2, [r2]
	str	r2, [sp, #44]
	mov	r2,#0
	str	r3, [r1]
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r3, #60
	cmpne	r3, #123
	bne	.L11
	ldrb	r5, [r0, #1]	@ zero_extendqisi2
	cmp	r3, #60
	moveq	r2, #62
	movne	r2, #125
	cmp	r5, #105
	mov	r6, r1
	mov	r4, r0
	beq	.L25
	cmp	r5, #98
	beq	.L26
	cmp	r5, #117
	bne	.L8
	ldrb	r1, [r0, #2]	@ zero_extendqisi2
	cmp	r1, r2
	bne	.L6
	mov	r3, #3
	ldr	r0, .L33+4
	str	r3, [r6]
	bl	hb_strdup_printf
	b	.L1
.L26:
	ldrb	r1, [r0, #2]	@ zero_extendqisi2
	cmp	r1, r2
	beq	.L27
.L6:
	cmp	r3, #60
	bne	.L11
	add	r7, r4, #1
	mov	r0, r7
	mov	r2, #4
	ldr	r1, .L33+8
	bl	strncmp
	cmp	r0, #0
	beq	.L28
	cmp	r5, #47
	bne	.L11
	mov	r2, #4
	ldr	r1, .L33+8
	add	r0, r4, #2
	bl	strncmp
	cmp	r0, #0
	bne	.L11
	ldrb	r3, [r4, #6]	@ zero_extendqisi2
	cmp	r3, #62
	beq	.L29
.L11:
	mov	r0, #0
.L1:
	ldr	r3, .L33
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L30
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L8:
	cmp	r5, #47
	bne	.L6
	ldrb	r1, [r0, #2]	@ zero_extendqisi2
	cmp	r1, #105
	beq	.L31
	cmp	r1, #98
	bne	.L10
	ldrb	r1, [r0, #3]	@ zero_extendqisi2
	cmp	r1, r2
	bne	.L6
	mov	r3, #4
	ldr	r0, .L33+12
	str	r3, [r6]
	bl	hb_strdup_printf
	b	.L1
.L25:
	ldrb	r1, [r0, #2]	@ zero_extendqisi2
	cmp	r1, r2
	bne	.L6
	mov	r3, #3
	ldr	r0, .L33+16
	str	r3, [r6]
	bl	hb_strdup_printf
	b	.L1
.L31:
	ldrb	r1, [r0, #3]	@ zero_extendqisi2
	cmp	r1, r2
	bne	.L6
	mov	r3, #4
	ldr	r0, .L33+20
	str	r3, [r6]
	bl	hb_strdup_printf
	b	.L1
.L28:
	mov	r0, r7
	ldr	r1, .L33+24
	add	r2, sp, #4
	bl	sscanf
	cmp	r0, #1
	bne	.L11
	ldr	r2, [r6]
	ldrb	r1, [r4, r2]	@ zero_extendqisi2
	add	r3, r4, r2
	cmp	r1, #62
	beq	.L13
	rsb	r4, r4, #1
.L14:
	add	r2, r4, r3
	str	r2, [r6]
	ldrb	r1, [r3, #1]!	@ zero_extendqisi2
	cmp	r1, #62
	bne	.L14
.L13:
	ldrb	r3, [sp, #4]	@ zero_extendqisi2
	add	r2, r2, #1
	cmp	r3, #35
	str	r2, [r6]
	beq	.L32
	add	r0, sp, #4
	bl	hb_rgb_lookup_by_name
.L16:
	bl	HB_RGB_TO_BGR
	mov	r1, r0
	ldr	r0, .L33+28
	bl	hb_strdup_printf
	b	.L1
.L10:
	cmp	r1, #117
	bne	.L6
	ldrb	r1, [r0, #3]	@ zero_extendqisi2
	cmp	r1, r2
	bne	.L6
	mov	r3, #4
	ldr	r0, .L33+32
	str	r3, [r6]
	bl	hb_strdup_printf
	b	.L1
.L29:
	mov	r3, #7
	ldr	r0, .L33+36
	str	r3, [r6]
	bl	hb_strdup_printf
	b	.L1
.L27:
	mov	r3, #3
	ldr	r0, .L33+40
	str	r3, [r6]
	bl	hb_strdup_printf
	b	.L1
.L32:
	mov	r2, #16
	mov	r1, #0
	add	r0, sp, #5
	bl	strtol
	b	.L16
.L30:
	bl	__stack_chk_fail
.L34:
	.align	2
.L33:
	.word	.LC10
	.word	.LC2
	.word	.LC6
	.word	.LC4
	.word	.LC0
	.word	.LC3
	.word	.LC7
	.word	.LC8
	.word	.LC5
	.word	.LC9
	.word	.LC1
	.size	srt_markup_to_ssa, .-srt_markup_to_ssa
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
