// File: /workspace/github_cpp_makefile_star2_O3/alfanick[P]rest-cpp/src/rest/router.cpp
// Function: REST::Router::print()
void Router::print() {
    std::cout << "Available routes:\n";

    for (auto& r : routes) {
      std::cout << "  " << std::get<1>(r);

      auto service = std::get<2>(r)[0];

      if (dynamic_cast< LambdaService* >(service) != nullptr) {
        std::cout << " - lambda";
      } else
      if (dynamic_cast< Resource* >(service) != nullptr) {
        std::cout << " - resource";
      } else {
        std::cout << " - service";
      }

      if (service->features.size() > 0) {
        std::cout << " (";
        int s = service->features.size();

        for (auto feature : service->features) {
          std::cout << feature->feature_name();
          if (--s)
            std::cout << ", ";
        }
        std::cout << ")";
      }

      std::cout << std::endl;
    }
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq 0x24e4b(%rip), %rbx     # 0x4ce88
leaq 0x160a8(%rip), %rsi     # 0x3e0ec
movl $0x12, %edx
movq %rdi, %r14
movq %rbx, %rdi
callq 0x22480
movq 0x8(%r14), %rax
movq (%r14), %r12
movq %rax, (%rsp)
cmpq %rax, %r12
je 0x281f8
movq 0x24ee9(%rip), %r14     # 0x4cf58
leaq 0x8(%rsp), %rbp
movl $0x2, %edx
leaq 0x1607f(%rip), %rsi     # 0x3e0ff
movq %rbx, %rdi
callq 0x22480
movq 0x18(%r12), %rsi
movq 0x20(%r12), %rdx
movq %rbx, %rdi
callq 0x22480
movq (%r12), %rax
movq (%rax), %r13
testq %r13, %r13
je 0x28104
movq 0x24b6b(%rip), %rdx     # 0x4cc18
movq $-0x1, %rcx
movq %r13, %rdi
movq %r14, %rsi
callq 0x22470
testq %rax, %rax
je 0x280d5
movl $0x9, %edx
movq %rbx, %rdi
leaq 0x1602f(%rip), %rsi     # 0x3e102
jmp 0x28113
movq 0x24bbc(%rip), %rdx     # 0x4cc98
movq $-0x1, %rcx
movq %r13, %rdi
movq %r14, %rsi
callq 0x22470
testq %rax, %rax
je 0x28104
movl $0xb, %edx
movq %rbx, %rdi
leaq 0x1600a(%rip), %rsi     # 0x3e10c
jmp 0x28113
movl $0xa, %edx
leaq 0x16008(%rip), %rsi     # 0x3e118
movq %rbx, %rdi
callq 0x22480
movq 0x20(%r13), %rax
cmpq 0x18(%r13), %rax
je 0x281c3
movl $0x2, %edx
leaq 0x15ff1(%rip), %rsi     # 0x3e123
movq %rbx, %rdi
callq 0x22480
movq 0x18(%r13), %r15
movq 0x20(%r13), %r14
cmpq %r14, %r15
je 0x281a8
movq %r14, %r13
subq %r15, %r13
shrq $0x3, %r13
decl %r13d
movq (%r15), %rsi
movq %rbp, %rdi
movq (%rsi), %rax
callq *(%rax)
movq 0x10(%rsp), %rdx
movq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x22480
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x28185
callq 0x22130
subl $0x1, %r13d
jb 0x2819f
movl $0x2, %edx
leaq 0x15f8f(%rip), %rsi     # 0x3e126
movq %rbx, %rdi
callq 0x22480
addq $0x8, %r15
cmpq %r14, %r15
jne 0x28154
movl $0x1, %edx
leaq 0x1681a(%rip), %rsi     # 0x3e9ce
movq %rbx, %rdi
callq 0x22480
movq 0x24d95(%rip), %r14     # 0x4cf58
movq (%rbx), %rax
movl $0xa, %esi
movq -0x18(%rax), %rdi
addq %rbx, %rdi
callq 0x22180
movsbl %al, %esi
movq %rbx, %rdi
callq 0x21060
movq %rax, %rdi
callq 0x21b80
addq $0x70, %r12
cmpq (%rsp), %r12
jne 0x28074
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%rsp), %rdi
movq %rax, %rbx
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x2821e
callq 0x22130
movq %rbx, %rdi
callq 0x23160