/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.message.HttpRequestKnobAdapter
 */
package com.l7tech.server.policy.bundle.ssgman.wsman;

import com.l7tech.message.HttpRequestKnobAdapter;
import com.l7tech.server.policy.bundle.ssgman.wsman.WsmanInvoker;

class b
extends HttpRequestKnobAdapter {
    private static final String[] b;

    b(WsmanInvoker wsmanInvoker) {
    }

    public String getRemoteAddress() {
        return b[1];
    }

    public String getRequestUrl() {
        return b[0];
    }

    /*
     * Enabled aggressive block sorting
     */
    static {
        String[] stringArray = new String[2];
        int n2 = 0;
        String string = "C;W\f`~AG @\u001d69\u0001X;\u0019Dji^\u00048P\u0011;?\t\u001a}\u0014Rj\u007f^\u0005~";
        int n3 = "C;W\f`~AG @\u001d69\u0001X;\u0019Dji^\u00048P\u0011;?\t\u001a}\u0014Rj\u007f^\u0005~".length();
        int n4 = 27;
        int n5 = -1;
        while (true) {
            int n6 = ++n5;
            stringArray[n2++] = com.l7tech.server.policy.bundle.ssgman.wsman.b.a(23, com.l7tech.server.policy.bundle.ssgman.wsman.b.a(string.substring(n6, n6 + n4)));
            if ((n5 += n4) >= n3) {
                b = 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] ^ 0x79);
        }
        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 -> 60;
                    case 1 -> 88;
                    case 2 -> 52;
                    case 3 -> 107;
                    case 4 -> 77;
                    case 5 -> 70;
                    default -> 121;
                })));
                ++n3;
                n4 = n4;
            } while (n4 > n3);
        }
        return new String(cArray2).intern();
    }
}

