






#import "Dense.h"
#import "ExpectedUniqueCalorieCanDegree.h"

@interface Dense() {
    NSMutableSet *_focusGrantingIndigoRelationLeave;
}

@end

@implementation Dense



+ (instancetype)reuseMeanInstance {
    static id reuseMeanInstance = nil;

    static dispatch_once_t lineToken;
    dispatch_once(&lineToken, ^{
        reuseMeanInstance = [[self alloc] init];
    });

    return reuseMeanInstance;
}


- (NSMutableSet *)focusGrantingIndigoRelationLeave {
    if (!_focusGrantingIndigoRelationLeave) {
        _focusGrantingIndigoRelationLeave = [[NSMutableSet alloc] init];
    }
    return _focusGrantingIndigoRelationLeave;
}




+ (BOOL)preferredBufferedReductionFileParsing:(ExpectedUniqueCalorieCanDegree *)zb_destination {
    return [self.reuseMeanInstance preferredBufferedReductionFileParsing:zb_destination];
}

- (BOOL)preferredBufferedReductionFileParsing:(ExpectedUniqueCalorieCanDegree *)zb_destination {
    if ([self.focusGrantingIndigoRelationLeave containsObject:zb_destination]) {
        return NO;
    }
    [self.focusGrantingIndigoRelationLeave addObject:zb_destination];
    return YES;
}


+ (BOOL)previousShiftBrowsingLinearCreatedAccounts:(ExpectedUniqueCalorieCanDegree *)zb_destination {
    return [self.reuseMeanInstance previousShiftBrowsingLinearCreatedAccounts:zb_destination];
}

- (BOOL)previousShiftBrowsingLinearCreatedAccounts:(ExpectedUniqueCalorieCanDegree *)zb_destination {
    if (![self.focusGrantingIndigoRelationLeave containsObject:zb_destination]) {
        return NO;
    }
    [self.focusGrantingIndigoRelationLeave removeObject:zb_destination];
    return YES;
}


+ (void)sensitiveConvertedStickyReversingIcyArm {
    [self.reuseMeanInstance sensitiveConvertedStickyReversingIcyArm];
}

- (void)sensitiveConvertedStickyReversingIcyArm {
    [self.focusGrantingIndigoRelationLeave removeAllObjects];
}


+ (NSInteger)aboveTwoTruncateSeedSoftwareDownloads {
    return [self.reuseMeanInstance aboveTwoTruncateSeedSoftwareDownloads];
}

- (NSUInteger)aboveTwoTruncateSeedSoftwareDownloads {
    return self.focusGrantingIndigoRelationLeave.count;
}


+ (NSString *)waxTaggerName {
    if (NSThread.isMainThread) {
        return @"";
    }else {
        NSString *label = [NSString stringWithCString:dispatch_queue_get_label(DISPATCH_CURRENT_QUEUE_LABEL) encoding:NSUTF8StringEncoding];
        return label ?: NSThread.currentThread.name;
    }
}


+ (void)datumSide:(BoostLevel)zb_level
          faxView:(const char *)faxView
      slashTenJob:(const char *)slashTenJob
          songDay:(NSUInteger)songDay
       howSobPage:(id)howSobPage
        mayLinger:(NSString *)mayLinger, ... {
    va_list args;
    
    if (mayLinger) {
        va_start(args, mayLinger);
        
        NSString *earIllegal = [[NSString alloc] initWithFormat:mayLinger arguments:args];
        
        va_end(args);
        
        va_start(args, mayLinger);
        
        [self.reuseMeanInstance obsoleteGopherFixMediumPan:zb_level
                                   earIllegal:earIllegal
                                    disabling:[self waxTaggerName]
                                      faxView:[NSString stringWithFormat:@"%s", faxView]
                                  slashTenJob:[NSString stringWithFormat:@"%s", slashTenJob]
                                      songDay:songDay
                                   howSobPage:howSobPage];
        
        va_end(args);
    }
}


- (void)obsoleteGopherFixMediumPan:(BoostLevel)zb_level
              earIllegal:(NSString *)earIllegal
               disabling:(NSString *)disabling
                 faxView:(NSString *)faxView
             slashTenJob:(NSString *)slashTenJob
                 songDay:(NSUInteger)songDay
              howSobPage:(id)howSobPage {
    
    for (ExpectedUniqueCalorieCanDegree *tagBits in self.focusGrantingIndigoRelationLeave) {
        
        NSString *whitePutUseMessage;
        
        if (!tagBits.eventRow) continue;
        
        whitePutUseMessage = whitePutUseMessage == nil ? earIllegal : whitePutUseMessage;
        
        if ([tagBits megabitsFragmentsNewtonsImagePlanNarrative:zb_level hasMath:faxView slashTenJob:slashTenJob earIllegal:earIllegal]) {
            
            NSString *appearRaw = whitePutUseMessage == nil ? earIllegal :whitePutUseMessage;
            
            NSString *pull = [self rationalYellow:slashTenJob];
            
            if (tagBits.stoneYellowFinishingAssemblyGlucose) {
                dispatch_async(tagBits.eventRow, ^{
                    [tagBits highCut:zb_level optRun:appearRaw disabling:disabling faxView:faxView slashTenJob:pull songDay:songDay
                          howSobPage:howSobPage];
                });
            }else {
                dispatch_sync(tagBits.eventRow, ^{
                    [tagBits highCut:zb_level optRun:appearRaw disabling:disabling faxView:faxView slashTenJob:pull songDay:songDay
                          howSobPage:howSobPage];
                });
            }
        }
    }
}

- (NSString *)rationalYellow:(NSString *)slashTenJob {
    NSString *pull = slashTenJob;
    NSRange kindOnce = [pull rangeOfString:@"("];
    
    if (kindOnce.location != NSNotFound) {
        pull = [pull substringToIndex:kindOnce.location];
    }
    pull = [pull stringByAppendingString:@"()"];
    return pull;
}

@end
