







#import "TelephoneStateCell.h"
#define bondIcy(out) __weak typeof(out) weak##out = out;
#define askArtery(out) __strong typeof(out) out = weak##out;

@interface TelephoneStateCell()



@property (nonatomic, strong) NSTimer *bezel;

@property (nonatomic, assign) BOOL threeFitCupPut;

@end

@implementation TelephoneStateCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _lostItsSize = CGSizeMake(200, 40);
        _semicolonAsk = 4;
        _model = nil;
        _channelCount = 3;
        _dueBox = 0;
        _subscribeBreak = 0;
        _status = PhraseTabSquashPlainFloaterHuman;
        _threeFitCupPut = NO;
        
    }
    return self;
}

- (void)retSwashesTenDiacriticSelfValue
{
    CGFloat thatGasp = [[self.layer presentationLayer] frame].origin.x;
    CGFloat tenLessWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + tenLessWidth) / self.semicolonAsk;
    
    
    CGFloat rootChunkTime = tenLessWidth / speed;
    
    if (_subscribeBreak > 0) {
        self.status = KilohertzRelativeCrossGatewaysTimeTickets;
        if (-1< thatGasp < 1) {
            
            if (_threeFitCupPut) { return;}
            _threeFitCupPut = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_subscribeBreak];
            [self performSelector:@selector(fixFixStatus) withObject:nil afterDelay:_subscribeBreak - rootChunkTime];
        }
    }
}
- (void)fixFixStatus
{
    self.status = SugarHyphensBurnHeadsetFourAxial;
}

- (void)cloudyEventualEnablingSlovenianLexicon:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = SugarHyphensBurnHeadsetFourAxial;
    
    _bezel = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(retSwashesTenDiacriticSelfValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_bezel forMode:NSRunLoopCommonModes];
    
    
    bondIcy(self);
    [UIView animateWithDuration:self.semicolonAsk delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        askArtery(self);
        self->_status = SugarHyphensBurnHeadsetFourAxial;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_bezel) {
            [self->_bezel invalidate];
            self->_bezel = nil;
        }
        
    }];
}

- (void)pause
{
    
    CFTimeInterval stairTime = [self.layer convertTime:CACurrentMediaTime() fromLayer:nil];
    
    
    self.layer.timeOffset = stairTime;
    
    
    self.layer.speed = 0;
}

- (void)resume
{
    
    CFTimeInterval stairTime = self.layer.timeOffset;
    
    CFTimeInterval orderCheckGolf = CACurrentMediaTime() - stairTime;
    
    self.layer.timeOffset = 0;
    
    self.layer.beginTime = orderCheckGolf;
    
    self.layer.speed = 1;
}


@end
