	.file	"extr_spudec.c_OpenCommon.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"dvdsub-transparency"
	.text
	.p2align 4
	.type	OpenCommon, @function
OpenCommon:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR VLC_CODEC_SPU[rip]
	cmp	QWORD PTR 16[rdi], rax
	je	.L2
	mov	eax, DWORD PTR VLC_EGENERIC[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, 40
	call	malloc@PLT
	mov	r12, rax
	mov	QWORD PTR 32[rbx], rax
	mov	eax, DWORD PTR VLC_ENOMEM[rip]
	test	r12, r12
	je	.L1
	mov	DWORD PTR [r12], ebp
	lea	rsi, .LC0[rip]
	mov	rdi, rbx
	call	var_InheritBool@PLT
	mov	QWORD PTR 24[r12], 0
	mov	DWORD PTR 32[r12], eax
	mov	QWORD PTR 16[r12], 0
	mov	QWORD PTR 8[r12], 0
	test	ebp, ebp
	jne	.L11
	mov	rax, QWORD PTR VLC_CODEC_SPU[rip]
	mov	QWORD PTR 8[rbx], rax
	mov	eax, DWORD PTR Decode[rip]
	mov	DWORD PTR [rbx], eax
.L6:
	mov	eax, DWORD PTR VLC_SUCCESS[rip]
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	eax, DWORD PTR Packetize[rip]
	lea	rsi, 16[rbx]
	lea	rdi, 8[rbx]
	mov	DWORD PTR 24[rbx], eax
	call	es_format_Copy@PLT
	mov	rax, QWORD PTR VLC_CODEC_SPU[rip]
	mov	QWORD PTR 8[rbx], rax
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	OpenCommon, .-OpenCommon
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_ENOMEM,4,4
	.comm	VLC_EGENERIC,4,4
	.comm	VLC_CODEC_SPU,8,8
	.comm	Packetize,4,4
	.comm	Decode,4,4
	.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_spudec.c_OpenCommon.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"dvdsub-transparency\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	OpenCommon, %function
OpenCommon:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L11
	ldr	r2, [r0, #8]
	ldr	r3, [r7]
	cmp	r2, r3
	beq	.L2
	ldr	r3, .L11+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r4, r0
	mov	r0, #20
	mov	r5, r1
	bl	malloc
	cmp	r0, #0
	mov	r6, r0
	str	r0, [r4, #16]
	beq	.L9
	mov	r0, r4
	ldr	r1, .L11+8
	str	r5, [r6]
	bl	var_InheritBool
	mov	r3, #0
	cmp	r5, r3
	str	r0, [r6, #16]
	str	r3, [r6, #12]
	str	r3, [r6, #8]
	str	r3, [r6, #4]
	bne	.L10
	ldr	r3, .L11+12
	ldr	r2, [r7]
	ldr	r3, [r3]
	str	r2, [r4, #4]
	str	r3, [r4]
.L6:
	ldr	r3, .L11+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r3, .L11+20
	add	r1, r4, #8
	ldr	r3, [r3]
	add	r0, r4, #4
	str	r3, [r4, #12]
	bl	es_format_Copy
	ldr	r3, [r7]
	str	r3, [r4, #4]
	b	.L6
.L9:
	ldr	r3, .L11+24
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	VLC_CODEC_SPU
	.word	VLC_EGENERIC
	.word	.LC0
	.word	Decode
	.word	VLC_SUCCESS
	.word	Packetize
	.word	VLC_ENOMEM
	.size	OpenCommon, .-OpenCommon
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_ENOMEM,4,4
	.comm	VLC_EGENERIC,4,4
	.comm	VLC_CODEC_SPU,4,4
	.comm	Packetize,4,4
	.comm	Decode,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
