static void patch_call(VAPICROMState *s, X86CPU *cpu, target_ulong ip,

                       uint32_t target)

{

    uint32_t offset;



    offset = cpu_to_le32(target - ip - 5);

    patch_byte(cpu, ip, 0xe8); /* call near */

    cpu_memory_rw_debug(CPU(cpu), ip + 1, (void *)&offset, sizeof(offset), 1);

}

static void patch_call(VAPICROMState *s, X86CPU *cpu, target_ulong ip,

                       uint32_t target)

{

    uint32_t offset;



    offset = cpu_to_le32(target - ip - 5);

    patch_byte(cpu, ip, 0xe8); 

    cpu_memory_rw_debug(CPU(cpu), ip + 1, (void *)&offset, sizeof(offset), 1);

}

static void patch_call(VAPICROMState *s, X86CPU *cpu, target_ulong ip,                        uint32_t target)
static void FUNC_0(VAPICROMState *VAR_0, X86CPU *VAR_1, target_ulong VAR_2,

                       uint32_t VAR_3)

{

    uint32_t offset;



    offset = cpu_to_le32(VAR_3 - VAR_2 - 5);

    patch_byte(VAR_1, VAR_2, 0xe8); 

    cpu_memory_rw_debug(CPU(VAR_1), VAR_2 + 1, (void *)&offset, sizeof(offset), 1);

}

static void FUNC_0(VAPICROMState *VAR_0, X86CPU *VAR_1, target_ulong VAR_2,
uint32_t VAR_3)
{ uint32_t offset; offset = cpu_to_le32(VAR_3 - VAR_2 - 5); patch_byte(VAR_1, VAR_2, 0xe8); cpu_memory_rw_debug(CPU(VAR_1), VAR_2 + 1, (void *)&offset, sizeof(offset), 1); }