My opinion on the matter, based on the materials I've read, is as follows: Soviet entry made Japanese surrender inevitable, the atomic bomb gave the Japanese high command the necessary excuse to do it without throwing away the lives of hundreds of thousands of their soldiers and civilians in an insane attempt to have the Japanese Empire die with honor.
And yes, enough of the leadership was just that batshit insane. You know, kind of like the German leadership who didn't surrender until after their leader shot himself just before the Russians finished overrunning their capital.
Also note that American projections as to Japanese resistance on Kyushu were based on the experience of Okinawa, where by the end of the campaign almost the entire Japanese military force was dead and a significant percentage of the civilian population had gone with it.
And that the US overestimated just how much longer Japan had before it starved to death, especially if the switch to demolishing the rail network had gone through. As it was, Japan was apparently on the edge of a catastrophic famine throughout the first six months or so of the occupation.
Also, you can safely assume that in any scenario where Japan resists for any appreciable length of time beyond where they did historically, most or all of the Allied POWs they held would be dead, along with however many Chinese, Vietnamese, Indonesians, Thais, Koreans, Malays and members of any other group under Japanese occupation would have died from starvation and from deliberate atrocities committed by the IJA before their eviction from their conquests.
So do those people have less right to survive than the citizens of Hiroshima and Nagasaki? Because once you're in a war, the only option you have that even approaches a moral one is to take whatever appears to be the most efficient path to minimize the number of people you kill, maim or brutalize before it ends. Any other discussion of morality in war beyond that is just rearranging deck chairs on the Titanic.