private void method_5(Class122 class122_1, Class122 class122_2) { if ((class122_1.method_12() == null) || (class122_2.method_12() == null)) { throw new ApplicationException("Can't swap root nodes."); } int num = class122_1.method_0(); class122_1.method_1(class122_2.method_0()); class122_2.method_1(num); Class122 class2 = class122_1.method_12().method_8(); Class122 class3 = class122_2.method_12().method_8(); if (class2 == class122_1) { class122_1.method_12().method_9(class122_2); } else { class122_1.method_12().method_11(class122_2); } if (class3 == class122_2) { class122_2.method_12().method_9(class122_1); } else { class122_2.method_12().method_11(class122_1); } Class122 class4 = class122_1.method_12(); class122_1.method_13(class122_2.method_12()); class122_2.method_13(class4); }