// File: /workspace/github_cpp_makefile_star2_O1/mgronhol[P]Ullur/ullur.cpp
// Function: handle_get[abi:cxx11](double, double, double)
std::string handle_get( double x, double y, double r ){
	std::string out;

	std::vector< uint64_t > results_inter, /*results_final,*/ values;
	std::vector< std::pair< uint64_t, uint64_t > > areas;
	int N = -floor( log(r) / log(2) );
	uint64_t test_point_H = compute_hash( x, y );
	std::pair< double, double > test_point( x, y );
	char buffer[256];

/*	if( N < 4 ){
		// linear search is (probablyfaster
		for( std::set< uint64_t >::iterator it = hashes.begin() ; it != hashes.end() ; it++ ){}
		}
*/

	areas = get_near_indices( N, test_point_H );
	results_inter = extract_points( hashes, areas );

	double radius = r*r;
	std::pair< double, double > point;

	for( size_t i = 0 ; i < results_inter.size() ; ++i ){
		point = compute_position( results_inter[i] );

		if( get_squared_distance( point, test_point ) <= radius ){

			values = multiget( database, results_inter[i] );

			for( size_t j = 0 ; j < values.size() ; ++j ){
				memset( buffer, 0, 256 );
				sprintf( buffer, "%lu\n", values[j] );
				out += std::string( buffer );
				}
			}

		}

	return out + "\r\n";
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movsd %xmm1, (%rsp)
movsd %xmm0, 0x8(%rsp)
movq %rdi, %r14
leaq 0x50(%rsp), %r12
movq %r12, -0x10(%r12)
xorl %eax, %eax
movq %rax, -0x8(%r12)
movb $0x0, (%r12)
movq %rax, 0x80(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
movsd %xmm2, 0x38(%rsp)
movaps %xmm2, %xmm0
callq 0x2220
movsd %xmm0, 0x30(%rsp)
movsd 0x8(%rsp), %xmm0
movsd (%rsp), %xmm1
callq 0x4e78
movq %rax, %rbx
movsd 0x30(%rsp), %xmm0
divsd 0x351f(%rip), %xmm0     # 0x6020
callq 0x23d0
xorpd 0x3532(%rip), %xmm0     # 0x6040
cvttsd2si %xmm0, %eax
movsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x90(%rsp)
movsd (%rsp), %xmm0
movsd %xmm0, 0x98(%rsp)
movslq %eax, %rsi
leaq 0x10(%rsp), %rdi
movq %rbx, %rdx
callq 0x5003
movq 0x70(%rsp), %rdi
movapd 0x10(%rsp), %xmm0
movq 0x20(%rsp), %rax
movq %rdi, 0x10(%rsp)
movupd 0x78(%rsp), %xmm1
movapd %xmm0, 0x70(%rsp)
movq %rax, 0x80(%rsp)
movupd %xmm1, 0x18(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
testq %rdi, %rdi
je 0x2b8b
callq 0x2270
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x2b9a
callq 0x2270
leaq 0x66f7(%rip), %rsi      # 0x9298
leaq 0x10(%rsp), %rdi
leaq 0x70(%rsp), %rdx
callq 0x516d
movq %r14, 0x88(%rsp)
movq 0x10(%rsp), %r13
movq 0x18(%rsp), %r14
xorpd %xmm0, %xmm0
movapd %xmm0, 0x60(%rsp)
subq %r13, %r14
je 0x2d56
movsd 0x38(%rsp), %xmm0
mulsd %xmm0, %xmm0
movsd %xmm0, 0x38(%rsp)
sarq $0x3, %r14
leaq 0x20(%rsp), %rbx
cmpq $0x1, %r14
adcq $0x0, %r14
leaq 0x60(%rsp), %r15
leaq 0xa0(%rsp), %rbp
xorl %r12d, %r12d
movq $0x0, (%rsp)
movq %r13, 0x8(%rsp)
movq %r14, 0x30(%rsp)
movq (%r13,%r12,8), %rdi
callq 0x4f8a
movsd %xmm0, 0x60(%rsp)
movsd %xmm1, 0x68(%rsp)
movq %r15, %rdi
leaq 0x90(%rsp), %rsi
callq 0x514e
movsd 0x38(%rsp), %xmm1
ucomisd %xmm0, %xmm1
jb 0x2d48
movq (%r13,%r12,8), %rdx
leaq 0x10(%rsp), %rdi
leaq 0x6669(%rip), %rsi      # 0x92c8
callq 0x26dc
movq 0x10(%rsp), %r15
movq 0x18(%rsp), %r13
xorpd %xmm0, %xmm0
movapd %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2c8f
callq 0x2270
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x2c9e
callq 0x2270
subq %r15, %r13
je 0x2d3a
sarq $0x3, %r13
cmpq $0x1, %r13
adcq $0x0, %r13
xorl %r14d, %r14d
movl $0x100, %edx            # imm = 0x100
movq %rbp, %rdi
xorl %esi, %esi
callq 0x2190
movq (%r15,%r14,8), %rdx
movq %rbp, %rdi
leaq 0x33a2(%rip), %rsi      # 0x6075
xorl %eax, %eax
callq 0x2070
movq %rbx, 0x10(%rsp)
movq %rbp, %rdi
callq 0x2140
leaq (%rsp,%rax), %rdx
addq $0xa0, %rdx
leaq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0x4892
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
leaq 0x40(%rsp), %rdi
callq 0x20e0
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x2d22
callq 0x2270
incq %r14
cmpq %r14, %r13
jne 0x2cb6
movq %r15, (%rsp)
movq 0x8(%rsp), %r13
movq 0x30(%rsp), %r14
jmp 0x2d43
movq %r15, (%rsp)
movq 0x8(%rsp), %r13
leaq 0x60(%rsp), %r15
incq %r12
cmpq %r14, %r12
jne 0x2c18
jmp 0x2d5e
movq $0x0, (%rsp)
movq 0x88(%rsp), %r15
leaq 0x10(%r15), %rbx
movq %rbx, (%r15)
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x429c
leaq 0x32e9(%rip), %rsi      # 0x6072
movq %r15, %rdi
leaq 0x50(%rsp), %r14
movq (%rsp), %r12
callq 0x2440
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x2da9
callq 0x2270
testq %r12, %r12
je 0x2db6
movq %r12, %rdi
callq 0x2270
testq %r13, %r13
je 0x2dc3
movq %r13, %rdi
callq 0x2270
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x2dd2
callq 0x2270
movq %r15, %rax
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%r15), %rdi
cmpq %rbx, %rdi
je 0x2e18
callq 0x2270
jmp 0x2e18
jmp 0x2e15
jmp 0x2dff
jmp 0x2dff
movq %rax, %r14
xorl %r15d, %r15d
xorl %r13d, %r13d
jmp 0x2e49
movq %rax, %r14
movq (%rsp), %r15
jmp 0x2e26
jmp 0x2e15
movq %rax, %r14
movq (%rsp), %r15
leaq 0x50(%rsp), %r12
jmp 0x2e49
movq %rax, %r14
leaq 0x50(%rsp), %r12
jmp 0x2e44
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
leaq 0x50(%rsp), %r12
je 0x2e44
callq 0x2270
movq 0x8(%rsp), %r13
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x2e58
callq 0x2270
testq %r15, %r15
je 0x2e65
movq %r15, %rdi
callq 0x2270
testq %r13, %r13
je 0x2e72
movq %r13, %rdi
callq 0x2270
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x2e81
callq 0x2270
movq %r14, %rdi
callq 0x23f0