static void arm_gic_realize(DeviceState *dev, Error **errp)

{

    /* Device instance realize function for the GIC sysbus device */

    GICv3State *s = ARM_GICV3(dev);

    ARMGICv3Class *agc = ARM_GICV3_GET_CLASS(s);

    Error *local_err = NULL;



    agc->parent_realize(dev, &local_err);

    if (local_err) {

        error_propagate(errp, local_err);

        return;

    }



    gicv3_init_irqs_and_mmio(s, gicv3_set_irq, NULL);

}

static void arm_gic_realize(DeviceState *dev, Error **errp)

{

    

    GICv3State *s = ARM_GICV3(dev);

    ARMGICv3Class *agc = ARM_GICV3_GET_CLASS(s);

    Error *local_err = NULL;



    agc->parent_realize(dev, &local_err);

    if (local_err) {

        error_propagate(errp, local_err);

        return;

    }



    gicv3_init_irqs_and_mmio(s, gicv3_set_irq, NULL);

}

static void FUNC_0(DeviceState *VAR_0, Error **VAR_1)

{

    

    GICv3State *s = ARM_GICV3(VAR_0);

    ARMGICv3Class *agc = ARM_GICV3_GET_CLASS(s);

    Error *local_err = NULL;



    agc->parent_realize(VAR_0, &local_err);

    if (local_err) {

        error_propagate(VAR_1, local_err);

        return;

    }



    gicv3_init_irqs_and_mmio(s, gicv3_set_irq, NULL);

}

static void FUNC_0(DeviceState *VAR_0, Error **VAR_1)
{ GICv3State *s = ARM_GICV3(VAR_0); ARMGICv3Class *agc = ARM_GICV3_GET_CLASS(s); Error *local_err = NULL; agc->parent_realize(VAR_0, &local_err); if (local_err) { error_propagate(VAR_1, local_err); return; } gicv3_init_irqs_and_mmio(s, gicv3_set_irq, NULL); }