integer test_bc188
array<integer> Comparison_nextFree133
integer Comparison_firstFree209
integer Comparison_maxIndex134
array<integer> Comparison_typeId422


integer test_bc188 = new_BoolComp175()
integer Comparison_firstFree209 = 0
integer Comparison_maxIndex134 = 0


function initGlobals219() { 
}


function main998() { 
    initGlobals219();
    init_test192();
}


function config141() { 
}


function init_test192() { 
    test_bc_188 = new_BoolComp175();
    if dispatch_Comparison_test_Comparison_leq798(test_bc_188, booleanToIndex190(false), booleanToIndex190(true)) {
        testSuccess122();
    } else {
    };
}


function booleanToIndex190(boolean b141) returns integer { 
    if b_141 {
        return 1;
    } else {
    };
    return 0;
}


IS_NATIVE function testSuccess122() { 
}


function new_BoolComp175() returns integer { 
    local integer this186
    local integer this335
    if (Comparison_firstFree_209 == 0) {
        if (Comparison_maxIndex_134 < 32768) {
            Comparison_maxIndex_134 = (Comparison_maxIndex_134 + 1);
            this_335 = Comparison_maxIndex_134;
            Comparison_typeId_422[this_335] = 2;
        } else {
            error101("Out of memory: Could not create BoolComp.");
            this_335 = 0;
        };
    } else {
        Comparison_firstFree_209 = (Comparison_firstFree_209 - 1);
        this_335 = Comparison_nextFree_133[Comparison_firstFree_209];
        Comparison_typeId_422[this_335] = 2;
    };
    this_186 = this_335;
    return this_186;
}


function error101(string msg500) { 
    $debugPrint175((msg_500 + ("
" + #getStackTrace())));
}


function dispatch_Comparison_test_Comparison_leq798(integer this108, any t214, any u328) returns boolean { 
    local boolean test_Comparison_leq_result696
    local any t161
    local any u151
    local boolean a159
    local boolean b607
    local integer i167
    local integer i200
    if (Comparison_typeId_422[this_108] == 0) {
        if (this_108 == 0) {
            error101("Nullpointer exception when calling Comparison.leq");
        } else {
            error101("Called Comparison.leq on invalid object.");
        };
    } else {
    };
    t_161 = t_214;
    u_151 = u_328;
    i_167 = t_161;
    a_159 = (i_167 != 0);
    i_200 = u_151;
    b_607 = (i_200 != 0);
    test_Comparison_leq_result_696 = ((not a_159) or b_607);
    return test_Comparison_leq_result_696;
}