	.file	"extr_tospdif.c_Open.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	Open, @function
Open:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rax, QWORD PTR 24[rdi]
	mov	rbx, rdi
	cmp	rax, QWORD PTR VLC_CODEC_DTS[rip]
	je	.L2
	cmp	rax, QWORD PTR VLC_CODEC_DTSHD[rip]
	je	.L2
	cmp	rax, QWORD PTR VLC_CODEC_A52[rip]
	je	.L2
	cmp	rax, QWORD PTR VLC_CODEC_EAC3[rip]
	je	.L2
	cmp	rax, QWORD PTR VLC_CODEC_MLP[rip]
	je	.L2
	cmp	rax, QWORD PTR VLC_CODEC_TRUEHD[rip]
	jne	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rax, QWORD PTR 16[rbx]
	cmp	rax, QWORD PTR VLC_CODEC_SPDIFL[rip]
	je	.L4
	cmp	rax, QWORD PTR VLC_CODEC_SPDIFB[rip]
	je	.L4
.L3:
	mov	eax, DWORD PTR VLC_EGENERIC[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edi, 1
	mov	esi, 4
	call	calloc@PLT
	xor	edi, edi
	mov	QWORD PTR 8[rbx], rax
	test	rax, rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L9
	mov	eax, DWORD PTR DoWork[rip]
	mov	DWORD PTR 4[rbx], eax
	mov	eax, DWORD PTR Flush[rip]
	mov	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR VLC_SUCCESS[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	eax, DWORD PTR VLC_ENOMEM[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	Open, .-Open
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_ENOMEM,4,4
	.comm	VLC_EGENERIC,4,4
	.comm	VLC_CODEC_TRUEHD,8,8
	.comm	VLC_CODEC_SPDIFL,8,8
	.comm	VLC_CODEC_SPDIFB,8,8
	.comm	VLC_CODEC_MLP,8,8
	.comm	VLC_CODEC_EAC3,8,8
	.comm	VLC_CODEC_DTSHD,8,8
	.comm	VLC_CODEC_DTS,8,8
	.comm	VLC_CODEC_A52,8,8
	.comm	Flush,4,4
	.comm	DoWork,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_tospdif.c_Open.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	Open, %function
Open:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L9
	ldr	r3, [r0, #16]
	ldr	r2, [r2]
	push	{r4, lr}
	cmp	r3, r2
	mov	r4, r0
	beq	.L2
	ldr	r2, .L9+4
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L2
	ldr	r2, .L9+8
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L2
	ldr	r2, .L9+12
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L2
	ldr	r2, .L9+16
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L2
	ldr	r2, .L9+20
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L3
.L2:
	ldr	r2, .L9+24
	ldr	r3, [r4, #12]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L4
	ldr	r2, .L9+28
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L4
.L3:
	ldr	r3, .L9+32
	ldr	r0, [r3]
	pop	{r4, pc}
.L4:
	mov	r1, #4
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	clz	r0, r0
	str	r3, [r4, #8]
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	ldreq	r2, .L9+36
	ldreq	r3, .L9+40
	ldreq	r2, [r2]
	ldrne	r3, .L9+44
	ldreq	r1, .L9+48
	ldreq	r3, [r3]
	ldrne	r0, [r3]
	streq	r2, [r4, #4]
	ldreq	r0, [r1]
	streq	r3, [r4]
	pop	{r4, pc}
.L10:
	.align	2
.L9:
	.word	VLC_CODEC_DTS
	.word	VLC_CODEC_DTSHD
	.word	VLC_CODEC_A52
	.word	VLC_CODEC_EAC3
	.word	VLC_CODEC_MLP
	.word	VLC_CODEC_TRUEHD
	.word	VLC_CODEC_SPDIFL
	.word	VLC_CODEC_SPDIFB
	.word	VLC_EGENERIC
	.word	DoWork
	.word	Flush
	.word	VLC_ENOMEM
	.word	VLC_SUCCESS
	.size	Open, .-Open
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_ENOMEM,4,4
	.comm	VLC_EGENERIC,4,4
	.comm	VLC_CODEC_TRUEHD,4,4
	.comm	VLC_CODEC_SPDIFL,4,4
	.comm	VLC_CODEC_SPDIFB,4,4
	.comm	VLC_CODEC_MLP,4,4
	.comm	VLC_CODEC_EAC3,4,4
	.comm	VLC_CODEC_DTSHD,4,4
	.comm	VLC_CODEC_DTS,4,4
	.comm	VLC_CODEC_A52,4,4
	.comm	Flush,4,4
	.comm	DoWork,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
