[*] Binary protection state of logrotate
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function fprintf tear down of logrotate
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/logrotate @ 0x1db0 */
| #include <stdint.h>
|
; (fcn) main () | int32_t main () {
| /* [13] -r-x section size 66640 named .text */
0x00001db0 lui gp, 3 |
0x00001db4 addiu gp, gp, -0x3d80 |
0x00001db8 addu gp, gp, t9 | gp += t9;
0x00001dbc addiu sp, sp, -0x288 |
0x00001dc0 lw v0, -0x7dc0(gp) | v0 = *((gp - 8048));
0x00001dc4 sw s7, 0x27c(sp) | *(var_27ch) = s7;
0x00001dc8 lw s7, -0x7fd8(gp) | s7 = *(gp);
0x00001dcc lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
| /* str._var_lib_logrotate.status */
0x00001dd0 addiu v1, s7, 0x48b4 | v1 = s7 + 0x48b4;
0x00001dd4 sw v1, 0x8c(sp) | *(var_8ch) = v1;
0x00001dd8 lw v1, -0x7fd8(gp) | v1 = *(gp);
0x00001ddc lw a3, (v0) | a3 = *(v0);
| /* str.debug */
0x00001de0 addiu v1, v1, 0x48d0 | v1 += 0x48d0;
0x00001de4 sw v1, 0x160(sp) | *(var_160h) = v1;
0x00001de8 addiu v1, zero, 0x64 | v1 = 0x64;
0x00001dec sb v1, 0x164(sp) | *(var_164h) = v1;
0x00001df0 addiu v1, zero, 0x64 | v1 = 0x64;
0x00001df4 sw v1, 0x170(sp) | *(var_170h) = v1;
0x00001df8 lw v1, -0x7fd8(gp) | v1 = *(gp);
0x00001dfc sw gp, 0x28(sp) | *(var_28h) = gp;
| /* str.Dont_do_anything__just_test_and_print_debug_messages */
0x00001e00 addiu v1, v1, 0x48d8 | v1 += 0x48d8;
0x00001e04 sw v1, 0x174(sp) | *(var_174h) = v1;
0x00001e08 lw v1, -0x7fd8(gp) | v1 = *(gp);
0x00001e0c sw v0, 0x68(sp) | *(var_68h) = v0;
| /* str.force */
0x00001e10 addiu v1, v1, 0x4910 | v1 += 0x4910;
0x00001e14 sw v1, 0x17c(sp) | *(var_17ch) = v1;
0x00001e18 addiu v1, zero, 0x66 | v1 = 0x66;
0x00001e1c sb v1, 0x180(sp) | *(var_180h) = v1;
0x00001e20 addiu v1, sp, 0x88 | v1 = sp + 0x88;
0x00001e24 sw v1, 0x188(sp) | *(var_188h) = v1;
0x00001e28 lw v1, -0x7fd8(gp) | v1 = *(gp);
0x00001e2c addiu v0, zero, 1 | v0 = 1;
| /* str.Force_file_rotation */
0x00001e30 addiu v1, v1, 0x4918 | v1 += 0x4918;
0x00001e34 sw v1, 0x190(sp) | *(var_190h) = v1;
0x00001e38 lw v1, -0x7fd8(gp) | v1 = *(gp);
0x00001e3c sw a2, 0x5c(sp) | *(var_5ch) = a2;
| /* str.mail */
0x00001e40 addiu v1, v1, 0x31cc | v1 += 0x31cc;
0x00001e44 sw v1, 0x198(sp) | *(var_198h) = v1;
0x00001e48 addiu v1, zero, 0x6d | v1 = 0x6d;
0x00001e4c sb v1, 0x19c(sp) | *(var_19ch) = v1;
0x00001e50 lw v1, -0x7fd8(gp) | v1 = *(gp);
| /* esilref: '/bin/mail' */
0x00001e54 addiu a2, a2, 0x6020 | a2 += 0x6020;
| /* str.Command_to_send_mail__instead_of___bin_mail_ */
0x00001e58 addiu v1, v1, 0x492c | v1 += 0x492c;
0x00001e5c sw v1, 0x1ac(sp) | *(var_1ach) = v1;
0x00001e60 lw v1, -0x7fd8(gp) | v1 = *(gp);
0x00001e64 sw ra, 0x284(sp) | *(var_284h) = ra;
| /* str.command */
0x00001e68 addiu v1, v1, 0x495c | v1 += 0x495c;
0x00001e6c sw v1, 0x1b0(sp) | *(var_1b0h) = v1;
0x00001e70 lw v1, -0x7fd8(gp) | v1 = *(gp);
0x00001e74 sw a3, 0x25c(sp) | *(var_25ch) = a3;
| /* str.state */
0x00001e78 addiu v1, v1, 0x4964 | v1 += 0x4964;
0x00001e7c sw a2, 0x1a4(sp) | *(var_1a4h) = a2;
0x00001e80 sw fp, 0x280(sp) | *(var_280h) = fp;
0x00001e84 sw s6, 0x278(sp) | *(var_278h) = s6;
0x00001e88 sw s5, 0x274(sp) | *(var_274h) = s5;
0x00001e8c sw s2, 0x268(sp) | *(var_268h) = s2;
0x00001e90 sw s1, 0x264(sp) | *(var_264h) = s1;
0x00001e94 sw s0, 0x260(sp) | *(var_260h) = s0;
0x00001e98 sw v0, 0x1a0(sp) | *(var_1a0h) = v0;
0x00001e9c sw s4, 0x270(sp) | *(var_270h) = s4;
0x00001ea0 sw s3, 0x26c(sp) | *(var_26ch) = s3;
0x00001ea4 sw v1, 0x1b4(sp) | *(var_1b4h) = v1;
0x00001ea8 sw v0, 0x1bc(sp) | *(var_1bch) = v0;
0x00001eac sw v0, 0x1f4(sp) | *(var_1f4h) = v0;
0x00001eb0 addiu v0, sp, 0x90 | v0 = sp + 0x90;
0x00001eb4 addiu v1, zero, 0x73 | v1 = 0x73;
0x00001eb8 sw v0, 0x1f8(sp) | *(var_1f8h) = v0;
0x00001ebc addiu v0, zero, 0x6c | v0 = 0x6c;
0x00001ec0 sb v1, 0x1b8(sp) | *(var_1b8h) = v1;
0x00001ec4 sw v0, 0x1fc(sp) | *(var_1fch) = v0;
0x00001ec8 addiu v1, sp, 0x8c | v1 = sp + 0x8c;
0x00001ecc lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00001ed0 sw v1, 0x1c0(sp) | *(var_1c0h) = v1;
0x00001ed4 lw v1, -0x7fd8(gp) | v1 = *(gp);
| /* str.Log_file_or_syslog_to_log_to_syslog */
0x00001ed8 addiu v0, v0, 0x49bc | v0 += 0x49bc;
| /* str.Path_of_state_file */
0x00001edc addiu v1, v1, 0x496c | v1 += 0x496c;
0x00001ee0 sw v0, 0x200(sp) | *(var_200h) = v0;
0x00001ee4 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00001ee8 sw v1, 0x1c8(sp) | *(var_1c8h) = v1;
0x00001eec lw v1, -0x7fd8(gp) | v1 = *(gp);
| /* str.logfile */
0x00001ef0 addiu v0, v0, 0x49e4 | v0 += 0x49e4;
| /* str.statefile */
0x00001ef4 addiu v1, v1, 0x4980 | v1 += 0x4980;
0x00001ef8 sw v0, 0x204(sp) | *(var_204h) = v0;
0x00001efc lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00001f00 sw v1, 0x1cc(sp) | *(var_1cch) = v1;
0x00001f04 lw v1, -0x7fd8(gp) | v1 = *(gp);
| /* str.version */
0x00001f08 addiu v0, v0, 0x49ec | v0 += 0x49ec;
| /* str.verbose */
0x00001f0c addiu v1, v1, 0x498c | v1 += 0x498c;
0x00001f10 sw v0, 0x208(sp) | *(var_208h) = v0;
0x00001f14 addiu v0, zero, 0x56 | v0 = 0x56;
0x00001f18 sw v1, 0x1d0(sp) | *(var_1d0h) = v1;
0x00001f1c sw v0, 0x218(sp) | *(var_218h) = v0;
0x00001f20 addiu v1, zero, 0x76 | v1 = 0x76;
0x00001f24 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00001f28 sb v1, 0x1d4(sp) | *(var_1d4h) = v1;
0x00001f2c addiu v1, zero, 0x76 | v1 = 0x76;
0x00001f30 sw v1, 0x1e0(sp) | *(var_1e0h) = v1;
| /* str.Display_version_information */
0x00001f34 addiu v0, v0, 0x49f4 | v0 += 0x49f4;
0x00001f38 lw v1, -0x7fd8(gp) | v1 = *(gp);
0x00001f3c sw v0, 0x21c(sp) | *(var_21ch) = v0;
0x00001f40 addiu v0, zero, 4 | v0 = 4;
| /* str.Display_messages_during_rotation */
0x00001f44 addiu v1, v1, 0x4994 | v1 += 0x4994;
0x00001f48 sw v0, 0x22c(sp) | *(var_22ch) = v0;
0x00001f4c lw v0, -0x7ed8(gp) | v0 = *((gp - 8118));
0x00001f50 sw v1, 0x1e4(sp) | *(var_1e4h) = v1;
0x00001f54 lw v1, -0x7fd8(gp) | v1 = *(gp);
0x00001f58 sw v0, 0x230(sp) | *(var_230h) = v0;
0x00001f5c lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00001f60 lw s2, -0x7fd8(gp) | s2 = *(gp);
| /* esilref: 'log' */
0x00001f64 addiu v1, v1, 0x49b8 | v1 += 0x49b8;
0x00001f68 lw t9, -0x7fc0(gp) | t9 = sym.logSetLevel;
| /* str.Help_options: */
0x00001f6c addiu v0, v0, 0x4a10 | v0 += 0x4a10;
0x00001f70 sw v1, 0x1ec(sp) | *(var_1ech) = v1;
0x00001f74 addiu v1, zero, 0x6c | v1 = 0x6c;
0x00001f78 sb v1, 0x1f0(sp) | *(var_1f0h) = v1;
0x00001f7c move s0, a0 | s0 = a0;
0x00001f80 sw zero, 0x88(sp) | *(var_88h) = 0;
0x00001f84 addiu a0, zero, 4 | a0 = 4;
0x00001f88 sw zero, 0x90(sp) | *(var_90h) = 0;
0x00001f8c sw zero, 0x168(sp) | *(var_168h) = 0;
0x00001f90 sw zero, 0x16c(sp) | *(var_16ch) = 0;
0x00001f94 sw zero, 0x178(sp) | *(var_178h) = 0;
0x00001f98 sw zero, 0x184(sp) | *(var_184h) = 0;
0x00001f9c sw zero, 0x18c(sp) | *(var_18ch) = 0;
0x00001fa0 sw zero, 0x194(sp) | *(var_194h) = 0;
0x00001fa4 sw zero, 0x1a8(sp) | *(var_1a8h) = 0;
0x00001fa8 sw zero, 0x1c4(sp) | *(var_1c4h) = 0;
0x00001fac sw s2, 0x60(sp) | *(var_60h) = s2;
0x00001fb0 sw v0, 0x238(sp) | *(var_238h) = v0;
0x00001fb4 sw zero, 0x1d8(sp) | *(var_1d8h) = 0;
0x00001fb8 sw zero, 0x1dc(sp) | *(var_1dch) = 0;
0x00001fbc sw zero, 0x1e8(sp) | *(var_1e8h) = 0;
0x00001fc0 sb zero, 0x20c(sp) | *(var_20ch) = 0;
0x00001fc4 sw zero, 0x210(sp) | *(var_210h) = 0;
0x00001fc8 sw zero, 0x214(sp) | *(var_214h) = 0;
0x00001fcc sw zero, 0x220(sp) | *(var_220h) = 0;
0x00001fd0 sw zero, 0x224(sp) | *(var_224h) = 0;
0x00001fd4 sb zero, 0x228(sp) | *(var_228h) = 0;
0x00001fd8 sw zero, 0x234(sp) | *(var_234h) = 0;
0x00001fdc sw zero, 0x23c(sp) | *(var_23ch) = 0;
0x00001fe0 sw zero, 0x240(sp) | *(var_240h) = 0;
0x00001fe4 sb zero, 0x244(sp) | *(var_244h) = 0;
0x00001fe8 sw zero, 0x248(sp) | *(var_248h) = 0;
0x00001fec sw zero, 0x24c(sp) | *(var_24ch) = 0;
0x00001ff0 sw zero, 0x250(sp) | *(var_250h) = 0;
0x00001ff4 sw zero, 0x254(sp) | *(var_254h) = 0;
0x00001ff8 sw zero, 0x258(sp) | *(var_258h) = 0;
0x00001ffc move s1, a1 | s1 = a1;
0x00002000 bal 0xd36c | sym_logSetLevel ();
0x00002004 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002008 addiu a1, s2, 0x4ccc | a1 = s2 + 0x4ccc;
0x0000200c lw t9, -0x7ef8(gp) | t9 = sym.imp.setlocale;
0x00002010 addiu a0, zero, 6 | a0 = 6;
0x00002014 jalr t9 | t9 ();
0x00002018 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000201c addiu v0, sp, 0x160 | v0 = sp + aav.0x00000160;
0x00002020 move a3, v0 | a3 = v0;
0x00002024 lw a0, -0x7fd8(gp) | a0 = *(gp);
0x00002028 lw t9, -0x7da8(gp) | t9 = sym.imp.poptGetContext;
0x0000202c move a2, s1 | a2 = s1;
0x00002030 move a1, s0 | a1 = s0;
| /* str.logrotate */
0x00002034 addiu a0, a0, 0x3bc8 | a0 += 0x3bc8;
0x00002038 sw v0, 0x50(sp) | *(var_50h) = v0;
0x0000203c sw zero, 0x10(sp) | *(var_10h) = 0;
0x00002040 jalr t9 | t9 ();
0x00002044 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002048 addiu a1, zero, 1 | a1 = 1;
0x0000204c move a0, v0 | a0 = v0;
0x00002050 lw t9, -0x7e34(gp) | t9 = sym.imp.poptReadDefaultConfig;
0x00002054 move s0, v0 | s0 = v0;
0x00002058 jalr t9 | t9 ();
0x0000205c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002060 move a0, s0 | a0 = s0;
0x00002064 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00002068 lw t9, -0x7d78(gp) | t9 = sym.imp.poptSetOtherOptionHelp;
| /* str._OPTION...___configfile_ */
0x0000206c addiu a1, a1, 0x4a20 | a1 += 0x4a20;
0x00002070 jalr t9 | t9 ();
0x00002074 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002078 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0000207c lw s6, -0x7fd8(gp) | s6 = *(gp);
0x00002080 sw v0, 0x30(sp) | *(var_30h) = v0;
0x00002084 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00002088 lw s5, -0x7fd8(gp) | s5 = *(gp);
| /* str.error_opening_log_file__s:__s_n */
0x0000208c addiu v0, v0, 0x4adc | v0 += 0x4adc;
0x00002090 lw fp, -0x7fd0(gp) | fp = *(gp);
| /* str.WARNING:_logrotate_in_debug_mode_does_nothing_except_printing_debug_messages___Consider_using_verbose_mode___v__instead_if_this_is_not_what_you_want._n_n */
0x00002094 addiu s6, s6, 0x4a3c | s6 += 0x4a3c;
| /* str.syslog */
0x00002098 addiu s5, s5, 0x4ad4 | s5 += 0x4ad4;
0x0000209c sw v0, 0x34(sp) | *(var_34h) = v0;
| label_3:
0x000020a0 addiu s4, zero, 0x64 | s4 = 0x64;
0x000020a4 addiu s3, zero, 0x6c | s3 = 0x6c;
0x000020a8 addiu s2, zero, 0x76 | s2 = 0x76;
0x000020ac addiu s1, zero, 0x56 | s1 = 0x56;
| label_1:
0x000020b0 lw t9, -0x7f24(gp) | t9 = sym.imp.poptGetNextOpt;
| do {
0x000020b4 move a0, s0 | a0 = s0;
0x000020b8 jalr t9 | t9 ();
0x000020bc lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 < 0) {
0x000020c0 bltz v0, 0x2118 | goto label_84;
| }
| label_0:
0x000020c4 slti v1, v0, 0x65 | v1 = (v0 < 0x65) ? 1 : 0;
| if (v0 == s4) {
0x000020c8 beq v0, s4, 0x2378 | goto label_85;
| }
| if (v1 != 0) {
0x000020cc bnez v1, 0x2264 | goto label_86;
| }
0x000020d0 nop |
| if (v0 == s3) {
0x000020d4 beql v0, s3, 0x2398 | goto label_87;
| }
0x000020d8 lw s1, 0x90(sp) | s1 = *(var_90h);
0x000020dc lw t9, -0x7f24(gp) | t9 = sym.imp.poptGetNextOpt;
0x000020e0 bne v0, s2, 0x20b4 |
| } while (v0 != s2);
| label_2:
0x000020e4 lw t9, -0x7fc0(gp) | t9 = sym.logSetLevel;
0x000020e8 addiu a0, zero, 2 | a0 = 2;
0x000020ec bal 0xd36c | sym_logSetLevel ();
0x000020f0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000020f4 move a0, s0 | a0 = s0;
0x000020f8 addiu s4, zero, 0x64 | s4 = 0x64;
0x000020fc lw t9, -0x7f24(gp) | t9 = sym.imp.poptGetNextOpt;
0x00002100 addiu s3, zero, 0x6c | s3 = 0x6c;
0x00002104 jalr t9 | t9 ();
0x00002108 addiu s2, zero, 0x76 | s2 = 0x76;
0x0000210c addiu s1, zero, 0x56 | s1 = 0x56;
0x00002110 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 >= 0) {
0x00002114 bgez v0, 0x20c4 | goto label_0;
| }
| label_84:
0x00002118 addiu v1, zero, -1 | v1 = -1;
0x0000211c lw t9, -0x7f48(gp) | t9 = sym.imp.poptGetArgs;
| if (v0 != v1) {
0x00002120 bne v0, v1, 0x41bc | goto label_88;
| }
0x00002124 move a0, s0 | a0 = s0;
0x00002128 jalr t9 | t9 ();
0x0000212c lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x00002130 beqz v0, 0x4560 | goto label_89;
| }
0x00002134 lw s1, -0x7fbc(gp) | s1 = *(gp);
0x00002138 lw t9, -0x7fb8(gp) | t9 = sym.readAllConfigPaths;
0x0000213c move a0, v0 | a0 = v0;
0x00002140 sw zero, (s1) | *(s1) = 0;
0x00002144 sw s1, 4(s1) | *((s1 + 1)) = s1;
0x00002148 bal 0xd058 | sym_readAllConfigPaths ();
0x0000214c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002150 move a0, s0 | a0 = s0;
0x00002154 lw t9, -0x7ec4(gp) | t9 = sym.imp.poptFreeContext;
0x00002158 move s0, v0 | s0 = v0;
0x0000215c jalr t9 | t9 ();
0x00002160 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002164 lw t9, -0x7dd0(gp) | t9 = sym.imp.time;
0x00002168 move a0, zero | a0 = 0;
0x0000216c jalr t9 | t9 ();
0x00002170 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002174 lw a0, 0x8c(sp) | a0 = *(var_8ch);
0x00002178 lw v1, -0x7fd4(gp) | v1 = *((gp - 8181));
0x0000217c lw t9, -0x7fd8(gp) | t9 = *(gp);
0x00002180 sw v1, 0x44(sp) | *(var_44h) = v1;
0x00002184 addiu t9, t9, -0x27e4 | t9 += -0x27e4;
0x00002188 sw v0, 0x6328(v1) | *((v1 + 6346)) = v0;
0x0000218c bal 0xd81c | fcn_0000d81c ();
0x00002190 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002194 or v0, s0, v0 | v0 = s0 | v0;
0x00002198 sltu v0, zero, v0 | v0 = (0 < v0) ? 1 : 0;
0x0000219c lw v1, -0x7fb4(gp) | v1 = *(gp);
0x000021a0 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000021a4 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x000021a8 lw a2, (v1) | a2 = *(v1);
0x000021ac sw v0, 0x58(sp) | *(var_58h) = v0;
| /* str._nHandling__d_logs_n */
0x000021b0 addiu a1, a1, 0x4cd0 | a1 += 0x4cd0;
0x000021b4 addiu a0, zero, 2 | a0 = 2;
0x000021b8 bal 0xd3d8 | sym_message ();
0x000021bc lw gp, 0x28(sp) | gp = *(var_28h);
0x000021c0 lw fp, (s1) | fp = *(s1);
0x000021c4 lw v0, -0x7fd0(gp) | v0 = *(gp);
0x000021c8 sw v0, 0x54(sp) | *(var_54h) = v0;
| if (fp == 0) {
0x000021cc beqz fp, 0x2798 | goto label_90;
| }
0x000021d0 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x000021d4 move s7, fp | s7 = fp;
0x000021d8 sw v0, 0x7c(sp) | *(var_7ch) = v0;
0x000021dc lw v0, -0x7fd8(gp) | v0 = *(gp);
0x000021e0 addiu v0, v0, -0x2a80 | v0 += -0x2a80;
0x000021e4 sw v0, 0x30(sp) | *(var_30h) = v0;
0x000021e8 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x000021ec addiu v0, v0, -0x17dc | v0 += -0x17dc;
0x000021f0 sw v0, 0x80(sp) | *(var_80h) = v0;
| label_5:
0x000021f4 lw v0, 0x88(sp) | v0 = *(var_88h);
0x000021f8 lw t9, -0x7f70(gp) | t9 = sym.imp.calloc;
0x000021fc lw a0, 8(s7) | a0 = *((s7 + 2));
0x00002200 addiu a1, zero, 4 | a1 = 4;
0x00002204 sw v0, 0x38(sp) | *(var_38h) = v0;
0x00002208 jalr t9 | t9 ();
0x0000220c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002210 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x00002214 lw t9, -0x7fdc(gp) | t9 = sym.message;
| if (v0 == 0) {
0x00002218 beqz v0, 0x36bc | goto label_91;
| }
0x0000221c lw v0, 0x7c(sp) | v0 = *(var_7ch);
0x00002220 lw a2, (s7) | a2 = *(s7);
0x00002224 addiu a1, v0, 0x4d10 | a1 = v0 + 0x4d10;
0x00002228 addiu a0, zero, 2 | a0 = 2;
0x0000222c bal 0xd3d8 | sym_message ();
0x00002230 lw v0, 0x38(sp) | v0 = *(var_38h);
0x00002234 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00002238 bnez v0, 0x35f0 | goto label_92;
| }
0x0000223c lw a2, 0x10(s7) | a2 = *((s7 + 4));
0x00002240 sltiu v0, a2, 6 | v0 = (a2 < 6) ? 1 : 0;
0x00002244 lw v0, -0x7fd8(gp) | v0 = *(gp);
| if (v0 == 0) {
0x00002248 beqz v0, 0x39e4 | goto label_93;
| }
0x0000224c sll a2, a2, 2 | a2 <<= 2;
0x00002250 addiu v0, v0, 0x5a20 | v0 += 0x5a20;
0x00002254 lwx v0, a2(v0) | __asm ("lwx v0, a2(v0)");
0x00002258 addu v0, v0, gp | v0 += gp;
0x0000225c lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00002260 jr v0 | v0 ();
| label_86:
0x00002264 lw a2, -0x7fd8(gp) | a2 = *(gp);
| if (v0 != s1) {
0x00002268 bne v0, s1, 0x20b0 | goto label_1;
| }
0x0000226c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00002270 lw t9, -0x7ee0(gp) | t9 = sym.imp.__printf_chk;
| /* str.3.15.1 */
0x00002274 addiu a2, a2, 0x4afc | a2 += 0x4afc;
| /* str.logrotate__s_n */
0x00002278 addiu a1, a1, 0x4b04 | a1 += 0x4b04;
0x0000227c addiu a0, zero, 1 | a0 = 1;
0x00002280 jalr t9 | t9 ();
0x00002284 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002288 lw t9, -0x7eb4(gp) | t9 = sym.imp.putchar;
0x0000228c addiu a0, zero, 0xa | a0 = 0xa;
0x00002290 jalr t9 | t9 ();
0x00002294 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002298 addiu a0, zero, 1 | a0 = 1;
0x0000229c lw a2, -0x7fd8(gp) | a2 = *(gp);
0x000022a0 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000022a4 lw t9, -0x7ee0(gp) | t9 = sym.imp.__printf_chk;
| /* str._bin_mail */
0x000022a8 addiu a2, a2, 0x4b14 | a2 += 0x4b14;
| /* str.____Default_mail_command:________s_n */
0x000022ac addiu a1, a1, 0x4b20 | a1 += 0x4b20;
0x000022b0 jalr t9 | t9 ();
0x000022b4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000022b8 addiu a0, zero, 1 | a0 = 1;
0x000022bc lw a2, -0x7fd8(gp) | a2 = *(gp);
0x000022c0 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000022c4 lw t9, -0x7ee0(gp) | t9 = sym.imp.__printf_chk;
| /* str._bin_gzip */
0x000022c8 addiu a2, a2, 0x352c | a2 += 0x352c;
| /* str.____Default_compress_command:____s_n */
0x000022cc addiu a1, a1, 0x4b44 | a1 += 0x4b44;
0x000022d0 jalr t9 | t9 ();
0x000022d4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000022d8 addiu a0, zero, 1 | a0 = 1;
0x000022dc lw a2, -0x7fd8(gp) | a2 = *(gp);
0x000022e0 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000022e4 lw t9, -0x7ee0(gp) | t9 = sym.imp.__printf_chk;
| /* str._bin_gunzip */
0x000022e8 addiu a2, a2, 0x3538 | a2 += 0x3538;
| /* str.____Default_uncompress_command:__s_n */
0x000022ec addiu a1, a1, 0x4b68 | a1 += 0x4b68;
0x000022f0 jalr t9 | t9 ();
0x000022f4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000022f8 addiu a0, zero, 1 | a0 = 1;
0x000022fc lw a2, -0x7fd8(gp) | a2 = *(gp);
0x00002300 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00002304 lw t9, -0x7ee0(gp) | t9 = sym.imp.__printf_chk;
| /* esilref: '.gz' */
0x00002308 addiu a2, a2, 0x3544 | a2 += 0x3544;
| /* str.____Default_compress_extension:__s_n */
0x0000230c addiu a1, a1, 0x4b8c | a1 += 0x4b8c;
0x00002310 jalr t9 | t9 ();
0x00002314 lw gp, 0x28(sp) | gp = *(var_28h);
| /* str._var_lib_logrotate.status */
0x00002318 addiu a2, s7, 0x48b4 | a2 = s7 + 0x48b4;
0x0000231c addiu a0, zero, 1 | a0 = 1;
0x00002320 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00002324 lw t9, -0x7ee0(gp) | t9 = sym.imp.__printf_chk;
| /* str.____Default_state_file_path:_____s_n */
0x00002328 addiu a1, a1, 0x4bb0 | a1 += 0x4bb0;
0x0000232c jalr t9 | t9 ();
0x00002330 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002334 lw a0, -0x7fd8(gp) | a0 = *(gp);
0x00002338 lw t9, -0x7e50(gp) | t9 = sym.imp.puts;
| /* str.____ACL_support:________________no */
0x0000233c addiu a0, a0, 0x4bd4 | a0 += 0x4bd4;
0x00002340 jalr t9 | t9 ();
0x00002344 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002348 lw a0, -0x7fd8(gp) | a0 = *(gp);
0x0000234c lw t9, -0x7e50(gp) | t9 = sym.imp.puts;
| /* str.____SELinux_support:____________no */
0x00002350 addiu a0, a0, 0x4bf8 | a0 += 0x4bf8;
0x00002354 jalr t9 | t9 ();
0x00002358 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000235c lw t9, -0x7ec4(gp) | t9 = sym.imp.poptFreeContext;
0x00002360 move a0, s0 | a0 = s0;
0x00002364 jalr t9 | t9 ();
0x00002368 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000236c lw t9, -0x7e64(gp) | t9 = sym.imp.exit;
0x00002370 move a0, zero | a0 = 0;
0x00002374 jalr t9 | t9 ();
| label_85:
0x00002378 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x0000237c addiu v0, zero, 1 | v0 = 1;
0x00002380 move a1, s6 | a1 = s6;
0x00002384 addiu a0, zero, 4 | a0 = 4;
0x00002388 sw v0, (fp) | *(fp) = v0;
0x0000238c bal 0xd3d8 | sym_message ();
0x00002390 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002394 b 0x20e4 | goto label_2;
| label_87:
0x00002398 lw t9, -0x7d84(gp) | t9 = sym.imp.strcmp;
0x0000239c move a1, s5 | a1 = s5;
0x000023a0 move a0, s1 | a0 = s1;
0x000023a4 jalr t9 | t9 ();
0x000023a8 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x000023ac beqz v0, 0x23e0 |
0x000023b0 lw v0, 0x30(sp) | v0 = *(var_30h);
0x000023b4 lw t9, -0x7f1c(gp) | t9 = sym.imp.fopen64;
0x000023b8 addiu a1, v0, 0x39d8 | a1 = v0 + 0x39d8;
0x000023bc move a0, s1 | a0 = s1;
0x000023c0 jalr t9 | t9 ();
0x000023c4 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x000023c8 beqz v0, 0x23f4 | goto label_94;
| }
0x000023cc lw t9, -0x7fb0(gp) | t9 = sym.logSetMessageFile;
0x000023d0 move a0, v0 | a0 = v0;
0x000023d4 bal 0xd384 | sym_logSetMessageFile ();
0x000023d8 lw gp, 0x28(sp) | gp = *(var_28h);
0x000023dc b 0x20a0 | goto label_3;
| }
0x000023e0 lw t9, -0x7fac(gp) | t9 = sym.logToSyslog;
0x000023e4 addiu a0, zero, 1 | a0 = 1;
0x000023e8 bal 0xd39c | sym_logToSyslog ();
0x000023ec lw gp, 0x28(sp) | gp = *(var_28h);
0x000023f0 b 0x20a0 | goto label_3;
| label_94:
0x000023f4 lw t9, -0x7eb8(gp) | t9 = sym.imp.__errno_location;
0x000023f8 lw s1, 0x90(sp) | s1 = *(var_90h);
0x000023fc jalr t9 | t9 ();
0x00002400 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002404 lw t9, -0x7e54(gp) | t9 = sym.imp.strerror;
0x00002408 lw a0, (v0) | a0 = *(v0);
0x0000240c jalr t9 | t9 ();
0x00002410 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002414 lw a1, 0x34(sp) | a1 = *(var_34h);
0x00002418 move a3, v0 | a3 = v0;
0x0000241c lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00002420 move a2, s1 | a2 = s1;
0x00002424 addiu a0, zero, 5 | a0 = 5;
0x00002428 bal 0xd3d8 | sym_message ();
0x0000242c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002430 b 0x20a0 | goto label_3;
| label_45:
0x00002448 lw a2, 0x30(s7) | a2 = *((s7 + 12));
| if (a2 > 0) {
0x0000244c bgtzl a2, 0x353c | goto label_95;
| }
0x00002450 lw a1, -0x7fd8(gp) | a1 = *(gp);
| if (a2 == 0) {
0x00002454 beql a2, zero, 0x37f8 | goto label_96;
| }
0x00002458 lw a1, -0x7fd8(gp) | a1 = *(gp);
| label_36:
0x0000245c lw a2, 0xc(s7) | a2 = *((s7 + 3));
0x00002460 lw a1, -0x7fd8(gp) | a1 = *(gp);
| if (a2 != 0) {
0x00002464 beqz a2, 0x247c |
0x00002468 lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.olddir_is__s__ */
0x0000246c addiu a1, a1, 0x4ddc | a1 += 0x4ddc;
0x00002470 addiu a0, zero, 2 | a0 = 2;
0x00002474 bal 0xd3d8 | sym_message ();
0x00002478 lw gp, 0x28(sp) | gp = *(var_28h);
| }
0x0000247c lw v0, 0x70(s7) | v0 = *((s7 + 28));
0x00002480 andi v0, v0, 4 | v0 &= 4;
0x00002484 lw t9, -0x7fdc(gp) | t9 = sym.message;
| if (v0 == 0) {
0x00002488 beqz v0, 0x2cac | goto label_97;
| }
0x0000248c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00002490 addiu a0, zero, 2 | a0 = 2;
| /* str.empty_log_files_are_rotated__ */
0x00002494 addiu a1, a1, 0x4dec | a1 += 0x4dec;
0x00002498 bal 0xd3d8 | sym_message ();
0x0000249c lw gp, 0x28(sp) | gp = *(var_28h);
| label_12:
0x000024a0 lw a2, 0x28(s7) | a2 = *((s7 + 10));
0x000024a4 lw a3, 0x2c(s7) | a3 = *((s7 + 11));
0x000024a8 or v0, a2, a3 | v0 = a2 | a3;
0x000024ac lw a1, -0x7fd8(gp) | a1 = *(gp);
| if (v0 == 0) {
0x000024b0 bnel v0, zero, 0x35d8 | goto label_98;
| }
| label_44:
0x000024b4 lw a2, 0x20(s7) | a2 = *((s7 + 8));
0x000024b8 lw a3, 0x24(s7) | a3 = *((s7 + 9));
0x000024bc or v0, a2, a3 | v0 = a2 | a3;
0x000024c0 lw a1, -0x7fd8(gp) | a1 = *(gp);
| if (v0 == 0) {
0x000024c4 bnel v0, zero, 0x35c0 | goto label_99;
| }
| label_43:
0x000024c8 lw a2, 0x34(s7) | a2 = *((s7 + 13));
0x000024cc lw a1, -0x7fd8(gp) | a1 = *(gp);
| if (a2 == 0) {
0x000024d0 bnel a2, zero, 0x35a8 | goto label_100;
| }
| label_42:
0x000024d4 lw a2, 0x54(s7) | a2 = *((s7 + 21));
0x000024d8 lw t9, -0x7fdc(gp) | t9 = sym.message;
| if (a2 == 0) {
0x000024dc beqz a2, 0x3614 | goto label_101;
| }
0x000024e0 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000024e4 addiu a0, zero, 2 | a0 = 2;
| /* str.old_logs_mailed_to__s_n */
0x000024e8 addiu a1, a1, 0x4eb4 | a1 += 0x4eb4;
0x000024ec bal 0xd3d8 | sym_message ();
0x000024f0 lw gp, 0x28(sp) | gp = *(var_28h);
| label_46:
0x000024f4 lw s0, 8(s7) | s0 = *((s7 + 2));
0x000024f8 move a0, s0 | a0 = s0;
| if (s0 == 0) {
0x000024fc beqz s0, 0x377c | goto label_102;
| }
0x00002500 lw v0, 0x70(s7) | v0 = *((s7 + 28));
0x00002504 andi v0, v0, 0x800 | v0 &= 0x800;
0x00002508 lw t9, -0x7fc8(gp) | t9 = sym.switch_user;
| if (v0 != 0) {
0x0000250c bnez v0, 0x3670 | goto label_103;
| }
| label_48:
0x00002510 lw v0, -0x7fd8(gp) | v0 = *(gp);
| if (a0 <= 0) {
0x00002514 blez a0, 0x38ec | goto label_104;
| }
0x00002518 lw s3, 0x4c(sp) | s3 = *(var_4ch);
0x0000251c sw v0, 0x34(sp) | *(var_34h) = v0;
0x00002520 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00002524 sw zero, 0x40(sp) | *(var_40h) = 0;
0x00002528 sw v0, 0x3c(sp) | *(var_3ch) = v0;
0x0000252c lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00002530 move s0, zero | s0 = 0;
0x00002534 sw v0, 0x48(sp) | *(var_48h) = v0;
0x00002538 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0000253c move s2, zero | s2 = 0;
0x00002540 addiu v0, v0, -0x12f4 | v0 += -0x12f4;
0x00002544 sw v0, 0x70(sp) | *(var_70h) = v0;
0x00002548 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0000254c addiu s4, sp, 0x94 | s4 = sp + 0x94;
0x00002550 addiu v0, v0, 0x5a38 | v0 += 0x5a38;
0x00002554 sw v0, 0x6c(sp) | *(var_6ch) = v0;
0x00002558 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0000255c addiu fp, sp, 0xc0 | fp = sp + 0xc0;
0x00002560 addiu v0, v0, 0x5a4c | v0 += 0x5a4c;
0x00002564 sw v0, 0x74(sp) | *(var_74h) = v0;
| label_4:
0x00002568 lw v0, 0x44(sp) | v0 = *(var_44h);
0x0000256c lw t9, -0x7e70(gp) | t9 = sym.imp.localtime;
0x00002570 addiu a0, v0, 0x6328 | a0 = v0 + 0x6328;
0x00002574 jalr t9 | t9 ();
0x00002578 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000257c sll s1, s2, 2 | s1 = s2 << 2;
0x00002580 move v1, s4 | v1 = s4;
0x00002584 addiu t0, v0, 0x20 | t0 = v0 + 0x20;
| do {
0x00002588 lw a3, (v0) | a3 = *(v0);
0x0000258c lw a2, 4(v0) | a2 = *((v0 + 1));
0x00002590 lw a1, 8(v0) | a1 = *((v0 + 2));
0x00002594 lw a0, 0xc(v0) | a0 = *((v0 + 3));
0x00002598 addiu v0, v0, 0x10 | v0 += 0x10;
0x0000259c sw a3, (v1) | *(v1) = a3;
0x000025a0 sw a2, 4(v1) | *((v1 + 1)) = a2;
0x000025a4 sw a1, 8(v1) | *((v1 + 2)) = a1;
0x000025a8 sw a0, 0xc(v1) | *((v1 + 3)) = a0;
0x000025ac addiu v1, v1, 0x10 | v1 += 0x10;
0x000025b0 bne v0, t0, 0x2588 |
| } while (v0 != t0);
0x000025b4 lw a1, (v0) | a1 = *(v0);
0x000025b8 lw a0, 4(v0) | a0 = *((v0 + 1));
0x000025bc lw a2, 4(s7) | a2 = *((s7 + 1));
0x000025c0 lw v0, 8(v0) | v0 = *((v0 + 2));
0x000025c4 sw a1, (v1) | *(v1) = a1;
0x000025c8 sw a0, 4(v1) | *((v1 + 1)) = a0;
0x000025cc sw v0, 8(v1) | *((v1 + 2)) = v0;
0x000025d0 lw v0, 0x34(sp) | v0 = *(var_34h);
0x000025d4 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x000025d8 lwx a2, s1(a2) | __asm ("lwx a2, s1(a2)");
0x000025dc addiu a1, v0, 0x4f0c | a1 = v0 + 0x4f0c;
0x000025e0 addiu a0, zero, 2 | a0 = 2;
0x000025e4 bal 0xd3d8 | sym_message ();
0x000025e8 lw v1, 0x70(s7) | v1 = *((s7 + 28));
0x000025ec andi s5, v1, 0x800 | s5 = v1 & 0x800;
0x000025f0 lw gp, 0x28(sp) | gp = *(var_28h);
| if (s5 == 0) {
0x000025f4 bnez s5, 0x260c |
0x000025f8 lw t9, -0x7dec(gp) | t9 = sym.imp.getuid;
0x000025fc jalr t9 | t9 ();
0x00002600 nop |
0x00002604 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x00002608 beqz v0, 0x29b4 | goto label_105;
| }
| }
| label_13:
0x0000260c lw a1, 4(s7) | a1 = *((s7 + 1));
0x00002610 lw t9, -0x7f54(gp) | t9 = sym.imp.__lxstat64;
0x00002614 move a2, fp | a2 = fp;
0x00002618 lwx a1, s1(a1) | __asm ("lwx a1, s1(a1)");
0x0000261c addiu a0, zero, 3 | a0 = 3;
0x00002620 jalr t9 | t9 ();
0x00002624 move s5, v0 | s5 = v0;
0x00002628 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x0000262c beqz v0, 0x2878 | goto label_106;
| }
0x00002630 lw t9, -0x7eb8(gp) | t9 = sym.imp.__errno_location;
0x00002634 jalr t9 | t9 ();
0x00002638 nop |
0x0000263c lw s5, 4(s7) | s5 = *((s7 + 1));
0x00002640 lw v1, 0x70(s7) | v1 = *((s7 + 28));
0x00002644 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002648 andi v1, v1, 0x20 | v1 &= 0x20;
0x0000264c lw a0, (v0) | a0 = *(v0);
0x00002650 lwx s5, s1(s5) | __asm ("lwx s5, s1(s5)");
| if (v1 != 0) {
0x00002654 beqz v1, 0x2664 |
0x00002658 addiu v0, zero, 2 | v0 = 2;
0x0000265c lw a1, -0x7fd8(gp) | a1 = *(gp);
| if (a0 == v0) {
0x00002660 beq a0, v0, 0x2a6c | goto label_107;
| }
| }
0x00002664 lw t9, -0x7e54(gp) | t9 = sym.imp.strerror;
0x00002668 jalr t9 | t9 ();
0x0000266c nop |
0x00002670 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002674 move a2, s5 | a2 = s5;
0x00002678 move a3, v0 | a3 = v0;
0x0000267c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00002680 lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.stat_of__s_failed:__s_n */
0x00002684 addiu a1, a1, 0x4f20 | a1 += 0x4f20;
0x00002688 addiu a0, zero, 5 | a0 = 5;
0x0000268c addiu s5, zero, 1 | s5 = 1;
0x00002690 bal 0xd3d8 | sym_message ();
| label_7:
0x00002694 lw a0, 4(s7) | a0 = *((s7 + 1));
| label_6:
0x00002698 lw t9, 0x30(sp) | t9 = *(var_30h);
0x0000269c sw s5, (s3) | *(s3) = s5;
0x000026a0 lwx a0, s1(a0) | __asm ("lwx a0, s1(a0)");
0x000026a4 or s0, s0, s5 | s0 |= s5;
0x000026a8 jalr t9 | t9 ();
0x000026ac lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x000026b0 beqz v0, 0x26cc |
0x000026b4 lw v0, 0xd0(v0) | v0 = *((v0 + 52));
| if (v0 == 0) {
0x000026b8 beql v0, zero, 0x26d0 | goto label_108;
| }
0x000026bc lw a0, 8(s7) | a0 = *((s7 + 2));
0x000026c0 lw v0, 0x40(sp) | v0 = *(var_40h);
0x000026c4 addiu v0, v0, 1 | v0++;
0x000026c8 sw v0, 0x40(sp) | *(var_40h) = v0;
| }
0x000026cc lw a0, 8(s7) | a0 = *((s7 + 2));
| label_108:
0x000026d0 addiu s2, s2, 1 | s2++;
0x000026d4 slt v0, s2, a0 | v0 = (s2 < a0) ? 1 : 0;
0x000026d8 addiu s3, s3, 4 | s3 += 4;
| if (v0 != 0) {
0x000026dc bnez v0, 0x2568 | goto label_4;
| }
0x000026e0 lw v0, 0x48(s7) | v0 = *((s7 + 18));
0x000026e4 lw v0, 0x40(sp) | v0 = *(var_40h);
| if (v0 == 0) {
0x000026e8 beqz v0, 0x2b0c | goto label_58;
| }
0x000026ec lw t9, -0x7fdc(gp) | t9 = sym.message;
| if (v0 == 0) {
0x000026f0 beqz v0, 0x38fc | goto label_109;
| }
0x000026f4 lw a1, -0x7fd8(gp) | a1 = *(gp);
| /* str.running_first_action_script_n */
0x000026f8 addiu a1, a1, 0x5510 | a1 += 0x5510;
0x000026fc addiu a0, zero, 2 | a0 = 2;
0x00002700 bal 0xd3d8 | sym_message ();
0x00002704 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002708 lw a3, 0x48(s7) | a3 = *((s7 + 18));
0x0000270c lw a1, (s7) | a1 = *(s7);
0x00002710 lw t9, -0x7fd8(gp) | t9 = *(gp);
0x00002714 move a2, zero | a2 = 0;
0x00002718 addiu t9, t9, -0xfb0 | t9 += -0xfb0;
0x0000271c addiu a0, s7, 0x70 | a0 = s7 + 0x70;
0x00002720 bal 0xf050 | fcn_0000f050 ();
0x00002724 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x00002728 beqz v0, 0x2b08 | goto label_110;
| }
0x0000272c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00002730 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00002734 lw a2, (s7) | a2 = *(s7);
| /* str.error_running_first_action_script_for__s_n */
0x00002738 addiu a1, a1, 0x5530 | a1 += 0x5530;
0x0000273c addiu a0, zero, 5 | a0 = 5;
0x00002740 bal 0xd3d8 | sym_message ();
0x00002744 lw v0, 0x70(s7) | v0 = *((s7 + 28));
0x00002748 andi v0, v0, 0x800 | v0 &= 0x800;
0x0000274c lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00002750 beqz v0, 0x2770 |
0x00002754 lw v0, -0x7fd4(gp) | v0 = *((gp - 8181));
0x00002758 lw t9, -0x7fc8(gp) | t9 = sym.switch_user;
0x0000275c lw a1, 0x6320(v0) | a1 = *((v0 + 6344));
0x00002760 lw v0, -0x7fd4(gp) | v0 = *((gp - 8181));
0x00002764 lw a0, 0x6324(v0) | a0 = *((v0 + 6345));
0x00002768 bal 0xef2c | sym_switch_user ();
0x0000276c lw gp, 0x28(sp) | gp = *(var_28h);
| }
| label_9:
0x00002770 lw t9, -0x7db0(gp) | t9 = sym.imp.free;
0x00002774 lw a0, 0x4c(sp) | a0 = *(var_4ch);
0x00002778 addiu s0, zero, 1 | s0 = 1;
0x0000277c jalr t9 | t9 ();
0x00002780 lw gp, 0x28(sp) | gp = *(var_28h);
| label_10:
0x00002784 lw v0, 0x58(sp) | v0 = *(var_58h);
0x00002788 lw s7, 0xa0(s7) | s7 = *((s7 + 40));
0x0000278c or v0, v0, s0 | v0 |= s0;
0x00002790 sw v0, 0x58(sp) | *(var_58h) = v0;
| if (s7 != 0) {
0x00002794 bnez s7, 0x21f4 | goto label_5;
| }
| label_90:
0x00002798 lw v0, 0x54(sp) | v0 = *(var_54h);
0x0000279c lw v0, (v0) | v0 = *(v0);
0x000027a0 lw v0, 0x44(sp) | v0 = *(var_44h);
| if (v0 == 0) {
0x000027a4 beqz v0, 0x3a3c | goto label_111;
| }
| label_79:
0x000027a8 lw v0, 0x58(sp) | v0 = *(var_58h);
0x000027ac sltu v0, zero, v0 | v0 = (0 < v0) ? 1 : 0;
| label_76:
0x000027b0 lw v1, 0x68(sp) | v1 = *(var_68h);
0x000027b4 lw a0, 0x25c(sp) | a0 = *(var_25ch);
0x000027b8 lw v1, (v1) | v1 = *(v1);
0x000027bc lw ra, 0x284(sp) | ra = *(var_284h);
| if (a0 != v1) {
0x000027c0 bne a0, v1, 0x4554 | goto label_112;
| }
0x000027c4 lw fp, 0x280(sp) | fp = *(var_280h);
0x000027c8 lw s7, 0x27c(sp) | s7 = *(var_27ch);
0x000027cc lw s6, 0x278(sp) | s6 = *(var_278h);
0x000027d0 lw s5, 0x274(sp) | s5 = *(var_274h);
0x000027d4 lw s4, 0x270(sp) | s4 = *(var_270h);
0x000027d8 lw s3, 0x26c(sp) | s3 = *(var_26ch);
0x000027dc lw s2, 0x268(sp) | s2 = *(var_268h);
0x000027e0 lw s1, 0x264(sp) | s1 = *(var_264h);
0x000027e4 lw s0, 0x260(sp) | s0 = *(var_260h);
0x000027e8 addiu sp, sp, 0x288 |
0x000027ec jr ra | return v0;
| label_106:
0x00002878 lw a0, 4(s7) | a0 = *((s7 + 1));
0x0000287c lw t9, 0x30(sp) | t9 = *(var_30h);
0x00002880 lwx a0, s1(a0) | __asm ("lwx a0, s1(a0)");
0x00002884 jalr t9 | t9 ();
0x00002888 move s6, v0 | s6 = v0;
0x0000288c lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x00002890 beqz v0, 0x360c | goto label_113;
| }
0x00002894 lw t0, 0x50(sp) | t0 = *(var_50h);
0x00002898 sw zero, 0xd0(v0) | *((v0 + 52)) = 0;
0x0000289c addiu a0, s6, 0x30 | a0 = s6 + 0x30;
0x000028a0 move v0, fp | v0 = fp;
| do {
0x000028a4 lw a3, (v0) | a3 = *(v0);
0x000028a8 lw a2, 4(v0) | a2 = *((v0 + 1));
0x000028ac lw a1, 8(v0) | a1 = *((v0 + 2));
0x000028b0 lw v1, 0xc(v0) | v1 = *((v0 + 3));
0x000028b4 addiu v0, v0, 0x10 | v0 += 0x10;
0x000028b8 sw a3, (a0) | *(a0) = a3;
0x000028bc sw a2, 4(a0) | *((a0 + 1)) = a2;
0x000028c0 sw a1, 8(a0) | *((a0 + 2)) = a1;
0x000028c4 sw v1, 0xc(a0) | *((a0 + 3)) = v1;
0x000028c8 addiu a0, a0, 0x10 | a0 += 0x10;
0x000028cc bne v0, t0, 0x28a4 |
| } while (v0 != t0);
0x000028d0 lw v0, 0xd8(sp) | v0 = *(var_d8h);
0x000028d4 addiu v1, zero, 1 | v1 = 1;
0x000028d8 andi v0, v0, 0xf000 | v0 &= 0xf000;
0x000028dc ori a0, zero, 0xa000 | a0 = 0xa000;
0x000028e0 sw v1, 0xd4(s6) | *((s6 + 53)) = v1;
| if (v0 == a0) {
0x000028e4 beq v0, a0, 0x362c | goto label_114;
| }
0x000028e8 lw v0, 0x3c(sp) | v0 = *(var_3ch);
0x000028ec lw a3, 0xa4(sp) | a3 = *(var_a4h);
0x000028f0 addiu a1, v0, 0x50b0 | a1 = v0 + 0x50b0;
0x000028f4 lw v0, 0x98(sp) | v0 = *(var_98h);
0x000028f8 lw a2, 0xa8(sp) | a2 = *(var_a8h);
0x000028fc sw v0, 0x18(sp) | *(var_18h_2) = v0;
0x00002900 lw v0, 0x9c(sp) | v0 = *(var_9ch);
0x00002904 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00002908 sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x0000290c lw v0, 0xa0(sp) | v0 = *(var_a0h);
0x00002910 addiu a3, a3, 1 | a3++;
0x00002914 addiu a2, a2, 0x76c | a2 += 0x76c;
0x00002918 addiu a0, zero, 2 | a0 = 2;
0x0000291c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00002920 bal 0xd3d8 | sym_message ();
0x00002924 lw v0, 8(s6) | v0 = *((s6 + 2));
0x00002928 lw a3, 0x14(s6) | a3 = *((s6 + 5));
0x0000292c lw a2, 0x18(s6) | a2 = *((s6 + 6));
0x00002930 sw v0, 0x18(sp) | *(var_18h_2) = v0;
0x00002934 lw v0, 0xc(s6) | v0 = *((s6 + 3));
0x00002938 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000293c sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x00002940 lw v0, 0x10(s6) | v0 = *((s6 + 4));
0x00002944 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00002948 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000294c lw v0, 0x48(sp) | v0 = *(var_48h);
0x00002950 addiu a3, a3, 1 | a3++;
0x00002954 addiu a1, v0, 0x50d0 | a1 = v0 + 0x50d0;
0x00002958 addiu a2, a2, 0x76c | a2 += 0x76c;
0x0000295c addiu a0, zero, 2 | a0 = 2;
0x00002960 bal 0xd3d8 | sym_message ();
0x00002964 lw v0, 0x38(sp) | v0 = *(var_38h);
0x00002968 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x0000296c beqz v0, 0x2a88 |
0x00002970 addiu v1, zero, 1 | v1 = 1;
0x00002974 sw v1, 0xd0(s6) | *((s6 + 52)) = v1;
| label_49:
0x00002978 lw v0, 0x70(s7) | v0 = *((s7 + 28));
| label_8:
0x0000297c andi v0, v0, 4 | v0 &= 4;
0x00002980 lw a1, -0x7fd8(gp) | a1 = *(gp);
| if (v0 == 0) {
0x00002984 bnez v0, 0x299c |
0x00002988 lw v0, 0xf8(sp) | v0 = *(var_f8h);
0x0000298c lw a0, 0xfc(sp) | a0 = *(var_fch);
0x00002990 or v0, v0, a0 | v0 |= a0;
| if (v0 == 0) {
0x00002994 beql v0, zero, 0x3810 | goto label_115;
| }
0x00002998 lw a1, -0x7fd8(gp) | a1 = *(gp);
| }
| label_54:
0x0000299c lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.__log_needs_rotating_n */
0x000029a0 addiu a1, a1, 0x5488 | a1 += 0x5488;
0x000029a4 addiu a0, zero, 2 | a0 = 2;
0x000029a8 bal 0xd3d8 | sym_message ();
0x000029ac lw a0, 4(s7) | a0 = *((s7 + 1));
0x000029b0 b 0x2698 | goto label_6;
| label_105:
0x000029b4 lw a0, 4(s7) | a0 = *((s7 + 1));
0x000029b8 lw t9, -0x7db4(gp) | t9 = sym.imp.strdup;
0x000029bc lwx a0, s1(a0) | __asm ("lwx a0, s1(a0)");
0x000029c0 jalr t9 | t9 ();
0x000029c4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000029c8 move a0, v0 | a0 = v0;
0x000029cc lw t9, -0x7e58(gp) | t9 = sym.imp.dirname;
0x000029d0 move s6, v0 | s6 = v0;
0x000029d4 jalr t9 | t9 ();
0x000029d8 lw gp, 0x28(sp) | gp = *(var_28h);
0x000029dc sw v0, 0x64(sp) | *(var_64h) = v0;
0x000029e0 move a2, fp | a2 = fp;
0x000029e4 lw t9, -0x7f44(gp) | t9 = sym.imp.__xstat64;
0x000029e8 move a1, v0 | a1 = v0;
0x000029ec addiu a0, zero, 3 | a0 = 3;
0x000029f0 jalr t9 | t9 ();
0x000029f4 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x000029f8 beqz v0, 0x2cc4 | goto label_116;
| }
0x000029fc lw t9, -0x7eb8(gp) | t9 = sym.imp.__errno_location;
0x00002a00 jalr t9 | t9 ();
0x00002a04 nop |
0x00002a08 lw a0, (v0) | a0 = *(v0);
0x00002a0c addiu v0, zero, 2 | v0 = 2;
0x00002a10 lw gp, 0x28(sp) | gp = *(var_28h);
| if (a0 == v0) {
0x00002a14 bne a0, v0, 0x2a28 |
0x00002a18 lw v0, 0x70(s7) | v0 = *((s7 + 28));
0x00002a1c andi v0, v0, 0x20 | v0 &= 0x20;
0x00002a20 lw t9, -0x7db0(gp) | t9 = sym.imp.free;
| if (v0 != 0) {
0x00002a24 bnez v0, 0x39d4 | goto label_117;
| }
| }
0x00002a28 lw t9, -0x7e54(gp) | t9 = sym.imp.strerror;
0x00002a2c jalr t9 | t9 ();
0x00002a30 nop |
0x00002a34 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002a38 lw a2, 0x64(sp) | a2 = *(var_64h);
0x00002a3c move a3, v0 | a3 = v0;
0x00002a40 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00002a44 lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.stat_of__s_failed:__s_n */
0x00002a48 addiu a1, a1, 0x4f20 | a1 += 0x4f20;
0x00002a4c addiu a0, zero, 5 | a0 = 5;
0x00002a50 bal 0xd3d8 | sym_message ();
0x00002a54 lw gp, 0x28(sp) | gp = *(var_28h);
| label_47:
0x00002a58 lw t9, -0x7db0(gp) | t9 = sym.imp.free;
0x00002a5c move a0, s6 | a0 = s6;
0x00002a60 jalr t9 | t9 ();
0x00002a64 addiu s5, zero, 1 | s5 = 1;
0x00002a68 b 0x2694 | goto label_7;
| label_107:
0x00002a6c lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00002a70 move a2, s5 | a2 = s5;
| /* str.__log__s_does_not_exist____skipping_n */
0x00002a74 addiu a1, a1, 0x501c | a1 += 0x501c;
0x00002a78 addiu a0, zero, 2 | a0 = 2;
0x00002a7c bal 0xd3d8 | sym_message ();
0x00002a80 move s5, zero | s5 = 0;
0x00002a84 b 0x2694 | goto label_7;
| }
0x00002a88 lw a0, 0x20(s7) | a0 = *((s7 + 8));
0x00002a8c lw v0, 0x24(s7) | v0 = *((s7 + 9));
0x00002a90 or a1, a0, v0 | a1 = a0 | v0;
| if (a1 != 0) {
0x00002a94 beql a1, zero, 0x2ab8 |
0x00002a98 lw a0, 0x10(s7) | a0 = *((s7 + 4));
0x00002a9c lw a1, 0xfc(sp) | a1 = *(var_fch);
0x00002aa0 slt a2, v0, a1 | a2 = (v0 < a1) ? 1 : 0;
0x00002aa4 addiu v0, zero, 1 | v0 = 1;
| if (a2 == 0) {
0x00002aa8 bnel a2, zero, 0x36fc | goto label_118;
| }
0x00002aac lw v0, 0xf8(sp) | v0 = *(var_f8h);
| if (a1 == v0) {
0x00002ab0 beq a1, v0, 0x3a00 | goto label_119;
| }
0x00002ab4 lw a0, 0x10(s7) | a0 = *((s7 + 4));
| }
| label_62:
0x00002ab8 addiu v0, zero, 5 | v0 = 5;
0x00002abc lw v0, 0xfc(sp) | v0 = *(var_fch);
| if (a0 != v0) {
0x00002ac0 bne a0, v0, 0x3704 | goto label_120;
| }
0x00002ac4 lw a0, 0x1c(s7) | a0 = *((s7 + 7));
0x00002ac8 lw t0, 0xf8(sp) | t0 = *(var_f8h);
0x00002acc slt a1, v0, a0 | a1 = (v0 < a0) ? 1 : 0;
0x00002ad0 lw a3, 0x18(s7) | a3 = *((s7 + 6));
0x00002ad4 addiu a2, zero, 1 | a2 = 1;
| if (a1 != 0) {
0x00002ad8 bnez a1, 0x39b4 | goto label_121;
| }
0x00002adc sltu t1, t0, a3 | t1 = (t0 < a3) ? 1 : 0;
| if (a0 == v0) {
0x00002ae0 beq a0, v0, 0x39ac | goto label_122;
| }
| label_60:
0x00002ae4 sw a2, 0xd0(s6) | *((s6 + 52)) = a2;
| if (a1 != 0) {
0x00002ae8 bnez a1, 0x4110 | goto label_123;
| }
| if (a0 == v0) {
0x00002aec beql a0, v0, 0x4108 | goto label_124;
| }
0x00002af0 sltu a3, t0, a3 | a3 = (t0 < a3) ? 1 : 0;
| label_67:
0x00002af4 lw v0, 0xd0(s6) | v0 = *((s6 + 52));
| if (v0 == 0) {
| label_66:
0x00002af8 beql v0, zero, 0x2698 | goto label_6;
| }
0x00002afc lw a0, 4(s7) | a0 = *((s7 + 1));
0x00002b00 lw v0, 0x70(s7) | v0 = *((s7 + 28));
0x00002b04 b 0x297c | goto label_8;
| label_110:
0x00002b08 lw a0, 8(s7) | a0 = *((s7 + 2));
| label_58:
0x00002b0c lw t9, -0x7e48(gp) | t9 = sym.imp.malloc;
0x00002b10 sll s1, a0, 2 | s1 = a0 << 2;
0x00002b14 move a0, s1 | a0 = s1;
0x00002b18 jalr t9 | t9 ();
0x00002b1c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002b20 move a0, s1 | a0 = s1;
0x00002b24 move s3, v0 | s3 = v0;
0x00002b28 lw t9, -0x7e48(gp) | t9 = sym.imp.malloc;
0x00002b2c move s1, zero | s1 = 0;
0x00002b30 jalr t9 | t9 ();
0x00002b34 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002b38 sw v0, 0x34(sp) | *(var_34h) = v0;
0x00002b3c lw v0, 0x4c(sp) | v0 = *(var_4ch);
0x00002b40 lw a3, 0x70(s7) | a3 = *((s7 + 28));
0x00002b44 sw v0, 0x48(sp) | *(var_48h) = v0;
0x00002b48 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00002b4c move fp, s7 | fp = s7;
0x00002b50 addiu v0, v0, 0x294 | v0 += 0x294;
0x00002b54 sw v0, 0x38(sp) | *(var_38h) = v0;
0x00002b58 sw s3, 0x3c(sp) | *(var_3ch) = s3;
| label_24:
0x00002b5c andi v0, a3, 0x80 | v0 = a3 & 0x80;
| if (v0 != 0) {
0x00002b60 bnez v0, 0x2c94 | goto label_125;
| }
0x00002b64 nop |
0x00002b68 lw a0, 8(fp) | a0 = *(arg_8h);
0x00002b6c slt v0, s1, a0 | v0 = (s1 < a0) ? 1 : 0;
0x00002b70 move s2, s1 | s2 = s1;
| if (v0 != 0) {
0x00002b74 bnez v0, 0x2cfc | goto label_126;
| }
0x00002b78 lw s3, 0x3c(sp) | s3 = *(var_3ch);
0x00002b7c move s7, fp | s7 = fp;
| label_11:
0x00002b80 lw t9, -0x7db0(gp) | t9 = sym.imp.free;
| if (a0 <= 0) {
0x00002b84 blez a0, 0x2c0c | goto label_127;
| }
0x00002b88 lw s5, 0x34(sp) | s5 = *(var_34h);
0x00002b8c move s2, zero | s2 = 0;
| do {
0x00002b90 lw s1, (s5) | s1 = *(s5);
0x00002b94 lw t9, -0x7db0(gp) | t9 = sym.imp.free;
0x00002b98 addiu s2, s2, 1 | s2++;
0x00002b9c lw a0, (s1) | a0 = *(s1);
0x00002ba0 addiu s5, s5, 4 | s5 += 4;
0x00002ba4 jalr t9 | t9 ();
0x00002ba8 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002bac lw t9, -0x7db0(gp) | t9 = sym.imp.free;
0x00002bb0 lw a0, 4(s1) | a0 = *((s1 + 1));
0x00002bb4 jalr t9 | t9 ();
0x00002bb8 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002bbc lw t9, -0x7db0(gp) | t9 = sym.imp.free;
0x00002bc0 lw a0, 8(s1) | a0 = *((s1 + 2));
0x00002bc4 jalr t9 | t9 ();
0x00002bc8 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002bcc lw t9, -0x7db0(gp) | t9 = sym.imp.free;
0x00002bd0 lw a0, 0xc(s1) | a0 = *((s1 + 3));
0x00002bd4 jalr t9 | t9 ();
0x00002bd8 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002bdc lw t9, -0x7db0(gp) | t9 = sym.imp.free;
0x00002be0 lw a0, 0x10(s1) | a0 = *((s1 + 4));
0x00002be4 jalr t9 | t9 ();
0x00002be8 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002bec lw t9, -0x7db0(gp) | t9 = sym.imp.free;
0x00002bf0 move a0, s1 | a0 = s1;
0x00002bf4 jalr t9 | t9 ();
0x00002bf8 lw v0, 8(s7) | v0 = *((s7 + 2));
0x00002bfc slt v0, s2, v0 | v0 = (s2 < v0) ? 1 : 0;
0x00002c00 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002c04 bnez v0, 0x2b90 |
| } while (v0 != 0);
0x00002c08 lw t9, -0x7db0(gp) | t9 = sym.imp.free;
| label_127:
0x00002c0c lw a0, 0x34(sp) | a0 = *(var_34h);
0x00002c10 jalr t9 | t9 ();
0x00002c14 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002c18 lw t9, -0x7db0(gp) | t9 = sym.imp.free;
0x00002c1c move a0, s3 | a0 = s3;
0x00002c20 jalr t9 | t9 ();
0x00002c24 lw v0, 0x4c(s7) | v0 = *((s7 + 19));
0x00002c28 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00002c2c beqz v0, 0x2c50 |
0x00002c30 lw v0, 0x40(sp) | v0 = *(var_40h);
0x00002c34 lw t9, -0x7fdc(gp) | t9 = sym.message;
| if (v0 != 0) {
0x00002c38 bnez v0, 0x386c | goto label_128;
| }
0x00002c3c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00002c40 addiu a0, zero, 2 | a0 = 2;
| /* str.not_running_last_action_script__since_no_logs_will_be_rotated_n */
0x00002c44 addiu a1, a1, 0x5780 | a1 += 0x5780;
0x00002c48 bal 0xd3d8 | sym_message ();
0x00002c4c lw gp, 0x28(sp) | gp = *(var_28h);
| }
| label_56:
0x00002c50 lw v0, 0x70(s7) | v0 = *((s7 + 28));
0x00002c54 andi v0, v0, 0x800 | v0 &= 0x800;
0x00002c58 lw t9, -0x7db0(gp) | t9 = sym.imp.free;
| if (v0 == 0) {
0x00002c5c beqz v0, 0x2c84 | goto label_129;
| }
0x00002c60 lw v0, -0x7fd4(gp) | v0 = *((gp - 8181));
0x00002c64 lw t9, -0x7fc8(gp) | t9 = sym.switch_user;
0x00002c68 lw a1, 0x6320(v0) | a1 = *((v0 + 6344));
0x00002c6c lw v0, -0x7fd4(gp) | v0 = *((gp - 8181));
0x00002c70 lw a0, 0x6324(v0) | a0 = *((v0 + 6345));
0x00002c74 bal 0xef2c | sym_switch_user ();
0x00002c78 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00002c7c bnez v0, 0x2770 | goto label_9;
| }
0x00002c80 lw t9, -0x7db0(gp) | t9 = sym.imp.free;
| label_129:
0x00002c84 lw a0, 0x4c(sp) | a0 = *(var_4ch);
0x00002c88 jalr t9 | t9 ();
0x00002c8c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002c90 b 0x2784 | goto label_10;
| label_125:
0x00002c94 move s2, zero | s2 = 0;
| if (s1 != 0) {
0x00002c98 beqz s1, 0x2cfc |
0x00002c9c move s7, fp | s7 = fp;
0x00002ca0 lw s3, 0x3c(sp) | s3 = *(var_3ch);
0x00002ca4 lw a0, 8(fp) | a0 = *(arg_8h);
0x00002ca8 b 0x2b80 | goto label_11;
| label_97:
0x00002cac lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00002cb0 addiu a0, zero, 2 | a0 = 2;
| /* str.empty_log_files_are_not_rotated__ */
0x00002cb4 addiu a1, a1, 0x4e0c | a1 += 0x4e0c;
0x00002cb8 bal 0xd3d8 | sym_message ();
0x00002cbc lw gp, 0x28(sp) | gp = *(var_28h);
0x00002cc0 b 0x24a0 | goto label_12;
| label_116:
0x00002cc4 lw v1, 0xe4(sp) | v1 = *(var_e4h);
0x00002cc8 lw v0, 0xd8(sp) | v0 = *(var_d8h);
| if (v1 != 0) {
0x00002ccc beqz v1, 0x2cdc |
0x00002cd0 andi v1, v0, 0x10 | v1 = v0 & 0x10;
0x00002cd4 lw a2, 4(s7) | a2 = *((s7 + 1));
| if (v1 == 0) {
0x00002cd8 bnel v1, zero, 0x3650 | goto label_130;
| }
| }
0x00002cdc andi v0, v0, 2 | v0 &= 2;
0x00002ce0 lw a2, 4(s7) | a2 = *((s7 + 1));
| if (v0 == 0) {
0x00002ce4 bnel v0, zero, 0x3650 | goto label_130;
| }
0x00002ce8 lw t9, -0x7db0(gp) | t9 = sym.imp.free;
0x00002cec move a0, s6 | a0 = s6;
0x00002cf0 jalr t9 | t9 ();
0x00002cf4 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002cf8 b 0x260c | goto label_13;
| }
| label_126:
0x00002cfc lw v0, 0x34(sp) | v0 = *(var_34h);
0x00002d00 sll s4, s2, 2 | s4 = s2 << 2;
0x00002d04 addu s5, v0, s4 | s5 = v0 + s4;
0x00002d08 lw v0, 0x4c(sp) | v0 = *(var_4ch);
0x00002d0c addu s7, v0, s4 | s7 = v0 + s4;
0x00002d10 lw v0, 0x3c(sp) | v0 = *(var_3ch);
0x00002d14 addu s4, v0, s4 | s4 = v0 + s4;
| label_17:
0x00002d18 andi a0, a3, 0x80 | a0 = a3 & 0x80;
| if (a0 == 0) {
0x00002d1c beqz a0, 0x2ebc | goto label_131;
| }
0x00002d20 nop |
0x00002d24 lw v0, 8(fp) | v0 = *(arg_8h);
0x00002d28 slt v0, s2, v0 | v0 = (s2 < v0) ? 1 : 0;
0x00002d2c lw a0, 4(fp) | a0 = *(arg_4h);
| if (v0 == 0) {
0x00002d30 bnel v0, zero, 0x2ec8 | goto label_132;
| }
0x00002d34 lw v0, 0x40(fp) | v0 = *(arg_40h);
| label_16:
0x00002d38 lw v0, 0x48(sp) | v0 = *(var_48h);
| if (v0 != 0) {
0x00002d3c beqz v0, 0x2d94 |
0x00002d40 lw v0, (v0) | v0 = *(v0);
0x00002d44 sll s2, s1, 2 | s2 = s1 << 2;
| if (v0 != 0) {
0x00002d48 bnez v0, 0x3524 | goto label_133;
| }
0x00002d4c lw v0, 0x3c(sp) | v0 = *(var_3ch);
0x00002d50 lwx v0, s2(v0) | __asm ("lwx v0, s2(v0)");
0x00002d54 lw v0, 0xd0(v0) | v0 = *((v0 + 52));
| if (v0 == 0) {
0x00002d58 beqz v0, 0x3524 | goto label_133;
| }
0x00002d5c nop |
0x00002d60 lw v0, 0x40(sp) | v0 = *(var_40h);
| if (s0 != 0) {
0x00002d64 beqz s0, 0x2d74 |
0x00002d68 lw v0, -0x7fd8(gp) | v0 = *(gp);
| if (a0 != 0) {
0x00002d6c bnez a0, 0x2d98 | goto label_33;
| }
0x00002d70 lw v0, 0x40(sp) | v0 = *(var_40h);
| }
| label_34:
0x00002d74 lw t9, -0x7fdc(gp) | t9 = sym.message;
| if (v0 != 0) {
0x00002d78 bnez v0, 0x3920 | goto label_134;
| }
0x00002d7c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00002d80 addiu a0, zero, 2 | a0 = 2;
| /* str.not_running_prerotate_script__since_no_logs_will_be_rotated_n */
0x00002d84 addiu a1, a1, 0x555c | a1 += 0x555c;
0x00002d88 bal 0xd3d8 | sym_message ();
0x00002d8c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002d90 lw a3, 0x70(fp) | a3 = *(arg_70h);
| }
| label_59:
0x00002d94 lw v0, -0x7fd8(gp) | v0 = *(gp);
| label_33:
0x00002d98 lw s4, -0x7fd8(gp) | s4 = *(gp);
| label_35:
0x00002d9c sw v0, 0x64(sp) | *(var_64h) = v0;
0x00002da0 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00002da4 andi a0, a3, 0x80 | a0 = a3 & 0x80;
0x00002da8 sw v0, 0x70(sp) | *(var_70h) = v0;
| /* str..tmp */
0x00002dac addiu v0, s4, 0x5624 | v0 = s4 + 0x5624;
0x00002db0 sw v0, 0x6c(sp) | *(var_6ch) = v0;
0x00002db4 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00002db8 lw s5, 0x48(sp) | s5 = *(var_48h);
0x00002dbc addiu v0, v0, -0x1c08 | v0 += -0x1c08;
0x00002dc0 move s7, s1 | s7 = s1;
0x00002dc4 sw v0, 0x84(sp) | *(var_84h) = v0;
0x00002dc8 move s6, s0 | s6 = s0;
| if (a0 == 0) {
0x00002dcc beqz a0, 0x2e08 | goto label_135;
| }
0x00002dd0 lw v0, 8(fp) | v0 = *(arg_8h);
| do {
0x00002dd4 slt v0, s7, v0 | v0 = (s7 < v0) ? 1 : 0;
| if (v0 == 0) {
0x00002dd8 beql v0, zero, 0x2f40 | goto label_136;
| }
0x00002ddc lw v0, 0x44(fp) | v0 = *(arg_44h);
0x00002de0 lw s2, (s5) | s2 = *(s5);
0x00002de4 sll v0, s7, 2 | v0 = s7 << 2;
0x00002de8 move s0, v0 | s0 = v0;
| if (s2 == 0) {
0x00002dec beqz s2, 0x37a8 | goto label_137;
| }
0x00002df0 lw v1, 0x3c(sp) | v1 = *(var_3ch);
| if (s6 == 0) {
0x00002df4 beqz s6, 0x2e24 | goto label_138;
| }
| label_14:
0x00002df8 addiu s7, s7, 1 | s7++;
| label_50:
0x00002dfc addiu s5, s5, 4 | s5 += 4;
| label_15:
0x00002e00 lw v0, 8(fp) | v0 = *(arg_8h);
0x00002e04 bnel a0, zero, 0x2dd4 |
| } while (a0 == 0);
| label_135:
0x00002e08 lw v0, 0x44(fp) | v0 = *(arg_44h);
| if (s1 == s7) {
0x00002e0c bnel s1, s7, 0x2f40 | goto label_136;
| }
0x00002e10 lw s2, (s5) | s2 = *(s5);
0x00002e14 sll s0, s1, 2 | s0 = s1 << 2;
| if (s2 != 0) {
0x00002e18 bnez s2, 0x2df8 | goto label_14;
| }
0x00002e1c move v0, s0 | v0 = s0;
| label_51:
0x00002e20 lw v1, 0x3c(sp) | v1 = *(var_3ch);
| label_138:
0x00002e24 sw zero, 0x94(sp) | *(var_94h) = 0;
0x00002e28 lwx s3, v0(v1) | __asm ("lwx s3, v0(v1)");
0x00002e2c lw v1, 0x34(sp) | v1 = *(var_34h);
0x00002e30 lwx s4, v0(v1) | __asm ("lwx s4, v0(v1)");
0x00002e34 lw v0, 0xd0(s3) | v0 = *((s3 + 52));
| if (v0 != 0) {
0x00002e38 beql v0, zero, 0x2e70 |
0x00002e3c sw s2, (s5) | *(s5) = s2;
0x00002e40 andi v0, a3, 0x110 | v0 = a3 & 0x110;
| if (v0 == 0) {
0x00002e44 beql v0, zero, 0x314c | goto label_139;
| }
0x00002e48 lw a2, 4(fp) | a2 = *(arg_4h);
0x00002e4c andi v0, a3, 0x112 | v0 = a3 & 0x112;
0x00002e50 addiu a0, zero, 2 | a0 = 2;
| if (v0 == a0) {
0x00002e54 beql v0, a0, 0x3448 | goto label_140;
| }
0x00002e58 lw a0, 0x7c(fp) | a0 = *(arg_7ch);
| label_22:
0x00002e5c andi v0, a3, 0x4000 | v0 = a3 & 0x4000;
| if (v0 == 0) {
0x00002e60 beql v0, zero, 0x2e80 | goto label_141;
| }
0x00002e64 lw a0, 4(fp) | a0 = *(arg_4h);
0x00002e68 andi a0, a3, 0x80 | a0 = a3 & 0x80;
| label_21:
0x00002e6c sw s2, (s5) | *(s5) = s2;
| }
0x00002e70 or s6, s6, s2 | s6 |= s2;
| do {
| label_23:
0x00002e74 addiu s7, s7, 1 | s7++;
0x00002e78 addiu s5, s5, 4 | s5 += 4;
0x00002e7c b 0x2e00 | goto label_15;
| label_141:
0x00002e80 lw v0, 0x30(fp) | v0 = *(arg_30h);
0x00002e84 lw a1, 8(s4) | a1 = *((s4 + 2));
0x00002e88 lwx a0, s0(a0) | __asm ("lwx a0, s0(a0)");
0x00002e8c sltiu v0, v0, 1 | v0 = (v0 < 1) ? 1 : 0;
0x00002e90 lw t9, 0x80(sp) | t9 = *(var_80h);
0x00002e94 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00002e98 addiu a2, s3, 0x30 | a2 = s3 + 0x30;
0x00002e9c jalr t9 | t9 ();
0x00002ea0 lw a3, 0x70(fp) | a3 = *(arg_70h);
0x00002ea4 or s2, s2, v0 | s2 |= v0;
0x00002ea8 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002eac andi a0, a3, 0x80 | a0 = a3 & 0x80;
0x00002eb0 sw s2, (s5) | *(s5) = s2;
0x00002eb4 or s6, s6, s2 | s6 |= s2;
0x00002eb8 b 0x2e74 |
| } while (1);
| label_131:
0x00002ebc lw v0, 0x40(fp) | v0 = *(arg_40h);
| if (s2 == s1) {
0x00002ec0 bnel s2, s1, 0x2d38 | goto label_16;
| }
0x00002ec4 lw a0, 4(fp) | a0 = *(arg_4h);
| label_132:
0x00002ec8 sll v0, s2, 2 | v0 = s2 << 2;
0x00002ecc lw t9, 0x30(sp) | t9 = *(var_30h);
0x00002ed0 lwx a0, v0(a0) | __asm ("lwx a0, v0(a0)");
0x00002ed4 jalr t9 | t9 ();
0x00002ed8 move s3, v0 | s3 = v0;
0x00002edc lw gp, 0x28(sp) | gp = *(var_28h);
0x00002ee0 sw v0, (s4) | *(s4) = v0;
| if (v0 == 0) {
0x00002ee4 beqz v0, 0x313c | goto label_142;
| }
0x00002ee8 lw s6, (s7) | s6 = *(s7);
| label_20:
0x00002eec lw t9, -0x7f70(gp) | t9 = sym.imp.calloc;
0x00002ef0 addiu a1, zero, 1 | a1 = 1;
0x00002ef4 addiu a0, zero, 0x14 | a0 = 0x14;
0x00002ef8 jalr t9 | t9 ();
0x00002efc lw t9, 0x38(sp) | t9 = *(var_38h);
0x00002f00 move a1, s2 | a1 = s2;
0x00002f04 move a3, v0 | a3 = v0;
0x00002f08 sw v0, (s5) | *(s5) = v0;
0x00002f0c move a2, s3 | a2 = s3;
0x00002f10 move a0, fp | a0 = fp;
0x00002f14 jalr t9 | t9 ();
0x00002f18 or v0, v0, s6 | v0 |= s6;
0x00002f1c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002f20 sw v0, (s7) | *(s7) = v0;
0x00002f24 or s0, s0, v0 | s0 |= v0;
0x00002f28 addiu s2, s2, 1 | s2++;
0x00002f2c addiu s5, s5, 4 | s5 += 4;
0x00002f30 addiu s7, s7, 4 | s7 += 4;
0x00002f34 addiu s4, s4, 4 | s4 += 4;
0x00002f38 lw a3, 0x70(fp) | a3 = *(arg_70h);
0x00002f3c b 0x2d18 | goto label_17;
| label_136:
0x00002f40 move s0, s6 | s0 = s6;
| if (v0 != 0) {
0x00002f44 beqz v0, 0x3014 |
0x00002f48 lw v0, 0x48(sp) | v0 = *(var_48h);
0x00002f4c lw v0, (v0) | v0 = *(v0);
0x00002f50 sll s2, s1, 2 | s2 = s1 << 2;
| if (v0 != 0) {
0x00002f54 bnez v0, 0x3504 | goto label_143;
| }
0x00002f58 lw v0, 0x3c(sp) | v0 = *(var_3ch);
0x00002f5c lwx v0, s2(v0) | __asm ("lwx v0, s2(v0)");
0x00002f60 lw v0, 0xd0(v0) | v0 = *((v0 + 52));
| if (v0 == 0) {
0x00002f64 beqz v0, 0x3504 | goto label_143;
| }
0x00002f68 nop |
0x00002f6c lw v0, 0x40(sp) | v0 = *(var_40h);
| if (s6 == 0) {
0x00002f70 beqz s6, 0x3a20 | goto label_144;
| }
0x00002f74 lw v0, -0x7fd8(gp) | v0 = *(gp);
| if (a0 == 0) {
0x00002f78 bnel a0, zero, 0x3018 | goto label_30;
| }
0x00002f7c lw a1, -0x7fd8(gp) | a1 = *(gp);
| if (v0 == 0) {
0x00002f80 beqz v0, 0x3d9c | goto label_145;
| }
0x00002f84 lw v0, 0x34(sp) | v0 = *(var_34h);
| label_64:
0x00002f88 lw s4, 4(fp) | s4 = *(arg_4h);
0x00002f8c lwx v0, s2(v0) | __asm ("lwx v0, s2(v0)");
0x00002f90 lwx s4, s2(s4) | __asm ("lwx s4, s2(s4)");
0x00002f94 lw s5, 8(v0) | s5 = *((v0 + 2));
| label_32:
0x00002f98 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00002f9c lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.running_postrotate_script_n */
0x00002fa0 addiu a1, a1, 0x56dc | a1 += 0x56dc;
0x00002fa4 addiu a0, zero, 2 | a0 = 2;
0x00002fa8 bal 0xd3d8 | sym_message ();
0x00002fac lw gp, 0x28(sp) | gp = *(var_28h);
0x00002fb0 lw a3, 0x44(fp) | a3 = *(arg_44h);
0x00002fb4 move a2, s5 | a2 = s5;
0x00002fb8 lw t9, -0x7fd8(gp) | t9 = *(gp);
0x00002fbc move a1, s4 | a1 = s4;
0x00002fc0 addiu t9, t9, -0xfb0 | t9 += -0xfb0;
0x00002fc4 addiu a0, fp, 0x70 | a0 = fp + 0x70;
0x00002fc8 bal 0xf050 | fcn_0000f050 ();
0x00002fcc lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00002fd0 beqz v0, 0x3010 |
0x00002fd4 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00002fd8 andi v0, v0, 0x80 | v0 &= 0x80;
0x00002fdc lw a3, (fp) | a3 = *(fp);
| if (v0 == 0) {
0x00002fe0 beqz v0, 0x415c | goto label_146;
| }
0x00002fe4 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00002fe8 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00002fec move a2, a3 | a2 = a3;
| /* str.error_running_shared_postrotate_script_for__s_n */
0x00002ff0 addiu a1, a1, 0x56f8 | a1 += 0x56f8;
0x00002ff4 addiu a0, zero, 5 | a0 = 5;
0x00002ff8 bal 0xd3d8 | sym_message ();
0x00002ffc lw gp, 0x28(sp) | gp = *(var_28h);
| label_73:
0x00003000 lw v1, 0x48(sp) | v1 = *(var_48h);
0x00003004 addiu v0, zero, 1 | v0 = 1;
0x00003008 addiu s0, zero, 1 | s0 = 1;
0x0000300c sw v0, (v1) | *(v1) = v0;
| }
0x00003010 lw a3, 0x70(fp) | a3 = *(arg_70h);
| }
| label_31:
0x00003014 lw v0, -0x7fd8(gp) | v0 = *(gp);
| label_30:
0x00003018 lw s2, -0x7fd8(gp) | s2 = *(gp);
0x0000301c sw v0, 0x6c(sp) | *(var_6ch) = v0;
0x00003020 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00003024 lw s4, -0x7fd8(gp) | s4 = *(gp);
0x00003028 sw v0, 0x70(sp) | *(var_70h) = v0;
0x0000302c andi a1, a3, 0x80 | a1 = a3 & 0x80;
0x00003030 addiu v0, s2, -0xb2c | v0 = s2 + -0xb2c;
0x00003034 addiu s6, s4, -0x288 | s6 = s4 + -0x288;
0x00003038 lw s7, 0x48(sp) | s7 = *(var_48h);
0x0000303c move s5, s1 | s5 = s1;
0x00003040 sw v0, 0x74(sp) | *(var_74h) = v0;
0x00003044 lw s4, 0x3c(sp) | s4 = *(var_3ch);
0x00003048 move s3, s0 | s3 = s0;
| if (a1 == 0) {
0x0000304c beqz a1, 0x3088 | goto label_147;
| }
0x00003050 lw v0, 8(fp) | v0 = *(arg_8h);
| do {
0x00003054 slt v0, s5, v0 | v0 = (s5 < v0) ? 1 : 0;
0x00003058 lw v0, 0x48(sp) | v0 = *(var_48h);
| if (v0 == 0) {
0x0000305c beqz v0, 0x3294 | goto label_148;
| }
0x00003060 lw s2, (s7) | s2 = *(s7);
0x00003064 sll v0, s5, 2 | v0 = s5 << 2;
0x00003068 move v1, v0 | v1 = v0;
| if (s2 == 0) {
0x0000306c beqz s2, 0x37b8 | goto label_149;
| }
| if (s3 == 0) {
0x00003070 beql s3, zero, 0x30a4 | goto label_150;
| }
0x00003074 lwx s0, v0(s4) | __asm ("lwx s0, v0(s4)");
| label_18:
0x00003078 addiu s5, s5, 1 | s5++;
| label_52:
0x0000307c addiu s7, s7, 4 | s7 += 4;
| label_19:
0x00003080 lw v0, 8(fp) | v0 = *(arg_8h);
0x00003084 bnel a1, zero, 0x3054 |
| } while (a1 == 0);
| label_147:
0x00003088 lw v0, 0x48(sp) | v0 = *(var_48h);
| if (s1 == s5) {
0x0000308c bnel s1, s5, 0x3294 | goto label_148;
| }
0x00003090 lw s2, (s7) | s2 = *(s7);
0x00003094 sll v1, s1, 2 | v1 = s1 << 2;
| if (s2 != 0) {
0x00003098 bnez s2, 0x3078 | goto label_18;
| }
0x0000309c move v0, v1 | v0 = v1;
| label_53:
0x000030a0 lwx s0, v0(s4) | __asm ("lwx s0, v0(s4)");
| label_150:
0x000030a4 lw a0, 0xd0(s0) | a0 = *((s0 + 52));
| if (a0 != 0) {
0x000030a8 beql a0, zero, 0x312c |
0x000030ac sw s2, (s7) | *(s7) = s2;
0x000030b0 lw a1, 0x34(sp) | a1 = *(var_34h);
0x000030b4 andi a0, a3, 0x4000 | a0 = a3 & 0x4000;
0x000030b8 lwx t0, v0(a1) | __asm ("lwx t0, v0(a1)");
| if (a0 != 0) {
0x000030bc bnez a0, 0x32d8 | goto label_151;
| }
0x000030c0 andi a3, a3, 9 | a3 &= 9;
0x000030c4 addiu v0, zero, 1 | v0 = 1;
| if (a3 == v0) {
0x000030c8 beql a3, v0, 0x3554 | goto label_152;
| }
0x000030cc addiu v1, s0, 0x30 | v1 = s0 + 0x30;
| label_37:
0x000030d0 lw v0, 0x54(fp) | v0 = *(arg_54h);
| label_40:
0x000030d4 lw a0, 4(t0) | a0 = *((t0 + 1));
| if (v0 == 0) {
0x000030d8 beqz v0, 0x32ac | goto label_153;
| }
0x000030dc lw v1, 0x70(fp) | v1 = *(arg_70h);
0x000030e0 lw v0, (t0) | v0 = *(t0);
0x000030e4 andi v1, v1, 0x40 | v1 &= 0x40;
| if (v1 != 0) {
0x000030e8 movz v0, a0, v1 | v0 = a0;
| }
0x000030ec sw t0, 0x64(sp) | *(var_64h) = t0;
| if (v0 == 0) {
0x000030f0 beqz v0, 0x32ac | goto label_153;
| }
0x000030f4 lw v1, 0x5c(sp) | v1 = *(var_5ch);
0x000030f8 move a3, fp | a3 = fp;
0x000030fc move a2, s5 | a2 = s5;
0x00003100 lw a1, 0x6020(v1) | a1 = *((v1 + 6152));
0x00003104 move t9, s6 | t9 = s6;
0x00003108 move a0, v0 | a0 = v0;
0x0000310c bal 0xfd78 | fcn_0000fd78 ();
0x00003110 lw gp, 0x28(sp) | gp = *(var_28h);
0x00003114 lw t0, 0x64(sp) | t0 = *(var_64h);
| if (v0 == 0) {
0x00003118 beqz v0, 0x32a8 | goto label_154;
| }
0x0000311c lw a3, 0x70(fp) | a3 = *(arg_70h);
| label_38:
0x00003120 or s2, s2, v0 | s2 |= v0;
0x00003124 andi a1, a3, 0x80 | a1 = a3 & 0x80;
0x00003128 sw s2, (s7) | *(s7) = s2;
| }
0x0000312c or s3, s3, s2 | s3 |= s2;
| label_25:
0x00003130 addiu s5, s5, 1 | s5++;
0x00003134 addiu s7, s7, 4 | s7 += 4;
0x00003138 b 0x3080 | goto label_19;
| label_142:
0x0000313c addiu v0, zero, 1 | v0 = 1;
0x00003140 sw v0, (s7) | *(s7) = v0;
0x00003144 addiu s6, zero, 1 | s6 = 1;
0x00003148 b 0x2eec | goto label_20;
| label_139:
0x0000314c andi a3, a3, 0x4000 | a3 &= 0x4000;
0x00003150 lwx a2, s0(a2) | __asm ("lwx a2, s0(a2)");
| if (a3 == 0) {
0x00003154 beqz a3, 0x3398 | goto label_155;
| }
0x00003158 lw v0, 0x6c(sp) | v0 = *(var_6ch);
0x0000315c lw t9, -0x7e40(gp) | t9 = sym.imp.__asprintf_chk;
0x00003160 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00003164 lw v0, 0x64(sp) | v0 = *(var_64h);
0x00003168 move a3, a2 | a3 = a2;
0x0000316c addiu a1, zero, 1 | a1 = 1;
0x00003170 addiu a2, v0, 0x46c8 | a2 = v0 + 0x46c8;
0x00003174 addiu a0, sp, 0x94 | a0 = sp + 0x94;
0x00003178 jalr t9 | t9 ();
0x0000317c lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 < 0) {
0x00003180 bltz v0, 0x37c8 | goto label_156;
| }
0x00003184 lw a2, 4(fp) | a2 = *(arg_4h);
0x00003188 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x0000318c lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00003190 lw a3, 0x94(sp) | a3 = *(var_94h);
0x00003194 lwx a2, s0(a2) | __asm ("lwx a2, s0(a2)");
| /* str.moving__s_to__s_n */
0x00003198 addiu a1, a1, 0x5654 | a1 += 0x5654;
0x0000319c addiu a0, zero, 2 | a0 = 2;
0x000031a0 bal 0xd3d8 | sym_message ();
0x000031a4 lw v0, 0x54(sp) | v0 = *(var_54h);
0x000031a8 lw v0, (v0) | v0 = *(v0);
0x000031ac lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x000031b0 beqz v0, 0x3838 | goto label_157;
| }
| label_26:
0x000031b4 lw t1, 0x30(fp) | t1 = *(arg_30h);
0x000031b8 lw v0, 0x70(fp) | v0 = *(arg_70h);
| if (t1 == 0) {
0x000031bc bnel t1, zero, 0x3268 | goto label_158;
| }
| label_28:
0x000031c0 lw v0, 0x68(fp) | v0 = *(arg_68h);
| if (v0 == 0) {
0x000031c4 beql v0, zero, 0x325c | goto label_159;
| }
0x000031c8 lw v0, 0x60(sp) | v0 = *(var_60h);
0x000031cc lw a0, 0x70(fp) | a0 = *(arg_70h);
0x000031d0 andi a0, a0, 1 | a0 &= 1;
| if (a0 == 0) {
0x000031d4 beql a0, zero, 0x325c | goto label_159;
| }
0x000031d8 lw v0, 0x60(sp) | v0 = *(var_60h);
| do {
0x000031dc lw t9, -0x7db0(gp) | t9 = sym.imp.free;
0x000031e0 lw a0, 4(s4) | a0 = *((s4 + 1));
0x000031e4 sw t1, 0x78(sp) | *(var_78h) = t1;
0x000031e8 sw v0, 0x74(sp) | *(var_74h) = v0;
0x000031ec jalr t9 | t9 ();
0x000031f0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000031f4 lw v0, 0x74(sp) | v0 = *(var_74h);
0x000031f8 lw a3, 8(s4) | a3 = *((s4 + 2));
0x000031fc sw v0, 0x10(sp) | *(var_10h) = v0;
0x00003200 lw v0, 0x64(sp) | v0 = *(var_64h);
0x00003204 lw t9, -0x7e40(gp) | t9 = sym.imp.__asprintf_chk;
0x00003208 addiu a2, v0, 0x46c8 | a2 = v0 + 0x46c8;
0x0000320c addiu a1, zero, 1 | a1 = 1;
0x00003210 addiu a0, s4, 4 | a0 = s4 + 4;
0x00003214 jalr t9 | t9 ();
0x00003218 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000321c lw t1, 0x78(sp) | t1 = *(var_78h);
| if (v0 < 0) {
0x00003220 bltz v0, 0x38c8 | goto label_160;
| }
| label_57:
0x00003224 lw v0, 0x70(sp) | v0 = *(var_70h);
0x00003228 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x0000322c lw a2, 4(s4) | a2 = *((s4 + 1));
0x00003230 sw t1, 0x74(sp) | *(var_74h) = t1;
0x00003234 addiu a1, v0, 0x5688 | a1 = v0 + 0x5688;
0x00003238 addiu a0, zero, 2 | a0 = 2;
0x0000323c bal 0xd3d8 | sym_message ();
0x00003240 lw t1, 0x74(sp) | t1 = *(var_74h);
0x00003244 lw gp, 0x28(sp) | gp = *(var_28h);
| if (t1 == 0) {
0x00003248 beqz t1, 0x3264 | goto label_161;
| }
| label_27:
0x0000324c lw a3, 0x70(fp) | a3 = *(arg_70h);
0x00003250 ori s2, s2, 1 | s2 |= 1;
0x00003254 andi a0, a3, 0x80 | a0 = a3 & 0x80;
0x00003258 b 0x2e6c | goto label_21;
| label_159:
0x0000325c addiu v0, v0, 0x4ccc | v0 += 0x4ccc;
0x00003260 b 0x31dc |
| } while (1);
| label_161:
0x00003264 lw v0, 0x70(fp) | v0 = *(arg_70h);
| label_158:
0x00003268 addiu a0, zero, 2 | a0 = 2;
0x0000326c andi v0, v0, 0x112 | v0 &= 0x112;
| if (v0 == a0) {
0x00003270 beql v0, a0, 0x3448 | goto label_140;
| }
0x00003274 lw a0, 0x7c(fp) | a0 = *(arg_7ch);
| label_29:
0x00003278 lw a3, 0x70(fp) | a3 = *(arg_70h);
0x0000327c andi v0, a3, 0x110 | v0 = a3 & 0x110;
0x00003280 andi a0, a3, 0x80 | a0 = a3 & 0x80;
| if (v0 != 0) {
0x00003284 bnez v0, 0x2e5c | goto label_22;
| }
0x00003288 sw s2, (s5) | *(s5) = s2;
0x0000328c or s6, s6, s2 | s6 |= s2;
0x00003290 b 0x2e74 | goto label_23;
| label_148:
0x00003294 move s0, s3 | s0 = s3;
0x00003298 addiu v0, v0, 4 | v0 += 4;
0x0000329c addiu s1, s1, 1 | s1++;
0x000032a0 sw v0, 0x48(sp) | *(var_48h) = v0;
0x000032a4 b 0x2b5c | goto label_24;
| label_154:
0x000032a8 lw a0, 4(t0) | a0 = *((t0 + 1));
| label_153:
0x000032ac lw t9, 0x74(sp) | t9 = *(var_74h);
| if (a0 == 0) {
0x000032b0 beqz a0, 0x34f0 | goto label_162;
| }
0x000032b4 move a1, fp | a1 = fp;
0x000032b8 jalr t9 | t9 ();
0x000032bc lw a3, 0x70(fp) | a3 = *(arg_70h);
0x000032c0 or s2, s2, v0 | s2 |= v0;
0x000032c4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000032c8 andi a1, a3, 0x80 | a1 = a3 & 0x80;
0x000032cc sw s2, (s7) | *(s7) = s2;
0x000032d0 or s3, s3, s2 | s3 |= s2;
0x000032d4 b 0x3130 | goto label_25;
| label_151:
0x000032d8 lw a3, 4(fp) | a3 = *(arg_4h);
0x000032dc lw v0, 0x6c(sp) | v0 = *(var_6ch);
0x000032e0 sw zero, 0x94(sp) | *(var_94h) = 0;
0x000032e4 addiu v0, v0, 0x5624 | v0 += 0x5624;
0x000032e8 lwx a3, v1(a3) | __asm ("lwx a3, v1(a3)");
0x000032ec sw v0, 0x10(sp) | *(var_10h) = v0;
0x000032f0 lw v0, 0x70(sp) | v0 = *(var_70h);
0x000032f4 lw t9, -0x7e40(gp) | t9 = sym.imp.__asprintf_chk;
0x000032f8 sw t0, 0x64(sp) | *(var_64h) = t0;
0x000032fc addiu a2, v0, 0x46c8 | a2 = v0 + 0x46c8;
0x00003300 addiu a1, zero, 1 | a1 = 1;
0x00003304 addiu a0, sp, 0x94 | a0 = sp + 0x94;
0x00003308 jalr t9 | t9 ();
0x0000330c lw gp, 0x28(sp) | gp = *(var_28h);
0x00003310 lw t0, 0x64(sp) | t0 = *(var_64h);
| if (v0 < 0) {
0x00003314 bltz v0, 0x368c | goto label_163;
| }
0x00003318 addiu v1, s0, 0x30 | v1 = s0 + 0x30;
0x0000331c lw a1, 8(t0) | a1 = *((t0 + 2));
0x00003320 lw a0, 0x94(sp) | a0 = *(var_94h);
0x00003324 lw t9, 0x80(sp) | t9 = *(var_80h);
0x00003328 move a2, v1 | a2 = v1;
0x0000332c sw v1, 0x78(sp) | *(var_78h) = v1;
0x00003330 sw t0, 0x64(sp) | *(var_64h) = t0;
0x00003334 addiu a3, zero, 0x100 | a3 = 0x100;
0x00003338 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000333c jalr t9 | t9 ();
0x00003340 lw gp, 0x28(sp) | gp = *(var_28h);
0x00003344 lw a2, 0x94(sp) | a2 = *(var_94h);
0x00003348 addiu a0, zero, 2 | a0 = 2;
0x0000334c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00003350 lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.removing_tmp_log__s__n */
0x00003354 addiu a1, a1, 0x5768 | a1 += 0x5768;
0x00003358 move s0, v0 | s0 = v0;
0x0000335c bal 0xd3d8 | sym_message ();
0x00003360 lw v0, 0x54(sp) | v0 = *(var_54h);
0x00003364 lw gp, 0x28(sp) | gp = *(var_28h);
0x00003368 lw t0, 0x64(sp) | t0 = *(var_64h);
0x0000336c lw v0, (v0) | v0 = *(v0);
0x00003370 lw v1, 0x78(sp) | v1 = *(var_78h);
| if (v0 != 0) {
0x00003374 bnez v0, 0x3584 | goto label_164;
| }
0x00003378 lw t9, -0x7dfc(gp) | t9 = sym.imp.unlink;
| if (s0 == 0) {
0x0000337c beqz s0, 0x39bc | goto label_165;
| }
0x00003380 lw a3, 0x70(fp) | a3 = *(arg_70h);
| label_39:
0x00003384 or s2, s2, s0 | s2 |= s0;
0x00003388 andi a1, a3, 0x80 | a1 = a3 & 0x80;
0x0000338c sw s2, (s7) | *(s7) = s2;
0x00003390 or s3, s3, s2 | s3 |= s2;
0x00003394 b 0x3130 | goto label_25;
| label_155:
0x00003398 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x0000339c lw t9, -0x7fdc(gp) | t9 = sym.message;
0x000033a0 lw a3, 8(s4) | a3 = *((s4 + 2));
| /* str.moving__s_to__s_n */
0x000033a4 addiu a1, a1, 0x5654 | a1 += 0x5654;
0x000033a8 addiu a0, zero, 2 | a0 = 2;
0x000033ac bal 0xd3d8 | sym_message ();
0x000033b0 lw v0, 0x54(sp) | v0 = *(var_54h);
0x000033b4 lw v0, (v0) | v0 = *(v0);
0x000033b8 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x000033bc bnez v0, 0x31b4 | goto label_26;
| }
0x000033c0 lw a0, 4(fp) | a0 = *(arg_4h);
0x000033c4 lw t9, -0x7fc4(gp) | t9 = sym.mvFile;
0x000033c8 lw a1, 8(s4) | a1 = *((s4 + 2));
0x000033cc lwx a0, s0(a0) | __asm ("lwx a0, s0(a0)");
0x000033d0 move a3, zero | a3 = 0;
0x000033d4 move a2, fp | a2 = fp;
0x000033d8 bal 0x101f0 | sym_mvFile ();
0x000033dc lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x000033e0 beqz v0, 0x31b4 | goto label_26;
| }
0x000033e4 lw a2, 4(fp) | a2 = *(arg_4h);
0x000033e8 lw t9, -0x7eb8(gp) | t9 = sym.imp.__errno_location;
0x000033ec lw a3, 8(s4) | a3 = *((s4 + 2));
| label_55:
0x000033f0 lwx a2, s0(a2) | __asm ("lwx a2, s0(a2)");
0x000033f4 sw a3, 0x78(sp) | *(var_78h) = a3;
0x000033f8 sw a2, 0x74(sp) | *(var_74h) = a2;
0x000033fc jalr t9 | t9 ();
0x00003400 lw gp, 0x28(sp) | gp = *(var_28h);
0x00003404 lw t9, -0x7e54(gp) | t9 = sym.imp.strerror;
0x00003408 lw a0, (v0) | a0 = *(v0);
0x0000340c jalr t9 | t9 ();
0x00003410 lw gp, 0x28(sp) | gp = *(var_28h);
0x00003414 lw a3, 0x78(sp) | a3 = *(var_78h);
0x00003418 lw a2, 0x74(sp) | a2 = *(var_74h);
0x0000341c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00003420 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00003424 sw v0, 0x10(sp) | *(var_10h) = v0;
| /* str.failed_to_move__s_to__s:__s_n */
0x00003428 addiu a1, a1, 0x5668 | a1 += 0x5668;
0x0000342c addiu a0, zero, 5 | a0 = 5;
0x00003430 bal 0xd3d8 | sym_message ();
0x00003434 lw v0, 0x30(fp) | v0 = *(arg_30h);
0x00003438 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x0000343c bnez v0, 0x324c | goto label_27;
| }
0x00003440 addiu t1, zero, 1 | t1 = 1;
0x00003444 b 0x31c0 | goto label_28;
| label_140:
0x00003448 addiu v0, zero, -1 | v0 = -1;
| if (a0 != v0) {
0x0000344c beql a0, v0, 0x3454 |
0x00003450 lw a0, 0x50(s3) | a0 = *((s3 + 20));
| }
0x00003454 lw a1, 0x80(fp) | a1 = *(arg_80h);
0x00003458 addiu v0, zero, -1 | v0 = -1;
0x0000345c sw a0, 0xe0(sp) | *(var_e0h) = a0;
| if (a1 == v0) {
0x00003460 bne a1, v0, 0x3468 |
0x00003464 lw a1, 0x54(s3) | a1 = *((s3 + 21));
| }
0x00003468 lw v0, 0x78(fp) | v0 = *(arg_78h);
0x0000346c addiu a2, zero, -1 | a2 = -1;
0x00003470 sw a1, 0xe4(sp) | *(var_e4h) = a1;
| if (v0 == a2) {
0x00003474 bne v0, a2, 0x3480 |
0x00003478 lw v0, 0x48(s3) | v0 = *((s3 + 18));
0x0000347c andi v0, v0, 0x1ff | v0 &= 0x1ff;
| }
0x00003480 lw a2, 4(fp) | a2 = *(arg_4h);
0x00003484 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00003488 move a3, v0 | a3 = v0;
0x0000348c lwx a2, s0(a2) | __asm ("lwx a2, s0(a2)");
0x00003490 sw a1, 0x14(sp) | *(var_14h_2) = a1;
0x00003494 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00003498 sw a0, 0x10(sp) | *(var_10h) = a0;
0x0000349c sw v0, 0xd8(sp) | *(var_d8h) = v0;
| /* str.creating_new__s_mode__0_o_uid___d_gid___d_n */
0x000034a0 addiu a1, a1, 0x5928 | a1 += 0x5928;
0x000034a4 addiu a0, zero, 2 | a0 = 2;
0x000034a8 bal 0xd3d8 | sym_message ();
0x000034ac lw v0, 0x54(sp) | v0 = *(var_54h);
0x000034b0 lw v0, (v0) | v0 = *(v0);
0x000034b4 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x000034b8 bnez v0, 0x3278 | goto label_29;
| }
0x000034bc lw a0, 4(fp) | a0 = *(arg_4h);
0x000034c0 lw t9, 0x84(sp) | t9 = *(var_84h);
0x000034c4 addiu a2, sp, 0xc0 | a2 = sp + 0xc0;
0x000034c8 lwx a0, s0(a0) | __asm ("lwx a0, s0(a0)");
0x000034cc addiu a1, zero, 0x102 | a1 = 0x102;
0x000034d0 jalr t9 | t9 ();
0x000034d4 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 < 0) {
0x000034d8 bltz v0, 0x324c | goto label_27;
| }
0x000034dc lw t9, -0x7f5c(gp) | t9 = sym.imp.close;
0x000034e0 move a0, v0 | a0 = v0;
0x000034e4 jalr t9 | t9 ();
0x000034e8 lw gp, 0x28(sp) | gp = *(var_28h);
0x000034ec b 0x3278 | goto label_29;
| label_162:
0x000034f0 lw a3, 0x70(fp) | a3 = *(arg_70h);
0x000034f4 sw s2, (s7) | *(s7) = s2;
0x000034f8 andi a1, a3, 0x80 | a1 = a3 & 0x80;
0x000034fc or s3, s3, s2 | s3 |= s2;
0x00003500 b 0x3130 | goto label_25;
| label_143:
0x00003504 lw v0, -0x7fd8(gp) | v0 = *(gp);
| if (a0 == 0) {
0x00003508 beqz a0, 0x3018 | goto label_30;
| }
0x0000350c lw v0, 0x40(sp) | v0 = *(var_40h);
| if (s0 != 0) {
0x00003510 bnez s0, 0x3014 | goto label_31;
| }
0x00003514 move s5, zero | s5 = 0;
| if (v0 == 0) {
0x00003518 beqz v0, 0x3d98 | goto label_166;
| }
0x0000351c lw s4, (fp) | s4 = *(fp);
0x00003520 b 0x2f98 | goto label_32;
| label_133:
0x00003524 lw v0, -0x7fd8(gp) | v0 = *(gp);
| if (a0 == 0) {
0x00003528 beqz a0, 0x2d98 | goto label_33;
| }
| if (s0 == 0) {
0x0000352c beql s0, zero, 0x2d74 | goto label_34;
| }
0x00003530 lw v0, 0x40(sp) | v0 = *(var_40h);
0x00003534 lw s4, -0x7fd8(gp) | s4 = *(gp);
0x00003538 b 0x2d9c | goto label_35;
| label_95:
0x0000353c lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.__d_rotations__n */
0x00003540 addiu a1, a1, 0x4db0 | a1 += 0x4db0;
0x00003544 addiu a0, zero, 2 | a0 = 2;
0x00003548 bal 0xd3d8 | sym_message ();
0x0000354c lw gp, 0x28(sp) | gp = *(var_28h);
0x00003550 b 0x245c | goto label_36;
| label_152:
0x00003554 lw t9, -0x7fd8(gp) | t9 = *(gp);
| label_41:
0x00003558 lw a0, 8(t0) | a0 = *((t0 + 2));
0x0000355c sw t0, 0x64(sp) | *(var_64h) = t0;
0x00003560 move a2, v1 | a2 = v1;
0x00003564 addiu t9, t9, -0x7c4 | t9 += -0x7c4;
0x00003568 move a1, fp | a1 = fp;
0x0000356c bal 0xf83c | fcn_0000f83c ();
0x00003570 lw gp, 0x28(sp) | gp = *(var_28h);
0x00003574 lw t0, 0x64(sp) | t0 = *(var_64h);
| if (v0 == 0) {
0x00003578 beqz v0, 0x30d0 | goto label_37;
| }
0x0000357c lw a3, 0x70(fp) | a3 = *(arg_70h);
0x00003580 b 0x3120 | goto label_38;
| label_164:
0x00003584 lw a3, 0x70(fp) | a3 = *(arg_70h);
| if (s0 == 0) {
0x00003588 bnel s0, zero, 0x3384 | goto label_39;
| }
| label_61:
0x0000358c lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00003590 addiu a0, zero, 1 | a0 = 1;
0x00003594 andi v0, v0, 9 | v0 &= 9;
0x00003598 lw v0, 0x54(fp) | v0 = *(arg_54h);
| if (v0 == a0) {
0x0000359c bnel v0, a0, 0x30d4 | goto label_40;
| }
0x000035a0 lw t9, -0x7fd8(gp) | t9 = *(gp);
0x000035a4 b 0x3558 | goto label_41;
| label_100:
0x000035a8 lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.only_log_files_older_than__d_days_are_rotated__ */
0x000035ac addiu a1, a1, 0x4e84 | a1 += 0x4e84;
0x000035b0 addiu a0, zero, 2 | a0 = 2;
0x000035b4 bal 0xd3d8 | sym_message ();
0x000035b8 lw gp, 0x28(sp) | gp = *(var_28h);
0x000035bc b 0x24d4 | goto label_42;
| label_99:
0x000035c0 lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.log_files____jd_are_rotated_earlier__ */
0x000035c4 addiu a1, a1, 0x4e5c | a1 += 0x4e5c;
0x000035c8 addiu a0, zero, 2 | a0 = 2;
0x000035cc bal 0xd3d8 | sym_message ();
0x000035d0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000035d4 b 0x24c8 | goto label_43;
| label_98:
0x000035d8 lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.only_log_files____jd_bytes_are_rotated__ */
0x000035dc addiu a1, a1, 0x4e30 | a1 += 0x4e30;
0x000035e0 addiu a0, zero, 2 | a0 = 2;
0x000035e4 bal 0xd3d8 | sym_message ();
0x000035e8 lw gp, 0x28(sp) | gp = *(var_28h);
0x000035ec b 0x24b4 | goto label_44;
| label_92:
0x000035f0 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000035f4 lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.forced_from_command_line_ */
0x000035f8 addiu a1, a1, 0x4d28 | a1 += 0x4d28;
0x000035fc addiu a0, zero, 2 | a0 = 2;
0x00003600 bal 0xd3d8 | sym_message ();
0x00003604 lw gp, 0x28(sp) | gp = *(var_28h);
0x00003608 b 0x2448 | goto label_45;
| label_113:
0x0000360c addiu s5, zero, 1 | s5 = 1;
0x00003610 b 0x2694 | goto label_7;
| label_101:
0x00003614 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00003618 addiu a0, zero, 2 | a0 = 2;
| /* str.old_logs_are_removed_n */
0x0000361c addiu a1, a1, 0x4ecc | a1 += 0x4ecc;
0x00003620 bal 0xd3d8 | sym_message ();
0x00003624 lw gp, 0x28(sp) | gp = *(var_28h);
0x00003628 b 0x24f4 | goto label_46;
| label_114:
0x0000362c lw a2, 4(s7) | a2 = *((s7 + 1));
0x00003630 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00003634 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00003638 lwx a2, s1(a2) | __asm ("lwx a2, s1(a2)");
| /* str.__log__s_is_symbolic_link._Rotation_of_symbolic_links_is_not_allowed_to_avoid_security_issues____skipping._n */
0x0000363c addiu a1, a1, 0x5044 | a1 += 0x5044;
0x00003640 addiu a0, zero, 2 | a0 = 2;
0x00003644 bal 0xd3d8 | sym_message ();
0x00003648 lw a0, 4(s7) | a0 = *((s7 + 1));
0x0000364c b 0x2698 | goto label_6;
| label_130:
0x00003650 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00003654 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00003658 lwx a2, s1(a2) | __asm ("lwx a2, s1(a2)");
| /* str.skipping___s__because_parent_directory_has_insecure_permissions__Its_world_writable_or_writable_by_group_which_is_not__root___Set__su__directive_in_config_file_to_tell_logrotate_which_user_group_should_be_used_for_rotation._n */
0x0000365c addiu a1, a1, 0x4f38 | a1 += 0x4f38;
0x00003660 addiu a0, zero, 5 | a0 = 5;
0x00003664 bal 0xd3d8 | sym_message ();
0x00003668 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000366c b 0x2a58 | goto label_47;
| label_103:
0x00003670 lw a1, 0x88(s7) | a1 = *((s7 + 34));
0x00003674 lw a0, 0x84(s7) | a0 = *((s7 + 33));
0x00003678 bal 0xef2c | sym_switch_user ();
0x0000367c lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00003680 bnez v0, 0x2770 | goto label_9;
| }
0x00003684 lw a0, 8(s7) | a0 = *((s7 + 2));
0x00003688 b 0x2510 | goto label_48;
| label_163:
0x0000368c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00003690 lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.could_not_allocate_tmpFilename_memory_n */
0x00003694 addiu a1, a1, 0x562c | a1 += 0x562c;
0x00003698 addiu a0, zero, 6 | a0 = 6;
0x0000369c bal 0xd3d8 | sym_message ();
0x000036a0 lw a3, 0x70(fp) | a3 = *(arg_70h);
0x000036a4 ori s2, s2, 1 | s2 |= 1;
0x000036a8 lw gp, 0x28(sp) | gp = *(var_28h);
0x000036ac andi a1, a3, 0x80 | a1 = a3 & 0x80;
0x000036b0 sw s2, (s7) | *(s7) = s2;
0x000036b4 or s3, s3, s2 | s3 |= s2;
0x000036b8 b 0x3130 | goto label_25;
| label_91:
0x000036bc lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000036c0 addiu a0, zero, 5 | a0 = 5;
| /* str.could_not_allocate_memory_for_logHasErrors_n */
0x000036c4 addiu a1, a1, 0x4ce4 | a1 += 0x4ce4;
0x000036c8 bal 0xd3d8 | sym_message ();
0x000036cc addiu s0, zero, 1 | s0 = 1;
0x000036d0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000036d4 b 0x2784 | goto label_10;
| do {
0x000036d8 lw a2, 4(s7) | a2 = *((s7 + 1));
0x000036dc lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000036e0 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x000036e4 lwx a2, s1(a2) | __asm ("lwx a2, s1(a2)");
| /* str.log__s_last_rotated_in_the_future____rotation_forced_n */
0x000036e8 addiu a1, a1, 0x5144 | a1 += 0x5144;
0x000036ec addiu a0, zero, 5 | a0 = 5;
0x000036f0 bal 0xd3d8 | sym_message ();
0x000036f4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000036f8 addiu v0, zero, 1 | v0 = 1;
| label_118:
0x000036fc sw v0, 0xd0(s6) | *((s6 + 52)) = v0;
0x00003700 b 0x2978 | goto label_49;
| label_120:
0x00003704 lw t9, -0x7de0(gp) | t9 = sym.imp.mktime;
0x00003708 addiu v0, s6, 4 | v0 = s6 + 4;
0x0000370c move a0, v0 | a0 = v0;
0x00003710 sw v0, 0x78(sp) | *(var_78h) = v0;
0x00003714 jalr t9 | t9 ();
0x00003718 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000371c move a0, s4 | a0 = s4;
0x00003720 lw t9, -0x7de0(gp) | t9 = sym.imp.mktime;
0x00003724 sw v0, 0x64(sp) | *(var_64h) = v0;
0x00003728 jalr t9 | t9 ();
0x0000372c lw a1, 0x64(sp) | a1 = *(var_64h);
0x00003730 subu v0, a1, v0 | __asm ("subu v0, a1, v0");
0x00003734 lui a1, 1 | a1 = 0x15f91;
0x00003738 addiu a1, a1, 0x5f91 |
0x0000373c slt v0, v0, a1 | v0 = (v0 < a1) ? 1 : 0;
0x00003740 lw gp, 0x28(sp) | gp = *(var_28h);
0x00003744 beqz v0, 0x36d8 |
| } while (v0 == 0);
0x00003748 lw a2, 0x18(s6) | a2 = *((s6 + 6));
0x0000374c lw a0, 0xa8(sp) | a0 = *(var_a8h);
| if (a2 == a0) {
0x00003750 beql a2, a0, 0x412c | goto label_167;
| }
0x00003754 lw v0, 0x14(s6) | v0 = *((s6 + 5));
0x00003758 lw v0, 0x10(s7) | v0 = *((s7 + 4));
0x0000375c sltiu a1, v0, 5 | a1 = (v0 < 5) ? 1 : 0;
0x00003760 lw v1, 0x6c(sp) | v1 = *(var_6ch);
| if (a1 == 0) {
0x00003764 beqz a1, 0x3db8 | goto label_72;
| }
0x00003768 sll v0, v0, 2 | v0 <<= 2;
0x0000376c lwx v0, v0(v1) | __asm ("lwx v0, v0(v1)");
0x00003770 addu v0, v0, gp | v0 += gp;
0x00003774 jr v0 | v0 ();
0x00003778 nop |
| label_102:
0x0000377c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00003780 lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.No_logs_found._Rotation_not_needed._n */
0x00003784 addiu a1, a1, 0x4ee4 | a1 += 0x4ee4;
0x00003788 addiu a0, zero, 2 | a0 = 2;
0x0000378c bal 0xd3d8 | sym_message ();
0x00003790 lw gp, 0x28(sp) | gp = *(var_28h);
0x00003794 lw t9, -0x7db0(gp) | t9 = sym.imp.free;
0x00003798 lw a0, 0x4c(sp) | a0 = *(var_4ch);
0x0000379c jalr t9 | t9 ();
0x000037a0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000037a4 b 0x2784 | goto label_10;
| label_137:
0x000037a8 addiu s7, s7, 1 | s7++;
| if (s6 == 0) {
0x000037ac bnel s6, zero, 0x2dfc | goto label_50;
| }
0x000037b0 move s2, s6 | s2 = s6;
0x000037b4 b 0x2e20 | goto label_51;
| label_149:
0x000037b8 addiu s5, s5, 1 | s5++;
| if (s3 == 0) {
0x000037bc bnel s3, zero, 0x307c | goto label_52;
| }
0x000037c0 move s2, s3 | s2 = s3;
0x000037c4 b 0x30a0 | goto label_53;
| label_156:
0x000037c8 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000037cc lw t9, -0x7fdc(gp) | t9 = sym.message;
0x000037d0 addiu a0, zero, 6 | a0 = 6;
| /* str.could_not_allocate_tmpFilename_memory_n */
0x000037d4 addiu a1, a1, 0x562c | a1 += 0x562c;
0x000037d8 bal 0xd3d8 | sym_message ();
0x000037dc lw a3, 0x70(fp) | a3 = *(arg_70h);
0x000037e0 ori s2, s2, 1 | s2 |= 1;
0x000037e4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000037e8 andi a0, a3, 0x80 | a0 = a3 & 0x80;
0x000037ec sw s2, (s5) | *(s5) = s2;
0x000037f0 or s6, s6, s2 | s6 |= s2;
0x000037f4 b 0x2e74 | goto label_23;
| label_96:
0x000037f8 lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str._no_old_logs_will_be_kept__n */
0x000037fc addiu a1, a1, 0x4dc0 | a1 += 0x4dc0;
0x00003800 addiu a0, zero, 2 | a0 = 2;
0x00003804 bal 0xd3d8 | sym_message ();
0x00003808 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000380c b 0x245c | goto label_36;
| label_115:
0x00003810 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00003814 sw zero, 0xd0(s6) | *((s6 + 52)) = 0;
| /* str.__log_does_not_need_rotating__log_is_empty__n */
0x00003818 addiu a1, a1, 0x54a0 | a1 += 0x54a0;
0x0000381c addiu a0, zero, 2 | a0 = 2;
0x00003820 bal 0xd3d8 | sym_message ();
0x00003824 lw v0, 0xd0(s6) | v0 = *((s6 + 52));
0x00003828 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x0000382c beqz v0, 0x2694 | goto label_7;
| }
0x00003830 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00003834 b 0x299c | goto label_54;
| label_157:
0x00003838 lw a0, 4(fp) | a0 = *(arg_4h);
0x0000383c lw t9, -0x7fc4(gp) | t9 = sym.mvFile;
0x00003840 lw a1, 8(s4) | a1 = *((s4 + 2));
0x00003844 lwx a0, s0(a0) | __asm ("lwx a0, s0(a0)");
0x00003848 move a3, zero | a3 = 0;
0x0000384c move a2, fp | a2 = fp;
0x00003850 bal 0x101f0 | sym_mvFile ();
0x00003854 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x00003858 beqz v0, 0x31b4 | goto label_26;
| }
0x0000385c lw a2, 4(fp) | a2 = *(arg_4h);
0x00003860 lw t9, -0x7eb8(gp) | t9 = sym.imp.__errno_location;
0x00003864 lw a3, 0x94(sp) | a3 = *(var_94h);
0x00003868 b 0x33f0 | goto label_55;
| label_128:
0x0000386c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00003870 addiu a0, zero, 2 | a0 = 2;
| /* str.running_last_action_script_n */
0x00003874 addiu a1, a1, 0x57c0 | a1 += 0x57c0;
0x00003878 bal 0xd3d8 | sym_message ();
0x0000387c lw gp, 0x28(sp) | gp = *(var_28h);
0x00003880 lw a3, 0x4c(s7) | a3 = *((s7 + 19));
0x00003884 lw a1, (s7) | a1 = *(s7);
0x00003888 lw t9, -0x7fd8(gp) | t9 = *(gp);
0x0000388c move a2, zero | a2 = 0;
0x00003890 addiu t9, t9, -0xfb0 | t9 += -0xfb0;
0x00003894 addiu a0, s7, 0x70 | a0 = s7 + 0x70;
0x00003898 bal 0xf050 | fcn_0000f050 ();
0x0000389c lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x000038a0 beqz v0, 0x2c50 | goto label_56;
| }
0x000038a4 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000038a8 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x000038ac lw a2, (s7) | a2 = *(s7);
| /* str.error_running_last_action_script_for__s_n */
0x000038b0 addiu a1, a1, 0x57dc | a1 += 0x57dc;
0x000038b4 addiu a0, zero, 5 | a0 = 5;
0x000038b8 bal 0xd3d8 | sym_message ();
0x000038bc addiu s0, zero, 1 | s0 = 1;
0x000038c0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000038c4 b 0x2c50 | goto label_56;
| label_160:
0x000038c8 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000038cc lw t9, -0x7fdc(gp) | t9 = sym.message;
0x000038d0 sw t1, 0x74(sp) | *(var_74h) = t1;
| /* str.could_not_allocate_disposeName_memory_n */
0x000038d4 addiu a1, a1, 0x473c | a1 += 0x473c;
0x000038d8 addiu a0, zero, 6 | a0 = 6;
0x000038dc bal 0xd3d8 | sym_message ();
0x000038e0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000038e4 lw t1, 0x74(sp) | t1 = *(var_74h);
0x000038e8 b 0x3224 | goto label_57;
| label_104:
0x000038ec lw v0, 0x48(s7) | v0 = *((s7 + 18));
| if (v0 == 0) {
0x000038f0 beql v0, zero, 0x4228 | goto label_168;
| }
0x000038f4 sw zero, 0x40(sp) | *(var_40h) = 0;
0x000038f8 move s0, zero | s0 = 0;
| label_109:
0x000038fc lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00003900 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00003904 addiu a0, zero, 2 | a0 = 2;
| /* str.not_running_first_action_script__since_no_logs_will_be_rotated_n */
0x00003908 addiu a1, a1, 0x54d0 | a1 += 0x54d0;
0x0000390c bal 0xd3d8 | sym_message ();
0x00003910 lw gp, 0x28(sp) | gp = *(var_28h);
0x00003914 sw zero, 0x40(sp) | *(var_40h) = 0;
0x00003918 lw a0, 8(s7) | a0 = *((s7 + 2));
0x0000391c b 0x2b0c | goto label_58;
| label_134:
0x00003920 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00003924 addiu a0, zero, 2 | a0 = 2;
| /* str.running_prerotate_script_n */
0x00003928 addiu a1, a1, 0x559c | a1 += 0x559c;
0x0000392c bal 0xd3d8 | sym_message ();
0x00003930 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00003934 andi v0, v0, 0x80 | v0 &= 0x80;
0x00003938 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x0000393c bnez v0, 0x3a18 | goto label_169;
| }
0x00003940 lw a1, 4(fp) | a1 = *(arg_4h);
0x00003944 lwx a1, s2(a1) | __asm ("lwx a1, s2(a1)");
| label_63:
0x00003948 lw t9, -0x7fd8(gp) | t9 = *(gp);
0x0000394c lw a3, 0x40(fp) | a3 = *(arg_40h);
0x00003950 move a2, zero | a2 = 0;
0x00003954 addiu t9, t9, -0xfb0 | t9 += -0xfb0;
0x00003958 addiu a0, fp, 0x70 | a0 = fp + 0x70;
0x0000395c bal 0xf050 | fcn_0000f050 ();
0x00003960 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00003964 beqz v0, 0x39a4 |
0x00003968 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x0000396c andi v0, v0, 0x80 | v0 &= 0x80;
0x00003970 lw a3, (fp) | a3 = *(fp);
| if (v0 == 0) {
0x00003974 beqz v0, 0x4198 | goto label_170;
| }
0x00003978 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x0000397c lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00003980 move a2, a3 | a2 = a3;
| /* str.error_running_shared_prerotate_script_for__s_n */
0x00003984 addiu a1, a1, 0x55b8 | a1 += 0x55b8;
0x00003988 addiu a0, zero, 5 | a0 = 5;
0x0000398c bal 0xd3d8 | sym_message ();
0x00003990 lw gp, 0x28(sp) | gp = *(var_28h);
| label_75:
0x00003994 lw v1, 0x48(sp) | v1 = *(var_48h);
0x00003998 addiu v0, zero, 1 | v0 = 1;
0x0000399c addiu s0, zero, 1 | s0 = 1;
0x000039a0 sw v0, (v1) | *(v1) = v0;
| }
0x000039a4 lw a3, 0x70(fp) | a3 = *(arg_70h);
0x000039a8 b 0x2d94 | goto label_59;
| if (t1 == 0) {
| label_122:
0x000039ac beqz t1, 0x2ae4 | goto label_60;
| }
0x000039b0 nop |
| label_121:
0x000039b4 move a2, zero | a2 = 0;
0x000039b8 b 0x2ae4 | goto label_60;
| label_165:
0x000039bc lw a0, 0x94(sp) | a0 = *(var_94h);
0x000039c0 jalr t9 | t9 ();
0x000039c4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000039c8 lw t0, 0x64(sp) | t0 = *(var_64h);
0x000039cc lw v1, 0x78(sp) | v1 = *(var_78h);
0x000039d0 b 0x358c | goto label_61;
| label_117:
0x000039d4 move a0, s6 | a0 = s6;
0x000039d8 jalr t9 | t9 ();
0x000039dc lw a0, 4(s7) | a0 = *((s7 + 1));
0x000039e0 b 0x2698 | goto label_6;
| label_93:
0x000039e4 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000039e8 lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.rotateLogSet___does_not_have_case_for:__u_ */
0x000039ec addiu a1, a1, 0x4d84 | a1 += 0x4d84;
0x000039f0 addiu a0, zero, 2 | a0 = 2;
0x000039f4 bal 0xd3d8 | sym_message ();
0x000039f8 lw gp, 0x28(sp) | gp = *(var_28h);
0x000039fc b 0x2448 | goto label_45;
| label_119:
0x00003a00 sltu a0, a0, v0 | a0 = (a0 < v0) ? 1 : 0;
| if (a0 == 0) {
0x00003a04 beql a0, zero, 0x2ab8 | goto label_62;
| }
0x00003a08 lw a0, 0x10(s7) | a0 = *((s7 + 4));
0x00003a0c addiu v0, zero, 1 | v0 = 1;
0x00003a10 sw v0, 0xd0(s6) | *((s6 + 52)) = v0;
0x00003a14 b 0x2978 | goto label_49;
| label_169:
0x00003a18 lw a1, (fp) | a1 = *(fp);
0x00003a1c b 0x3948 | goto label_63;
| label_144:
0x00003a20 lw a1, -0x7fd8(gp) | a1 = *(gp);
| if (v0 == 0) {
0x00003a24 beqz v0, 0x3d9c | goto label_145;
| }
0x00003a28 lw v0, 0x34(sp) | v0 = *(var_34h);
| if (a0 == 0) {
0x00003a2c beqz a0, 0x2f88 | goto label_64;
| }
0x00003a30 lw s4, (fp) | s4 = *(fp);
0x00003a34 move s5, zero | s5 = 0;
0x00003a38 b 0x2f98 | goto label_32;
| label_111:
0x00003a3c lw t9, -0x7e70(gp) | t9 = sym.imp.localtime;
0x00003a40 addiu a0, v0, 0x6328 | a0 = v0 + 0x6328;
0x00003a44 lw v0, 0x8c(sp) | v0 = *(var_8ch);
0x00003a48 addiu fp, sp, 0x94 | fp = sp + 0x94;
0x00003a4c sw v0, 0x38(sp) | *(var_38h) = v0;
0x00003a50 jalr t9 | t9 ();
0x00003a54 lw gp, 0x28(sp) | gp = *(var_28h);
0x00003a58 move v1, fp | v1 = fp;
0x00003a5c addiu t1, v0, 0x20 | t1 = v0 + 0x20;
| do {
0x00003a60 lw a3, (v0) | a3 = *(v0);
0x00003a64 lw a2, 4(v0) | a2 = *((v0 + 1));
0x00003a68 lw a1, 8(v0) | a1 = *((v0 + 2));
0x00003a6c lw a0, 0xc(v0) | a0 = *((v0 + 3));
0x00003a70 addiu v0, v0, 0x10 | v0 += 0x10;
0x00003a74 sw a3, (v1) | *(v1) = a3;
0x00003a78 sw a2, 4(v1) | *((v1 + 1)) = a2;
0x00003a7c sw a1, 8(v1) | *((v1 + 2)) = a1;
0x00003a80 sw a0, 0xc(v1) | *((v1 + 3)) = a0;
0x00003a84 addiu v1, v1, 0x10 | v1 += 0x10;
0x00003a88 bne v0, t1, 0x3a60 |
| } while (v0 != t1);
0x00003a8c lw a2, (v0) | a2 = *(v0);
0x00003a90 lw a1, 4(v0) | a1 = *((v0 + 1));
0x00003a94 lw v0, 8(v0) | v0 = *((v0 + 2));
0x00003a98 lw a0, 0x38(sp) | a0 = *(var_38h);
0x00003a9c lw t9, -0x7e84(gp) | t9 = sym.imp.strlen;
0x00003aa0 sw a2, (v1) | *(v1) = a2;
0x00003aa4 sw a1, 4(v1) | *((v1 + 1)) = a1;
0x00003aa8 sw v0, 8(v1) | *((v1 + 2)) = v0;
0x00003aac jalr t9 | t9 ();
0x00003ab0 lw gp, 0x28(sp) | gp = *(var_28h);
0x00003ab4 addiu a0, v0, 5 | a0 = v0 + 5;
0x00003ab8 lw t9, -0x7e48(gp) | t9 = sym.imp.malloc;
0x00003abc move s0, v0 | s0 = v0;
0x00003ac0 jalr t9 | t9 ();
0x00003ac4 sw v0, 0x3c(sp) | *(var_3ch) = v0;
0x00003ac8 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x00003acc beqz v0, 0x42f0 | goto label_171;
| }
0x00003ad0 lw s1, 0x3c(sp) | s1 = *(var_3ch);
0x00003ad4 lw s2, 0x38(sp) | s2 = *(var_38h);
0x00003ad8 lw t9, -0x7dbc(gp) | t9 = sym.imp.memcpy;
0x00003adc move a2, s0 | a2 = s0;
0x00003ae0 move a1, s2 | a1 = s2;
0x00003ae4 move a0, s1 | a0 = s1;
0x00003ae8 jalr t9 | t9 ();
0x00003aec lw gp, 0x28(sp) | gp = *(var_28h);
0x00003af0 addu v0, s1, s0 | v0 = s1 + s0;
0x00003af4 lw v1, -0x7fd8(gp) | v1 = *(gp);
0x00003af8 lw t9, -0x7dfc(gp) | t9 = sym.imp.unlink;
| /* str..tmp */
0x00003afc addiu a0, v1, 0x5624 | a0 = v1 + 0x5624;
0x00003b00 lw v1, 0x5624(v1) | v1 = *((v1 + 5513));
0x00003b04 lbu a1, 4(a0) | a1 = *((a0 + 4));
0x00003b08 swl v1, 3(v0) | __asm ("swl v1, 3(v0)");
0x00003b0c swr v1, (v0) | __asm ("swr v1, (v0)");
0x00003b10 move a0, s1 | a0 = s1;
0x00003b14 sb a1, 4(v0) | *((v0 + 4)) = a1;
0x00003b18 jalr t9 | t9 ();
0x00003b1c lw gp, 0x28(sp) | gp = *(var_28h);
0x00003b20 move a1, zero | a1 = 0;
0x00003b24 lw t9, -0x7e98(gp) | t9 = sym.imp.open64;
0x00003b28 move a0, s2 | a0 = s2;
0x00003b2c jalr t9 | t9 ();
0x00003b30 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 < 0) {
0x00003b34 bltz v0, 0x4290 | goto label_172;
| }
0x00003b38 lw t9, -0x7f5c(gp) | t9 = sym.imp.close;
0x00003b3c move a0, v0 | a0 = v0;
0x00003b40 jalr t9 | t9 ();
0x00003b44 lw gp, 0x28(sp) | gp = *(var_28h);
0x00003b48 addiu s0, sp, 0xc0 | s0 = sp + 0xc0;
0x00003b4c lw a1, 0x38(sp) | a1 = *(var_38h);
0x00003b50 lw t9, -0x7f44(gp) | t9 = sym.imp.__xstat64;
0x00003b54 move a2, s0 | a2 = s0;
0x00003b58 addiu a0, zero, 3 | a0 = 3;
0x00003b5c jalr t9 | t9 ();
0x00003b60 addiu v1, zero, -1 | v1 = -1;
0x00003b64 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == v1) {
0x00003b68 beq v0, v1, 0x4414 | goto label_173;
| }
0x00003b6c lw t9, -0x7fd8(gp) | t9 = *(gp);
0x00003b70 lw a0, 0x3c(sp) | a0 = *(var_3ch);
0x00003b74 move a2, s0 | a2 = s0;
0x00003b78 addiu t9, t9, -0x1c08 | t9 += -0x1c08;
0x00003b7c addiu a1, zero, 0x302 | a1 = 0x302;
0x00003b80 bal 0xe3f8 | fcn_0000e3f8 ();
0x00003b84 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x00003b88 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 < 0) {
0x00003b8c bltz v0, 0x444c | goto label_174;
| }
0x00003b90 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00003b94 lw t9, -0x7d7c(gp) | t9 = sym.imp.fdopen;
0x00003b98 lw a0, 0x4c(sp) | a0 = *(var_4ch);
0x00003b9c addiu a1, a1, 0x39d8 | a1 += 0x39d8;
0x00003ba0 jalr t9 | t9 ();
0x00003ba4 move s3, v0 | s3 = v0;
0x00003ba8 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x00003bac beqz v0, 0x4498 | goto label_175;
| }
0x00003bb0 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x00003bb4 lw t9, -0x7f2c(gp) | t9 = sym.imp.__fprintf_chk
| /* str.logrotate_state____version_2_n */
0x00003bb8 addiu a2, a2, 0x3c70 | a2 += 0x3c70;
0x00003bbc addiu a1, zero, 1 | a1 = 1;
0x00003bc0 move a0, v0 | a0 = v0;
0x00003bc4 jalr t9 | t9 ();
0x00003bc8 lw gp, 0x28(sp) | gp = *(var_28h);
0x00003bcc slti s6, v0, 1 | s6 = (v0 < 1) ? 1 : 0;
| if (s6 != 0) {
0x00003bd0 movz v0, zero, s6 | v0 = 0;
| }
0x00003bd4 move s6, v0 | s6 = v0;
0x00003bd8 lw v0, -0x7fd4(gp) | v0 = *((gp - 8181));
0x00003bdc sw zero, 0x30(sp) | *(var_30h) = 0;
0x00003be0 sw v0, 0x44(sp) | *(var_44h) = v0;
0x00003be4 lw v0, -0x7fd4(gp) | v0 = *((gp - 8181));
0x00003be8 addiu s1, zero, -1 | s1 = -1;
0x00003bec sw v0, 0x48(sp) | *(var_48h) = v0;
0x00003bf0 lw v0, -0x7fd8(gp) | v0 = *(gp);
| /* str.__d__d__d__d:_d:_d_n */
0x00003bf4 addiu v0, v0, 0x5958 | v0 += 0x5958;
0x00003bf8 sw v0, 0x40(sp) | *(var_40h) = v0;
0x00003bfc lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00003c00 lw s4, 0x5a90(v0) | s4 = *((v0 + 5796));
0x00003c04 lw s5, 0x5a94(v0) | s5 = *((v0 + 5797));
0x00003c08 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00003c0c sw v0, 0x34(sp) | *(var_34h) = v0;
| label_71:
0x00003c10 lw v0, 0x44(sp) | v0 = *(var_44h);
0x00003c14 lw v1, 0x30(sp) | v1 = *(var_30h);
0x00003c18 lw v0, 0x632c(v0) | v0 = *((v0 + 6347));
0x00003c1c sltu v0, v1, v0 | v0 = (v1 < v0) ? 1 : 0;
| if (v0 == 0) {
0x00003c20 beqz v0, 0x4310 | goto label_176;
| }
0x00003c24 nop |
0x00003c28 lw v0, 0x48(sp) | v0 = *(var_48h);
| if (s6 != 0) {
0x00003c2c bnez s6, 0x43b8 | goto label_177;
| }
0x00003c30 lw v1, 0x30(sp) | v1 = *(var_30h);
0x00003c34 lw v0, 0x6330(v0) | v0 = *((v0 + 6348));
0x00003c38 sll v1, v1, 2 | v1 <<= 2;
0x00003c3c lwx v0, v1(v0) | __asm ("lwx v0, v1(v0)");
0x00003c40 lw s2, (v0) | s2 = *(v0);
| label_65:
0x00003c44 lw v0, 0x30(sp) | v0 = *(var_30h);
| if (s2 == 0) {
0x00003c48 beqz s2, 0x40fc | goto label_178;
| }
0x00003c4c lw t9, -0x7de0(gp) | t9 = sym.imp.mktime;
| if (s6 != 0) {
0x00003c50 bnez s6, 0x40fc | goto label_178;
| }
0x00003c54 move a0, fp | a0 = fp;
0x00003c58 jalr t9 | t9 ();
0x00003c5c lw gp, 0x28(sp) | gp = *(var_28h);
0x00003c60 addiu a0, s2, 4 | a0 = s2 + 4;
0x00003c64 lw t9, -0x7de0(gp) | t9 = sym.imp.mktime;
0x00003c68 move s0, v0 | s0 = v0;
0x00003c6c jalr t9 | t9 ();
0x00003c70 lw s6, 0xd4(s2) | s6 = *((s2 + 53));
0x00003c74 lw gp, 0x28(sp) | gp = *(var_28h);
| if (s6 == 0) {
0x00003c78 bnez s6, 0x3cb0 |
0x00003c7c lw t9, -0x7ec8(gp) | t9 = sym.imp.difftime;
0x00003c80 move a1, v0 | a1 = v0;
0x00003c84 move a0, s0 | a0 = s0;
0x00003c88 jalr t9 | t9 ();
0x00003c8c lw gp, 0x28(sp) | gp = *(var_28h);
0x00003c90 move a2, s4 | a2 = s4;
0x00003c94 move a3, s5 | a3 = s5;
0x00003c98 lw t9, -0x7fa8(gp) | t9 = *(gp);
0x00003c9c move a0, v0 | a0 = v0;
0x00003ca0 move a1, v1 | a1 = v1;
0x00003ca4 bal 0x12000 | fcn_00012000 ();
0x00003ca8 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 > 0) {
0x00003cac bgtz v0, 0x40d8 | goto label_179;
| }
| }
0x00003cb0 lw t9, -0x7f00(gp) | t9 = sym.imp.fputc;
0x00003cb4 move a1, s3 | a1 = s3;
0x00003cb8 addiu a0, zero, 0x22 | a0 = 0x22;
0x00003cbc jalr t9 | t9 ();
0x00003cc0 lw s0, (s2) | s0 = *(s2);
0x00003cc4 lb v1, (s0) | v1 = *(s0);
0x00003cc8 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v1 == 0) {
0x00003ccc beqz v1, 0x4180 | goto label_180;
| }
0x00003cd0 addiu s6, zero, 1 | s6 = 1;
| if (v0 == s1) {
0x00003cd4 beq v0, s1, 0x4078 | goto label_70;
| }
0x00003cd8 addiu s7, zero, 0x22 | s7 = 0x22;
0x00003cdc addiu s6, zero, 0xa | s6 = 0xa;
| do {
0x00003ce0 lw t9, -0x7f00(gp) | t9 = sym.imp.fputc;
| if (v1 == s7) {
0x00003ce4 beq v1, s7, 0x40bc | goto label_181;
| }
0x00003ce8 addiu v0, zero, 0x5c | v0 = 0x5c;
| label_68:
0x00003cec lw t9, -0x7f00(gp) | t9 = sym.imp.fputc;
| if (v1 == v0) {
0x00003cf0 beq v1, v0, 0x40bc | goto label_181;
| }
0x00003cf4 move a1, s3 | a1 = s3;
| if (v1 == s6) {
0x00003cf8 beq v1, s6, 0x4064 | goto label_182;
| }
| label_69:
0x00003cfc lw t9, -0x7f00(gp) | t9 = sym.imp.fputc;
0x00003d00 lb a0, (s0) | a0 = *(s0);
0x00003d04 move a1, s3 | a1 = s3;
0x00003d08 jalr t9 | t9 ();
0x00003d0c lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == s1) {
0x00003d10 beq v0, s1, 0x4074 | goto label_183;
| }
0x00003d14 addiu s0, s0, 1 | s0++;
0x00003d18 lb v1, (s0) | v1 = *(s0);
0x00003d1c lw t9, -0x7f00(gp) | t9 = sym.imp.fputc;
0x00003d20 bnez v1, 0x3ce0 |
| } while (v1 != 0);
| label_74:
0x00003d24 move a1, s3 | a1 = s3;
0x00003d28 addiu a0, zero, 0x22 | a0 = 0x22;
0x00003d2c jalr t9 | t9 ();
0x00003d30 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == s1) {
0x00003d34 beq v0, s1, 0x4074 | goto label_183;
| }
0x00003d38 lw v0, 4(s2) | v0 = *((s2 + 1));
0x00003d3c lw a3, 0x18(s2) | a3 = *((s2 + 6));
0x00003d40 sw v0, 0x20(sp) | *(var_20h) = v0;
0x00003d44 lw v0, 8(s2) | v0 = *((s2 + 2));
0x00003d48 lw t9, -0x7f2c(gp) | t9 = sym.imp.__fprintf_chk
0x00003d4c sw v0, 0x1c(sp) | *(var_1ch) = v0;
0x00003d50 lw v0, 0xc(s2) | v0 = *((s2 + 3));
0x00003d54 lw a2, 0x40(sp) | a2 = *(var_40h);
0x00003d58 sw v0, 0x18(sp) | *(var_18h_2) = v0;
0x00003d5c lw v0, 0x10(s2) | v0 = *((s2 + 4));
0x00003d60 addiu a3, a3, 0x76c | a3 += 0x76c;
0x00003d64 sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x00003d68 lw v0, 0x14(s2) | v0 = *((s2 + 5));
0x00003d6c addiu a1, zero, 1 | a1 = 1;
0x00003d70 addiu v0, v0, 1 | v0++;
0x00003d74 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00003d78 move a0, s3 | a0 = s3;
0x00003d7c jalr t9 | t9 ();
0x00003d80 slti s6, v0, 1 | s6 = (v0 < 1) ? 1 : 0;
| if (s6 != 0) {
0x00003d84 movz v0, zero, s6 | v0 = 0;
| }
0x00003d88 lw gp, 0x28(sp) | gp = *(var_28h);
0x00003d8c move s6, v0 | s6 = v0;
0x00003d90 lw s2, 0xd8(s2) | s2 = *((s2 + 54));
0x00003d94 b 0x3c44 | goto label_65;
| label_166:
0x00003d98 lw a1, -0x7fd8(gp) | a1 = *(gp);
| label_145:
0x00003d9c lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.not_running_postrotate_script__since_no_logs_were_rotated_n */
0x00003da0 addiu a1, a1, 0x56a0 | a1 += 0x56a0;
0x00003da4 addiu a0, zero, 2 | a0 = 2;
0x00003da8 bal 0xd3d8 | sym_message ();
0x00003dac lw gp, 0x28(sp) | gp = *(var_28h);
0x00003db0 lw a3, 0x70(fp) | a3 = *(arg_70h);
0x00003db4 b 0x3014 | goto label_31;
| label_72:
0x00003db8 sw zero, 0xd0(s6) | *((s6 + 52)) = 0;
0x00003dbc lw a0, 0x28(s7) | a0 = *((s7 + 10));
0x00003dc0 lw v0, 0x2c(s7) | v0 = *((s7 + 11));
0x00003dc4 or a1, a0, v0 | a1 = a0 | v0;
| if (a1 == 0) {
0x00003dc8 beql a1, zero, 0x3dec | goto label_77;
| }
0x00003dcc lw v0, 0x34(s7) | v0 = *((s7 + 13));
0x00003dd0 lw a1, 0xfc(sp) | a1 = *(var_fch);
0x00003dd4 slt a2, a1, v0 | a2 = (a1 < v0) ? 1 : 0;
0x00003dd8 lw a1, -0x7fd8(gp) | a1 = *(gp);
| if (a2 == 0) {
0x00003ddc bnel a2, zero, 0x4240 | goto label_184;
| }
0x00003de0 lw v0, 0xf8(sp) | v0 = *(var_f8h);
| if (a1 == v0) {
0x00003de4 beq a1, v0, 0x4230 | goto label_185;
| }
| label_78:
0x00003de8 lw v0, 0x34(s7) | v0 = *((s7 + 13));
| if (v0 == 0) {
| label_77:
0x00003dec beql v0, zero, 0x2af8 | goto label_66;
| }
0x00003df0 lw v0, 0xd0(s6) | v0 = *((s6 + 52));
0x00003df4 lui a0, 1 | a0 = 0x15180;
| /* esilref: 'g does not need rotating (log has been rotated at &d-&d-&d &d:&d, that is not week ago yet)
' */
0x00003df8 addiu a0, a0, 0x5180 |
0x00003dfc lw v1, 0x44(sp) | v1 = *(var_44h);
0x00003e00 mul v0, v0, a0 | __asm ("mul v0, v0, a0");
0x00003e04 lw a1, 0x108(sp) | a1 = *(var_108h);
0x00003e08 lw a0, 0x6328(v1) | a0 = *((v1 + 6346));
0x00003e0c subu a0, a0, a1 | __asm ("subu a0, a0, a1");
0x00003e10 slt v0, v0, a0 | v0 = (v0 < a0) ? 1 : 0;
0x00003e14 lw v0, 0xd0(s6) | v0 = *((s6 + 52));
| if (v0 == 0) {
0x00003e18 bnel v0, zero, 0x2af8 | goto label_66;
| }
0x00003e1c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00003e20 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00003e24 sw zero, 0xd0(s6) | *((s6 + 52)) = 0;
| /* str.__log_does_not_need_rotating__minage_directive_is_used_and_the_log_age_is_smaller_than_the_minage_days__n */
0x00003e28 addiu a1, a1, 0x53dc | a1 += 0x53dc;
0x00003e2c addiu a0, zero, 2 | a0 = 2;
0x00003e30 bal 0xd3d8 | sym_message ();
0x00003e34 lw gp, 0x28(sp) | gp = *(var_28h);
0x00003e38 b 0x2af4 | goto label_67;
| label_182:
0x00004064 addiu a0, zero, 0x5c | a0 = 0x5c;
0x00004068 jalr t9 | t9 ();
0x0000406c lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != s1) {
0x00004070 bne v0, s1, 0x4080 | goto label_186;
| }
| label_183:
0x00004074 addiu s6, zero, 1 | s6 = 1;
| do {
| label_70:
0x00004078 lw s2, 0xd8(s2) | s2 = *((s2 + 54));
0x0000407c b 0x3c44 | goto label_65;
| label_186:
0x00004080 lw t9, -0x7f00(gp) | t9 = sym.imp.fputc;
0x00004084 addiu a0, zero, 0x6e | a0 = 0x6e;
0x00004088 move a1, s3 | a1 = s3;
0x0000408c jalr t9 | t9 ();
0x00004090 lb v1, 1(s0) | v1 = *((s0 + 1));
0x00004094 addiu a0, v0, 1 | a0 = v0 + 1;
0x00004098 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000409c sltiu a0, a0, 1 | a0 = (a0 < 1) ? 1 : 0;
0x000040a0 addiu s0, s0, 1 | s0++;
| if (v1 == 0) {
0x000040a4 beqz v1, 0x4188 | goto label_187;
| }
0x000040a8 beql v0, s1, 0x4078 |
| } while (v0 == s1);
0x000040ac addiu s6, zero, 1 | s6 = 1;
0x000040b0 addiu v0, zero, 0x5c | v0 = 0x5c;
| if (v1 != s7) {
0x000040b4 bne v1, s7, 0x3cec | goto label_68;
| }
0x000040b8 lw t9, -0x7f00(gp) | t9 = sym.imp.fputc;
| label_181:
0x000040bc move a1, s3 | a1 = s3;
0x000040c0 addiu a0, zero, 0x5c | a0 = 0x5c;
0x000040c4 jalr t9 | t9 ();
0x000040c8 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != s1) {
0x000040cc bne v0, s1, 0x3cfc | goto label_69;
| }
0x000040d0 addiu s6, zero, 1 | s6 = 1;
0x000040d4 b 0x4078 | goto label_70;
| label_179:
0x000040d8 lw v0, 0x34(sp) | v0 = *(var_34h);
0x000040dc lw t9, -0x7fdc(gp) | t9 = sym.message;
0x000040e0 lw a2, (s2) | a2 = *(s2);
0x000040e4 addiu a1, v0, 0x587c | a1 = v0 + 0x587c;
0x000040e8 addiu a0, zero, 2 | a0 = 2;
0x000040ec bal 0xd3d8 | sym_message ();
0x000040f0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000040f4 lw s2, 0xd8(s2) | s2 = *((s2 + 54));
0x000040f8 b 0x3c44 | goto label_65;
| label_178:
0x000040fc addiu v0, v0, 1 | v0++;
0x00004100 sw v0, 0x30(sp) | *(var_30h) = v0;
0x00004104 b 0x3c10 | goto label_71;
| if (a3 == 0) {
| label_124:
0x00004108 beql a3, zero, 0x2af8 | goto label_66;
| }
0x0000410c lw v0, 0xd0(s6) | v0 = *((s6 + 52));
| label_123:
0x00004110 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00004114 lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.__log_does_not_need_rotating__log_size_is_below_the_size_threshold__n */
0x00004118 addiu a1, a1, 0x50fc | a1 += 0x50fc;
0x0000411c addiu a0, zero, 2 | a0 = 2;
0x00004120 bal 0xd3d8 | sym_message ();
0x00004124 lw gp, 0x28(sp) | gp = *(var_28h);
0x00004128 b 0x2af4 | goto label_67;
| label_167:
0x0000412c lw a3, 0xa4(sp) | a3 = *(var_a4h);
| if (v0 == a3) {
0x00004130 beql v0, a3, 0x425c | goto label_188;
| }
0x00004134 lw t1, 0x10(s6) | t1 = *((s6 + 4));
0x00004138 lw v0, 0x10(s7) | v0 = *((s7 + 4));
0x0000413c sltiu a1, v0, 5 | a1 = (v0 < 5) ? 1 : 0;
0x00004140 lw v1, 0x74(sp) | v1 = *(var_74h);
| if (a1 == 0) {
0x00004144 beqz a1, 0x3db8 | goto label_72;
| }
0x00004148 sll v0, v0, 2 | v0 <<= 2;
0x0000414c lwx v0, v0(v1) | __asm ("lwx v0, v0(v1)");
0x00004150 addu v0, v0, gp | v0 += gp;
0x00004154 jr v0 | v0 ();
0x00004158 nop |
| label_146:
0x0000415c lw a2, 4(fp) | a2 = *(arg_4h);
0x00004160 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00004164 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00004168 lwx a2, s2(a2) | __asm ("lwx a2, s2(a2)");
| /* str.error_running_non_shared_postrotate_script_for__s_of__s_n */
0x0000416c addiu a1, a1, 0x572c | a1 += 0x572c;
0x00004170 addiu a0, zero, 5 | a0 = 5;
0x00004174 bal 0xd3d8 | sym_message ();
0x00004178 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000417c b 0x3000 | goto label_73;
| label_180:
0x00004180 addiu a0, v0, 1 | a0 = v0 + 1;
0x00004184 sltiu a0, a0, 1 | a0 = (a0 < 1) ? 1 : 0;
| label_187:
0x00004188 lw t9, -0x7f00(gp) | t9 = sym.imp.fputc;
| if (a0 == 0) {
0x0000418c beqz a0, 0x3d24 | goto label_74;
| }
0x00004190 addiu s6, zero, 1 | s6 = 1;
0x00004194 b 0x4078 | goto label_70;
| label_170:
0x00004198 lw a2, 4(fp) | a2 = *(arg_4h);
0x0000419c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000041a0 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x000041a4 lwx a2, s2(a2) | __asm ("lwx a2, s2(a2)");
| /* str.error_running_non_shared_prerotate_script_for__s_of__s_n */
0x000041a8 addiu a1, a1, 0x55e8 | a1 += 0x55e8;
0x000041ac addiu a0, zero, 5 | a0 = 5;
0x000041b0 bal 0xd3d8 | sym_message ();
0x000041b4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000041b8 b 0x3994 | goto label_75;
| label_88:
0x000041bc lw v0, -0x7da4(gp) | v0 = *((gp - 8041));
0x000041c0 lw t9, -0x7e18(gp) | t9 = sym.imp.poptBadOption;
0x000041c4 addiu a1, zero, 1 | a1 = 1;
0x000041c8 move a0, s0 | a0 = s0;
0x000041cc lw s1, (v0) | s1 = *(v0);
0x000041d0 jalr t9 | t9 ();
0x000041d4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000041d8 move a0, zero | a0 = 0;
0x000041dc lw t9, -0x7dd4(gp) | t9 = sym.imp.poptStrerror;
0x000041e0 move s2, v0 | s2 = v0;
0x000041e4 jalr t9 | t9 ();
0x000041e8 lw gp, 0x28(sp) | gp = *(var_28h);
0x000041ec move a3, s2 | a3 = s2;
0x000041f0 addiu a1, zero, 1 | a1 = 1;
0x000041f4 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x000041f8 lw t9, -0x7f2c(gp) | t9 = sym.imp.__fprintf_chk
| /* str.logrotate:_bad_argument__s:__s_n */
0x000041fc addiu a2, a2, 0x4c1c | a2 += 0x4c1c;
0x00004200 move a0, s1 | a0 = s1;
0x00004204 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00004208 jalr t9 | t9 ();
0x0000420c lw gp, 0x28(sp) | gp = *(var_28h);
0x00004210 lw t9, -0x7ec4(gp) | t9 = sym.imp.poptFreeContext;
0x00004214 move a0, s0 | a0 = s0;
0x00004218 jalr t9 | t9 ();
0x0000421c lw gp, 0x28(sp) | gp = *(var_28h);
0x00004220 addiu v0, zero, 2 | v0 = 2;
0x00004224 b 0x27b0 | goto label_76;
| label_168:
0x00004228 move s0, zero | s0 = 0;
0x0000422c b 0x2b0c | goto label_58;
| label_185:
0x00004230 sltu a0, v0, a0 | a0 = (v0 < a0) ? 1 : 0;
| if (a0 == 0) {
0x00004234 beql a0, zero, 0x3dec | goto label_77;
| }
0x00004238 lw v0, 0x34(s7) | v0 = *((s7 + 13));
0x0000423c lw a1, -0x7fd8(gp) | a1 = *(gp);
| label_184:
0x00004240 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00004244 sw zero, 0xd0(s6) | *((s6 + 52)) = 0;
| /* str.__log_does_not_need_rotating__minsize_directive_is_used_and_the_log_size_is_smaller_than_the_minsize_value__n */
0x00004248 addiu a1, a1, 0x536c | a1 += 0x536c;
0x0000424c addiu a0, zero, 2 | a0 = 2;
0x00004250 bal 0xd3d8 | sym_message ();
0x00004254 lw gp, 0x28(sp) | gp = *(var_28h);
0x00004258 b 0x3de8 | goto label_78;
| label_188:
0x0000425c lw t0, 0xa0(sp) | t0 = *(var_a0h);
| if (t1 == t0) {
0x00004260 beql t1, t0, 0x4464 | goto label_189;
| }
0x00004264 lw t2, 0xc(s6) | t2 = *((s6 + 3));
0x00004268 lw a1, 0x10(s7) | a1 = *((s7 + 4));
0x0000426c sltiu t0, a1, 5 | t0 = (a1 < 5) ? 1 : 0;
0x00004270 sll t0, a1, 2 | t0 = a1 << 2;
| if (t0 == 0) {
0x00004274 beqz t0, 0x3db8 | goto label_72;
| }
0x00004278 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x0000427c addiu a1, a1, 0x5a60 | a1 += 0x5a60;
0x00004280 lwx a1, t0(a1) | __asm ("lwx a1, t0(a1)");
0x00004284 addu a1, a1, gp | a1 += gp;
0x00004288 jr a1 | a1 ();
0x0000428c nop |
| label_172:
0x00004290 lw t9, -0x7eb8(gp) | t9 = sym.imp.__errno_location;
0x00004294 addiu s6, zero, 1 | s6 = 1;
0x00004298 jalr t9 | t9 ();
0x0000429c lw gp, 0x28(sp) | gp = *(var_28h);
0x000042a0 lw t9, -0x7e54(gp) | t9 = sym.imp.strerror;
0x000042a4 lw a0, (v0) | a0 = *(v0);
0x000042a8 jalr t9 | t9 ();
0x000042ac lw gp, 0x28(sp) | gp = *(var_28h);
0x000042b0 lw a2, 0x38(sp) | a2 = *(var_38h);
0x000042b4 move a3, v0 | a3 = v0;
0x000042b8 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000042bc lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.error_opening__s:__s_n */
0x000042c0 addiu a1, a1, 0x4068 | a1 += 0x4068;
| label_81:
0x000042c4 addiu a0, zero, 5 | a0 = 5;
0x000042c8 bal 0xd3d8 | sym_message ();
0x000042cc lw gp, 0x28(sp) | gp = *(var_28h);
| label_80:
0x000042d0 lw t9, -0x7db0(gp) | t9 = sym.imp.free;
0x000042d4 lw a0, 0x3c(sp) | a0 = *(var_3ch);
0x000042d8 jalr t9 | t9 ();
0x000042dc lw gp, 0x28(sp) | gp = *(var_28h);
| do {
| label_82:
0x000042e0 lw v0, 0x58(sp) | v0 = *(var_58h);
0x000042e4 or v0, v0, s6 | v0 |= s6;
0x000042e8 sw v0, 0x58(sp) | *(var_58h) = v0;
0x000042ec b 0x27a8 | goto label_79;
| label_171:
0x000042f0 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000042f4 lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.could_not_allocate_memory_for_tmp_state_filename_n */
0x000042f8 addiu a1, a1, 0x5808 | a1 += 0x5808;
0x000042fc addiu a0, zero, 5 | a0 = 5;
0x00004300 bal 0xd3d8 | sym_message ();
0x00004304 addiu s6, zero, 1 | s6 = 1;
0x00004308 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000430c b 0x42e0 |
| } while (1);
| label_176:
0x00004310 lw t9, -0x7d9c(gp) | t9 = sym.imp.fflush;
| if (s6 != 0) {
0x00004314 bnez s6, 0x43b8 | goto label_177;
| }
0x00004318 move a0, s3 | a0 = s3;
0x0000431c jalr t9 | t9 ();
0x00004320 move s6, v0 | s6 = v0;
0x00004324 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00004328 bnez v0, 0x43b8 | goto label_177;
| }
0x0000432c lw t9, -0x7e88(gp) | t9 = sym.imp.fsync;
0x00004330 lw a0, 0x4c(sp) | a0 = *(var_4ch);
0x00004334 jalr t9 | t9 ();
0x00004338 move s6, v0 | s6 = v0;
0x0000433c lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00004340 bnez v0, 0x43b8 | goto label_177;
| }
0x00004344 lw t9, -0x7f14(gp) | t9 = sym.imp.fclose;
0x00004348 move a0, s3 | a0 = s3;
0x0000434c jalr t9 | t9 ();
0x00004350 move s6, v0 | s6 = v0;
0x00004354 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00004358 bnez v0, 0x43c8 | goto label_190;
| }
0x0000435c lw t9, -0x7fc4(gp) | t9 = sym.mvFile;
0x00004360 lw a1, 0x38(sp) | a1 = *(var_38h);
0x00004364 lw a0, 0x3c(sp) | a0 = *(var_3ch);
0x00004368 move a3, zero | a3 = 0;
0x0000436c move a2, zero | a2 = 0;
0x00004370 bal 0x101f0 | sym_mvFile ();
0x00004374 move s6, v0 | s6 = v0;
0x00004378 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x0000437c beqz v0, 0x42d0 | goto label_80;
| }
0x00004380 lw s0, 0x3c(sp) | s0 = *(var_3ch);
0x00004384 lw t9, -0x7dfc(gp) | t9 = sym.imp.unlink;
0x00004388 move a0, s0 | a0 = s0;
0x0000438c jalr t9 | t9 ();
0x00004390 lw gp, 0x28(sp) | gp = *(var_28h);
0x00004394 move a2, s0 | a2 = s0;
0x00004398 addiu a0, zero, 5 | a0 = 5;
0x0000439c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000043a0 lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.error_renaming_temp_state_file__s_n */
0x000043a4 addiu a1, a1, 0x58dc | a1 += 0x58dc;
0x000043a8 bal 0xd3d8 | sym_message ();
0x000043ac addiu s6, zero, 1 | s6 = 1;
0x000043b0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000043b4 b 0x42d0 | goto label_80;
| label_177:
0x000043b8 lw t9, -0x7f14(gp) | t9 = sym.imp.fclose;
0x000043bc move a0, s3 | a0 = s3;
0x000043c0 jalr t9 | t9 ();
0x000043c4 lw gp, 0x28(sp) | gp = *(var_28h);
| label_190:
0x000043c8 lw t9, -0x7dfc(gp) | t9 = sym.imp.unlink;
0x000043cc lw a0, 0x3c(sp) | a0 = *(var_3ch);
0x000043d0 jalr t9 | t9 ();
0x000043d4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000043d8 lw t9, -0x7eb8(gp) | t9 = sym.imp.__errno_location;
0x000043dc jalr t9 | t9 ();
0x000043e0 nop |
0x000043e4 lw a0, (v0) | a0 = *(v0);
0x000043e8 lw gp, 0x28(sp) | gp = *(var_28h);
| if (a0 != 0) {
0x000043ec bnez a0, 0x44f0 | goto label_191;
| }
0x000043f0 addiu v0, zero, 0xc | v0 = 0xc;
0x000043f4 lw v0, 0x60(sp) | v0 = *(var_60h);
| if (s6 == v0) {
0x000043f8 beq s6, v0, 0x4524 | goto label_192;
| }
0x000043fc addiu a3, v0, 0x4ccc | a3 = v0 + 0x4ccc;
| label_83:
0x00004400 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00004404 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x00004408 lw a2, 0x3c(sp) | a2 = *(var_3ch);
| /* str.error_creating_temp_state_file__s_s_n */
0x0000440c addiu a1, a1, 0x5900 | a1 += 0x5900;
0x00004410 b 0x42c4 | goto label_81;
| label_173:
0x00004414 lw t9, -0x7eb8(gp) | t9 = sym.imp.__errno_location;
0x00004418 addiu s6, zero, 1 | s6 = 1;
0x0000441c jalr t9 | t9 ();
0x00004420 lw gp, 0x28(sp) | gp = *(var_28h);
0x00004424 lw t9, -0x7e54(gp) | t9 = sym.imp.strerror;
0x00004428 lw a0, (v0) | a0 = *(v0);
0x0000442c jalr t9 | t9 ();
0x00004430 lw gp, 0x28(sp) | gp = *(var_28h);
0x00004434 move a3, v0 | a3 = v0;
0x00004438 lw a2, 0x38(sp) | a2 = *(var_38h);
0x0000443c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00004440 lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.error_stating__s:__s_n */
0x00004444 addiu a1, a1, 0x583c | a1 += 0x583c;
0x00004448 b 0x42c4 | goto label_81;
| label_174:
0x0000444c lw t9, -0x7db0(gp) | t9 = sym.imp.free;
0x00004450 lw a0, 0x3c(sp) | a0 = *(var_3ch);
0x00004454 addiu s6, zero, 1 | s6 = 1;
0x00004458 jalr t9 | t9 ();
0x0000445c lw gp, 0x28(sp) | gp = *(var_28h);
0x00004460 b 0x42e0 | goto label_82;
| label_189:
0x00004464 lw a1, 0x9c(sp) | a1 = *(var_9ch);
| if (t2 == a1) {
0x00004468 beql t2, a1, 0x4530 | goto label_193;
| }
0x0000446c lw v0, 0xd0(s6) | v0 = *((s6 + 52));
0x00004470 lw a1, 0x10(s7) | a1 = *((s7 + 4));
0x00004474 sltiu t2, a1, 5 | t2 = (a1 < 5) ? 1 : 0;
0x00004478 sll t2, a1, 2 | t2 = a1 << 2;
| if (t2 == 0) {
0x0000447c beqz t2, 0x3db8 | goto label_72;
| }
0x00004480 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00004484 addiu a1, a1, 0x5a74 | a1 += 0x5a74;
0x00004488 lwx a1, t2(a1) | __asm ("lwx a1, t2(a1)");
0x0000448c addu a1, a1, gp | a1 += gp;
0x00004490 jr a1 | a1 ();
0x00004494 nop |
| label_175:
0x00004498 lw t9, -0x7eb8(gp) | t9 = sym.imp.__errno_location;
0x0000449c addiu s6, zero, 1 | s6 = 1;
0x000044a0 jalr t9 | t9 ();
0x000044a4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000044a8 lw t9, -0x7e54(gp) | t9 = sym.imp.strerror;
0x000044ac lw a0, (v0) | a0 = *(v0);
0x000044b0 jalr t9 | t9 ();
0x000044b4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000044b8 lw s0, 0x3c(sp) | s0 = *(var_3ch);
0x000044bc move a3, v0 | a3 = v0;
0x000044c0 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000044c4 lw t9, -0x7fdc(gp) | t9 = sym.message;
0x000044c8 move a2, s0 | a2 = s0;
| /* str.error_creating_temp_state_file__s:__s_n */
0x000044cc addiu a1, a1, 0x5854 | a1 += 0x5854;
0x000044d0 addiu a0, zero, 5 | a0 = 5;
0x000044d4 bal 0xd3d8 | sym_message ();
0x000044d8 lw gp, 0x28(sp) | gp = *(var_28h);
0x000044dc lw t9, -0x7db0(gp) | t9 = sym.imp.free;
0x000044e0 move a0, s0 | a0 = s0;
0x000044e4 jalr t9 | t9 ();
0x000044e8 lw gp, 0x28(sp) | gp = *(var_28h);
0x000044ec b 0x42e0 | goto label_82;
| label_191:
0x000044f0 lw t9, -0x7e54(gp) | t9 = sym.imp.strerror;
0x000044f4 jalr t9 | t9 ();
0x000044f8 nop |
0x000044fc lw gp, 0x28(sp) | gp = *(var_28h);
0x00004500 lw a2, 0x3c(sp) | a2 = *(var_3ch);
0x00004504 move a3, v0 | a3 = v0;
0x00004508 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x0000450c lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.error_creating_temp_state_file__s:__s_n */
0x00004510 addiu a1, a1, 0x5854 | a1 += 0x5854;
0x00004514 addiu a0, zero, 5 | a0 = 5;
0x00004518 bal 0xd3d8 | sym_message ();
0x0000451c lw gp, 0x28(sp) | gp = *(var_28h);
0x00004520 b 0x42d0 | goto label_80;
| label_192:
0x00004524 lw a3, -0x7fd8(gp) | a3 = *(gp);
| /* str.:_Insufficient_storage_space_is_available. */
0x00004528 addiu a3, a3, 0x4888 | a3 += 0x4888;
0x0000452c b 0x4400 | goto label_83;
| label_193:
0x00004530 lw v0, 0x70(s7) | v0 = *((s7 + 28));
| if (v0 == 0) {
0x00004534 bnel v0, zero, 0x297c | goto label_8;
| }
0x00004538 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x0000453c lw t9, -0x7fdc(gp) | t9 = sym.message;
| /* str.__log_does_not_need_rotating__log_has_been_already_rotated__n */
0x00004540 addiu a1, a1, 0x5448 | a1 += 0x5448;
0x00004544 addiu a0, zero, 2 | a0 = 2;
0x00004548 bal 0xd3d8 | sym_message ();
0x0000454c lw gp, 0x28(sp) | gp = *(var_28h);
0x00004550 b 0x2af4 | goto label_67;
| label_112:
0x00004554 lw t9, -0x7de4(gp) | t9 = sym.imp.__stack_chk_fail;
0x00004558 jalr t9 | t9 ();
0x0000455c nop |
| label_89:
0x00004560 lw s1, -0x7da4(gp) | s1 = *((gp - 8041));
0x00004564 lw a0, -0x7fd8(gp) | a0 = *(gp);
0x00004568 lw t9, -0x7e14(gp) | t9 = sym.imp.fwrite;
0x0000456c lw a3, (s1) | a3 = *(s1);
0x00004570 addiu a2, zero, 0x39 | a2 = 0x39;
0x00004574 addiu a1, zero, 1 | a1 = 1;
| /* str.logrotate_3.15.1___Copyright__C__1995_2001_Red_Hat__Inc._n */
0x00004578 addiu a0, a0, 0x4c3c | a0 += 0x4c3c;
0x0000457c jalr t9 | t9 ();
0x00004580 lw gp, 0x28(sp) | gp = *(var_28h);
0x00004584 lw a3, (s1) | a3 = *(s1);
0x00004588 addiu a2, zero, 0x54 | a2 = 0x54;
0x0000458c lw a0, -0x7fd8(gp) | a0 = *(gp);
0x00004590 lw t9, -0x7e14(gp) | t9 = sym.imp.fwrite;
0x00004594 addiu a1, zero, 1 | a1 = 1;
| /* str.This_may_be_freely_redistributed_under_the_terms_of_the_GNU_General_Public_License_n_n */
0x00004598 addiu a0, a0, 0x4c78 | a0 += 0x4c78;
0x0000459c jalr t9 | t9 ();
0x000045a0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000045a4 lw a1, (s1) | a1 = *(s1);
0x000045a8 move a2, zero | a2 = 0;
0x000045ac lw t9, -0x7e44(gp) | t9 = sym.imp.poptPrintUsage;
0x000045b0 move a0, s0 | a0 = s0;
0x000045b4 jalr t9 | t9 ();
0x000045b8 lw gp, 0x28(sp) | gp = *(var_28h);
0x000045bc lw t9, -0x7ec4(gp) | t9 = sym.imp.poptFreeContext;
0x000045c0 move a0, s0 | a0 = s0;
0x000045c4 jalr t9 | t9 ();
0x000045c8 lw gp, 0x28(sp) | gp = *(var_28h);
0x000045cc lw t9, -0x7e64(gp) | t9 = sym.imp.exit;
0x000045d0 addiu a0, zero, 1 | a0 = 1;
0x000045d4 jalr t9 | t9 ();
0x000045d8 nop |
0x000045dc nop |
| }
[*] Function fprintf used 4 times logrotate