#include <bits/stdc++.h>
#include <unistd.h>
#include <cuda.h>

template <typename Iter>
void cooley_tukey(Iter first, Iter last) {
    auto size = last - first;
    if (size >= 2) {
        auto temp = std::vector<std::complex<double>>(size / 2);
        for (int i = 0; i < size / 2; ++i) {
            temp[i] = first[i * 2 + 1];
            first[i] = first[i * 2];
        }
        for (int i = 0; i < size / 2; ++i) {
            first[i + size / 2] = temp[i];
        }
        auto split = first + size / 2;
        cooley_tukey(first, split);
        cooley_tukey(split, last);
        for (int k = 0; k < size / 2; ++k) {
            auto w = std::exp(std::complex<double>(0, -2.0 * M_PI * k / size));
            auto& bottom = first[k];
            auto& top = first[k + size / 2];
            top = bottom - w * top;
            bottom -= top - bottom;
        }
    }
}

void mod_cooley_tukey(std::complex<double>* data, size_t left, size_t right) {
    auto size = right - left;
    if (size >= 2) {
        auto temp = std::vector<std::complex<double>>(size / 2);
        for (size_t i = 0; i < size / 2; ++i) {
            temp[i] = data[left + i * 2 + 1];
            data[left + i] = data[left + i * 2];
        }
        for (size_t i = 0; i < size / 2; ++i) {
            data[left + i + size / 2] = temp[i];
        }
        auto split = left + size / 2;
        mod_cooley_tukey(data, left, split);
        mod_cooley_tukey(data, split, right);
        for (size_t k = 0; k < size / 2; ++k) {
            auto w = std::exp(std::complex<double>(0, -2. * M_PI * k / size));
            auto& bottom = data[k + left];
            auto& top = data[k + size / 2 + left];
            top = bottom - w * top;
            bottom -= top - bottom;
        }
    }
}

template <typename T>
void bit_reversal(std::vector<T>& data, size_t left, size_t right) {
    auto size = right - left;
    if (size >= 2) {
        auto temp = std::vector<T>(size / 2);
        for (size_t i = 0; i < size / 2; ++i) {
            temp[i] = data[left + i * 2 + 1];
            data[left + i] = data[left + i * 2];
        }
        for (size_t i = 0; i < size / 2; ++i) {
            data[left + i + size / 2] = temp[i];
        }
        auto split = left + size / 2;
        bit_reversal(data, left, split);
        bit_reversal(data, split, right);
    }
}


void iterative_cooley_tukey(std::vector<std::complex<double>>& data, size_t left, size_t right) {
    bit_reversal(data, left, right);
    for (size_t iter = 2; iter <= right - left; iter <<= 1u) {
        for (size_t base_pos = 0; base_pos < right; base_pos += iter) {
            for (size_t k = 0; k < iter / 2; ++k) {
                auto w = std::exp(std::complex<double>(0, -2. * M_PI * k / iter));
                data[k + iter / 2 + base_pos] = data[k + base_pos] - w * data[k + iter / 2 + base_pos];
                data[k + base_pos] -= data[k + iter / 2 + base_pos] - data[k + base_pos];
            }
        }
    }
}

static __device__ __host__ inline size_t rev_num(size_t num, size_t deg) {
    size_t reverse_num = 0;
    int i;
    for (i = 0; i < deg; i++) {
        if((num & (1 << i))) {
            reverse_num |= 1 << ((deg - 1) - i);
        }
    }
    return reverse_num;
}


__global__ void bit_reversed_order(double2* __restrict__ input, double2* output, size_t deg) {
    size_t index = blockIdx.x * blockDim.x + threadIdx.x;
    size_t stride = blockDim.x * gridDim.x;
    for (size_t i = index; i < (1 << deg); i += stride) {
        size_t new_ind = rev_num(i, deg);
        output[new_ind] = input[i];
    }
}

static __device__ __host__ inline double2 CplxSub(double2 a, double2 b) {
    double2 c;
    c.x = a.x - b.x;
    c.y = a.y - b.y;
    return c;
}

static __device__ __host__ inline double2 CplxMul(double2 a, double2 b) {
    double2 c;
    c.x = a.x * b.x - a.y * b.y;
    c.y = a.x * b.y + a.y * b.x;
    return c;
}

__global__ void new_cooley_tukey_iteration(double2* data, size_t len) {
    size_t pos = blockDim.x * blockIdx.x + threadIdx.x;
    size_t k = pos % len;
    size_t base_pos = pos - k;
    if (k < len / 2) {
        double2 w;
        double phi = -2. * M_PI * k / len;
        w.x = cos(phi);
        w.y = sin(phi);
        data[k + len / 2 + base_pos] = CplxSub(data[k + base_pos], CplxMul(w, data[k + len / 2 + base_pos]));
        data[k + base_pos] = CplxSub(data[k + base_pos], CplxSub(data[k + len / 2 + base_pos], data[k + base_pos]));
    }
}

void cuda_fft(std::vector<std::complex<double>>& data) {
    double2* inp_data, *bit_rev_data;
    cudaMallocManaged((void**)&inp_data, data.size() * sizeof(double2));
    cudaMallocManaged((void**)&bit_rev_data, data.size() * sizeof(double2));
    for (int i = 0; i < data.size(); ++i) {
        inp_data[i].x = data[i].real();
        inp_data[i].y = data[i].imag();
    }
    size_t deg = 0, sz = data.size();
    while (sz != 1) {
        ++deg;
        sz >>= 1;
    }
    bit_reversed_order<<<512, 256>>>(inp_data, bit_rev_data, deg);
    cudaDeviceSynchronize();
    cudaFree(inp_data);
    for (size_t blockSize = 2; blockSize <= data.size(); blockSize <<= 1u) {
        size_t threads = std::min(static_cast<size_t>(1024), blockSize);
        new_cooley_tukey_iteration<<<data.size() / threads, threads>>>(bit_rev_data, blockSize);
        cudaDeviceSynchronize();
    }
    for (size_t i = 0; i < data.size(); ++i) {
        data[i].real(bit_rev_data[i].x);
        data[i].imag(bit_rev_data[i].y);
    }
    cudaFree(bit_rev_data);
}


template <typename Iter>
void inversed_fft(Iter first, Iter last) {
    cooley_tukey(first, last);
    auto it = first;
    auto size = last - first;
    while (it != last) {
        *it /= size;
        ++it;
    }
    std::reverse(first + 1, last);
}

const int kRuns = 1;

void test_speed_and_correctness(std::string filename) {
    std::ifstream fin(filename);
    std::vector<std::complex<double>> data;
    while (!fin.eof()) {
        double real, imag;
        if (fin >> real >> imag) {
            data.emplace_back(real, imag);
        }
    }
    auto data1 = data;
    for (int k = 0; k < kRuns; ++k) {
        {
            auto start = std::chrono::high_resolution_clock::now();
            iterative_cooley_tukey(data, 0, data.size());
            auto finish = std::chrono::high_resolution_clock::now();
            auto milliseconds = std::chrono::duration_cast<std::chrono::milliseconds>(finish - start);
            std::cout << milliseconds.count() << ' ';
        }
        {
            auto start = std::chrono::high_resolution_clock::now();
            cuda_fft(data1);
            auto finish = std::chrono::high_resolution_clock::now();
            auto milliseconds = std::chrono::duration_cast<std::chrono::milliseconds>(finish - start);
            std::cout << milliseconds.count() << ' ';
        }
        double max_diff = 0, min_diff = 1E9;
        for (size_t i = 0; i < data.size(); ++i) {
            max_diff = std::max(max_diff, std::abs(data[i] - data1[i]));
            min_diff = std::min(min_diff, std::abs(data[i] - data1[i]));
        }
        std::cout << max_diff << ' ' << min_diff << '\n';
    }
}

int main(int argc, char* argv[]) {
    test_speed_and_correctness(argv[1]);
    return 0;
}
	.file	"tmpxft_00237baa_00000000-6_new_cufft.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB10851:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE10851:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.globl	_Z49__device_stub__Z18bit_reversed_orderP7double2S0_mP7double2S0_m
	.type	_Z49__device_stub__Z18bit_reversed_orderP7double2S0_mP7double2S0_m, @function
