// File: /workspace/github_c_makefile_star2_O0/Joy-Division[P]tools-mgs/lodepng/lodepng.c
// Function: lodepng_error_text
const char* lodepng_error_text(unsigned code)
{
  switch(code)
  {
    case 0: return "no error, everything went ok";
    case 1: return "nothing done yet"; /*the Encoder/Decoder has done nothing yet, error checking makes no sense yet*/
    case 10: return "end of input memory reached without huffman end code"; /*while huffman decoding*/
    case 11: return "error in code tree made it jump outside of huffman tree"; /*while huffman decoding*/
    case 13: return "problem while processing dynamic deflate block";
    case 14: return "problem while processing dynamic deflate block";
    case 15: return "problem while processing dynamic deflate block";
    case 16: return "unexisting code while processing dynamic deflate block";
    case 17: return "end of out buffer memory reached while inflating";
    case 18: return "invalid distance code while inflating";
    case 19: return "end of out buffer memory reached while inflating";
    case 20: return "invalid deflate block BTYPE encountered while decoding";
    case 21: return "NLEN is not ones complement of LEN in a deflate block";
     /*end of out buffer memory reached while inflating:
     This can happen if the inflated deflate data is longer than the amount of bytes required to fill up
     all the pixels of the image, given the color depth and image dimensions. Something that doesn't
     happen in a normal, well encoded, PNG image.*/
    case 22: return "end of out buffer memory reached while inflating";
    case 23: return "end of in buffer memory reached while inflating";
    case 24: return "invalid FCHECK in zlib header";
    case 25: return "invalid compression method in zlib header";
    case 26: return "FDICT encountered in zlib header while it's not used for PNG";
    case 27: return "PNG file is smaller than a PNG header";
    /*Checks the magic file header, the first 8 bytes of the PNG file*/
    case 28: return "incorrect PNG signature, it's no PNG or corrupted";
    case 29: return "first chunk is not the header chunk";
    case 30: return "chunk length too large, chunk broken off at end of file";
    case 31: return "illegal PNG color type or bpp";
    case 32: return "illegal PNG compression method";
    case 33: return "illegal PNG filter method";
    case 34: return "illegal PNG interlace method";
    case 35: return "chunk length of a chunk is too large or the chunk too small";
    case 36: return "illegal PNG filter type encountered";
    case 37: return "illegal bit depth for this color type given";
    case 38: return "the palette is too big"; /*more than 256 colors*/
    case 39: return "more palette alpha values given in tRNS chunk than there are colors in the palette";
    case 40: return "tRNS chunk has wrong size for greyscale image";
    case 41: return "tRNS chunk has wrong size for RGB image";
    case 42: return "tRNS chunk appeared while it was not allowed for this color type";
    case 43: return "bKGD chunk has wrong size for palette image";
    case 44: return "bKGD chunk has wrong size for greyscale image";
    case 45: return "bKGD chunk has wrong size for RGB image";
    case 48: return "empty input buffer given to decoder. Maybe caused by non-existing file?";
    case 49: return "jumped past memory while generating dynamic huffman tree";
    case 50: return "jumped past memory while generating dynamic huffman tree";
    case 51: return "jumped past memory while inflating huffman block";
    case 52: return "jumped past memory while inflating";
    case 53: return "size of zlib data too small";
    case 54: return "repeat symbol in tree while there was no value symbol yet";
    /*jumped past tree while generating huffman tree, this could be when the
    tree will have more leaves than symbols after generating it out of the
    given lenghts. They call this an oversubscribed dynamic bit lengths tree in zlib.*/
    case 55: return "jumped past tree while generating huffman tree";
    case 56: return "given output image colortype or bitdepth not supported for color conversion";
    case 57: return "invalid CRC encountered (checking CRC can be disabled)";
    case 58: return "invalid ADLER32 encountered (checking ADLER32 can be disabled)";
    case 59: return "requested color conversion not supported";
    case 60: return "invalid window size given in the settings of the encoder (must be 0-32768)";
    case 61: return "invalid BTYPE given in the settings of the encoder (only 0, 1 and 2 are allowed)";
    /*LodePNG leaves the choice of RGB to greyscale conversion formula to the user.*/
    case 62: return "conversion from color to greyscale not supported";
    case 63: return "length of a chunk too long, max allowed for PNG is 2147483647 bytes per chunk"; /*(2^31-1)*/
    /*this would result in the inability of a deflated block to ever contain an end code. It must be at least 1.*/
    case 64: return "the length of the END symbol 256 in the Huffman tree is 0";
    case 66: return "the length of a text chunk keyword given to the encoder is longer than the maximum of 79 bytes";
    case 67: return "the length of a text chunk keyword given to the encoder is smaller than the minimum of 1 byte";
    case 68: return "tried to encode a PLTE chunk with a palette that has less than 1 or more than 256 colors";
    case 69: return "unknown chunk type with 'critical' flag encountered by the decoder";
    case 71: return "unexisting interlace mode given to encoder (must be 0 or 1)";
    case 72: return "while decoding, unexisting compression method encountering in zTXt or iTXt chunk (it must be 0)";
    case 73: return "invalid tIME chunk size";
    case 74: return "invalid pHYs chunk size";
    /*length could be wrong, or data chopped off*/
    case 75: return "no null termination char found while decoding text chunk";
    case 76: return "iTXt chunk too short to contain required bytes";
    case 77: return "integer overflow in buffer size";
    case 78: return "failed to open file for reading"; /*file doesn't exist or couldn't be opened for reading*/
    case 79: return "failed to open file for writing";
    case 80: return "tried creating a tree of 0 symbols";
    case 81: return "lazy matching at pos 0 is impossible";
    case 82: return "color conversion to palette requested while a color isn't in palette";
    case 83: return "memory allocation failed";
    case 84: return "given image too small to contain all pixels to be encoded";
    case 86: return "impossible offset in lz77 encoding (internal bug)";
    case 87: return "must provide custom zlib function pointer if LODEPNG_COMPILE_ZLIB is not defined";
    case 88: return "invalid filter strategy given for LodePNGEncoderSettings.filter_strategy";
    case 89: return "text chunk keyword too short or long: must have size 1-79";
    /*the windowsize in the LodePNGCompressSettings. Requiring POT(==> & instead of %) makes encoding 12% faster.*/
    case 90: return "windowsize must be a power of two";
    case 91: return "invalid decompressed idat size";
    case 92: return "too many pixels, not supported";
    case 93: return "zero width or height is invalid";
    case 94: return "header chunk must have a size of 13 bytes";
  }
  return "unknown error code";
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edi, -0xc(%rbp)
movl -0xc(%rbp), %eax
movq %rax, -0x18(%rbp)
subq $0x5e, %rax
ja 0xa481
movq -0x18(%rbp), %rax
leaq 0xa0c5(%rip), %rcx      # 0x14048
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0xa5b2(%rip), %rax      # 0x14545
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa5bf(%rip), %rax      # 0x14562
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa5c0(%rip), %rax      # 0x14573
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa5e5(%rip), %rax      # 0x145a8
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa60d(%rip), %rax      # 0x145e0
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa5fd(%rip), %rax      # 0x145e0
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa5ed(%rip), %rax      # 0x145e0
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa60c(%rip), %rax      # 0x1460f
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa633(%rip), %rax      # 0x14646
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa654(%rip), %rax      # 0x14677
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa613(%rip), %rax      # 0x14646
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa65a(%rip), %rax      # 0x1469d
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa681(%rip), %rax      # 0x146d4
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa5e3(%rip), %rax      # 0x14646
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa697(%rip), %rax      # 0x1470a
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa6b7(%rip), %rax      # 0x1473a
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa6c5(%rip), %rax      # 0x14758
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa6df(%rip), %rax      # 0x14782
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa70c(%rip), %rax      # 0x147bf
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa722(%rip), %rax      # 0x147e5
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa744(%rip), %rax      # 0x14817
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa758(%rip), %rax      # 0x1483b
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa780(%rip), %rax      # 0x14873
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa78e(%rip), %rax      # 0x14891
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa79d(%rip), %rax      # 0x148b0
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa7a7(%rip), %rax      # 0x148ca
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa7b4(%rip), %rax      # 0x148e7
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa7e0(%rip), %rax      # 0x14923
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa7f4(%rip), %rax      # 0x14947
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa810(%rip), %rax      # 0x14973
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa817(%rip), %rax      # 0x1498a
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa85a(%rip), %rax      # 0x149dd
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa878(%rip), %rax      # 0x14a0b
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa890(%rip), %rax      # 0x14a33
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa8c1(%rip), %rax      # 0x14a74
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa8dd(%rip), %rax      # 0x14aa0
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa8fb(%rip), %rax      # 0x14ace
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa913(%rip), %rax      # 0x14af6
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa94b(%rip), %rax      # 0x14b3e
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa93b(%rip), %rax      # 0x14b3e
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa964(%rip), %rax      # 0x14b77
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa985(%rip), %rax      # 0x14ba8
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa998(%rip), %rax      # 0x14bcb
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa9a4(%rip), %rax      # 0x14be7
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa9ce(%rip), %rax      # 0x14c21
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xa9ed(%rip), %rax      # 0x14c50
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xaa29(%rip), %rax      # 0x14c9c
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xaa50(%rip), %rax      # 0x14cd3
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xaa7f(%rip), %rax      # 0x14d12
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xaa98(%rip), %rax      # 0x14d3b
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xaad3(%rip), %rax      # 0x14d86
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xab14(%rip), %rax      # 0x14dd7
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xab35(%rip), %rax      # 0x14e08
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xab73(%rip), %rax      # 0x14e56
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xab9d(%rip), %rax      # 0x14e90
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xabec(%rip), %rax      # 0x14eef
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xac3a(%rip), %rax      # 0x14f4d
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xac83(%rip), %rax      # 0x14fa6
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xacb6(%rip), %rax      # 0x14fe9
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xace2(%rip), %rax      # 0x15025
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xad32(%rip), %rax      # 0x15085
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xad3a(%rip), %rax      # 0x1509d
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xad42(%rip), %rax      # 0x150b5
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xad6b(%rip), %rax      # 0x150ee
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xad8a(%rip), %rax      # 0x1511d
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xad9a(%rip), %rax      # 0x1513d
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xadaa(%rip), %rax      # 0x1515d
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xadba(%rip), %rax      # 0x1517d
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xadcd(%rip), %rax      # 0x151a0
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xade2(%rip), %rax      # 0x151c5
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xae17(%rip), %rax      # 0x1520a
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xae20(%rip), %rax      # 0x15223
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xae4a(%rip), %rax      # 0x1525d
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xae6f(%rip), %rax      # 0x1528f
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xaeb3(%rip), %rax      # 0x152e0
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xaeef(%rip), %rax      # 0x15329
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xaf1c(%rip), %rax      # 0x15363
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xaf31(%rip), %rax      # 0x15385
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xaf43(%rip), %rax      # 0x153a4
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xaf55(%rip), %rax      # 0x153c3
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xaf68(%rip), %rax      # 0x153e3
movq %rax, -0x8(%rbp)
jmp 0xa48c
leaq 0xaf85(%rip), %rax      # 0x1540d
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
popq %rbp
retq
nopw %cs:(%rax,%rax)