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 r extends k {
   final LdapIdentityProvider val$identityProvider;
   final EntityHeaderSet val$output;
   final DirContext val$searchContext;
   final LdapGroupManagerImpl this$0;

   r(LdapGroupManagerImpl var1, LdapIdentityProvider var2, EntityHeaderSet var3, DirContext var4) {
      this.this$0 = var1;
      this.val$identityProvider = var2;
      this.val$output = var3;
      this.val$searchContext = var4;
   }

   @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/r.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 4a
      // 0f: aload 0
      // 10: getfield com/l7tech/server/identity/ldap/r.val$output Lcom/l7tech/objectmodel/EntityHeaderSet;
      // 13: aload 2
      // 14: invokevirtual com/l7tech/objectmodel/EntityHeaderSet.add (Lcom/l7tech/objectmodel/EntityHeader;)Z
      // 17: ifeq 4a
      // 1a: goto 21
      // 1d: invokestatic com/l7tech/server/identity/ldap/r.a (Ljavax/naming/NamingException;)Ljavax/naming/NamingException;
      // 20: athrow
      // 21: aload 0
      // 22: getfield com/l7tech/server/identity/ldap/r.this$0 Lcom/l7tech/server/identity/ldap/LdapGroupManagerImpl;
      // 25: invokevirtual com/l7tech/server/identity/ldap/LdapGroupManagerImpl.c ()Z
      // 28: ifeq 4a
      // 2b: goto 32
      // 2e: invokestatic com/l7tech/server/identity/ldap/r.a (Ljavax/naming/NamingException;)Ljavax/naming/NamingException;
      // 31: athrow
      // 32: aload 0
      // 33: getfield com/l7tech/server/identity/ldap/r.this$0 Lcom/l7tech/server/identity/ldap/LdapGroupManagerImpl;
      // 36: aload 0
      // 37: getfield com/l7tech/server/identity/ldap/r.val$searchContext Ljavax/naming/directory/DirContext;
      // 3a: aload 0
      // 3b: getfield com/l7tech/server/identity/ldap/r.val$output Lcom/l7tech/objectmodel/EntityHeaderSet;
      // 3e: aload 2
      // 3f: bipush 2
      // 40: invokevirtual com/l7tech/server/identity/ldap/LdapGroupManagerImpl.a (Ljavax/naming/directory/DirContext;Lcom/l7tech/objectmodel/EntityHeaderSet;Lcom/l7tech/objectmodel/IdentityHeader;I)V
      // 43: goto 4a
      // 46: invokestatic com/l7tech/server/identity/ldap/r.a (Ljavax/naming/NamingException;)Ljavax/naming/NamingException;
      // 49: athrow
      // 4a: bipush 1
      // 4b: ireturn
      // try (5 -> 12): 13 javax/naming/NamingException
      // try (7 -> 19): 20 javax/naming/NamingException
      // try (15 -> 31): 32 javax/naming/NamingException
   }

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