





#import "SigmaDownOccurAdjustedOther.h"
@import Network;

static NSString *screenNeedRope = nil;
static nw_path_monitor_t illDriveBitTap = NULL;

@implementation SigmaDownOccurAdjustedOther

+ (BOOL)pipePostalBodyLimitAfter {
    return screenNeedRope != nil;
}

+ (NSString *)lowerLeapSexType {
    return screenNeedRope ?: @"none";
}

+ (void)storePenPreciseBiotinPassLaotian:(void (^)(BOOL pipePostalBodyLimitAfter))completion {
    
    if (illDriveBitTap != NULL) {
        nw_path_monitor_cancel(illDriveBitTap);
        illDriveBitTap = NULL;
    }
    
    
    illDriveBitTap = nw_path_monitor_create();
    nw_path_monitor_set_queue(illDriveBitTap, dispatch_get_main_queue());
    
    __block nw_path_monitor_t nearbyVector = illDriveBitTap;
    nw_path_monitor_set_update_handler(illDriveBitTap, ^(nw_path_t path) {
        nw_path_status_t status = nw_path_get_status(path);
        if (status == nw_path_status_satisfied) {
            if (nw_path_uses_interface_type(path, nw_interface_type_wifi)) {
                screenNeedRope = @"wifi";
            } else if (nw_path_uses_interface_type(path, nw_interface_type_cellular)) {
                screenNeedRope = @"cellular";
            } else {
                
                screenNeedRope = @"other";
            }
            
            
            if (nearbyVector) {
                nw_path_monitor_cancel(nearbyVector);
                nearbyVector = NULL;
                illDriveBitTap = NULL;
            }
            
        } else {
            screenNeedRope = nil;
        }
        
        
        if (completion) {
            completion([self pipePostalBodyLimitAfter]);
        }
        
    });
    
    
    nw_path_monitor_start(illDriveBitTap);
}

@end
