static void nbd_client_close(NBDClient *client)

{

    qemu_set_fd_handler2(client->sock, NULL, NULL, NULL, NULL);

    close(client->sock);

    client->sock = -1;

    if (client->close) {

        client->close(client);

    }

    nbd_client_put(client);

}

static void nbd_client_close(NBDClient *client)

{

    qemu_set_fd_handler2(client->sock, NULL, NULL, NULL, NULL);

    close(client->sock);

    client->sock = -1;

    if (client->close) {

        client->close(client);

    }

    nbd_client_put(client);

}

static void nbd_client_close(NBDClient *client)     qemu_set_fd_handler2(client->sock, NULL, NULL, NULL, NULL);     close(client->sock);     client->sock = -1;     nbd_client_put(client);
static void FUNC_0(NBDClient *VAR_0)

{

    qemu_set_fd_handler2(VAR_0->sock, NULL, NULL, NULL, NULL);

    close(VAR_0->sock);

    VAR_0->sock = -1;

    if (VAR_0->close) {

        VAR_0->close(VAR_0);

    }

    nbd_client_put(VAR_0);

}

static void FUNC_0(NBDClient *VAR_0)
{ qemu_set_fd_handler2(VAR_0->sock, NULL, NULL, NULL, NULL); close(VAR_0->sock); VAR_0->sock = -1; if (VAR_0->close) { VAR_0->close(VAR_0); } nbd_client_put(VAR_0); }