	.file	"extr_ffmpeg_fft.c_fft_init_target.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fft_init_target, @function
fft_init_target:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	push	QWORD PTR 40[rsp]
	.cfi_def_cfa_offset 40
	push	QWORD PTR 40[rsp]
	.cfi_def_cfa_offset 48
	call	fft_init_texture@PLT
	lea	rsi, 4[rbx]
	mov	edi, 1
	call	glGenFramebuffers@PLT
	mov	esi, DWORD PTR 4[rbx]
	mov	edi, DWORD PTR GL_FRAMEBUFFER[rip]
	call	glBindFramebuffer@PLT
	mov	edx, DWORD PTR GL_TEXTURE_2D[rip]
	mov	ecx, DWORD PTR [rbx]
	xor	r8d, r8d
	mov	esi, DWORD PTR GL_COLOR_ATTACHMENT0[rip]
	mov	edi, DWORD PTR GL_FRAMEBUFFER[rip]
	call	glFramebufferTexture2D@PLT
	cmp	QWORD PTR GL_RGBA8[rip], rbp
	pop	rax
	.cfi_def_cfa_offset 40
	pop	rdx
	.cfi_def_cfa_offset 32
	je	.L7
	cmp	QWORD PTR GL_RG16I[rip], rbp
	mov	edi, DWORD PTR GL_COLOR[rip]
	je	.L8
	lea	rdx, v.1976[rip]
	xor	esi, esi
	call	glClearBufferuiv@PLT
.L3:
	mov	edi, DWORD PTR GL_FRAMEBUFFER[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	esi, esi
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	glBindFramebuffer@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rdx, v.1975[rip]
	xor	esi, esi
	call	glClearBufferiv@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	xor	edi, edi
	xor	ecx, ecx
	xor	edx, edx
	xor	esi, esi
	call	glClearColor@PLT
	mov	edi, DWORD PTR GL_COLOR_BUFFER_BIT[rip]
	call	glClear@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	fft_init_target, .-fft_init_target
	.section	.rodata
	.align 16
	.type	v.1976, @object
	.size	v.1976, 16
v.1976:
	.zero	16
	.align 16
	.type	v.1975, @object
	.size	v.1975, 16
v.1975:
	.zero	16
	.comm	GL_TEXTURE_2D,4,4
	.comm	GL_RGBA8,8,8
	.comm	GL_RG16I,8,8
	.comm	GL_FRAMEBUFFER,4,4
	.comm	GL_COLOR_BUFFER_BIT,4,4
	.comm	GL_COLOR_ATTACHMENT0,4,4
	.comm	GL_COLOR,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_init_target.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fft_init_target, %function
fft_init_target:
	@ args = 16, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r1
	mov	r7, #0
	mov	r5, r2
	sub	sp, sp, #20
	ldr	lr, [sp, #40]
	ldr	ip, [sp, #44]
	str	lr, [sp]
	str	ip, [sp, #4]
	ldr	lr, [sp, #48]
	ldr	ip, [sp, #52]
	str	lr, [sp, #8]
	str	ip, [sp, #12]
	ldr	r6, .L9
	bl	fft_init_texture
	add	r1, r4, #4
	mov	r0, #1
	bl	glGenFramebuffers
	ldr	r1, [r4, #4]
	ldr	r0, [r6]
	bl	glBindFramebuffer
	ldr	r2, .L9+4
	ldr	r1, .L9+8
	ldr	r3, [r4]
	str	r7, [sp]
	ldr	r0, [r6]
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	glFramebufferTexture2D
	ldr	r3, .L9+12
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L7
	ldr	r3, .L9+16
	ldr	r2, .L9+20
	ldr	r3, [r3]
	mov	r1, r7
	cmp	r3, r5
	ldr	r0, [r2]
	beq	.L8
	ldr	r2, .L9+24
	bl	glClearBufferuiv
.L3:
	mov	r1, #0
	ldr	r0, [r6]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	glBindFramebuffer
.L8:
	ldr	r2, .L9+28
	bl	glClearBufferiv
	b	.L3
.L7:
	mov	r3, r7
	mov	r2, r7
	mov	r1, r7
	mov	r0, r7
	bl	glClearColor
	ldr	r3, .L9+32
	ldr	r0, [r3]
	bl	glClear
	b	.L3
.L10:
	.align	2
.L9:
	.word	GL_FRAMEBUFFER
	.word	GL_TEXTURE_2D
	.word	GL_COLOR_ATTACHMENT0
	.word	GL_RGBA8
	.word	GL_RG16I
	.word	GL_COLOR
	.word	.LANCHOR0+16
	.word	.LANCHOR0
	.word	GL_COLOR_BUFFER_BIT
	.size	fft_init_target, .-fft_init_target
	.comm	GL_TEXTURE_2D,4,4
	.comm	GL_RGBA8,4,4
	.comm	GL_RG16I,4,4
	.comm	GL_FRAMEBUFFER,4,4
	.comm	GL_COLOR_BUFFER_BIT,4,4
	.comm	GL_COLOR_ATTACHMENT0,4,4
	.comm	GL_COLOR,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	v.4259, %object
	.size	v.4259, 16
v.4259:
	.space	16
	.type	v.4260, %object
	.size	v.4260, 16
v.4260:
	.space	16
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
