// File: lvandeve[P]lodepng/lodepng_unittest.cpp
// Function: assertNoPNGError(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void assertNoPNGError(unsigned error, const std::string& message = "") {
  if(error) {
    std::string msg = (message == "") ? lodepng_error_text(error)
                                      : message + std::string(": ") + lodepng_error_text(error);
    assertEquals(0, error, msg);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
cmpl $0x0, -0x4(%rbp)
je 0x28f88
movq -0x10(%rbp), %rdi
leaq 0x8b7ad(%rip), %rsi     # 0xb4504
callq 0x232b0
movb $0x0, -0x32(%rbp)
movb $0x0, -0x8a(%rbp)
movb $0x0, -0x8b(%rbp)
movb $0x0, -0x8c(%rbp)
testb $0x1, %al
jne 0x28d7b
jmp 0x28dbc
movl -0x4(%rbp), %edi
callq 0x10eb0
movq %rax, -0xa0(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0x98(%rbp)
callq 0x3440
movq -0xa0(%rbp), %rsi
movq -0x98(%rbp), %rdx
movb $0x1, -0x32(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x3340
jmp 0x28db7
jmp 0x28e4d
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x89(%rbp), %rdi
movq %rdi, -0xa8(%rbp)
callq 0x3440
movq -0xa8(%rbp), %rdx
movb $0x1, -0x8a(%rbp)
leaq 0x8d8f4(%rip), %rsi     # 0xb66e3
leaq -0x88(%rbp), %rdi
callq 0x3340
jmp 0x28dfd
movq -0xb0(%rbp), %rsi
movb $0x1, -0x8b(%rbp)
leaq -0x68(%rbp), %rdi
leaq -0x88(%rbp), %rdx
callq 0xaa240
jmp 0x28e1d
movb $0x1, -0x8c(%rbp)
movl -0x4(%rbp), %edi
callq 0x10eb0
movq %rax, -0xb8(%rbp)
jmp 0x28e35
movq -0xb8(%rbp), %rdx
leaq -0x30(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0xaa1b0
jmp 0x28e4b
jmp 0x28e4d
testb $0x1, -0x8c(%rbp)
jne 0x28e58
jmp 0x28e65
leaq -0x68(%rbp), %rdi
callq 0x34a8
jmp 0x28e63
jmp 0x28e65
testb $0x1, -0x8b(%rbp)
jne 0x28e70
jmp 0x28e80
leaq -0x88(%rbp), %rdi
callq 0x34a8
jmp 0x28e7e
jmp 0x28e80
testb $0x1, -0x8a(%rbp)
jne 0x28e8b
jmp 0x28e97
leaq -0x89(%rbp), %rdi
callq 0x3290
testb $0x1, -0x32(%rbp)
jne 0x28e9f
jmp 0x28ea8
leaq -0x31(%rbp), %rdi
callq 0x3290
movl $0x0, -0x90(%rbp)
leaq -0x90(%rbp), %rdi
leaq -0x4(%rbp), %rsi
leaq -0x30(%rbp), %rdx
callq 0xaa2d0
jmp 0x28ec8
leaq -0x30(%rbp), %rdi
callq 0x34a8
jmp 0x28f88
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x28f5c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x28f43
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x28f26
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
testb $0x1, -0x8c(%rbp)
jne 0x28f17
jmp 0x28f24
leaq -0x68(%rbp), %rdi
callq 0x34a8
jmp 0x28f22
jmp 0x28f24
jmp 0x28f26
testb $0x1, -0x8b(%rbp)
jne 0x28f31
jmp 0x28f41
leaq -0x88(%rbp), %rdi
callq 0x34a8
jmp 0x28f3f
jmp 0x28f41
jmp 0x28f43
testb $0x1, -0x8a(%rbp)
jne 0x28f4e
jmp 0x28f5a
leaq -0x89(%rbp), %rdi
callq 0x3290
jmp 0x28f5c
testb $0x1, -0x32(%rbp)
jne 0x28f64
jmp 0x28f6d
leaq -0x31(%rbp), %rdi
callq 0x3290
jmp 0x28f91
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x34a8
jmp 0x28f86
jmp 0x28f91
addq $0xc0, %rsp
popq %rbp
retq
movq -0x40(%rbp), %rdi
callq 0x3430
movq %rax, %rdi
callq 0x1a490
nopw %cs:(%rax,%rax)