// File: lvandeve[P]lodepng/pngdetail.cpp
// Function: showSingleLineSummary(Data&, Options const&)
void showSingleLineSummary(Data& data, const Options& options) {
  data.loadInspect();
  if(data.error && data.error != 57) return; // CRC error (57) ignored here for parsing of header only
  std::cout << (options.use_hex ? std::hex: std::dec);
  std::cout << "Filesize: " << data.buffer.size() << " (" << data.buffer.size() / 1024 << "K)";
  if(data.is_icc) {
    std::cout << ", not a PNG but an ICC profile, use -i to expand ICC profile info." << std::endl;
    return;
  }
  if(data.is_exif) {
    std::cout << ", not a PNG but an EXIF file, use -e to expand EXIF file info." << std::endl;
    return;
  }

  std::cout << ", " << data.w << "x" << data.h << ", ";
  std::cout << "Color: " << colorTypeString(data.state.info_png.color.colortype) << ", " << data.state.info_png.color.bitdepth << " bit" << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
callq 0x317c0
movq -0x8(%rbp), %rax
cmpl $0x0, 0x2d8(%rax)
je 0x2c01b
movq -0x8(%rbp), %rax
cmpl $0x39, 0x2d8(%rax)
je 0x2c01b
jmp 0x2c22a
movq -0x10(%rbp), %rax
testb $0x1, 0x24(%rax)
je 0x2c032
leaq 0x5c24(%rip), %rax      # 0x31c50
movq %rax, -0x48(%rbp)
jmp 0x2c03f
leaq 0x5c47(%rip), %rax      # 0x31c80
movq %rax, -0x48(%rbp)
jmp 0x2c03f
movq -0x48(%rbp), %rsi
movq 0x1af86(%rip), %rdi     # 0x46fd0
callq 0x20b0
movq 0x1af7a(%rip), %rdi     # 0x46fd0
leaq 0xe7ee(%rip), %rsi      # 0x3a84b
callq 0x2250
movq %rax, -0x58(%rbp)
movq -0x8(%rbp), %rdi
addq $0x20, %rdi
callq 0x19370
movq -0x58(%rbp), %rdi
movq %rax, %rsi
callq 0x2080
movq %rax, %rdi
leaq 0xed05(%rip), %rsi      # 0x3ad8e
callq 0x2250
movq %rax, -0x50(%rbp)
movq -0x8(%rbp), %rdi
addq $0x20, %rdi
callq 0x19370
movq -0x50(%rbp), %rdi
movq %rax, %rsi
shrq $0xa, %rsi
callq 0x2080
movq %rax, %rdi
leaq 0xe79d(%rip), %rsi      # 0x3a856
callq 0x2250
movq -0x8(%rbp), %rax
testb $0x1, 0x2de(%rax)
je 0x2c0f2
movq 0x1aefe(%rip), %rdi     # 0x46fd0
leaq 0xe780(%rip), %rsi      # 0x3a859
callq 0x2250
movq %rax, %rdi
movq 0x1aed8(%rip), %rsi     # 0x46fc0
callq 0x22a0
jmp 0x2c22a
movq -0x8(%rbp), %rax
testb $0x1, 0x2df(%rax)
je 0x2c126
movq 0x1aeca(%rip), %rdi     # 0x46fd0
leaq 0xe78f(%rip), %rsi      # 0x3a89c
callq 0x2250
movq %rax, %rdi
movq 0x1aea4(%rip), %rsi     # 0x46fc0
callq 0x22a0
jmp 0x2c22a
movq 0x1aea3(%rip), %rdi     # 0x46fd0
movq %rdi, -0x78(%rbp)
leaq 0xe846(%rip), %rsi      # 0x3a97e
movq %rsi, -0x80(%rbp)
callq 0x2250
movq %rax, %rdi
movq -0x8(%rbp), %rax
movl 0x50(%rax), %esi
callq 0x2340
movq %rax, %rdi
leaq 0xf08b(%rip), %rsi      # 0x3b1e5
callq 0x2250
movq %rax, %rdi
movq -0x8(%rbp), %rax
movl 0x54(%rax), %esi
callq 0x2340
movq -0x80(%rbp), %rsi
movq %rax, %rdi
callq 0x2250
movq -0x78(%rbp), %rdi
leaq 0xe756(%rip), %rsi      # 0x3a8db
callq 0x2250
movq %rax, -0x70(%rbp)
movq -0x8(%rbp), %rax
movl 0x138(%rax), %esi
leaq -0x30(%rbp), %rdi
movq %rdi, -0x68(%rbp)
callq 0x27c30
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0x2210
movq %rax, -0x60(%rbp)
jmp 0x2c1b8
movq -0x60(%rbp), %rdi
leaq 0xe7bb(%rip), %rsi      # 0x3a97e
callq 0x2250
movq %rax, -0x88(%rbp)
jmp 0x2c1d1
movq -0x88(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x13c(%rax), %esi
callq 0x2340
movq %rax, -0x90(%rbp)
jmp 0x2c1f0
movq -0x90(%rbp), %rdi
leaq 0xe6e5(%rip), %rsi      # 0x3a8e3
callq 0x2250
movq %rax, -0x98(%rbp)
jmp 0x2c20c
movq -0x98(%rbp), %rdi
movq 0x1ada6(%rip), %rsi     # 0x46fc0
callq 0x22a0
jmp 0x2c221
leaq -0x30(%rbp), %rdi
callq 0x2170
addq $0xa0, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x2170
jmp 0x2c24a
jmp 0x2c24c
movq -0x38(%rbp), %rdi
callq 0x2430
movq %rax, %rdi
callq 0x19400
nopl (%rax)