// File: /workspace/github_cpp_makefile_star2_O3/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 0x2210
movsd %xmm0, 0x30(%rsp)
movsd 0x8(%rsp), %xmm0
movsd (%rsp), %xmm1
callq 0x4d94
movq %rax, %rbx
movsd 0x30(%rsp), %xmm0
divsd 0x35d6(%rip), %xmm0     # 0x6020
callq 0x23c0
xorpd 0x35e9(%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 0x4f1e
movq 0x70(%rsp), %rdi
movapd 0x10(%rsp), %xmm0
movapd %xmm0, 0x70(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x80(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
testq %rdi, %rdi
je 0x2ad2
callq 0x2260
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x2ad2
callq 0x2260
leaq 0x67af(%rip), %rsi      # 0x9288
leaq 0x10(%rsp), %rdi
leaq 0x70(%rsp), %rdx
callq 0x5087
movq %r14, 0x88(%rsp)
movq 0x10(%rsp), %r13
movq 0x18(%rsp), %r14
xorpd %xmm0, %xmm0
movapd %xmm0, 0x60(%rsp)
subq %r13, %r14
je 0x2c8e
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 0x4ea5
movsd %xmm0, 0x60(%rsp)
movsd %xmm1, 0x68(%rsp)
movq %r15, %rdi
leaq 0x90(%rsp), %rsi
callq 0x5068
movsd 0x38(%rsp), %xmm1
ucomisd %xmm0, %xmm1
jb 0x2c80
movq (%r13,%r12,8), %rdx
leaq 0x10(%rsp), %rdi
leaq 0x6721(%rip), %rsi      # 0x92b8
callq 0x26cc
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 0x2bd6
callq 0x2260
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x2bd6
callq 0x2260
subq %r15, %r13
je 0x2c72
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 0x346a(%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 0x47b0
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
leaq 0x40(%rsp), %rdi
callq 0x20e0
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x2c5a
callq 0x2260
incq %r14
cmpq %r14, %r13
jne 0x2bee
movq %r15, (%rsp)
movq 0x8(%rsp), %r13
movq 0x30(%rsp), %r14
jmp 0x2c7b
movq %r15, (%rsp)
movq 0x8(%rsp), %r13
leaq 0x60(%rsp), %r15
incq %r12
cmpq %r14, %r12
jne 0x2b50
jmp 0x2c96
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
leaq 0x50(%rsp), %r12
callq 0x418c
leaq 0x33ac(%rip), %rsi      # 0x6072
movq %r15, %rdi
movq (%rsp), %r14
callq 0x2430
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x2ce1
callq 0x2260
testq %r14, %r14
je 0x2cee
movq %r14, %rdi
callq 0x2260
testq %r13, %r13
je 0x2cfb
movq %r13, %rdi
callq 0x2260
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x2d0a
callq 0x2260
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 0x2d5a
callq 0x2260
jmp 0x2d5a
movq %rax, %r14
movq (%rsp), %r15
jmp 0x2d8b
jmp 0x2d3c
movq %rax, %r14
xorl %r15d, %r15d
xorl %r13d, %r13d
jmp 0x2d8b
movq %rax, %r14
jmp 0x2db4
movq %rax, %r14
movq (%rsp), %r15
jmp 0x2d68
jmp 0x2d57
movq %rax, %r14
movq (%rsp), %r15
leaq 0x50(%rsp), %r12
jmp 0x2d8b
movq %rax, %r14
leaq 0x50(%rsp), %r12
jmp 0x2d86
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
leaq 0x50(%rsp), %r12
je 0x2d86
callq 0x2260
movq 0x8(%rsp), %r13
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x2d9a
callq 0x2260
testq %r15, %r15
je 0x2da7
movq %r15, %rdi
callq 0x2260
testq %r13, %r13
je 0x2db4
movq %r13, %rdi
callq 0x2260
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x2dc3
callq 0x2260
movq %r14, %rdi
callq 0x23e0