Fix aliasing violations

Fix violations of strict aliasing rules

Signed-off-by: kecinzer <kecinzer@gmail.com>
Bring profiles from CM to AOKPK

Port of CM profiles

Signed-off-by: kecinzer <kecinzer@gmail.com>