static void free_note_info(struct elf_note_info *info)

{

    struct elf_thread_status *ets;



    while (!TAILQ_EMPTY(&info->thread_list)) {

        ets = TAILQ_FIRST(&info->thread_list);

        TAILQ_REMOVE(&info->thread_list, ets, ets_link);

        qemu_free(ets);

    }



    qemu_free(info->prstatus);

    qemu_free(info->psinfo);

    qemu_free(info->notes);

}

static void free_note_info(struct elf_note_info *info)

{

    struct elf_thread_status *ets;



    while (!TAILQ_EMPTY(&info->thread_list)) {

        ets = TAILQ_FIRST(&info->thread_list);

        TAILQ_REMOVE(&info->thread_list, ets, ets_link);

        qemu_free(ets);

    }



    qemu_free(info->prstatus);

    qemu_free(info->psinfo);

    qemu_free(info->notes);

}

static void FUNC_0(struct elf_note_info *VAR_0)

{

    struct elf_thread_status *VAR_1;



    while (!TAILQ_EMPTY(&VAR_0->thread_list)) {

        VAR_1 = TAILQ_FIRST(&VAR_0->thread_list);

        TAILQ_REMOVE(&VAR_0->thread_list, VAR_1, ets_link);

        qemu_free(VAR_1);

    }



    qemu_free(VAR_0->prstatus);

    qemu_free(VAR_0->psinfo);

    qemu_free(VAR_0->notes);

}

static void FUNC_0(struct elf_note_info *VAR_0)
{ struct elf_thread_status *VAR_1; while (!TAILQ_EMPTY(&VAR_0->thread_list)) { VAR_1 = TAILQ_FIRST(&VAR_0->thread_list); TAILQ_REMOVE(&VAR_0->thread_list, VAR_1, ets_link); qemu_free(VAR_1); } qemu_free(VAR_0->prstatus); qemu_free(VAR_0->psinfo); qemu_free(VAR_0->notes); }