	.file	"extr_goom.c_Open.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"goom-width"
.LC1:
	.string	"goom-height"
.LC2:
	.string	"no suitable vout module"
.LC3:
	.string	"goom-speed"
.LC4:
	.string	"cannot launch goom thread"
	.text
	.p2align 4
	.type	Open, @function
Open:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	esi, 80
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	mov	edi, 1
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	calloc@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	mov	QWORD PTR 24[r12], rax
	mov	rbp, rax
	call	var_InheritInteger@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	mov	ebx, eax
	call	var_InheritInteger@PLT
	mov	DWORD PTR 52[rbp], ebx
	lea	rsi, 48[rbp]
	mov	rdi, r12
	mov	DWORD PTR 60[rbp], eax
	mov	DWORD PTR 56[rbp], eax
	mov	eax, DWORD PTR VLC_CODEC_RGB32[rip]
	mov	DWORD PTR 48[rbp], ebx
	mov	DWORD PTR 72[rbp], eax
	movabs	rax, 4294967297
	mov	QWORD PTR 64[rbp], rax
	call	aout_filter_GetVout@PLT
	mov	QWORD PTR 8[rbp], rax
	test	rax, rax
	je	.L9
	lea	rsi, .LC3[rip]
	mov	rdi, r12
	mov	rbx, QWORD PTR MAX_SPEED[rip]
	lea	r15, 20[rbp]
	call	var_InheritInteger@PLT
	lea	r14, 16[rbp]
	mov	rdi, r15
	lea	r13, 32[rbp]
	cdqe
	sub	rbx, rax
	mov	eax, 0
	cmovs	rbx, rax
	mov	QWORD PTR 0[rbp], rbx
	call	vlc_mutex_init@PLT
	mov	rdi, r14
	call	vlc_cond_init@PLT
	mov	QWORD PTR 40[rbp], 0
	mov	esi, DWORD PTR 12[r12]
	mov	rdi, r13
	mov	edx, 1
	call	date_Init@PLT
	mov	esi, DWORD PTR VLC_TICK_0[rip]
	mov	rdi, r13
	call	date_Set@PLT
	lea	rdi, 8[r12]
	call	aout_FormatNbChannels@PLT
	mov	ecx, DWORD PTR VLC_THREAD_PRIORITY_LOW[rip]
	lea	rdi, 24[rbp]
	mov	rdx, rbp
	mov	DWORD PTR 28[rbp], eax
	mov	esi, DWORD PTR Thread[rip]
	call	vlc_clone@PLT
	test	rax, rax
	jne	.L10
	mov	eax, DWORD PTR VLC_CODEC_FL32[rip]
	mov	DWORD PTR 8[r12], eax
	mov	rax, QWORD PTR 8[r12]
	mov	QWORD PTR 16[r12], rax
	mov	eax, DWORD PTR DoWork[rip]
	mov	DWORD PTR 4[r12], eax
	mov	eax, DWORD PTR Flush[rip]
	mov	DWORD PTR [r12], eax
	mov	eax, DWORD PTR VLC_SUCCESS[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, r12
	lea	rsi, .LC2[rip]
	call	msg_Err@PLT
	mov	rdi, rbp
	call	free@PLT
	mov	eax, DWORD PTR VLC_EGENERIC[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rsi, .LC4[rip]
	mov	rdi, r12
	call	msg_Err@PLT
	mov	rdi, r15
	call	vlc_mutex_destroy@PLT
	mov	rdi, r14
	call	vlc_cond_destroy@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	vout_Close@PLT
	mov	rdi, rbp
	call	free@PLT
	mov	eax, DWORD PTR VLC_EGENERIC[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	Open, .-Open
	.comm	VLC_TICK_0,4,4
	.comm	VLC_THREAD_PRIORITY_LOW,4,4
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_EGENERIC,4,4
	.comm	VLC_CODEC_RGB32,4,4
	.comm	VLC_CODEC_FL32,4,4
	.comm	Thread,4,4
	.comm	MAX_SPEED,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_goom.c_Open.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"goom-width\000"
	.align	2
.LC1:
	.ascii	"goom-height\000"
	.align	2
.LC2:
	.ascii	"no suitable vout module\000"
	.align	2
.LC3:
	.ascii	"goom-speed\000"
	.align	2
.LC4:
	.ascii	"cannot launch goom thread\000"
	.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
	push	{r4, r5, r6, r7, r8, lr}
	mov	r1, #60
	mov	r5, r0
	mov	r0, #1
	bl	calloc
	mov	r4, r0
	ldr	r1, .L11
	mov	r0, r5
	str	r4, [r5, #24]
	bl	var_InheritInteger
	ldr	r1, .L11+4
	mov	r6, r0
	mov	r0, r5
	bl	var_InheritInteger
	mov	r3, #1
	ldr	r2, .L11+8
	str	r0, [r4, #44]
	ldr	r2, [r2]
	str	r0, [r4, #40]
	add	r1, r4, #32
	mov	r0, r5
	str	r6, [r4, #36]
	str	r6, [r4, #32]
	str	r2, [r4, #56]
	str	r3, [r4, #52]
	str	r3, [r4, #48]
	bl	aout_filter_GetVout
	cmp	r0, #0
	str	r0, [r4, #4]
	beq	.L9
	ldr	r3, .L11+12
	ldr	r1, .L11+16
	mov	r0, r5
	ldr	r6, [r3]
	bl	var_InheritInteger
	subs	r6, r6, r0
	movmi	r3, #0
	add	r8, r4, #12
	mov	r0, r8
	add	r7, r4, #8
	strpl	r6, [r4]
	strmi	r3, [r4]
	bl	vlc_mutex_init
	mov	r0, r7
	bl	vlc_cond_init
	mov	r3, #0
	add	r6, r4, #24
	mov	r2, #1
	mov	r0, r6
	ldr	r1, [r5, #12]
	str	r3, [r4, #28]
	bl	date_Init
	ldr	r3, .L11+20
	mov	r0, r6
	ldr	r1, [r3]
	add	r6, r5, #8
	bl	date_Set
	mov	r0, r6
	bl	aout_FormatNbChannels
	mov	ip, r0
	ldr	r2, .L11+24
	ldr	r3, .L11+28
	ldr	r1, [r2]
	ldr	r3, [r3]
	mov	r2, r4
	add	r0, r4, #16
	str	ip, [r4, #20]
	bl	vlc_clone
	cmp	r0, #0
	bne	.L10
	ldr	r3, .L11+32
	ldr	r2, .L11+36
	ldr	ip, [r3]
	ldr	r1, .L11+40
	ldr	r3, .L11+44
	ldr	r2, [r2]
	ldr	lr, [r1]
	ldr	r3, [r3]
	str	r2, [r5, #8]
	add	r2, r5, #16
	ldm	r6, {r0, r1}
	stm	r2, {r0, r1}
	mov	r0, r3
	stm	r5, {ip, lr}
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	ldr	r1, .L11+48
	mov	r0, r5
	bl	msg_Err
	mov	r0, r4
	bl	free
	ldr	r3, .L11+52
	ldr	r3, [r3]
	mov	r0, r3
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r1, .L11+56
	mov	r0, r5
	bl	msg_Err
	mov	r0, r8
	bl	vlc_mutex_destroy
	mov	r0, r7
	bl	vlc_cond_destroy
	ldr	r0, [r4, #4]
	bl	vout_Close
	mov	r0, r4
	bl	free
	ldr	r3, .L11+52
	ldr	r3, [r3]
	mov	r0, r3
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	.LC1
	.word	VLC_CODEC_RGB32
	.word	MAX_SPEED
	.word	.LC3
	.word	VLC_TICK_0
	.word	Thread
	.word	VLC_THREAD_PRIORITY_LOW
	.word	Flush
	.word	VLC_CODEC_FL32
	.word	DoWork
	.word	VLC_SUCCESS
	.word	.LC2
	.word	VLC_EGENERIC
	.word	.LC4
	.size	Open, .-Open
	.comm	VLC_TICK_0,4,4
	.comm	VLC_THREAD_PRIORITY_LOW,4,4
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_EGENERIC,4,4
	.comm	VLC_CODEC_RGB32,4,4
	.comm	VLC_CODEC_FL32,4,4
	.comm	Thread,4,4
	.comm	MAX_SPEED,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
