






#import "Alpha.h"
#import "ChromaticDiamondExtendExpandAbsent.h"

@interface Alpha() {
    NSMutableSet *_momentProcessUpdateRecordingFour;
}

@end

@implementation Alpha



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

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

    return vowelFactInstance;
}


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




+ (BOOL)diskArtCommentMetalMatrix:(ChromaticDiamondExtendExpandAbsent *)zb_destination {
    return [self.vowelFactInstance diskArtCommentMetalMatrix:zb_destination];
}

- (BOOL)diskArtCommentMetalMatrix:(ChromaticDiamondExtendExpandAbsent *)zb_destination {
    if ([self.momentProcessUpdateRecordingFour containsObject:zb_destination]) {
        return NO;
    }
    [self.momentProcessUpdateRecordingFour addObject:zb_destination];
    return YES;
}


+ (BOOL)posterAdvisoryDocumentsSubsetUrgencyEcho:(ChromaticDiamondExtendExpandAbsent *)zb_destination {
    return [self.vowelFactInstance posterAdvisoryDocumentsSubsetUrgencyEcho:zb_destination];
}

- (BOOL)posterAdvisoryDocumentsSubsetUrgencyEcho:(ChromaticDiamondExtendExpandAbsent *)zb_destination {
    if (![self.momentProcessUpdateRecordingFour containsObject:zb_destination]) {
        return NO;
    }
    [self.momentProcessUpdateRecordingFour removeObject:zb_destination];
    return YES;
}


+ (void)toleranceReportsInstallWarpArrivalFreestyle {
    [self.vowelFactInstance toleranceReportsInstallWarpArrivalFreestyle];
}

- (void)toleranceReportsInstallWarpArrivalFreestyle {
    [self.momentProcessUpdateRecordingFour removeAllObjects];
}


+ (NSInteger)tintLegalDatumSonBagTail {
    return [self.vowelFactInstance tintLegalDatumSonBagTail];
}

- (NSUInteger)tintLegalDatumSonBagTail {
    return self.momentProcessUpdateRecordingFour.count;
}


+ (NSString *)effectiveName {
    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)smallDark:(EvictLevel)zb_level
          bothOff:(const char *)bothOff
      hisClockCap:(const char *)hisClockCap
          hostKin:(NSUInteger)hostKin
       thumbExact:(id)thumbExact
        alphaTags:(NSString *)alphaTags, ... {
    va_list args;
    
    if (alphaTags) {
        va_start(args, alphaTags);
        
        NSString *moveCatSum = [[NSString alloc] initWithFormat:alphaTags arguments:args];
        
        va_end(args);
        
        va_start(args, alphaTags);
        
        [self.vowelFactInstance oneEntropySpaButterflyGreek:zb_level
                                   moveCatSum:moveCatSum
                                    prevented:[self effectiveName]
                                      bothOff:[NSString stringWithFormat:@"%s", bothOff]
                                  hisClockCap:[NSString stringWithFormat:@"%s", hisClockCap]
                                      hostKin:hostKin
                                   thumbExact:thumbExact];
        
        va_end(args);
    }
}


- (void)oneEntropySpaButterflyGreek:(EvictLevel)zb_level
              moveCatSum:(NSString *)moveCatSum
               prevented:(NSString *)prevented
                 bothOff:(NSString *)bothOff
             hisClockCap:(NSString *)hisClockCap
                 hostKin:(NSUInteger)hostKin
              thumbExact:(id)thumbExact {
    
    for (ChromaticDiamondExtendExpandAbsent *fairPut in self.momentProcessUpdateRecordingFour) {
        
        NSString *moreRareBinMessage;
        
        if (!fairPut.minUpper) continue;
        
        moreRareBinMessage = moreRareBinMessage == nil ? moveCatSum : moreRareBinMessage;
        
        if ([fairPut awayRetSetupWetOperatorYou:zb_level binRedo:bothOff hisClockCap:hisClockCap moveCatSum:moveCatSum]) {
            
            NSString *bestAlive = moreRareBinMessage == nil ? moveCatSum :moreRareBinMessage;
            
            NSString *hair = [self dryFloorFunWet:hisClockCap];
            
            if (fairPut.mountNapTreeSlovenianFreestyle) {
                dispatch_async(fairPut.minUpper, ^{
                    [fairPut unsaved:zb_level twoCap:bestAlive prevented:prevented bothOff:bothOff hisClockCap:hair hostKin:hostKin
                          thumbExact:thumbExact];
                });
            }else {
                dispatch_sync(fairPut.minUpper, ^{
                    [fairPut unsaved:zb_level twoCap:bestAlive prevented:prevented bothOff:bothOff hisClockCap:hair hostKin:hostKin
                          thumbExact:thumbExact];
                });
            }
        }
    }
}

- (NSString *)dryFloorFunWet:(NSString *)hisClockCap {
    NSString *hair = hisClockCap;
    NSRange anyCanon = [hair rangeOfString:@"("];
    
    if (anyCanon.location != NSNotFound) {
        hair = [hair substringToIndex:anyCanon.location];
    }
    hair = [hair stringByAppendingString:@"()"];
    return hair;
}

@end
