// File: /workspace/github_cpp_makefile_star2_O1/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 0x1830(%rip), %rax      # 0x4100
leaq 0xe0(%rsp), %rdx
movq %rax, -0xa0(%rdx)
movl $0x102, -0x98(%rdx)     # imm = 0x102
leaq 0x3f8d0(%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 0x6562f(%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), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x2aa0
movq 0x8(%rsp), %rax
subq (%rsp), %rax
cmpq $0xa0, %rax
je 0x29fd
movq %r14, %rdi
movq %r12, %rsi
callq 0x2c82
jmp 0x29ab
incl %ebx
movq %r14, %rdi
movq %rbp, %rsi
movl %ebx, %edx
callq 0x26b9
testb %al, %al
je 0x2bef
movq (%rsp), %rax
movq 0x8(%rsp), %r13
cmpq %rax, %r13
je 0x29ab
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 0x29a6
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 0x2bdb
movq 0x8(%rsp), %rax
subq (%rsp), %rax
cmpq $0xa0, %rax
jne 0x2acf
incl %ebx
movq %rsp, %rdi
leaq 0x40(%rsp), %rsi
movl %ebx, %edx
callq 0x26b9
movl $0x1, %ebp
testb %al, %al
je 0x2b5f
movq 0x65512(%rip), %rdi     # 0x67fe8
leaq 0x1589(%rip), %rsi      # 0x4066
movl $0x13, %edx
callq 0x2150
movl %ebx, %esi
movq 0x654f8(%rip), %rdi     # 0x67fe8
callq 0x20b0
movq %rax, %rbx
leaq 0x157b(%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 0x2b73
callq 0x2110
movq %rsp, %rdi
callq 0x2cca
movq 0x130(%rsp), %rdi
testq %rdi, %rdi
je 0x2b8d
callq 0x2110
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x2ba7
callq 0x2110
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x2bc1
callq 0x2110
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x2bdb
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 0x2b5f
jmp 0x2c02
movq %rax, %rbx
jmp 0x2c21
jmp 0x2c02
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x2c19
callq 0x2110
movq %rsp, %rdi
callq 0x2cca
leaq 0x40(%rsp), %rdi
callq 0x2d0e
movq %rbx, %rdi
callq 0x21c0
movq %rax, %rdi
callq 0x2cbf
nop