// File: /workspace/github_cpp_makefile_star2_O3/narges64[P]SIMBA/common.cpp
// Function: parameter_value::load_inline_parameters(int, char**)
void parameter_value::load_inline_parameters(int argc, char ** argv)
{
	int pre_eql,next_eql;
	int res_eql;
	char *ptr;

	for (int i = 3; i < argc; i++){
			ptr = strchr(argv[i], '=');
			if (!ptr) continue;

			pre_eql = ptr - argv[i];
			next_eql = pre_eql + 1;
			while(argv[i][pre_eql-1] == ' ') pre_eql--;
			argv[i][pre_eql] = 0;

			if ((res_eql = strcmp(argv[i],"lun_number")) == 0){
				sscanf(argv[i] + next_eql, "%d", &lun_num);
			}else if((res_eql=strcmp(argv[i],"dram_capacity")) ==0){
				sscanf(argv[i] + next_eql,"%d",&dram_capacity);
			}else if((res_eql=strcmp(argv[i],"gcb_capacity")) ==0){
				sscanf(argv[i] + next_eql,"%d",&gcb_capacity);
			}else if((res_eql=strcmp(argv[i],"queue_length")) ==0){
					sscanf(argv[i] + next_eql,"%d",&queue_length);
			}else if((res_eql=strcmp(argv[i],"syn_rd_ratio")) == 0){
					sscanf(argv[i] + next_eql, "%f",&syn_rd_ratio);
			}else if((res_eql=strcmp(argv[i],"syn_interarrival_mean")) == 0){
					sscanf(argv[i] + next_eql, "%d",&syn_interarrival_mean);
			}else if((res_eql=strcmp(argv[i],"syn_req_size")) == 0){
					sscanf(argv[i] + next_eql, "%d",&syn_req_size);
			}else if((res_eql=strcmp(argv[i],"syn_req_count")) == 0){
					sscanf(argv[i] + next_eql, "%d",&syn_req_count);
			}else if((res_eql=strcmp(argv[i],"time_scale")) == 0){
					sscanf(argv[i] + next_eql,"%lf",&time_scale);
			}else if((res_eql=strcmp(argv[i],"gc_time_ratio")) == 0){
					sscanf(argv[i] + next_eql,"%f",&gc_time_ratio);
			}else if((res_eql=strcmp(argv[i],"trace_file")) == 0){
					sscanf(argv[i] + next_eql,"%s",trace_filename); 
			}else if((res_eql=strcmp(argv[i],"synthetic")) == 0){
					sscanf(argv[i] + next_eql,"%d",&synthetic); 
			}else if((res_eql=strcmp(argv[i],"gc_algorithm")) == 0){
					sscanf(argv[i] + next_eql,"%d",&gc_algorithm); 
			}else{
					printf("don't match\t %s\n",argv[i]);
			}
	}
}

