static void qbus_print(Monitor *mon, BusState *bus, int indent)

{

    struct DeviceState *dev;



    qdev_printf("bus: %s\n", bus->name);

    indent += 2;

    qdev_printf("type %s\n", bus_type_names[bus->type]);

    LIST_FOREACH(dev, &bus->children, sibling) {

        qdev_print(mon, dev, indent);

    }

}

static void qbus_print(Monitor *mon, BusState *bus, int indent)

{

    struct DeviceState *dev;



    qdev_printf("bus: %s\n", bus->name);

    indent += 2;

    qdev_printf("type %s\n", bus_type_names[bus->type]);

    LIST_FOREACH(dev, &bus->children, sibling) {

        qdev_print(mon, dev, indent);

    }

}

static void FUNC_0(Monitor *VAR_0, BusState *VAR_1, int VAR_2)

{

    struct DeviceState *VAR_3;



    qdev_printf("VAR_1: %s\n", VAR_1->name);

    VAR_2 += 2;

    qdev_printf("type %s\n", bus_type_names[VAR_1->type]);

    LIST_FOREACH(VAR_3, &VAR_1->children, sibling) {

        qdev_print(VAR_0, VAR_3, VAR_2);

    }

}

static void FUNC_0(Monitor *VAR_0, BusState *VAR_1, int VAR_2)
{ struct DeviceState *VAR_3; qdev_printf("VAR_1: %s\n", VAR_1->name); VAR_2 += 2; qdev_printf("type %s\n", bus_type_names[VAR_1->type]); LIST_FOREACH(VAR_3, &VAR_1->children, sibling) { qdev_print(VAR_0, VAR_3, VAR_2); } }