// File: /workspace/github_cpp_makefile_star2_O3/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 0x2a54
leaq 0x1831(%rip), %rax      # 0x4100
leaq 0xe0(%rsp), %rdx
movq %rax, -0xa0(%rdx)
movl $0x102, -0x98(%rdx)     # imm = 0x102
leaq 0x3f8d1(%rip), %rcx     # 0x421c0
movq %rcx, -0x90(%rdx)
movq %rax, -0x88(%rdx)
movl $0x103, -0x80(%rdx)     # imm = 0x103
movq %rcx, -0x78(%rdx)
movq %rax, -0x70(%rdx)
movl $0x101, -0x68(%rdx)     # imm = 0x101
movq %rcx, -0x60(%rdx)
movq %rax, -0x58(%rdx)
movl $0x105, -0x50(%rdx)     # imm = 0x105
xorl %ebx, %ebx
movq %rbx, -0x48(%rdx)
movq %rax, -0x40(%rdx)
movl $0x106, -0x38(%rdx)     # imm = 0x106
movq %rbx, -0x30(%rdx)
movq %rax, -0x28(%rdx)
movl $0x104, -0x20(%rdx)     # imm = 0x104
movq %rbx, -0x18(%rdx)
movq %rdx, -0x10(%rdx)
movq %rbx, -0x8(%rdx)
movb %bl, (%rdx)
leaq 0x100(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rbx, -0x8(%rax)
movb %bl, (%rax)
leaq 0x120(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rbx, -0x8(%rax)
movb %bl, (%rax)
movq %rbx, 0x20(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movq %rsp, %r14
movq %rbx, 0x10(%r14)
movaps %xmm0, (%r14)
leaq 0x30(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rbx, -0x8(%rax)
movb %bl, (%rax)
movq 0x65630(%rip), %r15     # 0x67fd0
leaq 0x20(%rsp), %r12
leaq 0x40(%rsp), %rbp
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x21e0
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
movq 0x8(%rsp), %rcx
subq (%rsp), %rcx
testb $0x5, 0x20(%rax,%rdx)
jne 0x2aa0
cmpq $0xa0, %rcx
je 0x29fd
movq %r14, %rdi
movq %r12, %rsi
callq 0x2c7a
jmp 0x29aa
incl %ebx
movq %r14, %rdi
movq %rbp, %rsi
movl %ebx, %edx
callq 0x26b9
testb %al, %al
je 0x2be7
movq (%rsp), %rax
movq 0x8(%rsp), %r13
cmpq %rax, %r13
je 0x29aa
movq %rax, 0x18(%rsp)
movq %rax, %rbp
movq (%rbp), %rdi
addq $0x10, %rbp
cmpq %rbp, %rdi
je 0x2a3c
callq 0x2110
addq $0x10, %rbp
cmpq %r13, %rbp
jne 0x2a2a
movq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
jmp 0x29a5
movq 0x6558d(%rip), %rbx     # 0x67fe8
leaq 0x15f4(%rip), %rsi      # 0x4056
movl $0xf, %edx
movq %rbx, %rdi
callq 0x2150
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20c0
movl $0x1, %ebp
jmp 0x2bd3
cmpq $0xa0, %rcx
jne 0x2ac7
incl %ebx
movq %rsp, %rdi
leaq 0x40(%rsp), %rsi
movl %ebx, %edx
callq 0x26b9
movl $0x1, %ebp
testb %al, %al
je 0x2b57
movq 0x6551a(%rip), %rdi     # 0x67fe8
leaq 0x1591(%rip), %rsi      # 0x4066
movl $0x13, %edx
callq 0x2150
movl %ebx, %esi
movq 0x65500(%rip), %rdi     # 0x67fe8
callq 0x20b0
movq %rax, %rbx
leaq 0x1583(%rip), %rsi      # 0x407a
movl $0x8, %edx
movq %rax, %rdi
callq 0x2150
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20c0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
xorl %ebp, %ebp
movq %rax, %rdi
callq 0x20c0
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x2b6b
callq 0x2110
movq %rsp, %rdi
callq 0x2cc2
movq 0x130(%rsp), %rdi
testq %rdi, %rdi
je 0x2b85
callq 0x2110
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x2b9f
callq 0x2110
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x2bb9
callq 0x2110
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x2bd3
callq 0x2110
movl %ebp, %eax
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x1, %ebp
jmp 0x2b57
jmp 0x2bfa
movq %rax, %rbx
jmp 0x2c19
jmp 0x2bfa
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x2c11
callq 0x2110
movq %rsp, %rdi
callq 0x2cc2
leaq 0x40(%rsp), %rdi
callq 0x2d0c
movq %rbx, %rdi
callq 0x21c0
movq %rax, %rdi
callq 0x2cb7
nop