/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.gateway.common.service.PublishedService
 *  com.l7tech.util.Functions$UnaryVoid
 */
package com.l7tech.server;

import com.l7tech.gateway.common.service.PublishedService;
import com.l7tech.server.WsdlProxyServlet;
import com.l7tech.util.Functions;
import java.util.logging.Level;

class bb
implements Functions.UnaryVoid<Exception> {
    final PublishedService val$svc;
    final WsdlProxyServlet this$0;
    private static final String[] a;

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    bb(WsdlProxyServlet wsdlProxyServlet, PublishedService publishedService) {
        this.this$0 = wsdlProxyServlet;
        this.val$svc = publishedService;
    }

    public void call(Exception exception) {
        String[] stringArray = a;
        this.this$0.logger.log(Level.WARNING, stringArray[0] + this.val$svc.getId() + stringArray[1], exception);
    }

    /*
     * Enabled aggressive block sorting
     */
    static {
        String[] stringArray = new String[2];
        int n2 = 0;
        String string = "\\1\u0018awv+|4\u0018gq?7~c=]A\u001ayl1\u0006.c9+90\u000f|s?:|cM\u0003>mD";
        int n3 = "\\1\u0018awv+|4\u0018gq?7~c=]A\u001ayl1\u0006.c9+90\u000f|s?:|cM\u0003>mD".length();
        int n4 = 38;
        int n5 = -1;
        while (true) {
            int n6 = ++n5;
            stringArray[n2++] = bb.a(46, bb.a(string.substring(n6, n6 + n4)));
            if ((n5 += n4) >= n3) {
                a = stringArray;
                return;
            }
            n4 = string.charAt(n5);
        }
    }

    private static char[] a(String string) {
        char[] cArray = string.toCharArray();
        if (cArray.length < 2) {
            cArray = cArray;
            cArray[0] = (char)(cArray[0] ^ 0x77);
        }
        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 -> 55;
                    case 1 -> 109;
                    case 2 -> 68;
                    case 3 -> 32;
                    case 4 -> 43;
                    case 5 -> 120;
                    default -> 119;
                })));
                ++n3;
                n4 = n4;
            } while (n4 > n3);
        }
        return new String(cArray2).intern();
    }
}

