// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/FVParser.cpp
// Function: FVParser::nextLine(std::__cxx11::list<FVParserToken, std::allocator<FVParserToken>>*)
bool FVParser::nextLine(list<FVParserToken> *result) {
    string line;
    const int BUF_SIZE = 1024 * 1024;
    char buffer[BUF_SIZE];
    buffer[0] = '\0';
    do {
        fgets(buffer, BUF_SIZE, input);
    } while ((! eof()) && ((strlen(buffer) == 0) || ('T' != buffer[0])));
    Utilities::check(strlen(buffer) != BUF_SIZE - 1,
            "FVParser::nextLine() lines are too long for buffer");

    if (eof()) { return false; }

#if (__GNUC__ >= 3)
    istringstream parser(buffer);
#else
    istrstream parser(buffer, strlen(buffer));
#endif

    char t;
    parser >> t;

    result->clear();

    char colon;
    int dimension;
    double value;
    while (parser >> colon >> dimension >> colon >> value) {
        result->push_back(FVParserToken(dimension, value));
    }

    if (result->size() > 0) {
        lineNumber++;
        return true;
    } else {
        return false;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1001e8, %rsp         # imm = 0x1001E8
movq %rsi, 0x8(%rsp)
movq %rdi, %rbx
leaq 0x50(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
xorl %ecx, %ecx
movb %cl, (%rax)
leaq 0x1e0(%rsp), %r14
movb %cl, (%r14)
movq (%rbx), %rdx
movq %r14, %rdi
movl $0x100000, %esi         # imm = 0x100000
callq 0x44b0
movq %rbx, %rdi
callq 0x75f4
testb %al, %al
jne 0x745a
cmpb $0x54, 0x1e0(%rsp)
jne 0x7434
leaq 0x1e0(%rsp), %rdi
callq 0x4150
movq %rax, %r14
leaq 0xde51(%rip), %rsi      # 0x152c2
leaq 0x60(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x53a6
xorl %edi, %edi
cmpq $0xfffff, %r14          # imm = 0xFFFFF
setne %dil
leaq 0x60(%rsp), %rsi
callq 0x5364
leaq 0x60(%rsp), %rdi
callq 0x45e8
movq %rbx, %rdi
callq 0x75f4
testb %al, %al
je 0x74b4
xorl %ebp, %ebp
jmp 0x7593
leaq 0x20(%rsp), %rdi
leaq 0x1e0(%rsp), %rsi
leaq 0x18(%rsp), %rdx
callq 0x53a6
leaq 0x60(%rsp), %rdi
leaq 0x20(%rsp), %rsi
pushq $0x8
popq %rdx
callq 0x4500
leaq 0x20(%rsp), %rdi
callq 0x45e8
leaq 0x60(%rsp), %rdi
leaq 0x7(%rsp), %rsi
callq 0x43d0
movq 0x8(%rsp), %rdi
callq 0x7604
leaq 0x60(%rsp), %r15
leaq 0x6(%rsp), %r12
leaq 0x14(%rsp), %r13
leaq 0x18(%rsp), %rbp
leaq 0x20(%rsp), %r14
movq %r15, %rdi
movq %r12, %rsi
callq 0x43d0
movq %rax, %rdi
movq %r13, %rsi
callq 0x41c0
movq %rax, %rdi
movq %r12, %rsi
callq 0x43d0
movq %rax, %rdi
movq %rbp, %rsi
callq 0x41d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x7576
movl 0x14(%rsp), %eax
movsd 0x18(%rsp), %xmm0
movl %eax, 0x20(%rsp)
movsd %xmm0, 0x28(%rsp)
movq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x761c
jmp 0x7519
movq 0x8(%rsp), %rax
cmpq $0x0, 0x10(%rax)
setne %bpl
je 0x7589
incl 0x8(%rbx)
leaq 0x60(%rsp), %rdi
callq 0x4170
leaq 0x40(%rsp), %rdi
callq 0x45e8
movl %ebp, %eax
addq $0x1001e8, %rsp         # imm = 0x1001E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x75d5
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
jmp 0x75c7
jmp 0x75ce
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x45e8
jmp 0x75e2
movq %rax, %rbx
jmp 0x75e2
jmp 0x75d5
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x4170
leaq 0x40(%rsp), %rdi
callq 0x45e8
movq %rbx, %rdi
callq 0x4530