/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.objectmodel.ObjectModelException
 *  org.springframework.transaction.TransactionStatus
 *  org.springframework.transaction.support.TransactionCallbackWithoutResult
 */
package com.l7tech.server.uddi;

import com.l7tech.objectmodel.ObjectModelException;
import com.l7tech.server.uddi.UDDICoordinator;
import com.l7tech.server.uddi.g;
import java.util.logging.Level;
import org.springframework.transaction.TransactionStatus;
import org.springframework.transaction.support.TransactionCallbackWithoutResult;

class ar
extends TransactionCallbackWithoutResult {
    final g this$1;
    private static final String a = ar.a(53, ar.a("!FI%!HN\u0014PZ>:\u0006\\DVN9:\u0006^\u0017G\u001b96\u001aM\rW^9s\u001bO\u0005@N9}"));

    ar(g g2) {
        this.this$1 = g2;
    }

    protected void doInTransactionWithoutResult(TransactionStatus transactionStatus) {
        try {
            this.this$1.this$0.c.c();
        }
        catch (ObjectModelException objectModelException) {
            UDDICoordinator.a.log(Level.WARNING, a, objectModelException);
            transactionStatus.setRollbackOnly();
        }
    }

    private static char[] a(String string) {
        char[] cArray = string.toCharArray();
        if (cArray.length < 2) {
            cArray = cArray;
            cArray[0] = (char)(cArray[0] ^ 0xE);
        }
        return cArray;
    }

    /*
     * Handled impossible loop by duplicating code
     * Enabled aggressive block sorting
     */
    private static String a(int n2, char[] cArray) {
        char[] cArray2;
        block11: {
            int n3;
            int n4;
            int n5;
            block10: {
                n5 = n2;
                cArray2 = cArray;
                n4 = cArray.length;
                n3 = 0;
                if (!true) break block10;
                n4 = n4;
                if (n4 <= n3) break block11;
            }
            do {
                n5 = n5;
                cArray2 = cArray2;
                int n6 = n3;
                cArray2[n6] = (char)(cArray2[n6] ^ (n5 ^ (switch (n3 % 7) {
                    case 0 -> 81;
                    case 1 -> 1;
                    case 2 -> 14;
                    case 3 -> 127;
                    case 4 -> 102;
                    case 5 -> 93;
                    default -> 14;
                })));
                ++n3;
                n4 = n4;
            } while (n4 > n3);
        }
        return new String(cArray2).intern();
    }
}

