No idea on implementation, good point that it's possibly reused code from macOS. But if various iOS apps have stable SMB clients, surely Apple can afford one? There's a possible business conflict between Apple's high prices for internal flash storage and their support for external storage.