/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.gateway.common.audit.Audit
 *  com.l7tech.gateway.common.service.PublishedService
 *  com.l7tech.message.Message
 *  com.l7tech.policy.assertion.AssertionStatus
 *  com.l7tech.policy.assertion.MessageTargetable
 *  com.l7tech.policy.assertion.RoutingStatus
 *  com.l7tech.policy.variable.NoSuchVariableException
 *  com.l7tech.policy.variable.VariableNotSettableException
 *  com.l7tech.util.InvalidDocumentFormatException
 *  com.l7tech.util.Pair
 *  javax.wsdl.Binding
 *  javax.wsdl.Operation
 *  javax.wsdl.WSDLException
 *  org.jetbrains.annotations.NotNull
 *  org.jetbrains.annotations.Nullable
 */
package com.l7tech.server.message;

import com.l7tech.gateway.common.audit.Audit;
import com.l7tech.gateway.common.service.PublishedService;
import com.l7tech.message.Message;
import com.l7tech.policy.assertion.AssertionStatus;
import com.l7tech.policy.assertion.MessageTargetable;
import com.l7tech.policy.assertion.RoutingStatus;
import com.l7tech.policy.variable.NoSuchVariableException;
import com.l7tech.policy.variable.VariableNotSettableException;
import com.l7tech.server.message.AssertionTraceListener;
import com.l7tech.server.message.HasOriginalContext;
import com.l7tech.server.message.HasOutputVariables;
import com.l7tech.server.message.PolicyEnforcementContext;
import com.l7tech.server.message.PolicyEnforcementContextWrapper;
import com.l7tech.server.message.ShadowsParentVariables;
import com.l7tech.server.message.metrics.GatewayMetricsPublisher;
import com.l7tech.server.message.metrics.GatewayMetricsSupport;
import com.l7tech.server.message.metrics.GatewayMetricsUtils;
import com.l7tech.server.message.metrics.LatencyMetrics;
import com.l7tech.server.policy.PolicyMetadata;
import com.l7tech.server.policy.assertion.RoutingResultListener;
import com.l7tech.server.policy.assertion.ServerAssertion;
import com.l7tech.server.stepdebug.DebugContext;
import com.l7tech.util.InvalidDocumentFormatException;
import com.l7tech.util.Pair;
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.Set;
import java.util.TreeMap;
import java.util.TreeSet;
import javax.wsdl.Binding;
import javax.wsdl.Operation;
import javax.wsdl.WSDLException;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.xml.sax.SAXException;

/*
 * Exception performing whole class analysis ignored.
 */