_Z49__device_stub__Z18bit_reversed_orderP7double2S0_mP7double2S0_m:
.LFB10873:
	.cfi_startproc
	endbr64
	subq	$136, %rsp
	.cfi_def_cfa_offset 144
	movq	%rsi, 8(%rsp)
	leaq	40(%rsp), %rcx
	leaq	60(%rsp), %rsi
	movq	%rdx, (%rsp)
	leaq	32(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rdi
	movq	%rax, 96(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 104(%rsp)
	movq	%rsp, %rax
	movq	%rax, 112(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 48(%rsp)
	movl	$1, 56(%rsp)
	movq	%rax, 60(%rsp)
	movl	$1, 68(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L2
	pushq	40(%rsp)
	.cfi_def_cfa_offset 152
	leaq	_Z18bit_reversed_orderP7double2S0_m(%rip), %rdi
	pushq	40(%rsp)
	.cfi_def_cfa_offset 160
	movq	76(%rsp), %rcx
	movl	84(%rsp), %r8d
	movq	64(%rsp), %rsi
	movl	72(%rsp), %edx
	leaq	112(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 152
	popq	%rdx
	.cfi_def_cfa_offset 144
.L2:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	addq	$136, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE10873:
	.size	_Z49__device_stub__Z18bit_reversed_orderP7double2S0_mP7double2S0_m, .-_Z49__device_stub__Z18bit_reversed_orderP7double2S0_mP7double2S0_m
	.globl	_Z18bit_reversed_orderP7double2S0_m
	.type	_Z18bit_reversed_orderP7double2S0_m, @function
_Z18bit_reversed_orderP7double2S0_m:
.LFB10874:
	.cfi_startproc
	endbr64
	jmp	_Z49__device_stub__Z18bit_reversed_orderP7double2S0_mP7double2S0_m
	.cfi_endproc
.LFE10874:
	.size	_Z18bit_reversed_orderP7double2S0_m, .-_Z18bit_reversed_orderP7double2S0_m
	.globl	_Z54__device_stub__Z26new_cooley_tukey_iterationP7double2mP7double2m
	.type	_Z54__device_stub__Z26new_cooley_tukey_iterationP7double2mP7double2m, @function
_Z54__device_stub__Z26new_cooley_tukey_iterationP7double2mP7double2m:
.LFB10875:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 8(%rsp)
	leaq	32(%rsp), %rcx
	leaq	24(%rsp), %rdx
	movq	%rsi, (%rsp)
	leaq	40(%rsp), %rdi
	leaq	52(%rsp), %rsi
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rax
	movl	$1, 48(%rsp)
	movq	%rax, 88(%rsp)
	movq	%rsp, %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 40(%rsp)
	movq	%rax, 52(%rsp)
	movl	$1, 60(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L8
	pushq	32(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z26new_cooley_tukey_iterationP7double2m(%rip), %rdi
	pushq	32(%rsp)
	.cfi_def_cfa_offset 144
	movq	68(%rsp), %rcx
	movl	76(%rsp), %r8d
	movq	56(%rsp), %rsi
	movl	64(%rsp), %edx
	leaq	104(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L8:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE10875:
	.size	_Z54__device_stub__Z26new_cooley_tukey_iterationP7double2mP7double2m, .-_Z54__device_stub__Z26new_cooley_tukey_iterationP7double2mP7double2m
	.globl	_Z26new_cooley_tukey_iterationP7double2m
	.type	_Z26new_cooley_tukey_iterationP7double2m, @function
_Z26new_cooley_tukey_iterationP7double2m:
.LFB10876:
	.cfi_startproc
	endbr64
	jmp	_Z54__device_stub__Z26new_cooley_tukey_iterationP7double2mP7double2m
	.cfi_endproc
.LFE10876:
	.size	_Z26new_cooley_tukey_iterationP7double2m, .-_Z26new_cooley_tukey_iterationP7double2m
	.globl	_Z8cuda_fftRSt6vectorISt7complexIdESaIS1_EE
	.type	_Z8cuda_fftRSt6vectorISt7complexIdESaIS1_EE, @function
_Z8cuda_fftRSt6vectorISt7complexIdESaIS1_EE:
.LFB10832:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movl	$1, %edx
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rdi, %rbx
	subq	$48, %rsp
	.cfi_def_cfa_offset 80
	movq	8(%rdi), %rsi
	subq	(%rdi), %rsi
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rdi
	call	cudaMallocManaged@PLT
	movq	8(%rbx), %rsi
	leaq	8(%rsp), %rdi
	subq	(%rbx), %rsi
	movl	$1, %edx
	call	cudaMallocManaged@PLT
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdx
	xorl	%eax, %eax
	movq	(%rsp), %rdi
	subq	%rsi, %rdx
	movq	%rdx, %rcx
	sarq	$4, %rcx
.L14:
	cmpq	%rdx, %rax
	je	.L26
	movsd	(%rsi,%rax), %xmm0
	movsd	%xmm0, (%rdi,%rax)
	movsd	8(%rsi,%rax), %xmm0
	movsd	%xmm0, 8(%rdi,%rax)
	addq	$16, %rax
	jmp	.L14
.L26:
	xorl	%ebp, %ebp
.L16:
	cmpq	$1, %rcx
	je	.L27
	incq	%rbp
	shrq	%rcx
	jmp	.L16
.L27:
	movl	$16777217, %edx
	movl	$8388609, %edi
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	salq	$8, %rdx
	salq	$9, %rdi
	movl	$1, %esi
	movl	$1, 36(%rsp)
	movq	%rdx, 28(%rsp)
	movq	%rdi, 16(%rsp)
	movl	$1, 24(%rsp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L18
	movq	8(%rsp), %rsi
	movq	(%rsp), %rdi
	movq	%rbp, %rdx
	call	_Z49__device_stub__Z18bit_reversed_orderP7double2S0_mP7double2S0_m
.L18:
	call	cudaDeviceSynchronize@PLT
	movq	(%rsp), %rdi
	movl	$2, %ebp
	movabsq	$4294967297, %r12
	call	cudaFree@PLT
.L19:
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	subq	%rcx, %rdx
	movq	%rdx, %rax
	sarq	$4, %rax
	cmpq	%rbp, %rax
	jb	.L28
	movl	$1024, %ecx
	movq	%r12, 32(%rsp)
	cmpq	%rcx, %rbp
	movq	%r12, 20(%rsp)
	movl	24(%rsp), %esi
	cmovbe	%rbp, %rcx
	xorl	%edx, %edx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	divq	%rcx
	movl	%ecx, 28(%rsp)
	movl	36(%rsp), %ecx
	movq	28(%rsp), %rdx
	movl	%eax, 16(%rsp)
	movq	16(%rsp), %rdi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L20
	movq	8(%rsp), %rdi
	movq	%rbp, %rsi
	call	_Z54__device_stub__Z26new_cooley_tukey_iterationP7double2mP7double2m
.L20:
	call	cudaDeviceSynchronize@PLT
	addq	%rbp, %rbp
	jmp	.L19
.L28:
	movq	8(%rsp), %rdi
	xorl	%eax, %eax
.L22:
	cmpq	%rax, %rdx
	je	.L29
	movsd	(%rdi,%rax), %xmm0
	movsd	%xmm0, (%rcx,%rax)
	movsd	8(%rdi,%rax), %xmm0
	movsd	%xmm0, 8(%rcx,%rax)
	addq	$16, %rax
	jmp	.L22
.L29:
	call	cudaFree@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	addq	$48, %rsp
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE10832:
	.size	_Z8cuda_fftRSt6vectorISt7complexIdESaIS1_EE, .-_Z8cuda_fftRSt6vectorISt7complexIdESaIS1_EE
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"_Z26new_cooley_tukey_iterationP7double2m"
.LC1:
	.string	"_Z18bit_reversed_orderP7double2S0_m"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB10878:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	_ZL15__fatDeviceText(%rip), %rdi
	call	__cudaRegisterFatBinary@PLT
	pushq	$0
	.cfi_def_cfa_offset 24
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC0(%rip), %rdx
	movq	%rax, %rdi
	movq	%rax, %rbx
	pushq	$0
	.cfi_def_cfa_offset 40
	movq	%rdx, %rcx
	leaq	_Z26new_cooley_tukey_iterationP7double2m(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 48
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC1(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z18bit_reversed_orderP7double2S0_m(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	call	__cudaRegisterFatBinaryEnd@PLT
	leaq	_ZL26__cudaUnregisterBinaryUtilv(%rip), %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	atexit@PLT
	.cfi_endproc
.LFE10878:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.text._ZNSt6vectorISt7complexIdESaIS1_EED2Ev,"axG",@progbits,_ZNSt6vectorISt7complexIdESaIS1_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorISt7complexIdESaIS1_EED2Ev
	.type	_ZNSt6vectorISt7complexIdESaIS1_EED2Ev, @function
_ZNSt6vectorISt7complexIdESaIS1_EED2Ev:
.LFB11566:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L32
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L32:
	ret
	.cfi_endproc
.LFE11566:
	.size	_ZNSt6vectorISt7complexIdESaIS1_EED2Ev, .-_ZNSt6vectorISt7complexIdESaIS1_EED2Ev
	.weak	_ZNSt6vectorISt7complexIdESaIS1_EED1Ev
	.set	_ZNSt6vectorISt7complexIdESaIS1_EED1Ev,_ZNSt6vectorISt7complexIdESaIS1_EED2Ev
	.section	.text._ZNSt12_Vector_baseISt7complexIdESaIS1_EE17_M_create_storageEm,"axG",@progbits,_ZNSt12_Vector_baseISt7complexIdESaIS1_EE17_M_create_storageEm,comdat
	.align 2
	.weak	_ZNSt12_Vector_baseISt7complexIdESaIS1_EE17_M_create_storageEm
	.type	_ZNSt12_Vector_baseISt7complexIdESaIS1_EE17_M_create_storageEm, @function
_ZNSt12_Vector_baseISt7complexIdESaIS1_EE17_M_create_storageEm:
.LFB12274:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rsi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 32
	testq	%rsi, %rsi
	je	.L38
	movabsq	$576460752303423487, %rax
	cmpq	%rsi, %rax
	jnb	.L36
	movabsq	$1152921504606846975, %rax
	cmpq	%rsi, %rax
	jnb	.L37
	call	_ZSt28__throw_bad_array_new_lengthv@PLT
.L37:
	call	_ZSt17__throw_bad_allocv@PLT
.L36:
	movq	%rsi, %rdi
	salq	$4, %rdi
	call	_Znwm@PLT
	jmp	.L35
.L38:
	xorl	%eax, %eax
.L35:
	salq	$4, %rbx
	movq	%rax, 0(%rbp)
	movq	%rax, 8(%rbp)
	addq	%rbx, %rax
	movq	%rax, 16(%rbp)
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE12274:
	.size	_ZNSt12_Vector_baseISt7complexIdESaIS1_EE17_M_create_storageEm, .-_ZNSt12_Vector_baseISt7complexIdESaIS1_EE17_M_create_storageEm
	.section	.rodata._ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_.str1.1,"aMS",@progbits,1
.LC2:
	.string	"cannot create std::vector larger than max_size()"
	.section	.text._ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_,"axG",@progbits,_ZNSt6vectorISt7complexIdESaIS1_EEC5EmRKS2_,comdat
	.align 2
	.weak	_ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_
	.type	_ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_, @function
_ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_:
.LFB11563:
	.cfi_startproc
	endbr64
	movabsq	$576460752303423487, %rax
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	pushq	%rcx
	.cfi_def_cfa_offset 32
	cmpq	%rsi, %rax
	jnb	.L41
	leaq	.LC2(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L41:
	xorl	%edx, %edx
	movq	%rdi, %rbx
	movq	%rsi, %rbp
	movq	%rdx, (%rdi)
	movq	%rdx, 8(%rdi)
	movq	%rdx, 16(%rdi)
	call	_ZNSt12_Vector_baseISt7complexIdESaIS1_EE17_M_create_storageEm
	movq	(%rbx), %rax
	movq	%rbp, %rcx
	movq	%rax, %rdx
.L42:
	testq	%rcx, %rcx
	je	.L45
	movq	$0x000000000, (%rdx)
	decq	%rcx
	addq	$16, %rdx
	movq	$0x000000000, -8(%rdx)
	jmp	.L42
.L45:
	salq	$4, %rbp
	addq	%rbp, %rax
	movq	%rax, 8(%rbx)
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE11563:
	.size	_ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_, .-_ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_
	.weak	_ZNSt6vectorISt7complexIdESaIS1_EEC1EmRKS2_
	.set	_ZNSt6vectorISt7complexIdESaIS1_EEC1EmRKS2_,_ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_
	.text
	.globl	_Z16mod_cooley_tukeyPSt7complexIdEmm
	.type	_Z16mod_cooley_tukeyPSt7complexIdEmm, @function
_Z16mod_cooley_tukeyPSt7complexIdEmm:
.LFB10826:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA10826
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movq	%rdx, %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	subq	%rsi, %r15
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%rdx, 24(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	cmpq	$1, %r15
	jbe	.L46
	movq	%r15, %r13
	leaq	48(%rsp), %rax
	movq	%rdi, %r12
	movq	%rsi, %r14
	shrq	%r13
	movq	%rax, %rdi
	leaq	47(%rsp), %rdx
	movq	%rax, 8(%rsp)
	movq	%r13, %rsi
.LEHB0:
	call	_ZNSt6vectorISt7complexIdESaIS1_EEC1EmRKS2_
.LEHE0:
	movq	%r14, %rsi
	movq	%r13, %r8
	movq	48(%rsp), %rdi
	salq	$4, %rsi
	salq	$4, %r8
	xorl	%eax, %eax
	addq	%r12, %rsi
	movq	%rsi, %rbp
	movq	%rsi, %rdx
.L48:
	movsd	16(%rdx), %xmm0
	addq	$32, %rdx
	movsd	%xmm0, (%rdi,%rax)
	movsd	-8(%rdx), %xmm0
	movsd	%xmm0, 8(%rdi,%rax)
	movsd	-32(%rdx), %xmm0
	movsd	%xmm0, (%rsi,%rax)
	movsd	-24(%rdx), %xmm0
	movsd	%xmm0, 8(%rsi,%rax)
	addq	$16, %rax
	cmpq	%rax, %r8
	jne	.L48
	leaq	0(%r13,%r14), %rax
	movq	%rax, %rbx
	movq	%rax, 16(%rsp)
	xorl	%eax, %eax
	salq	$4, %rbx
	addq	%r12, %rbx
.L49:
	movsd	(%rdi,%rax), %xmm0
	movsd	%xmm0, (%rbx,%rax)
	movsd	8(%rdi,%rax), %xmm0
	movsd	%xmm0, 8(%rbx,%rax)
	addq	$16, %rax
	cmpq	%rax, %r8
	jne	.L49
	movq	16(%rsp), %rdx
	movq	%r14, %rsi
	movq	%r12, %rdi
.LEHB1:
	call	_Z16mod_cooley_tukeyPSt7complexIdEmm
	movq	24(%rsp), %rdx
	movq	16(%rsp), %rsi
	movq	%r12, %rdi
	call	_Z16mod_cooley_tukeyPSt7complexIdEmm
.LEHE1:
	cvtsi2sdq	%r15, %xmm4
	xorl	%r12d, %r12d
	movsd	%xmm4, 16(%rsp)
.L50:
	xorps	%xmm0, %xmm0
	cvtsi2sdq	%r12, %xmm1
	incq	%r12
	addq	$16, %rbx
	mulsd	.LC4(%rip), %xmm1
	addq	$16, %rbp
	divsd	16(%rsp), %xmm1
	call	cexp@PLT
	movaps	%xmm0, %xmm2
	movaps	%xmm1, %xmm3
	movsd	-16(%rbx), %xmm0
	movsd	-8(%rbx), %xmm1
	call	__muldc3@PLT
	movsd	-16(%rbp), %xmm2
	subsd	%xmm0, %xmm2
	movsd	-8(%rbp), %xmm0
	subsd	%xmm1, %xmm0
	movsd	%xmm2, -16(%rbx)
	movsd	%xmm0, -8(%rbx)
	movsd	-16(%rbp), %xmm3
	movsd	-8(%rbp), %xmm1
	subsd	%xmm3, %xmm2
	subsd	%xmm1, %xmm0
	subsd	%xmm2, %xmm3
	subsd	%xmm0, %xmm1
	movsd	%xmm3, -16(%rbp)
	movsd	%xmm1, -8(%rbp)
	cmpq	%r12, %r13
	jne	.L50
	movq	8(%rsp), %rdi
	call	_ZNSt6vectorISt7complexIdESaIS1_EED1Ev
	jmp	.L46
.L54:
	endbr64
	movq	%rax, %rbx
.L51:
	movq	8(%rsp), %rdi
	call	_ZNSt6vectorISt7complexIdESaIS1_EED1Ev
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L59
	movq	%rbx, %rdi
.LEHB2:
	call	_Unwind_Resume@PLT
.LEHE2:
.L46:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	je	.L53
.L59:
	call	__stack_chk_fail@PLT
.L53:
	addq	$88, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE10826:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
.LLSDA10826:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE10826-.LLSDACSB10826
.LLSDACSB10826:
	.uleb128 .LEHB0-.LFB10826
	.uleb128 .LEHE0-.LEHB0
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB1-.LFB10826
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L54-.LFB10826
	.uleb128 0
	.uleb128 .LEHB2-.LFB10826
	.uleb128 .LEHE2-.LEHB2
	.uleb128 0
	.uleb128 0
.LLSDACSE10826:
	.text
	.size	_Z16mod_cooley_tukeyPSt7complexIdEmm, .-_Z16mod_cooley_tukeyPSt7complexIdEmm
	.section	.text._Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm,"axG",@progbits,_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm,comdat
	.weak	_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm
	.type	_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm, @function
_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm:
.LFB11573:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA11573
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rdx, %rbx
	subq	%rsi, %rbx
	subq	$48, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	cmpq	$1, %rbx
	jbe	.L60
	shrq	%rbx
	leaq	16(%rsp), %r13
	movq	%rdi, %rbp
	movq	%rsi, %r14
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%rdx, %r12
	leaq	15(%rsp), %rdx
.LEHB3:
	call	_ZNSt6vectorISt7complexIdESaIS1_EEC1EmRKS2_
.LEHE3:
	movq	0(%rbp), %rcx
	movq	%r14, %rsi
	movq	%rbx, %r8
	salq	$4, %rsi
	movq	16(%rsp), %rdi
	salq	$4, %r8
	xorl	%eax, %eax
	addq	%rcx, %rsi
	movq	%rsi, %rdx
.L62:
	movsd	16(%rdx), %xmm0
	addq	$32, %rdx
	movsd	%xmm0, (%rdi,%rax)
	movsd	-8(%rdx), %xmm0
	movsd	%xmm0, 8(%rdi,%rax)
	movsd	-32(%rdx), %xmm0
	movsd	%xmm0, (%rsi,%rax)
	movsd	-24(%rdx), %xmm0
	movsd	%xmm0, 8(%rsi,%rax)
	addq	$16, %rax
	cmpq	%r8, %rax
	jne	.L62
	addq	%r14, %rbx
	movq	%rbx, %rax
	salq	$4, %rax
	leaq	(%rcx,%rax), %rdx
	xorl	%eax, %eax
.L63:
	movsd	(%rdi,%rax), %xmm0
	movsd	%xmm0, (%rdx,%rax)
	movsd	8(%rdi,%rax), %xmm0
	movsd	%xmm0, 8(%rdx,%rax)
	addq	$16, %rax
	cmpq	%r8, %rax
	jne	.L63
	movq	%rbx, %rdx
	movq	%r14, %rsi
	movq	%rbp, %rdi
.LEHB4:
	call	_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm
	movq	%r12, %rdx
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	call	_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm
.LEHE4:
	movq	%r13, %rdi
	call	_ZNSt6vectorISt7complexIdESaIS1_EED1Ev
	jmp	.L60
.L67:
	endbr64
	movq	%rax, %rbx
.L64:
	movq	%r13, %rdi
	call	_ZNSt6vectorISt7complexIdESaIS1_EED1Ev
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L71
	movq	%rbx, %rdi
.LEHB5:
	call	_Unwind_Resume@PLT
.LEHE5:
.L60:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	je	.L66
.L71:
	call	__stack_chk_fail@PLT
.L66:
	addq	$48, %rsp
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE11573:
	.section	.gcc_except_table
.LLSDA11573:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE11573-.LLSDACSB11573
.LLSDACSB11573:
	.uleb128 .LEHB3-.LFB11573
	.uleb128 .LEHE3-.LEHB3
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB4-.LFB11573
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L67-.LFB11573
	.uleb128 0
	.uleb128 .LEHB5-.LFB11573
	.uleb128 .LEHE5-.LEHB5
	.uleb128 0
	.uleb128 0
.LLSDACSE11573:
	.section	.text._Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm,"axG",@progbits,_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm,comdat
	.size	_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm, .-_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm
	.text
	.globl	_Z22iterative_cooley_tukeyRSt6vectorISt7complexIdESaIS1_EEmm
	.type	_Z22iterative_cooley_tukeyRSt6vectorISt7complexIdESaIS1_EEmm, @function
_Z22iterative_cooley_tukeyRSt6vectorISt7complexIdESaIS1_EEmm:
.LFB10828:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$2, %r15d
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rdx, %rbx
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	call	_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm
	movq	%rbx, %rax
	subq	%r12, %rax
	movq	%rax, 16(%rsp)
.L73:
	cmpq	%r15, 16(%rsp)
	jb	.L72
	movq	%r15, %rax
	xorl	%r13d, %r13d
	shrq	%rax
	movq	%rax, 8(%rsp)
	movq	%rax, %r14
	movq	%r15, %rax
	andl	$1, %eax
	movq	%rax, 24(%rsp)
.L80:
	cmpq	%rbx, %r13
	jnb	.L77
	movq	%r14, %r12
	movq	%r13, %r8
	xorl	%esi, %esi
	salq	$4, %r12
	salq	$4, %r8
.L78:
	cmpq	%rsi, 8(%rsp)
	je	.L82
	cvtsi2sdq	%rsi, %xmm1
	mulsd	.LC4(%rip), %xmm1
	testq	%r15, %r15
	js	.L74
	cvtsi2sdq	%r15, %xmm2
	jmp	.L75
.L74:
	movq	24(%rsp), %rax
	movq	%r15, %rdx
	shrq	%rdx
	orq	%rax, %rdx
	cvtsi2sdq	%rdx, %xmm2
	addsd	%xmm2, %xmm2
.L75:
	divsd	%xmm2, %xmm1
	xorps	%xmm0, %xmm0
	movq	%r8, 56(%rsp)
	movq	%rsi, 48(%rsp)
	call	cexp@PLT
	movq	0(%rbp), %rdx
	movaps	%xmm0, %xmm2
	movaps	%xmm1, %xmm3
	leaq	(%rdx,%r12), %r9
	movq	%rdx, 40(%rsp)
	addq	$16, %r12
	movsd	8(%r9), %xmm1
	movsd	(%r9), %xmm0
	movq	%r9, 32(%rsp)
	call	__muldc3@PLT
	movq	56(%rsp), %r8
	movq	40(%rsp), %rdx
	movq	32(%rsp), %r9
	movq	48(%rsp), %rsi
	addq	%r8, %rdx
	addq	$16, %r8
	movsd	(%rdx), %xmm2
	incq	%rsi
	subsd	%xmm0, %xmm2
	movsd	8(%rdx), %xmm0
	subsd	%xmm1, %xmm0
	movsd	%xmm2, (%r9)
	movsd	%xmm0, 8(%r9)
	movsd	(%rdx), %xmm3
	movsd	8(%rdx), %xmm1
	subsd	%xmm3, %xmm2
	subsd	%xmm1, %xmm0
	subsd	%xmm2, %xmm3
	subsd	%xmm0, %xmm1
	movsd	%xmm3, (%rdx)
	movsd	%xmm1, 8(%rdx)
	jmp	.L78
.L82:
	addq	%r15, %r13
	addq	%r15, %r14
	jmp	.L80
.L77:
	addq	%r15, %r15
	jmp	.L73
.L72:
	addq	$72, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE10828:
	.size	_Z22iterative_cooley_tukeyRSt6vectorISt7complexIdESaIS1_EEmm, .-_Z22iterative_cooley_tukeyRSt6vectorISt7complexIdESaIS1_EEmm
	.section	.rodata.str1.1
.LC6:
	.string	"vector::_M_realloc_insert"
	.text
	.globl	_Z26test_speed_and_correctnessNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.type	_Z26test_speed_and_correctnessNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE, @function
_Z26test_speed_and_correctnessNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
.LFB10834:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA10834
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movq	%rdi, %rsi
	movl	$8, %edx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$632, %rsp
	.cfi_def_cfa_offset 688
	movq	%fs:40, %rax
	movq	%rax, 616(%rsp)
	xorl	%eax, %eax
	leaq	96(%rsp), %r15
	movq	%r15, %rdi
.LEHB6:
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode@PLT
.LEHE6:
	xorl	%edx, %edx
	leaq	72(%rsp), %rax
	movq	%rdx, 48(%rsp)
	movq	%rdx, 56(%rsp)
	movq	%rdx, 64(%rsp)
	movq	%rax, (%rsp)
.L84:
	testb	$2, 384(%rsp)
	jne	.L124
	leaq	40(%rsp), %rsi
	movq	%r15, %rdi
.LEHB7:
	call	_ZNSi10_M_extractIdEERSiRT_@PLT
	movq	(%rsp), %rsi
	movq	%rax, %rdi
	call	_ZNSi10_M_extractIdEERSiRT_@PLT
	movq	(%rax), %rdx
	movq	-24(%rdx), %rdx
	testb	$5, 32(%rax,%rdx)
	jne	.L84
	movq	56(%rsp), %rbp
	cmpq	64(%rsp), %rbp
	je	.L86
	movsd	72(%rsp), %xmm0
	movsd	40(%rsp), %xmm1
	addq	$16, %rbp
	movsd	%xmm1, -16(%rbp)
	movsd	%xmm0, -8(%rbp)
	movq	%rbp, 56(%rsp)
	jmp	.L84
.L86:
	movq	48(%rsp), %r12
	movq	%rbp, %r14
	movabsq	$576460752303423487, %rdx
	subq	%r12, %r14
	movq	%r14, %rbx
	sarq	$4, %rbx
	cmpq	%rdx, %rbx
	jne	.L87
	movq	616(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L121
	leaq	.LC6(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L87:
	cmpq	%r12, %rbp
	movl	$1, %eax
	cmovne	%rbx, %rax
	addq	%rax, %rbx
	jc	.L111
	xorl	%r13d, %r13d
	testq	%rbx, %rbx
	je	.L93
	movabsq	$576460752303423487, %rax
	cmpq	%rax, %rbx
	cmova	%rax, %rbx
	jmp	.L92
.L111:
	movq	%rdx, %rbx
.L92:
	movq	%rbx, %rdi
	salq	$4, %rdi
	call	_Znwm@PLT
	movq	%rax, %r13
.L93:
	movsd	40(%rsp), %xmm0
	addq	%r13, %r14
	movq	%r13, %rcx
	movq	%r12, %rdx
	movsd	%xmm0, (%r14)
	movsd	72(%rsp), %xmm0
	movsd	%xmm0, 8(%r14)
.L94:
	addq	$16, %rcx
	cmpq	%rdx, %rbp
	je	.L125
	movsd	(%rdx), %xmm0
	addq	$16, %rdx
	movsd	%xmm0, -16(%rcx)
	movsd	-8(%rdx), %xmm0
	movsd	%xmm0, -8(%rcx)
	jmp	.L94
.L125:
	subq	%r12, %rbp
	leaq	16(%rbp,%r13), %rbp
	testq	%r12, %r12
	je	.L96
	movq	64(%rsp), %rsi
	movq	%r12, %rdi
	subq	%r12, %rsi
	call	_ZdlPvm@PLT
.L96:
	salq	$4, %rbx
	movq	%r13, 48(%rsp)
	leaq	0(%r13,%rbx), %rax
	movq	%rbp, 56(%rsp)
	movq	%rax, 64(%rsp)
	jmp	.L84
.L124:
	movq	56(%rsp), %rsi
	movq	(%rsp), %rdi
	xorl	%eax, %eax
	subq	48(%rsp), %rsi
	movq	%rax, 72(%rsp)
	sarq	$4, %rsi
	movq	%rax, 80(%rsp)
	movq	%rax, 88(%rsp)
	call	_ZNSt12_Vector_baseISt7complexIdESaIS1_EE17_M_create_storageEm
.LEHE7:
	movq	48(%rsp), %rcx
	movq	56(%rsp), %rdx
	xorl	%eax, %eax
	movq	72(%rsp), %rbp
	subq	%rcx, %rdx
.L98:
	cmpq	%rax, %rdx
	je	.L126
	movsd	(%rcx,%rax), %xmm0
	movsd	%xmm0, 0(%rbp,%rax)
	movsd	8(%rcx,%rax), %xmm0
	movsd	%xmm0, 8(%rbp,%rax)
	addq	$16, %rax
	jmp	.L98
.L126:
	addq	%rbp, %rdx
	movq	%rdx, 80(%rsp)
	call	_ZNSt6chrono3_V212system_clock3nowEv@PLT
	movq	56(%rsp), %rdx
	subq	48(%rsp), %rdx
	xorl	%esi, %esi
	movq	%rax, %rbx
	leaq	48(%rsp), %rax
	sarq	$4, %rdx
	movq	%rax, %rdi
	movq	%rax, 16(%rsp)
.LEHB8:
	call	_Z22iterative_cooley_tukeyRSt6vectorISt7complexIdESaIS1_EEmm
	call	_ZNSt6chrono3_V212system_clock3nowEv@PLT
	movl	$1000000, %ecx
	leaq	_ZSt4cout(%rip), %rdi
	subq	%rbx, %rax
	cqto
	idivq	%rcx
	movq	%rax, %rsi
	call	_ZNSo9_M_insertIlEERSoT_@PLT
	movq	%rax, %rdi
	movl	$32, %esi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c@PLT
	call	_ZNSt6chrono3_V212system_clock3nowEv@PLT
	movq	(%rsp), %rdi
	movq	%rax, %rbx
	call	_Z8cuda_fftRSt6vectorISt7complexIdESaIS1_EE
	call	_ZNSt6chrono3_V212system_clock3nowEv@PLT
	movl	$1000000, %ecx
	leaq	_ZSt4cout(%rip), %rdi
	subq	%rbx, %rax
	cqto
	idivq	%rcx
	movq	%rax, %rsi
	call	_ZNSo9_M_insertIlEERSoT_@PLT
	movq	%rax, %rdi
	movl	$32, %esi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c@PLT
	movq	48(%rsp), %r14
	movq	56(%rsp), %rbx
	xorl	%r13d, %r13d
	xorps	%xmm2, %xmm2
	movsd	.LC5(%rip), %xmm4
	xorl	%r12d, %r12d
	subq	%r14, %rbx
	sarq	$4, %rbx
	movsd	%xmm4, 8(%rsp)
.L100:
	cmpq	%rbx, %r12
	je	.L127
	movsd	(%r14,%r13), %xmm0
	movsd	8(%r14,%r13), %xmm1
	movsd	%xmm2, 24(%rsp)
	incq	%r12
	subsd	0(%rbp,%r13), %xmm0
	subsd	8(%rbp,%r13), %xmm1
	addq	$16, %r13
	call	cabs@PLT
	movsd	24(%rsp), %xmm2
	movaps	%xmm0, %xmm3
	minsd	8(%rsp), %xmm0
	maxsd	%xmm2, %xmm3
	movsd	%xmm0, 8(%rsp)
	movaps	%xmm3, %xmm2
	jmp	.L100
.L127:
	movaps	%xmm2, %xmm0
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	movl	$32, %esi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c@PLT
	movsd	8(%rsp), %xmm0
	movq	%rax, %rdi
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	movl	$10, %esi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c@PLT
.LEHE8:
	movq	(%rsp), %rdi
	call	_ZNSt6vectorISt7complexIdESaIS1_EED1Ev
	movq	16(%rsp), %rdi
	call	_ZNSt6vectorISt7complexIdESaIS1_EED1Ev
	movq	%r15, %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	616(%rsp), %rax
	subq	%fs:40, %rax
	je	.L109
	jmp	.L121
.L114:
	endbr64
	movq	%rax, %rbx
.L106:
	movq	(%rsp), %rdi
	call	_ZNSt6vectorISt7complexIdESaIS1_EED1Ev
	jmp	.L107
.L113:
	endbr64
	movq	%rax, %rbx
.L107:
	leaq	48(%rsp), %rdi
	call	_ZNSt6vectorISt7complexIdESaIS1_EED1Ev
	movq	%r15, %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	616(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L121
	movq	%rbx, %rdi
.LEHB9:
	call	_Unwind_Resume@PLT
.LEHE9:
.L121:
	call	__stack_chk_fail@PLT
.L109:
	addq	$632, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE10834:
	.section	.gcc_except_table
.LLSDA10834:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE10834-.LLSDACSB10834
.LLSDACSB10834:
	.uleb128 .LEHB6-.LFB10834
	.uleb128 .LEHE6-.LEHB6
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB7-.LFB10834
	.uleb128 .LEHE7-.LEHB7
	.uleb128 .L113-.LFB10834
	.uleb128 0
	.uleb128 .LEHB8-.LFB10834
	.uleb128 .LEHE8-.LEHB8
	.uleb128 .L114-.LFB10834
	.uleb128 0
	.uleb128 .LEHB9-.LFB10834
	.uleb128 .LEHE9-.LEHB9
	.uleb128 0
	.uleb128 0
.LLSDACSE10834:
	.text
	.size	_Z26test_speed_and_correctnessNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE, .-_Z26test_speed_and_correctnessNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.section	.rodata.str1.1
.LC7:
	.string	"basic_string: construction from null is not valid"
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB10848:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA10848
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$48, %rsp
	.cfi_def_cfa_offset 80
	movq	8(%rsi), %rbp
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movq	%rax, 8(%rsp)
	testq	%rbp, %rbp
	jne	.L129
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L136
	leaq	.LC7(%rip), %rdi
.LEHB10:
	call	_ZSt19__throw_logic_errorPKc@PLT
.L129:
	movq	%rbp, %rdi
	leaq	8(%rsp), %rbx
	call	strlen@PLT
	movq	%rax, (%rsp)
	leaq	0(%rbp,%rax), %r12
	cmpq	$15, %rax
	jbe	.L131
	movq	%rsp, %rsi
	xorl	%edx, %edx
	movq	%rbx, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm@PLT
.LEHE10:
	movq	%rax, 8(%rsp)
	movq	(%rsp), %rax
	movq	%rax, 24(%rsp)
.L131:
	movq	8(%rsp), %rdi
	movq	%r12, %rdx
	movq	%rbp, %rsi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcPKcS7_@PLT
	movq	(%rsp), %rax
	movq	8(%rsp), %rdx
	movq	%rbx, %rdi
	movq	%rax, 16(%rsp)
	movb	$0, (%rdx,%rax)
.LEHB11:
	call	_Z26test_speed_and_correctnessNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
.LEHE11:
	movq	%rbx, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	je	.L134
	jmp	.L136
.L135:
	endbr64
	movq	%rax, %rbp
.L132:
	movq	%rbx, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L136
	movq	%rbp, %rdi
.LEHB12:
	call	_Unwind_Resume@PLT
.LEHE12:
.L136:
	call	__stack_chk_fail@PLT
.L134:
	addq	$48, %rsp
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE10848:
	.section	.gcc_except_table
.LLSDA10848:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE10848-.LLSDACSB10848
.LLSDACSB10848:
	.uleb128 .LEHB10-.LFB10848
	.uleb128 .LEHE10-.LEHB10
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB11-.LFB10848
	.uleb128 .LEHE11-.LEHB11
	.uleb128 .L135-.LFB10848
	.uleb128 0
	.uleb128 .LEHB12-.LFB10848
	.uleb128 .LEHE12-.LEHB12
	.uleb128 0
	.uleb128 0
.LLSDACSE10848:
	.section	.text.startup
	.size	main, .-main
	.section	.nvFatBinSegment,"aw"
	.align 8
	.type	_ZL15__fatDeviceText, @object
	.size	_ZL15__fatDeviceText, 24
_ZL15__fatDeviceText:
	.long	1180844977
	.long	1
	.quad	fatbinData
	.quad	0
	.local	_ZL20__cudaFatCubinHandle
	.comm	_ZL20__cudaFatCubinHandle,8,8
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC4:
	.long	1413754136
	.long	-1072094725
	.align 8
.LC5:
	.long	0
	.long	1104006501
	.hidden	DW.ref.__gxx_personality_v0
	.weak	DW.ref.__gxx_personality_v0
	.section	.data.rel.local.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
	.align 8
	.type	DW.ref.__gxx_personality_v0, @object
	.size	DW.ref.__gxx_personality_v0, 8
DW.ref.__gxx_personality_v0:
	.quad	__gxx_personality_v0
	.ident	"GCC: (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.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:

#include <bits/stdc++.h>
#include <unistd.h>
#include <hip/hip_runtime.h>

template <typename Iter>
void cooley_tukey(Iter first, Iter last) {
    auto size = last - first;
    if (size >= 2) {
        auto temp = std::vector<std::complex<double>>(size / 2);
        for (int i = 0; i < size / 2; ++i) {
            temp[i] = first[i * 2 + 1];
            first[i] = first[i * 2];
        }
        for (int i = 0; i < size / 2; ++i) {
            first[i + size / 2] = temp[i];
        }
        auto split = first + size / 2;
        cooley_tukey(first, split);
        cooley_tukey(split, last);
        for (int k = 0; k < size / 2; ++k) {
            auto w = std::exp(std::complex<double>(0, -2.0 * M_PI * k / size));
            auto& bottom = first[k];
            auto& top = first[k + size / 2];
            top = bottom - w * top;
            bottom -= top - bottom;
        }
    }
}

void mod_cooley_tukey(std::complex<double>* data, size_t left, size_t right) {
    auto size = right - left;
    if (size >= 2) {
        auto temp = std::vector<std::complex<double>>(size / 2);
        for (size_t i = 0; i < size / 2; ++i) {
            temp[i] = data[left + i * 2 + 1];
            data[left + i] = data[left + i * 2];
        }
        for (size_t i = 0; i < size / 2; ++i) {
            data[left + i + size / 2] = temp[i];
        }
        auto split = left + size / 2;
        mod_cooley_tukey(data, left, split);
        mod_cooley_tukey(data, split, right);
        for (size_t k = 0; k < size / 2; ++k) {
            auto w = std::exp(std::complex<double>(0, -2. * M_PI * k / size));
            auto& bottom = data[k + left];
            auto& top = data[k + size / 2 + left];
            top = bottom - w * top;
            bottom -= top - bottom;
        }
    }
}

template <typename T>
void bit_reversal(std::vector<T>& data, size_t left, size_t right) {
    auto size = right - left;
    if (size >= 2) {
        auto temp = std::vector<T>(size / 2);
        for (size_t i = 0; i < size / 2; ++i) {
            temp[i] = data[left + i * 2 + 1];
            data[left + i] = data[left + i * 2];
        }
        for (size_t i = 0; i < size / 2; ++i) {
            data[left + i + size / 2] = temp[i];
        }
        auto split = left + size / 2;
        bit_reversal(data, left, split);
        bit_reversal(data, split, right);
    }
}


void iterative_cooley_tukey(std::vector<std::complex<double>>& data, size_t left, size_t right) {
    bit_reversal(data, left, right);
    for (size_t iter = 2; iter <= right - left; iter <<= 1u) {
        for (size_t base_pos = 0; base_pos < right; base_pos += iter) {
            for (size_t k = 0; k < iter / 2; ++k) {
                auto w = std::exp(std::complex<double>(0, -2. * M_PI * k / iter));
                data[k + iter / 2 + base_pos] = data[k + base_pos] - w * data[k + iter / 2 + base_pos];
                data[k + base_pos] -= data[k + iter / 2 + base_pos] - data[k + base_pos];
            }
        }
    }
}

static __device__ __host__ inline size_t rev_num(size_t num, size_t deg) {
    size_t reverse_num = 0;
    int i;
    for (i = 0; i < deg; i++) {
        if((num & (1 << i))) {
            reverse_num |= 1 << ((deg - 1) - i);
        }
    }
    return reverse_num;
}


__global__ void bit_reversed_order(double2* __restrict__ input, double2* output, size_t deg) {
    size_t index = blockIdx.x * blockDim.x + threadIdx.x;
    size_t stride = blockDim.x * gridDim.x;
    for (size_t i = index; i < (1 << deg); i += stride) {
        size_t new_ind = rev_num(i, deg);
        output[new_ind] = input[i];
    }
}

static __device__ __host__ inline double2 CplxSub(double2 a, double2 b) {
    double2 c;
    c.x = a.x - b.x;
    c.y = a.y - b.y;
    return c;
}

static __device__ __host__ inline double2 CplxMul(double2 a, double2 b) {
    double2 c;
    c.x = a.x * b.x - a.y * b.y;
    c.y = a.x * b.y + a.y * b.x;
    return c;
}

__global__ void new_cooley_tukey_iteration(double2* data, size_t len) {
    size_t pos = blockDim.x * blockIdx.x + threadIdx.x;
    size_t k = pos % len;
    size_t base_pos = pos - k;
    if (k < len / 2) {
        double2 w;
        double phi = -2. * M_PI * k / len;
        w.x = cos(phi);
        w.y = sin(phi);
        data[k + len / 2 + base_pos] = CplxSub(data[k + base_pos], CplxMul(w, data[k + len / 2 + base_pos]));
        data[k + base_pos] = CplxSub(data[k + base_pos], CplxSub(data[k + len / 2 + base_pos], data[k + base_pos]));
    }
}

void cuda_fft(std::vector<std::complex<double>>& data) {
    double2* inp_data, *bit_rev_data;
    hipMallocManaged((void**)&inp_data, data.size() * sizeof(double2));
    hipMallocManaged((void**)&bit_rev_data, data.size() * sizeof(double2));
    for (int i = 0; i < data.size(); ++i) {
        inp_data[i].x = data[i].real();
        inp_data[i].y = data[i].imag();
    }
    size_t deg = 0, sz = data.size();
    while (sz != 1) {
        ++deg;
        sz >>= 1;
    }
    bit_reversed_order<<<512, 256>>>(inp_data, bit_rev_data, deg);
    hipDeviceSynchronize();
    hipFree(inp_data);
    for (size_t blockSize = 2; blockSize <= data.size(); blockSize <<= 1u) {
        size_t threads = std::min(static_cast<size_t>(1024), blockSize);
        new_cooley_tukey_iteration<<<data.size() / threads, threads>>>(bit_rev_data, blockSize);
        hipDeviceSynchronize();
    }
    for (size_t i = 0; i < data.size(); ++i) {
        data[i].real(bit_rev_data[i].x);
        data[i].imag(bit_rev_data[i].y);
    }
    hipFree(bit_rev_data);
}


template <typename Iter>
void inversed_fft(Iter first, Iter last) {
    cooley_tukey(first, last);
    auto it = first;
    auto size = last - first;
    while (it != last) {
        *it /= size;
        ++it;
    }
    std::reverse(first + 1, last);
}

const int kRuns = 1;

void test_speed_and_correctness(std::string filename) {
    std::ifstream fin(filename);
    std::vector<std::complex<double>> data;
    while (!fin.eof()) {
        double real, imag;
        if (fin >> real >> imag) {
            data.emplace_back(real, imag);
        }
    }
    auto data1 = data;
    for (int k = 0; k < kRuns; ++k) {
        {
            auto start = std::chrono::high_resolution_clock::now();
            iterative_cooley_tukey(data, 0, data.size());
            auto finish = std::chrono::high_resolution_clock::now();
            auto milliseconds = std::chrono::duration_cast<std::chrono::milliseconds>(finish - start);
            std::cout << milliseconds.count() << ' ';
        }
        {
            auto start = std::chrono::high_resolution_clock::now();
            cuda_fft(data1);
            auto finish = std::chrono::high_resolution_clock::now();
            auto milliseconds = std::chrono::duration_cast<std::chrono::milliseconds>(finish - start);
            std::cout << milliseconds.count() << ' ';
        }
        double max_diff = 0, min_diff = 1E9;
        for (size_t i = 0; i < data.size(); ++i) {
            max_diff = std::max(max_diff, std::abs(data[i] - data1[i]));
            min_diff = std::min(min_diff, std::abs(data[i] - data1[i]));
        }
        std::cout << max_diff << ' ' << min_diff << '\n';
    }
}

int main(int argc, char* argv[]) {
    test_speed_and_correctness(argv[1]);
    return 0;
}
	.text
	.file	"new_cufft.hip"
                                        # Start of file scope inline assembly
	.globl	_ZSt21ios_base_library_initv

                                        # End of file scope inline assembly
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0                          # -- Begin function _Z16mod_cooley_tukeyPSt7complexIdEmm
.LCPI0_0:
	.long	1127219200                      # 0x43300000
	.long	1160773632                      # 0x45300000
	.long	0                               # 0x0
	.long	0                               # 0x0
.LCPI0_1:
	.quad	0x4330000000000000              # double 4503599627370496
	.quad	0x4530000000000000              # double 1.9342813113834067E+25
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0
.LCPI0_2:
	.quad	0xc01921fb54442d18              # double -6.2831853071795862
	.text
	.globl	_Z16mod_cooley_tukeyPSt7complexIdEmm
	.type	_Z16mod_cooley_tukeyPSt7complexIdEmm,@function
_Z16mod_cooley_tukeyPSt7complexIdEmm:   # @_Z16mod_cooley_tukeyPSt7complexIdEmm
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdx, %r14
	subq	%rsi, %r14
	cmpq	$2, %r14
	jb	.LBB0_12
# %bb.1:                                # %.lr.ph.preheader
	movq	%rsi, %r13
	movq	%rdx, (%rsp)                    # 8-byte Spill
	movq	%r14, %r15
	shrq	%r15
	movq	%rdi, %r12
	leaq	24(%rsp), %rdi
	leaq	8(%rsp), %rdx
	movq	%r15, %rsi
	callq	_ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_
	movq	%r13, %rbp
	shlq	$4, %rbp
	addq	%r12, %rbp
	xorl	%eax, %eax
	movq	%r15, %rcx
.LBB0_2:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movq	24(%rsp), %rdx
	movups	16(%rbp,%rax,2), %xmm0
	movups	%xmm0, (%rdx,%rax)
	movupd	(%rbp,%rax,2), %xmm0
	movupd	%xmm0, (%rbp,%rax)
	addq	$16, %rax
	decq	%rcx
	jne	.LBB0_2
# %bb.3:                                # %.lr.ph89
	movq	%r15, %rbx
	shlq	$4, %rbx
	leaq	(%rbx,%rbp), %rax
	movq	24(%rsp), %rcx
	xorl	%edx, %edx
	movq	%r15, %rsi
.LBB0_4:                                # =>This Inner Loop Header: Depth=1
	movupd	(%rcx,%rdx), %xmm0
	movupd	%xmm0, (%rax,%rdx)
	addq	$16, %rdx
	decq	%rsi
	jne	.LBB0_4
# %bb.5:                                # %._crit_edge
	movq	%r13, %rsi
	addq	%r15, %r13
.Ltmp0:
	movq	%r12, %rdi
	movq	%r13, %rdx
	callq	_Z16mod_cooley_tukeyPSt7complexIdEmm
.Ltmp1:
# %bb.6:
.Ltmp2:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	(%rsp), %rdx                    # 8-byte Reload
	callq	_Z16mod_cooley_tukeyPSt7complexIdEmm
.Ltmp3:
# %bb.7:                                # %.lr.ph91
	movq	%r14, %xmm0
	punpckldq	.LCPI0_0(%rip), %xmm0   # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
	subpd	.LCPI0_1(%rip), %xmm0
	movapd	%xmm0, %xmm1
	unpckhpd	%xmm0, %xmm1                    # xmm1 = xmm1[1],xmm0[1]
	addsd	%xmm0, %xmm1
	movapd	%xmm1, 48(%rsp)                 # 16-byte Spill
	xorl	%r12d, %r12d
	leaq	8(%rsp), %r14
.LBB0_8:                                # =>This Inner Loop Header: Depth=1
	movq	%r12, %xmm1
	punpckldq	.LCPI0_0(%rip), %xmm1   # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
	subpd	.LCPI0_1(%rip), %xmm1
	movapd	%xmm1, %xmm0
	unpckhpd	%xmm1, %xmm0                    # xmm0 = xmm0[1],xmm1[1]
	addsd	%xmm1, %xmm0
	mulsd	.LCPI0_2(%rip), %xmm0
	divsd	48(%rsp), %xmm0                 # 16-byte Folded Reload
	movapd	%xmm0, 64(%rsp)                 # 16-byte Spill
	callq	cos
	movsd	%xmm0, (%rsp)                   # 8-byte Spill
	movapd	64(%rsp), %xmm0                 # 16-byte Reload
	callq	sin
	leaq	(%rbx,%rbp), %rsi
	movsd	(%rsp), %xmm1                   # 8-byte Reload
                                        # xmm1 = mem[0],zero
	movsd	%xmm1, 8(%rsp)
	movsd	%xmm0, 16(%rsp)
.Ltmp5:
	movq	%r14, %rdi
	callq	_ZNSt7complexIdEmLIdEERS0_RKS_IT_E
.Ltmp6:
# %bb.9:                                #   in Loop: Header=BB0_8 Depth=1
	movsd	(%rbp), %xmm0                   # xmm0 = mem[0],zero
	subsd	8(%rsp), %xmm0
	movsd	8(%rbp), %xmm1                  # xmm1 = mem[0],zero
	subsd	16(%rsp), %xmm1
	movsd	%xmm0, (%rbp,%rbx)
	movsd	%xmm1, 8(%rbp,%rbx)
	movsd	(%rbp), %xmm2                   # xmm2 = mem[0],zero
	movsd	8(%rbp), %xmm3                  # xmm3 = mem[0],zero
	subsd	%xmm2, %xmm0
	subsd	%xmm3, %xmm1
	subsd	%xmm0, %xmm2
	subsd	%xmm1, %xmm3
	movsd	%xmm2, (%rbp)
	movsd	%xmm3, 8(%rbp)
	incq	%r12
	addq	$16, %rbp
	cmpq	%r12, %r15
	jne	.LBB0_8
# %bb.10:                               # %._crit_edge92
	movq	24(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB0_12
# %bb.11:
	callq	_ZdlPv
.LBB0_12:
	addq	$88, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB0_13:
	.cfi_def_cfa_offset 144
.Ltmp4:
	jmp	.LBB0_15
.LBB0_14:
.Ltmp7:
.LBB0_15:
	movq	%rax, %rbx
	movq	24(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB0_17
# %bb.16:
	callq	_ZdlPv
.LBB0_17:                               # %_ZNSt6vectorISt7complexIdESaIS1_EED2Ev.exit73
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end0:
	.size	_Z16mod_cooley_tukeyPSt7complexIdEmm, .Lfunc_end0-_Z16mod_cooley_tukeyPSt7complexIdEmm
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table0:
.Lexception0:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end0-.Lcst_begin0
.Lcst_begin0:
	.uleb128 .Lfunc_begin0-.Lfunc_begin0    # >> Call Site 1 <<
	.uleb128 .Ltmp0-.Lfunc_begin0           #   Call between .Lfunc_begin0 and .Ltmp0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp0-.Lfunc_begin0           # >> Call Site 2 <<
	.uleb128 .Ltmp3-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp3
	.uleb128 .Ltmp4-.Lfunc_begin0           #     jumps to .Ltmp4
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp5-.Lfunc_begin0           # >> Call Site 3 <<
	.uleb128 .Ltmp6-.Ltmp5                  #   Call between .Ltmp5 and .Ltmp6
	.uleb128 .Ltmp7-.Lfunc_begin0           #     jumps to .Ltmp7
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp6-.Lfunc_begin0           # >> Call Site 4 <<
	.uleb128 .Lfunc_end0-.Ltmp6             #   Call between .Ltmp6 and .Lfunc_end0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_,"axG",@progbits,_ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_,comdat
	.weak	_ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_ # -- Begin function _ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_
	.p2align	1, 0x90
	.type	_ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_,@function
_ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_: # @_ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %rax
	shrq	$59, %rax
	jne	.LBB1_5
# %bb.1:                                # %_ZNSt6vectorISt7complexIdESaIS1_EE17_S_check_init_lenEmRKS2_.exit
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	testq	%rsi, %rsi
	je	.LBB1_2
# %bb.3:                                # %.lr.ph.preheader.i.i.i.i
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorISt7complexIdEE8allocateEmPKv
	movq	%rax, (%rbx)
	shlq	$4, %r14
	leaq	(%rax,%r14), %r15
	movq	%r15, 16(%rbx)
	movq	%rax, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	memset@PLT
	jmp	.LBB1_4
.LBB1_2:                                # %_ZNSt12_Vector_baseISt7complexIdESaIS1_EEC2EmRKS2_.exit.thread
	movups	%xmm0, (%rbx)
	movq	$0, 16(%rbx)
	xorl	%r15d, %r15d
.LBB1_4:
	movq	%r15, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB1_5:
	.cfi_def_cfa_offset 32
	movl	$.L.str.1, %edi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end1:
	.size	_ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_, .Lfunc_end1-_ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0                          # -- Begin function _Z22iterative_cooley_tukeyRSt6vectorISt7complexIdESaIS1_EEmm
.LCPI2_0:
	.long	1127219200                      # 0x43300000
	.long	1160773632                      # 0x45300000
	.long	0                               # 0x0
	.long	0                               # 0x0
.LCPI2_1:
	.quad	0x4330000000000000              # double 4503599627370496
	.quad	0x4530000000000000              # double 1.9342813113834067E+25
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0
.LCPI2_2:
	.quad	0xc01921fb54442d18              # double -6.2831853071795862
	.text
	.globl	_Z22iterative_cooley_tukeyRSt6vectorISt7complexIdESaIS1_EEmm
	.type	_Z22iterative_cooley_tukeyRSt6vectorISt7complexIdESaIS1_EEmm,@function
_Z22iterative_cooley_tukeyRSt6vectorISt7complexIdESaIS1_EEmm: # @_Z22iterative_cooley_tukeyRSt6vectorISt7complexIdESaIS1_EEmm
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$120, %rsp
	.cfi_def_cfa_offset 176
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm
	movq	%rbx, 16(%rsp)                  # 8-byte Spill
	subq	%r15, %rbx
	movq	%rbx, 40(%rsp)                  # 8-byte Spill
	cmpq	$2, %rbx
	jb	.LBB2_9
# %bb.1:                                # %.preheader52.lr.ph
	movl	$2, %eax
	movdqa	.LCPI2_0(%rip), %xmm1           # xmm1 = [1127219200,1160773632,0,0]
	movapd	.LCPI2_1(%rip), %xmm2           # xmm2 = [4.503599627370496E+15,1.9342813113834067E+25]
	movsd	.LCPI2_2(%rip), %xmm3           # xmm3 = mem[0],zero
.LBB2_2:                                # %.preheader52
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB2_4 Depth 2
                                        #       Child Loop BB2_6 Depth 3
	cmpq	$0, 16(%rsp)                    # 8-byte Folded Reload
	je	.LBB2_8
# %bb.3:                                # %.preheader.lr.ph
                                        #   in Loop: Header=BB2_2 Depth=1
	movq	%rax, %rbp
	shrq	%rbp
	movq	%rax, %xmm0
	punpckldq	%xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
	subpd	%xmm2, %xmm0
	movapd	%xmm0, %xmm4
	unpckhpd	%xmm0, %xmm4                    # xmm4 = xmm4[1],xmm0[1]
	addsd	%xmm0, %xmm4
	cmpq	$1, %rbp
	movq	%rbp, %r12
	adcq	$0, %r12
	movq	%rax, %rcx
	shlq	$4, %rcx
	movq	%rcx, 48(%rsp)                  # 8-byte Spill
	shlq	$4, %rbp
	xorl	%ecx, %ecx
	movq	%rcx, 8(%rsp)                   # 8-byte Spill
	xorl	%edx, %edx
	movq	%rax, 56(%rsp)                  # 8-byte Spill
	movapd	%xmm4, 80(%rsp)                 # 16-byte Spill
.LBB2_4:                                # %.preheader
                                        #   Parent Loop BB2_2 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB2_6 Depth 3
	movq	%rdx, 64(%rsp)                  # 8-byte Spill
	testq	%rax, %rax
	je	.LBB2_7
# %bb.5:                                # %.lr.ph
                                        #   in Loop: Header=BB2_4 Depth=2
	movq	8(%rsp), %rbx                   # 8-byte Reload
	xorl	%r13d, %r13d
.LBB2_6:                                #   Parent Loop BB2_2 Depth=1
                                        #     Parent Loop BB2_4 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movq	%r13, %xmm5
	punpckldq	%xmm1, %xmm5            # xmm5 = xmm5[0],xmm1[0],xmm5[1],xmm1[1]
	subpd	%xmm2, %xmm5
	movapd	%xmm5, %xmm0
	unpckhpd	%xmm5, %xmm0                    # xmm0 = xmm0[1],xmm5[1]
	addsd	%xmm5, %xmm0
	mulsd	%xmm3, %xmm0
	divsd	%xmm4, %xmm0
	movapd	%xmm0, 96(%rsp)                 # 16-byte Spill
	callq	cos
	movsd	%xmm0, 72(%rsp)                 # 8-byte Spill
	movaps	96(%rsp), %xmm0                 # 16-byte Reload
	callq	sin
	movq	(%r14), %r15
	leaq	(%rbx,%rbp), %rsi
	addq	%r15, %rsi
	movsd	72(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	movsd	%xmm1, 24(%rsp)
	movsd	%xmm0, 32(%rsp)
	leaq	24(%rsp), %rdi
	callq	_ZNSt7complexIdEmLIdEERS0_RKS_IT_E
	movapd	80(%rsp), %xmm4                 # 16-byte Reload
	movsd	(%r15,%rbx), %xmm0              # xmm0 = mem[0],zero
	movsd	8(%r15,%rbx), %xmm1             # xmm1 = mem[0],zero
	subsd	24(%rsp), %xmm0
	subsd	32(%rsp), %xmm1
	movq	(%r14), %rax
	addq	%rbp, %rax
	movsd	%xmm0, (%rbx,%rax)
	movsd	%xmm1, 8(%rbx,%rax)
	movq	(%r14), %rax
	leaq	(%rax,%rbx), %rcx
	movsd	(%rbp,%rcx), %xmm0              # xmm0 = mem[0],zero
	movsd	8(%rbp,%rcx), %xmm1             # xmm1 = mem[0],zero
	movsd	(%rax,%rbx), %xmm2              # xmm2 = mem[0],zero
	movsd	8(%rax,%rbx), %xmm3             # xmm3 = mem[0],zero
	subsd	%xmm2, %xmm0
	subsd	%xmm3, %xmm1
	subsd	%xmm0, %xmm2
	subsd	%xmm1, %xmm3
	movdqa	.LCPI2_0(%rip), %xmm1           # xmm1 = [1127219200,1160773632,0,0]
	movsd	%xmm2, (%rax,%rbx)
	movapd	.LCPI2_1(%rip), %xmm2           # xmm2 = [4.503599627370496E+15,1.9342813113834067E+25]
	movsd	%xmm3, 8(%rax,%rbx)
	movsd	.LCPI2_2(%rip), %xmm3           # xmm3 = mem[0],zero
	incq	%r13
	addq	$16, %rbx
	cmpq	%r13, %r12
	jne	.LBB2_6
.LBB2_7:                                # %._crit_edge
                                        #   in Loop: Header=BB2_4 Depth=2
	movq	56(%rsp), %rax                  # 8-byte Reload
	movq	64(%rsp), %rdx                  # 8-byte Reload
	addq	%rax, %rdx
	movq	8(%rsp), %rcx                   # 8-byte Reload
	addq	48(%rsp), %rcx                  # 8-byte Folded Reload
	movq	%rcx, 8(%rsp)                   # 8-byte Spill
	cmpq	16(%rsp), %rdx                  # 8-byte Folded Reload
	jb	.LBB2_4
.LBB2_8:                                # %._crit_edge55
                                        #   in Loop: Header=BB2_2 Depth=1
	addq	%rax, %rax
	cmpq	40(%rsp), %rax                  # 8-byte Folded Reload
	jbe	.LBB2_2
.LBB2_9:                                # %._crit_edge58
	addq	$120, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end2:
	.size	_Z22iterative_cooley_tukeyRSt6vectorISt7complexIdESaIS1_EEmm, .Lfunc_end2-_Z22iterative_cooley_tukeyRSt6vectorISt7complexIdESaIS1_EEmm
	.cfi_endproc
                                        # -- End function
	.section	.text._Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm,"axG",@progbits,_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm,comdat
	.weak	_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm # -- Begin function _Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm
	.type	_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm,@function
_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm: # @_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm
.Lfunc_begin1:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception1
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %r14
	subq	%rsi, %r14
	cmpq	$2, %r14
	jb	.LBB3_9
# %bb.1:                                # %.lr.ph.preheader
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	shrq	%r14
	leaq	16(%rsp), %rdi
	leaq	15(%rsp), %rdx
	movq	%r14, %rsi
	callq	_ZNSt6vectorISt7complexIdESaIS1_EEC2EmRKS2_
	movq	%r12, %rax
	shlq	$4, %rax
	xorl	%ecx, %ecx
	movq	%rax, %rdx
	movq	%r14, %rsi
.LBB3_2:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movq	16(%rsp), %r8
	movups	16(%rdi,%rdx), %xmm0
	movups	%xmm0, (%r8,%rcx)
	movq	(%r15), %rdi
	movups	(%rdi,%rdx), %xmm0
	addq	%rax, %rdi
	movups	%xmm0, (%rcx,%rdi)
	addq	$32, %rdx
	addq	$16, %rcx
	decq	%rsi
	jne	.LBB3_2
# %bb.3:                                # %.lr.ph44.preheader
	movq	%r12, %rcx
	shlq	$4, %rcx
	movq	%r14, %rax
	shlq	$4, %rax
	addq	%rcx, %rax
	xorl	%ecx, %ecx
	movq	%r14, %rdx
.LBB3_4:                                # %.lr.ph44
                                        # =>This Inner Loop Header: Depth=1
	movq	16(%rsp), %rsi
	movq	(%r15), %rdi
	addq	%rax, %rdi
	movups	(%rsi,%rcx), %xmm0
	movups	%xmm0, (%rcx,%rdi)
	addq	$16, %rcx
	decq	%rdx
	jne	.LBB3_4
# %bb.5:                                # %._crit_edge
	addq	%r12, %r14
.Ltmp8:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm
.Ltmp9:
# %bb.6:
.Ltmp10:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm
.Ltmp11:
# %bb.7:
	movq	16(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB3_9
# %bb.8:
	callq	_ZdlPv
.LBB3_9:
	addq	$40, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB3_10:
	.cfi_def_cfa_offset 80
.Ltmp12:
	movq	%rax, %rbx
	movq	16(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB3_12
# %bb.11:
	callq	_ZdlPv
.LBB3_12:                               # %_ZNSt6vectorISt7complexIdESaIS1_EED2Ev.exit41
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end3:
	.size	_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm, .Lfunc_end3-_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm
	.cfi_endproc
	.section	.gcc_except_table._Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm,"aG",@progbits,_Z12bit_reversalISt7complexIdEEvRSt6vectorIT_SaIS3_EEmm,comdat
	.p2align	2, 0x0
GCC_except_table3:
.Lexception1:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end1-.Lcst_begin1
.Lcst_begin1:
	.uleb128 .Lfunc_begin1-.Lfunc_begin1    # >> Call Site 1 <<
	.uleb128 .Ltmp8-.Lfunc_begin1           #   Call between .Lfunc_begin1 and .Ltmp8
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp8-.Lfunc_begin1           # >> Call Site 2 <<
	.uleb128 .Ltmp11-.Ltmp8                 #   Call between .Ltmp8 and .Ltmp11
	.uleb128 .Ltmp12-.Lfunc_begin1          #     jumps to .Ltmp12
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp11-.Lfunc_begin1          # >> Call Site 3 <<
	.uleb128 .Lfunc_end3-.Ltmp11            #   Call between .Ltmp11 and .Lfunc_end3
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.p2align	2, 0x0
                                        # -- End function
	.text
	.globl	_Z33__device_stub__bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m # -- Begin function _Z33__device_stub__bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m
	.type	_Z33__device_stub__bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m,@function
_Z33__device_stub__bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m: # @_Z33__device_stub__bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	24(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end4:
	.size	_Z33__device_stub__bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m, .Lfunc_end4-_Z33__device_stub__bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m
	.cfi_endproc
                                        # -- End function
	.globl	_Z41__device_stub__new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm # -- Begin function _Z41__device_stub__new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm
	.type	_Z41__device_stub__new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm,@function
_Z41__device_stub__new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm: # @_Z41__device_stub__new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$80, %rsp
	.cfi_def_cfa_offset 128
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	24(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	16(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	64(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	leaq	48(%rsp), %r14
	leaq	32(%rsp), %r15
	leaq	8(%rsp), %r12
	movq	%rsp, %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$96, %rsp
	.cfi_adjust_cfa_offset -96
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end5:
	.size	_Z41__device_stub__new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm, .Lfunc_end5-_Z41__device_stub__new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm
	.cfi_endproc
                                        # -- End function
	.globl	_Z8cuda_fftRSt6vectorISt7complexIdESaIS1_EE # -- Begin function _Z8cuda_fftRSt6vectorISt7complexIdESaIS1_EE
	.type	_Z8cuda_fftRSt6vectorISt7complexIdESaIS1_EE,@function
_Z8cuda_fftRSt6vectorISt7complexIdESaIS1_EE: # @_Z8cuda_fftRSt6vectorISt7complexIdESaIS1_EE
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdi, %rbx
	movq	8(%rdi), %rsi
	subq	(%rdi), %rsi
	leaq	8(%rsp), %rdi
	movl	$1, %edx
	callq	hipMallocManaged
	movq	8(%rbx), %rsi
	subq	(%rbx), %rsi
	leaq	16(%rsp), %rdi
	movl	$1, %edx
	callq	hipMallocManaged
	movq	(%rbx), %rsi
	movq	8(%rbx), %rax
	subq	%rsi, %rax
	je	.LBB6_1
# %bb.16:                               # %.lr.ph.preheader
	xorl	%ecx, %ecx
	xorl	%edx, %edx
.LBB6_17:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movsd	(%rsi,%rcx), %xmm0              # xmm0 = mem[0],zero
	movq	8(%rsp), %rax
	movsd	%xmm0, (%rax,%rcx)
	movq	(%rbx), %rax
	movsd	8(%rax,%rcx), %xmm0             # xmm0 = mem[0],zero
	movq	8(%rsp), %rax
	movsd	%xmm0, 8(%rax,%rcx)
	incq	%rdx
	movq	(%rbx), %rsi
	movq	8(%rbx), %rax
	subq	%rsi, %rax
	sarq	$4, %rax
	addq	$16, %rcx
	cmpq	%rdx, %rax
	ja	.LBB6_17
	jmp	.LBB6_2
.LBB6_1:
	sarq	$4, %rax
.LBB6_2:                                # %.preheader55
	xorl	%r14d, %r14d
.LBB6_4:                                # %.lr.ph62
                                        # =>This Inner Loop Header: Depth=1
	cmpq	$1, %rax
	je	.LBB6_5
# %bb.3:                                # %.lr.ph62
                                        #   in Loop: Header=BB6_4 Depth=1
	incq	%r14
	shrq	%rax
	jmp	.LBB6_4
.LBB6_5:                                # %._crit_edge
	movabsq	$4294967296, %r15               # imm = 0x100000000
	leaq	256(%r15), %rdx
	leaq	512(%r15), %rdi
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB6_7
# %bb.6:
	movq	8(%rsp), %rdi
	movq	16(%rsp), %rsi
	movq	%r14, %rdx
	callq	_Z33__device_stub__bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m
.LBB6_7:
	callq	hipDeviceSynchronize
	movq	8(%rsp), %rdi
	callq	hipFree
	movq	(%rbx), %rcx
	movq	8(%rbx), %rax
	subq	%rcx, %rax
	sarq	$4, %rax
	cmpq	$2, %rax
	jb	.LBB6_12
# %bb.8:                                # %.lr.ph67.preheader
	movl	$2, %r14d
	movl	$1024, %r12d                    # imm = 0x400
.LBB6_9:                                # %.lr.ph67
                                        # =>This Inner Loop Header: Depth=1
	cmpq	%r12, %r14
	movl	$1024, %ecx                     # imm = 0x400
	cmovbq	%r14, %rcx
	xorl	%edx, %edx
	divq	%rcx
	movl	%eax, %edi
	orq	%r15, %rdi
	orq	%r15, %rcx
	movl	$1, %esi
	movq	%rcx, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB6_11
# %bb.10:                               #   in Loop: Header=BB6_9 Depth=1
	movq	16(%rsp), %rdi
	movq	%r14, %rsi
	callq	_Z41__device_stub__new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm
.LBB6_11:                               #   in Loop: Header=BB6_9 Depth=1
	callq	hipDeviceSynchronize
	addq	%r14, %r14
	movq	(%rbx), %rcx
	movq	8(%rbx), %rax
	subq	%rcx, %rax
	sarq	$4, %rax
	cmpq	%rax, %r14
	jbe	.LBB6_9
.LBB6_12:                               # %.preheader
	movq	16(%rsp), %rdi
	testq	%rax, %rax
	je	.LBB6_15
# %bb.13:                               # %.lr.ph71.preheader
	movl	$8, %edx
.LBB6_14:                               # %.lr.ph71
                                        # =>This Inner Loop Header: Depth=1
	movsd	-8(%rdi,%rdx), %xmm0            # xmm0 = mem[0],zero
	movsd	%xmm0, -8(%rcx,%rdx)
	movsd	(%rdi,%rdx), %xmm0              # xmm0 = mem[0],zero
	movsd	%xmm0, (%rcx,%rdx)
	addq	$16, %rdx
	decq	%rax
	jne	.LBB6_14
.LBB6_15:                               # %._crit_edge72
	callq	hipFree
	addq	$24, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end6:
	.size	_Z8cuda_fftRSt6vectorISt7complexIdESaIS1_EE, .Lfunc_end6-_Z8cuda_fftRSt6vectorISt7complexIdESaIS1_EE
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0                          # -- Begin function _Z26test_speed_and_correctnessNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
.LCPI7_0:
	.quad	0x41cdcd6500000000              # double 1.0E+9
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0
.LCPI7_1:
	.quad	0x7fffffffffffffff              # double NaN
	.quad	0x7fffffffffffffff              # double NaN
	.text
	.globl	_Z26test_speed_and_correctnessNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.type	_Z26test_speed_and_correctnessNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,@function
_Z26test_speed_and_correctnessNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE: # @_Z26test_speed_and_correctnessNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
.Lfunc_begin2:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception2
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	subq	$584, %rsp                      # imm = 0x248
	.cfi_def_cfa_offset 624
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdi, %rsi
	leaq	64(%rsp), %rbx
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode
	xorpd	%xmm0, %xmm0
	movapd	%xmm0, 16(%rsp)
	movq	$0, 32(%rsp)
	movq	(%rbx), %rax
	movq	-24(%rax), %rax
	testb	$2, 96(%rsp,%rax)
	jne	.LBB7_7
# %bb.1:                                # %.lr.ph.preheader
	leaq	64(%rsp), %rbx
	leaq	40(%rsp), %r14
	movq	%rsp, %r15
	leaq	16(%rsp), %r12
.LBB7_2:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
.Ltmp13:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ZNSi10_M_extractIdEERSiRT_
.Ltmp14:
# %bb.3:                                # %_ZNSirsERd.exit
                                        #   in Loop: Header=BB7_2 Depth=1
.Ltmp15:
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_ZNSi10_M_extractIdEERSiRT_
.Ltmp16:
# %bb.4:                                #   in Loop: Header=BB7_2 Depth=1
	movq	(%rax), %rcx
	movq	-24(%rcx), %rcx
	testb	$5, 32(%rax,%rcx)
	jne	.LBB7_6
# %bb.5:                                #   in Loop: Header=BB7_2 Depth=1
.Ltmp17:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_ZNSt6vectorISt7complexIdESaIS1_EE12emplace_backIJRdS5_EEERS1_DpOT_
.Ltmp18:
.LBB7_6:                                #   in Loop: Header=BB7_2 Depth=1
	movq	64(%rsp), %rax
	movq	-24(%rax), %rax
	testb	$2, 96(%rsp,%rax)
	je	.LBB7_2
.LBB7_7:                                # %._crit_edge
.Ltmp20:
	leaq	40(%rsp), %rdi
	leaq	16(%rsp), %rsi
	callq	_ZNSt6vectorISt7complexIdESaIS1_EEC2ERKS3_
.Ltmp21:
# %bb.8:
	callq	_ZNSt6chrono3_V212system_clock3nowEv
	movq	%rax, %rbx
	leaq	16(%rsp), %rdi
	movq	8(%rdi), %rdx
	subq	(%rdi), %rdx
	sarq	$4, %rdx
.Ltmp23:
	xorl	%esi, %esi
	callq	_Z22iterative_cooley_tukeyRSt6vectorISt7complexIdESaIS1_EEmm
.Ltmp24:
# %bb.9:
	callq	_ZNSt6chrono3_V212system_clock3nowEv
	subq	%rbx, %rax
	movabsq	$4835703278458516699, %r14      # imm = 0x431BDE82D7B634DB
	imulq	%r14
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$18, %rdx
	addq	%rdx, %rsi
.Ltmp26:
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIlEERSoT_
.Ltmp27:
# %bb.10:                               # %_ZNSolsEl.exit
	movb	$32, (%rsp)
	movq	(%rax), %rcx
	movq	-24(%rcx), %rcx
	cmpq	$0, 16(%rax,%rcx)
	je	.LBB7_12
# %bb.11:
.Ltmp28:
	movq	%rsp, %rsi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp29:
	jmp	.LBB7_13
.LBB7_12:
.Ltmp30:
	movq	%rax, %rdi
	movl	$32, %esi
	callq	_ZNSo3putEc
.Ltmp31:
.LBB7_13:
	callq	_ZNSt6chrono3_V212system_clock3nowEv
	movq	%rax, %rbx
.Ltmp33:
	leaq	40(%rsp), %rdi
	callq	_Z8cuda_fftRSt6vectorISt7complexIdESaIS1_EE
.Ltmp34:
# %bb.14:
	callq	_ZNSt6chrono3_V212system_clock3nowEv
	subq	%rbx, %rax
	imulq	%r14
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$18, %rdx
	addq	%rdx, %rsi
.Ltmp36:
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIlEERSoT_
.Ltmp37:
# %bb.15:                               # %_ZNSolsEl.exit38
	movb	$32, (%rsp)
	movq	(%rax), %rcx
	movq	-24(%rcx), %rcx
	cmpq	$0, 16(%rax,%rcx)
	je	.LBB7_17
# %bb.16:
.Ltmp38:
	movq	%rsp, %rsi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp39:
	jmp	.LBB7_18
.LBB7_17:
.Ltmp40:
	movq	%rax, %rdi
	movl	$32, %esi
	callq	_ZNSo3putEc
.Ltmp41:
.LBB7_18:
	movq	16(%rsp), %rax
	movq	24(%rsp), %rcx
	subq	%rax, %rcx
	je	.LBB7_23
# %bb.19:                               # %.lr.ph100
	sarq	$4, %rcx
	movq	40(%rsp), %rdx
	cmpq	$1, %rcx
	adcq	$0, %rcx
	movsd	.LCPI7_0(%rip), %xmm0           # xmm0 = mem[0],zero
	movsd	%xmm0, 8(%rsp)                  # 8-byte Spill
	xorpd	%xmm1, %xmm1
	movl	$8, %esi
	movapd	.LCPI7_1(%rip), %xmm2           # xmm2 = [NaN,NaN]
	xorpd	%xmm3, %xmm3
.LBB7_20:                               # =>This Inner Loop Header: Depth=1
	movsd	-8(%rax,%rsi), %xmm4            # xmm4 = mem[0],zero
	movsd	(%rax,%rsi), %xmm5              # xmm5 = mem[0],zero
	subsd	-8(%rdx,%rsi), %xmm4
	subsd	(%rdx,%rsi), %xmm5
	movapd	%xmm4, %xmm6
	andpd	%xmm2, %xmm6
	movapd	%xmm5, %xmm0
	andpd	%xmm2, %xmm0
	maxsd	%xmm6, %xmm0
	ucomisd	%xmm1, %xmm0
	jne	.LBB7_21
	jnp	.LBB7_22
.LBB7_21:                               #   in Loop: Header=BB7_20 Depth=1
	divsd	%xmm0, %xmm4
	divsd	%xmm0, %xmm5
	mulsd	%xmm4, %xmm4
	mulsd	%xmm5, %xmm5
	addsd	%xmm4, %xmm5
	xorps	%xmm4, %xmm4
	sqrtsd	%xmm5, %xmm4
	mulsd	%xmm4, %xmm0
.LBB7_22:                               # %_ZSt3absIdET_RKSt7complexIS0_E.exit53
                                        #   in Loop: Header=BB7_20 Depth=1
	movsd	8(%rsp), %xmm4                  # 8-byte Reload
                                        # xmm4 = mem[0],zero
	minsd	%xmm0, %xmm4
	movsd	%xmm4, 8(%rsp)                  # 8-byte Spill
	maxsd	%xmm3, %xmm0
	addq	$16, %rsi
	movapd	%xmm0, %xmm3
	decq	%rcx
	jne	.LBB7_20
	jmp	.LBB7_24
.LBB7_23:
	xorpd	%xmm0, %xmm0
	movsd	.LCPI7_0(%rip), %xmm1           # xmm1 = mem[0],zero
	movsd	%xmm1, 8(%rsp)                  # 8-byte Spill
.LBB7_24:                               # %._crit_edge101
.Ltmp43:
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp44:
# %bb.25:                               # %_ZNSolsEd.exit
	movq	%rax, %rbx
	movb	$32, (%rsp)
	movq	(%rax), %rax
	movq	-24(%rax), %rax
	cmpq	$0, 16(%rbx,%rax)
	je	.LBB7_28
# %bb.26:
.Ltmp45:
	movq	%rsp, %rsi
	movl	$1, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp46:
# %bb.27:
	movq	%rax, %rbx
	jmp	.LBB7_29
.LBB7_28:
.Ltmp47:
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_ZNSo3putEc
.Ltmp48:
.LBB7_29:
.Ltmp49:
	movq	%rbx, %rdi
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp50:
# %bb.30:                               # %_ZNSolsEd.exit60
	movb	$10, (%rsp)
	movq	(%rax), %rcx
	movq	-24(%rcx), %rcx
	cmpq	$0, 16(%rax,%rcx)
	je	.LBB7_32
# %bb.31:
.Ltmp51:
	movq	%rsp, %rsi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp52:
	jmp	.LBB7_33
.LBB7_32:
.Ltmp53:
	movq	%rax, %rdi
	movl	$10, %esi
	callq	_ZNSo3putEc
.Ltmp54:
.LBB7_33:                               # %.critedge
	movq	40(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB7_35
# %bb.34:
	callq	_ZdlPv
.LBB7_35:                               # %_ZNSt6vectorISt7complexIdESaIS1_EED2Ev.exit
	movq	16(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB7_37
# %bb.36:
	callq	_ZdlPv
.LBB7_37:                               # %_ZNSt6vectorISt7complexIdESaIS1_EED2Ev.exit67
	leaq	64(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	addq	$584, %rsp                      # imm = 0x248
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB7_38:
	.cfi_def_cfa_offset 624
.Ltmp35:
	jmp	.LBB7_44
.LBB7_39:
.Ltmp25:
	jmp	.LBB7_44
.LBB7_40:
.Ltmp22:
	jmp	.LBB7_47
.LBB7_41:
.Ltmp42:
	jmp	.LBB7_44
.LBB7_42:
.Ltmp32:
	jmp	.LBB7_44
.LBB7_43:
.Ltmp55:
.LBB7_44:
	movq	%rax, %rbx
	movq	40(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB7_48
# %bb.45:
	callq	_ZdlPv
	jmp	.LBB7_48
.LBB7_46:
.Ltmp19:
.LBB7_47:
	movq	%rax, %rbx
.LBB7_48:
	movq	16(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB7_50
# %bb.49:
	callq	_ZdlPv
.LBB7_50:                               # %_ZNSt6vectorISt7complexIdESaIS1_EED2Ev.exit71
	leaq	64(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end7:
	.size	_Z26test_speed_and_correctnessNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE, .Lfunc_end7-_Z26test_speed_and_correctnessNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table7:
.Lexception2:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end2-.Lcst_begin2
.Lcst_begin2:
	.uleb128 .Lfunc_begin2-.Lfunc_begin2    # >> Call Site 1 <<
	.uleb128 .Ltmp13-.Lfunc_begin2          #   Call between .Lfunc_begin2 and .Ltmp13
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp13-.Lfunc_begin2          # >> Call Site 2 <<
	.uleb128 .Ltmp18-.Ltmp13                #   Call between .Ltmp13 and .Ltmp18
	.uleb128 .Ltmp19-.Lfunc_begin2          #     jumps to .Ltmp19
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp20-.Lfunc_begin2          # >> Call Site 3 <<
	.uleb128 .Ltmp21-.Ltmp20                #   Call between .Ltmp20 and .Ltmp21
	.uleb128 .Ltmp22-.Lfunc_begin2          #     jumps to .Ltmp22
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp23-.Lfunc_begin2          # >> Call Site 4 <<
	.uleb128 .Ltmp24-.Ltmp23                #   Call between .Ltmp23 and .Ltmp24
	.uleb128 .Ltmp25-.Lfunc_begin2          #     jumps to .Ltmp25
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp26-.Lfunc_begin2          # >> Call Site 5 <<
	.uleb128 .Ltmp31-.Ltmp26                #   Call between .Ltmp26 and .Ltmp31
	.uleb128 .Ltmp32-.Lfunc_begin2          #     jumps to .Ltmp32
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp33-.Lfunc_begin2          # >> Call Site 6 <<
	.uleb128 .Ltmp34-.Ltmp33                #   Call between .Ltmp33 and .Ltmp34
	.uleb128 .Ltmp35-.Lfunc_begin2          #     jumps to .Ltmp35
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp36-.Lfunc_begin2          # >> Call Site 7 <<
	.uleb128 .Ltmp41-.Ltmp36                #   Call between .Ltmp36 and .Ltmp41
	.uleb128 .Ltmp42-.Lfunc_begin2          #     jumps to .Ltmp42
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp43-.Lfunc_begin2          # >> Call Site 8 <<
	.uleb128 .Ltmp54-.Ltmp43                #   Call between .Ltmp43 and .Ltmp54
	.uleb128 .Ltmp55-.Lfunc_begin2          #     jumps to .Ltmp55
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp54-.Lfunc_begin2          # >> Call Site 9 <<
	.uleb128 .Lfunc_end7-.Ltmp54            #   Call between .Ltmp54 and .Lfunc_end7
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end2:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorISt7complexIdESaIS1_EE12emplace_backIJRdS5_EEERS1_DpOT_,"axG",@progbits,_ZNSt6vectorISt7complexIdESaIS1_EE12emplace_backIJRdS5_EEERS1_DpOT_,comdat
	.weak	_ZNSt6vectorISt7complexIdESaIS1_EE12emplace_backIJRdS5_EEERS1_DpOT_ # -- Begin function _ZNSt6vectorISt7complexIdESaIS1_EE12emplace_backIJRdS5_EEERS1_DpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorISt7complexIdESaIS1_EE12emplace_backIJRdS5_EEERS1_DpOT_,@function
_ZNSt6vectorISt7complexIdESaIS1_EE12emplace_backIJRdS5_EEERS1_DpOT_: # @_ZNSt6vectorISt7complexIdESaIS1_EE12emplace_backIJRdS5_EEERS1_DpOT_
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rdx, %rcx
	movq	%rsi, %rdx
	movq	%rdi, %rbx
	movq	8(%rdi), %rsi
	cmpq	16(%rdi), %rsi
	je	.LBB8_2
# %bb.1:
	movsd	(%rdx), %xmm0                   # xmm0 = mem[0],zero
	movsd	(%rcx), %xmm1                   # xmm1 = mem[0],zero
	movsd	%xmm0, (%rsi)
	movsd	%xmm1, 8(%rsi)
	movq	8(%rbx), %rax
	addq	$16, %rax
	movq	%rax, 8(%rbx)
	jmp	.LBB8_3
.LBB8_2:
	movq	%rbx, %rdi
	callq	_ZNSt6vectorISt7complexIdESaIS1_EE17_M_realloc_insertIJRdS5_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
	movq	8(%rbx), %rax
.LBB8_3:
	addq	$-16, %rax
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end8:
	.size	_ZNSt6vectorISt7complexIdESaIS1_EE12emplace_backIJRdS5_EEERS1_DpOT_, .Lfunc_end8-_ZNSt6vectorISt7complexIdESaIS1_EE12emplace_backIJRdS5_EEERS1_DpOT_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorISt7complexIdESaIS1_EEC2ERKS3_,"axG",@progbits,_ZNSt6vectorISt7complexIdESaIS1_EEC2ERKS3_,comdat
	.weak	_ZNSt6vectorISt7complexIdESaIS1_EEC2ERKS3_ # -- Begin function _ZNSt6vectorISt7complexIdESaIS1_EEC2ERKS3_
	.p2align	1, 0x90
	.type	_ZNSt6vectorISt7complexIdESaIS1_EEC2ERKS3_,@function
_ZNSt6vectorISt7complexIdESaIS1_EEC2ERKS3_: # @_ZNSt6vectorISt7complexIdESaIS1_EEC2ERKS3_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %rax
	movq	(%rsi), %rcx
	movq	%rax, %r15
	subq	%rcx, %r15
	sarq	$4, %r15
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	cmpq	%rcx, %rax
	je	.LBB9_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorISt7complexIdEE8allocateEmPKv
	jmp	.LBB9_3
.LBB9_1:
	xorl	%eax, %eax
.LBB9_3:
	movq	%rax, (%rbx)
	movq	%rax, 8(%rbx)
	shlq	$4, %r15
	addq	%rax, %r15
	movq	%r15, 16(%rbx)
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
.LBB9_5:                                # %.lr.ph.i.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	cmpq	%rdx, %rcx
	je	.LBB9_6
# %bb.4:                                # %.lr.ph.i.i.i.i
                                        #   in Loop: Header=BB9_5 Depth=1
	movups	(%rcx), %xmm0
	movups	%xmm0, (%rax)
	addq	$16, %rcx
	addq	$16, %rax
	jmp	.LBB9_5
.LBB9_6:                                # %_ZSt22__uninitialized_copy_aIN9__gnu_cxx17__normal_iteratorIPKSt7complexIdESt6vectorIS3_SaIS3_EEEEPS3_S3_ET0_T_SC_SB_RSaIT1_E.exit
	movq	%rax, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end9:
	.size	_ZNSt6vectorISt7complexIdESaIS1_EEC2ERKS3_, .Lfunc_end9-_ZNSt6vectorISt7complexIdESaIS1_EEC2ERKS3_
	.cfi_endproc
                                        # -- End function
	.text
	.globl	main                            # -- Begin function main
	.type	main,@function
main:                                   # @main
.Lfunc_begin3:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception3
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	subq	$48, %rsp
	.cfi_def_cfa_offset 64
	.cfi_offset %rbx, -16
	movq	8(%rsi), %rsi
	leaq	16(%rsp), %rbx
	leaq	15(%rsp), %rdx
	movq	%rbx, %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
.Ltmp56:
	movq	%rbx, %rdi
	callq	_Z26test_speed_and_correctnessNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
.Ltmp57:
# %bb.1:
	leaq	32(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB10_3
# %bb.2:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
	callq	_ZdlPv
.LBB10_3:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
	xorl	%eax, %eax
	addq	$48, %rsp
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB10_4:
	.cfi_def_cfa_offset 64
.Ltmp58:
	movq	%rax, %rbx
	leaq	32(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB10_6
# %bb.5:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i4
	callq	_ZdlPv
.LBB10_6:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit6
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end10:
	.size	main, .Lfunc_end10-main
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table10:
.Lexception3:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end3-.Lcst_begin3
.Lcst_begin3:
	.uleb128 .Lfunc_begin3-.Lfunc_begin3    # >> Call Site 1 <<
	.uleb128 .Ltmp56-.Lfunc_begin3          #   Call between .Lfunc_begin3 and .Ltmp56
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp56-.Lfunc_begin3          # >> Call Site 2 <<
	.uleb128 .Ltmp57-.Ltmp56                #   Call between .Ltmp56 and .Ltmp57
	.uleb128 .Ltmp58-.Lfunc_begin3          #     jumps to .Ltmp58
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp57-.Lfunc_begin3          # >> Call Site 3 <<
	.uleb128 .Lfunc_end10-.Ltmp57           #   Call between .Ltmp57 and .Lfunc_end10
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end3:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_,"axG",@progbits,_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_,comdat
	.weak	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_ # -- Begin function _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
	.p2align	1, 0x90
	.type	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_,@function
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_: # @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	leaq	16(%rdi), %rax
	movq	%rax, (%rdi)
	testq	%rsi, %rsi
	je	.LBB11_1
# %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	strlen
	leaq	(%rax,%rbx), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	jmp	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag # TAILCALL
.LBB11_1:
	.cfi_def_cfa_offset 32
	movl	$.L.str, %edi
	callq	_ZSt19__throw_logic_errorPKc
.Lfunc_end11:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_, .Lfunc_end11-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag,"axG",@progbits,_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag,comdat
	.weak	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag # -- Begin function _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.p2align	1, 0x90
	.type	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag,@function
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag: # @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	subq	%rsi, %r14
	movq	%r14, (%rsp)
	cmpq	$15, %r14
	jbe	.LBB12_1
# %bb.2:
	movq	%rsp, %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm
	movq	%rax, (%rbx)
	movq	(%r12), %rcx
	movq	%rcx, 16(%rbx)
	jmp	.LBB12_3
.LBB12_1:                               # %._crit_edge
	movq	(%rbx), %rax
.LBB12_3:
	testq	%r14, %r14
	je	.LBB12_7
# %bb.4:
	cmpq	$1, %r14
	jne	.LBB12_6
# %bb.5:
	movb	(%r15), %cl
	movb	%cl, (%rax)
	jmp	.LBB12_7
.LBB12_6:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	memcpy@PLT
.LBB12_7:                               # %_ZZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tagEN6_GuardD2Ev.exit
	movq	(%rsp), %rax
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rcx
	movb	$0, (%rcx,%rax)
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end12:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag, .Lfunc_end12-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorISt7complexIdEE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorISt7complexIdEE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorISt7complexIdEE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorISt7complexIdEE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorISt7complexIdEE8allocateEmPKv,@function
_ZNSt15__new_allocatorISt7complexIdEE8allocateEmPKv: # @_ZNSt15__new_allocatorISt7complexIdEE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$59, %rax
	jne	.LBB13_1
# %bb.3:
	shlq	$4, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB13_1:
	.cfi_def_cfa_offset 16
	shrq	$60, %rsi
	je	.LBB13_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB13_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end13:
	.size	_ZNSt15__new_allocatorISt7complexIdEE8allocateEmPKv, .Lfunc_end13-_ZNSt15__new_allocatorISt7complexIdEE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt7complexIdEmLIdEERS0_RKS_IT_E,"axG",@progbits,_ZNSt7complexIdEmLIdEERS0_RKS_IT_E,comdat
	.weak	_ZNSt7complexIdEmLIdEERS0_RKS_IT_E # -- Begin function _ZNSt7complexIdEmLIdEERS0_RKS_IT_E
	.p2align	1, 0x90
	.type	_ZNSt7complexIdEmLIdEERS0_RKS_IT_E,@function
_ZNSt7complexIdEmLIdEERS0_RKS_IT_E:     # @_ZNSt7complexIdEmLIdEERS0_RKS_IT_E
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rdi, %rbx
	movsd	(%rsi), %xmm2                   # xmm2 = mem[0],zero
	movsd	8(%rsi), %xmm3                  # xmm3 = mem[0],zero
	movsd	(%rdi), %xmm4                   # xmm4 = mem[0],zero
	movsd	8(%rdi), %xmm5                  # xmm5 = mem[0],zero
	movapd	%xmm2, %xmm0
	mulsd	%xmm4, %xmm0
	movapd	%xmm3, %xmm1
	mulsd	%xmm5, %xmm1
	subsd	%xmm1, %xmm0
	movapd	%xmm3, %xmm6
	mulsd	%xmm4, %xmm6
	movapd	%xmm2, %xmm1
	mulsd	%xmm5, %xmm1
	addsd	%xmm6, %xmm1
	ucomisd	%xmm0, %xmm0
	jp	.LBB14_1
.LBB14_3:
	movsd	%xmm0, (%rbx)
	movsd	%xmm1, 8(%rbx)
	movq	%rbx, %rax
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB14_1:
	.cfi_def_cfa_offset 16
	ucomisd	%xmm1, %xmm1
	jnp	.LBB14_3
# %bb.2:
	movapd	%xmm4, %xmm0
	movapd	%xmm5, %xmm1
	callq	__muldc3
	jmp	.LBB14_3
.Lfunc_end14:
	.size	_ZNSt7complexIdEmLIdEERS0_RKS_IT_E, .Lfunc_end14-_ZNSt7complexIdEmLIdEERS0_RKS_IT_E
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorISt7complexIdESaIS1_EE17_M_realloc_insertIJRdS5_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,"axG",@progbits,_ZNSt6vectorISt7complexIdESaIS1_EE17_M_realloc_insertIJRdS5_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,comdat
	.weak	_ZNSt6vectorISt7complexIdESaIS1_EE17_M_realloc_insertIJRdS5_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_ # -- Begin function _ZNSt6vectorISt7complexIdESaIS1_EE17_M_realloc_insertIJRdS5_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorISt7complexIdESaIS1_EE17_M_realloc_insertIJRdS5_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,@function
_ZNSt6vectorISt7complexIdESaIS1_EE17_M_realloc_insertIJRdS5_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_: # @_ZNSt6vectorISt7complexIdESaIS1_EE17_M_realloc_insertIJRdS5_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rcx, 16(%rsp)                  # 8-byte Spill
	movq	%rdx, 8(%rsp)                   # 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	$1, %esi
	movl	$.L.str.2, %edx
	callq	_ZNKSt6vectorISt7complexIdESaIS1_EE12_M_check_lenEmPKc
	movq	%rax, %r14
	movq	(%rbx), %rdi
	movq	8(%rbx), %rbp
	movq	%r15, %r13
	subq	%rdi, %r13
	sarq	$4, %r13
	testq	%rax, %rax
	je	.LBB15_1
# %bb.2:
	movq	%rdi, %r12
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorISt7complexIdEE8allocateEmPKv
	movq	%r12, %rdi
	movq	%rax, %r12
	jmp	.LBB15_3
.LBB15_1:
	xorl	%r12d, %r12d
.LBB15_3:
	shlq	$4, %r13
	movq	8(%rsp), %rax                   # 8-byte Reload
	movsd	(%rax), %xmm0                   # xmm0 = mem[0],zero
	movq	16(%rsp), %rax                  # 8-byte Reload
	movsd	(%rax), %xmm1                   # xmm1 = mem[0],zero
	movsd	%xmm0, (%r12,%r13)
	movsd	%xmm1, 8(%r12,%r13)
	movq	%r12, %r13
	cmpq	%r15, %rdi
	je	.LBB15_6
# %bb.4:                                # %.lr.ph.i.i.i.preheader
	movq	%r12, %r13
	movq	%rdi, %rax
.LBB15_5:                               # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movups	(%rax), %xmm0
	movups	%xmm0, (%r13)
	addq	$16, %rax
	addq	$16, %r13
	cmpq	%r15, %rax
	jne	.LBB15_5
.LBB15_6:                               # %_ZNSt6vectorISt7complexIdESaIS1_EE11_S_relocateEPS1_S4_S4_RS2_.exit
	addq	$16, %r13
	cmpq	%r15, %rbp
	je	.LBB15_8
.LBB15_7:                               # %.lr.ph.i.i.i28
                                        # =>This Inner Loop Header: Depth=1
	movups	(%r15), %xmm0
	movups	%xmm0, (%r13)
	addq	$16, %r15
	addq	$16, %r13
	cmpq	%rbp, %r15
	jne	.LBB15_7
.LBB15_8:                               # %_ZNSt6vectorISt7complexIdESaIS1_EE11_S_relocateEPS1_S4_S4_RS2_.exit33
	testq	%rdi, %rdi
	je	.LBB15_10
# %bb.9:
	callq	_ZdlPv
.LBB15_10:                              # %_ZNSt12_Vector_baseISt7complexIdESaIS1_EE13_M_deallocateEPS1_m.exit
	movq	%r12, (%rbx)
	movq	%r13, 8(%rbx)
	shlq	$4, %r14
	addq	%r12, %r14
	movq	%r14, 16(%rbx)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end15:
	.size	_ZNSt6vectorISt7complexIdESaIS1_EE17_M_realloc_insertIJRdS5_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_, .Lfunc_end15-_ZNSt6vectorISt7complexIdESaIS1_EE17_M_realloc_insertIJRdS5_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNKSt6vectorISt7complexIdESaIS1_EE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorISt7complexIdESaIS1_EE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorISt7complexIdESaIS1_EE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorISt7complexIdESaIS1_EE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorISt7complexIdESaIS1_EE12_M_check_lenEmPKc,@function
_ZNKSt6vectorISt7complexIdESaIS1_EE12_M_check_lenEmPKc: # @_ZNKSt6vectorISt7complexIdESaIS1_EE12_M_check_lenEmPKc
	.cfi_startproc
# %bb.0:
	movabsq	$576460752303423487, %rcx       # imm = 0x7FFFFFFFFFFFFFF
	movq	8(%rdi), %r8
	subq	(%rdi), %r8
	sarq	$4, %r8
	movq	%rcx, %rax
	subq	%r8, %rax
	cmpq	%rsi, %rax
	jb	.LBB16_2
# %bb.1:
	cmpq	%rsi, %r8
	cmovaq	%r8, %rsi
	leaq	(%rsi,%r8), %rax
	cmpq	%rcx, %rax
	cmovaeq	%rcx, %rax
	addq	%r8, %rsi
	cmovbq	%rcx, %rax
	retq
.LBB16_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end16:
	.size	_ZNKSt6vectorISt7complexIdESaIS1_EE12_M_check_lenEmPKc, .Lfunc_end16-_ZNKSt6vectorISt7complexIdESaIS1_EE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.text
	.p2align	4, 0x90                         # -- Begin function __hip_module_ctor
	.type	__hip_module_ctor,@function
__hip_module_ctor:                      # @__hip_module_ctor
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -16
	movq	__hip_gpubin_handle(%rip), %rbx
	testq	%rbx, %rbx
	jne	.LBB17_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rbx
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB17_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m, %esi
	movl	$.L__unnamed_1, %edx
	movl	$.L__unnamed_1, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm, %esi
	movl	$.L__unnamed_2, %edx
	movl	$.L__unnamed_2, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	movl	$__hip_module_dtor, %edi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	atexit                          # TAILCALL
.Lfunc_end17:
	.size	__hip_module_ctor, .Lfunc_end17-__hip_module_ctor
	.cfi_endproc
                                        # -- End function
	.p2align	4, 0x90                         # -- Begin function __hip_module_dtor
	.type	__hip_module_dtor,@function
__hip_module_dtor:                      # @__hip_module_dtor
	.cfi_startproc
# %bb.0:
	movq	__hip_gpubin_handle(%rip), %rdi
	testq	%rdi, %rdi
	je	.LBB18_2
# %bb.1:
	pushq	%rax
	.cfi_def_cfa_offset 16
	callq	__hipUnregisterFatBinary
	movq	$0, __hip_gpubin_handle(%rip)
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
.LBB18_2:
	retq
.Lfunc_end18:
	.size	__hip_module_dtor, .Lfunc_end18-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	_Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m,@object # @_Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m
	.section	.rodata,"a",@progbits
	.globl	_Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m
	.p2align	3, 0x0
_Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m:
	.quad	_Z33__device_stub__bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m
	.size	_Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m, 8

	.type	_Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm,@object # @_Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm
	.globl	_Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm
	.p2align	3, 0x0
_Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm:
	.quad	_Z41__device_stub__new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm
	.size	_Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm, 8

	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"basic_string: construction from null is not valid"
	.size	.L.str, 50

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	"cannot create std::vector larger than max_size()"
	.size	.L.str.1, 49

	.type	.L.str.2,@object                # @.str.2
.L.str.2:
	.asciz	"vector::_M_realloc_insert"
	.size	.L.str.2, 26

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m"
	.size	.L__unnamed_1, 52

	.type	.L__unnamed_2,@object           # @1
.L__unnamed_2:
	.asciz	"_Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm"
	.size	.L__unnamed_2, 57

	.type	__hip_fatbin_wrapper,@object    # @__hip_fatbin_wrapper
	.section	.hipFatBinSegment,"a",@progbits
	.p2align	3, 0x0
__hip_fatbin_wrapper:
	.long	1212764230                      # 0x48495046
	.long	1                               # 0x1
	.quad	__hip_fatbin
	.quad	0
	.size	__hip_fatbin_wrapper, 24

	.type	__hip_gpubin_handle,@object     # @__hip_gpubin_handle
	.local	__hip_gpubin_handle
	.comm	__hip_gpubin_handle,8,8
	.section	.init_array,"aw",@init_array
	.p2align	3, 0x0
	.quad	__hip_module_ctor
	.type	__hip_cuid_,@object             # @__hip_cuid_
	.bss
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               # 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __gxx_personality_v0
	.addrsig_sym _Z33__device_stub__bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m
	.addrsig_sym _Z41__device_stub__new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Unwind_Resume
	.addrsig_sym _Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m
	.addrsig_sym _Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm
	.addrsig_sym _ZSt4cout
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m ; -- Begin function _Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m
	.globl	_Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m
	.p2align	8
	.type	_Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m,@function
_Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m: ; @_Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	s_load_b128 s[4:7], s[0:1], 0x8
	s_add_u32 s8, s0, 24
	s_addc_u32 s9, s1, 0
	s_mov_b32 s10, exec_lo
	s_waitcnt lgkmcnt(0)
	s_and_b32 s11, s2, 0xffff
	s_lshl_b32 s2, 1, s6
	v_mad_u64_u32 v[1:2], null, s15, s11, v[0:1]
	v_mov_b32_e32 v2, 0
	s_ashr_i32 s3, s2, 31
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_cmpx_gt_u64_e64 s[2:3], v[1:2]
	s_cbranch_execz .LBB0_8
; %bb.1:                                ; %.lr.ph
	s_load_b32 s12, s[8:9], 0x0
	s_load_b64 s[8:9], s[0:1], 0x0
	s_cmp_lg_u64 s[6:7], 0
	s_cselect_b32 s10, -1, 0
	s_waitcnt lgkmcnt(0)
	s_mul_i32 s11, s12, s11
	s_mov_b32 s12, 0
.LBB0_2:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	v_mov_b32_e32 v3, 0
	v_mov_b32_e32 v4, 0
	s_and_not1_b32 vcc_lo, exec_lo, s10
	s_cbranch_vccnz .LBB0_7
; %bb.3:                                ; %.lr.ph.i.preheader
                                        ;   in Loop: Header=BB0_2 Depth=1
	s_mov_b32 s13, 0
	s_mov_b64 s[0:1], s[6:7]
.LBB0_4:                                ; %.lr.ph.i
                                        ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_lshl_b32 s14, 1, s13
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	s_ashr_i32 s15, s14, 31
	v_and_b32_e32 v5, s14, v1
	v_and_b32_e32 v6, s15, v2
	s_mov_b32 s14, exec_lo
	v_cmpx_ne_u64_e32 0, v[5:6]
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	s_add_i32 s15, s0, -1
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b32 s15, 1, s15
	s_ashr_i32 s16, s15, 31
	v_or_b32_e32 v3, s15, v3
	v_or_b32_e32 v4, s16, v4
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	s_or_b32 exec_lo, exec_lo, s14
	s_add_u32 s0, s0, -1
	s_addc_u32 s1, s1, -1
	s_add_i32 s13, s13, 1
	s_cmp_lg_u64 s[0:1], 0
	s_cbranch_scc1 .LBB0_4
.LBB0_7:                                ; %_ZL7rev_nummm.exit
                                        ;   in Loop: Header=BB0_2 Depth=1
	v_lshlrev_b64 v[5:6], 4, v[1:2]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[3:4], 4, v[3:4]
	v_add_co_u32 v5, vcc_lo, s8, v5
	s_delay_alu instid0(VALU_DEP_3)
	v_add_co_ci_u32_e32 v6, vcc_lo, s9, v6, vcc_lo
	v_add_co_u32 v1, vcc_lo, v1, s11
	v_add_co_ci_u32_e32 v2, vcc_lo, 0, v2, vcc_lo
	global_load_b128 v[5:8], v[5:6], off
	v_add_co_u32 v3, s0, s4, v3
	v_cmp_le_u64_e32 vcc_lo, s[2:3], v[1:2]
	v_add_co_ci_u32_e64 v4, s0, s5, v4, s0
	s_or_b32 s12, vcc_lo, s12
	s_waitcnt vmcnt(0)
	global_store_b128 v[3:4], v[5:8], off
	s_and_not1_b32 exec_lo, exec_lo, s12
	s_cbranch_execnz .LBB0_2
.LBB0_8:                                ; %Flow21
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 9
		.amdhsa_next_free_sgpr 17
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end0:
	.size	_Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m, .Lfunc_end0-_Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 328
; NumSgprs: 19
; NumVgprs: 9
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 19
; NumVGPRsForWavesPerEU: 9
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm ; -- Begin function _Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm
	.globl	_Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm
	.p2align	8
	.type	_Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm,@function
_Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm: ; @_Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm
; %bb.0:
	s_clause 0x1
	s_load_b128 s[4:7], s[0:1], 0x0
	s_load_b32 s0, s[0:1], 0x1c
	s_waitcnt lgkmcnt(0)
	v_cvt_f32_u32_e32 v1, s6
	v_cvt_f32_u32_e32 v2, s7
	s_and_b32 s0, s0, 0xffff
	s_sub_u32 s1, 0, s6
	s_subb_u32 s2, 0, s7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmamk_f32 v1, v2, 0x4f800000, v1
	v_rcp_f32_e32 v1, v1
	s_waitcnt_depctr 0xfff
	v_mul_f32_e32 v1, 0x5f7ffffc, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v2, 0x2f800000, v1
	v_trunc_f32_e32 v2, v2
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fmamk_f32 v1, v2, 0xcf800000, v1
	v_cvt_u32_f32_e32 v2, v2
	v_cvt_u32_f32_e32 v1, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_lo_u32 v3, s1, v2
	v_mul_hi_u32 v4, s1, v1
	v_mul_lo_u32 v5, s2, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v3, v4, v3
	v_mul_lo_u32 v4, s1, v1
	v_add_nc_u32_e32 v3, v3, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_hi_u32 v5, v1, v4
	v_mul_lo_u32 v6, v1, v3
	v_mul_hi_u32 v7, v1, v3
	v_mul_hi_u32 v8, v2, v4
	v_mul_lo_u32 v4, v2, v4
	v_mul_hi_u32 v9, v2, v3
	v_mul_lo_u32 v3, v2, v3
	v_add_co_u32 v5, vcc_lo, v5, v6
	v_add_co_ci_u32_e32 v6, vcc_lo, 0, v7, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v4, vcc_lo, v5, v4
	v_add_co_ci_u32_e32 v4, vcc_lo, v6, v8, vcc_lo
	v_add_co_ci_u32_e32 v5, vcc_lo, 0, v9, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v3, vcc_lo, v4, v3
	v_add_co_ci_u32_e32 v4, vcc_lo, 0, v5, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v3, vcc_lo, v1, v3
	v_add_co_ci_u32_e32 v4, vcc_lo, v2, v4, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_mul_hi_u32 v1, s1, v3
	v_mul_lo_u32 v5, s2, v3
	v_mul_lo_u32 v2, s1, v4
	s_lshr_b64 s[2:3], s[6:7], 1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v1, v1, v2
	v_mul_lo_u32 v2, s1, v3
	v_add_nc_u32_e32 v1, v1, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_hi_u32 v5, v3, v2
	v_mul_lo_u32 v6, v3, v1
	v_mul_hi_u32 v7, v3, v1
	v_mul_hi_u32 v8, v4, v2
	v_mul_lo_u32 v2, v4, v2
	v_mul_hi_u32 v9, v4, v1
	v_add_co_u32 v5, vcc_lo, v5, v6
	v_add_co_ci_u32_e32 v6, vcc_lo, 0, v7, vcc_lo
	v_mul_lo_u32 v7, v4, v1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v1, vcc_lo, v5, v2
	v_add_co_ci_u32_e32 v5, vcc_lo, v6, v8, vcc_lo
	v_add_co_ci_u32_e32 v6, vcc_lo, 0, v9, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_mad_u64_u32 v[1:2], null, s15, s0, v[0:1]
	v_add_co_u32 v0, vcc_lo, v5, v7
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_ci_u32_e32 v2, vcc_lo, 0, v6, vcc_lo
	v_add_co_u32 v0, vcc_lo, v3, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_ci_u32_e32 v4, vcc_lo, v4, v2, vcc_lo
	v_mul_hi_u32 v0, v1, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[2:3], null, v1, v4, 0
	v_add_co_u32 v0, vcc_lo, v0, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e32 v5, vcc_lo, 0, v3, vcc_lo
	v_mad_u64_u32 v[2:3], null, s6, v5, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v0, v3
	v_sub_co_u32 v2, vcc_lo, v1, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[3:4], null, s7, v5, v[0:1]
	v_sub_nc_u32_e32 v0, 0, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_subrev_co_ci_u32_e64 v0, s0, s7, v0, vcc_lo
	v_sub_co_ci_u32_e32 v3, vcc_lo, 0, v3, vcc_lo
	v_sub_co_u32 v4, vcc_lo, v2, s6
	v_subrev_co_ci_u32_e64 v5, s0, 0, v0, vcc_lo
	v_cmp_le_u32_e64 s0, s6, v2
	v_subrev_co_ci_u32_e32 v0, vcc_lo, s7, v0, vcc_lo
	v_cmp_le_u32_e32 vcc_lo, s7, v3
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v6, 0, -1, s0
	v_cmp_le_u32_e64 s0, s6, v4
	v_cndmask_b32_e64 v9, 0, -1, vcc_lo
	v_cmp_eq_u32_e32 vcc_lo, s7, v5
	v_cndmask_b32_e64 v7, 0, -1, s0
	v_cmp_le_u32_e64 s0, s7, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v8, 0, -1, s0
	v_cmp_eq_u32_e64 s0, s7, v3
	v_cndmask_b32_e32 v7, v8, v7, vcc_lo
	v_sub_co_u32 v8, vcc_lo, v4, s6
	v_subrev_co_ci_u32_e32 v0, vcc_lo, 0, v0, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_cmp_ne_u32_e32 vcc_lo, 0, v7
	v_cndmask_b32_e64 v6, v9, v6, s0
	s_mov_b32 s0, exec_lo
	v_cndmask_b32_e32 v0, v5, v0, vcc_lo
	v_cndmask_b32_e32 v5, v4, v8, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_ne_u32_e32 vcc_lo, 0, v6
	v_dual_cndmask_b32 v4, v3, v0 :: v_dual_cndmask_b32 v3, v2, v5
	v_mov_b32_e32 v2, 0
	s_delay_alu instid0(VALU_DEP_2)
	v_cmpx_gt_u64_e64 s[2:3], v[3:4]
	s_cbranch_execz .LBB1_10
; %bb.1:
	v_cvt_f64_u32_e32 v[4:5], v4
	v_cvt_f64_u32_e32 v[6:7], v3
	v_cvt_f64_u32_e32 v[8:9], s7
	v_cvt_f64_u32_e32 v[10:11], s6
	s_mov_b32 s7, 0xc01921fb
	s_mov_b32 s6, 0x54442d18
                                        ; implicit-def: $vgpr0
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ldexp_f64 v[3:4], v[4:5], 32
	v_ldexp_f64 v[8:9], v[8:9], 32
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[3:4], v[3:4], v[6:7]
	v_add_f64 v[5:6], v[8:9], v[10:11]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f64 v[3:4], v[3:4], s[6:7]
	v_div_scale_f64 v[7:8], null, v[5:6], v[5:6], v[3:4]
	v_div_scale_f64 v[13:14], vcc_lo, v[3:4], v[5:6], v[3:4]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f64_e32 v[9:10], v[7:8]
	s_waitcnt_depctr 0xfff
	v_fma_f64 v[11:12], -v[7:8], v[9:10], 1.0
	v_fma_f64 v[9:10], v[9:10], v[11:12], v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[11:12], -v[7:8], v[9:10], 1.0
	v_fma_f64 v[9:10], v[9:10], v[11:12], v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f64 v[11:12], v[13:14], v[9:10]
	v_fma_f64 v[7:8], -v[7:8], v[11:12], v[13:14]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_div_fmas_f64 v[7:8], v[7:8], v[9:10], v[11:12]
	v_div_fixup_f64 v[3:4], v[7:8], v[5:6], v[3:4]
                                        ; implicit-def: $vgpr5_vgpr6
                                        ; implicit-def: $vgpr7_vgpr8
	s_delay_alu instid0(VALU_DEP_1)
	v_cmp_ngt_f64_e64 s1, 0x41d00000, |v[3:4]|
	v_trig_preop_f64 v[17:18], |v[3:4]|, 0
	v_trig_preop_f64 v[13:14], |v[3:4]|, 1
	v_ldexp_f64 v[19:20], |v[3:4]|, 0xffffff80
	v_trig_preop_f64 v[9:10], |v[3:4]|, 2
	v_and_b32_e32 v22, 0x7fffffff, v4
	s_and_saveexec_b32 s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s8, exec_lo, s0
	s_cbranch_execz .LBB1_3
; %bb.2:
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[3:4]|
	v_mov_b32_e32 v35, 0
	s_mov_b32 s7, 0x3ff921fb
	s_mov_b32 s10, 0x33145c07
	s_mov_b32 s11, 0x3c91a626
	v_dual_cndmask_b32 v6, v22, v20 :: v_dual_cndmask_b32 v5, v3, v19
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_mul_f64 v[7:8], v[17:18], v[5:6]
	v_mul_f64 v[11:12], v[13:14], v[5:6]
	v_mul_f64 v[31:32], v[9:10], v[5:6]
	v_fma_f64 v[15:16], v[17:18], v[5:6], -v[7:8]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[33:34], v[13:14], v[5:6], -v[11:12]
	v_fma_f64 v[5:6], v[9:10], v[5:6], -v[31:32]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[23:24], v[11:12], v[15:16]
	v_add_f64 v[25:26], v[23:24], -v[11:12]
	v_add_f64 v[29:30], v[7:8], v[23:24]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[27:28], v[23:24], -v[25:26]
	v_add_f64 v[15:16], v[15:16], -v[25:26]
	v_ldexp_f64 v[25:26], v[29:30], -2
	v_add_f64 v[7:8], v[29:30], -v[7:8]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[11:12], v[11:12], -v[27:28]
	v_add_f64 v[27:28], v[31:32], v[33:34]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[25:26]|
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[7:8], v[23:24], -v[7:8]
	v_add_f64 v[11:12], v[15:16], v[11:12]
	v_fract_f64_e32 v[15:16], v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[23:24], v[27:28], v[11:12]
	v_dual_cndmask_b32 v16, 0, v16 :: v_dual_cndmask_b32 v15, 0, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ldexp_f64 v[15:16], v[15:16], 2
	v_add_f64 v[25:26], v[7:8], v[23:24]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[29:30], v[25:26], v[15:16]
	v_add_f64 v[7:8], v[25:26], -v[7:8]
	v_cmp_gt_f64_e32 vcc_lo, 0, v[29:30]
	v_add_f64 v[29:30], v[27:28], -v[31:32]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[7:8], v[23:24], -v[7:8]
	v_cndmask_b32_e64 v36, 0, 0x40100000, vcc_lo
	v_add_f64 v[40:41], v[27:28], -v[29:30]
	v_add_f64 v[29:30], v[33:34], -v[29:30]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[15:16], v[15:16], v[35:36]
	v_add_f64 v[36:37], v[23:24], -v[27:28]
	v_add_f64 v[33:34], v[31:32], -v[40:41]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[38:39], v[25:26], v[15:16]
	v_add_f64 v[42:43], v[23:24], -v[36:37]
	v_add_f64 v[11:12], v[11:12], -v[36:37]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[29:30], v[29:30], v[33:34]
	v_cvt_i32_f64_e32 v0, v[38:39]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[27:28], v[27:28], -v[42:43]
	v_cvt_f64_i32_e32 v[36:37], v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[11:12], v[11:12], v[27:28]
	v_add_f64 v[15:16], v[15:16], -v[36:37]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[11:12], v[29:30], v[11:12]
	v_add_f64 v[27:28], v[25:26], v[15:16]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[5:6], v[5:6], v[11:12]
	v_add_f64 v[11:12], v[27:28], -v[15:16]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[27:28]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[5:6], v[7:8], v[5:6]
	v_add_f64 v[7:8], v[25:26], -v[11:12]
	v_cndmask_b32_e64 v36, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v0, s0, 0, v0, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[5:6], v[5:6], v[7:8]
	v_add_f64 v[7:8], v[27:28], -v[35:36]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[11:12], v[7:8], v[5:6]
	v_mul_f64 v[15:16], v[11:12], s[6:7]
	v_add_f64 v[7:8], v[11:12], -v[7:8]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[23:24], v[11:12], s[6:7], -v[15:16]
	v_add_f64 v[5:6], v[5:6], -v[7:8]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[7:8], v[11:12], s[10:11], v[23:24]
	v_fma_f64 v[7:8], v[5:6], s[6:7], v[7:8]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[5:6], v[15:16], v[7:8]
	v_add_f64 v[11:12], v[5:6], -v[15:16]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[7:8], v[7:8], -v[11:12]
.LBB1_3:                                ; %Flow89
	s_and_not1_saveexec_b32 s0, s8
	s_cbranch_execz .LBB1_5
; %bb.4:
	s_mov_b32 s6, 0x6dc9c883
	s_mov_b32 s7, 0x3fe45f30
	s_mov_b32 s9, 0xbc91a626
	v_mul_f64 v[5:6], |v[3:4]|, s[6:7]
	s_mov_b32 s6, 0x54442d18
	s_mov_b32 s7, 0xbff921fb
	s_mov_b32 s8, 0x33145c00
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[11:12], v[5:6]
	v_fma_f64 v[5:6], v[11:12], s[6:7], |v[3:4]|
	v_mul_f64 v[7:8], v[11:12], s[8:9]
	s_mov_b32 s6, 0x252049c0
	s_mov_b32 s7, 0xb97b839a
	v_cvt_i32_f64_e32 v0, v[11:12]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[23:24], v[11:12], s[8:9], v[5:6]
	v_add_f64 v[15:16], v[5:6], v[7:8]
	s_mov_b32 s9, 0x3c91a626
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[5:6], v[5:6], -v[15:16]
	v_add_f64 v[15:16], v[15:16], -v[23:24]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[5:6], v[5:6], v[7:8]
	v_fma_f64 v[7:8], v[11:12], s[8:9], v[7:8]
	v_add_f64 v[5:6], v[15:16], v[5:6]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[5:6], v[5:6], -v[7:8]
	v_fma_f64 v[7:8], v[11:12], s[6:7], v[5:6]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[5:6], v[23:24], v[7:8]
	v_add_f64 v[15:16], v[5:6], -v[23:24]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[7:8], v[7:8], -v[15:16]
.LBB1_5:                                ; %_ZL3cosd.exit
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr21
                                        ; implicit-def: $vgpr11_vgpr12
                                        ; implicit-def: $vgpr15_vgpr16
	s_and_saveexec_b32 s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s1, exec_lo, s0
	s_cbranch_execz .LBB1_7
; %bb.6:
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[3:4]|
	v_mov_b32_e32 v31, 0
	s_mov_b32 s6, 0x54442d18
	s_mov_b32 s7, 0x3ff921fb
	s_mov_b32 s8, 0x33145c07
	s_mov_b32 s9, 0x3c91a626
	v_dual_cndmask_b32 v12, v22, v20 :: v_dual_cndmask_b32 v11, v3, v19
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_mul_f64 v[15:16], v[17:18], v[11:12]
	v_mul_f64 v[19:20], v[13:14], v[11:12]
	v_mul_f64 v[29:30], v[9:10], v[11:12]
	v_fma_f64 v[17:18], v[17:18], v[11:12], -v[15:16]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[13:14], v[13:14], v[11:12], -v[19:20]
	v_fma_f64 v[9:10], v[9:10], v[11:12], -v[29:30]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[21:22], v[19:20], v[17:18]
	v_add_f64 v[23:24], v[21:22], -v[19:20]
	v_add_f64 v[27:28], v[15:16], v[21:22]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[25:26], v[21:22], -v[23:24]
	v_add_f64 v[17:18], v[17:18], -v[23:24]
	v_ldexp_f64 v[23:24], v[27:28], -2
	v_add_f64 v[15:16], v[27:28], -v[15:16]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[19:20], v[19:20], -v[25:26]
	v_add_f64 v[25:26], v[29:30], v[13:14]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[23:24]|
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[15:16], v[21:22], -v[15:16]
	v_add_f64 v[17:18], v[17:18], v[19:20]
	v_fract_f64_e32 v[19:20], v[23:24]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[21:22], v[25:26], v[17:18]
	v_dual_cndmask_b32 v20, 0, v20 :: v_dual_cndmask_b32 v19, 0, v19
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ldexp_f64 v[19:20], v[19:20], 2
	v_add_f64 v[23:24], v[15:16], v[21:22]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[27:28], v[23:24], v[19:20]
	v_add_f64 v[11:12], v[23:24], -v[15:16]
	v_cmp_gt_f64_e32 vcc_lo, 0, v[27:28]
	v_add_f64 v[27:28], v[25:26], -v[29:30]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[11:12], v[21:22], -v[11:12]
	v_cndmask_b32_e64 v32, 0, 0x40100000, vcc_lo
	v_add_f64 v[36:37], v[25:26], -v[27:28]
	v_add_f64 v[13:14], v[13:14], -v[27:28]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[19:20], v[19:20], v[31:32]
	v_add_f64 v[32:33], v[21:22], -v[25:26]
	v_add_f64 v[27:28], v[29:30], -v[36:37]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[34:35], v[23:24], v[19:20]
	v_add_f64 v[38:39], v[21:22], -v[32:33]
	v_add_f64 v[17:18], v[17:18], -v[32:33]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[13:14], v[13:14], v[27:28]
	v_cvt_i32_f64_e32 v34, v[34:35]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[25:26], v[25:26], -v[38:39]
	v_cvt_f64_i32_e32 v[32:33], v34
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[17:18], v[17:18], v[25:26]
	v_add_f64 v[19:20], v[19:20], -v[32:33]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[13:14], v[13:14], v[17:18]
	v_add_f64 v[15:16], v[23:24], v[19:20]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[9:10], v[9:10], v[13:14]
	v_add_f64 v[13:14], v[15:16], -v[19:20]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[15:16]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[9:10], v[11:12], v[9:10]
	v_add_f64 v[11:12], v[23:24], -v[13:14]
	v_cndmask_b32_e64 v32, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v21, s0, 0, v34, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[9:10], v[9:10], v[11:12]
	v_add_f64 v[11:12], v[15:16], -v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[13:14], v[11:12], v[9:10]
	v_mul_f64 v[15:16], v[13:14], s[6:7]
	v_add_f64 v[11:12], v[13:14], -v[11:12]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[17:18], v[13:14], s[6:7], -v[15:16]
	v_add_f64 v[9:10], v[9:10], -v[11:12]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[11:12], v[13:14], s[8:9], v[17:18]
	v_fma_f64 v[9:10], v[9:10], s[6:7], v[11:12]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[11:12], v[15:16], v[9:10]
	v_add_f64 v[13:14], v[11:12], -v[15:16]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[15:16], v[9:10], -v[13:14]
.LBB1_7:                                ; %Flow
	s_and_not1_saveexec_b32 s0, s1
	s_cbranch_execz .LBB1_9
; %bb.8:
	s_mov_b32 s6, 0x6dc9c883
	s_mov_b32 s7, 0x3fe45f30
	s_mov_b32 s9, 0xbc91a626
	v_mul_f64 v[9:10], |v[3:4]|, s[6:7]
	s_mov_b32 s6, 0x54442d18
	s_mov_b32 s7, 0xbff921fb
	s_mov_b32 s8, 0x33145c00
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[9:10], v[9:10]
	v_fma_f64 v[11:12], v[9:10], s[6:7], |v[3:4]|
	v_mul_f64 v[13:14], v[9:10], s[8:9]
	s_mov_b32 s6, 0x252049c0
	s_mov_b32 s7, 0xb97b839a
	v_cvt_i32_f64_e32 v21, v[9:10]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[17:18], v[9:10], s[8:9], v[11:12]
	v_add_f64 v[15:16], v[11:12], v[13:14]
	s_mov_b32 s9, 0x3c91a626
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[11:12], v[11:12], -v[15:16]
	v_add_f64 v[15:16], v[15:16], -v[17:18]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[11:12], v[11:12], v[13:14]
	v_fma_f64 v[13:14], v[9:10], s[8:9], v[13:14]
	v_add_f64 v[11:12], v[15:16], v[11:12]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[11:12], v[11:12], -v[13:14]
	v_fma_f64 v[13:14], v[9:10], s[6:7], v[11:12]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[11:12], v[17:18], v[13:14]
	v_add_f64 v[15:16], v[11:12], -v[17:18]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[15:16], v[13:14], -v[15:16]
.LBB1_9:                                ; %_ZL3sind.exit
	s_or_b32 exec_lo, exec_lo, s0
	v_mul_f64 v[9:10], v[5:6], v[5:6]
	v_mul_f64 v[13:14], v[11:12], v[11:12]
	v_lshlrev_b64 v[1:2], 4, v[1:2]
	s_lshl_b64 s[2:3], s[2:3], 4
	s_mov_b32 s0, 0xb42fdfa7
	s_add_u32 s2, s4, s2
	s_addc_u32 s3, s5, s3
	s_mov_b32 s6, 0xf9a43bb8
	v_add_co_u32 v26, vcc_lo, s2, v1
	v_add_co_ci_u32_e32 v27, vcc_lo, s3, v2, vcc_lo
	s_mov_b32 s1, 0xbe5ae600
	s_mov_b32 s7, 0x3de5e0b2
	s_mov_b32 s2, 0x46cc5e42
	global_load_b128 v[17:20], v[26:27], off
	s_mov_b32 s3, 0xbda907db
	v_add_co_u32 v42, vcc_lo, s4, v1
	v_add_co_ci_u32_e32 v43, vcc_lo, s5, v2, vcc_lo
	v_mul_f64 v[44:45], v[7:8], 0.5
	v_mul_f64 v[50:51], v[15:16], 0.5
	v_fma_f64 v[22:23], v[9:10], s[6:7], s[0:1]
	v_fma_f64 v[24:25], v[13:14], s[6:7], s[0:1]
	s_mov_b32 s6, 0x796cde01
	s_mov_b32 s0, 0x9037ab78
	s_mov_b32 s7, 0x3ec71de3
	s_mov_b32 s1, 0x3e21eeb6
	v_mul_f64 v[30:31], v[9:10], 0.5
	v_fma_f64 v[28:29], v[9:10], s[2:3], s[0:1]
	v_fma_f64 v[32:33], v[13:14], s[2:3], s[0:1]
	v_mul_f64 v[34:35], v[13:14], 0.5
	s_mov_b32 s2, 0x19e83e5c
	s_mov_b32 s0, 0xa17f65f6
	s_mov_b32 s3, 0xbf2a01a0
	s_mov_b32 s1, 0xbe927e4f
	v_mul_f64 v[46:47], v[5:6], -v[9:10]
	v_mul_f64 v[52:53], v[11:12], -v[13:14]
	v_fma_f64 v[22:23], v[9:10], v[22:23], s[6:7]
	v_fma_f64 v[36:37], v[13:14], v[24:25], s[6:7]
	v_add_f64 v[38:39], -v[30:31], 1.0
	v_fma_f64 v[28:29], v[9:10], v[28:29], s[0:1]
	v_fma_f64 v[1:2], v[13:14], v[32:33], s[0:1]
	v_add_f64 v[32:33], -v[34:35], 1.0
	s_mov_b32 s0, 0x19f4ec90
	s_mov_b32 s1, 0x3efa01a0
	v_fma_f64 v[40:41], v[9:10], v[22:23], s[2:3]
	global_load_b128 v[22:25], v[42:43], off
	v_fma_f64 v[36:37], v[13:14], v[36:37], s[2:3]
	s_mov_b32 s2, 0x11110bb3
	s_mov_b32 s3, 0x3f811111
	v_add_f64 v[48:49], -v[38:39], 1.0
	v_fma_f64 v[28:29], v[9:10], v[28:29], s[0:1]
	v_fma_f64 v[1:2], v[13:14], v[1:2], s[0:1]
	v_add_f64 v[54:55], -v[32:33], 1.0
	s_mov_b32 s0, 0x16c16967
	s_mov_b32 s1, 0xbf56c16c
	v_fma_f64 v[40:41], v[9:10], v[40:41], s[2:3]
	v_fma_f64 v[36:37], v[13:14], v[36:37], s[2:3]
	v_add_f64 v[30:31], v[48:49], -v[30:31]
	v_fma_f64 v[28:29], v[9:10], v[28:29], s[0:1]
	v_fma_f64 v[1:2], v[13:14], v[1:2], s[0:1]
	v_add_f64 v[34:35], v[54:55], -v[34:35]
	s_mov_b32 s0, 0x55555555
	s_mov_b32 s1, 0x3fa55555
	v_fma_f64 v[40:41], v[46:47], v[40:41], v[44:45]
	v_mul_f64 v[44:45], v[9:10], v[9:10]
	v_fma_f64 v[36:37], v[52:53], v[36:37], v[50:51]
	v_fma_f64 v[30:31], v[5:6], -v[7:8], v[30:31]
	v_fma_f64 v[28:29], v[9:10], v[28:29], s[0:1]
	v_fma_f64 v[1:2], v[13:14], v[1:2], s[0:1]
	v_fma_f64 v[34:35], v[11:12], -v[15:16], v[34:35]
	s_mov_b32 s1, 0xbfc55555
	v_fma_f64 v[7:8], v[9:10], v[40:41], -v[7:8]
	v_mul_f64 v[9:10], v[13:14], v[13:14]
	v_fma_f64 v[13:14], v[13:14], v[36:37], -v[15:16]
	v_fma_f64 v[15:16], v[44:45], v[28:29], v[30:31]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fma_f64 v[7:8], v[46:47], s[0:1], v[7:8]
	v_fma_f64 v[1:2], v[9:10], v[1:2], v[34:35]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_3) | instid1(VALU_DEP_2)
	v_fma_f64 v[9:10], v[52:53], s[0:1], v[13:14]
	v_cmp_class_f64_e64 s0, v[3:4], 0x1f8
	v_lshlrev_b32_e32 v3, 30, v21
	v_add_f64 v[13:14], v[38:39], v[15:16]
	v_xor_b32_e32 v3, v3, v4
	s_delay_alu instid0(VALU_DEP_1)
	v_and_b32_e32 v3, 0x80000000, v3
	v_add_f64 v[5:6], v[5:6], -v[7:8]
	v_add_f64 v[1:2], v[32:33], v[1:2]
	v_add_f64 v[7:8], v[11:12], -v[9:10]
	v_and_b32_e32 v9, 1, v0
	v_lshlrev_b32_e32 v0, 30, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cmp_eq_u32_e32 vcc_lo, 0, v9
	v_and_b32_e32 v9, 1, v21
	v_and_b32_e32 v0, 0x80000000, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_cmp_eq_u32_e64 s1, 0, v9
	v_cndmask_b32_e32 v5, v5, v13, vcc_lo
	v_cndmask_b32_e64 v4, v1, v7, s1
	v_cndmask_b32_e64 v1, v2, v8, s1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v2, 0, v4, s0
	v_xor_b32_e32 v3, v1, v3
	v_cndmask_b32_e64 v1, 0, v5, s0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v3, 0x7ff80000, v3, s0
	s_waitcnt vmcnt(1)
	v_mul_f64 v[4:5], v[19:20], v[2:3]
	v_mul_f64 v[7:8], v[17:18], v[2:3]
	v_xor_b32_e32 v2, 0x80000000, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v2, v2, v14, vcc_lo
	v_xor_b32_e32 v0, v2, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v2, 0x7ff80000, v0, s0
	v_fma_f64 v[3:4], v[17:18], v[1:2], -v[4:5]
	v_fma_f64 v[5:6], v[19:20], v[1:2], v[7:8]
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[0:1], v[22:23], -v[3:4]
	v_add_f64 v[2:3], v[24:25], -v[5:6]
	global_store_b128 v[26:27], v[0:3], off
	global_load_b128 v[4:7], v[42:43], off
	s_waitcnt vmcnt(0)
	v_add_f64 v[0:1], v[0:1], -v[4:5]
	v_add_f64 v[2:3], v[2:3], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[0:1], v[4:5], -v[0:1]
	v_add_f64 v[2:3], v[6:7], -v[2:3]
	global_store_b128 v[42:43], v[0:3], off
.LBB1_10:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 272
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 56
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end1:
	.size	_Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm, .Lfunc_end1-_Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 3748
; NumSgprs: 18
; NumVgprs: 56
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 6
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 56
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __hip_cuid_
	.amdgpu_metadata
---
amdhsa.kernels:
  - .args:
      - .actual_access:  read_only
        .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           8
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m
    .private_segment_fixed_size: 0
    .sgpr_count:     19
    .sgpr_spill_count: 0
    .symbol:         _Z18bit_reversed_orderP15HIP_vector_typeIdLj2EES1_m.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     9
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .offset:         8
        .size:           8
        .value_kind:     by_value
      - .offset:         16
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         20
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         28
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         30
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         32
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         34
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         36
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         38
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         56
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         80
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 272
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z26new_cooley_tukey_iterationP15HIP_vector_typeIdLj2EEm.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     56
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
