// File: /workspace/github_cpp_makefile_star2_O1/nikosgalanis[P]Vectors-Similarity-Search-and-Clustering/programs/common/io_utils.cc
// Function: parse_hc_args(int, char**, char**, char**, char**, int*, int*, int*, int*, int*)
void parse_hc_args(int argc, char* argv[], char** input, char** output,
	char** query, int* k, int* M, int* probes, int* n_neighs, int* radius) {
		// default arguments
		*k = 14; *M = 10; *probes = 2; *n_neighs = 1; *radius = 10000;
		// parse through comand line arguments
		for (int i = 1; i < argc; i++) {
			if (!strcmp(argv[i], "-d")) {
				*input = strdup(argv[++i]);
			}
			if (!strcmp(argv[i], "-q")) {
				*query = strdup(argv[++i]);
			}	
			if (!strcmp(argv[i], "-o")) {
				*output = strdup(argv[++i]);
			}
			if (!strcmp(argv[i], "-k")) {
				*k = atoi(argv[++i]);
			}
			if (!strcmp(argv[i], "-M")) {
				*M = atoi(argv[++i]);
			}
			if (!strcmp(argv[i], "-probes")) {
				*probes = atoi(argv[++i]);
			}
			if (!strcmp(argv[i], "-N")) {
				*n_neighs = atoi(argv[++i]);
			}
			if (!strcmp(argv[i], "-R")) {
				*radius = atoi(argv[++i]);
			}
		}
		assert(*input && *query && *output);
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq %rdx, 0x18(%rsp)
movq %rsi, %r13
movq 0x78(%rsp), %rax
movq 0x70(%rsp), %rcx
movq 0x68(%rsp), %rdx
movq 0x60(%rsp), %rsi
movq %r9, 0x20(%rsp)
movl $0xe, (%r9)
movl $0xa, (%rsi)
movl $0x2, (%rdx)
movl $0x1, (%rcx)
movl $0x2710, (%rax)         # imm = 0x2710
cmpl $0x2, %edi
jl 0x2c09
movl %edi, %ebp
movl $0x1, %ebx
leaq 0x559a(%rip), %r15      # 0x802f
leaq 0x5596(%rip), %r12      # 0x8032
movslq %ebx, %r14
movq (%r13,%r14,8), %rdi
leaq 0x5575(%rip), %rsi      # 0x8020
callq 0x22d0
testl %eax, %eax
jne 0x2aca
leal 0x1(%r14), %ebx
movq 0x8(%r13,%r14,8), %rdi
callq 0x2420
movq 0x18(%rsp), %rcx
movq %rax, (%rcx)
movslq %ebx, %r14
movq (%r13,%r14,8), %rdi
leaq 0x554a(%rip), %rsi      # 0x8023
callq 0x22d0
testl %eax, %eax
jne 0x2af8
leal 0x1(%r14), %ebx
movq 0x8(%r13,%r14,8), %rdi
callq 0x2420
movq 0x10(%rsp), %rcx
movq %rax, (%rcx)
movslq %ebx, %r14
movq (%r13,%r14,8), %rdi
leaq 0x551f(%rip), %rsi      # 0x8026
callq 0x22d0
testl %eax, %eax
jne 0x2b26
leal 0x1(%r14), %ebx
movq 0x8(%r13,%r14,8), %rdi
callq 0x2420
movq 0x8(%rsp), %rcx
movq %rax, (%rcx)
movslq %ebx, %r14
movq (%r13,%r14,8), %rdi
leaq 0x54f4(%rip), %rsi      # 0x8029
callq 0x22d0
testl %eax, %eax
jne 0x2b53
leal 0x1(%r14), %ebx
movq 0x8(%r13,%r14,8), %rdi
callq 0x2340
movq 0x20(%rsp), %rcx
movl %eax, (%rcx)
movslq %ebx, %r14
movq (%r13,%r14,8), %rdi
leaq 0x5564(%rip), %rsi      # 0x80c6
callq 0x22d0
testl %eax, %eax
jne 0x2b80
leal 0x1(%r14), %ebx
movq 0x8(%r13,%r14,8), %rdi
callq 0x2340
movq 0x60(%rsp), %rcx
movl %eax, (%rcx)
movslq %ebx, %r14
movq (%r13,%r14,8), %rdi
leaq 0x553a(%rip), %rsi      # 0x80c9
callq 0x22d0
testl %eax, %eax
jne 0x2bad
leal 0x1(%r14), %ebx
movq 0x8(%r13,%r14,8), %rdi
callq 0x2340
movq 0x68(%rsp), %rcx
movl %eax, (%rcx)
movslq %ebx, %r14
movq (%r13,%r14,8), %rdi
movq %r15, %rsi
callq 0x22d0
testl %eax, %eax
jne 0x2bd6
leal 0x1(%r14), %ebx
movq 0x8(%r13,%r14,8), %rdi
callq 0x2340
movq 0x70(%rsp), %rcx
movl %eax, (%rcx)
movslq %ebx, %r14
movq (%r13,%r14,8), %rdi
movq %r12, %rsi
callq 0x22d0
testl %eax, %eax
jne 0x2bff
leal 0x1(%r14), %ebx
movq 0x8(%r13,%r14,8), %rdi
callq 0x2340
movq 0x78(%rsp), %rcx
movl %eax, (%rcx)
incl %ebx
cmpl %ebp, %ebx
jl 0x2a9c
movq 0x18(%rsp), %rax
cmpq $0x0, (%rax)
je 0x2c39
movq 0x10(%rsp), %rax
cmpq $0x0, (%rax)
je 0x2c39
movq 0x8(%rsp), %rax
cmpq $0x0, (%rax)
je 0x2c39
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x53f5(%rip), %rdi      # 0x8035
leaq 0x540a(%rip), %rsi      # 0x8051
leaq 0x5483(%rip), %rcx      # 0x80d1
movl $0x87, %edx
callq 0x2160