I would lean towards Yamamoto. Fire is Wood's natural weakness and Yamamoto has the most powerful Fire-Type Zanpakuto in SS. Once he goes bankai, it's pretty much a done deal. Plus Yamamoto's attacks have a Wide AoE, there won't really be anywhere for Hashirama to hide.
In conclusion, it'd be a good fight but Yamamoto will win in the end.