	.file	"extr_substx3g.c_ParseExtradataTextMedia.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ParseExtradataTextMedia, @function
ParseExtradataTextMedia:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR 8[rdi], 43
	jg	.L16
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR [rdi]
	mov	rbx, QWORD PTR 16[rdi]
	mov	rdi, rbp
	call	GetDWBE@PLT
	mov	ecx, eax
	test	ah, 16
	jne	.L3
	mov	rsi, QWORD PTR STYLE_ALPHA_OPAQUE[rip]
	mov	edx, DWORD PTR 4[rbx]
.L4:
	and	ch, 64
	je	.L5
	mov	eax, DWORD PTR STYLE_BACKGROUND[rip]
	not	eax
	and	DWORD PTR [rbx], eax
.L5:
	mov	eax, DWORD PTR 32[rbp]
	mov	ecx, DWORD PTR 40[rbp]
	lea	rdi, 128[rbp]
	sal	ecx, 8
	sal	eax, 16
	or	eax, ecx
	or	eax, DWORD PTR 48[rbp]
	mov	QWORD PTR 24[rbx], rsi
	mov	DWORD PTR 12[rbx], eax
	mov	eax, DWORD PTR STYLE_HAS_BACKGROUND_COLOR[rip]
	or	eax, DWORD PTR STYLE_HAS_BACKGROUND_ALPHA[rip]
	or	eax, edx
	mov	DWORD PTR 4[rbx], eax
	call	GetWBE@PLT
	mov	edi, eax
	call	ConvertToVLCFlags@PLT
	or	DWORD PTR [rbx], eax
	mov	edx, DWORD PTR 4[rbx]
	je	.L7
	or	edx, DWORD PTR STYLE_HAS_FLAGS[rip]
	mov	DWORD PTR 4[rbx], edx
.L7:
	mov	eax, DWORD PTR 148[rbp]
	mov	ecx, DWORD PTR 156[rbp]
	or	edx, DWORD PTR STYLE_HAS_FONT_COLOR[rip]
	sal	eax, 16
	sal	ecx, 8
	or	eax, ecx
	or	eax, DWORD PTR 164[rbp]
	mov	DWORD PTR 4[rbx], edx
	mov	DWORD PTR 16[rbx], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rsi, QWORD PTR STYLE_ALPHA_OPAQUE[rip]
	mov	eax, DWORD PTR STYLE_SHADOW[rip]
	mov	DWORD PTR 8[rbx], 12632256
	or	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR STYLE_HAS_SHADOW_COLOR[rip]
	or	eax, DWORD PTR STYLE_HAS_FLAGS[rip]
	or	eax, DWORD PTR STYLE_HAS_SHADOW_ALPHA[rip]
	mov	QWORD PTR 32[rbx], rsi
	or	eax, DWORD PTR 4[rbx]
	mov	DWORD PTR 4[rbx], eax
	mov	edx, eax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	ParseExtradataTextMedia, .-ParseExtradataTextMedia
	.comm	STYLE_SHADOW,4,4
	.comm	STYLE_HAS_SHADOW_COLOR,4,4
	.comm	STYLE_HAS_SHADOW_ALPHA,4,4
	.comm	STYLE_HAS_FONT_COLOR,4,4
	.comm	STYLE_HAS_FLAGS,4,4
	.comm	STYLE_HAS_BACKGROUND_COLOR,4,4
	.comm	STYLE_HAS_BACKGROUND_ALPHA,4,4
	.comm	STYLE_BACKGROUND,4,4
	.comm	STYLE_ALPHA_OPAQUE,8,8
	.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_substx3g.c_ParseExtradataTextMedia.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ParseExtradataTextMedia, %function
ParseExtradataTextMedia:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	cmp	r3, #43
	bxle	lr
	push	{r4, r5, r6, lr}
	ldr	r5, [r0]
	ldr	r4, [r0, #8]
	mov	r0, r5
	bl	GetDWBE
	tst	r0, #4096
	bne	.L3
	ldr	r3, .L16
	ldr	r1, [r4, #4]
	ldr	ip, [r3]
.L4:
	tst	r0, #16384
	ldrne	r2, .L16+4
	ldrne	r3, [r4]
	ldrne	r2, [r2]
	ldr	r0, .L16+8
	bicne	r3, r3, r2
	ldr	r2, .L16+12
	strne	r3, [r4]
	ldr	r0, [r0]
	ldr	r2, [r2]
	ldr	r3, [r5, #40]
	orr	r2, r2, r0
	ldr	r0, [r5, #32]
	orr	r2, r2, r1
	lsl	r3, r3, #8
	ldr	r1, [r5, #48]
	orr	r3, r3, r0, lsl #16
	orr	r3, r3, r1
	str	r2, [r4, #4]
	str	r3, [r4, #12]
	str	ip, [r4, #20]
	add	r0, r5, #128
	bl	GetWBE
	bl	ConvertToVLCFlags
	ldr	r3, [r4]
	orr	r0, r0, r3
	cmp	r0, #0
	ldrne	r3, .L16+16
	ldrne	r2, [r4, #4]
	ldrne	r1, [r3]
	str	r0, [r4]
	orrne	r1, r2, r1
	strne	r1, [r4, #4]
	ldr	r3, [r5, #156]
	ldr	r2, .L16+20
	ldr	ip, [r5, #148]
	ldr	r0, [r5, #164]
	ldreq	r1, [r4, #4]
	ldr	r2, [r2]
	lsl	r3, r3, #8
	orr	r3, r3, ip, lsl #16
	orr	r3, r3, r0
	orr	r2, r2, r1
	str	r3, [r4, #16]
	str	r2, [r4, #4]
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r2, .L16+24
	ldr	r3, .L16+16
	ldr	r1, .L16+28
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	ldr	ip, .L16+32
	orr	r2, r2, r3
	ldr	r3, .L16
	orr	r2, r2, r1
	ldr	r1, [r4, #4]
	ldr	lr, [ip]
	ldr	ip, [r3]
	ldr	r3, [r4]
	orr	r1, r2, r1
	ldr	r2, .L16+36
	orr	r3, r3, lr
	str	r1, [r4, #4]
	str	r3, [r4]
	str	ip, [r4, #24]
	str	r2, [r4, #8]
	b	.L4
.L17:
	.align	2
.L16:
	.word	STYLE_ALPHA_OPAQUE
	.word	STYLE_BACKGROUND
	.word	STYLE_HAS_BACKGROUND_ALPHA
	.word	STYLE_HAS_BACKGROUND_COLOR
	.word	STYLE_HAS_FLAGS
	.word	STYLE_HAS_FONT_COLOR
	.word	STYLE_HAS_SHADOW_COLOR
	.word	STYLE_HAS_SHADOW_ALPHA
	.word	STYLE_SHADOW
	.word	12632256
	.size	ParseExtradataTextMedia, .-ParseExtradataTextMedia
	.comm	STYLE_SHADOW,4,4
	.comm	STYLE_HAS_SHADOW_COLOR,4,4
	.comm	STYLE_HAS_SHADOW_ALPHA,4,4
	.comm	STYLE_HAS_FONT_COLOR,4,4
	.comm	STYLE_HAS_FLAGS,4,4
	.comm	STYLE_HAS_BACKGROUND_COLOR,4,4
	.comm	STYLE_HAS_BACKGROUND_ALPHA,4,4
	.comm	STYLE_BACKGROUND,4,4
	.comm	STYLE_ALPHA_OPAQUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
