/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.policy.InvalidPolicyException
 *  com.l7tech.policy.Policy
 */
package com.l7tech.server.policy;

import com.l7tech.policy.InvalidPolicyException;
import com.l7tech.policy.Policy;
import com.l7tech.server.policy.PolicyCacheImpl;
import java.util.function.Supplier;

class l
implements Supplier<InvalidPolicyException> {
    final Policy val$thisPolicy;
    private static final String a = l.a(88, l.a("[|8C$\blsp!X$M\u0005|`>H2\\Lr}mZ)\\M=}\"\r\u0010GItp4j\u0015aa=z#\r\u0010GItp4\rc"));

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    l(PolicyCacheImpl policyCacheImpl, Policy policy) {
        this.val$thisPolicy = policy;
    }

    @Override
    public InvalidPolicyException get() {
        return new InvalidPolicyException(a + this.val$thisPolicy.getGuid());
    }

    private static char[] a(String string) {
        char[] cArray = string.toCharArray();
        if (cArray.length < 2) {
            cArray = cArray;
            cArray[0] = (char)(cArray[0] ^ 0x7D);
        }
        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 -> 69;
                    case 1 -> 75;
                    case 2 -> 21;
                    case 3 -> 117;
                    case 4 -> 24;
                    case 5 -> 112;
                    default -> 125;
                })));
                ++n3;
                n4 = n4;
            } while (n4 > n3);
        }
        return new String(cArray2).intern();
    }
}

