The verse can be analysed through the traditional elements of simile:
ElementIn this verseThing describedTeeth revealed by a smileComparison imagesPearls, hail, white flowersShared featureWhiteness, shine, harmonious arrangementMarkerKaʾannamā (“as though”)
Aw (“or”) introduces alternative visual comparisons; it is not a statement that the teeth literally consist of these substances.