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

class as
extends TransactionCallbackWithoutResult {
    final h this$1;
    private static final String a = as.a(92, as.a("4\u000f2-i\u001by\u0019\u0018#)rU}Q\r5 wRi\u0019\u0018$b~U~\u0001\u0012),oH:\u0017\u00122bwTy\u0010\u0011`!sZt\u0016\u00183"));

    as(h h2) {
        this.this$1 = h2;
    }

    protected void doInTransactionWithoutResult(TransactionStatus transactionStatus) {
        try {
            this.this$1.this$0.c.b();
            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] ^ 0x46);
        }
        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 -> 45;
                    case 1 -> 33;
                    case 2 -> 28;
                    case 3 -> 30;
                    case 4 -> 71;
                    case 5 -> 103;
                    default -> 70;
                })));
                ++n3;
                n4 = n4;
            } while (n4 > n3);
        }
        return new String(cArray2).intern();
    }
}

