/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.gateway.common.resources.HttpConfiguration$Option
 *  com.l7tech.objectmodel.Goid
 */
package com.l7tech.server.globalresources;

import com.l7tech.gateway.common.resources.HttpConfiguration;
import com.l7tech.objectmodel.Goid;

final class m {
    private final HttpConfiguration.Option a;
    private final String b;
    private final Goid c;
    private final String d;
    private final String e;
    private static final String f = m.a(123, m.a("|7\u000be\u0006QZ{!\u001f0\u0006P\u001fm"));

    private m(HttpConfiguration.Option option, String string, Goid goid, String string2, String string3) {
        if (option == null) {
            throw new IllegalArgumentException(f);
        }
        this.a = option;
        this.b = string;
        this.c = goid;
        this.d = string2;
        this.e = string3;
    }

    /*
     * Enabled force condition propagation
     * Lifted jumps to return sites
     */
    public boolean equals(Object object) {
        m m2;
        block40: {
            block39: {
                block38: {
                    block37: {
                        block36: {
                            block35: {
                                try {
                                    if (this == object) {
                                        return true;
                                    }
                                }
                                catch (IllegalArgumentException illegalArgumentException) {
                                    throw m.a(illegalArgumentException);
                                }
                                try {
                                    try {
                                        if (object != null && this.getClass() == object.getClass()) break block35;
                                        return false;
                                    }
                                    catch (IllegalArgumentException illegalArgumentException) {
                                        throw m.a(illegalArgumentException);
                                    }
                                }
                                catch (IllegalArgumentException illegalArgumentException) {
                                    throw m.a(illegalArgumentException);
                                }
                            }
                            m2 = (m)object;
                            try {
                                if (!Goid.equals((Goid)this.c, (Goid)m2.c)) {
                                    return false;
                                }
                            }
                            catch (IllegalArgumentException illegalArgumentException) {
                                throw m.a(illegalArgumentException);
                            }
                            try {
                                try {
                                    if (this.d == null) break block36;
                                    if (this.d.equals(m2.d)) break block37;
                                    return false;
                                }
                                catch (IllegalArgumentException illegalArgumentException) {
                                    throw m.a(illegalArgumentException);
                                }
                            }
                            catch (IllegalArgumentException illegalArgumentException) {
                                throw m.a(illegalArgumentException);
                            }
                        }
                        try {
                            if (m2.d == null) break block37;
                            return false;
                        }
                        catch (IllegalArgumentException illegalArgumentException) {
                            throw m.a(illegalArgumentException);
                        }
                    }
                    try {
                        if (this.a != m2.a) {
                            return false;
                        }
                    }
                    catch (IllegalArgumentException illegalArgumentException) {
                        throw m.a(illegalArgumentException);
                    }
                    try {
                        try {
                            if (this.b == null) break block38;
                            if (this.b.equals(m2.b)) break block39;
                            return false;
                        }
                        catch (IllegalArgumentException illegalArgumentException) {
                            throw m.a(illegalArgumentException);
                        }
                    }
                    catch (IllegalArgumentException illegalArgumentException) {
                        throw m.a(illegalArgumentException);
                    }
                }
                try {
                    if (m2.b == null) break block39;
                    return false;
                }
                catch (IllegalArgumentException illegalArgumentException) {
                    throw m.a(illegalArgumentException);
                }
            }
            try {
                try {
                    if (this.e == null) break block40;
                    if (this.e.equals(m2.e)) return true;
                    return false;
                }
                catch (IllegalArgumentException illegalArgumentException) {
                    throw m.a(illegalArgumentException);
                }
            }
            catch (IllegalArgumentException illegalArgumentException) {
                throw m.a(illegalArgumentException);
            }
        }
        try {
            if (m2.e == null) return true;
            return false;
        }
        catch (IllegalArgumentException illegalArgumentException) {
            throw m.a(illegalArgumentException);
        }
    }

    public int hashCode() {
        int n2;
        int n3;
        int n4;
        int n5;
        int n6;
        int n7;
        int n8;
        int n9;
        int n10 = this.a.hashCode();
        try {
            n9 = 31 * n10;
            n8 = this.b != null ? this.b.hashCode() : 0;
        }
        catch (IllegalArgumentException illegalArgumentException) {
            throw m.a(illegalArgumentException);
        }
        n10 = n9 + n8;
        try {
            n7 = 31 * n10;
            n6 = this.c != null ? this.c.hashCode() : 0;
        }
        catch (IllegalArgumentException illegalArgumentException) {
            throw m.a(illegalArgumentException);
        }
        n10 = n7 + n6;
        try {
            n5 = 31 * n10;
            n4 = this.d != null ? this.d.hashCode() : 0;
        }
        catch (IllegalArgumentException illegalArgumentException) {
            throw m.a(illegalArgumentException);
        }
        n10 = n5 + n4;
        try {
            n3 = 31 * n10;
            n2 = this.e != null ? this.e.hashCode() : 0;
        }
        catch (IllegalArgumentException illegalArgumentException) {
            throw m.a(illegalArgumentException);
        }
        n10 = n3 + n2;
        return n10;
    }

    private static IllegalArgumentException a(IllegalArgumentException illegalArgumentException) {
        return illegalArgumentException;
    }

    private static char[] a(String string) {
        char[] cArray = string.toCharArray();
        if (cArray.length < 2) {
            cArray = cArray;
            cArray[0] = (char)(cArray[0] ^ '\u0001');
        }
        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 -> 114;
                    case 1 -> 63;
                    case 2 -> 21;
                    case 3 -> 62;
                    case 4 -> 20;
                    case 5 -> 89;
                    default -> 1;
                })));
                ++n3;
                n4 = n4;
            } while (n4 > n3);
        }
        return new String(cArray2).intern();
    }
}

