// File: /workspace/github_cpp_makefile_star2_O1/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 %rdi, %r14
movq 0x25da8(%rip), %rbx     # 0x4de88
leaq 0x17005(%rip), %rsi     # 0x3f0ec
movl $0x12, %edx
movq %rbx, %rdi
callq 0x22480
movq (%r14), %r12
movq 0x8(%r14), %rax
movq %rax, (%rsp)
cmpq %rax, %r12
je 0x28298
leaq 0x8(%rsp), %rbp
movq 0x25e44(%rip), %r14     # 0x4df58
movl $0x2, %edx
movq %rbx, %rdi
leaq 0x16fdc(%rip), %rsi     # 0x3f0ff
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 0x281a4
movq %r13, %rdi
movq %r14, %rsi
movq 0x25ac5(%rip), %rdx     # 0x4dc18
movq $-0x1, %rcx
callq 0x22470
testq %rax, %rax
je 0x28175
movl $0x9, %edx
movq %rbx, %rdi
leaq 0x16f8f(%rip), %rsi     # 0x3f102
jmp 0x281b3
movq %r13, %rdi
movq %r14, %rsi
movq 0x25b16(%rip), %rdx     # 0x4dc98
movq $-0x1, %rcx
callq 0x22470
testq %rax, %rax
je 0x281a4
movl $0xb, %edx
movq %rbx, %rdi
leaq 0x16f6a(%rip), %rsi     # 0x3f10c
jmp 0x281b3
movl $0xa, %edx
movq %rbx, %rdi
leaq 0x16f65(%rip), %rsi     # 0x3f118
callq 0x22480
movq 0x20(%r13), %rax
cmpq 0x18(%r13), %rax
je 0x28263
movl $0x2, %edx
movq %rbx, %rdi
leaq 0x16f4e(%rip), %rsi     # 0x3f123
callq 0x22480
movq 0x18(%r13), %r15
movq 0x20(%r13), %r14
cmpq %r14, %r15
je 0x28248
movq %r14, %r13
subq %r15, %r13
shrq $0x3, %r13
decl %r13d
movq (%r15), %rsi
movq (%rsi), %rax
movq %rbp, %rdi
callq *(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x22480
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x28225
callq 0x22130
subl $0x1, %r13d
jb 0x2823f
movl $0x2, %edx
movq %rbx, %rdi
leaq 0x16eec(%rip), %rsi     # 0x3f126
callq 0x22480
addq $0x8, %r15
cmpq %r14, %r15
jne 0x281f4
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x17777(%rip), %rsi     # 0x3f9ce
callq 0x22480
movq 0x25cf5(%rip), %r14     # 0x4df58
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x22180
movsbl %al, %esi
movq %rbx, %rdi
callq 0x21060
movq %rax, %rdi
callq 0x21b80
addq $0x70, %r12
cmpq (%rsp), %r12
jne 0x28114
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x282be
callq 0x22130
movq %rbx, %rdi
callq 0x23170