// File: mikeakohn[P]drumsplusplus/build/../src/Song.cxx
// Function: Song::print()
void Song::print()
{
  printf("Defines:\n");

  for (auto it = defines.begin(); it != defines.end(); it++)
  {
    printf("  %s = %s\n", it->first.c_str(), it->second.c_str());
  }

  printf("Patterns:\n");

  for (auto it = pattern_names.begin(); it != pattern_names.end(); it++)
  {
    printf("  %d) %s\n", it->first, it->second.c_str());
  }

  const int count = pattern_names.size();

  for (int n = 0; n < count; n++)
  {
    std::string &pattern_name = pattern_names[n];

    patterns[pattern_name].print();
  }

  printf("Sections:\n");

  for (auto it = sections.begin(); it != sections.end(); it++)
  {
    printf("  name: %s\n", it->first.c_str());
    it->second.print();
  }

  printf("song_name=%s\n", song_info.get_song_name());
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq 0x87ef(%rip), %rdi      # 0x103cd
movb $0x0, %al
callq 0x2060
movq -0x68(%rbp), %rdi
addq $0xa8, %rdi
callq 0x8a10
movq %rax, -0x10(%rbp)
movq -0x68(%rbp), %rdi
addq $0xa8, %rdi
callq 0x8a70
movq %rax, -0x18(%rbp)
leaq -0x10(%rbp), %rdi
leaq -0x18(%rbp), %rsi
callq 0x8a40
testb $0x1, %al
jne 0x7c20
jmp 0x7c70
leaq -0x10(%rbp), %rdi
callq 0x8aa0
movq %rax, %rdi
callq 0x2100
movq %rax, -0x70(%rbp)
leaq -0x10(%rbp), %rdi
callq 0x8aa0
movq %rax, %rdi
addq $0x20, %rdi
callq 0x2100
movq -0x70(%rbp), %rsi
movq %rax, %rdx
leaq 0x877f(%rip), %rdi      # 0x103d7
movb $0x0, %al
callq 0x2060
leaq -0x10(%rbp), %rdi
xorl %esi, %esi
callq 0x8ac0
movq %rax, -0x20(%rbp)
jmp 0x7bf9
leaq 0x876b(%rip), %rdi      # 0x103e2
movb $0x0, %al
callq 0x2060
movq -0x68(%rbp), %rdi
addq $0xd8, %rdi
callq 0x8b00
movq %rax, -0x28(%rbp)
movq -0x68(%rbp), %rdi
addq $0xd8, %rdi
callq 0x8b60
movq %rax, -0x30(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x8b30
testb $0x1, %al
jne 0x7cb9
jmp 0x7d01
leaq -0x28(%rbp), %rdi
callq 0x8b90
movl (%rax), %eax
movl %eax, -0x74(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x8b90
movq %rax, %rdi
addq $0x8, %rdi
callq 0x2100
movl -0x74(%rbp), %esi
movq %rax, %rdx
leaq 0x8704(%rip), %rdi      # 0x103ed
movb $0x0, %al
callq 0x2060
leaq -0x28(%rbp), %rdi
xorl %esi, %esi
callq 0x8bb0
movq %rax, -0x38(%rbp)
jmp 0x7c92
movq -0x68(%rbp), %rdi
addq $0xd8, %rdi
callq 0x8bf0
movl %eax, -0x3c(%rbp)
movl $0x0, -0x40(%rbp)
movl -0x40(%rbp), %eax
cmpl -0x3c(%rbp), %eax
jge 0x7d5f
movq -0x68(%rbp), %rdi
addq $0xd8, %rdi
leaq -0x40(%rbp), %rsi
callq 0x8c10
movq -0x68(%rbp), %rdi
movq %rax, -0x48(%rbp)
addq $0x78, %rdi
movq -0x48(%rbp), %rsi
callq 0x8cf0
movq %rax, %rdi
callq 0x3920
movl -0x40(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
jmp 0x7d1b
leaq 0x8691(%rip), %rdi      # 0x103f7
movb $0x0, %al
callq 0x2060
movq -0x68(%rbp), %rdi
addq $0x48, %rdi
callq 0x8dd0
movq %rax, -0x50(%rbp)
movq -0x68(%rbp), %rdi
addq $0x48, %rdi
callq 0x8e30
movq %rax, -0x58(%rbp)
leaq -0x50(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x8e00
testb $0x1, %al
jne 0x7da2
jmp 0x7dea
leaq -0x50(%rbp), %rdi
callq 0x8e60
movq %rax, %rdi
callq 0x2100
movq %rax, %rsi
leaq 0x8645(%rip), %rdi      # 0x10402
movb $0x0, %al
callq 0x2060
leaq -0x50(%rbp), %rdi
callq 0x8e60
movq %rax, %rdi
addq $0x20, %rdi
callq 0x46b0
leaq -0x50(%rbp), %rdi
xorl %esi, %esi
callq 0x8e80
movq %rax, -0x60(%rbp)
jmp 0x7d7e
movq -0x68(%rbp), %rdi
callq 0x8ec0
movq %rax, %rsi
leaq 0x8611(%rip), %rdi      # 0x1040e
movb $0x0, %al
callq 0x2060
addq $0x80, %rsp
popq %rbp
retq
nopl (%rax)