	.file	"extr_glspectrum.c_Open.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"glspectrum-height"
.LC1:
	.string	"glspectrum-width"
	.text
	.p2align 4
	.type	Open, @function
Open:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	mov	edi, 64
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	malloc@PLT
	mov	QWORD PTR 16[rbx], rax
	test	rax, rax
	je	.L13
	lea	rdi, 4[rbx]
	mov	rbp, rax
	call	aout_FormatNbChannels@PLT
	mov	QWORD PTR 48[rbp], 0
	mov	rdi, rbx
	mov	DWORD PTR 56[rbp], eax
	mov	eax, DWORD PTR ROTATION_INCREMENT[rip]
	mov	QWORD PTR 40[rbp], 0
	mov	QWORD PTR 32[rbp], 0
	mov	DWORD PTR 28[rbp], eax
	call	VLC_OBJECT@PLT
	lea	rsi, 24[rbp]
	mov	edi, eax
	call	window_get_param@PLT
	xor	eax, eax
	call	block_FifoNew@PLT
	mov	QWORD PTR 8[rbp], rax
	test	rax, rax
	je	.L6
	lea	rsi, .LC0[rip]
	mov	rdi, rbx
	call	var_InheritInteger@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, rbx
	mov	DWORD PTR [rsp], eax
	call	var_InheritInteger@PLT
	mov	rsi, rsp
	xor	edx, edx
	mov	rdi, rbx
	mov	DWORD PTR 4[rsp], eax
	call	vlc_gl_surface_Create@PLT
	mov	QWORD PTR 16[rbp], rax
	test	rax, rax
	je	.L14
	mov	ecx, DWORD PTR VLC_THREAD_PRIORITY_VIDEO[rip]
	mov	esi, DWORD PTR Thread[rip]
	mov	rdx, rbx
	mov	rdi, rbp
	call	vlc_clone@PLT
	test	rax, rax
	jne	.L6
	mov	eax, DWORD PTR VLC_CODEC_FL32[rip]
	mov	DWORD PTR 4[rbx], eax
	mov	DWORD PTR 8[rbx], eax
	mov	eax, DWORD PTR DoWork[rip]
	mov	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR VLC_SUCCESS[rip]
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L15
	add	rsp, 24
	.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
.L14:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbp]
	call	block_FifoRelease@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, rbp
	call	free@PLT
	mov	eax, DWORD PTR VLC_EGENERIC[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	eax, DWORD PTR VLC_ENOMEM[rip]
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	Open, .-Open
	.comm	VLC_THREAD_PRIORITY_VIDEO,4,4
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_ENOMEM,4,4
	.comm	VLC_EGENERIC,4,4
	.comm	VLC_CODEC_FL32,4,4
	.comm	Thread,4,4
	.comm	ROTATION_INCREMENT,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_glspectrum.c_Open.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"glspectrum-height\000"
	.align	2
.LC1:
	.ascii	"glspectrum-width\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	Open, %function
Open:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L15
	mov	r6, r0
	sub	sp, sp, #16
	mov	r0, #36
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	malloc
	cmp	r0, #0
	ldreq	r3, .L15+4
	str	r0, [r6, #12]
	ldreq	r0, [r3]
	beq	.L1
	mov	r4, r0
	add	r0, r6, #4
	bl	aout_FormatNbChannels
	mov	r5, #0
	ldr	r3, .L15+8
	str	r0, [r4, #32]
	ldr	r3, [r3]
	mov	r0, r6
	str	r3, [r4, #16]
	str	r5, [r4, #28]
	str	r5, [r4, #24]
	str	r5, [r4, #20]
	bl	VLC_OBJECT
	add	r1, r4, #12
	bl	window_get_param
	bl	block_FifoNew
	cmp	r0, r5
	str	r0, [r4, #4]
	beq	.L6
	ldr	r1, .L15+12
	mov	r0, r6
	bl	var_InheritInteger
	mov	r3, r0
	ldr	r1, .L15+16
	mov	r0, r6
	str	r3, [sp, #4]
	bl	var_InheritInteger
	mov	r3, r0
	mov	r2, r5
	mov	r0, r6
	add	r1, sp, #4
	str	r3, [sp, #8]
	bl	vlc_gl_surface_Create
	cmp	r0, r5
	str	r0, [r4, #8]
	beq	.L13
	ldr	r2, .L15+20
	ldr	r3, .L15+24
	ldr	r1, [r2]
	mov	r0, r4
	mov	r2, r6
	ldr	r3, [r3]
	bl	vlc_clone
	cmp	r0, #0
	bne	.L6
	ldr	r2, .L15+28
	ldr	r3, .L15+32
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, .L15+36
	str	r3, [r6, #4]
	ldr	r0, [r2]
	str	r3, [r6, #8]
	str	r1, [r6]
	b	.L1
.L13:
	ldr	r0, [r4, #4]
	bl	block_FifoRelease
.L6:
	mov	r0, r4
	bl	free
	ldr	r3, .L15+40
	ldr	r0, [r3]
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC2
	.word	VLC_ENOMEM
	.word	ROTATION_INCREMENT
	.word	.LC0
	.word	.LC1
	.word	Thread
	.word	VLC_THREAD_PRIORITY_VIDEO
	.word	DoWork
	.word	VLC_CODEC_FL32
	.word	VLC_SUCCESS
	.word	VLC_EGENERIC
	.size	Open, .-Open
	.comm	VLC_THREAD_PRIORITY_VIDEO,4,4
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_ENOMEM,4,4
	.comm	VLC_EGENERIC,4,4
	.comm	VLC_CODEC_FL32,4,4
	.comm	Thread,4,4
	.comm	ROTATION_INCREMENT,4,4
	.comm	DoWork,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
