// File: /workspace/github_cpp_makefile_star2_O2/mbourand[P]webserv/srcs/Utils/Utils.cpp
// Function: ft::getErrorMessage[abi:cxx11](int)
std::string ft::getErrorMessage(int code)
{
	switch (code)
	{
		case 100: return "Continue";
		case 101: return "Switching Protocols";
		case 102: return "Processing";
		case 103: return "Early Hints";
		case 200: return "OK";
		case 201: return "Created";
		case 202: return "Accepted";
		case 203: return "Non-Authoritative Information";
		case 204: return "No Content";
		case 205: return "Reset Content";
		case 206: return "Partial Content";
		case 207: return "Multi-Status";
		case 208: return "Already Reported";
		case 210: return "Content Different";
		case 226: return "IM Used";
		case 300: return "Multiple choices";
		case 301: return "Moved Permanently";
		case 302: return "Found";
		case 303: return "See Other";
		case 304: return "Not Modified";
		case 305: return "Use Proxy";
		case 306: return "Switch Proxy";
		case 307: return "Temporary Redirect";
		case 308: return "Permanent Redirect";
		case 310: return "Too Many Redirects";
		case 400: return "Bad Request";
		case 401: return "Unauthorized";
		case 402: return "Payment Required";
		case 403: return "Forbidden";
		case 404: return "Not Found";
		case 405: return "Method Not Allowed";
		case 406: return "Not Acceptable";
		case 407: return "Proxy Authentication Required";
		case 408: return "Request Time-out";
		case 409: return "Conflict";
		case 410: return "Gone";
		case 411: return "Length Required";
		case 412: return "Precondition Failed";
		case 413: return "Request Entity Too Large";
		case 414: return "Request-URI Too Long";
		case 415: return "Unsupported Media Type";
		case 416: return "Requested range unsatisfiable";
		case 417: return "Expectation failed";
		case 418: return "I'm a teapot";
		case 421: return "Bad mapping / Misdirected Request";
		case 422: return "Unprocessable entity";
		case 423: return "Locked";
		case 424: return "Method failure";
		case 425: return "Too Early";
		case 426: return "Upgrade Required";
		case 428: return "Precondition Required";
		case 429: return "Too Many Requests";
		case 431: return "Request Header Fields Too Large";
		case 449: return "Retry With";
		case 450: return "Blocked by Windows Parental Controls";
		case 451: return "Unavailable For Legal Reasons";
		case 456: return "Unrecoverable Error";
		case 444: return "No Response";
		case 495: return "SSL Certificate Error";
		case 496: return "SSL Certificate Required";
		case 497: return "HTTP Request Sent to HTTPS Port";
		case 498: return "Token expired/invalid";
		case 499: return "Client Closed Request";
		case 500: return "Internal Server Error";
		case 501: return "Not Implemented";
		case 502: return "Bad Gateway";
		case 503: return "Service Unavailable";
		case 505: return "HTTP Version not supported";
		case 506: return "Variant Also Negociates";
		case 507: return "Insufficient Storage";
		case 508: return "Loop Detected";
		case 509: return "Bandwidth Limit Exceeded";
		case 510: return "Not extended";
		case 511: return "Network Authentication Required";
		case 520: return "Unknown Error";
		case 521: return "Web server is down";
		case 522: return "Connection Timed Out";
		case 523: return "Origin Is Unreachable";
		case 524: return "A Timeout Occured";
		case 525: return "SSL Handshake Failed";
		case 526: return "Invalid SSL Certificate";
		case 527: return "Railgun Error";
		default: return "Unknown Error";
	}
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leal -0x190(%rsi), %eax
cmpl $0x7f, %eax
ja 0x17412
leaq 0x15b8f(%rip), %rcx     # 0x2cf8c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x15f34(%rip), %rsi     # 0x2d341
jmp 0x177fd
leal -0xc8(%rsi), %eax
cmpl $0x1a, %eax
jbe 0x17444
leal -0x12c(%rsi), %eax
cmpl $0xa, %eax
ja 0x17460
leaq 0x15b31(%rip), %rcx     # 0x2cf60
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x15e78(%rip), %rsi     # 0x2d2b7
jmp 0x177fd
leaq 0x15aa9(%rip), %rcx     # 0x2cef4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x15dc9(%rip), %rsi     # 0x2d224
jmp 0x177fd
addl $-0x64, %esi
cmpl $0x3, %esi
ja 0x17484
leaq 0x15a75(%rip), %rax     # 0x2cee4
movslq (%rax,%rsi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0x15d71(%rip), %rsi     # 0x2d1f0
jmp 0x177fd
leaq 0x16275(%rip), %rsi     # 0x2d700
jmp 0x177fd
leaq 0x15de8(%rip), %rsi     # 0x2d27f
jmp 0x177fd
leaq 0x15dfa(%rip), %rsi     # 0x2d29d
jmp 0x177fd
leaq 0x15d89(%rip), %rsi     # 0x2d238
jmp 0x177fd
leaq 0x15d74(%rip), %rsi     # 0x2d22f
jmp 0x177fd
leaq 0x15da8(%rip), %rsi     # 0x2d26f
jmp 0x177fd
leaq 0x15db9(%rip), %rsi     # 0x2d28c
jmp 0x177fd
leaq 0x15d48(%rip), %rsi     # 0x2d227
jmp 0x177fd
leaq 0x15dc4(%rip), %rsi     # 0x2d2af
jmp 0x177fd
leaq 0x15d5f(%rip), %rsi     # 0x2d256
jmp 0x177fd
leaq 0x15d5e(%rip), %rsi     # 0x2d261
jmp 0x177fd
leaq 0x1624f(%rip), %rsi     # 0x2d75e
jmp 0x177fd
leaq 0x16231(%rip), %rsi     # 0x2d74c
jmp 0x177fd
leaq 0x161e7(%rip), %rsi     # 0x2d70e
jmp 0x177fd
leaq 0x160eb(%rip), %rsi     # 0x2d61e
jmp 0x177fd
leaq 0x15f68(%rip), %rsi     # 0x2d4a7
jmp 0x177fd
leaq 0x160f9(%rip), %rsi     # 0x2d644
jmp 0x177fd
leaq 0x16062(%rip), %rsi     # 0x2d5b9
jmp 0x177fd
leaq 0x1608f(%rip), %rsi     # 0x2d5f2
jmp 0x177fd
leaq 0x15ec1(%rip), %rsi     # 0x2d430
jmp 0x177fd
leaq 0x161f8(%rip), %rsi     # 0x2d773
jmp 0x177fd
leaq 0x15e7b(%rip), %rsi     # 0x2d402
jmp 0x177fd
leaq 0x15e4b(%rip), %rsi     # 0x2d3de
jmp 0x177fd
leaq 0x16069(%rip), %rsi     # 0x2d608
jmp 0x177fd
leaq 0x15e9c(%rip), %rsi     # 0x2d447
jmp 0x177fd
leaq 0x1601b(%rip), %rsi     # 0x2d5d2
jmp 0x177fd
leaq 0x15f52(%rip), %rsi     # 0x2d515
jmp 0x177fd
leaq 0x15ef4(%rip), %rsi     # 0x2d4c3
jmp 0x177fd
leaq 0x160df(%rip), %rsi     # 0x2d6ba
jmp 0x177fd
leaq 0x1604d(%rip), %rsi     # 0x2d634
jmp 0x177fd
leaq 0x15dae(%rip), %rsi     # 0x2d3a1
jmp 0x177fd
leaq 0x15d6c(%rip), %rsi     # 0x2d36b
jmp 0x177fd
leaq 0x15dc5(%rip), %rsi     # 0x2d3d0
jmp 0x177fd
leaq 0x15d7b(%rip), %rsi     # 0x2d392
jmp 0x177fd
leaq 0x15eb9(%rip), %rsi     # 0x2d4dc
jmp 0x177fd
leaq 0x16107(%rip), %rsi     # 0x2d736
jmp 0x177fd
leaq 0x15ec8(%rip), %rsi     # 0x2d503
jmp 0x177fd
leaq 0x15e75(%rip), %rsi     # 0x2d4bc
jmp 0x177fd
leaq 0x15d07(%rip), %rsi     # 0x2d35a
jmp 0x177fd
leaq 0x16038(%rip), %rsi     # 0x2d697
jmp 0x177fd
leaq 0x15e0d(%rip), %rsi     # 0x2d478
jmp 0x177fd
leaq 0x15cfe(%rip), %rsi     # 0x2d375
jmp 0x177fd
leaq 0x15fe1(%rip), %rsi     # 0x2d664
jmp 0x177fd
leaq 0x15d4a(%rip), %rsi     # 0x2d3d9
jmp 0x177fd
leaq 0x15cb2(%rip), %rsi     # 0x2d34d
jmp 0x177fd
leaq 0x1602c(%rip), %rsi     # 0x2d6d3
jmp 0x177fd
leaq 0x15e1f(%rip), %rsi     # 0x2d4d2
jmp 0x177fd
leaq 0x15d2f(%rip), %rsi     # 0x2d3ee
jmp 0x177fd
leaq 0x15ecc(%rip), %rsi     # 0x2d597
jmp 0x177fd
leaq 0x15ca8(%rip), %rsi     # 0x2d37f
jmp 0x177fd
leaq 0x15cdc(%rip), %rsi     # 0x2d3bf
jmp 0x177fd
leaq 0x15d2c(%rip), %rsi     # 0x2d41b
jmp 0x177fd
leaq 0x15ea8(%rip), %rsi     # 0x2d5a3
jmp 0x177fd
leaq 0x15e2e(%rip), %rsi     # 0x2d535
jmp 0x177fd
leaq 0x15d52(%rip), %rsi     # 0x2d465
jmp 0x177fd
leaq 0x15dce(%rip), %rsi     # 0x2d4ed
jmp 0x177fd
leaq 0x15f25(%rip), %rsi     # 0x2d650
jmp 0x177fd
leaq 0x15d4e(%rip), %rsi     # 0x2d485
jmp 0x177fd
leaq 0x15dfd(%rip), %rsi     # 0x2d540
jmp 0x177fd
leaq 0x15fd2(%rip), %rsi     # 0x2d721
jmp 0x177fd
leaq 0x16030(%rip), %rsi     # 0x2d78b
jmp 0x177fd
leaq 0x15dfe(%rip), %rsi     # 0x2d565
jmp 0x177fd
leaq 0x15e10(%rip), %rsi     # 0x2d583
jmp 0x177fd
leaq 0x15f2d(%rip), %rsi     # 0x2d6ac
jmp 0x177fd
leaq 0x15ef7(%rip), %rsi     # 0x2d67f
jmp 0x177fd
leaq 0x15f4f(%rip), %rsi     # 0x2d6e0
jmp 0x177fd
leaq 0x15b6e(%rip), %rsi     # 0x2d308
jmp 0x177fd
leaq 0x15b41(%rip), %rsi     # 0x2d2e4
jmp 0x177fd
leaq 0x15bcd(%rip), %rsi     # 0x2d379
jmp 0x177fd
leaq 0x15b46(%rip), %rsi     # 0x2d2fb
jmp 0x177fd
leaq 0x15b33(%rip), %rsi     # 0x2d2f1
jmp 0x177fd
leaq 0x15b01(%rip), %rsi     # 0x2d2c8
jmp 0x177fd
leaq 0x15b0a(%rip), %rsi     # 0x2d2da
jmp 0x177fd
leaq 0x15b42(%rip), %rsi     # 0x2d31b
jmp 0x177fd
leaq 0x15b4c(%rip), %rsi     # 0x2d32e
jmp 0x177fd
leaq 0x15a22(%rip), %rsi     # 0x2d20d
jmp 0x177fd
leaq 0x15a24(%rip), %rsi     # 0x2d218
jmp 0x177fd
leaq 0x159fc(%rip), %rsi     # 0x2d1f9
leaq 0xf(%rsp), %rdx
movq %rbx, %rdi
callq 0x8032
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
retq