array<integer> Pair_nextFree133
integer Pair_firstFree200
integer Pair_maxIndex153
array<integer> Pair_a167


integer Pair_firstFree200 = 0
integer Pair_maxIndex153 = 0


function initGlobals204() { 
    Pair_firstFree_200 = 0;
    Pair_maxIndex_153 = 0;
}


function main153() { 
    initGlobals204();
    init_test135();
}


function config737() { 
}


function init_test135() { 
    if (Pair_a_167[new_OtherPair115(2, 3)] == 2) {
        testSuccess230();
    } else {
    };
}


IS_NATIVE function testSuccess230() { 
}


function OtherPair_init386(integer this209) { 
}


function new_OtherPair115(integer a199, integer b172) returns integer { 
    local integer this154
    this_154 = alloc_OtherPair126();
    construct_OtherPair101(this_154, a_199, b_172);
    return this_154;
}


function construct_OtherPair101(integer this422, integer a103, integer b616) { 
    construct_Pair871(this_422, a_103, b_616);
    OtherPair_init386(this_422);
}


function Pair_init981(integer this138) { 
}


function construct_Pair871(integer this369, integer a133, integer b161) { 
    Pair_init981(this_369);
    Pair_a_167[this_369] = a_133;
}


function alloc_OtherPair126() returns integer { 
    local integer this159
    if (Pair_firstFree_200 == 0) {
        if (Pair_maxIndex_153 < 32768) {
            Pair_maxIndex_153 = (Pair_maxIndex_153 + 1);
            this_159 = Pair_maxIndex_153;
        } else {
            error174("Out of memory: Could not create OtherPair.");
            this_159 = 0;
        };
    } else {
        Pair_firstFree_200 = (Pair_firstFree_200 - 1);
        this_159 = Pair_nextFree_133[Pair_firstFree_200];
    };
    return this_159;
}


function error174(string msg339) { 
    $debugPrint619((msg_339 + ("
" + #getStackTrace())));
}