// File: /workspace/github_c_makefile_star2_O3/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 $0x1, %edi
movl $0xc8, %esi
callq 0x1140
movq %rax, %r14
movq %rax, %rdi
movl $0xc8, %esi
movq %rbx, %rdx
callq 0x1130
callq 0x1210
movq %rax, %r12
movq (%rax), %rax
addq $-0x5, %r14
movsbq 0x5(%r14), %rcx
incq %r14
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x13ca
movsbq 0x4(%r14), %rcx
incq %r14
testb $0x8, 0x1(%rax,%rcx,2)
jne 0x13d9
movsbq 0x3(%r14), %rcx
incq %r14
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x13e8
leaq 0x2(%r14), %rbx
movsbq 0x2(%r14), %rcx
incq %r14
testb $0x20, 0x1(%rax,%rcx,2)
je 0x13fb
movb $0x0, 0x1(%r14)
leaq 0xccf2(%rip), %rsi      # 0xe108
movq %rbx, %rdi
callq 0x1150
testl %eax, %eax
je 0x1438
leaq 0xcce3(%rip), %rsi      # 0xe10c
movq %rbx, %rdi
movq %r13, %rdx
xorl %eax, %eax
callq 0x11b0
jmp 0x1446
movabsq $0x7ff0000000000000, %rax # imm = 0x7FF0000000000000
movq %rax, (%r13)
movq (%r12), %rax
movsbq 0x2(%r14), %rcx
incq %r14
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x144a
leaq 0x1(%r14), %rbx
movsbq 0x1(%r14), %rcx
incq %r14
testb $0x20, 0x1(%rax,%rcx,2)
je 0x145d
movb $0x0, (%r14)
leaq 0xcc91(%rip), %rsi      # 0xe108
movq %rbx, %rdi
callq 0x1150
testl %eax, %eax
je 0x1499
leaq 0xcc82(%rip), %rsi      # 0xe10c
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x11b0
jmp 0x14a6
movabsq $0x7ff0000000000000, %rax # imm = 0x7FF0000000000000
movq %rax, (%r15)
movq (%r12), %rax
movsbq 0x1(%r14), %rcx
incq %r14
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x14aa
movq %r14, %rcx
movsbq (%rcx), %rdx
incq %rcx
testq %rdx, %rdx
je 0x14d4
movzwl (%rax,%rdx,2), %edx
andl $0x2000, %edx           # imm = 0x2000
je 0x14bc
movb $0x0, -0x1(%rcx)
leaq 0xcc29(%rip), %rsi      # 0xe108
movq %r14, %rdi
callq 0x1150
testl %eax, %eax
je 0x150e
leaq 0xcc1a(%rip), %rsi      # 0xe10c
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 0x11b0
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