// File: /workspace/github_cpp_makefile_star2_O2/sile[P]unf/src/unf/unf-test.cc
// Function: main
int main(int argc, char** argv) {
  if(argc != 1) {
    std::cerr << "Usage: unf-test" << std::endl;
    return 1;
  }

  UNF::Normalizer norm;

  unsigned cnt=0;
  std::vector<std::string> ary;
  std::string line;
  while(std::getline(std::cin, line)) {
    if(ary.size()==5) {
      cnt++;
      if(nf_test(ary, norm, cnt)==false)
	return 1;
      ary.clear();
    } else {
      ary.push_back(line);
    }
  }
  if(ary.size()==5) {
    cnt++;
    if(nf_test(ary, norm, cnt)==false)
      return 1;
  }
  
  std::cerr << "All tests passed!: " << cnt << " entries" << std::endl << std::endl;
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
cmpl $0x1, %edi
jne 0x2875
leaq 0x199b(%rip), %rax      # 0x40d0
leaq 0xe0(%rsp), %rcx
movq %rax, -0xa0(%rcx)
movl $0x102, -0x98(%rcx)     # imm = 0x102
leaq 0x3fa3b(%rip), %rdx     # 0x42190
movq %rdx, -0x90(%rcx)
movq %rax, -0x88(%rcx)
movl $0x103, -0x80(%rcx)     # imm = 0x103
movq %rdx, -0x78(%rcx)
movq %rax, -0x70(%rcx)
movl $0x101, -0x68(%rcx)     # imm = 0x101
movq %rdx, -0x60(%rcx)
movq %rax, -0x58(%rcx)
movl $0x105, -0x50(%rcx)     # imm = 0x105
andq $0x0, -0x48(%rcx)
movq %rax, -0x40(%rcx)
movl $0x106, -0x38(%rcx)     # imm = 0x106
andq $0x0, -0x30(%rcx)
movq %rax, -0x28(%rcx)
movl $0x104, -0x20(%rcx)     # imm = 0x104
andq $0x0, -0x18(%rcx)
movq %rcx, -0x10(%rcx)
andq $0x0, -0x8(%rcx)
xorl %ebx, %ebx
movb %bl, (%rcx)
leaq 0x100(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb %bl, (%rax)
leaq 0x120(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb %bl, (%rax)
xorps %xmm0, %xmm0
andq $0x0, 0x20(%rax)
movq %rsp, %r14
andq $0x0, 0x10(%r14)
movups %xmm0, 0x10(%rax)
movaps %xmm0, (%r14)
leaq 0x30(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb %bl, (%rax)
movq 0x657c1(%rip), %r15     # 0x67fd0
leaq 0x20(%rsp), %r12
leaq 0x40(%rsp), %r13
pushq $0x1
popq %rbp
movq %r15, %rdi
movq %r12, %rsi
callq 0x2040
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
movq 0x8(%rsp), %rcx
subq (%rsp), %rcx
testb $0x5, 0x20(%rax,%rdx)
jne 0x2895
cmpq $0xa0, %rcx
je 0x2854
movq %r14, %rdi
movq %r12, %rsi
callq 0x29c2
jmp 0x281c
incl %ebx
movq %r14, %rdi
movq %r13, %rsi
movl %ebx, %edx
callq 0x25f1
testb %al, %al
je 0x28f1
movq %r14, %rdi
callq 0x29ba
jmp 0x281c
movq 0x6576c(%rip), %rdi     # 0x67fe8
leaq 0x17d3(%rip), %rsi      # 0x4056
callq 0x2110
movq %rax, %rdi
callq 0x2080
pushq $0x1
popq %rbp
jmp 0x290d
cmpq $0xa0, %rcx
jne 0x28b3
incl %ebx
movq %rsp, %rdi
leaq 0x40(%rsp), %rsi
movl %ebx, %edx
callq 0x25f1
testb %al, %al
je 0x28f1
movq 0x6572e(%rip), %rdi     # 0x67fe8
leaq 0x17a5(%rip), %rsi      # 0x4066
callq 0x2110
movl %ebx, %esi
movq %rax, %rdi
callq 0x20c0
leaq 0x17a3(%rip), %rsi      # 0x407a
movq %rax, %rdi
callq 0x2110
movq %rax, %rdi
callq 0x2080
xorl %ebp, %ebp
movq %rax, %rdi
callq 0x2080
leaq 0x20(%rsp), %rdi
callq 0x2130
movq %rsp, %rdi
callq 0x29fa
leaq 0x40(%rsp), %rdi
callq 0x2a38
movl %ebp, %eax
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x2944
movq %rax, %rbx
jmp 0x293c
jmp 0x292f
jmp 0x292f
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x2130
movq %rsp, %rdi
callq 0x29fa
leaq 0x40(%rsp), %rdi
callq 0x2a38
movq %rbx, %rdi
callq 0x21b0
movq %rax, %rdi
callq 0x29ee