__int64 sub_5DA0() { unsigned __int8 v0; // al char n3; // al char n3_1; // cl __int64 result; // rax v0 = __inbyte(0x70u); /*0x5da5*/ __outbyte(0x70u, v0 & 0x80 | 0x4B); /*0x5daa*/ n3 = __inbyte(0x71u); /*0x5db0*/ n3_1 = n3; /*0x5db1*/ if ( (unsigned __int8)n3 > 3u ) /*0x5db8*/ { n3_1 = n3; /*0x5dba*/ if ( !n3 ) /*0x5dc2*/ n3_1 = MEMORY[0xFDAF0490] & 2 | 1; /*0x5dce*/ } if ( (unsigned __int8)(n3_1 - 1) > 0xFDu ) /*0x5dd8*/ return 0; /*0x5deb*/ result = 2147483718LL; /*0x5ddd*/ if ( n3_1 == 1 ) /*0x5de7*/ return 2147483652LL; /*0x5de7*/ return result; /*0x5dea*/ }