package com.l7tech.server.identity.ldap;

import com.l7tech.objectmodel.EntityHeaderSet;
import javax.naming.NamingException;
import javax.naming.directory.DirContext;
import javax.naming.directory.SearchResult;

class s extends k {
   final LdapIdentityProvider val$identityProvider;
   final EntityHeaderSet val$groups;
   final int val$depth;
   final DirContext val$context;
   final LdapGroupManagerImpl this$0;

   s(LdapGroupManagerImpl var1, LdapIdentityProvider var2, EntityHeaderSet var3, int var4, DirContext var5) {
      this.this$0 = var1;
      this.val$identityProvider = var2;
      this.val$groups = var3;
      this.val$depth = var4;
      this.val$context = var5;
   }

   @Override
   boolean a(SearchResult param1) throws NamingException {
      // $VF: Couldn't be decompiled
      // Please report this to the Vineflower issue tracker, at https://github.com/Vineflower/vineflower/issues with a copy of the class file (if you have the rights to distribute it!)
      // java.lang.RuntimeException: parsing failure!
      //   at org.jetbrains.java.decompiler.modules.decompiler.decompose.DomHelper.parseGraph(DomHelper.java:211)
      //   at org.jetbrains.java.decompiler.main.rels.MethodProcessor.codeToJava(MethodProcessor.java:174)
      //
      // Bytecode:
      // 00: aload 0
      // 01: getfield com/l7tech/server/identity/ldap/s.val$identityProvider Lcom/l7tech/server/identity/ldap/LdapIdentityProvider;
      // 04: aload 1
      // 05: invokeinterface com/l7tech/server/identity/ldap/LdapIdentityProvider.searchResultToHeader (Ljavax/naming/directory/SearchResult;)Lcom/l7tech/objectmodel/IdentityHeader; 2
      // 0a: astore 2
      // 0b: aload 2
      // 0c: ifnull 67
      // 0f: aload 2
      // 10: invokevirtual com/l7tech/objectmodel/IdentityHeader.getType ()Lcom/l7tech/objectmodel/EntityType;
      // 13: getstatic com/l7tech/objectmodel/EntityType.GROUP Lcom/l7tech/objectmodel/EntityType;
      // 16: invokevirtual com/l7tech/objectmodel/EntityType.equals (Ljava/lang/Object;)Z
      // 19: ifeq 67
      // 1c: goto 23
      // 1f: invokestatic com/l7tech/server/identity/ldap/s.a (Ljavax/naming/NamingException;)Ljavax/naming/NamingException;
      // 22: athrow
      // 23: aload 0
      // 24: getfield com/l7tech/server/identity/ldap/s.val$groups Lcom/l7tech/objectmodel/EntityHeaderSet;
      // 27: aload 2
      // 28: invokevirtual com/l7tech/objectmodel/EntityHeaderSet.add (Lcom/l7tech/objectmodel/EntityHeader;)Z
      // 2b: ifeq 67
      // 2e: goto 35
      // 31: invokestatic com/l7tech/server/identity/ldap/s.a (Ljavax/naming/NamingException;)Ljavax/naming/NamingException;
      // 34: athrow
      // 35: aload 0
      // 36: getfield com/l7tech/server/identity/ldap/s.this$0 Lcom/l7tech/server/identity/ldap/LdapGroupManagerImpl;
      // 39: aload 0
      // 3a: getfield com/l7tech/server/identity/ldap/s.val$depth I
      // 3d: invokevirtual com/l7tech/server/identity/ldap/LdapGroupManagerImpl.a (I)Z
      // 40: ifeq 67
      // 43: goto 4a
      // 46: invokestatic com/l7tech/server/identity/ldap/s.a (Ljavax/naming/NamingException;)Ljavax/naming/NamingException;
      // 49: athrow
      // 4a: aload 0
      // 4b: getfield com/l7tech/server/identity/ldap/s.this$0 Lcom/l7tech/server/identity/ldap/LdapGroupManagerImpl;
      // 4e: aload 0
      // 4f: getfield com/l7tech/server/identity/ldap/s.val$context Ljavax/naming/directory/DirContext;
      // 52: aload 0
      // 53: getfield com/l7tech/server/identity/ldap/s.val$groups Lcom/l7tech/objectmodel/EntityHeaderSet;
      // 56: aload 2
      // 57: aload 0
      // 58: getfield com/l7tech/server/identity/ldap/s.val$depth I
      // 5b: bipush 1
      // 5c: iadd
      // 5d: invokevirtual com/l7tech/server/identity/ldap/LdapGroupManagerImpl.a (Ljavax/naming/directory/DirContext;Lcom/l7tech/objectmodel/EntityHeaderSet;Lcom/l7tech/objectmodel/IdentityHeader;I)V
      // 60: goto 67
      // 63: invokestatic com/l7tech/server/identity/ldap/s.a (Ljavax/naming/NamingException;)Ljavax/naming/NamingException;
      // 66: athrow
      // 67: bipush 1
      // 68: ireturn
      // try (5 -> 12): 13 javax/naming/NamingException
      // try (7 -> 20): 21 javax/naming/NamingException
      // try (15 -> 29): 30 javax/naming/NamingException
      // try (23 -> 44): 45 javax/naming/NamingException
   }

   private static NamingException a(NamingException var0) {
      return var0;
   }
}
