static inline void init_thread(struct target_pt_regs *_regs, struct image_info *infop)

{

    _regs->gpr[1] = infop->start_stack;

#if defined(TARGET_PPC64) && !defined(TARGET_ABI32)

    if (get_ppc64_abi(infop) < 2) {

        _regs->gpr[2] = ldq_raw(infop->entry + 8) + infop->load_bias;

        infop->entry = ldq_raw(infop->entry) + infop->load_bias;

    } else {

        _regs->gpr[12] = infop->entry;  /* r12 set to global entry address */

    }

#endif

    _regs->nip = infop->entry;

}

static inline void init_thread(struct target_pt_regs *_regs, struct image_info *infop)

{

    _regs->gpr[1] = infop->start_stack;

#if defined(TARGET_PPC64) && !defined(TARGET_ABI32)

    if (get_ppc64_abi(infop) < 2) {

        _regs->gpr[2] = ldq_raw(infop->entry + 8) + infop->load_bias;

        infop->entry = ldq_raw(infop->entry) + infop->load_bias;

    } else {

        _regs->gpr[12] = infop->entry;  

    }

#endif

    _regs->nip = infop->entry;

}

        _regs->gpr[2] = ldq_raw(infop->entry + 8) + infop->load_bias;         infop->entry = ldq_raw(infop->entry) + infop->load_bias;
static inline void FUNC_0(struct target_pt_regs *VAR_0, struct image_info *VAR_1)

{

    VAR_0->gpr[1] = VAR_1->start_stack;

#if defined(TARGET_PPC64) && !defined(TARGET_ABI32)

    if (get_ppc64_abi(VAR_1) < 2) {

        VAR_0->gpr[2] = ldq_raw(VAR_1->entry + 8) + VAR_1->load_bias;

        VAR_1->entry = ldq_raw(VAR_1->entry) + VAR_1->load_bias;

    } else {

        VAR_0->gpr[12] = VAR_1->entry;  

    }

#endif

    VAR_0->nip = VAR_1->entry;

}

static inline void FUNC_0(struct target_pt_regs *VAR_0, struct image_info *VAR_1)
{ VAR_0->gpr[1] = VAR_1->start_stack; #if defined(TARGET_PPC64) && !defined(TARGET_ABI32)
if (get_ppc64_abi(VAR_1) < 2) { VAR_0->gpr[2] = ldq_raw(VAR_1->entry + 8) + VAR_1->load_bias; VAR_1->entry = ldq_raw(VAR_1->entry) + VAR_1->load_bias; } else { VAR_0->gpr[12] = VAR_1->entry; } #endif
VAR_0->nip = VAR_1->entry; }