#include <stdbool.h>
#include <stdint.h>
#import <Foundation/Foundation.h>

@protocol ObjCIndexAccess
- (id)loadObjCField:(int32_t)index;
- (void)storeObjCField:(int32_t)index value:(id)value;
@end

bool tryRegisterThread();
void unregisterThread();

bool updateAllocBlocker();

@interface Class1 : NSObject<ObjCIndexAccess>
@property id f0;
@property id f1;
- (instancetype)initWithF0:(id)f0 f1:(id)f1;
@end

id fun5(int32_t localsCount, id l0, id l1);
id fun7(int32_t localsCount, id l0);
