<?php

namespace ContainerRYWeSXx;

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 getReturnShipmentStateServiceService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\Core\Service\ReturnShipment\ReturnShipmentStateService' shared autowired service.
     *
     * @return \App\Core\Service\ReturnShipment\ReturnShipmentStateService
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->privates['App\\Core\\Builder\\EventBuilder'] ?? $container->load('getEventBuilderService'));

        if (isset($container->privates['App\\Core\\Service\\ReturnShipment\\ReturnShipmentStateService'])) {
            return $container->privates['App\\Core\\Service\\ReturnShipment\\ReturnShipmentStateService'];
        }
        $b = ($container->privates['App\\Core\\Service\\History\\ReturnShipmentHistoryBuilder'] ?? $container->load('getReturnShipmentHistoryBuilderService'));

        if (isset($container->privates['App\\Core\\Service\\ReturnShipment\\ReturnShipmentStateService'])) {
            return $container->privates['App\\Core\\Service\\ReturnShipment\\ReturnShipmentStateService'];
        }
        $c = ($container->privates['App\\External\\Everest\\Service\\MissionManager'] ?? $container->load('getMissionManagerService'));

        if (isset($container->privates['App\\Core\\Service\\ReturnShipment\\ReturnShipmentStateService'])) {
            return $container->privates['App\\Core\\Service\\ReturnShipment\\ReturnShipmentStateService'];
        }
        $d = ($container->services['event_dispatcher'] ?? self::getEventDispatcherService($container));

        if (isset($container->privates['App\\Core\\Service\\ReturnShipment\\ReturnShipmentStateService'])) {
            return $container->privates['App\\Core\\Service\\ReturnShipment\\ReturnShipmentStateService'];
        }

        $instance = new \App\Core\Service\ReturnShipment\ReturnShipmentStateService($a, $b, $c, ($container->privates['App\\External\\Everest\\Service\\MissionBuilder'] ?? $container->load('getMissionBuilderService')), $d);

        if (isset($container->privates['App\\Core\\Service\\ReturnShipment\\ReturnShipmentStateService'])) {
            return $container->privates['App\\Core\\Service\\ReturnShipment\\ReturnShipmentStateService'];
        }

        return $container->privates['App\\Core\\Service\\ReturnShipment\\ReturnShipmentStateService'] = $instance;
    }
}
