<?php

namespace ContainerMmke1fB;

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

/**
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getSecurity_Authentication_AccessListener_TwoFactor_AdminService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'security.authentication.access_listener.two_factor.admin' shared service.
     *
     * @return \Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'scheb'.\DIRECTORY_SEPARATOR.'2fa-bundle'.\DIRECTORY_SEPARATOR.'Security'.\DIRECTORY_SEPARATOR.'Http'.\DIRECTORY_SEPARATOR.'Firewall'.\DIRECTORY_SEPARATOR.'TwoFactorAccessListener.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'scheb'.\DIRECTORY_SEPARATOR.'2fa-bundle'.\DIRECTORY_SEPARATOR.'Security'.\DIRECTORY_SEPARATOR.'Authorization'.\DIRECTORY_SEPARATOR.'TwoFactorAccessDecider.php';

        $a = ($container->privates['security.firewall_config.two_factor.admin'] ?? self::getSecurity_FirewallConfig_TwoFactor_AdminService($container));

        if (isset($container->privates['security.authentication.access_listener.two_factor.admin'])) {
            return $container->privates['security.authentication.access_listener.two_factor.admin'];
        }
        $b = ($container->privates['debug.security.access.decision_manager'] ?? self::getDebug_Security_Access_DecisionManagerService($container));

        if (isset($container->privates['security.authentication.access_listener.two_factor.admin'])) {
            return $container->privates['security.authentication.access_listener.two_factor.admin'];
        }
        $c = ($container->privates['security.http_utils'] ?? self::getSecurity_HttpUtilsService($container));

        if (isset($container->privates['security.authentication.access_listener.two_factor.admin'])) {
            return $container->privates['security.authentication.access_listener.two_factor.admin'];
        }

        return $container->privates['security.authentication.access_listener.two_factor.admin'] = new \Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener($a, ($container->privates['security.token_storage'] ?? self::getSecurity_TokenStorageService($container)), new \Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider(($container->privates['security.access_map'] ?? $container->load('getSecurity_AccessMapService')), $b, $c, ($container->privates['security.logout_url_generator'] ?? self::getSecurity_LogoutUrlGeneratorService($container))));
    }
}
