// File: lvandeve[P]lodepng/lodepng_unittest.cpp
// Function: testDiskPNG(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void testDiskPNG(const std::string& filename) {
  std::cout << "testDiskPNG: File " << filename << std::endl;

  Image image;
  image.colorType = LCT_RGB;
  image.bitDepth = 8;
  unsigned error = lodepng::decode(image.data, image.width, image.height, filename, image.colorType, image.bitDepth);
  ASSERT_NO_PNG_ERROR(error);

  doCodecTest(image);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp            # imm = 0x160
movq %rdi, -0x8(%rbp)
movq 0xbffb2(%rip), %rdi     # 0xf7fd8
leaq 0x7bbd0(%rip), %rsi     # 0xb3bfd
callq 0x3230
movq %rax, %rdi
movq -0x8(%rbp), %rsi
callq 0x3200
movq %rax, %rdi
movq 0xbff78(%rip), %rsi     # 0xf7fc0
callq 0x3280
leaq -0x30(%rbp), %rdi
movq %rdi, -0x128(%rbp)
callq 0xaaae0
movq -0x128(%rbp), %rdi
movl $0x2, -0x10(%rbp)
movl $0x8, -0xc(%rbp)
leaq -0x18(%rbp), %rsi
leaq -0x14(%rbp), %rdx
movq -0x8(%rbp), %rcx
movl -0x10(%rbp), %r8d
movl -0xc(%rbp), %r9d
callq 0x11ed0
movl %eax, -0x120(%rbp)
jmp 0x38093
movl -0x120(%rbp), %eax
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
movl %eax, -0x134(%rbp)
leaq -0xa9(%rbp), %rdi
movq %rdi, -0x130(%rbp)
callq 0x3440
movq -0x130(%rbp), %rdx
leaq 0x7b04f(%rip), %rsi     # 0xb3115
leaq -0xa8(%rbp), %rdi
callq 0x3340
jmp 0x380d4
leaq 0x7bb35(%rip), %rdx     # 0xb3c10
leaq -0x88(%rbp), %rdi
leaq -0xa8(%rbp), %rsi
callq 0xaa1b0
jmp 0x380f0
leaq -0xf1(%rbp), %rdi
movq %rdi, -0x140(%rbp)
callq 0x3440
movq -0x140(%rbp), %rdx
movb $0x0, -0xf3(%rbp)
movb $0x0, -0x11a(%rbp)
movb $0x0, -0x11b(%rbp)
leaq 0x7c3de(%rip), %rsi     # 0xb4504
leaq -0xf0(%rbp), %rdi
callq 0x3340
jmp 0x38134
leaq -0xf0(%rbp), %rdi
callq 0x33f0
movb %al, -0x141(%rbp)
jmp 0x38148
movb -0x141(%rbp), %al
testb $0x1, %al
jne 0x38154
jmp 0x3818c
leaq -0xf2(%rbp), %rdi
movq %rdi, -0x150(%rbp)
callq 0x3440
movq -0x150(%rbp), %rdx
movb $0x1, -0xf3(%rbp)
leaq 0x7c388(%rip), %rsi     # 0xb4504
leaq -0xd0(%rbp), %rdi
callq 0x3340
jmp 0x3818a
jmp 0x381e7
leaq -0x119(%rbp), %rdi
movq %rdi, -0x158(%rbp)
callq 0x3440
movq -0x158(%rbp), %rdx
movb $0x1, -0x11a(%rbp)
leaq 0x7c350(%rip), %rsi     # 0xb4504
leaq -0x118(%rbp), %rdi
callq 0x3340
jmp 0x381c2
movb $0x1, -0x11b(%rbp)
leaq 0x7e513(%rip), %rsi     # 0xb66e3
leaq -0xd0(%rbp), %rdi
leaq -0x118(%rbp), %rdx
callq 0xaa6d0
jmp 0x381e5
jmp 0x381e7
leaq -0x68(%rbp), %rdi
leaq -0x88(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
callq 0xaa240
jmp 0x38200
movl -0x134(%rbp), %edi
leaq -0x68(%rbp), %rsi
callq 0x28d30
jmp 0x38211
leaq -0x68(%rbp), %rdi
callq 0x34a8
jmp 0x3821c
leaq -0xd0(%rbp), %rdi
callq 0x34a8
jmp 0x3822a
testb $0x1, -0x11b(%rbp)
jne 0x38235
jmp 0x38245
leaq -0x118(%rbp), %rdi
callq 0x34a8
jmp 0x38243
jmp 0x38245
testb $0x1, -0x11a(%rbp)
jne 0x38250
jmp 0x3825c
leaq -0x119(%rbp), %rdi
callq 0x3290
testb $0x1, -0xf3(%rbp)
jne 0x38267
jmp 0x38273
leaq -0xf2(%rbp), %rdi
callq 0x3290
leaq -0xf0(%rbp), %rdi
callq 0x34a8
jmp 0x38281
leaq -0xf1(%rbp), %rdi
callq 0x3290
leaq -0x88(%rbp), %rdi
callq 0x34a8
jmp 0x3829b
leaq -0xa8(%rbp), %rdi
callq 0x34a8
jmp 0x382a9
leaq -0xa9(%rbp), %rdi
callq 0x3290
leaq -0x30(%rbp), %rdi
callq 0x30ea0
jmp 0x382c0
leaq -0x30(%rbp), %rdi
callq 0xaab00
addq $0x160, %rsp            # imm = 0x160
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x38422
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x38416
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x38406
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x383ea
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x383da
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x383c1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x383a8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x3838b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x3837b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x34a8
jmp 0x38379
jmp 0x3837b
leaq -0xd0(%rbp), %rdi
callq 0x34a8
jmp 0x38389
jmp 0x3838b
testb $0x1, -0x11b(%rbp)
jne 0x38396
jmp 0x383a6
leaq -0x118(%rbp), %rdi
callq 0x34a8
jmp 0x383a4
jmp 0x383a6
jmp 0x383a8
testb $0x1, -0x11a(%rbp)
jne 0x383b3
jmp 0x383bf
leaq -0x119(%rbp), %rdi
callq 0x3290
jmp 0x383c1
testb $0x1, -0xf3(%rbp)
jne 0x383cc
jmp 0x383d8
leaq -0xf2(%rbp), %rdi
callq 0x3290
jmp 0x383da
leaq -0xf0(%rbp), %rdi
callq 0x34a8
jmp 0x383e8
jmp 0x383ea
leaq -0xf1(%rbp), %rdi
callq 0x3290
leaq -0x88(%rbp), %rdi
callq 0x34a8
jmp 0x38404
jmp 0x38406
leaq -0xa8(%rbp), %rdi
callq 0x34a8
jmp 0x38414
jmp 0x38416
leaq -0xa9(%rbp), %rdi
callq 0x3290
leaq -0x30(%rbp), %rdi
callq 0xaab00
jmp 0x3842d
jmp 0x3842f
movq -0x40(%rbp), %rdi
callq 0x3430
movq %rax, %rdi
callq 0x1a490