int net_handle_fd_param(Monitor *mon, const char *param)

{

    if (!qemu_isdigit(param[0])) {

        int fd;



        fd = monitor_get_fd(mon, param);

        if (fd == -1) {

            error_report("No file descriptor named %s found", param);

            return -1;

        }



        return fd;

    } else {

        return strtol(param, NULL, 0);

    }

}

int net_handle_fd_param(Monitor *mon, const char *param)

{

    if (!qemu_isdigit(param[0])) {

        int fd;



        fd = monitor_get_fd(mon, param);

        if (fd == -1) {

            error_report("No file descriptor named %s found", param);

            return -1;

        }



        return fd;

    } else {

        return strtol(param, NULL, 0);

    }

}

    if (!qemu_isdigit(param[0])) {         int fd;         return fd;         return strtol(param, NULL, 0);
int FUNC_0(Monitor *VAR_0, const char *VAR_1)

{

    if (!qemu_isdigit(VAR_1[0])) {

        int VAR_2;



        VAR_2 = monitor_get_fd(VAR_0, VAR_1);

        if (VAR_2 == -1) {

            error_report("No file descriptor named %s found", VAR_1);

            return -1;

        }



        return VAR_2;

    } else {

        return strtol(VAR_1, NULL, 0);

    }

}

int FUNC_0(Monitor *VAR_0, const char *VAR_1)
{ if (!qemu_isdigit(VAR_1[0])) { int VAR_2; VAR_2 = monitor_get_fd(VAR_0, VAR_1); if (VAR_2 == -1) { error_report("No file descriptor named %s found", VAR_1); return -1; } return VAR_2; } else { return strtol(VAR_1, NULL, 0); } }