static void tcg_target_qemu_prologue(TCGContext *s)

{

    int i, frame_size;



    /* reserve some stack space */

    frame_size = ARRAY_SIZE(tcg_target_callee_save_regs) * 4

                 + TCG_STATIC_CALL_ARGS_SIZE;

    frame_size = (frame_size + TCG_TARGET_STACK_ALIGN - 1) &

                 ~(TCG_TARGET_STACK_ALIGN - 1);



    /* TB prologue */

    tcg_out_addi(s, TCG_REG_SP, -frame_size);

    for(i = 0 ; i < ARRAY_SIZE(tcg_target_callee_save_regs) ; i++) {

        tcg_out_st(s, TCG_TYPE_I32, tcg_target_callee_save_regs[i],

                   TCG_REG_SP, TCG_STATIC_CALL_ARGS_SIZE + i * 4);

    }



    /* Call generated code */

    tcg_out_opc_reg(s, OPC_JR, 0, tcg_target_call_iarg_regs[1]), 0);

    tcg_out_mov(s, TCG_TYPE_PTR, TCG_AREG0, tcg_target_call_iarg_regs[0]);

    tb_ret_addr = s->code_ptr;



    /* TB epilogue */

    for(i = 0 ; i < ARRAY_SIZE(tcg_target_callee_save_regs) ; i++) {

        tcg_out_ld(s, TCG_TYPE_I32, tcg_target_callee_save_regs[i],

                   TCG_REG_SP, TCG_STATIC_CALL_ARGS_SIZE + i * 4);

    }



    tcg_out_opc_reg(s, OPC_JR, 0, TCG_REG_RA, 0);

    tcg_out_addi(s, TCG_REG_SP, frame_size);

}

static void tcg_target_qemu_prologue(TCGContext *s)

{

    int i, frame_size;



    

    frame_size = ARRAY_SIZE(tcg_target_callee_save_regs) * 4

                 + TCG_STATIC_CALL_ARGS_SIZE;

    frame_size = (frame_size + TCG_TARGET_STACK_ALIGN - 1) &

                 ~(TCG_TARGET_STACK_ALIGN - 1);



    

    tcg_out_addi(s, TCG_REG_SP, -frame_size);

    for(i = 0 ; i < ARRAY_SIZE(tcg_target_callee_save_regs) ; i++) {

        tcg_out_st(s, TCG_TYPE_I32, tcg_target_callee_save_regs[i],

                   TCG_REG_SP, TCG_STATIC_CALL_ARGS_SIZE + i * 4);

    }



    

    tcg_out_opc_reg(s, OPC_JR, 0, tcg_target_call_iarg_regs[1]), 0);

    tcg_out_mov(s, TCG_TYPE_PTR, TCG_AREG0, tcg_target_call_iarg_regs[0]);

    tb_ret_addr = s->code_ptr;



    

    for(i = 0 ; i < ARRAY_SIZE(tcg_target_callee_save_regs) ; i++) {

        tcg_out_ld(s, TCG_TYPE_I32, tcg_target_callee_save_regs[i],

                   TCG_REG_SP, TCG_STATIC_CALL_ARGS_SIZE + i * 4);

    }



    tcg_out_opc_reg(s, OPC_JR, 0, TCG_REG_RA, 0);

    tcg_out_addi(s, TCG_REG_SP, frame_size);

}

    tcg_out_opc_reg(s, OPC_JR, 0, tcg_target_call_iarg_regs[1]), 0);
static void FUNC_0(TCGContext *VAR_0)

{

    int VAR_1, VAR_2;



    

    VAR_2 = ARRAY_SIZE(tcg_target_callee_save_regs) * 4

                 + TCG_STATIC_CALL_ARGS_SIZE;

    VAR_2 = (VAR_2 + TCG_TARGET_STACK_ALIGN - 1) &

                 ~(TCG_TARGET_STACK_ALIGN - 1);



    

    tcg_out_addi(VAR_0, TCG_REG_SP, -VAR_2);

    for(VAR_1 = 0 ; VAR_1 < ARRAY_SIZE(tcg_target_callee_save_regs) ; VAR_1++) {

        tcg_out_st(VAR_0, TCG_TYPE_I32, tcg_target_callee_save_regs[VAR_1],

                   TCG_REG_SP, TCG_STATIC_CALL_ARGS_SIZE + VAR_1 * 4);

    }



    

    tcg_out_opc_reg(VAR_0, OPC_JR, 0, tcg_target_call_iarg_regs[1]), 0);

    tcg_out_mov(VAR_0, TCG_TYPE_PTR, TCG_AREG0, tcg_target_call_iarg_regs[0]);

    tb_ret_addr = VAR_0->code_ptr;



    

    for(VAR_1 = 0 ; VAR_1 < ARRAY_SIZE(tcg_target_callee_save_regs) ; VAR_1++) {

        tcg_out_ld(VAR_0, TCG_TYPE_I32, tcg_target_callee_save_regs[VAR_1],

                   TCG_REG_SP, TCG_STATIC_CALL_ARGS_SIZE + VAR_1 * 4);

    }



    tcg_out_opc_reg(VAR_0, OPC_JR, 0, TCG_REG_RA, 0);

    tcg_out_addi(VAR_0, TCG_REG_SP, VAR_2);

}

static void FUNC_0(TCGContext *VAR_0)
{ int VAR_1, VAR_2; VAR_2 = ARRAY_SIZE(tcg_target_callee_save_regs) * 4
+ TCG_STATIC_CALL_ARGS_SIZE; VAR_2 = (VAR_2 + TCG_TARGET_STACK_ALIGN - 1) &
~(TCG_TARGET_STACK_ALIGN - 1); tcg_out_addi(VAR_0, TCG_REG_SP, -VAR_2); for(VAR_1 = 0 ; VAR_1 < ARRAY_SIZE(tcg_target_callee_save_regs) ; VAR_1++) { tcg_out_st(VAR_0, TCG_TYPE_I32, tcg_target_callee_save_regs[VAR_1],
TCG_REG_SP, TCG_STATIC_CALL_ARGS_SIZE + VAR_1 * 4); } tcg_out_opc_reg(VAR_0, OPC_JR, 0, tcg_target_call_iarg_regs[1]), 0); tcg_out_mov(VAR_0, TCG_TYPE_PTR, TCG_AREG0, tcg_target_call_iarg_regs[0]); tb_ret_addr = VAR_0->code_ptr; for(VAR_1 = 0 ; VAR_1 < ARRAY_SIZE(tcg_target_callee_save_regs) ; VAR_1++) { tcg_out_ld(VAR_0, TCG_TYPE_I32, tcg_target_callee_save_regs[VAR_1],
TCG_REG_SP, TCG_STATIC_CALL_ARGS_SIZE + VAR_1 * 4); } tcg_out_opc_reg(VAR_0, OPC_JR, 0, TCG_REG_RA, 0); tcg_out_addi(VAR_0, TCG_REG_SP, VAR_2); }