// File: /workspace/github_c_makefile_star2_O1/jiqingxiaoxi[P]RPA/RPA.c
// Function: readLoop
void readLoop(FILE *file,double *v1,double *v2,double *v3)
{
	char *line,*p,*q;

	line=(char *)malloc(200);
	memset(line,'\0',200);
	fgets(line,200,file);

	p = line;
	while (isspace(*p)) 
		p++;
	while (isdigit(*p)) 
		p++;
	while (isspace(*p)) 
		p++;

	q = p;
	while (!isspace(*q)) 
		q++;

	*q = '\0';
	q++;
	if (!strcmp(p, "inf"))
		*v1 =1.0*INFINITY;
        else 
                sscanf(p, "%lf", v1);
        while (isspace(*q))
                q++;

        p = q;
        while (!isspace(*p))
                p++;
        *p = '\0';
        p++;
        if (!strcmp(q, "inf"))
                *v2 =1.0*INFINITY;
        else 
                sscanf(q, "%lf", v2);
        while (isspace(*p))
                p++;

        q = p;
        while (!isspace(*q) && (*q != '\0'))
                q++;
        *q = '\0';
        if (!strcmp(p, "inf"))
                *v3 =1.0*INFINITY;
        else 
                sscanf(p, "%lf", v3);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, -0x30(%rbp)
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %rbx
movl $0xc8, %edi
callq 0x1190
movq %rax, %r14
movl $0xc8, %edx
movq %rax, %rdi
xorl %esi, %esi
callq 0x1100
movq %r14, %rdi
movl $0xc8, %esi
movq %rbx, %rdx
callq 0x1130
callq 0x1200
movq %rax, %r12
movq (%rax), %rax
addq $-0x5, %r14
movsbq 0x5(%r14), %rcx
incq %r14
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x13c4
movsbq 0x4(%r14), %rcx
incq %r14
testb $0x8, 0x1(%rax,%rcx,2)
jne 0x13d3
movsbq 0x3(%r14), %rcx
incq %r14
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x13e2
leaq 0x2(%r14), %rbx
movsbq 0x2(%r14), %rcx
incq %r14
testb $0x20, 0x1(%rax,%rcx,2)
je 0x13f5
movb $0x0, 0x1(%r14)
leaq 0xcce8(%rip), %rsi      # 0xe0f8
movq %rbx, %rdi
callq 0x1140
testl %eax, %eax
je 0x1432
leaq 0xccd9(%rip), %rsi      # 0xe0fc
movq %rbx, %rdi
movq %r13, %rdx
xorl %eax, %eax
callq 0x11a0
jmp 0x1440
movabsq $0x7ff0000000000000, %rax # imm = 0x7FF0000000000000
movq %rax, (%r13)
movq (%r12), %rax
movsbq 0x2(%r14), %rcx
incq %r14
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x1444
leaq 0x1(%r14), %rbx
movsbq 0x1(%r14), %rcx
incq %r14
testb $0x20, 0x1(%rax,%rcx,2)
je 0x1457
movb $0x0, (%r14)
leaq 0xcc87(%rip), %rsi      # 0xe0f8
movq %rbx, %rdi
callq 0x1140
testl %eax, %eax
je 0x1493
leaq 0xcc78(%rip), %rsi      # 0xe0fc
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x11a0
jmp 0x14a0
movabsq $0x7ff0000000000000, %rax # imm = 0x7FF0000000000000
movq %rax, (%r15)
movq (%r12), %rax
movsbq 0x1(%r14), %rcx
incq %r14
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x14a4
movq %r14, %rcx
movsbq (%rcx), %rdx
incq %rcx
testq %rdx, %rdx
je 0x14ce
movzwl (%rax,%rdx,2), %edx
andl $0x2000, %edx           # imm = 0x2000
je 0x14b6
movb $0x0, -0x1(%rcx)
leaq 0xcc1f(%rip), %rsi      # 0xe0f8
movq %r14, %rdi
callq 0x1140
testl %eax, %eax
je 0x1508
leaq 0xcc10(%rip), %rsi      # 0xe0fc
movq %r14, %rdi
movq -0x30(%rbp), %rdx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x11a0
movabsq $0x7ff0000000000000, %rax # imm = 0x7FF0000000000000
movq -0x30(%rbp), %rcx
movq %rax, (%rcx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq