	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function fft_init
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_1:
	.quad	0x40efffe000000000              ## double 65535
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_fft_init:                              ## @fft_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_fft_vertex_program@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_fft_fragment_program_real@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_fft_compile_program
	movq	%rax, 72(%r12)
	movl	(%rbx), %esi
	movq	_fft_fragment_program_complex@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_fft_compile_program
	movq	%rax, 64(%r12)
	movl	(%rbx), %esi
	movq	_fft_fragment_program_resolve@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_fft_compile_program
	movq	%rax, 56(%r12)
	movl	(%rbx), %esi
	movq	_fft_fragment_program_blur@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_fft_compile_program
	movq	%rax, 48(%r12)
	xorl	%eax, %eax
	callq	_GL_CHECK_ERROR
	movq	72(%r12), %rdi
	callq	_glUseProgram
	movq	72(%r12), %rdi
	leaq	L_.str(%rip), %r13
	movq	%r13, %rsi
	callq	_glGetUniformLocation
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_glUniform1i
	movq	72(%r12), %rdi
	leaq	L_.str.1(%rip), %rbx
	movq	%rbx, %rsi
	callq	_glGetUniformLocation
	movl	%eax, %edi
	movl	$1, %esi
	callq	_glUniform1i
	movq	72(%r12), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_glGetUniformLocation
	movl	%eax, %edi
	movl	$2, %esi
	callq	_glUniform1i
	movq	72(%r12), %rdi
	leaq	L_.str.3(%rip), %r14
	movq	%r14, %rsi
	callq	_glGetUniformLocation
	leaq	_fft_init.unity(%rip), %r15
	movl	%eax, %edi
	movl	$1, %esi
	movq	%r15, %rdx
	callq	_glUniform4fv
	movq	64(%r12), %rdi
	callq	_glUseProgram
	movq	64(%r12), %rdi
	movq	%r13, %rsi
	callq	_glGetUniformLocation
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_glUniform1i
	movq	64(%r12), %rdi
	movq	%rbx, %rsi
	callq	_glGetUniformLocation
	movl	%eax, %edi
	movl	$1, %esi
	callq	_glUniform1i
	movq	64(%r12), %rdi
	movq	%r14, %rsi
	callq	_glGetUniformLocation
	movl	%eax, %edi
	movl	$1, %esi
	movq	%r15, %rdx
	callq	_glUniform4fv
	movq	56(%r12), %rdi
	callq	_glUseProgram
	movq	56(%r12), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_glGetUniformLocation
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_glUniform1i
	movq	56(%r12), %rdi
	movq	%r14, %rsi
	callq	_glGetUniformLocation
	movl	%eax, %edi
	movl	$1, %esi
	movq	%r15, %rdx
	callq	_glUniform4fv
	movq	48(%r12), %rdi
	callq	_glUseProgram
	movq	48(%r12), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_glGetUniformLocation
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_glUniform1i
	movq	48(%r12), %rdi
	movq	%r14, %rsi
	callq	_glGetUniformLocation
	movl	%eax, %edi
	movl	$1, %esi
	movq	%r15, %rdx
	callq	_glUniform4fv
	xorl	%eax, %eax
	callq	_GL_CHECK_ERROR
	leaq	40(%r12), %rsi
	movq	_GL_R16UI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	_GL_NEAREST@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movq	%r12, %rdi
	movl	$1, %r8d
	movl	$1, %r9d
	pushq	%rax
	pushq	%rax
	callq	_fft_init_texture
	addq	$16, %rsp
	xorl	%eax, %eax
	callq	_GL_CHECK_ERROR
	movl	(%r12), %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, %r15
	movq	_KAISER_BETA@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	xorpd	%xmm0, %xmm0
	callq	_kaiser_window_function
	movl	(%r12), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	%xmm1, -48(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ebx, %eax
	subl	%ecx, %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ecx, %xmm1
	divsd	%xmm1, %xmm0
	movl	(%r14), %edi
	callq	_kaiser_window_function
	mulsd	LCPI0_1(%rip), %xmm0
	mulsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	cvttsd2si	%xmm0, %edi
	callq	_round
	movl	%eax, (%r15,%rbx,4)
	incq	%rbx
	movl	(%r12), %eax
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_3:
	movq	_GL_TEXTURE_2D@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	40(%r12), %esi
	callq	_glBindTexture
	movl	(%r14), %edi
	movl	(%r12), %r8d
	movq	_GL_RED_INTEGER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_GL_UNSIGNED_SHORT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	subq	$8, %rsp
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r9d
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	pushq	%r15
	pushq	%rbx
	pushq	%rax
	callq	_glTexSubImage2D
	addq	$32, %rsp
	movl	(%r14), %edi
	xorl	%esi, %esi
	callq	_glBindTexture
	xorl	%eax, %eax
	callq	_GL_CHECK_ERROR
	leaq	36(%r12), %rsi
	movq	_GL_RG16I@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movl	(%r13), %eax
	movq	%r12, %rdi
	movl	$1, %r8d
	movl	$1, %r9d
	pushq	%rax
	pushq	%rax
	callq	_fft_init_texture
	addq	$16, %rsp
	leaq	32(%r12), %rsi
	movq	_GL_RG32UI@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	(%r12), %ecx
	movl	4(%r12), %r8d
	movl	(%r13), %eax
	movq	%r12, %rdi
	movl	$1, %r9d
	pushq	%rax
	pushq	%rax
	callq	_fft_init_target
	addq	$16, %rsp
	leaq	28(%r12), %rsi
	movq	_GL_RGBA8@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	(%r12), %ecx
	movl	4(%r12), %r8d
	movl	(%r13), %eax
	movq	%r12, %rdi
	movl	$1, %r9d
	pushq	%rax
	pushq	%rax
	callq	_fft_init_target
	addq	$16, %rsp
	leaq	24(%r12), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	(%r12), %ebx
	movl	4(%r12), %r15d
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_MAX
	movl	%eax, %edi
	callq	_log2i
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %r9d
	movl	(%r13), %r10d
	movq	_GL_LINEAR_MIPMAP_LINEAR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %ecx
	movl	%r15d, %r8d
	pushq	%rax
	pushq	%r10
	callq	_fft_init_target
	addq	$16, %rsp
	xorl	%eax, %eax
	callq	_GL_CHECK_ERROR
	cmpl	$0, 8(%r12)
	je	LBB0_6
## %bb.4:
	movq	%r13, %rbx
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	leaq	(%rax,%r13), %rsi
	addq	$4, %rsi
	movl	(%r14), %edx
	movl	(%r12), %ecx
	movl	(%rbx), %eax
	movq	%r12, %rdi
	movl	$1, %r8d
	movl	$1, %r9d
	pushq	%rax
	pushq	%rax
	callq	_fft_init_target
	addq	$16, %rsp
	movq	16(%r12), %rsi
	addq	%r13, %rsi
	movl	(%r14), %edx
	movl	(%r12), %ecx
	movl	(%rbx), %eax
	movq	%r12, %rdi
	movl	$1, %r8d
	movl	$1, %r9d
	pushq	%rax
	pushq	%rax
	callq	_fft_init_texture
	addq	$16, %rsp
	movl	(%r12), %edi
	addl	%edi, %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, %rbx
	movl	(%r12), %ecx
	movq	%r12, %rdi
	movq	%rax, %rsi
	movl	%r15d, %edx
	callq	_fft_build_params
	movq	_GL_TEXTURE_2D@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	16(%r12), %rax
	movl	(%rax,%r13), %esi
	callq	_glBindTexture
	movl	(%r14), %edi
	movl	(%r12), %r8d
	movq	_GL_RG_INTEGER@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_GL_UNSIGNED_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r9d
	pushq	%rbx
	pushq	%rax
	pushq	%r10
	callq	_glTexSubImage2D
	addq	$32, %rsp
	movl	(%r14), %edi
	movq	_GL_RG32UI@GOTPCREL(%rip), %r14
	xorl	%esi, %esi
	callq	_glBindTexture
	movq	%rbx, %rdi
	movq	_GL_NEAREST@GOTPCREL(%rip), %rbx
	callq	_free
	incq	%r15
	movl	8(%r12), %eax
	addq	$8, %r13
	cmpq	%rax, %r15
	jb	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	callq	_GL_CHECK_ERROR
	leaq	12(%r12), %rsi
	movl	$1, %edi
	callq	_glGenBuffers
	movq	_GL_PIXEL_UNPACK_BUFFER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	12(%r12), %esi
	callq	_glBindBuffer
	movl	(%rbx), %edi
	movl	(%r12), %esi
	shll	$3, %esi
	movq	_GL_DYNAMIC_DRAW@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	callq	_glBufferData
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_glBindBuffer
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @fft_init.unity
_fft_init.unity:
	.long	0x00000000                      ## float 0
	.long	0x00000000                      ## float 0
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1

	.comm	_fft_vertex_program,4,2         ## @fft_vertex_program
	.comm	_fft_fragment_program_real,4,2  ## @fft_fragment_program_real
	.comm	_fft_fragment_program_complex,4,2 ## @fft_fragment_program_complex
	.comm	_fft_fragment_program_resolve,4,2 ## @fft_fragment_program_resolve
	.comm	_fft_fragment_program_blur,4,2  ## @fft_fragment_program_blur
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sTexture"

L_.str.1:                               ## @.str.1
	.asciz	"sParameterTexture"

L_.str.2:                               ## @.str.2
	.asciz	"sWindow"

L_.str.3:                               ## @.str.3
	.asciz	"uOffsetScale"

L_.str.4:                               ## @.str.4
	.asciz	"sFFT"

L_.str.5:                               ## @.str.5
	.asciz	"sHeight"

	.comm	_GL_R16UI,4,2                   ## @GL_R16UI
	.comm	_GL_NEAREST,4,2                 ## @GL_NEAREST
	.comm	_KAISER_BETA,4,2                ## @KAISER_BETA
	.comm	_GL_TEXTURE_2D,4,2              ## @GL_TEXTURE_2D
	.comm	_GL_RED_INTEGER,4,2             ## @GL_RED_INTEGER
	.comm	_GL_UNSIGNED_SHORT,4,2          ## @GL_UNSIGNED_SHORT
	.comm	_GL_RG16I,4,2                   ## @GL_RG16I
	.comm	_GL_RG32UI,4,2                  ## @GL_RG32UI
	.comm	_GL_RGBA8,4,2                   ## @GL_RGBA8
	.comm	_GL_LINEAR_MIPMAP_LINEAR,4,2    ## @GL_LINEAR_MIPMAP_LINEAR
	.comm	_GL_RG_INTEGER,4,2              ## @GL_RG_INTEGER
	.comm	_GL_UNSIGNED_INT,4,2            ## @GL_UNSIGNED_INT
	.comm	_GL_PIXEL_UNPACK_BUFFER,4,2     ## @GL_PIXEL_UNPACK_BUFFER
	.comm	_GL_DYNAMIC_DRAW,4,2            ## @GL_DYNAMIC_DRAW
	.no_dead_strip	_fft_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fft_init
_fft_init:                              ; @fft_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x0
Lloh0:
	adrp	x20, _fft_vertex_program@GOTPAGE
Lloh1:
	ldr	x20, [x20, _fft_vertex_program@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _fft_fragment_program_real@GOTPAGE
Lloh3:
	ldr	x8, [x8, _fft_fragment_program_real@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_fft_compile_program
	str	x0, [x19, #72]
	ldr	w1, [x20]
Lloh5:
	adrp	x8, _fft_fragment_program_complex@GOTPAGE
Lloh6:
	ldr	x8, [x8, _fft_fragment_program_complex@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_fft_compile_program
	str	x0, [x19, #64]
	ldr	w1, [x20]
Lloh8:
	adrp	x8, _fft_fragment_program_resolve@GOTPAGE
Lloh9:
	ldr	x8, [x8, _fft_fragment_program_resolve@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_fft_compile_program
	str	x0, [x19, #56]
	ldr	w1, [x20]
Lloh11:
	adrp	x8, _fft_fragment_program_blur@GOTPAGE
Lloh12:
	ldr	x8, [x8, _fft_fragment_program_blur@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_fft_compile_program
	str	x0, [x19, #48]
	bl	_GL_CHECK_ERROR
	ldr	x0, [x19, #72]
	bl	_glUseProgram
	ldr	x0, [x19, #72]
Lloh14:
	adrp	x22, l_.str@PAGE
Lloh15:
	add	x22, x22, l_.str@PAGEOFF
	mov	x1, x22
	bl	_glGetUniformLocation
	mov	w1, #0
	bl	_glUniform1i
	ldr	x0, [x19, #72]
Lloh16:
	adrp	x23, l_.str.1@PAGE
Lloh17:
	add	x23, x23, l_.str.1@PAGEOFF
	mov	x1, x23
	bl	_glGetUniformLocation
	mov	w1, #1
	bl	_glUniform1i
	ldr	x0, [x19, #72]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_glGetUniformLocation
	mov	w1, #2
	bl	_glUniform1i
	ldr	x0, [x19, #72]
Lloh20:
	adrp	x20, l_.str.3@PAGE
Lloh21:
	add	x20, x20, l_.str.3@PAGEOFF
	mov	x1, x20
	bl	_glGetUniformLocation
Lloh22:
	adrp	x21, _fft_init.unity@PAGE
Lloh23:
	add	x21, x21, _fft_init.unity@PAGEOFF
	mov	w1, #1
	mov	x2, x21
	bl	_glUniform4fv
	ldr	x0, [x19, #64]
	bl	_glUseProgram
	ldr	x0, [x19, #64]
	mov	x1, x22
	bl	_glGetUniformLocation
	mov	w1, #0
	bl	_glUniform1i
	ldr	x0, [x19, #64]
	mov	x1, x23
	bl	_glGetUniformLocation
	mov	w1, #1
	bl	_glUniform1i
	ldr	x0, [x19, #64]
	mov	x1, x20
	bl	_glGetUniformLocation
	mov	w1, #1
	mov	x2, x21
	bl	_glUniform4fv
	ldr	x0, [x19, #56]
	bl	_glUseProgram
	ldr	x0, [x19, #56]
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_glGetUniformLocation
	mov	w1, #0
	bl	_glUniform1i
	ldr	x0, [x19, #56]
	mov	x1, x20
	bl	_glGetUniformLocation
	mov	w1, #1
	mov	x2, x21
	bl	_glUniform4fv
	ldr	x0, [x19, #48]
	bl	_glUseProgram
	ldr	x0, [x19, #48]
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_glGetUniformLocation
	mov	w1, #0
	bl	_glUniform1i
	ldr	x0, [x19, #48]
	mov	x1, x20
	bl	_glGetUniformLocation
	mov	w1, #1
	mov	x2, x21
	bl	_glUniform4fv
	bl	_GL_CHECK_ERROR
Lloh28:
	adrp	x8, _GL_R16UI@GOTPAGE
Lloh29:
	ldr	x8, [x8, _GL_R16UI@GOTPAGEOFF]
	add	x1, x19, #40
Lloh30:
	ldr	w2, [x8]
	ldr	w3, [x19]
Lloh31:
	adrp	x25, _GL_NEAREST@GOTPAGE
Lloh32:
	ldr	x25, [x25, _GL_NEAREST@GOTPAGEOFF]
	ldr	w6, [x25]
	mov	x0, x19
	mov	w4, #1
	mov	w5, #1
	mov	x7, x6
	bl	_fft_init_texture
	bl	_GL_CHECK_ERROR
	ldr	w0, [x19]
	mov	w1, #4
	bl	_calloc
	mov	x20, x0
Lloh33:
	adrp	x21, _KAISER_BETA@GOTPAGE
Lloh34:
	ldr	x21, [x21, _KAISER_BETA@GOTPAGEOFF]
	ldr	w0, [x21]
	movi	d0, #0000000000000000
	bl	_kaiser_window_function
	ldr	w8, [x19]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x22, #0
	fmov	d1, #1.00000000
	mov	x23, #281337537757184
	movk	x23, #16623, lsl #48
	fdiv	d8, d1, d0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	sub	w9, w22, w8
	ucvtf	d0, w9
	scvtf	d1, w8
	fdiv	d0, d0, d1
	ldr	w0, [x21]
	bl	_kaiser_window_function
	fmov	d1, x23
	fmul	d0, d0, d1
	fmul	d0, d8, d0
	fcvtzs	w0, d0
	bl	_round
	str	w0, [x20, x22, lsl #2]
	add	x22, x22, #1
	ldr	w8, [x19]
	cmp	x22, x8
	b.lo	LBB0_2
LBB0_3:
Lloh35:
	adrp	x26, _GL_TEXTURE_2D@GOTPAGE
Lloh36:
	ldr	x26, [x26, _GL_TEXTURE_2D@GOTPAGEOFF]
	ldr	w0, [x26]
	ldr	w1, [x19, #40]
	bl	_glBindTexture
	ldr	w0, [x26]
	ldr	w4, [x19]
Lloh37:
	adrp	x8, _GL_RED_INTEGER@GOTPAGE
Lloh38:
	ldr	x8, [x8, _GL_RED_INTEGER@GOTPAGEOFF]
Lloh39:
	ldr	w6, [x8]
Lloh40:
	adrp	x8, _GL_UNSIGNED_SHORT@GOTPAGE
Lloh41:
	ldr	x8, [x8, _GL_UNSIGNED_SHORT@GOTPAGEOFF]
Lloh42:
	ldr	w7, [x8]
	str	x20, [sp]
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w5, #1
	bl	_glTexSubImage2D
	ldr	w0, [x26]
	mov	w1, #0
	bl	_glBindTexture
	bl	_GL_CHECK_ERROR
	add	x1, x19, #36
Lloh43:
	adrp	x8, _GL_RG16I@GOTPAGE
Lloh44:
	ldr	x8, [x8, _GL_RG16I@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
	ldr	w3, [x19]
	ldr	w6, [x25]
	mov	x0, x19
	mov	w4, #1
	mov	w5, #1
	mov	x7, x6
	bl	_fft_init_texture
	add	x1, x19, #32
Lloh46:
	adrp	x27, _GL_RG32UI@GOTPAGE
Lloh47:
	ldr	x27, [x27, _GL_RG32UI@GOTPAGEOFF]
	ldr	w2, [x27]
	ldp	w3, w4, [x19]
	ldr	w6, [x25]
	mov	x0, x19
	mov	w5, #1
	mov	x7, x6
	bl	_fft_init_target
	add	x1, x19, #28
Lloh48:
	adrp	x22, _GL_RGBA8@GOTPAGE
Lloh49:
	ldr	x22, [x22, _GL_RGBA8@GOTPAGEOFF]
	ldr	w2, [x22]
	ldp	w3, w4, [x19]
	ldr	w6, [x25]
	mov	x0, x19
	mov	w5, #1
	mov	x7, x6
	bl	_fft_init_target
	add	x21, x19, #24
	ldr	w22, [x22]
	ldp	w23, w24, [x19]
	mov	x0, x23
	mov	x1, x24
	bl	_MAX
	bl	_log2i
	add	w5, w0, #1
	ldr	w6, [x25]
Lloh50:
	adrp	x8, _GL_LINEAR_MIPMAP_LINEAR@GOTPAGE
Lloh51:
	ldr	x8, [x8, _GL_LINEAR_MIPMAP_LINEAR@GOTPAGEOFF]
Lloh52:
	ldr	w7, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	bl	_fft_init_target
	bl	_GL_CHECK_ERROR
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_6
; %bb.4:
	mov	x23, #0
	mov	x21, #0
Lloh53:
	adrp	x24, _GL_RG_INTEGER@GOTPAGE
Lloh54:
	ldr	x24, [x24, _GL_RG_INTEGER@GOTPAGEOFF]
Lloh55:
	adrp	x28, _GL_UNSIGNED_INT@GOTPAGE
Lloh56:
	ldr	x28, [x28, _GL_UNSIGNED_INT@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x8, x8, x23
	add	x1, x8, #4
	ldr	w2, [x27]
	ldr	w3, [x19]
	ldr	w6, [x25]
	mov	x0, x19
	mov	w4, #1
	mov	w5, #1
	mov	x7, x6
	bl	_fft_init_target
	ldr	x8, [x19, #16]
	add	x1, x8, x23
	ldr	w2, [x27]
	ldr	w3, [x19]
	ldr	w6, [x25]
	mov	x0, x19
	mov	w4, #1
	mov	w5, #1
	mov	x7, x6
	bl	_fft_init_texture
	ldr	w8, [x19]
	lsl	w0, w8, #1
	mov	w1, #4
	bl	_calloc
	mov	x22, x0
	ldr	w3, [x19]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_fft_build_params
	ldr	w0, [x26]
	ldr	x8, [x19, #16]
	ldr	w1, [x8, x23]
	bl	_glBindTexture
	ldr	w0, [x26]
	ldr	w4, [x19]
	ldr	w6, [x24]
	ldr	w7, [x28]
	str	x22, [sp]
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w5, #1
	bl	_glTexSubImage2D
	ldr	w0, [x26]
	mov	w1, #0
	bl	_glBindTexture
	mov	x0, x22
	bl	_free
	add	x21, x21, #1
	ldr	w8, [x19, #8]
	add	x23, x23, #8
	cmp	x21, x8
	b.lo	LBB0_5
LBB0_6:
	bl	_GL_CHECK_ERROR
	add	x1, x19, #12
	mov	w0, #1
	bl	_glGenBuffers
Lloh57:
	adrp	x21, _GL_PIXEL_UNPACK_BUFFER@GOTPAGE
Lloh58:
	ldr	x21, [x21, _GL_PIXEL_UNPACK_BUFFER@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x19, #12]
	bl	_glBindBuffer
	ldr	w0, [x21]
	ldr	w8, [x19]
	lsl	w1, w8, #3
Lloh59:
	adrp	x8, _GL_DYNAMIC_DRAW@GOTPAGE
Lloh60:
	ldr	x8, [x8, _GL_DYNAMIC_DRAW@GOTPAGEOFF]
Lloh61:
	ldr	w3, [x8]
	mov	w2, #0
	bl	_glBufferData
	ldr	w0, [x21]
	mov	w1, #0
	bl	_glBindBuffer
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_free
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @fft_init.unity
_fft_init.unity:
	.long	0x00000000                      ; float 0
	.long	0x00000000                      ; float 0
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1

	.comm	_fft_vertex_program,4,2         ; @fft_vertex_program
	.comm	_fft_fragment_program_real,4,2  ; @fft_fragment_program_real
	.comm	_fft_fragment_program_complex,4,2 ; @fft_fragment_program_complex
	.comm	_fft_fragment_program_resolve,4,2 ; @fft_fragment_program_resolve
	.comm	_fft_fragment_program_blur,4,2  ; @fft_fragment_program_blur
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sTexture"

l_.str.1:                               ; @.str.1
	.asciz	"sParameterTexture"

l_.str.2:                               ; @.str.2
	.asciz	"sWindow"

l_.str.3:                               ; @.str.3
	.asciz	"uOffsetScale"

l_.str.4:                               ; @.str.4
	.asciz	"sFFT"

l_.str.5:                               ; @.str.5
	.asciz	"sHeight"

	.comm	_GL_R16UI,4,2                   ; @GL_R16UI
	.comm	_GL_NEAREST,4,2                 ; @GL_NEAREST
	.comm	_KAISER_BETA,4,2                ; @KAISER_BETA
	.comm	_GL_TEXTURE_2D,4,2              ; @GL_TEXTURE_2D
	.comm	_GL_RED_INTEGER,4,2             ; @GL_RED_INTEGER
	.comm	_GL_UNSIGNED_SHORT,4,2          ; @GL_UNSIGNED_SHORT
	.comm	_GL_RG16I,4,2                   ; @GL_RG16I
	.comm	_GL_RG32UI,4,2                  ; @GL_RG32UI
	.comm	_GL_RGBA8,4,2                   ; @GL_RGBA8
	.comm	_GL_LINEAR_MIPMAP_LINEAR,4,2    ; @GL_LINEAR_MIPMAP_LINEAR
	.comm	_GL_RG_INTEGER,4,2              ; @GL_RG_INTEGER
	.comm	_GL_UNSIGNED_INT,4,2            ; @GL_UNSIGNED_INT
	.comm	_GL_PIXEL_UNPACK_BUFFER,4,2     ; @GL_PIXEL_UNPACK_BUFFER
	.comm	_GL_DYNAMIC_DRAW,4,2            ; @GL_DYNAMIC_DRAW
	.no_dead_strip	_fft_init
.subsections_via_symbols
