array<integer> A_nextFree102
integer A_firstFree106
integer A_maxIndex116
array<integer> A_x119


integer A_firstFree106 = 0
integer A_maxIndex116 = 0


function initGlobals731() { 
}


function main102() { 
    initGlobals731();
    init_test259();
}


function config199() { 
}


function init_test259() { 
    local integer a393
    local integer i114
    local integer x310
    local integer this279
    local integer this120
    local integer this123
    local integer x112
    local integer this191
    local any x156
    x_310 = 42;
    if (A_firstFree_106 == 0) {
        if (A_maxIndex_116 < 32768) {
            A_maxIndex_116 = (A_maxIndex_116 + 1);
            this_120 = A_maxIndex_116;
        } else {
            error906("Out of memory: Could not create A.");
            this_120 = 0;
        };
    } else {
        A_firstFree_106 = (A_firstFree_106 - 1);
        this_120 = A_nextFree_102[A_firstFree_106];
    };
    this_279 = this_120;
    this_123 = this_279;
    x_112 = x_310;
    this_191 = this_123;
    A_x_119[this_191] = 1;
    A_x_119[this_123] = x_112;
    a_393 = this_279;
    x_156 = a_393;
    i_114 = (x_156 castTo integer);
    if (A_x_119[(((2 * i_114) - i_114) castTo integer)] == 42) {
        testSuccess134();
    } else {
    };
}


IS_NATIVE function testSuccess134() { 
}


function error906(string msg108) { 
    $debugPrint187((msg_108 + ("
" + #getStackTrace())));
}