	.file	"extr_ffmpeg_fft.c_fft_compile_program.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Failed to link.\n"
.LC1:
	.string	"ERROR: %s\n"
	.text
	.p2align 4
	.type	fft_compile_program, @function
fft_compile_program:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 4096
	.cfi_def_cfa_offset 4136
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	.cfi_def_cfa_offset 8232
	or	QWORD PTR [rsp], 0
	sub	rsp, 40
	.cfi_def_cfa_offset 8272
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8216[rsp], rax
	xor	eax, eax
	mov	rbp, rdi
	mov	r13, rsi
	mov	r14, rdx
	mov	QWORD PTR 8[rsp], 0
	call	glCreateProgram@PLT
	mov	esi, DWORD PTR GL_VERTEX_SHADER[rip]
	mov	rdx, r13
	mov	rdi, rbp
	mov	r12d, eax
	call	fft_compile_shader@PLT
	mov	esi, DWORD PTR GL_FRAGMENT_SHADER[rip]
	mov	rdx, r14
	mov	rdi, rbp
	mov	r13d, eax
	call	fft_compile_shader@PLT
	mov	esi, r13d
	mov	edi, r12d
	mov	ebp, eax
	call	glAttachShader@PLT
	mov	esi, ebp
	mov	edi, r12d
	call	glAttachShader@PLT
	mov	edi, r12d
	call	glLinkProgram@PLT
	mov	esi, DWORD PTR GL_LINK_STATUS[rip]
	lea	rdx, 8[rsp]
	mov	edi, r12d
	call	glGetProgramiv@PLT
	cmp	QWORD PTR 8[rsp], 0
	je	.L6
.L2:
	mov	edi, r13d
	call	glDeleteShader@PLT
	mov	edi, ebp
	call	glDeleteShader@PLT
	mov	rax, QWORD PTR 8216[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 8232
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR RETRO_LOG_ERROR[rip]
	lea	r14, 16[rsp]
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	log_cb@PLT
	lea	rdx, 4[rsp]
	mov	edi, r12d
	mov	rcx, r14
	mov	esi, 8192
	call	glGetProgramInfoLog@PLT
	mov	edi, DWORD PTR RETRO_LOG_ERROR[rip]
	mov	rdx, r14
	xor	eax, eax
	lea	rsi, .LC1[rip]
	call	log_cb@PLT
	jmp	.L2
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	fft_compile_program, .-fft_compile_program
	.comm	RETRO_LOG_ERROR,4,4
	.comm	GL_VERTEX_SHADER,4,4
	.comm	GL_LINK_STATUS,4,4
	.comm	GL_FRAGMENT_SHADER,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_ffmpeg_fft.c_fft_compile_program.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to link.\012\000"
	.align	2
.LC1:
	.ascii	"ERROR: %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fft_compile_program, %function
fft_compile_program:
	@ args = 0, pretend = 0, frame = 8208
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #8192
	sub	sp, sp, #16
	mov	r6, r1
	mov	r8, r2
	ldr	r1, .L8
	add	r2, sp, #8192
	add	r7, sp, #16
	mov	r5, r0
	ldr	r1, [r1]
	str	r1, [r2, #12]
	mov	r1,#0
	add	r2, r2, #12
	str	r3, [r7, #-12]!
	bl	glCreateProgram
	ldr	r3, .L8+4
	mov	r4, r0
	mov	r2, r6
	ldr	r1, [r3]
	mov	r0, r5
	bl	fft_compile_shader
	ldr	r3, .L8+8
	mov	r2, r8
	ldr	r1, [r3]
	mov	r6, r0
	mov	r0, r5
	bl	fft_compile_shader
	mov	r5, r0
	mov	r1, r6
	mov	r0, r4
	bl	glAttachShader
	mov	r1, r5
	mov	r0, r4
	bl	glAttachShader
	mov	r0, r4
	bl	glLinkProgram
	ldr	r3, .L8+12
	mov	r2, r7
	ldr	r1, [r3]
	mov	r0, r4
	bl	glGetProgramiv
	ldr	r3, [sp, #4]
	cmp	r3, #0
	beq	.L6
.L2:
	mov	r0, r6
	bl	glDeleteShader
	mov	r0, r5
	bl	glDeleteShader
	add	r3, sp, #8192
	ldr	r2, .L8
	add	r3, r3, #12
	ldr	r1, [r2]
	ldr	r2, [r3]
	eors	r1, r2, r1
	mov	r2, #0
	bne	.L7
	mov	r0, r4
	add	sp, sp, #8192
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r7, .L8+16
	ldr	r1, .L8+20
	ldr	r0, [r7]
	bl	log_cb
	add	r2, sp, #8
	mov	r1, #8192
	mov	r0, r4
	add	r3, sp, #12
	bl	glGetProgramInfoLog
	ldr	r0, [r7]
	ldr	r1, .L8+24
	add	r2, sp, #12
	bl	log_cb
	b	.L2
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC2
	.word	GL_VERTEX_SHADER
	.word	GL_FRAGMENT_SHADER
	.word	GL_LINK_STATUS
	.word	RETRO_LOG_ERROR
	.word	.LC0
	.word	.LC1
	.size	fft_compile_program, .-fft_compile_program
	.comm	RETRO_LOG_ERROR,4,4
	.comm	GL_VERTEX_SHADER,4,4
	.comm	GL_LINK_STATUS,4,4
	.comm	GL_FRAGMENT_SHADER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
