static void smbios_encode_uuid(struct smbios_uuid *uuid, const uint8_t *buf)

{

    memcpy(uuid, buf, 16);

    if (smbios_uuid_encoded) {

        uuid->time_low = bswap32(uuid->time_low);

        uuid->time_mid = bswap16(uuid->time_mid);

        uuid->time_hi_and_version = bswap16(uuid->time_hi_and_version);

    }

}

static void smbios_encode_uuid(struct smbios_uuid *uuid, const uint8_t *buf)

{

    memcpy(uuid, buf, 16);

    if (smbios_uuid_encoded) {

        uuid->time_low = bswap32(uuid->time_low);

        uuid->time_mid = bswap16(uuid->time_mid);

        uuid->time_hi_and_version = bswap16(uuid->time_hi_and_version);

    }

}

static void FUNC_0(struct smbios_uuid *VAR_0, const uint8_t *VAR_1)

{

    memcpy(VAR_0, VAR_1, 16);

    if (smbios_uuid_encoded) {

        VAR_0->time_low = bswap32(VAR_0->time_low);

        VAR_0->time_mid = bswap16(VAR_0->time_mid);

        VAR_0->time_hi_and_version = bswap16(VAR_0->time_hi_and_version);

    }

}

static void FUNC_0(struct smbios_uuid *VAR_0, const uint8_t *VAR_1)
{ memcpy(VAR_0, VAR_1, 16); if (smbios_uuid_encoded) { VAR_0->time_low = bswap32(VAR_0->time_low); VAR_0->time_mid = bswap16(VAR_0->time_mid); VAR_0->time_hi_and_version = bswap16(VAR_0->time_hi_and_version); } }