// File: /workspace/github_cpp_makefile_star2_O1/kztomita[P]http-dump/dump.cc
// Function: (anonymous namespace)::out_line(char const*, char const*, bool)
void out_line(const char* start, const char* end, bool snipped) {
  std::ostringstream octets;
  std::string chars;

  octets << std::hex;
  for (auto p = start ; p < end ; p++) {
    octets << std::setw(2) << std::setfill('0') << (static_cast<int>(*p) & 0xff) << " ";

    if (*p >= 0x20 && *p <= 0x7e) {
      chars += *p;
    } else {
      chars += ".";
    }
  }
  if (snipped) {
    octets << "snipped...";
  }

  std::ostringstream line;
  line << std::left << std::setw(16*3 + 2) << octets.str() << chars;

  std::cout << line.str() <<  std::endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x338, %rsp            # imm = 0x338
movl %edx, 0x4(%rsp)
movq %rsi, %r14
movq %rdi, %r15
leaq 0x48(%rsp), %rbx
movq %rbx, %rdi
callq 0xb8c0
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq (%rbx), %rax
movq -0x18(%rax), %rax
movl 0x60(%rsp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x60(%rsp,%rax)
cmpq %r14, %r15
jae 0x31168
leaq 0x48(%rsp), %r12
leaq 0x36c6(%rip), %r13      # 0x34792
leaq 0x28(%rsp), %rbx
movq 0x48(%rsp), %rax
movq -0x18(%rax), %rcx
movq $0x2, 0x58(%rsp,%rcx)
movq -0x18(%rax), %rax
leaq (%rsp,%rax), %rbp
addq $0x48, %rbp
cmpb $0x0, 0xe1(%rbp)
jne 0x31112
movq %rbp, %rdi
movl $0x20, %esi
callq 0xb5b0
movb %al, 0xe0(%rbp)
movb $0x1, 0xe1(%rbp)
movb $0x30, 0xe0(%rbp)
movzbl (%r15), %esi
movq %r12, %rdi
callq 0xbb80
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0xb730
movb (%r15), %al
leal -0x7f(%rax), %ecx
cmpb $-0x5f, %cl
jae 0x31151
movq %rbx, %rdi
leaq 0x2e30(%rip), %rsi      # 0x33f7a
callq 0xbcf0
jmp 0x3115c
movsbl %al, %esi
movq %rbx, %rdi
callq 0xb540
incq %r15
cmpq %r14, %r15
jne 0x310d1
cmpb $0x0, 0x4(%rsp)
je 0x31185
leaq 0x4aa2(%rip), %rsi      # 0x35c18
leaq 0x48(%rsp), %rdi
movl $0xa, %edx
callq 0xb730
leaq 0x1c0(%rsp), %rdi
callq 0xb8c0
movq 0x1c0(%rsp), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %edx       # imm = 0xFFFFFF4F
andl 0x1d8(%rsp,%rcx), %edx
orl $0x20, %edx
movl %edx, 0x1d8(%rsp,%rcx)
movq -0x18(%rax), %rax
movq $0x32, 0x1d0(%rsp,%rax)
leaq 0x50(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0xba80
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
leaq 0x1c0(%rsp), %rdi
callq 0xb730
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0xb730
leaq 0x18(%rsp), %r14
movq -0x10(%r14), %rdi
cmpq %r14, %rdi
je 0x31217
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb600
leaq 0x1c8(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0xba80
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x16d4e(%rip), %rdi     # 0x47f88
callq 0xb730
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0xb5b0
movsbl %al, %esi
movq %rbx, %rdi
callq 0xb050
movq %rax, %rdi
callq 0xb450
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x31280
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb600
movq 0x16ce1(%rip), %rsi     # 0x47f68
leaq 0x1c0(%rsp), %rdi
callq 0xb380
leaq 0x230(%rsp), %rdi
callq 0xb1f0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x312bd
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb600
movq 0x16ca4(%rip), %rsi     # 0x47f68
leaq 0x48(%rsp), %rdi
callq 0xb380
leaq 0xb8(%rsp), %rdi
callq 0xb1f0
addq $0x338, %rsp            # imm = 0x338
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x31348
jmp 0x312f1
movq %rax, %rbx
jmp 0x31325
jmp 0x31348
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x31318
jmp 0x31325
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x31325
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb600
movq 0x16c3c(%rip), %rsi     # 0x47f68
leaq 0x1c0(%rsp), %rdi
callq 0xb380
leaq 0x230(%rsp), %rdi
callq 0xb1f0
jmp 0x3134b
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x31367
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb600
movq 0x16bfa(%rip), %rsi     # 0x47f68
leaq 0x48(%rsp), %rdi
callq 0xb380
leaq 0xb8(%rsp), %rdi
callq 0xb1f0
movq %rbx, %rdi
callq 0xbbb0