// Assembly:
cmpl $0x4, %esi
jl 0x3a3c
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %rbx
movq %rdi, %r14
leaq 0x74(%rdi), %rax
movq %rax, 0x8(%rsp)
leaq 0x348(%rdi), %rax
movq %rax, 0x10(%rsp)
leaq 0x338(%rdi), %rax
movq %rax, 0x18(%rsp)
leaq 0x80(%rdi), %rax
movq %rax, 0x20(%rsp)
leaq 0x328(%rdi), %rax
movq %rax, 0x28(%rsp)
leaq 0x32c(%rdi), %rax
movq %rax, 0x30(%rsp)
leaq 0x330(%rdi), %rax
movq %rax, 0x38(%rsp)
leaq 0x324(%rdi), %rax
movq %rax, 0x40(%rsp)
leaq 0x78(%rdi), %rax
movq %rax, 0x48(%rsp)
leaq 0x90(%rdi), %rax
movq %rax, 0x50(%rsp)
leaq 0x8c(%rdi), %rax
movq %rax, 0x58(%rsp)
leaq 0x88(%rdi), %rax
movq %rax, 0x60(%rsp)
movl %esi, %r12d
movl $0x3, %r15d
movq (%rbx,%r15,8), %r13
movq %r13, %rdi
movl $0x3d, %esi
callq 0x20b0
testq %rax, %rax
je 0x3a22
movq %rax, %rbp
subq %r13, %rbp
movslq %ebp, %rax
addq %r13, %rax
incq %rax
cmpb $0x20, -0x2(%rax)
leaq -0x1(%rax), %rax
je 0x3787
incl %ebp
movb $0x0, (%rax)
movq (%rbx,%r15,8), %r13
movq %r13, %rdi
leaq 0x6cd0(%rip), %rsi      # 0xa474
callq 0x2270
testl %eax, %eax
je 0x38db
movq %r13, %rdi
leaq 0x6cc4(%rip), %rsi      # 0xa47f
callq 0x2270
testl %eax, %eax
je 0x38f5
movq %r13, %rdi
leaq 0x6cbb(%rip), %rsi      # 0xa48d
callq 0x2270
testl %eax, %eax
je 0x390f
movq %r13, %rdi
leaq 0x6cb1(%rip), %rsi      # 0xa49a
callq 0x2270
testl %eax, %eax
je 0x3929
movq %r13, %rdi
leaq 0x6ca7(%rip), %rsi      # 0xa4a7
callq 0x2270
testl %eax, %eax
je 0x3943
movq %r13, %rdi
leaq 0x6c9d(%rip), %rsi      # 0xa4b4
callq 0x2270
testl %eax, %eax
je 0x395d
movq %r13, %rdi
leaq 0x6c9c(%rip), %rsi      # 0xa4ca
callq 0x2270
testl %eax, %eax
je 0x3977
movq %r13, %rdi
leaq 0x6c92(%rip), %rsi      # 0xa4d7
callq 0x2270
testl %eax, %eax
je 0x3991
movq %r13, %rdi
leaq 0x6c89(%rip), %rsi      # 0xa4e5
callq 0x2270
testl %eax, %eax
je 0x39a8
movq %r13, %rdi
leaq 0x6c7d(%rip), %rsi      # 0xa4f0
callq 0x2270
testl %eax, %eax
je 0x39bf
movq %r13, %rdi
leaq 0x6c74(%rip), %rsi      # 0xa4fe
callq 0x2270
testl %eax, %eax
je 0x39d6
movq %r13, %rdi
leaq 0x6bb8(%rip), %rsi      # 0xa459
callq 0x2270
testl %eax, %eax
je 0x39ef
movq %r13, %rdi
leaq 0x6c51(%rip), %rsi      # 0xa509
callq 0x2270
testl %eax, %eax
je 0x3a06
leaq 0x6b97(%rip), %rdi      # 0xa463
movq %r13, %rsi
xorl %eax, %eax
callq 0x2060
jmp 0x3a22
movslq %ebp, %rax
addq %rax, %r13
movq %r13, %rdi
leaq 0x685a(%rip), %rsi      # 0xa145
movq 0x60(%rsp), %rdx
jmp 0x3a1b
movslq %ebp, %rax
addq %rax, %r13
movq %r13, %rdi
leaq 0x6840(%rip), %rsi      # 0xa145
movq 0x58(%rsp), %rdx
jmp 0x3a1b
movslq %ebp, %rax
addq %rax, %r13
movq %r13, %rdi
leaq 0x6826(%rip), %rsi      # 0xa145
movq 0x50(%rsp), %rdx
jmp 0x3a1b
movslq %ebp, %rax
addq %rax, %r13
movq %r13, %rdi
leaq 0x680c(%rip), %rsi      # 0xa145
movq 0x48(%rsp), %rdx
jmp 0x3a1b
movslq %ebp, %rax
addq %rax, %r13
movq %r13, %rdi
leaq 0x6963(%rip), %rsi      # 0xa2b6
movq 0x40(%rsp), %rdx
jmp 0x3a1b
movslq %ebp, %rax
addq %rax, %r13
movq %r13, %rdi
leaq 0x67d8(%rip), %rsi      # 0xa145
movq 0x38(%rsp), %rdx
jmp 0x3a1b
movslq %ebp, %rax
addq %rax, %r13
movq %r13, %rdi
leaq 0x67be(%rip), %rsi      # 0xa145
movq 0x30(%rsp), %rdx
jmp 0x3a1b
movslq %ebp, %rax
addq %rax, %r13
movq %r13, %rdi
leaq 0x67a4(%rip), %rsi      # 0xa145
movq 0x28(%rsp), %rdx
jmp 0x3a1b
movslq %ebp, %rax
addq %rax, %r13
movq %r13, %rdi
leaq 0x6a81(%rip), %rsi      # 0xa439
movq 0x20(%rsp), %rdx
jmp 0x3a1b
movslq %ebp, %rax
addq %rax, %r13
movq %r13, %rdi
leaq 0x68e7(%rip), %rsi      # 0xa2b6
movq 0x18(%rsp), %rdx
jmp 0x3a1b
movslq %ebp, %rax
addq %rax, %r13
movq 0x340(%r14), %rdx
movq %r13, %rdi
leaq 0x675b(%rip), %rsi      # 0xa148
jmp 0x3a1b
movslq %ebp, %rax
addq %rax, %r13
movq %r13, %rdi
leaq 0x6746(%rip), %rsi      # 0xa145
movq 0x10(%rsp), %rdx
jmp 0x3a1b
movslq %ebp, %rax
addq %rax, %r13
movq %r13, %rdi
leaq 0x672f(%rip), %rsi      # 0xa145
movq 0x8(%rsp), %rdx
xorl %eax, %eax
callq 0x2160
incq %r15
cmpq %r12, %r15
jne 0x375e
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop