// File: /workspace/github_cpp_makefile_star2_O1/jp-myk[P]WAVUtil/src/SimpleWAV/WAV.cpp
// Function: WAV::dumpHeader()
void WAV::dumpHeader(){
  printf("riffID\t%c%c%c%c\n",_riffID[0],_riffID[1],_riffID[2],_riffID[3]);
  std::cout << "size\t" << _size   << std::endl;
  printf("wavID\t%c%c%c%c\n",_wavID[0],_wavID[1],_wavID[2],_wavID[3]);
  printf("fmtID\t%c%c%c%c\n",_fmtID[0],_fmtID[1],_fmtID[2],_fmtID[3]);
  std::cout << "fmtSize\t" << _fmtSize << std::endl;
  std::cout << "format\t" << _format << std::endl;
  std::cout << "channels\t" << _channels << std::endl;
  std::cout << "sampleRate\t" << _sampleRate << std::endl;
  std::cout << "bytePerSec\t" << _bytePerSec << std::endl;
  std::cout << "blockSize\t" << _blockSize << std::endl;
  std::cout << "bitID\t" << _bit << std::endl;
  printf("dataID\t%c%c%c%c\n",_dataID[0],_dataID[1],_dataID[2],_dataID[3]);
  std::cout << "dataSize\t" << _dataSize << std::endl;

}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movsbl (%rdi), %esi
movsbl 0x1(%rdi), %edx
movsbl 0x2(%rdi), %ecx
movsbl 0x3(%rdi), %r8d
leaq 0x12ff(%rip), %rdi      # 0x40fe
xorl %eax, %eax
callq 0x2040
movq 0x31c3(%rip), %r14      # 0x5fd0
leaq 0x12fb(%rip), %rsi      # 0x410f
movl $0x5, %edx
movq %r14, %rdi
callq 0x2190
movl 0x4(%rbx), %esi
movq %r14, %rdi
callq 0x20f0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
movsbl 0x8(%rbx), %esi
movsbl 0x9(%rbx), %edx
movsbl 0xa(%rbx), %ecx
movsbl 0xb(%rbx), %r8d
leaq 0x12a7(%rip), %rdi      # 0x4115
xorl %eax, %eax
callq 0x2040
movsbl 0xc(%rbx), %esi
movsbl 0xd(%rbx), %edx
movsbl 0xe(%rbx), %ecx
movsbl 0xf(%rbx), %r8d
leaq 0x1298(%rip), %rdi      # 0x4125
xorl %eax, %eax
callq 0x2040
leaq 0x129a(%rip), %rsi      # 0x4135
movl $0x8, %edx
movq %r14, %rdi
callq 0x2190
movl 0x10(%rbx), %esi
movq %r14, %rdi
callq 0x20f0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
leaq 0x125a(%rip), %rsi      # 0x413e
movl $0x7, %edx
movq %r14, %rdi
callq 0x2190
movzwl 0x14(%rbx), %esi
movq %r14, %rdi
callq 0x20f0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
leaq 0x1218(%rip), %rsi      # 0x4146
movl $0x9, %edx
movq %r14, %rdi
callq 0x2190
movzwl 0x16(%rbx), %esi
movq %r14, %rdi
callq 0x20f0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
leaq 0x11d8(%rip), %rsi      # 0x4150
movl $0xb, %edx
movq %r14, %rdi
callq 0x2190
movl 0x18(%rbx), %esi
movq %r14, %rdi
callq 0x20f0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
leaq 0x119b(%rip), %rsi      # 0x415c
movl $0xb, %edx
movq %r14, %rdi
callq 0x2190
movl 0x1c(%rbx), %esi
movq %r14, %rdi
callq 0x20f0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
leaq 0x115e(%rip), %rsi      # 0x4168
movl $0xa, %edx
movq %r14, %rdi
callq 0x2190
movzwl 0x20(%rbx), %esi
movq %r14, %rdi
callq 0x20f0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
leaq 0x111f(%rip), %rsi      # 0x4173
movl $0x6, %edx
movq %r14, %rdi
callq 0x2190
movzwl 0x22(%rbx), %esi
movq %r14, %rdi
callq 0x20f0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
movsbl 0x24(%rbx), %esi
movsbl 0x25(%rbx), %edx
movsbl 0x26(%rbx), %ecx
movsbl 0x27(%rbx), %r8d
leaq 0x10cb(%rip), %rdi      # 0x417a
xorl %eax, %eax
callq 0x2040
leaq 0x10ce(%rip), %rsi      # 0x418b
movl $0x9, %edx
movq %r14, %rdi
callq 0x2190
movl 0x28(%rbx), %esi
movq %r14, %rdi
callq 0x20f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x2100