/*
 * 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.i;
import java.util.logging.Level;
import org.springframework.transaction.TransactionStatus;
import org.springframework.transaction.support.TransactionCallbackWithoutResult;

class at
extends TransactionCallbackWithoutResult {
    final i this$1;
    private static final String a = at.a(83, at.a("\u0017;\u0006Y^n9\"-\u0015BE +r9\u0006YT')6i\u0016C_'\"7:\u0007\u0016_+>$ \u0017S_n?&(\u0000C_`"));

    at(i i2) {
        this.this$1 = i2;
    }

    protected void doInTransactionWithoutResult(TransactionStatus transactionStatus) {
        try {
            this.this$1.this$0.c.a();
        }
        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] ^ 0x1F);
        }
        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 -> 1;
                    case 1 -> 26;
                    case 2 -> 39;
                    case 3 -> 101;
                    case 4 -> 127;
                    case 5 -> 29;
                    default -> 31;
                })));
                ++n3;
                n4 = n4;
            } while (n4 > n3);
        }
        return new String(cArray2).intern();
    }
}