class h
extends PolicyEnforcementContextWrapper
implements HasOriginalContext,
ShadowsParentVariables,
HasOutputVariables,
GatewayMetricsSupport {
    protected final PolicyEnforcementContext context;
    protected final PolicyEnforcementContext parentContext;
    private final Set<String> b = new HashSet<String>();
    private final TreeSet<String> c = new TreeSet();
    private final TreeSet<String> d = new TreeSet(String.CASE_INSENSITIVE_ORDER);
    private DebugContext e = null;
    @Nullable
    private GatewayMetricsPublisher f;
    private static final String[] h;

    @Override
    public void addSeenAssertionStatus(AssertionStatus assertionStatus) {
        this.context.addSeenAssertionStatus(assertionStatus);
    }

    @Override
    public Set<AssertionStatus> getSeenAssertionStatus() {
        return this.context.getSeenAssertionStatus();
    }

    @Override
    public PublishedService getService() {
        PublishedService publishedService = this.context.getService();
        if (publishedService == null) {
            publishedService = super.getService();
        }
        return publishedService;
    }

    @Override
    public void setService(PublishedService publishedService) {
        this.context.setService(publishedService);
    }

    @Override
    public Pair<Binding, Operation> getBindingAndOperation() throws IOException, SAXException, WSDLException, InvalidDocumentFormatException {
        return this.parentContext.getBindingAndOperation();
    }

    @Override
    public List<String> getIncrementedCounters() {
        return this.context.getIncrementedCounters();
    }

    /*
     * Exception decompiling
     */
    @Override
    public Message getTargetMessage(MessageTargetable var1_1) throws NoSuchVariableException {
        /*
         * This method has failed to decompile.  When submitting a bug report, please provide this stack trace, and (if you hold appropriate legal rights) the relevant class file.
         * 
         * org.benf.cfr.reader.util.ConfusedCFRException: Tried to end blocks [0[TRYBLOCK]], but top level block is 3[SWITCH]
         *     at org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.processEndingBlocks(Op04StructuredStatement.java:435)
         *     at org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.buildNestedBlocks(Op04StructuredStatement.java:484)
         *     at org.benf.cfr.reader.bytecode.analysis.opgraph.Op03SimpleStatement.createInitialStructuredBlock(Op03SimpleStatement.java:736)
         *     at org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisInner(CodeAnalyser.java:850)
         *     at org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisOrWrapFail(CodeAnalyser.java:278)
         *     at org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysis(CodeAnalyser.java:201)
         *     at org.benf.cfr.reader.entities.attributes.AttributeCode.analyse(AttributeCode.java:94)
         *     at org.benf.cfr.reader.entities.Method.analyse(Method.java:531)
         *     at org.benf.cfr.reader.entities.ClassFile.analyseMid(ClassFile.java:1055)
         *     at org.benf.cfr.reader.entities.ClassFile.analyseTop(ClassFile.java:942)
         *     at org.benf.cfr.reader.Driver.doJarVersionTypes(Driver.java:257)
         *     at org.benf.cfr.reader.Driver.doJar(Driver.java:139)
         *     at org.benf.cfr.reader.CfrDriverImpl.analyse(CfrDriverImpl.java:76)
         *     at org.benf.cfr.reader.Main.main(Main.java:54)
         */
        throw new IllegalStateException("Decompilation failed");
    }

    /*
     * Exception decompiling
     */
    @Override
    public Message getTargetMessage(MessageTargetable var1_1, boolean var2_2) throws NoSuchVariableException {
        /*
         * This method has failed to decompile.  When submitting a bug report, please provide this stack trace, and (if you hold appropriate legal rights) the relevant class file.
         * 
         * org.benf.cfr.reader.util.ConfusedCFRException: Tried to end blocks [0[TRYBLOCK]], but top level block is 3[SWITCH]
         *     at org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.processEndingBlocks(Op04StructuredStatement.java:435)
         *     at org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.buildNestedBlocks(Op04StructuredStatement.java:484)
         *     at org.benf.cfr.reader.bytecode.analysis.opgraph.Op03SimpleStatement.createInitialStructuredBlock(Op03SimpleStatement.java:736)
         *     at org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisInner(CodeAnalyser.java:850)
         *     at org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisOrWrapFail(CodeAnalyser.java:278)
         *     at org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysis(CodeAnalyser.java:201)
         *     at org.benf.cfr.reader.entities.attributes.AttributeCode.analyse(AttributeCode.java:94)
         *     at org.benf.cfr.reader.entities.Method.analyse(Method.java:531)
         *     at org.benf.cfr.reader.entities.ClassFile.analyseMid(ClassFile.java:1055)
         *     at org.benf.cfr.reader.entities.ClassFile.analyseTop(ClassFile.java:942)
         *     at org.benf.cfr.reader.Driver.doJarVersionTypes(Driver.java:257)
         *     at org.benf.cfr.reader.Driver.doJar(Driver.java:139)
         *     at org.benf.cfr.reader.CfrDriverImpl.analyse(CfrDriverImpl.java:76)
         *     at org.benf.cfr.reader.Main.main(Main.java:54)
         */
        throw new IllegalStateException("Decompilation failed");
    }

    /*
     * Exception decompiling
     */
    @Override
    public Message getOrCreateTargetMessage(MessageTargetable var1_1, boolean var2_2) throws NoSuchVariableException, VariableNotSettableException {
        /*
         * This method has failed to decompile.  When submitting a bug report, please provide this stack trace, and (if you hold appropriate legal rights) the relevant class file.
         * 
         * org.benf.cfr.reader.util.ConfusedCFRException: Tried to end blocks [0[TRYBLOCK]], but top level block is 3[SWITCH]
         *     at org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.processEndingBlocks(Op04StructuredStatement.java:435)
         *     at org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.buildNestedBlocks(Op04StructuredStatement.java:484)
         *     at org.benf.cfr.reader.bytecode.analysis.opgraph.Op03SimpleStatement.createInitialStructuredBlock(Op03SimpleStatement.java:736)
         *     at org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisInner(CodeAnalyser.java:850)
         *     at org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisOrWrapFail(CodeAnalyser.java:278)
         *     at org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysis(CodeAnalyser.java:201)
         *     at org.benf.cfr.reader.entities.attributes.AttributeCode.analyse(AttributeCode.java:94)
         *     at org.benf.cfr.reader.entities.Method.analyse(Method.java:531)
         *     at org.benf.cfr.reader.entities.ClassFile.analyseMid(ClassFile.java:1055)
         *     at org.benf.cfr.reader.entities.ClassFile.analyseTop(ClassFile.java:942)
         *     at org.benf.cfr.reader.Driver.doJarVersionTypes(Driver.java:257)
         *     at org.benf.cfr.reader.Driver.doJar(Driver.java:139)
         *     at org.benf.cfr.reader.CfrDriverImpl.analyse(CfrDriverImpl.java:76)
         *     at org.benf.cfr.reader.Main.main(Main.java:54)
         */
        throw new IllegalStateException("Decompilation failed");
    }

    @Override
    public void setVariable(String string, Object object) throws VariableNotSettableException {
        block3: {
            block2: {
                try {
                    if (!this.c(string)) break block2;
                    super.setVariable(string, object);
                    break block3;
                }
                catch (VariableNotSettableException variableNotSettableException) {
                    throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
                }
            }
            this.context.setVariable(string, object);
        }
    }

    @Override
    public Object getVariable(String string) throws NoSuchVariableException {
        try {
            if (this.c(string)) {
                return super.getVariable(string);
            }
        }
        catch (NoSuchVariableException noSuchVariableException) {
            throw com.l7tech.server.message.h.a((Exception)((Object)noSuchVariableException));
        }
        return this.context.getVariable(string);
    }

    @Override
    public Map<String, Object> getAllVariables() {
        return this.context.getAllVariables();
    }

    @Override
    public Map<String, Object> getVariableMap(String[] stringArray, Audit audit) {
        ArrayList<String> arrayList = new ArrayList<String>();
        ArrayList<String> arrayList2 = new ArrayList<String>();
        for (String string : stringArray) {
            try {
                if (this.c(string)) {
                    arrayList2.add(string);
                    continue;
                }
            }
            catch (VariableNotSettableException variableNotSettableException) {
                throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
            }
            arrayList.add(string);
        }
        TreeMap treeMap = new TreeMap(String.CASE_INSENSITIVE_ORDER);
        treeMap.putAll(this.context.getVariableMap(arrayList.toArray(new String[arrayList.size()]), audit));
        treeMap.putAll(super.getVariableMap(arrayList2.toArray(new String[arrayList2.size()]), audit));
        return treeMap;
    }

    @Override
    public RoutingResultListener getRoutingResultListener() {
        return this.context.getRoutingResultListener();
    }

    @Override
    public void addRoutingResultListener(RoutingResultListener routingResultListener) {
        this.context.addRoutingResultListener(routingResultListener);
    }

    @Override
    public void removeRoutingResultListener(RoutingResultListener routingResultListener) {
        this.context.removeRoutingResultListener(routingResultListener);
    }

    @Override
    public RoutingStatus getRoutingStatus() {
        return this.context.getRoutingStatus();
    }

    @Override
    public void setRoutingStatus(RoutingStatus routingStatus) {
        this.context.setRoutingStatus(routingStatus);
    }

    @Override
    public boolean isPostRouting() {
        return this.context.isPostRouting();
    }

    @Override
    public void routingStarted() {
        this.context.routingStarted();
    }

    @Override
    public void routingFinished() {
        this.context.routingFinished();
    }

    @Override
    public long getRoutingStartTime() {
        return this.context.getRoutingStartTime();
    }

    @Override
    public long getRoutingEndTime() {
        return this.context.getRoutingEndTime();
    }

    @Override
    public long getRoutingTotalTime() {
        return this.context.getRoutingTotalTime();
    }

    @Override
    public URL getRoutedServiceUrl() {
        return this.context.getRoutedServiceUrl();
    }

    @Override
    public void setRoutedServiceUrl(URL uRL) {
        this.context.setRoutedServiceUrl(uRL);
    }

    @Override
    public long getStartTime() {
        return this.context.getStartTime();
    }

    @Override
    public long getEndTime() {
        return this.context.getEndTime();
    }

    @Override
    public void setEndTime() {
        this.context.setEndTime();
    }

    @Override
    public void assertionStarting(ServerAssertion serverAssertion) {
        try {
            this.context.assertionStarting(serverAssertion);
            if (this.e != null) {
                this.e.onStartAssertion(this, serverAssertion);
            }
        }
        catch (VariableNotSettableException variableNotSettableException) {
            throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
        }
    }

    @Override
    public void assertionFinished(ServerAssertion serverAssertion, AssertionStatus assertionStatus, @Nullable LatencyMetrics latencyMetrics) {
        try {
            this.context.assertionFinished(serverAssertion, assertionStatus, latencyMetrics);
            if (this.e != null) {
                this.e.onFinishAssertion(this);
            }
        }
        catch (VariableNotSettableException variableNotSettableException) {
            throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
        }
        try {
            if (latencyMetrics != null) {
                GatewayMetricsUtils.publishAssertionFinish(this, serverAssertion, latencyMetrics);
            }
        }
        catch (VariableNotSettableException variableNotSettableException) {
            throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
        }
    }

    @Override
    public List<PolicyEnforcementContext.AssertionResult> getAssertionResults() {
        return this.context.getAssertionResults();
    }

    @Override
    public boolean isPolicyExecutionAttempted() {
        return this.context.isPolicyExecutionAttempted();
    }

    @Override
    public void setPolicyExecutionAttempted(boolean bl2) {
        this.context.setPolicyExecutionAttempted(bl2);
    }

    @Override
    public DebugContext getDebugContext() {
        return this.e;
    }

    @Override
    public void setDebugContext(DebugContext debugContext) {
        this.e = debugContext;
    }

    @Override
    public void pushAssertionOrdinal(int n2) {
        this.context.pushAssertionOrdinal(n2);
    }

    @Override
    public Collection<Integer> getAssertionOrdinalPath() {
        return this.context.getAssertionOrdinalPath();
    }

    @Override
    public void passDownAssertionOrdinal(@NotNull PolicyEnforcementContext policyEnforcementContext) {
        try {
            if (policyEnforcementContext == null) {
                com.l7tech.server.message.h.b(0);
            }
        }
        catch (VariableNotSettableException variableNotSettableException) {
            throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
        }
        this.context.passDownAssertionOrdinal(policyEnforcementContext);
    }

    @Override
    public Collection<Integer> getAssertionNumber() {
        return this.context.getAssertionNumber();
    }

    @Override
    public int popAssertionOrdinal() throws NoSuchElementException {
        return this.context.popAssertionOrdinal();
    }

    @Override
    public PolicyMetadata getCurrentPolicyMetadata() {
        return this.context.getCurrentPolicyMetadata();
    }

    @Override
    public void setCurrentPolicyMetadata(PolicyMetadata policyMetadata) {
        this.context.setCurrentPolicyMetadata(policyMetadata);
    }

    @Override
    public void setTraceListener(AssertionTraceListener assertionTraceListener) {
        this.context.setTraceListener(assertionTraceListener);
    }

    @Override
    public boolean hasTraceListener() {
        return this.context.hasTraceListener();
    }

    @Override
    public AssertionTraceListener getTraceListener() {
        return this.context.getTraceListener();
    }

    @Override
    public void close() {
        this.context.close();
    }

    @Override
    public long getAssertionLatencyNanos() {
        return this.context.getAssertionLatencyNanos();
    }

    @Override
    public void setAssertionLatencyNanos(long l2) {
        this.context.setAssertionLatencyNanos(l2);
    }

    @Override
    public Message getOriginalRequest() {
        return this.parentContext.getRequest();
    }

    @Override
    public Message getOriginalResponse() {
        return this.parentContext.getResponse();
    }

    @Override
    public Object getOriginalContextVariable(String string) throws NoSuchVariableException {
        return this.parentContext.getVariable(string);
    }

    @Override
    public PolicyEnforcementContext getOriginalContext() {
        return this.parentContext;
    }

    @Override
    public void putParentVariable(@NotNull String string, boolean bl2) {
        try {
            if (string == null) {
                com.l7tech.server.message.h.b(1);
            }
        }
        catch (VariableNotSettableException variableNotSettableException) {
            throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
        }
        String string2 = string.toLowerCase();
        try {
            this.b.add(string2);
            if (bl2) {
                this.c.add(string2 + ".");
            }
        }
        catch (VariableNotSettableException variableNotSettableException) {
            throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
        }
    }

    @Override
    @NotNull
    public Set<String> getOutputVariableNames() {
        Set<String> set;
        try {
            set = Collections.unmodifiableSet(this.d);
            if (set == null) {
                com.l7tech.server.message.h.b(2);
            }
        }
        catch (VariableNotSettableException variableNotSettableException) {
            throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
        }
        return set;
    }

    @Override
    public void addOutputVariableName(@NotNull String string) {
        try {
            if (string == null) {
                com.l7tech.server.message.h.b(3);
            }
        }
        catch (VariableNotSettableException variableNotSettableException) {
            throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
        }
        this.d.add(string);
    }

    @Override
    public void setGatewayMetricsEventsPublisher(@Nullable GatewayMetricsPublisher gatewayMetricsPublisher) {
        this.f = gatewayMetricsPublisher;
    }

    @Override
    @Nullable
    public GatewayMetricsPublisher getGatewayMetricsEventsPublisher() {
        return this.f;
    }

    h(PolicyEnforcementContext policyEnforcementContext, PolicyEnforcementContext policyEnforcementContext2) {
        super(policyEnforcementContext);
        this.context = policyEnforcementContext2;
        this.parentContext = policyEnforcementContext;
        GatewayMetricsUtils.setPublisher(policyEnforcementContext, this);
    }

    private boolean c(String string) {
        boolean bl2;
        block21: {
            block20: {
                try {
                    if (string == null) {
                        return false;
                    }
                }
                catch (VariableNotSettableException variableNotSettableException) {
                    throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
                }
                String string2 = string.toLowerCase();
                try {
                    block19: {
                        try {
                            try {
                                try {
                                    try {
                                        try {
                                            try {
                                                try {
                                                    if (this.b.contains(string2) || this.d(string2)) break block19;
                                                }
                                                catch (VariableNotSettableException variableNotSettableException) {
                                                    throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
                                                }
                                                if (h[15].equals(string2)) break block19;
                                            }
                                            catch (VariableNotSettableException variableNotSettableException) {
                                                throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
                                            }
                                            if (h[0].equals(string2)) break block19;
                                        }
                                        catch (VariableNotSettableException variableNotSettableException) {
                                            throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
                                        }
                                        if (h[3].equals(string2)) break block19;
                                    }
                                    catch (VariableNotSettableException variableNotSettableException) {
                                        throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
                                    }
                                    if (string2.startsWith(h[7])) break block19;
                                }
                                catch (VariableNotSettableException variableNotSettableException) {
                                    throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
                                }
                                if (string2.startsWith(h[5])) break block19;
                            }
                            catch (VariableNotSettableException variableNotSettableException) {
                                throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
                            }
                            if (!string2.startsWith(h[4])) break block20;
                        }
                        catch (VariableNotSettableException variableNotSettableException) {
                            throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
                        }
                    }
                    bl2 = true;
                    break block21;
                }
                catch (VariableNotSettableException variableNotSettableException) {
                    throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
                }
            }
            bl2 = false;
        }
        return bl2;
    }

    private boolean d(String string) {
        for (String string2 : this.c) {
            try {
                if (!string.startsWith(string2)) continue;
                return true;
            }
            catch (VariableNotSettableException variableNotSettableException) {
                throw com.l7tech.server.message.h.a((Exception)((Object)variableNotSettableException));
            }
        }
        return false;
    }

    /*
     * Exception decompiling
     */
    private static /* synthetic */ void b(int var0) {
        /*
         * This method has failed to decompile.  When submitting a bug report, please provide this stack trace, and (if you hold appropriate legal rights) the relevant class file.
         * 
         * org.benf.cfr.reader.util.ConfusedCFRException: Tried to end blocks [0[TRYBLOCK]], but top level block is 6[SWITCH]
         *     at org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.processEndingBlocks(Op04StructuredStatement.java:435)
         *     at org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.buildNestedBlocks(Op04StructuredStatement.java:484)
         *     at org.benf.cfr.reader.bytecode.analysis.opgraph.Op03SimpleStatement.createInitialStructuredBlock(Op03SimpleStatement.java:736)
         *     at org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisInner(CodeAnalyser.java:850)
         *     at org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisOrWrapFail(CodeAnalyser.java:278)
         *     at org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysis(CodeAnalyser.java:201)
         *     at org.benf.cfr.reader.entities.attributes.AttributeCode.analyse(AttributeCode.java:94)
         *     at org.benf.cfr.reader.entities.Method.analyse(Method.java:531)
         *     at org.benf.cfr.reader.entities.ClassFile.analyseMid(ClassFile.java:1050)
         *     at org.benf.cfr.reader.entities.ClassFile.analyseTop(ClassFile.java:942)
         *     at org.benf.cfr.reader.Driver.doJarVersionTypes(Driver.java:257)
         *     at org.benf.cfr.reader.Driver.doJar(Driver.java:139)
         *     at org.benf.cfr.reader.CfrDriverImpl.analyse(CfrDriverImpl.java:76)
         *     at org.benf.cfr.reader.Main.main(Main.java:54)
         */
        throw new IllegalStateException("Decompilation failed");
    }

    private static Exception a(Exception exception) {
        return exception;
    }

    /*
     * Unable to fully structure code
     */
    static {
        block10: {
            block9: {
                var5 = new String[16];
                var3_1 = 0;
                var2_2 = "gSZ9:p:p\u0015tRM\u0006 j9`B\u007f('w(wZL\u00074s,\u001bvYDf9)=pUAf&{;cS[f8{:fWN,zv\u0007fS[?<},\bfS[?<},;\tgSZ9:p:p\u0018\u0018eWZ:\u0011q>{wZ:0l=|YG\u0006'z {WE\bgSX<0m=;\u0005v^@%1\fcW[ 4|%pxH$0\u0016rS]\u0006 j9`B\u007f('w(wZL\u00074s,f*UxF=\u001bk%y\u0016D,!v&q\u0016\f:{;:5[\\:!>'zB\t;0j<gX\t' r%\u0011eC]\u00194l,{B\u007f('w(wZL\u001bvYDf9)=pUAf&{;cS[f8{:fWN,zv";
                var4_3 = "gSZ9:p:p\u0015tRM\u0006 j9`B\u007f('w(wZL\u00074s,\u001bvYDf9)=pUAf&{;cS[f8{:fWN,zv\u0007fS[?<},\bfS[?<},;\tgSZ9:p:p\u0018\u0018eWZ:\u0011q>{wZ:0l=|YG\u0006'z {WE\bgSX<0m=;\u0005v^@%1\fcW[ 4|%pxH$0\u0016rS]\u0006 j9`B\u007f('w(wZL\u00074s,f*UxF=\u001bk%y\u0016D,!v&q\u0016\f:{;:5[\\:!>'zB\t;0j<gX\t' r%\u0011eC]\u00194l,{B\u007f('w(wZL\u001bvYDf9)=pUAf&{;cS[f8{:fWN,zv".length();
                var1_4 = 8;
                var0_5 = -1;
lbl7:
                // 2 sources

                while (true) {
                    v0 = 116;
                    v1 = ++var0_5;
                    v2 = var2_2.substring(v1, v1 + var1_4);
                    v3 = -1;
                    break block9;
                    break;
                }
lbl13:
                // 1 sources

                while (true) {
                    var5[var3_1++] = com.l7tech.server.message.h.b(v0, com.l7tech.server.message.h.f(v2));
                    if ((var0_5 += var1_4) < var4_3) {
                        var1_4 = var2_2.charAt(var0_5);
                        ** continue;
                    }
                    var2_2 = "\t\u0019\u0013ae&z<K\u0012{zcT\u0006\u0004\u0000Z}/xh\u001b\u0015fi.q<\u000e\u00064/fgoK\u001br(fgfN\u00074e6g<K\u001a{|cv-K\u001aad/\u0007:\u000e\u0005am0`";
                    var4_3 = "\t\u0019\u0013ae&z<K\u0012{zcT\u0006\u0004\u0000Z}/xh\u001b\u0015fi.q<\u000e\u00064/fgoK\u001br(fgfN\u00074e6g<K\u001a{|cv-K\u001aad/\u0007:\u000e\u0005am0`".length();
                    var1_4 = 62;
                    var0_5 = -1;
lbl22:
                    // 2 sources

                    while (true) {
                        v0 = 41;
                        v4 = ++var0_5;
                        v2 = var2_2.substring(v4, v4 + var1_4);
                        v3 = 0;
                        break block9;
                        break;
                    }
                    break;
                }
lbl28:
                // 1 sources

                while (true) {
                    var5[var3_1++] = com.l7tech.server.message.h.b(v0, com.l7tech.server.message.h.f(v2));
                    if ((var0_5 += var1_4) < var4_3) {
                        var1_4 = var2_2.charAt(var0_5);
                        ** continue;
                    }
                    break block10;
                    break;
                }
            }
            switch (v3) {
                default: {
                    ** continue;
                }
                ** case 0:
lbl39:
                // 1 sources

                ** continue;
            }
        }
        com.l7tech.server.message.h.h = var5;
    }

    private static char[] f(String string) {
        char[] cArray = string.toCharArray();
        if (cArray.length < 2) {
            cArray = cArray;
            cArray[0] = (char)(cArray[0] ^ 0x3D);
        }
        return cArray;
    }

    /*
     * Handled impossible loop by duplicating code
     * Enabled aggressive block sorting
     */
    private static String b(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 -> 97;
                    case 1 -> 66;
                    case 2 -> 93;
                    case 3 -> 61;
                    case 4 -> 33;
                    case 5 -> 106;
                    default -> 61;
                })));
                ++n3;
                n4 = n4;
            } while (n4 > n3);
        }
        return new String(cArray2).intern();
    }
}

