static void tgen_branch(TCGContext *s, int cc, int labelno)

{

    TCGLabel* l = &s->labels[labelno];

    if (l->has_value) {

        tgen_gotoi(s, cc, l->u.value_ptr);

    } else if (USE_LONG_BRANCHES) {

        tcg_out16(s, RIL_BRCL | (cc << 4));

        tcg_out_reloc(s, s->code_ptr, R_390_PC32DBL, labelno, -2);

        s->code_ptr += 2;

    } else {

        tcg_out16(s, RI_BRC | (cc << 4));

        tcg_out_reloc(s, s->code_ptr, R_390_PC16DBL, labelno, -2);

        s->code_ptr += 1;

    }

}

static void tgen_branch(TCGContext *s, int cc, int labelno)

{

    TCGLabel* l = &s->labels[labelno];

    if (l->has_value) {

        tgen_gotoi(s, cc, l->u.value_ptr);

    } else if (USE_LONG_BRANCHES) {

        tcg_out16(s, RIL_BRCL | (cc << 4));

        tcg_out_reloc(s, s->code_ptr, R_390_PC32DBL, labelno, -2);

        s->code_ptr += 2;

    } else {

        tcg_out16(s, RI_BRC | (cc << 4));

        tcg_out_reloc(s, s->code_ptr, R_390_PC16DBL, labelno, -2);

        s->code_ptr += 1;

    }

}

static void FUNC_0(TCGContext *VAR_0, int VAR_1, int VAR_2)

{

    TCGLabel* l = &VAR_0->labels[VAR_2];

    if (l->has_value) {

        tgen_gotoi(VAR_0, VAR_1, l->u.value_ptr);

    } else if (USE_LONG_BRANCHES) {

        tcg_out16(VAR_0, RIL_BRCL | (VAR_1 << 4));

        tcg_out_reloc(VAR_0, VAR_0->code_ptr, R_390_PC32DBL, VAR_2, -2);

        VAR_0->code_ptr += 2;

    } else {

        tcg_out16(VAR_0, RI_BRC | (VAR_1 << 4));

        tcg_out_reloc(VAR_0, VAR_0->code_ptr, R_390_PC16DBL, VAR_2, -2);

        VAR_0->code_ptr += 1;

    }

}

static void FUNC_0(TCGContext *VAR_0, int VAR_1, int VAR_2)
{ TCGLabel* l = &VAR_0->labels[VAR_2]; if (l->has_value) { tgen_gotoi(VAR_0, VAR_1, l->u.value_ptr); } else if (USE_LONG_BRANCHES) { tcg_out16(VAR_0, RIL_BRCL | (VAR_1 << 4)); tcg_out_reloc(VAR_0, VAR_0->code_ptr, R_390_PC32DBL, VAR_2, -2); VAR_0->code_ptr += 2; } else { tcg_out16(VAR_0, RI_BRC | (VAR_1 << 4)); tcg_out_reloc(VAR_0, VAR_0->code_ptr, R_390_PC16DBL, VAR_2, -2); VAR_0->code_ptr += 1; } }