Surgery

After fracture of middle cranial foramen there is epiphora this is due to damage of: