integer test_at166
array<integer> AssistTimestamps_nextFree801
integer AssistTimestamps_firstFree919
integer AssistTimestamps_maxIndex190
array<integer> AssistTimestamps_vals_0783
array<integer> AssistTimestamps_vals_1779
array<integer> AssistTimestamps_vals_2165
array<integer> AssistTimestamps_vals_3117
array<integer> AssistTimestamps_vals_4365
array<integer> AssistTimestamps_vals_5180
array<integer> AssistTimestamps_vals_6887
array<integer> AssistTimestamps_vals_7245
array<integer> AssistTimestamps_vals_8208
array<integer> AssistTimestamps_vals_9132
array<integer> AssistTimestamps_vals_10255
array<integer> AssistTimestamps_vals_11194


integer test_at166 = new_AssistTimestamps964()
integer AssistTimestamps_firstFree919 = 0
integer AssistTimestamps_maxIndex190 = 0


function initGlobals759() { 
    AssistTimestamps_firstFree_919 = 0;
    AssistTimestamps_maxIndex_190 = 0;
}


function main111() { 
    initGlobals759();
    init_test105();
}


function config127() { 
}


function init_test105() { 
    test_at_166 = new_AssistTimestamps964();
    AssistTimestamps_vals_set610(test_at_166, 4, 42);
    foo798();
    if (AssistTimestamps_vals_get157(test_at_166, 4) == 42) {
        testSuccess690();
    } else {
    };
}


function foo798() { 
    AssistTimestamps_vals_set610(test_at_166, 3, 72);
}


IS_NATIVE function testSuccess690() { 
}


function AssistTimestamps_init324(integer this106) { 
}


function new_AssistTimestamps964() returns integer { 
    local integer this121
    this_121 = alloc_AssistTimestamps114();
    construct_AssistTimestamps141(this_121);
    return this_121;
}


function construct_AssistTimestamps141(integer this156) { 
    AssistTimestamps_init324(this_156);
}


function alloc_AssistTimestamps114() returns integer { 
    local integer this414
    if (AssistTimestamps_firstFree_919 == 0) {
        if (AssistTimestamps_maxIndex_190 < 32768) {
            AssistTimestamps_maxIndex_190 = (AssistTimestamps_maxIndex_190 + 1);
            this_414 = AssistTimestamps_maxIndex_190;
        } else {
            error130("Out of memory: Could not create AssistTimestamps.");
            this_414 = 0;
        };
    } else {
        AssistTimestamps_firstFree_919 = (AssistTimestamps_firstFree_919 - 1);
        this_414 = AssistTimestamps_nextFree_801[AssistTimestamps_firstFree_919];
    };
    return this_414;
}


function error130(string msg668) { 
    $debugPrint115((msg_668 + ("
" + #getStackTrace())));
}


function AssistTimestamps_vals_set610(integer instanceId178, integer arrayIndex186, integer value198) { 
    if ((arrayIndex_186 < 0) or (arrayIndex_186 >= 12)) {
        error130("Index out of Bounds");
    } else {
        if (arrayIndex_186 <= 5) {
            if (arrayIndex_186 <= 2) {
                if (arrayIndex_186 <= 1) {
                    if (arrayIndex_186 <= 0) {
                        AssistTimestamps_vals_0_783[instanceId_178] = value_198;
                    } else {
                        AssistTimestamps_vals_1_779[instanceId_178] = value_198;
                    };
                } else {
                    AssistTimestamps_vals_2_165[instanceId_178] = value_198;
                };
            } else {
                if (arrayIndex_186 <= 4) {
                    if (arrayIndex_186 <= 3) {
                        AssistTimestamps_vals_3_117[instanceId_178] = value_198;
                    } else {
                        AssistTimestamps_vals_4_365[instanceId_178] = value_198;
                    };
                } else {
                    AssistTimestamps_vals_5_180[instanceId_178] = value_198;
                };
            };
        } else {
            if (arrayIndex_186 <= 8) {
                if (arrayIndex_186 <= 7) {
                    if (arrayIndex_186 <= 6) {
                        AssistTimestamps_vals_6_887[instanceId_178] = value_198;
                    } else {
                        AssistTimestamps_vals_7_245[instanceId_178] = value_198;
                    };
                } else {
                    AssistTimestamps_vals_8_208[instanceId_178] = value_198;
                };
            } else {
                if (arrayIndex_186 <= 10) {
                    if (arrayIndex_186 <= 9) {
                        AssistTimestamps_vals_9_132[instanceId_178] = value_198;
                    } else {
                        AssistTimestamps_vals_10_255[instanceId_178] = value_198;
                    };
                } else {
                    AssistTimestamps_vals_11_194[instanceId_178] = value_198;
                };
            };
        };
    };
}


function AssistTimestamps_vals_get157(integer index1235, integer index2111) returns integer { 
    local integer returnVal767
    if ((index2_111 < 0) or (index2_111 >= 12)) {
        error130("Index out of Bounds");
    } else {
        if (index2_111 <= 5) {
            if (index2_111 <= 2) {
                if (index2_111 <= 1) {
                    if (index2_111 <= 0) {
                        returnVal_767 = AssistTimestamps_vals_0_783[index1_235];
                    } else {
                        returnVal_767 = AssistTimestamps_vals_1_779[index1_235];
                    };
                } else {
                    returnVal_767 = AssistTimestamps_vals_2_165[index1_235];
                };
            } else {
                if (index2_111 <= 4) {
                    if (index2_111 <= 3) {
                        returnVal_767 = AssistTimestamps_vals_3_117[index1_235];
                    } else {
                        returnVal_767 = AssistTimestamps_vals_4_365[index1_235];
                    };
                } else {
                    returnVal_767 = AssistTimestamps_vals_5_180[index1_235];
                };
            };
        } else {
            if (index2_111 <= 8) {
                if (index2_111 <= 7) {
                    if (index2_111 <= 6) {
                        returnVal_767 = AssistTimestamps_vals_6_887[index1_235];
                    } else {
                        returnVal_767 = AssistTimestamps_vals_7_245[index1_235];
                    };
                } else {
                    returnVal_767 = AssistTimestamps_vals_8_208[index1_235];
                };
            } else {
                if (index2_111 <= 10) {
                    if (index2_111 <= 9) {
                        returnVal_767 = AssistTimestamps_vals_9_132[index1_235];
                    } else {
                        returnVal_767 = AssistTimestamps_vals_10_255[index1_235];
                    };
                } else {
                    returnVal_767 = AssistTimestamps_vals_11_194[index1_235];
                };
            };
        };
    };
    return returnVal_767;
}