void restore_boot_order(void *opaque)

{

    char *normal_boot_order = opaque;

    static int first = 1;



    /* Restore boot order and remove ourselves after the first boot */

    if (first) {

        first = 0;

        return;

    }



    qemu_boot_set(normal_boot_order, NULL);



    qemu_unregister_reset(restore_boot_order, normal_boot_order);

    g_free(normal_boot_order);

}

void restore_boot_order(void *opaque)

{

    char *normal_boot_order = opaque;

    static int first = 1;



    

    if (first) {

        first = 0;

        return;

    }



    qemu_boot_set(normal_boot_order, NULL);



    qemu_unregister_reset(restore_boot_order, normal_boot_order);

    g_free(normal_boot_order);

}

    qemu_boot_set(normal_boot_order, NULL);
void FUNC_0(void *VAR_0)

{

    char *VAR_1 = VAR_0;

    static int VAR_2 = 1;



    

    if (VAR_2) {

        VAR_2 = 0;

        return;

    }



    qemu_boot_set(VAR_1, NULL);



    qemu_unregister_reset(FUNC_0, VAR_1);

    g_free(VAR_1);

}

void FUNC_0(void *VAR_0)
{ char *VAR_1 = VAR_0; static int VAR_2 = 1; if (VAR_2) { VAR_2 = 0; return; } qemu_boot_set(VAR_1, NULL); qemu_unregister_reset(FUNC_0, VAR_1); g_free(VAR_1); }