static int acpi_pcihp_get_bsel(PCIBus *bus)

{

    QObject *o = object_property_get_qobject(OBJECT(bus),

                                             ACPI_PCIHP_PROP_BSEL, NULL);

    int64_t bsel = -1;

    if (o) {

        bsel = qint_get_int(qobject_to_qint(o));

    }

    if (bsel < 0) {

        return -1;

    }

    return bsel;

}

static int acpi_pcihp_get_bsel(PCIBus *bus)

{

    QObject *o = object_property_get_qobject(OBJECT(bus),

                                             ACPI_PCIHP_PROP_BSEL, NULL);

    int64_t bsel = -1;

    if (o) {

        bsel = qint_get_int(qobject_to_qint(o));

    }

    if (bsel < 0) {

        return -1;

    }

    return bsel;

}

    QObject *o = object_property_get_qobject(OBJECT(bus),                                              ACPI_PCIHP_PROP_BSEL, NULL);     int64_t bsel = -1;     if (o) {         bsel = qint_get_int(qobject_to_qint(o));     if (bsel < 0) {     return bsel;
static int FUNC_0(PCIBus *VAR_0)

{

    QObject *o = object_property_get_qobject(OBJECT(VAR_0),

                                             ACPI_PCIHP_PROP_BSEL, NULL);

    int64_t bsel = -1;

    if (o) {

        bsel = qint_get_int(qobject_to_qint(o));

    }

    if (bsel < 0) {

        return -1;

    }

    return bsel;

}

static int FUNC_0(PCIBus *VAR_0)
{ QObject *o = object_property_get_qobject(OBJECT(VAR_0),
ACPI_PCIHP_PROP_BSEL, NULL); int64_t bsel = -1; if (o) { bsel = qint_get_int(qobject_to_qint(o)); } if (bsel < 0) { return -1; } return bsel; }