/* Automatically generated by
	MLVMCCodeGenerator Melchor-tonel.1 uuid: 7ba6bb56-dbff-0d00-9ffa-59cb048d36f2
   from
	StackToRegisterMappingCogit VMMaker-tonel.1 uuid: 1a6ee856-dbff-0d00-9fff-38a5048d36f2
 */
static char __buildInfo[] = "StackToRegisterMappingCogit VMMaker-tonel.1 uuid: 1a6ee856-dbff-0d00-9fff-38a5048d36f2 " __DATE__ ;
char *__cogitBuildInfo = __buildInfo;



#include <stddef.h>
#include <stdint.h>
#include <pthread.h>
#include "sq.h"
#include "jit/jit.h"
#include "debug.h"
#include "cogStackAlignment.h"
#include "dispdbg.h"
#include "cogmethod.h"
#include "vmMemoryMap.h"
#include "vmRememberedSet.h"
#include "cointerp.h"
#include "cogit.h"



/*** Constants ***/
#define AddCqR 102
#define AddCwR 110
#define AddcCqR 116
#define AddcRR 115
#define AddRdRd 121
#define AddRR 96
#define AddRsRs 128
#define AlignedSt1VrRMw 148
#define AlignmentNops 3
#define AndCqR 104
#define AndCqRR 119
#define AndCwR 112
#define AndRR 98
#define AnnotationShift 5
#define Arg0Reg 7
#define Arg1Reg 6
#define ArithmeticShiftRightCqR 87
#define ArithmeticShiftRightRR 88
#define BadRegisterSet 1
#define BytecodeSetHasDirectedSuperSend 1
#define Call 6
#define CallerSavedRegisterMask 0xFC7
#define CallFull 7
#define CallR 8
#define CDQ 152
#define CheckAllocationFillerAfterPrimCall 32
#if !defined(CheckRememberedInTrampoline) /* Allow this to be overridden on the compiler command line */
# define CheckRememberedInTrampoline 0
#endif /* !defined(CheckRememberedInTrampoline) */
#define CLD 165
#define ClassArray 7
#define ClassArrayCompactIndex 51
#define ClassFloatCompactIndex 34
#define ClassFullBlockClosureCompactIndex 38
#define ClassLargeNegativeIntegerCompactIndex 32
#define ClassLargePositiveIntegerCompactIndex 33
#define ClassMethodContextCompactIndex 36
#define ClassReg 1
#define ClosureIndex 4
#define CMFree 1
#define CMMaxUsageCount 7
#define CMMegamorphicIC 4
#define CMMethod 2
#define CMPolymorphicIC 3
#define CMPXCHGAwR 160
#define CMPXCHGMwrR 161
#define CmpC32R 109
#define CmpCqR 101
#define CmpCwR 108
#define CmpRdRd 120
#define CmpRR 95
#define CmpRsRs 127
#define CompletePrimitive 4
#define ConstZero 1
#define ConvertRdR 135
#define ConvertRdRs 137
#define ConvertRRd 134
#define ConvertRRs 139
#define ConvertRsR 138
#define ConvertRsRd 136
#define CPUID 155
#define Debug DEBUGVM
#define DisplacementMask 0x1F
#define DisplacementX2N 0
#define DivRdRd 124
#define DivRsRs 131
#define DPFPReg0 0
#define DPFPReg1 1
#define DPFPReg2 2
#define DupRVr 146
#define EncounteredUnknownBytecode -6
#define Extra0Reg 10
#define Extra1Reg 11
#define Extra2Reg 12
#define Extra3Reg 13
#define Extra4Reg 14
#define Extra5Reg 15
#define FaddSRvRvRv 150
#if !defined(FEATURE_JIT_SIMD) /* Allow this to be overridden on the compiler command line */
# define FEATURE_JIT_SIMD 1
#endif /* !defined(FEATURE_JIT_SIMD) */
#define Fill32 4
#define FirstAnnotation 64
#define FirstJump 12
#define FirstShortJump 16
#define FirstSpecialSelector 96
#define FoxCallerSavedIP 8
#define FoxMethod -8
#define FoxMFReceiver -24
#define FoxSavedFP 0
#define FoxThisContext -16
#define FPReg 5
#define FsubSRvRvRv 151
#define FullClosureCompiledBlockIndex 1
#define FullClosureFirstCopiedValueIndex 4
#define FullClosureNumArgsIndex 2
#define FullClosureOuterContextIndex 0
#define FullClosureReceiverIndex 3
#define GCModeBecome 8
#define GCModeFull 1
#define GCModeNewSpace 2
#define HasBytecodePC 5
#define HashMultiplyConstant 1664525
#define HashMultiplyMask 0xFFFFFFF
#define HeaderIndex 0
#define IDIVR 153
#if !defined(IMMUTABILITY) /* Allow this to be overridden on the compiler command line */
# define IMMUTABILITY 1
#endif /* !defined(IMMUTABILITY) */
#define IMULRR 154
#define InFullBlock 2
#define InstanceSpecificationIndex 2
#define InstructionPointerIndex 1
#define InsufficientCodeSpace -2
#define IsAbsPCReference 3
#define IsAnnotationExtension 1
#define IsDirectedSuperBindingSend 10
#define IsDirectedSuperSend 9
#define IsDisplacementX2N 0
#define IsObjectReference 2
#define IsRelativeCall 4
#define IsSendCall 7
#define IsSuperSend 8
#define Jump 16
#define JumpAbove 31
#define JumpAboveOrEqual 30
#define JumpBelow 29
#define JumpBelowOrEqual 32
#define JumpCarry 23
#define JumpFPEqual 33
#define JumpFPGreater 37
#define JumpFPGreaterOrEqual 38
#define JumpFPLess 35
#define JumpFPLessOrEqual 36
#define JumpFPNotEqual 34
#define JumpFPOrdered 39
#define JumpFPUnordered 40
#define JumpFull 12
#define JumpGreater 27
#define JumpGreaterOrEqual 26
#define JumpLess 25
#define JumpLessOrEqual 28
#define JumpLong 13
#define JumpLongNonZero 15
#define JumpLongZero 14
#define JumpNegative 19
#define JumpNoCarry 24
#define JumpNonNegative 20
#define JumpNonZero 18
#define JumpNoOverflow 22
#define JumpOverflow 21
#define JumpR 10
#define JumpZero 17
#define Label 1
#define LargeContextSlots 62
#define LastJump 40
#define Ld1VrRMw 149
#define LFENCE 156
#undef LinkReg
#define Literal 2
#define LiteralStart 1
#define LOCK 159
#define LoadEffectiveAddressMwrR 84
#define LogicalShiftLeftCqR 91
#define LogicalShiftLeftRR 92
#define LogicalShiftRightCqR 89
#define LogicalShiftRightRR 90
#define MapEnd 0
#define MaxCompiledPrimitiveIndex 659
#define MaxCPICCases 6
#define MaxMethodSize 65535
#define MaxNegativeErrorCode -8
#define MaxNumArgs 15
#define MaxNumberOfAbstractOpcodes 0x8000
#define MaxStackCheckOffset 0xFFF
#define MaxX2NDisplacement 992
#define MethodCacheClass 2
#define MethodCacheMask 0xFFC
#define MethodCacheMethod 3
#define MethodCacheSelector 1
#define MethodIndex 3
#define MethodTooBig -4
#define MFENCE 157
#define MFMethodFlagHasContextFlag 1
#define MFMethodFlagIsBlockFlag 2
#define MOVSB 167
#define MOVSQ 168
#define ModReg 3
#define ModRegInd 0
#define ModRegRegDisp32 2
#define ModRegRegDisp8 1
#define MoveA32R 43
#define MoveAbR 46
#define MoveAwR 42
#define MoveC32R 69
#define MoveCqR 67
#define MoveCwR 68
#define MoveM16rR 55
#define MoveM32rR 59
#define MoveM32rRs 76
#define MoveM64rRd 73
#define MoveM8rR 52
#define MoveMbrR 63
#define MoveMs8rR 53
#define MoveMwrR 48
#define MovePatcheableC32R 83
#define MoveRA32 45
#define MoveRAb 47
#define MoveRAw 44
#define MoveRdM64r 74
#define MoveRdR 71
#define MoveRdRd 72
#define MoveRM16r 56
#define MoveRM32r 60
#define MoveRM8r 54
#define MoveRMbr 64
#define MoveRMwr 49
#define MoveRR 41
#define MoveRRd 70
#define MoveRsM32r 77
#define MoveRsRs 75
#define MoveRX32rR 62
#define MoveRXbrR 66
#define MoveRXwrR 51
#define MoveX32rRR 61
#define MoveXbrRR 65
#define MoveXwrRR 50
#define MulRdRd 123
#define MulRsRs 130
#define NeedsMergeFixupFlag 2
#define NeedsNonMergeFixupFlag 1
#define NegateR 85
#define Nop 5
#define NoReg -1
#define NumObjRefsInRuntime 0
#define NumSendTrampolines 4
#define NumSpecialSelectors 32
#define NumStoreTrampolines 5
#define NumTrampolines 74
#define OrCqR 105
#define OrCwR 113
#define OrRR 99
#undef PCReg
#define PopR 78
#define PrefetchAw 82
#define PrimCallCollectsProfileSamples 16
#define PrimCallDoNotJIT 64
#define PrimCallMayCallBack 4
#define PrimCallNeedsNewMethod 1
#define PrimCallNeedsPrimitiveFunction 2
#define PrimCallOnSmalltalkStack 8
#define PrimErrNoMemory 9
#define PrimErrWritePastObject 17
#define PrimNumberHashMultiply 159
#define PushCq 80
#define PushCw 81
#define PushR 79
#define R12 12
#define R13 13
#define R15 15
#define R8 8
#define R9 9
#define RAX 0
#define RBP 5
#define RBX 3
#define RCX 1
#define RDI 7
#define RDX 2
#define REP 166
#define ReceiverIndex 5
#define ReceiverResultReg 2
#define RetN 9
#define RISCTempReg 8
#define RotateLeftCqR 93
#define RotateRightCqR 94
#define RSI 6
#define RSP 4
#define SelectorCannotInterpret 34
#define SelectorDoesNotUnderstand 20
#define SenderIndex 0
#define SendNumArgsReg 9
#define SFENCE 158
#define ShouldNotJIT -8
#define SIB1 0
#define SIB4 2
#define SIB8 3
#define SignExtend16RR 141
#define SignExtend32RR 142
#define SignExtend8RR 140
#define SistaVM 0
#define SmallContextSlots 22
#define SPReg 4
#define SpecialSelectors 23
#define SqrtRd 125
#define SqrtRs 132
#define SSBaseOffset 1
#define SSConstant 2
#define SSRegister 3
#define SSSpill 4
#define SSVectorRegister 18
#define St1VrRMw 147
#define StackPointerIndex 2
#define Stop 11
#define SubbCqR 118
#define SubbRR 117
#define SubCqR 103
#define SubCwR 111
#define SubRdRd 122
#define SubRR 97
#define SubRsRs 129
#define SysV 1
#define TempReg 0
#define TempVectReadBarrier 0
#define TstCqR 106
#define UnfailingPrimitive 3
#define UnimplementedPrimitive -7
#define ValueIndex 1
#define VarBaseReg 3
#define VReg0 0
#define VReg1 1
#define VReg2 2
#define VReg3 3
#define VReg4 4
#define VReg5 5
#define VReg6 6
#define VReg7 7
#define XCHGAwR 162
#define XCHGMwrR 163
#define XCHGRR 164
#define XorCwR 114
#define XorRdRd 126
#define XorRR 100
#define XorRsRs 133
#define YoungSelectorInPIC -5
#define ZeroExtend16RR 144
#define ZeroExtend32RR 145
#define ZeroExtend8RR 143

typedef struct _AbstractInstruction {
	unsigned char	opcode;
	unsigned char	machineCodeSize;
	unsigned char	maxSize;
	unsigned char	annotation;
	unsigned char		machineCode [14];
	usqInt		operands [4];
	usqInt	address;
	struct _AbstractInstruction *dependent;
 } AbstractInstruction;

#define CogInLineLiteralsX64Compiler AbstractInstruction
#define CogX64Compiler AbstractInstruction
#define CogX86Compiler AbstractInstruction
#define CogAbstractInstruction AbstractInstruction


typedef struct _BytecodeDescriptor {
	sqInt (*generator )(void);
	sqInt NoDbgRegParms (*spanFunction )(struct _BytecodeDescriptor *,sqInt,sqInt,sqInt);
	sqInt NoDbgRegParms (*needsFrameFunction )(sqInt);
	signed char	stackDelta;
	unsigned char	opcode;
	unsigned char	numBytes;
	unsigned		isBranchTrue : 1;
	unsigned		isBranchFalse : 1;
	unsigned		isReturn : 1;
	unsigned		isMapped : 1;
	unsigned		isMappedInBlock : 1;
	unsigned		isExtension : 1;
	unsigned		isInstVarRef : 1;
	unsigned		is1ByteInstVarStore : 1;
	unsigned		hasUnsafeJump : 1;
 } BytecodeDescriptor;

#define CogBytecodeDescriptor BytecodeDescriptor


typedef struct {
	sqInt (*primitiveGenerator )(void);
	sqInt	primNumArgs;
	sqInt	primMayCallBack;
 } PrimitiveDescriptor;

#define CogPrimitiveDescriptor PrimitiveDescriptor


typedef struct {
	AbstractInstruction *jmpToFallbackCode;
	AbstractInstruction *jmpSamplePrim;
	AbstractInstruction *continuePostSamplePrim;
	AbstractInstruction *jmpSampleNonPrim;
	AbstractInstruction *continuePostSampleNonPrim;
 } CogPrimitiveCallState;


typedef struct {
	char	type;
	char	spilled;
	signed char	liveRegister;
	signed char	registerr;
	sqInt	offset;
	sqInt	constant;
	sqInt	bcptr;
 } SimStackEntry;

#define CogSimStackEntry SimStackEntry


typedef struct {
	AbstractInstruction *targetInstruction;
	unsigned char	simStackPtr;
	char	isTargetOfBackwardBranch;
	unsigned short	instructionIndex;
	short	simNativeStackPtr;
	unsigned short	simNativeStackSize;
 } BytecodeFixup;

#define CogSSBytecodeFixup BytecodeFixup
#define CogBytecodeFixup BytecodeFixup


typedef struct {
	sqInt	isReceiverResultRegLive;
	CogSimStackEntry *ssEntry;
 } CogSSOptStatus;



/*** Function Prototypes ***/


#if !PRODUCTION && defined(PlatformNoDbgRegParms)
# define NoDbgRegParms PlatformNoDbgRegParms
#endif

#if !defined(NoDbgRegParms)
# define NoDbgRegParms /*empty*/
#endif



#if !defined(NeverInline)
# define NeverInline /*empty*/
#endif

static AbstractInstruction * NoDbgRegParms addDependent(AbstractInstruction * self_in_addDependent, AbstractInstruction *_anInstruction);
static sqInt NoDbgRegParms availableVectorRegisterOrNoneFor(AbstractInstruction * self_in_availableVectorRegisterOrNoneFor, sqInt _liveRegsMask);
static sqInt NoDbgRegParms concretizeAt(AbstractInstruction * self_in_concretizeAt, sqInt _actualAddress);
static AbstractInstruction * NoDbgRegParms genCaptureCStackPointers(AbstractInstruction * self_in_genCaptureCStackPointers, sqInt _captureFramePointer);
static AbstractInstruction * NoDbgRegParms genMoveM32rR(AbstractInstruction * self_in_genMoveM32rR, sqInt _offset, sqInt _baseReg, sqInt _destReg);
static AbstractInstruction * NoDbgRegParms genWriteCResultIntoReg(AbstractInstruction * self_in_genWriteCResultIntoReg, sqInt _abstractRegister);
static sqInt NoDbgRegParms isJump(AbstractInstruction * self_in_isJump);
static AbstractInstruction * NoDbgRegParms relocateJumpLongBeforeFollowingAddressby(AbstractInstruction * self_in_relocateJumpLongBeforeFollowingAddressby, sqInt _pc, sqInt _delta);
static AbstractInstruction * NoDbgRegParms relocateJumpLongConditionalBeforeFollowingAddressby(AbstractInstruction * self_in_relocateJumpLongConditionalBeforeFollowingAddressby, sqInt _pc, sqInt _delta);
static AbstractInstruction * NoDbgRegParms resolveJumpTarget(AbstractInstruction * self_in_resolveJumpTarget);
static sqInt NoDbgRegParms unalignedLongAt(AbstractInstruction * self_in_unalignedLongAt, sqInt _byteAddress);
static sqInt NoDbgRegParms isBranch(BytecodeDescriptor * self_in_isBranch);
static usqInt NoDbgRegParms concretizeArithCwR(AbstractInstruction * self_in_concretizeArithCwR, sqInt _x64opcode);
static usqInt NoDbgRegParms concretizeMovePatcheableC32R(AbstractInstruction * self_in_concretizeMovePatcheableC32R);
static usqInt NoDbgRegParms inlineCacheTagAt(AbstractInstruction * self_in_inlineCacheTagAt, sqInt _callSiteReturnAddress);
static sqInt NoDbgRegParms isPCDependent(AbstractInstruction * self_in_isPCDependent);
static usqInt NoDbgRegParms literal32BeforeFollowingAddress(AbstractInstruction * self_in_literal32BeforeFollowingAddress, sqInt _followingAddress);
static sqInt NoDbgRegParms literalBeforeFollowingAddress(AbstractInstruction * self_in_literalBeforeFollowingAddress, sqInt _followingAddress);
static usqInt NoDbgRegParms sizePCDependentInstructionAt(AbstractInstruction * self_in_sizePCDependentInstructionAt, sqInt _eventualAbsoluteAddress);
static AbstractInstruction * NoDbgRegParms storeLiteralbeforeFollowingAddress(AbstractInstruction * self_in_storeLiteralbeforeFollowingAddress, sqInt _literal, sqInt _followingAddress);
static AbstractInstruction * NoDbgRegParms gAddCqR(sqInt _quickConstant, sqInt _reg);
#if FEATURE_JIT_SIMD
static AbstractInstruction * NoDbgRegParms gAlignedSt1SVrRMw(sqInt _aSize, sqInt _aVectorRegister, sqInt _aMemoryRegister, sqInt _anOffset);
#endif /* FEATURE_JIT_SIMD */
static AbstractInstruction * NoDbgRegParms gAndCqR(sqInt _quickConstant, sqInt _reg);
static AbstractInstruction * NoDbgRegParms gAndCqRR(sqInt _quickConstant, sqInt _srcReg, sqInt _destReg);
extern sqInt abortOffset(void);
static sqInt NoDbgRegParms abstractInstructionfollows(AbstractInstruction *_theAbstractInstruction, AbstractInstruction *_anAbstractInstruction);
extern void addCogMethodsToHeapMap(void);
static sqInt NoDbgRegParms addressIsInFixups(BytecodeFixup *_address);
static sqInt NoDbgRegParms addressIsInInstructions(AbstractInstruction *_address);
static sqInt NoDbgRegParms addressOfEndOfCaseinCPIC(sqInt _n, CogMethod *_cPIC);
static sqInt NoDbgRegParms alignUptoRoutineBoundary(sqInt _anAddress);
static sqInt allMachineCodeObjectReferencesValid(void);
static sqInt allMethodsHaveCorrectHeader(void);
static AbstractInstruction * NoDbgRegParms annotateAbsolutePCRef(AbstractInstruction *_abstractInstruction);
static AbstractInstruction * NoDbgRegParms annotateBytecode(AbstractInstruction *_abstractInstruction);
static AbstractInstruction * NoDbgRegParms annotateobjRef(AbstractInstruction *_abstractInstruction, sqInt _anOop);
static void NoDbgRegParms assertSaneJumpTarget(AbstractInstruction *_jumpTarget);
extern sqInt bytecodePCForstartBcpcin(sqInt _mcpc, sqInt _startbcpc, CogMethod *_cogMethod);
static AbstractInstruction * NoDbgRegParms CallRTregistersToBeSavedMask(sqInt _callTarget, sqInt _registersToBeSaved);
static AbstractInstruction * NoDbgRegParms gCall(sqInt _callTarget);
static AbstractInstruction * NoDbgRegParms gCmpCqR(sqInt _quickConstant, sqInt _reg);
static AbstractInstruction * NoDbgRegParms gCmpCwR(sqInt _wordConstant, sqInt _reg);
static sqInt NoDbgRegParms cacheTagIsSelectorForAnnotationandEntryPoint(sqInt _annotation, sqInt _entryPoint);
extern void callCogCodePopReceiver(void);
extern void callCogCodePopReceiverAndClassRegs(void);
extern sqInt ceCPICMissreceiver(CogMethod *_cPIC, sqInt _receiver);
extern void ceFree(void *_pointer);
extern void* ceMalloc(size_t _size);
extern sqInt ceSICMiss(sqInt _receiver);
extern void checkAssertsEnabledInCogit(void);
static sqInt checkCFramePointerInUse(void);
static sqInt NoDbgRegParms checkIfValidOopRefAndTargetpccogMethod(sqInt _annotation, char *_mcpc, sqInt _cogMethod);
static sqInt NoDbgRegParms checkIfValidOopRefpccogMethod(sqInt _annotation, char *_mcpc, sqInt _cogMethod);
extern sqInt checkIntegrityOfObjectReferencesInCode(sqInt gcModes);
static sqInt NoDbgRegParms checkMaybeObjRefInClosedPIC(sqInt _maybeObject);
static sqInt NoDbgRegParms checkValidObjectReferencesInClosedPIC(CogMethod *_cPIC);
static sqInt NoDbgRegParms NeverInline cleanUpFailingCogCodeConstituents(CogMethod *_cogMethodArg);
static sqInt NoDbgRegParms closedPICRefersToUnmarkedObject(CogMethod *_cPIC);
extern char * codeEntryFor(char *_address);
extern char * codeEntryNameFor(char *_address);
extern sqInt cogCodeBase(void);
extern sqInt cogCodeConstituents(sqInt _withDetails);
static sqInt NoDbgRegParms cogExtendPICCaseNMethodtagisMNUCase(CogMethod *_cPIC, sqInt _caseNMethod, sqInt _caseNTag, sqInt _isMNUCase);
extern CogMethod * cogFullBlockMethodnumCopied(sqInt _aMethodObj, sqInt _numCopied);
extern void cogitPostGCAction(sqInt _gcMode);
extern sqInt cogMethodDoesntLookKosher(CogMethod *_cogMethod);
extern void cogMethodIfPossibleselector(sqInt _methodOrSelectorIndex, sqInt _selector);
extern CogMethod * cogMNUPICSelectorreceivermethodOperandnumArgs(sqInt _selector, sqInt _rcvr, sqInt _methodOperand, sqInt _numArgs);
static CogMethod * NoDbgRegParms cogOpenPICSelectornumArgs(sqInt _selector, sqInt _numArgs);
static CogMethod * NoDbgRegParms cogPICSelectornumArgsCase0MethodCase1MethodtagisMNUCase(sqInt _selector, sqInt _numArgs, CogMethod *_case0CogMethod, sqInt _case1MethodOrNil, sqInt _case1Tag, sqInt _isMNUCase);
extern CogMethod * cogselector(sqInt _aMethodObj, sqInt _aSelectorOop);
static sqInt NoDbgRegParms collectCogConstituentForAnnotationMcpcBcpcMethod(BytecodeDescriptor *_descriptor, sqInt _isBackwardBranchAndAnnotation, char *_mcpc, sqInt _bcpc, void *cogMethodArg);
static sqInt NoDbgRegParms collectCogMethodConstituent(CogMethod *_cogMethod);
extern void compactCogCompiledCode(void);
static void compactPICsWithFreedTargets(void);
static AbstractInstruction * compileAbort(void);
static void NoDbgRegParms compileCallFornumArgsargargargargresultRegregsToSave(void *_aRoutine, sqInt _numArgs, sqInt _regOrConst0, sqInt _regOrConst1, sqInt _regOrConst2, sqInt _regOrConst3, sqInt _resultRegOrNone, sqInt _regMask);
static AbstractInstruction * compileCPICEntry(void);
static sqInt NoDbgRegParms compileEntireFullBlockMethod(sqInt _numCopied);
static void compileEntry(void);
static sqInt compileFullBlockEntry(void);
static sqInt compileMethodBody(void);
static sqInt NoDbgRegParms compilePICAbort(sqInt _numArgs);
static void NoDbgRegParms compileTrampolineFornumArgsargargargargregsToSavepushLinkRegresultReg(void *_aRoutine, sqInt _numArgs, sqInt _regOrConst0, sqInt _regOrConst1, sqInt _regOrConst2, sqInt _regOrConst3, sqInt _regMask, sqInt _pushLinkReg, sqInt _resultRegOrNone);
static void computeEntryOffsets(void);
static void computeFullBlockEntryOffsets(void);
static void computeMaximumSizes(void);
static sqInt NoDbgRegParms configureCPICCase0Case1MethodtagisMNUCase(CogMethod *_aPIC, CogMethod *_case0CogMethod, sqInt _case1Method, sqInt _case1Tag, sqInt _isMNUCase);
static sqInt NoDbgRegParms configureMNUCPICmethodOperand(CogMethod *_aPIC, sqInt _methodOop);
static sqInt NoDbgRegParms cPICCompactAndIsNowEmpty(CogMethod *_cPIC);
static sqInt NoDbgRegParms cPICHasForwardedClass(CogMethod *_cPIC);
static sqInt NoDbgRegParms cPICHasFreedTargets(CogMethod *_cPIC);
static sqInt cPICPrototypeCaseOffset(void);
static sqInt NoDbgRegParms cPICHasTarget(CogMethod *_cPIC, CogMethod *_targetMethod);
static sqInt NoDbgRegParms createCPICData(CogMethod *_cPIC);
static AbstractInstruction * NoDbgRegParms gDivRRQuoRem(sqInt _rDivisor, sqInt _rDividend, sqInt _rQuotient, sqInt _rRemainder);
#if FEATURE_JIT_SIMD
static AbstractInstruction * NoDbgRegParms gDupSRVr(sqInt _aSize, sqInt _aGeneralRegister, sqInt _aVectorRegister);
#endif /* FEATURE_JIT_SIMD */
extern sqInt defaultCogCodeSize(void);
static sqInt NoDbgRegParms deltaToSkipPrimAndErrorStoreInheader(sqInt _aMethodObj, sqInt _aMethodHeader);
static sqInt NoDbgRegParms endPCOf(sqInt _aMethod);
static void NoDbgRegParms ensureAndClearAbstractOpcodes(sqInt _numberOfAbstractOpcodes);
extern void enterCogCodePopReceiver(void);
static sqInt NoDbgRegParms expectedClosedPICPrototype(CogMethod *_cPIC);
static sqInt extABytecode(void);
static sqInt extBBytecode(void);
static AbstractInstruction * NoDbgRegParms gFaddSRvRvRv(sqInt _aSize, sqInt _vectorRegister1, sqInt _vectorRegister2, sqInt _vectorRegisterSum);
static AbstractInstruction * NoDbgRegParms gFsubSRvRvRv(sqInt _aSize, sqInt _minuendVectorRegister, sqInt _subtrahendVectorRegister, sqInt _vectorRegisterSum);
static CogMethod * NoDbgRegParms fillInMethodHeadersizeselector(CogMethod *method, sqInt _size, sqInt _selector);
static sqInt NoDbgRegParms findBackwardBranchIsBackwardBranchMcpcBcpcMatchingBcpc(BytecodeDescriptor *descriptor, sqInt _isBackwardBranchAndAnnotation, char *_mcpc, sqInt _bcpc, void *_targetBcpc);
static sqInt NoDbgRegParms findIsBackwardBranchMcpcBcpcMatchingMcpc(BytecodeDescriptor *_descriptor, sqInt _isBackwardBranchAndAnnotation, char *_mcpc, sqInt _bcpc, void *_targetMcpc);
static sqInt firstPrototypeMethodOop(void);
static BytecodeFixup * NoDbgRegParms fixupAt(sqInt _fixupPC);
extern void followForwardedLiteralsIn(CogMethod *_cogMethod);
extern void followForwardedMethods(void);
static sqInt NoDbgRegParms followMaybeObjRefInClosedPICAt(sqInt _mcpc);
static sqInt NoDbgRegParms followMethodReferencesInClosedPIC(CogMethod *_cPIC);
extern void freeUnmarkedMachineCode(void);
static AbstractInstruction * NoDbgRegParms genCallMustBeBooleanFor(sqInt _boolean);
static sqInt genCheckForInterruptsTrampoline(void);
static AbstractInstruction * NoDbgRegParms genConditionalBranchoperand(sqInt _opcode, sqInt _operandOne);
static void (*genEnilopmartForandandforCallcalled(sqInt _regArg1, sqInt _regArg2OrNone, sqInt _regArg3OrNone, sqInt _forCall, char *_trampolineName))(void) ;
static void NoDbgRegParms genEnilopmartReturn(sqInt _forCall);
static void NoDbgRegParms generateCaptureCStackPointers(sqInt _captureFramePointer);
static void generateClosedPICPrototype(void);
static CogMethod * generateCogFullBlock(void);
static CogMethod * NoDbgRegParms generateCogMethod(sqInt _selector);
static sqInt NoDbgRegParms generateMapAtstart(usqInt _addressOrNull, usqInt _startAddress);
static void generateOpenPICPrototype(void);
static void generateReturnToInterpreterPCTrampoline(void);
static void generateRunTimeTrampolines(void);
static void generateStackPointerCapture(void);
static void generateTrampolines(void);
static BytecodeDescriptor * NoDbgRegParms generatorForPC(sqInt _pc);
static void genGetLeafCallStackPointer(void);
static sqInt NoDbgRegParms genInnerPICAbortTrampoline(char *_name);
static sqInt genLoadCStackPointersForPrimCall(void);
static void NoDbgRegParms genLoadInlineCacheWithSelector(sqInt _selectorIndex);
static sqInt genNonLocalReturnTrampoline(void);
static sqInt NoDbgRegParms genReturnTrampolineForcalledarg(void *_aRoutine, char *_aString, sqInt _regOrConst0);
static sqInt NoDbgRegParms genSmalltalkToCStackSwitch(sqInt _pushLinkReg);
static sqInt NoDbgRegParms genTrampolineForcalled(void *_aRoutine, char *_aString);
static sqInt NoDbgRegParms genTrampolineForcalledarg(void *_aRoutine, char *_aString, sqInt _regOrConst0);
static sqInt NoDbgRegParms genTrampolineForcalledargargargresult(void *_aRoutine, char *_aString, sqInt _regOrConst0, sqInt _regOrConst1, sqInt _regOrConst2, sqInt _resultReg);
static sqInt NoDbgRegParms genTrampolineForcalledargargregsToSave(void *_aRoutine, char *_aString, sqInt _regOrConst0, sqInt _regOrConst1, sqInt _regMask);
static sqInt NoDbgRegParms genTrampolineForcalledargargresult(void *_aRoutine, char *_aString, sqInt _regOrConst0, sqInt _regOrConst1, sqInt _resultReg);
static sqInt NoDbgRegParms genTrampolineForcalledargregsToSave(void *_aRoutine, char *_aString, sqInt _regOrConst0, sqInt _regMask);
static sqInt NoDbgRegParms genTrampolineForcalledargresult(void *_aRoutine, char *_aString, sqInt _regOrConst0, sqInt _resultReg);
static sqInt NoDbgRegParms genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(void *_aRoutine, char *_trampolineName, sqInt _numArgs, sqInt _regOrConst0, sqInt _regOrConst1, sqInt _regOrConst2, sqInt _regOrConst3, sqInt _regMask, sqInt _pushLinkReg, sqInt _resultRegOrNone, sqInt _appendBoolean);
static sqInt NoDbgRegParms genTrampolineForcalledregsToSave(void *_aRoutine, char *_aString, sqInt _regMask);
static AbstractInstruction * NoDbgRegParms gen(sqInt _opcode);
static AbstractInstruction * NoDbgRegParms genoperand(sqInt _opcode, sqInt _operand);
static AbstractInstruction * NoDbgRegParms genoperandoperand(sqInt _opcode, sqInt _operandOne, sqInt _operandTwo);
static AbstractInstruction * NoDbgRegParms genoperandoperandoperand(sqInt _opcode, sqInt _operandOne, sqInt _operandTwo, sqInt _operandThree);
static AbstractInstruction * NoDbgRegParms genoperandoperandoperandoperand(sqInt _opcode, sqInt _operandOne, sqInt _operandTwo, sqInt _operandThree, sqInt _operandFour);
extern sqInt getBlockCompilationCount(void);
extern sqInt getBlockCompilationMSecs(void);
static sqInt NoDbgRegParms getLiteral(sqInt _litIndex);
extern sqInt getMethodCompilationCount(void);
extern sqInt getMethodCompilationMSecs(void);
static sqInt NoDbgRegParms incrementUsageOfTargetIfLinkedSendmcpcignored(sqInt _annotation, char *_mcpc, sqInt superfluity);
static sqInt NoDbgRegParms indexForSelectorinat(sqInt _selector, CogMethod *_cogMethod, sqInt _mcpc);
static sqInt initialClosedPICUsageCount(void);
static void initializeBackend(void);
extern void initializeCodeZoneFromupTo(sqInt _startAddress, sqInt _endAddress);
static void NoDbgRegParms initializePICatDeltanumArgs(CogMethod *_aPIC, sqInt _addrDelta, sqInt _numArgs);
static sqInt initialMethodUsageCount(void);
static sqInt initialOpenPICUsageCount(void);
static sqInt NoDbgRegParms inlineCacheValueForSelectorinat(sqInt _selector, CogMethod *_aCogMethod, sqInt _mcpc);
static sqInt NoDbgRegParms inverseBranchFor(sqInt _opcode);
static sqInt isMNUPicAbortDiscriminatorValue(void);
static sqInt NoDbgRegParms isPCMappedAnnotation(sqInt _annotation);
extern sqInt isPCWithinMethodZone(void *_address);
extern sqInt isSendReturnPC(sqInt _retpc);
static AbstractInstruction * NoDbgRegParms gJumpFPEqual(void *_jumpTarget);
static AbstractInstruction * NoDbgRegParms gJumpFPGreaterOrEqual(void *_jumpTarget);
static AbstractInstruction * NoDbgRegParms gJumpFPGreater(void *_jumpTarget);
static AbstractInstruction * NoDbgRegParms gJumpFPNotEqual(void *_jumpTarget);
static AbstractInstruction * NoDbgRegParms gLd1SVrRMw(sqInt _aSize, sqInt _aVectorRegister, sqInt _aMemoryRegister, sqInt _anOffset);
static AbstractInstruction * NoDbgRegParms gLogicalShiftLeftCqR(sqInt _quickConstant, sqInt _reg);
static AbstractInstruction * lastOpcode(void);
extern void linkSendAtintooffsetreceiver(sqInt _callSiteReturnAddress, CogMethod *sendingMethod, CogMethod *_targetMethod, sqInt _theEntryOffset, sqInt _receiver);
static BytecodeDescriptor * loadBytesAndGetDescriptor(void);
static void NoDbgRegParms loadSubsequentBytesForDescriptorat(BytecodeDescriptor *_descriptor, sqInt _pc);
static AbstractInstruction * NoDbgRegParms gMoveAwR(sqInt _address, sqInt _reg);
static AbstractInstruction * NoDbgRegParms gMoveCwR(sqInt _wordConstant, sqInt _reg);
static sqInt NoDbgRegParms mapForperformUntilarg(CogMethod *_cogMethod, sqInt (*_functionSymbol)(sqInt annotation, char *mcpc, sqInt arg), sqInt _arg);
static sqInt NoDbgRegParms mapObjectReferencesInClosedPIC(CogMethod *_cPIC);
static void mapObjectReferencesInGeneratedRuntime(void);
static void mapObjectReferencesInMachineCodeForBecome(void);
static void mapObjectReferencesInMachineCodeForFullGC(void);
static void mapObjectReferencesInMachineCodeForYoungGC(void);
extern void mapObjectReferencesInMachineCode(sqInt _gcMode);
extern void markAndTraceMachineCodeOfMarkedMethods(void);
static void markAndTraceObjectReferencesInGeneratedRuntime(void);
static sqInt NoDbgRegParms markAndTraceOrFreeCogMethodfirstVisit(CogMethod *_cogMethod, sqInt _firstVisit);
static sqInt NoDbgRegParms markAndTraceOrFreePICTargetin(sqInt _entryPoint, CogMethod *_cPIC);
static sqInt NoDbgRegParms markLiteralsAndUnlinkIfUnmarkedSendpcmethod(sqInt _annotation, char *_mcpc, sqInt _cogMethod);
static sqInt NoDbgRegParms markLiteralspcmethod(sqInt _annotation, char *_mcpc, sqInt _cogMethod);
extern void markMethodAndReferents(CogMethod *_aCogMethod);
extern usqInt maxCogMethodAddress(void);
static sqInt NoDbgRegParms maybeFreeCogMethodDoesntLookKosher(CogMethod *_cogMethod);
static void NoDbgRegParms maybeMarkCountersIn(CogMethod *cogMethod);
static sqInt mclassIsSmallInteger(void);
extern usqInt mcPCForBackwardBranchstartBcpcin(sqInt _bcpc, sqInt _startbcpc, CogMethod *_cogMethod);
static sqInt NoDbgRegParms methodhasSameCodeAscheckPenultimate(sqInt _methodA, sqInt _methodB, sqInt _comparePenultimateLiteral);
extern sqInt minCogMethodAddress(void);
extern sqInt mnuOffset(void);
static sqInt NoDbgRegParms needsFrameIfImmutability(sqInt stackDelta);
static sqInt NoDbgRegParms needsFrameIfInBlock(sqInt stackDelta);
static sqInt NoDbgRegParms needsFrameNever(sqInt stackDelta);
static sqInt NoDbgRegParms noAssertMethodClassAssociationOf(sqInt _methodPointer);
static sqInt noCogMethodsMaximallyMarked(void);
static sqInt NoDbgRegParms noTargetsFreeInClosedPIC(CogMethod *_cPIC);
static sqInt NoDbgRegParms outputInstructionsAt(sqInt _startAddress);
static sqInt NoDbgRegParms outputInstructionsForGeneratedRuntimeAt(sqInt _startAddress);
static AbstractInstruction * NoDbgRegParms gPushCw(sqInt _wordConstant);
extern sqInt patchToMegamorphicICFornumArgsreceiver(sqInt _selector, sqInt _numArgs, sqInt _receiver);
static usqIntptr_t NoDbgRegParms picAbortAddress(CogMethod *_cPIC);
static sqInt picInterpretAbortOffset(void);
extern void printCogMethodFor(void *_address);
extern void printTrampolineTable(void);
extern void printWhereIs(void *_address);
static sqInt processorHasDivQuoRemAndMClassIsSmallInteger(void);
static sqInt processorHasMultiplyAndMClassIsSmallInteger(void);
static void NoDbgRegParms recordGeneratedRunTimeaddress(char *_aString, sqInt _address);
extern sqInt recordPrimTraceFunc(void);
static void recordRunTimeObjectReferences(void);
static sqInt NoDbgRegParms registerMaskFor(sqInt _reg);
static sqInt NoDbgRegParms registerMaskForand(sqInt _reg1, sqInt _reg2);
static void NoDbgRegParms relocateCallsAndSelfReferencesInMethod(CogMethod *_cogMethod);
static void NoDbgRegParms relocateCallsInClosedPIC(CogMethod *_cPIC);
static sqInt NoDbgRegParms relocateIfCallOrMethodReferencemcpcdelta(sqInt _annotation, char *_mcpc, sqInt _refDelta);
static sqInt NoDbgRegParms remapIfObjectRefpchasYoung(sqInt _annotation, char *_mcpc, sqInt _hasYoungPtr);
static sqInt NoDbgRegParms remapMaybeObjRefInClosedPICAt(sqInt _mcpc);
static void NoDbgRegParms rewritePICCaseAttagobjReftarget(sqInt _followingAddress, sqInt _newTag, sqInt _newObjRef, sqInt _newTarget);
#if FEATURE_JIT_SIMD
static AbstractInstruction * NoDbgRegParms gSt1SVrRMw(sqInt _aSize, sqInt _aVectorRegister, sqInt _aMemoryRegister, sqInt _anOffset);
#endif /* FEATURE_JIT_SIMD */
extern void safeFreeMethod(sqInt _cogMethod);
extern void setHeaderOopOfto(CogMethod *_cogMethod, sqInt _aMethodHeaderOop);
extern void setPostCompileHook(void (*_aFunction)(CogMethod *));
extern void setSelectorOfto(CogMethod *_cogMethod, sqInt _aSelectorOop);
extern int sizeOfTrampoline(char *_address);
static sqInt subsequentPrototypeMethodOop(void);
static AbstractInstruction * NoDbgRegParms gTstCqR(sqInt _quickConstant, sqInt _reg);
extern sqInt traceLinkedSendOffset(void);
static sqInt NoDbgRegParms trampolineArgConstant(sqInt _booleanOrInteger);
static char * NoDbgRegParms trampolineNamenumArgs(char *_routinePrefix, sqInt _numArgs);
static char * NoDbgRegParms trampolineNamenumArgslimit(char *_routinePrefix, int _numArgs, sqInt _argsLimit);
static char * NoDbgRegParms trampolineNamenumRegArgs(char *_routinePrefix, sqInt _numArgs);
static sqInt unknownBytecode(void);
extern void unlinkAllSends(void);
static sqInt NoDbgRegParms unlinkIfFreeOrLinkedSendpcof(sqInt _annotation, char *_mcpc, sqInt _theSelector);
static sqInt NoDbgRegParms unlinkIfInvalidClassSendpcignored(sqInt _annotation, char *_mcpc, sqInt superfluity);
static sqInt NoDbgRegParms unlinkIfLinkedSendToFreepcignored(sqInt _annotation, char *_mcpc, sqInt superfluity);
static sqInt NoDbgRegParms unlinkIfLinkedSendpcignored(sqInt _annotation, char *_mcpc, sqInt superfluity);
static sqInt NoDbgRegParms unlinkIfLinkedSendpcto(sqInt _annotation, char *_mcpc, sqInt _theCogMethod);
extern void unlinkSendsLinkedForInvalidClasses(void);
extern void unlinkSendsOfisMNUSelector(sqInt _selector, sqInt _isMNUSelector);
extern void unlinkSendsToFree(void);
extern void unlinkSendsToandFreeIf(sqInt _targetMethodObject, sqInt _freeIfTrue);
static void zeroOpcodeIndex(void);
static void zeroOpcodeIndexForNewOpcodes(void);
static sqInt NoDbgRegParms counters(CogMethod * self_in_counters);
extern void addAllToYoungReferrers(void);
static void NoDbgRegParms addToMegamorphicICList(CogMethod *_anOpenPIC);
static void NoDbgRegParms addToYoungReferrers(CogMethod *_cogMethod);
static usqInt NoDbgRegParms allocate(sqInt _numBytes);
static void clearCogCompiledCode(void);
static void compactCompiledCode(void);
static void NoDbgRegParms ensureInYoungReferrers(CogMethod *_cogMethod);
static void followForwardedLiteralsInOpenPICList(void);
extern void freeMethod(CogMethod *_cogMethod);
static void freeOlderMethodsForCompaction(void);
static sqInt kosherYoungReferrers(void);
static void NoDbgRegParms manageFromto(sqInt _theStartAddress, sqInt _theLimitAddress);
extern CogMethod * methodFor(void *_address);
extern sqInt methodsCompiledToMachineCodeInto(sqInt _arrayObj);
extern sqInt numMethods(void);
extern sqInt numMethodsOfType(sqInt _cogMethodType);
static sqInt NoDbgRegParms occurrencesInYoungReferrers(CogMethod *_cogMethod);
static CogMethod * NoDbgRegParms openPICWithSelector(sqInt _aSelector);
static void planCompaction(void);
extern void printCogMethods(void);
extern void printCogMethodsOfType(sqInt _cmType);
extern void printCogMethodsWithMethod(sqInt _methodOop);
extern void printCogMethodsWithPrimitive(sqInt _primIdx);
extern void printCogMethodsWithSelector(sqInt _selectorOop);
extern void printCogYoungReferrers(void);
extern sqInt printOpenPICList(void);
static sqInt pruneYoungReferrers(void);
static sqInt relocateAndPruneYoungReferrers(void);
static sqInt relocateMethodsPreCompaction(void);
static sqInt NoDbgRegParms removeFromOpenPICList(CogMethod *_anOpenPIC);
static void voidOpenPICList(void);
static void voidYoungReferrersPostTenureAll(void);
extern char * whereIsMaybeCodeThing(sqInt _anOop);
static sqInt zoneAlignment(void);
static sqInt NoDbgRegParms checkValidObjectReference(sqInt _anOop);
static AbstractInstruction * NoDbgRegParms genCmpClassFloatCompactIndexR(sqInt _reg);
static sqInt NoDbgRegParms genGetMethodHeaderOfintoscratch(sqInt _methodReg, sqInt _headerReg, sqInt _scratchReg);
static sqInt NoDbgRegParms genLoadSlotsourceRegdestReg(sqInt _index, sqInt _sourceReg, sqInt _destReg);
static sqInt genNonImplementedPrimitive(void);
static sqInt genPrimitiveAdd(void);
static sqInt genPrimitiveAsFloat(void);
static sqInt genPrimitiveBitAnd(void);
static sqInt genPrimitiveBitOr(void);
static sqInt genPrimitiveBitShift(void);
static sqInt genPrimitiveBitXor(void);
static sqInt genPrimitiveClass(void);
static sqInt genPrimitiveDiv(void);
static sqInt genPrimitiveDivide(void);
static sqInt genPrimitiveEqual(void);
static sqInt genPrimitiveFloatAdd(void);
static sqInt genPrimitiveFloatDivide(void);
static sqInt genPrimitiveFloatEqual(void);
static sqInt genPrimitiveFloatGreaterOrEqual(void);
static sqInt genPrimitiveFloatGreaterThan(void);
static sqInt genPrimitiveFloatLessOrEqual(void);
static sqInt genPrimitiveFloatLessThan(void);
static sqInt genPrimitiveFloatMultiply(void);
static sqInt genPrimitiveFloatNotEqual(void);
static sqInt genPrimitiveFloatSquareRoot(void);
static sqInt genPrimitiveFloatSubtract(void);
static sqInt genPrimitiveFormat(void);
static sqInt genPrimitiveGreaterOrEqual(void);
static sqInt genPrimitiveGreaterThan(void);
static sqInt genPrimitiveIdentical(void);
static sqInt genPrimitiveLessOrEqual(void);
static sqInt genPrimitiveLessThan(void);
static sqInt genPrimitiveMod(void);
static sqInt genPrimitiveMultiply(void);
static sqInt genPrimitiveNewMethod(void);
static sqInt genPrimitiveNotEqual(void);
static sqInt genPrimitiveNotIdentical(void);
static sqInt genPrimitiveQuo(void);
static sqInt genPrimitiveSmallFloatAdd(void);
static sqInt genPrimitiveSmallFloatDivide(void);
static sqInt genPrimitiveSmallFloatEqual(void);
static sqInt genPrimitiveSmallFloatGreaterOrEqual(void);
static sqInt genPrimitiveSmallFloatGreaterThan(void);
static sqInt genPrimitiveSmallFloatLessOrEqual(void);
static sqInt genPrimitiveSmallFloatLessThan(void);
static sqInt genPrimitiveSmallFloatMultiply(void);
static sqInt genPrimitiveSmallFloatNotEqual(void);
static sqInt genPrimitiveSmallFloatSquareRoot(void);
static sqInt genPrimitiveSmallFloatSubtract(void);
static sqInt genPrimitiveSubtract(void);
static sqInt NoDbgRegParms genSmallIntegerComparison(sqInt _jumpOpcode);
static sqInt NoDbgRegParms genSmallIntegerComparisonorDoubleComparisoninvert(sqInt _jumpOpcode, AbstractInstruction * NoDbgRegParms (*_jumpFPOpcodeGenerator)(void *), sqInt _invertComparison);
static sqInt NoDbgRegParms isUnannotatableConstant(CogSimStackEntry *_simStackEntry);
static sqInt NoDbgRegParms classForInlineCacheTag(sqInt _classIndex);
static sqInt NoDbgRegParms genAddSmallIntegerTagsTo(sqInt _aRegister);
static AbstractInstruction * NoDbgRegParms genAlloc64BitPositiveIntegerValueintoscratchRegscratchReg(sqInt _valueReg, sqInt _resultReg, sqInt _scratch1, sqInt scratch2);
static AbstractInstruction * NoDbgRegParms genAlloc64BitSignedIntegerValueintoscratchRegscratchReg(sqInt _valueReg, sqInt _resultReg, sqInt _scratch1, sqInt scratch2);
static AbstractInstruction * NoDbgRegParms genAllocFloatValueintoscratchRegscratchReg(sqInt _dpreg, sqInt _resultReg, sqInt _scratch1, sqInt scratch2);
static AbstractInstruction * NoDbgRegParms genBoxedOrSmallFloatscratchReginto(sqInt _floatOopReg, sqInt _scratchReg, sqInt _destReg);
static sqInt NoDbgRegParms genClearAndSetSmallIntegerTagsIn(sqInt _scratchReg);
static sqInt NoDbgRegParms genConvertBitsToSmallFloatInscratch(sqInt _reg, sqInt scratch);
static void NoDbgRegParms genConvertCharacterToSmallIntegerInReg(sqInt _reg);
static void NoDbgRegParms genConvertDataFormatnumSlotsintoBytes(sqInt _formatReg, sqInt _slotsRegister, sqInt _destReg);
static sqInt NoDbgRegParms genConvertIntegerToSmallIntegerInReg(sqInt _reg);
static sqInt NoDbgRegParms genConvertSmallFloatToSmallFloatHashAsIntegerInRegscratch(sqInt _reg, sqInt _scratch);
static void NoDbgRegParms genConvertSmallIntegerToCharacterInReg(sqInt _reg);
static sqInt NoDbgRegParms genConvertSmallIntegerToIntegerInReg(sqInt _reg);
static sqInt NoDbgRegParms genFloatArithmeticpreOpCheckboxed(sqInt _arithmeticOperator, AbstractInstruction *(*_preOpCheckOrNil)(int rcvrReg, int argReg), sqInt _rcvrBoxed);
static sqInt NoDbgRegParms genFloatComparisoninvertboxed(AbstractInstruction *(*_jumpOpcodeGenerator)(void *), sqInt _invertComparison, sqInt _rcvrBoxed);
static sqInt NoDbgRegParms genGetHashFieldNonImmOfasSmallIntegerInto(sqInt _instReg, sqInt _destReg);
static sqInt NoDbgRegParms genGetHashFieldNonImmOfinto(sqInt _instReg, sqInt _destReg);
static AbstractInstruction * NoDbgRegParms genGetInlineCacheClassTagFrominto(sqInt _sourceReg, sqInt _destReg);
static sqInt NoDbgRegParms genGetNumBytesOfinto(sqInt _srcReg, sqInt _destReg);
static sqInt NoDbgRegParms genGetOverflowSlotsOfinto(sqInt _srcReg, sqInt _destReg);
static sqInt NoDbgRegParms genGetSmallFloatValueOfscratchinto(sqInt _oopReg, sqInt _scratch, sqInt _dpReg);
static AbstractInstruction * NoDbgRegParms genIntegerTo64BitPositiveIntegerValueintoscratchRegscratchReg(sqInt _valueReg, sqInt _resultReg, sqInt _scratch1, sqInt _scratch2);
static AbstractInstruction * NoDbgRegParms genIntegerTo64BitSignedIntegerValueintoscratchRegscratchReg(sqInt _valueReg, sqInt _resultReg, sqInt _scratch1, sqInt _scratch2);
static AbstractInstruction * NoDbgRegParms genJumpIsSmallIntegerValuescratch(sqInt _aRegister, sqInt _scratchReg);
static AbstractInstruction * NoDbgRegParms genJumpNotCharacter(sqInt _reg);
static AbstractInstruction * NoDbgRegParms genJumpNotSmallFloatValueBitsscratch(sqInt _reg, sqInt _exponent);
static AbstractInstruction * NoDbgRegParms genJumpNotSmallFloat(sqInt _reg);
static AbstractInstruction * NoDbgRegParms genJumpNotSmallIntegerValuescratch(sqInt _aRegister, sqInt _scratchReg);
static AbstractInstruction * NoDbgRegParms genJumpNotSmallInteger(sqInt _reg);
static AbstractInstruction * NoDbgRegParms genJumpSmallInteger(sqInt _aRegister);
static sqInt NoDbgRegParms genPrimitiveAtPutSigned(sqInt _signedVersion);
static sqInt NoDbgRegParms genPrimitiveAtSigned(sqInt _signedVersion);
static sqInt genPrimitiveIdentityHash(void);
static sqInt genPrimitiveImmediateAsInteger(void);
static sqInt genPrimitiveLoadInt32FromBytes(void);
static sqInt genPrimitiveLoadInt32FromExternalAddress(void);
static sqInt genPrimitiveLoadInt64FromBytes(void);
static sqInt genPrimitiveLoadInt64FromExternalAddress(void);
static sqInt genPrimitiveLoadUInt32FromBytes(void);
static sqInt genPrimitiveLoadUInt32FromExternalAddress(void);
static sqInt genPrimitiveLoadUInt64FromBytes(void);
static sqInt genPrimitiveLoadUInt64FromExternalAddress(void);
static sqInt genPrimitiveNew(void);
static sqInt genPrimitiveNewWithArg(void);
static sqInt genPrimitiveShallowCopy(void);
static sqInt genPrimitiveStoreInt32IntoBytes(void);
static sqInt genPrimitiveStoreInt32IntoExternalAddress(void);
static sqInt genPrimitiveStoreInt64IntoBytes(void);
static sqInt genPrimitiveStoreInt64IntoExternalAddress(void);
static sqInt genPrimitiveStoreUInt32IntoBytes(void);
static sqInt genPrimitiveStoreUInt32IntoExternalAddress(void);
static sqInt genPrimitiveStoreUInt64IntoBytes(void);
static sqInt genPrimitiveStoreUInt64IntoExternalAddress(void);
static sqInt genPrimitiveStringAt(void);
static sqInt genPrimitiveStringAtPut(void);
static sqInt NoDbgRegParms genRemoveSmallIntegerTagsInScratchReg(sqInt _scratchReg);
static sqInt NoDbgRegParms getLiteralCountOfplusOneinBytesintoscratch(sqInt _methodReg, sqInt _plusOne, sqInt _inBytes, sqInt _litCountReg, sqInt _scratchReg);
static sqInt NoDbgRegParms inlineCacheTagForInstance(sqInt _oop);
static sqInt log2BytesPerWord(void);
static void maybeGenerateSelectorIndexDereferenceRoutine(void);
static sqInt numSmallIntegerBits(void);
static sqInt numSmallIntegerTagBits(void);
static sqInt NoDbgRegParms validInlineCacheTag(sqInt _classIndexOrTagPattern);
static sqInt NoDbgRegParms cacheTagIsMarked(sqInt cacheTag);
static void callStoreCheckTrampoline(void);
static sqInt NoDbgRegParms checkValidDerivedObjectReference(sqInt _bodyAddress);
static sqInt NoDbgRegParms checkValidOopReference(sqInt _anOop);
static sqInt NoDbgRegParms couldBeDerivedObject(sqInt _bodyAddress);
static sqInt NoDbgRegParms couldBeObject(sqInt _literal);
static sqInt NoDbgRegParms genActiveContextTrampolineLargeinBlockcalled(sqInt _isLarge, sqInt _isInBlock, char *_aString);
static AbstractInstruction * NoDbgRegParms genAllocExternalAddressValueintoscratchRegscratchReg(sqInt _valueReg, sqInt _resultReg, sqInt _scratch1, sqInt scratch2);
static AbstractInstruction * NoDbgRegParms genCheckRememberedBitOfscratch(sqInt _objReg, sqInt _scratchReg);
static sqInt NoDbgRegParms genConvertCharacterToCodeInReg(sqInt _reg);
static sqInt NoDbgRegParms genConvertIntegerToCharacterInReg(sqInt _reg);
static sqInt NoDbgRegParms genCreateFullClosurenumArgsnumCopiedignoreContextcontextNumArgslargeinBlock(sqInt _compiledBlock, sqInt _numArgs, sqInt _numCopied, sqInt _ignoreContext, sqInt _contextNumArgs, sqInt _contextIsLarge, sqInt _contextIsBlock);
static sqInt NoDbgRegParms genEnsureObjInRegNotForwardedscratchReg(sqInt _reg, sqInt _scratch);
static sqInt NoDbgRegParms genEnsureOopInRegNotForwardedscratchReg(sqInt _reg, sqInt _scratch);
static sqInt NoDbgRegParms genEnsureOopInRegNotForwardedscratchRegifForwarderifNotForwarder(sqInt _reg, sqInt _scratch, sqInt _fwdJumpTarget, sqInt _nonFwdJumpTargetOrZero);
static sqInt NoDbgRegParms genEnsureOopInRegNotForwardedscratchRegupdatingSlotin(sqInt _reg, sqInt _scratch, sqInt _index, sqInt _objReg);
static void generateObjectRepresentationTrampolines(void);
static sqInt NoDbgRegParms genGetActiveContextLargeinBlock(sqInt _isLarge, sqInt _isInBlock);
static sqInt NoDbgRegParms genGetActiveContextNumArgslargeinBlock(sqInt _numArgs, sqInt _isLargeContext, sqInt _isInBlock);
static sqInt NoDbgRegParms genGetBitsofFormatByteOfinto(sqInt _mask, sqInt _sourceReg, sqInt _destReg);
static sqInt NoDbgRegParms genGetClassIndexOfNonImminto(sqInt _sourceReg, sqInt _destReg);
static sqInt NoDbgRegParms genGetClassObjectOfClassIndexintoscratchReg(sqInt _classIndexRegister, sqInt _destReg, sqInt _scratchReg);
static sqInt NoDbgRegParms genGetClassObjectOfintoscratchReginstRegIsReceiver(sqInt _instReg, sqInt _destReg, sqInt _scratchReg, sqInt _instRegIsReceiver);
static AbstractInstruction * NoDbgRegParms genGetClassTagOfintoscratchReg(sqInt _instReg, sqInt _destReg, sqInt scratchReg);
static sqInt NoDbgRegParms genGetCompactClassIndexNonImmOfinto(sqInt _instReg, sqInt _destReg);
static sqInt NoDbgRegParms genGetDoubleValueOfinto(sqInt _srcReg, sqInt _destFPReg);
static sqInt NoDbgRegParms genGetFormatOfinto(sqInt _srcReg, sqInt _destReg);
static sqInt NoDbgRegParms genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(sqInt _sourceReg, sqInt _destReg, sqInt _scratchRegOrNone);
static sqInt NoDbgRegParms genGetNumSlotsOfinto(sqInt _srcReg, sqInt _destReg);
static sqInt NoDbgRegParms genGetRawSlotSizeOfNonImminto(sqInt _sourceReg, sqInt _destReg);
static AbstractInstruction * NoDbgRegParms genJumpImmediate(sqInt _aRegister);
#if IMMUTABILITY
static AbstractInstruction * NoDbgRegParms genJumpImmutablescratchReg(sqInt _sourceReg, sqInt _scratchReg);
#endif /* IMMUTABILITY */
#if IMMUTABILITY
static AbstractInstruction * NoDbgRegParms genJumpMutablescratchReg(sqInt _sourceReg, sqInt _scratchReg);
#endif /* IMMUTABILITY */
static sqInt NoDbgRegParms genNewArrayOfSizeinitialized(sqInt _size, sqInt _initialized);
static sqInt genPrimitiveAsCharacter(void);
static sqInt genPrimitiveAt(void);
static sqInt genPrimitiveAtPut(void);
static sqInt NoDbgRegParms genPrimitiveIdenticalOrNotIf(sqInt _orNot);
static sqInt genPrimitiveIntegerAt(void);
static sqInt genPrimitiveIntegerAtPut(void);
static sqInt genPrimitiveLoadBoolean8FromBytes(void);
static sqInt genPrimitiveLoadBoolean8FromExternalAddress(void);
static sqInt genPrimitiveLoadChar16FromBytes(void);
static sqInt genPrimitiveLoadChar16FromExternalAddress(void);
static sqInt genPrimitiveLoadChar32FromBytes(void);
static sqInt genPrimitiveLoadChar32FromExternalAddress(void);
static sqInt genPrimitiveLoadChar8FromBytes(void);
static sqInt genPrimitiveLoadChar8FromExternalAddress(void);
static sqInt genPrimitiveLoadFloat32FromBytes(void);
static sqInt genPrimitiveLoadFloat32FromExternalAddress(void);
static sqInt genPrimitiveLoadFloat64FromBytes(void);
static sqInt genPrimitiveLoadFloat64FromExternalAddress(void);
static sqInt genPrimitiveLoadInt16FromBytes(void);
static sqInt genPrimitiveLoadInt16FromExternalAddress(void);
static sqInt genPrimitiveLoadInt8FromBytes(void);
static sqInt genPrimitiveLoadInt8FromExternalAddress(void);
static sqInt genPrimitiveLoadPointerFromBytes(void);
static sqInt genPrimitiveLoadPointerFromExternalAddress(void);
static sqInt genPrimitiveLoadUInt16FromBytes(void);
static sqInt genPrimitiveLoadUInt16FromExternalAddress(void);
static sqInt genPrimitiveLoadUInt8FromBytes(void);
static sqInt genPrimitiveLoadUInt8FromExternalAddress(void);
static sqInt genPrimitiveObjectAt(void);
static sqInt genPrimitiveSize(void);
static sqInt genPrimitiveStoreBoolean8IntoBytes(void);
static sqInt genPrimitiveStoreBoolean8IntoExternalAddress(void);
static sqInt genPrimitiveStoreChar16IntoBytes(void);
static sqInt genPrimitiveStoreChar16IntoExternalAddress(void);
static sqInt genPrimitiveStoreChar32IntoBytes(void);
static sqInt genPrimitiveStoreChar32IntoExternalAddress(void);
static sqInt genPrimitiveStoreChar8IntoBytes(void);
static sqInt genPrimitiveStoreChar8IntoExternalAddress(void);
static sqInt genPrimitiveStoreFloat32IntoBytes(void);
static sqInt genPrimitiveStoreFloat32IntoExternalAddress(void);
static sqInt genPrimitiveStoreFloat64IntoBytes(void);
static sqInt genPrimitiveStoreFloat64IntoExternalAddress(void);
static sqInt genPrimitiveStoreInt16IntoBytes(void);
static sqInt genPrimitiveStoreInt16IntoExternalAddress(void);
static sqInt genPrimitiveStoreInt8IntoBytes(void);
static sqInt genPrimitiveStoreInt8IntoExternalAddress(void);
static sqInt genPrimitiveStorePointerIntoBytes(void);
static sqInt genPrimitiveStorePointerIntoExternalAddress(void);
static sqInt genPrimitiveStoreUInt16IntoBytes(void);
static sqInt genPrimitiveStoreUInt16IntoExternalAddress(void);
static sqInt genPrimitiveStoreUInt8IntoBytes(void);
static sqInt genPrimitiveStoreUInt8IntoExternalAddress(void);
static sqInt genPrimitiveStringCompareWith(void);
static sqInt genPrimitiveStringReplace(void);
static sqInt NoDbgRegParms genSetSmallIntegerTagsIn(sqInt _scratchReg);
static sqInt genStoreCheckContextReceiverTrampoline(void);
static sqInt NoDbgRegParms genStoreCheckReceiverRegvalueRegscratchReginFrame(sqInt _destReg, sqInt _valueReg, sqInt _scratchReg, sqInt _inFrame);
static sqInt NoDbgRegParms genStoreSourceRegslotIndexdestRegscratchReginFrameneedsStoreCheck(sqInt _sourceReg, sqInt _index, sqInt _destReg, sqInt _scratchReg, sqInt _inFrame, sqInt _needsStoreCheck);
static sqInt NoDbgRegParms genStoreSourceRegslotIndexintoNewObjectInDestReg(sqInt _sourceReg, sqInt _index, sqInt _destReg);
#if IMMUTABILITY
static sqInt NoDbgRegParms genStoreTrampolineCalledinstVarIndex(char *_trampolineName, sqInt _instVarIndex);
#endif /* IMMUTABILITY */
#if IMMUTABILITY
static sqInt NoDbgRegParms genStoreWithImmutabilityAndStoreCheckSourceRegslotIndexdestRegscratchRegneedRestoreRcvr(sqInt _sourceReg, sqInt _index, sqInt _destReg, sqInt _scratchReg, sqInt _needRestoreRcvr);
#endif /* IMMUTABILITY */
#if IMMUTABILITY
static sqInt NoDbgRegParms genStoreWithImmutabilityButNoStoreCheckSourceRegslotIndexdestRegscratchRegneedRestoreRcvr(sqInt _sourceReg, sqInt _index, sqInt _destReg, sqInt _scratchReg, sqInt _needRestoreRcvr);
#endif /* IMMUTABILITY */
#if IMMUTABILITY
static sqInt NoDbgRegParms genStoreWithImmutabilityCheckSourceRegslotIndexdestRegscratchRegneedsStoreCheckneedRestoreRcvr(sqInt _sourceReg, sqInt _index, sqInt _destReg, sqInt _scratchReg, sqInt _needsStoreCheck, sqInt _needRestoreRcvr);
#endif /* IMMUTABILITY */
static AbstractInstruction * NoDbgRegParms jumpNotCharacterUnsignedValueInRegister(sqInt _reg);
static sqInt NoDbgRegParms markAndTraceLiteralinatpc(sqInt _literal, CogMethod *_cogMethodOrNil, usqInt _address);
static void NoDbgRegParms markAndTraceLiteralinat(sqInt _literal, CogMethod *_cogMethod, sqInt *_address);
static void NoDbgRegParms markAndTraceUpdatedLiteralin(sqInt _objOop, CogMethod *_cogMethodOrNil);
static sqInt NoDbgRegParms maybeCompileRetryOnPrimitiveFail(sqInt _primIndex);
static sqInt NoDbgRegParms maybeShiftClassTagRegisterForMethodCacheProbe(sqInt _classTagReg);
static sqInt numCharacterBits(void);
extern sqInt numRegArgs(void);
static sqInt NoDbgRegParms remapObject(sqInt _objOop);
static sqInt NoDbgRegParms remapOop(sqInt _objOop);
static sqInt NoDbgRegParms shouldAnnotateObjectReference(sqInt _anOop);
static sqInt NoDbgRegParms slotOffsetOfInstVarIndex(sqInt _index);
static sqInt NoDbgRegParms valueOfAssociation(sqInt _associationOop);
static SimStackEntry * NoDbgRegParms copyToReg(SimStackEntry * self_in_copyToReg, sqInt _reg);
static SimStackEntry * NoDbgRegParms ensureSpilledAtfrom(SimStackEntry * self_in_ensureSpilledAtfrom, sqInt _baseOffset, sqInt _baseRegister);
static sqInt NoDbgRegParms isSameEntryAs(SimStackEntry * self_in_isSameEntryAs, CogSimStackEntry *_ssEntry);
static SimStackEntry * NoDbgRegParms moveToVectorReg(SimStackEntry * self_in_moveToVectorReg, sqInt _reg);
static sqInt NoDbgRegParms registerMask(SimStackEntry * self_in_registerMask);
static sqInt NoDbgRegParms registerMaskOrNone(SimStackEntry * self_in_registerMaskOrNone);
static signed char NoDbgRegParms registerOrNone(SimStackEntry * self_in_registerOrNone);
static sqInt NoDbgRegParms isMergeFixup(BytecodeFixup * self_in_isMergeFixup);
static sqInt NoDbgRegParms availableRegisterOrNoneFor(AbstractInstruction * self_in_availableRegisterOrNoneFor, sqInt _liveRegsMask);
static sqInt NoDbgRegParms callFullTargetFromReturnAddress(AbstractInstruction * self_in_callFullTargetFromReturnAddress, sqInt _callSiteReturnAddress);
static sqInt NoDbgRegParms callInstructionByteSize(AbstractInstruction * self_in_callInstructionByteSize);
static sqInt NoDbgRegParms callTargetFromReturnAddress(AbstractInstruction * self_in_callTargetFromReturnAddress, sqInt _callSiteReturnAddress);
static AbstractInstruction * NoDbgRegParms checkIs32bit(AbstractInstruction * self_in_checkIs32bit, sqInt _offset);
static sqInt NoDbgRegParms cmpC32RTempByteSize(AbstractInstruction * self_in_cmpC32RTempByteSize);
static sqInt NoDbgRegParms computeMaximumSize(AbstractInstruction * self_in_computeMaximumSize);
static sqInt NoDbgRegParms computeShiftRRSize(AbstractInstruction * self_in_computeShiftRRSize);
static sqInt NoDbgRegParms computeSizeOfPushCw(AbstractInstruction * self_in_computeSizeOfPushCw);
static usqInt NoDbgRegParms concretizeArithCqRWithROraxOpcode(AbstractInstruction * self_in_concretizeArithCqRWithROraxOpcode, sqInt _regOpcode, sqInt _raxOpcode);
static usqInt NoDbgRegParms concretizeMoveRX32rR(AbstractInstruction * self_in_concretizeMoveRX32rR);
static usqInt NoDbgRegParms concretizeMoveX32rRR(AbstractInstruction * self_in_concretizeMoveX32rRR);
static usqInt NoDbgRegParms concretizeOpRR(AbstractInstruction * self_in_concretizeOpRR, sqInt _x64opcode);
static usqInt NoDbgRegParms concretizePrefetchAw(AbstractInstruction * self_in_concretizePrefetchAw);
static usqInt NoDbgRegParms concretizeReverseOpRR(AbstractInstruction * self_in_concretizeReverseOpRR, sqInt _x64opcode);
static usqInt NoDbgRegParms concretizeXCHGRR(AbstractInstruction * self_in_concretizeXCHGRR);
static sqInt NoDbgRegParms cStackPointer(AbstractInstruction * self_in_cStackPointer);
static void NoDbgRegParms dispatchConcretize(AbstractInstruction * self_in_dispatchConcretize);
static void NoDbgRegParms dispatchConcretizeProcessorSpecific(AbstractInstruction * self_in_dispatchConcretizeProcessorSpecific);
static AbstractInstruction * NoDbgRegParms genDivRRQuoRem(AbstractInstruction * self_in_genDivRRQuoRem, sqInt _abstractRegDivisor, sqInt _abstractRegDividend, sqInt _abstractRegQuotient, sqInt _abstractRegRemainder);
static sqInt NoDbgRegParms genLoadCStackPointer(AbstractInstruction * self_in_genLoadCStackPointer);
static sqInt NoDbgRegParms genLoadCStackPointers(AbstractInstruction * self_in_genLoadCStackPointers);
static sqInt NoDbgRegParms genLoadStackPointers(AbstractInstruction * self_in_genLoadStackPointers);
static AbstractInstruction * NoDbgRegParms genMulRR(AbstractInstruction * self_in_genMulRR, sqInt _regSource, sqInt _regDest);
static AbstractInstruction * NoDbgRegParms genPushRegisterArgsForNumArgsscratchReg(AbstractInstruction * self_in_genPushRegisterArgsForNumArgsscratchReg, sqInt _numArgs, sqInt _scratchReg);
static sqInt NoDbgRegParms genRestoreRegs(AbstractInstruction * self_in_genRestoreRegs, sqInt _regMask);
static sqInt NoDbgRegParms genSaveRegs(AbstractInstruction * self_in_genSaveRegs, sqInt _regMask);
static sqInt NoDbgRegParms genSaveStackPointers(AbstractInstruction * self_in_genSaveStackPointers);
static sqInt NoDbgRegParms is32BitSignedImmediate(AbstractInstruction * self_in_is32BitSignedImmediate, sqInt _a64BitUnsignedOperand);
static sqInt NoDbgRegParms isCallPrecedingReturnPC(AbstractInstruction * self_in_isCallPrecedingReturnPC, sqInt _mcpc);
static sqInt NoDbgRegParms isQuick(AbstractInstruction * self_in_isQuick, usqIntptr_t _operand);
static sqInt NoDbgRegParms isWithinMwOffsetRange(AbstractInstruction * self_in_isWithinMwOffsetRange, sqInt _anAddress);
static AbstractInstruction * NoDbgRegParms jmpTarget(AbstractInstruction * self_in_jmpTarget, AbstractInstruction *_anAbstractInstruction);
static sqInt NoDbgRegParms jumpLongByteSize(AbstractInstruction * self_in_jumpLongByteSize);
static sqInt NoDbgRegParms jumpLongConditionalByteSize(AbstractInstruction * self_in_jumpLongConditionalByteSize);
static sqInt NoDbgRegParms jumpLongTargetBeforeFollowingAddress(AbstractInstruction * self_in_jumpLongTargetBeforeFollowingAddress, sqInt _mcpc);
static sqInt NoDbgRegParms leafCallStackPointerDelta(AbstractInstruction * self_in_leafCallStackPointerDelta);
static sqInt NoDbgRegParms literalBeforeInlineCacheTagAt(AbstractInstruction * self_in_literalBeforeInlineCacheTagAt, sqInt _callSiteReturnAddress);
static sqInt NoDbgRegParms modRMRO(AbstractInstruction * self_in_modRMRO, sqInt _mod, sqInt _regMode, sqInt _regOpcode);
static sqInt NoDbgRegParms numIntRegArgs(AbstractInstruction * self_in_numIntRegArgs);
static AbstractInstruction * NoDbgRegParms padIfPossibleWithStopsFromto(AbstractInstruction * self_in_padIfPossibleWithStopsFromto, sqInt _startAddr, sqInt _endAddr);
static AbstractInstruction * NoDbgRegParms prepareStackToCallCFunctionInSmalltalkStack(AbstractInstruction * self_in_prepareStackToCallCFunctionInSmalltalkStack, sqInt anInteger);
static AbstractInstruction * NoDbgRegParms relocateCallBeforeReturnPCby(AbstractInstruction * self_in_relocateCallBeforeReturnPCby, sqInt _retpc, sqInt _delta);
static AbstractInstruction * NoDbgRegParms returnFromCallCFunctionInSmalltalkStack(AbstractInstruction * self_in_returnFromCallCFunctionInSmalltalkStack, sqInt anInteger);
static sqInt NoDbgRegParms rewriteCallAttarget(AbstractInstruction * self_in_rewriteCallAttarget, usqInt _callSiteReturnAddress, usqInt _callTargetAddress);
static sqInt NoDbgRegParms rewriteCallFullAttarget(AbstractInstruction * self_in_rewriteCallFullAttarget, sqInt _callSiteReturnAddress, sqInt _callTargetAddress);
static AbstractInstruction * NoDbgRegParms rewriteCPICJumpAttarget(AbstractInstruction * self_in_rewriteCPICJumpAttarget, usqInt _addressFollowingJump, usqInt _jumpTargetAddr);
static sqInt NoDbgRegParms rewriteInlineCacheAttagtarget(AbstractInstruction * self_in_rewriteInlineCacheAttagtarget, usqInt _callSiteReturnAddress, sqInt _cacheTag, usqInt _callTargetAddress);
static AbstractInstruction * NoDbgRegParms rewriteInlineCacheTagat(AbstractInstruction * self_in_rewriteInlineCacheTagat, sqInt _cacheTag, sqInt _callSiteReturnAddress);
static sqInt NoDbgRegParms rewriteJumpFullAttarget(AbstractInstruction * self_in_rewriteJumpFullAttarget, sqInt _callSiteReturnAddress, sqInt _callTargetAddress);
static sqInt NoDbgRegParms rexRxb(AbstractInstruction * self_in_rexRxb, sqInt _reg, sqInt _sibReg, sqInt _fieldReg);
static sqInt NoDbgRegParms rexwrxb(AbstractInstruction * self_in_rexwrxb, sqInt _width64, sqInt _reg, sqInt _sibReg, sqInt _fieldReg);
static sqInt NoDbgRegParms setsConditionCodesFor(AbstractInstruction * self_in_setsConditionCodesFor, sqInt _aConditionalJumpOpcode);
static AbstractInstruction * NoDbgRegParms stopsFromto(AbstractInstruction * self_in_stopsFromto, sqInt _startAddr, sqInt _endAddr);
static AbstractInstruction * NoDbgRegParms storeLiteral32beforeFollowingAddress(AbstractInstruction * self_in_storeLiteral32beforeFollowingAddress, sqInt _literal, sqInt _followingAddress);
static sqInt NoDbgRegParms sib(AbstractInstruction * self_in_sib, sqInt _scale, sqInt _indexReg, sqInt _baseReg);
static int NoDbgRegParms unalignedLong32At(AbstractInstruction * self_in_unalignedLong32At, sqInt _byteAddress);
static AbstractInstruction * NoDbgRegParms genPushRegisterArgsForAbortMissNumArgs(AbstractInstruction * self_in_genPushRegisterArgsForAbortMissNumArgs, sqInt _numArgs);
static AbstractInstruction * NoDbgRegParms checkLiteralforInstruction(sqInt literal, AbstractInstruction *_anInstruction);
static AbstractInstruction * NoDbgRegParms checkQuickConstantforInstruction(sqInt literal, AbstractInstruction *_anInstruction);
static void compileGetErrorCode(void);
static sqInt compileInterpreterPrimitive(void);
static sqInt NoDbgRegParms compileInterpreterPrimitiveMayCallBackflags(void (*_primitiveRoutine)(void), sqInt _flags);
static sqInt NoDbgRegParms compileInterpreterPrimitiveflags(void (*_primitiveRoutine)(void), sqInt _flags);
static sqInt NoDbgRegParms compileMachineCodeInterpreterPrimitive(void (*_primitiveRoutine)(void));
static AbstractInstruction * NoDbgRegParms compileOpenPICMethodCacheProbeForwithShiftbaseRegOrNone(sqInt _selector, sqInt _shift, sqInt _baseRegOrNone);
static void NoDbgRegParms compileOpenPICnumArgs(sqInt _selector, sqInt _numArgs);
static AbstractInstruction * NoDbgRegParms compilePerformMethodCacheProbeForwithShiftbaseRegOrNone(sqInt _selectorReg, sqInt _shift, sqInt _baseRegOrNone);
static sqInt compilePrimitive(void);
static sqInt NoDbgRegParms frameOffsetOfTemporary(sqInt _index);
static AbstractInstruction * NoDbgRegParms genDoubleFailIfZeroArgRcvrarg(int rcvrReg, int _argReg);
static sqInt genExtJumpIfFalse(void);
static sqInt genExtJumpIfTrue(void);
static sqInt genExtNopBytecode(void);
static sqInt genExtPushCharacterBytecode(void);
static sqInt genExtPushIntegerBytecode(void);
static sqInt genExtPushLiteralBytecode(void);
static sqInt genExtPushLiteralVariableBytecode(void);
static sqInt genExtPushPseudoVariable(void);
static sqInt genExtPushReceiverVariableBytecode(void);
static sqInt genExtSendBytecode(void);
static sqInt genExtSendSuperBytecode(void);
static sqInt genExtStoreAndPopLiteralVariableBytecode(void);
static sqInt genExtStoreAndPopReceiverVariableBytecode(void);
static sqInt genExtStoreLiteralVariableBytecode(void);
static sqInt genExtStoreReceiverVariableBytecode(void);
static sqInt genExtUnconditionalJump(void);
static sqInt genFastPrimFail(void);
static void NoDbgRegParms genFastPrimTraceUsingand(sqInt _r1, sqInt _r2);
static sqInt genLongPushTemporaryVariableBytecode(void);
static sqInt genLongStoreAndPopTemporaryVariableBytecode(void);
static sqInt genLongStoreTemporaryVariableBytecode(void);
static sqInt NoDbgRegParms genLookupForPerformNumArgs(sqInt _numArgs);
static AbstractInstruction * NoDbgRegParms genMoveConstantR(sqInt _constant, sqInt _reg);
static sqInt NoDbgRegParms genMustBeBooleanTrampolineForcalled(sqInt _boolean, char *_trampolineName);
static sqInt genPrimitiveHashMultiply(void);
static void NoDbgRegParms genPrimReturnEnterCogCodeEnilopmart(sqInt _profiling);
static sqInt genPushConstantFalseBytecode(void);
static sqInt genPushConstantNilBytecode(void);
static sqInt genPushConstantOneBytecode(void);
static sqInt genPushConstantTrueBytecode(void);
static sqInt genPushConstantZeroBytecode(void);
static sqInt genPushLiteralConstantBytecode(void);
static sqInt genPushLiteralVariable16CasesBytecode(void);
static sqInt genPushQuickIntegerConstantBytecode(void);
static sqInt genPushReceiverVariableBytecode(void);
static sqInt genPushTemporaryVariableBytecode(void);
extern sqInt genQuickReturnConst(void);
extern sqInt genQuickReturnInstVar(void);
extern sqInt genQuickReturnSelf(void);
static sqInt genReturnFalse(void);
static sqInt genReturnNil(void);
static sqInt genReturnNilFromBlock(void);
static sqInt genReturnTrue(void);
static sqInt genSendLiteralSelector0ArgsBytecode(void);
static sqInt genSendLiteralSelector1ArgBytecode(void);
static sqInt genSendLiteralSelector2ArgsBytecode(void);
static sqInt genShortJumpIfFalse(void);
static sqInt genShortJumpIfTrue(void);
static sqInt genShortUnconditionalJump(void);
static sqInt genSpecialSelectorEqualsEquals(void);
static sqInt genSpecialSelectorNotEqualsEquals(void);
static sqInt genSpecialSelectorSend(void);
static sqInt genStoreAndPopReceiverVariableBytecode(void);
static sqInt genStoreAndPopRemoteTempLongBytecode(void);
static sqInt genStoreAndPopTemporaryVariableBytecode(void);
static sqInt genStoreRemoteTempLongBytecode(void);
static sqInt genUnconditionalTrapBytecode(void);
extern sqInt mapPCDataForinto(CogMethod *_cogMethod, sqInt _arrayObj);
static void maybeCompileAllocFillerCheck(void);
static sqInt numSpecialSelectors(void);
static sqInt NoDbgRegParms pcDataForAnnotationMcpcBcpcMethod(BytecodeDescriptor *_descriptor, sqInt _isBackwardBranchAndAnnotation, char *_mcpc, sqInt _bcpc, void *_cogMethodArg);
static PrimitiveDescriptor * primitiveDescriptor(void);
static sqInt NoDbgRegParms primitivePropertyFlagsprimitiveDescriptor(sqInt _primIndex, CogPrimitiveDescriptor *_aPrimitiveDescriptor);
extern void recordCallOffsetIn(CogMethod *_cogMethod);
extern void rewritePrimInvocationInto(CogMethod *_cogMethod, void (*_primFunctionPointer)(void));
static sqInt NoDbgRegParms seemsToBeInstantiating(sqInt _format);
static sqInt NoDbgRegParms v3ShortForwardBranchDistance(BytecodeDescriptor *descriptor, sqInt _pc, sqInt _nExts, sqInt _aMethodObj);
static sqInt NoDbgRegParms v4LongForwardBranchDistance(BytecodeDescriptor *descriptor, sqInt _pc, sqInt _nExts, sqInt _aMethodObj);
static sqInt NoDbgRegParms v4LongBranchDistance(BytecodeDescriptor *descriptor, sqInt _pc, sqInt _nExts, sqInt _aMethodObj);
extern void voidCogCompiledCode(void);
static void NoDbgRegParms adjustArgumentsForPerform(sqInt _numArgs);
static signed char NoDbgRegParms allocateRegForStackEntryAtnotConflictingWith(sqInt _index, sqInt _regMask);
static sqInt NoDbgRegParms allocateRegNotConflictingWith(sqInt _regMask);
#if FEATURE_JIT_SIMD
static signed char NoDbgRegParms allocateVectorRegForStackEntryAtnotConflictingWith(sqInt _index, sqInt _regMask);
#endif /* FEATURE_JIT_SIMD */
#if FEATURE_JIT_SIMD
static sqInt NoDbgRegParms allocateVectorRegNotConflictingWith(sqInt _regMask);
#endif /* FEATURE_JIT_SIMD */
static sqInt NoDbgRegParms anyReferencesToRegisterinTopNItems(sqInt _reg, sqInt _n);
extern void callCogCodePopReceiverArg0Regs(void);
extern void callCogCodePopReceiverArg1Arg0Regs(void);
static sqInt NoDbgRegParms compileAbstractInstructionsFromthrough(sqInt _start, sqInt _end);
static CogMethod * NoDbgRegParms compileCogFullBlockMethod(sqInt _numCopied);
static CogMethod * NoDbgRegParms compileCogMethod(sqInt _selector);
static sqInt compileEntireMethod(void);
static void compileFrameBuild(void);
static void NoDbgRegParms compileFullBlockFramelessEntry(sqInt numCopied);
static void NoDbgRegParms compileFullBlockMethodFrameBuild(sqInt _numCopied);
#if IMMUTABILITY
static void compileTwoPathFrameBuild(void);
#endif /* IMMUTABILITY */
static void compileTwoPathFramelessInit(void);
static sqInt NoDbgRegParms cPICMissTrampolineFor(sqInt _numArgs);
static sqInt duplicateTopBytecode(void);
static BytecodeFixup * NoDbgRegParms ensureFixupAt(sqInt _targetPC);
static BytecodeFixup * NoDbgRegParms ensureFixupAtwithStackPointer(sqInt _targetPC, sqInt _aStackPointer);
static BytecodeFixup * NoDbgRegParms ensureNonMergeFixupAt(sqInt _targetPC);
static void ensureReceiverResultRegContainsSelf(void);
static void NoDbgRegParms evaluateat(BytecodeDescriptor *_descriptor, sqInt _pc);
static sqInt NoDbgRegParms eventualTargetOf(sqInt _targetBytecodePC);
static sqInt NoDbgRegParms freeAnyRegNotConflictingWith(sqInt _regMask);
#if FEATURE_JIT_SIMD
static sqInt genAddFloat32Vector(void);
#endif /* FEATURE_JIT_SIMD */
#if FEATURE_JIT_SIMD
static sqInt genAddFloat64Vector(void);
#endif /* FEATURE_JIT_SIMD */
static sqInt genBlockReturn(void);
static sqInt genCallMappedInlinedPrimitive(void);
static void (*genCallPICEnilopmartNumArgs(sqInt _numArgs))(void) ;
static sqInt genCallPrimitiveBytecode(void);
static sqInt genExternalizePointersForPrimitiveCall(void);
static sqInt genExtPushFullClosureBytecode(void);
static void generateEnilopmarts(void);
static sqInt NoDbgRegParms generateInstructionsAt(sqInt _eventualAbsoluteAddress);
static void generateMissAbortTrampolines(void);
static void generateSendTrampolines(void);
static sqInt NoDbgRegParms generateSuperSendTrampolineTonamednumArgsin(sqInt _function, sqInt _name, sqInt _numArgs, sqInt *_table);
static void generateTracingTrampolines(void);
static sqInt NoDbgRegParms genForwardersInlinedIdenticalOrNotIf(sqInt _orNot);
static sqInt NoDbgRegParms genIdenticalNoBranchArgIsConstantrcvrIsConstantargRegrcvrRegorNotIf(sqInt _argIsConstant, sqInt _rcvrIsConstant, sqInt _argReg, sqInt _rcvrRegOrNone, sqInt _orNot);
static sqInt NoDbgRegParms genInlinedIdenticalOrNotIf(sqInt _orNot);
static sqInt NoDbgRegParms genJumpBackTo(sqInt _targetBytecodePC);
static sqInt NoDbgRegParms genJumpIfto(sqInt _boolean, sqInt _targetBytecodePC);
static sqInt NoDbgRegParms genJumpTo(sqInt _targetBytecodePC);
static sqInt NoDbgRegParms genMappedInlinePrimitive(sqInt _primIndex);
static sqInt NoDbgRegParms genMarshalledSendnumArgssendTable(sqInt _selectorIndex, sqInt _numArgs, sqInt *_sendTable);
static sqInt NoDbgRegParms genMethodAbortTrampolineFor(sqInt _numArgs);
static sqInt NoDbgRegParms genPICAbortTrampolineFor(sqInt _numArgs);
static sqInt NoDbgRegParms genPICMissTrampolineFor(sqInt _numArgs);
static sqInt genPopStackBytecode(void);
static sqInt genPrimitiveFullClosureValue(void);
static sqInt genPrimitivePerform(void);
static sqInt genPushActiveContextBytecode(void);
#if FEATURE_JIT_SIMD
static sqInt genPushFloat32ArrayToRegister(void);
#endif /* FEATURE_JIT_SIMD */
#if FEATURE_JIT_SIMD
static sqInt genPushFloat64ArrayToRegister(void);
#endif /* FEATURE_JIT_SIMD */
static sqInt NoDbgRegParms genPushLiteralIndex(sqInt _literalIndex);
static sqInt NoDbgRegParms genPushLiteralVariable(sqInt _literalIndex);
static sqInt NoDbgRegParms genPushLiteral(sqInt _literal);
static sqInt NoDbgRegParms genPushMaybeContextReceiverVariable(sqInt _slotIndex);
static sqInt genPushNewArrayBytecode(void);
static sqInt genPushReceiverBytecode(void);
static sqInt NoDbgRegParms genPushReceiverVariable(sqInt _index);
static void genPushRegisterArgs(void);
static sqInt genPushRemoteTempLongBytecode(void);
static sqInt NoDbgRegParms genPushTemporaryVariable(sqInt _index);
static sqInt genReturnReceiver(void);
static sqInt genReturnTopFromBlock(void);
static sqInt genReturnTopFromMethod(void);
static sqInt NoDbgRegParms genSendDirectedSupernumArgs(sqInt _selectorIndex, sqInt _numArgs);
static sqInt NoDbgRegParms genSendSupernumArgs(sqInt _selectorIndex, sqInt _numArgs);
static sqInt NoDbgRegParms genSendTrampolineFornumArgscalledargargargarg(void *_aRoutine, sqInt _numArgs, char *_aString, sqInt _regOrConst0, sqInt _regOrConst1, sqInt _regOrConst2, sqInt _regOrConst3);
static sqInt NoDbgRegParms genSendnumArgs(sqInt _selectorIndex, sqInt _numArgs);
static sqInt genSpecialSelectorArithmetic(void);
static sqInt genSpecialSelectorClass(void);
static sqInt genSpecialSelectorComparison(void);
static sqInt genStaticallyResolvedSpecialSelectorComparison(void);
#if FEATURE_JIT_SIMD
static sqInt genStoreFloat32RegisterIntoArray(void);
#endif /* FEATURE_JIT_SIMD */
#if FEATURE_JIT_SIMD
static sqInt genStoreFloat64RegisterIntoArray(void);
#endif /* FEATURE_JIT_SIMD */
static sqInt NoDbgRegParms genStorePopLiteralVariableneedsStoreCheckneedsImmutabilityCheck(sqInt _popBoolean, sqInt _litVarIndex, sqInt _needsStoreCheck, sqInt _needsImmCheck);
static sqInt NoDbgRegParms genStorePopMaybeContextReceiverVariableneedsStoreCheckneedsImmutabilityCheck(sqInt _popBoolean, sqInt _slotIndex, sqInt _needsStoreCheck, sqInt _needsImmCheck);
static sqInt NoDbgRegParms genStorePopReceiverVariableneedsStoreCheckneedsImmutabilityCheck(sqInt _popBoolean, sqInt _slotIndex, sqInt _needsStoreCheck, sqInt _needsImmCheck);
static sqInt NoDbgRegParms genStorePopRemoteTempAtneedsStoreCheck(sqInt _popBoolean, sqInt _slotIndex, sqInt _remoteTempIndex, sqInt _needsStoreCheck);
static sqInt NoDbgRegParms genStorePopTemporaryVariable(sqInt _popBoolean, sqInt _tempIndex);
#if FEATURE_JIT_SIMD
static sqInt genSubFloat64Vector(void);
#endif /* FEATURE_JIT_SIMD */
static sqInt genUpArrowReturn(void);
static void NoDbgRegParms initSimStackForFramefulMethod(sqInt _startpc);
static void NoDbgRegParms initSimStackForFramelessBlock(sqInt _startpc);
static void NoDbgRegParms initSimStackForFramelessMethod(sqInt _startpc);
static sqInt liveRegisters(void);
static sqInt liveVectorRegisters(void);
static sqInt NoDbgRegParms mapDeadDescriptorIfNeeded(BytecodeDescriptor *_descriptor);
static void NoDbgRegParms marshallSendArguments(sqInt _numArgs);
static sqInt NoDbgRegParms mergeWithFixupIfRequired(BytecodeFixup *_fixup);
static sqInt NoDbgRegParms methodAbortTrampolineFor(sqInt _numArgs);
static sqInt methodFoundInvalidPostScan(void);
static sqInt NoDbgRegParms needsFrameIfMod16GENumArgs(sqInt stackDelta);
static sqInt NoDbgRegParms needsFrameIfStackGreaterThanOne(sqInt _stackDelta);
static sqInt NoDbgRegParms numberOfSpillsInTopNItems(sqInt _n);
static sqInt NoDbgRegParms picAbortTrampolineFor(sqInt _numArgs);
static void NoDbgRegParms populatewithPICInfoForfirstCacheTag(sqInt _tuple, CogMethod *_cPIC, sqInt _firstCacheTag);
static sqInt prevInstIsPCAnnotated(void);
static sqInt NoDbgRegParms profilingDataForCounterat(sqInt counter, sqInt bcpc);
static sqInt NoDbgRegParms profilingDataForSendTomethodClassIfSuperatbcpc(CogMethod *_cogCodeSendTarget, sqInt _methodClassOrNil, char *_sendMcpc, sqInt _sendBcpc);
static sqInt NoDbgRegParms profilingDataForAnnotationMcpcBcpcMethod(BytecodeDescriptor *_descriptor, sqInt _isBackwardBranchAndAnnotation, char *_mcpc, sqInt _bcpc, void *_cogMethodArg);
extern sqInt profilingDataForinto(CogMethod *_cogMethod, sqInt _arrayObj);
static sqInt receiverIsInReceiverResultReg(void);
static sqInt scanMethod(void);
static sqInt NoDbgRegParms sistaV1PushNilSizenumInitialNils(sqInt aMethodObj, sqInt _numInitialNils);
static sqInt NoDbgRegParms sistaV1NumPushNils(BytecodeDescriptor *_descriptor, sqInt pc, sqInt nExts, sqInt aMethodObj);
static void NoDbgRegParms ssAllocateRequiredRegMaskupThrough(sqInt _requiredRegsMask, sqInt _stackPtr);
static void ssFlushStack(void);
static void NoDbgRegParms ssFlushStackExceptTop(sqInt _n);
static void NoDbgRegParms ssFlushUpThroughReceiverVariable(sqInt _slotIndex);
static void NoDbgRegParms ssFlushUpThroughTemporaryVariable(sqInt _tempIndex);
static void NoDbgRegParms ssPopTopToReg(sqInt _aRegister);
static void NoDbgRegParms ssPopTopToVectorReg(sqInt _aVectorRegister);
static void NoDbgRegParms ssPop(sqInt _n);
static void NoDbgRegParms ssPopandCopyReg(sqInt _popBoolean, sqInt _reg);
static void NoDbgRegParms ssPoppopSpilled(sqInt _n, sqInt _popSpilled);
static sqInt NoDbgRegParms ssPushAnnotatedConstant(sqInt _literal);
static sqInt NoDbgRegParms ssPushBaseoffset(sqInt _reg, sqInt _offset);
static sqInt NoDbgRegParms ssPushConstant(sqInt _literal);
static sqInt NoDbgRegParms ssPushDesc(SimStackEntry _simStackEntry);
static sqInt NoDbgRegParms ssPushRegister(sqInt _reg);
static sqInt NoDbgRegParms ssPushVectorRegister(sqInt _reg);
static void NoDbgRegParms ssPush(sqInt _n);
static SimStackEntry ssSelfDescriptor(void);
static void NoDbgRegParms ssStoreAndReplacePoptoReg(sqInt _popBoolean, sqInt _reg);
static sqInt NoDbgRegParms ssStorePoptoPreferredReg(sqInt _popBoolean, sqInt _preferredReg);
static CogSimStackEntry * ssTop(void);
static CogSimStackEntry * NoDbgRegParms ssValue(sqInt _n);
static sqInt NoDbgRegParms stackEntryIsBoolean(CogSimStackEntry *_simStackEntry);
static sqInt tempsValidAndVolatileEntriesSpilled(void);
static sqInt NoDbgRegParms tryCollapseTempVectorInitializationOfSize(sqInt _slots);
static sqInt violatesEnsureSpilledSpillAssert(void);
static void voidReceiverResultRegContainsSelf(void);


/*** Variables ***/
static AbstractInstruction * abstractOpcodes;
static AbstractInstruction aMethodLabel;
static AbstractInstruction * const backEnd = &aMethodLabel;
static usqInt baseAddress;
static sqInt byte0;
static sqInt byte1;
static sqInt byte2;
static sqInt byte3;
static sqInt bytecodePC;
void * CFramePointer;
void * CStackPointer;
sqInt cbEntryOffset;
sqInt cbNoSwitchEntryOffset;
sqInt ceBaseFrameReturnTrampoline;
void (*ceCall0ArgsPIC)(void);
void (*ceCall1ArgsPIC)(void);
void (*ceCall2ArgsPIC)(void);
void (*ceCallCogCodePopReceiverAndClassRegs)(void);
void (*ceCallCogCodePopReceiverArg0Regs)(void);
void (*ceCallCogCodePopReceiverArg1Arg0Regs)(void);
void (*ceCallCogCodePopReceiverReg)(void);
sqInt ceCannotResumeTrampoline;
void (*ceCaptureCStackPointers)(void);
sqInt ceCheckForInterruptTrampoline;
static sqInt ceDereferenceSelectorIndex;
void (*ceEnterCogCodePopReceiverReg)(void);
static sqInt ceFetchContextInstVarTrampoline;
usqIntptr_t (*ceGetFP)(void);
usqIntptr_t (*ceGetSP)(void);
static sqInt ceLargeActiveContextInFullBlockTrampoline;
static sqInt ceLargeActiveContextInMethodTrampoline;
static sqInt ceNewHashTrampoline;
static sqInt ceNonLocalReturnTrampoline;
static sqInt cePrimReturnEnterCogCode;
static sqInt cePrimReturnEnterCogCodeProfiling;
static sqInt ceReapAndResetErrorCodeTrampoline;
sqInt ceReturnToInterpreterTrampoline;
static sqInt ceScheduleScavengeTrampoline;
static sqInt ceSendMustBeBooleanAddFalseTrampoline;
static sqInt ceSendMustBeBooleanAddTrueTrampoline;
static sqInt ceSmallActiveContextInFullBlockTrampoline;
static sqInt ceSmallActiveContextInMethodTrampoline;
static sqInt ceStoreCheckContextReceiverTrampoline;
static sqInt ceStoreCheckTrampoline;
static sqInt ceStoreContextInstVarTrampoline;
#if IMMUTABILITY
sqInt ceStoreTrampolines[5];
#endif
static sqInt ceTraceLinkedSendTrampoline;
static sqInt ceTraceStoreTrampoline;
usqIntptr_t (*ceTryLockVMOwner)(void);
void (*ceUnlockVMOwner)(void);
sqInt cFramePointerInUse;
static sqInt closedPICSize;
sqInt cmEntryOffset;
sqInt cmNoCheckEntryOffset;
static sqInt codeBase;
static sqInt codeModified;
static sqInt cogConstituentIndex;
static sqInt compactionInProgress;
static sqInt compilationTrace;
static sqInt counterIndex;
static sqInt cPICCaseSize;
static sqInt cPICEndOfCodeOffset;
static sqInt cPICEndSize;
static sqInt cPICPrototype;
static sqInt deadCode;
usqIntptr_t debugPrimCallStackOffset;
static sqInt directedSendUsesBinding;
static sqInt directedSuperBindingSendTrampolines[NumSendTrampolines];
static sqInt directedSuperSendTrampolines[NumSendTrampolines];
static AbstractInstruction * endCPICCase0;
static sqInt endPC;
static AbstractInstruction * entry;
static CogMethod * enumeratingCogMethod;
static sqInt extA;
static sqInt extB;
static sqInt externalPrimCallOffsets[MaxNumArgs + 1];
static sqInt externalPrimJumpOffsets[MaxNumArgs + 1];
static sqInt externalSetPrimOffsets[MaxNumArgs + 1];
static sqInt firstCPICCaseOffset;
static sqInt firstSend;
static BytecodeFixup * fixups;
static AbstractInstruction * fullBlockEntry;
static AbstractInstruction * fullBlockNoContextSwitchEntry;
static BytecodeDescriptor generatorTable[256] = {
	{ genPushReceiverVariableBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0 },
	{ genPushReceiverVariableBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0 },
	{ genPushReceiverVariableBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0 },
	{ genPushReceiverVariableBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0 },
	{ genPushReceiverVariableBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0 },
	{ genPushReceiverVariableBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0 },
	{ genPushReceiverVariableBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0 },
	{ genPushReceiverVariableBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0 },
	{ genPushReceiverVariableBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0 },
	{ genPushReceiverVariableBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0 },
	{ genPushReceiverVariableBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0 },
	{ genPushReceiverVariableBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0 },
	{ genPushReceiverVariableBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0 },
	{ genPushReceiverVariableBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0 },
	{ genPushReceiverVariableBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0 },
	{ genPushReceiverVariableBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0 },
	{ genPushLiteralVariable16CasesBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralVariable16CasesBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralVariable16CasesBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralVariable16CasesBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralVariable16CasesBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralVariable16CasesBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralVariable16CasesBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralVariable16CasesBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralVariable16CasesBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralVariable16CasesBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralVariable16CasesBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralVariable16CasesBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralVariable16CasesBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralVariable16CasesBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralVariable16CasesBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralVariable16CasesBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushLiteralConstantBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushTemporaryVariableBytecode, 0, needsFrameIfMod16GENumArgs, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushTemporaryVariableBytecode, 0, needsFrameIfMod16GENumArgs, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushTemporaryVariableBytecode, 0, needsFrameIfMod16GENumArgs, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushTemporaryVariableBytecode, 0, needsFrameIfMod16GENumArgs, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushTemporaryVariableBytecode, 0, needsFrameIfMod16GENumArgs, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushTemporaryVariableBytecode, 0, needsFrameIfMod16GENumArgs, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushTemporaryVariableBytecode, 0, needsFrameIfMod16GENumArgs, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushTemporaryVariableBytecode, 0, needsFrameIfMod16GENumArgs, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushTemporaryVariableBytecode, 0, needsFrameIfMod16GENumArgs, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushTemporaryVariableBytecode, 0, needsFrameIfMod16GENumArgs, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushTemporaryVariableBytecode, 0, needsFrameIfMod16GENumArgs, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushTemporaryVariableBytecode, 0, needsFrameIfMod16GENumArgs, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushReceiverBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushConstantTrueBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushConstantFalseBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushConstantNilBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushConstantZeroBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPushConstantOneBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genExtPushPseudoVariable, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ duplicateTopBytecode, 0, needsFrameNever, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ unknownBytecode, 0, 0, 0, Nop, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0 },
	{ unknownBytecode, 0, 0, 0, Nop, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0 },
	{ unknownBytecode, 0, 0, 0, Nop, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0 },
	{ unknownBytecode, 0, 0, 0, Nop, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0 },
	{ genReturnReceiver, 0, needsFrameIfInBlock, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0 },
	{ genReturnTrue, 0, needsFrameIfInBlock, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0 },
	{ genReturnFalse, 0, needsFrameIfInBlock, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0 },
	{ genReturnNil, 0, needsFrameIfInBlock, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0 },
	{ genReturnTopFromMethod, 0, needsFrameIfInBlock, -1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0 },
	{ genReturnNilFromBlock, 0, needsFrameNever, -1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0 },
	{ genReturnTopFromBlock, 0, needsFrameNever, -1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0 },
	{ genExtNopBytecode, 0, needsFrameNever, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorArithmetic, 0, 0, 0, AddRR, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorArithmetic, 0, 0, 0, SubRR, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorComparison, 0, 0, 0, JumpLess, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorComparison, 0, 0, 0, JumpGreater, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorComparison, 0, 0, 0, JumpLessOrEqual, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorComparison, 0, 0, 0, JumpGreaterOrEqual, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorComparison, 0, 0, 0, JumpZero, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorComparison, 0, 0, 0, JumpNonZero, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorArithmetic, 0, 0, 0, AndRR, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorArithmetic, 0, 0, 0, OrRR, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorEqualsEquals, 0, needsFrameNever, -1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorClass, 0, needsFrameIfStackGreaterThanOne, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorNotEqualsEquals, 0, needsFrameNever, -1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSpecialSelectorSend, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector0ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector0ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector0ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector0ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector0ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector0ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector0ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector0ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector0ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector0ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector0ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector0ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector0ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector0ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector0ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector0ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector1ArgBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector1ArgBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector1ArgBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector1ArgBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector1ArgBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector1ArgBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector1ArgBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector1ArgBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector1ArgBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector1ArgBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector1ArgBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector1ArgBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector1ArgBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector1ArgBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector1ArgBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector1ArgBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector2ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector2ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector2ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector2ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector2ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector2ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector2ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector2ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector2ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector2ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector2ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector2ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector2ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector2ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector2ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genSendLiteralSelector2ArgsBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genShortUnconditionalJump, v3ShortForwardBranchDistance, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genShortUnconditionalJump, v3ShortForwardBranchDistance, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genShortUnconditionalJump, v3ShortForwardBranchDistance, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genShortUnconditionalJump, v3ShortForwardBranchDistance, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genShortUnconditionalJump, v3ShortForwardBranchDistance, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genShortUnconditionalJump, v3ShortForwardBranchDistance, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genShortUnconditionalJump, v3ShortForwardBranchDistance, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genShortUnconditionalJump, v3ShortForwardBranchDistance, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genShortJumpIfTrue, v3ShortForwardBranchDistance, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genShortJumpIfTrue, v3ShortForwardBranchDistance, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genShortJumpIfTrue, v3ShortForwardBranchDistance, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genShortJumpIfTrue, v3ShortForwardBranchDistance, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genShortJumpIfTrue, v3ShortForwardBranchDistance, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genShortJumpIfTrue, v3ShortForwardBranchDistance, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genShortJumpIfTrue, v3ShortForwardBranchDistance, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genShortJumpIfTrue, v3ShortForwardBranchDistance, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genShortJumpIfFalse, v3ShortForwardBranchDistance, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0 },
	{ genShortJumpIfFalse, v3ShortForwardBranchDistance, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0 },
	{ genShortJumpIfFalse, v3ShortForwardBranchDistance, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0 },
	{ genShortJumpIfFalse, v3ShortForwardBranchDistance, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0 },
	{ genShortJumpIfFalse, v3ShortForwardBranchDistance, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0 },
	{ genShortJumpIfFalse, v3ShortForwardBranchDistance, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0 },
	{ genShortJumpIfFalse, v3ShortForwardBranchDistance, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0 },
	{ genShortJumpIfFalse, v3ShortForwardBranchDistance, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0 },
	{ genStoreAndPopReceiverVariableBytecode, 0, needsFrameIfImmutability, -1, 0, 1, 0, 0, 0, IMMUTABILITY, 0, 0, 1, 1, 0 },
	{ genStoreAndPopReceiverVariableBytecode, 0, needsFrameIfImmutability, -1, 0, 1, 0, 0, 0, IMMUTABILITY, 0, 0, 1, 1, 0 },
	{ genStoreAndPopReceiverVariableBytecode, 0, needsFrameIfImmutability, -1, 0, 1, 0, 0, 0, IMMUTABILITY, 0, 0, 1, 1, 0 },
	{ genStoreAndPopReceiverVariableBytecode, 0, needsFrameIfImmutability, -1, 0, 1, 0, 0, 0, IMMUTABILITY, 0, 0, 1, 1, 0 },
	{ genStoreAndPopReceiverVariableBytecode, 0, needsFrameIfImmutability, -1, 0, 1, 0, 0, 0, IMMUTABILITY, 0, 0, 1, 1, 0 },
	{ genStoreAndPopReceiverVariableBytecode, 0, needsFrameIfImmutability, -1, 0, 1, 0, 0, 0, IMMUTABILITY, 0, 0, 1, 1, 0 },
	{ genStoreAndPopReceiverVariableBytecode, 0, needsFrameIfImmutability, -1, 0, 1, 0, 0, 0, IMMUTABILITY, 0, 0, 1, 1, 0 },
	{ genStoreAndPopReceiverVariableBytecode, 0, needsFrameIfImmutability, -1, 0, 1, 0, 0, 0, IMMUTABILITY, 0, 0, 1, 1, 0 },
	{ genStoreAndPopTemporaryVariableBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genStoreAndPopTemporaryVariableBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genStoreAndPopTemporaryVariableBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genStoreAndPopTemporaryVariableBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genStoreAndPopTemporaryVariableBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genStoreAndPopTemporaryVariableBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genStoreAndPopTemporaryVariableBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genStoreAndPopTemporaryVariableBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genPopStackBytecode, 0, needsFrameNever, -1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genUnconditionalTrapBytecode, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ unknownBytecode, 0, 0, 0, Nop, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0 },
	{ unknownBytecode, 0, 0, 0, Nop, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0 },
	{ unknownBytecode, 0, 0, 0, Nop, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0 },
	{ unknownBytecode, 0, 0, 0, Nop, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0 },
	{ unknownBytecode, 0, 0, 0, Nop, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0 },
	{ unknownBytecode, 0, 0, 0, Nop, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0 },
	{ extABytecode, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0 },
	{ extBBytecode, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0 },
	{ genExtPushReceiverVariableBytecode, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0 },
	{ genExtPushLiteralVariableBytecode, 0, needsFrameNever, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genExtPushLiteralBytecode, 0, needsFrameNever, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genLongPushTemporaryVariableBytecode, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ unknownBytecode, 0, 0, 0, Nop, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0 },
	{ genPushNewArrayBytecode, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genExtPushIntegerBytecode, 0, needsFrameNever, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genExtPushCharacterBytecode, 0, needsFrameNever, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genExtSendBytecode, 0, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genExtSendSuperBytecode, 0, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genCallMappedInlinedPrimitive, 0, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genExtUnconditionalJump, v4LongBranchDistance, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genExtJumpIfTrue, v4LongBranchDistance, 0, 0, 0, 2, 1, 0, 0, 1, 0, 0, 0, 0, 0 },
	{ genExtJumpIfFalse, v4LongBranchDistance, 0, 0, 0, 2, 0, 1, 0, 1, 0, 0, 0, 0, 0 },
	{ genExtStoreAndPopReceiverVariableBytecode, 0, 0, 0, 0, 2, 0, 0, 0, IMMUTABILITY, 0, 0, 1, 0, 0 },
	{ genExtStoreAndPopLiteralVariableBytecode, 0, 0, 0, 0, 2, 0, 0, 0, IMMUTABILITY, 0, 0, 0, 0, 0 },
	{ genLongStoreAndPopTemporaryVariableBytecode, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genExtStoreReceiverVariableBytecode, 0, 0, 0, 0, 2, 0, 0, 0, IMMUTABILITY, 0, 0, 1, 0, 0 },
	{ genExtStoreLiteralVariableBytecode, 0, 0, 0, 0, 2, 0, 0, 0, IMMUTABILITY, 0, 0, 0, 0, 0 },
	{ genLongStoreTemporaryVariableBytecode, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ unknownBytecode, 0, 0, 0, Nop, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0 },
	{ unknownBytecode, 0, 0, 0, Nop, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0 },
	{ genCallPrimitiveBytecode, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1 },
	{ genExtPushFullClosureBytecode, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ unknownBytecode, 0, 0, 0, Nop, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0 },
	{ genPushRemoteTempLongBytecode, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genStoreRemoteTempLongBytecode, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ genStoreAndPopRemoteTempLongBytecode, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ unknownBytecode, 0, 0, 0, Nop, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0 },
	{ unknownBytecode, 0, 0, 0, Nop, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0 }
};
static sqInt hasYoungReferent;
static sqInt inBlock;
static sqInt initialPC;
static sqInt introspectionData;
static sqInt introspectionDataIndex;
static int jitCodeZoneWriteEnabled = 0;
static int labelCounter;
static sqInt lastSend;
static usqInt limitAddress;
static sqInt maxLitIndex;
static sqInt methodAbortTrampolines[4];
static sqInt methodBytesFreedSinceLastCompaction;
static sqInt methodCount;
static sqInt methodHeader;
static AbstractInstruction * const methodLabel = &aMethodLabel;
static sqInt methodObj;
static sqInt methodOrBlockNumArgs;
static sqInt methodOrBlockNumTemps;
static sqInt methodZoneBase;
static usqIntptr_t minValidCallAddress;
sqInt missOffset;
static usqInt mzFreeStart;
static sqInt needsFrame;
static AbstractInstruction * noCheckEntry;
static sqInt numAbstractOpcodes;
static sqInt numExtB;
static usqInt objectReferencesInRuntime[NumObjRefsInRuntime+1];
static sqInt opcodeIndex;
static CogMethod *openPICList = 0;
static sqInt openPICSize;
static sqInt ordinarySendTrampolines[NumSendTrampolines];
static sqInt picAbortTrampolines[4];
static AbstractInstruction * picInterpretAbort;
static sqInt picMissTrampolines[4];
static void (*postCompileHook)(CogMethod *);
static AbstractInstruction * primInvokeInstruction;
static sqInt primitiveIndex;
static AbstractInstruction * primSetFunctionLabel;
void (*realCECallCogCodePopReceiverAndClassRegs)(void);
void (*realCECallCogCodePopReceiverArg0Regs)(void);
void (*realCECallCogCodePopReceiverArg1Arg0Regs)(void);
void (*realCECallCogCodePopReceiverReg)(void);
void (*realCEEnterCogCodePopReceiverReg)(void);
static sqInt receiverTags;
static sqInt regArgsHaveBeenPushed;
static sqInt runtimeObjectRefIndex;
static AbstractInstruction * sendMiss;
static sqInt simSpillBase;
static SimStackEntry simStack[70];
static sqInt simStackPtr;
static AbstractInstruction * stackCheckLabel;
static AbstractInstruction * stackOverflowCall;
static sqInt statCompileFullBlockCount;
static sqInt statCompileFullBlockUsecs;
static sqInt statCompileMethodCount;
static sqInt statCompileMethodUsecs;
static sqInt superSendTrampolines[NumSendTrampolines];
static sqInt tempOop;
int traceFlags = 8 /* prim trace log on by default */;
sqInt traceStores;
static char *trampolineAddresses[NumTrampolines*2];
static sqInt trampolineTableIndex;
static sqInt useTwoPaths;
static usqInt youngReferrers;


/*** Macros ***/
#define seeAlso(self, msg) 
#define unalignedLongAtput(byteAddress,aWord) memcpy((void*)byteAddress, &aWord, sizeof(sqInt))
#define abstractInstructionAt(index) (&abstractOpcodes[index])
#define backEnd() backEnd
#define blockAlignment() 8
#define breakOnImplicitReceiver() (traceFlags & 64)
#define ceBaseFrameReturnPC() ceBaseFrameReturnTrampoline
#define ceCannotResumePC() ((usqInt)ceCannotResumeTrampoline)
#define ceCheckFeatures() ceCheckFeaturesFunction()
#define ceReturnToInterpreterPC() ((usqInt)ceReturnToInterpreterTrampoline)
#define cFramePointerAddress() ((usqIntptr_t)&CFramePointer)
#define cogitTryLockVMOwner() (ceTryLockVMOwner() != 0)
#define cogitUnlockVMOwner() ceUnlockVMOwner()
#define compileSendTrace() ((traceFlags & 258) == 258)
#define cr() putchar('\n')
#define cStackPointerAddress() ((usqIntptr_t)&CStackPointer)
#define entryOffset() cmEntryOffset
#define generatorAt(index) (&generatorTable[index])
#define getCFramePointer() CFramePointer
#define getCStackPointer() CStackPointer
#define getIsObjectReference() 2
#define halt() warning("halt")
#define haltmsg(msg) warning("halt: " msg)
#define interpretOffset() missOffset
#define maxCogCodeSize() (16*1024*1024)
#define methodLabel() methodLabel
#define methodZoneBase() methodZoneBase
#define minCallAddress() minValidCallAddress
#define noCheckEntryOffset() cmNoCheckEntryOffset
#define printNum(n) vm_printf("%" PRIdSQINT, (sqInt) (n))
#define printOnTrace() (traceFlags & 1)
#define print(aString) vm_printf("%s", aString)
#define recordBlockTrace() (traceFlags & 4)
#define recordEventTrace() (traceFlags & 16)
#define recordOverflowTrace() (traceFlags & 32)
#define recordPrimTrace() (traceFlags & 8)
#define recordSendTrace() (traceFlags & 2)
#define reportError(n) warning("compilation error")
#define setCFramePointer(theFP) (CFramePointer = (void *)(theFP))
#define setCStackPointer(theSP) (CStackPointer = (void *)(theSP))
#define cPICNumCases stackCheckOffset
#define cPICNumCasesHack hack hack hack i.e. the getter macro does all the work
#define nextOpenPIC methodObject
#define nextOpenPICHack hack hack hack i.e. the getter macro does all the work
#define freeStart() mzFreeStart
#define limitZony() ((CogMethod *)mzFreeStart)
#define methodBytesFreedSinceLastCompaction() methodBytesFreedSinceLastCompaction
#define roundUpLength(numBytes) ((numBytes) + 7 & -8)
#define youngReferrers() youngReferrers
#define maybeConstant(sse) ((sse)->constant)
#define unalignedLong32Atput(inst,byteAddress,aWord) memcpy((void*)byteAddress, &aWord, sizeof(int32_t))
#define fullBlockEntryOffset() cbEntryOffset
#define fullBlockNoContextSwitchEntryOffset() cbNoSwitchEntryOffset
#define fixupAtIndex(index) (&fixups[index])
#define simSelf() simStack
#define simStackAt(index) (simStack + (index))
#define traceDescriptor(ign) 0
#define traceSpill(ign) 0
#define allocatype(numElements, elementType) alloca((numElements)*sizeof(elementType))
#define contentsOf(value) value
#define oopisGreaterThanOrEqualTo(anOop,otherOop) ((usqInt)(anOop) >= (usqInt)(otherOop))
#define oopisGreaterThanOrEqualToandLessThanOrEqualTo(anOop,baseOop,limitOop) ((usqInt)(anOop) >= (usqInt)(baseOop) && (usqInt)(anOop) <= (usqInt)(limitOop))
#define oopisGreaterThanOrEqualToandLessThan(anOop,baseOop,limitOop) ((usqInt)(anOop) >= (usqInt)(baseOop) && (usqInt)(anOop) < (usqInt)(limitOop))
#define oopisGreaterThan(anOop,otherOop) ((usqInt)(anOop) > (usqInt)(otherOop))
#define oopisGreaterThanandLessThan(anOop,baseOop,limitOop) ((usqInt)(anOop) > (usqInt)(baseOop) && (usqInt)(anOop) < (usqInt)(limitOop))
#define oopisLessThanOrEqualTo(anOop,otherOop) ((usqInt)(anOop) <= (usqInt)(otherOop))
#define oopisLessThan(anOop,otherOop) ((usqInt)(anOop) < (usqInt)(otherOop))

/* CogAbstractInstruction>>#addDependent: */
static AbstractInstruction * NoDbgRegParms
addDependent(AbstractInstruction * self_in_addDependent, AbstractInstruction *_anInstruction)
{
	if ((self_in_addDependent->dependent)) {
		(_anInstruction->dependent = (self_in_addDependent->dependent));
	}
	return ((self_in_addDependent->dependent) = _anInstruction);
}
/*	Answer an unused abstract vector register in the liveRegMask. 
	Subclasses with more registers can override to answer them. */
/* CogAbstractInstruction>>#availableVectorRegisterOrNoneFor: */
static sqInt NoDbgRegParms
availableVectorRegisterOrNoneFor(AbstractInstruction * self_in_availableVectorRegisterOrNoneFor, sqInt _liveRegsMask)
{
	if (!(_liveRegsMask & (1U << VReg0))) {
		return VReg0;
	}
	if (!(_liveRegsMask & (1U << VReg1))) {
		return VReg1;
	}
	if (!(_liveRegsMask & (1U << VReg2))) {
		return VReg2;
	}
	if (!(_liveRegsMask & (1U << VReg3))) {
		return VReg3;
	}
	if (!(_liveRegsMask & (1U << VReg4))) {
		return VReg4;
	}
	if (!(_liveRegsMask & (1U << VReg5))) {
		return VReg5;
	}
	if (!(_liveRegsMask & (1U << VReg6))) {
		return VReg6;
	}
	if (!(_liveRegsMask & (1U << VReg7))) {
		return VReg7;
	}
	return NoReg;
}
/*	Generate concrete machine code for the instruction at actualAddress, 
	setting machineCodeSize, and answer the following address. */
/* CogAbstractInstruction>>#concretizeAt: */
static sqInt NoDbgRegParms
concretizeAt(AbstractInstruction * self_in_concretizeAt, sqInt _actualAddress)
{
	(self_in_concretizeAt->address) = _actualAddress;
	dispatchConcretize(self_in_concretizeAt);
	assert((((self_in_concretizeAt->maxSize)) == null) || (((self_in_concretizeAt->maxSize)) >= ((self_in_concretizeAt->machineCodeSize))));
	return _actualAddress + ((self_in_concretizeAt->machineCodeSize));
}
/* CogAbstractInstruction>>#genCaptureCStackPointers: */
static AbstractInstruction * NoDbgRegParms
genCaptureCStackPointers(AbstractInstruction * self_in_genCaptureCStackPointers, sqInt _captureFramePointer)
{
	sqInt _address;
	sqInt _address2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	sqInt _quickConstant;
	sqInt _quickConstant2;
	sqInt _reg1;

	{
		{
			/* begin PushR: */
			genoperand(PushR, VarBaseReg);
			/* end PushR: */
			/* begin MoveCq:R: */
			_quickConstant = varBaseAddress();
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperandoperand(MoveCqR, _quickConstant, VarBaseReg);
			/* end checkQuickConstant:forInstruction: */
			/* end MoveCq:R: */
		}
	}
	if (_captureFramePointer) {
		/* begin MoveR:Aw: */
		_address = cFramePointerAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction2 = genoperandoperand(MoveRAw, FPReg, _address);
		/* end checkLiteral:forInstruction: */
		/* end MoveR:Aw: */
	}
	{
		/* begin MoveR:R: */
		_reg1 = cStackPointer(self_in_genCaptureCStackPointers);
		genoperandoperand(MoveRR, _reg1, TempReg);
		/* end MoveR:R: */
		/* begin AddCq:R: */
		_quickConstant2 = (leafCallStackPointerDelta(self_in_genCaptureCStackPointers)) + BytesPerWord;
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperand(AddCqR, _quickConstant2, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end AddCq:R: */
		/* begin MoveR:Aw: */
		_address2 = cStackPointerAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction4 = genoperandoperand(MoveRAw, TempReg, _address2);
		/* end checkLiteral:forInstruction: */
		/* end MoveR:Aw: */
	}
	{
		/* begin PopR: */
		genoperand(PopR, VarBaseReg);
		/* end PopR: */
	}
	genoperand(RetN, 0);
	return self_in_genCaptureCStackPointers;
}
/* CogAbstractInstruction>>#genMoveM32:r:R: */
static AbstractInstruction * NoDbgRegParms
genMoveM32rR(AbstractInstruction * self_in_genMoveM32rR, sqInt _offset, sqInt _baseReg, sqInt _destReg)
{
	AbstractInstruction *_anInstruction;

	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperandoperand(MoveM32rR, _offset, _baseReg, _destReg);
	return _anInstruction;
	/* end checkQuickConstant:forInstruction: */
}
/* CogAbstractInstruction>>#genWriteCResultIntoReg: */
static AbstractInstruction * NoDbgRegParms
genWriteCResultIntoReg(AbstractInstruction * self_in_genWriteCResultIntoReg, sqInt _abstractRegister)
{
	sqInt _cResultReg;

	_cResultReg = RAX;
	if (_abstractRegister != _cResultReg) {
		genoperandoperand(MoveRR, _cResultReg, _abstractRegister);
	}
	return self_in_genWriteCResultIntoReg;
}
/* CogAbstractInstruction>>#isJump */
static sqInt NoDbgRegParms
isJump(AbstractInstruction * self_in_isJump)
{
	return (((self_in_isJump->opcode)) >= FirstJump) && (((self_in_isJump->opcode)) <= LastJump);
}
/*	We assume here that calls and jumps look the same as regards their 
	displacement. This works on at least x86, ARM and x86_64. Processors on 
	which that isn't the 
	case can override as necessary. */
/* CogAbstractInstruction>>#relocateJumpLongBeforeFollowingAddress:by: */
static AbstractInstruction * NoDbgRegParms
relocateJumpLongBeforeFollowingAddressby(AbstractInstruction * self_in_relocateJumpLongBeforeFollowingAddressby, sqInt _pc, sqInt _delta)
{
	relocateCallBeforeReturnPCby(self_in_relocateJumpLongBeforeFollowingAddressby, _pc, _delta);
	return self_in_relocateJumpLongBeforeFollowingAddressby;
}
/*	Relocate a long conditional jump before pc. Default to relocating a 
	non-conditional jump. 
	Processors that have different formats for conditional and unconditional 
	jumps override. */
/* CogAbstractInstruction>>#relocateJumpLongConditionalBeforeFollowingAddress:by: */
static AbstractInstruction * NoDbgRegParms
relocateJumpLongConditionalBeforeFollowingAddressby(AbstractInstruction * self_in_relocateJumpLongConditionalBeforeFollowingAddressby, sqInt _pc, sqInt _delta)
{
	relocateJumpLongBeforeFollowingAddressby(self_in_relocateJumpLongConditionalBeforeFollowingAddressby, _pc, _delta);
	return self_in_relocateJumpLongConditionalBeforeFollowingAddressby;
}
/* CogAbstractInstruction>>#resolveJumpTarget */
static AbstractInstruction * NoDbgRegParms
resolveJumpTarget(AbstractInstruction * self_in_resolveJumpTarget)
{
	BytecodeFixup *_fixup;

	assert(isJump(self_in_resolveJumpTarget));
	_fixup = ((BytecodeFixup *) ((self_in_resolveJumpTarget->operands)[0]) );
	if (addressIsInFixups(_fixup)) {
		assert(addressIsInInstructions((_fixup->targetInstruction)));
		jmpTarget(self_in_resolveJumpTarget, (_fixup->targetInstruction));
	}
	return self_in_resolveJumpTarget;
}
/* CogAbstractInstruction>>#unalignedLongAt: */
static sqInt NoDbgRegParms
unalignedLongAt(AbstractInstruction * self_in_unalignedLongAt, sqInt _byteAddress)
{
	sqInt _readValue;

	_readValue = 0;
	{
		memcpy(&_readValue, _byteAddress, sizeof(_readValue));
		return _readValue;
	}
	return self_in_unalignedLongAt;
}
/* CogBytecodeDescriptor>>#isBranch */
static sqInt NoDbgRegParms
isBranch(BytecodeDescriptor * self_in_isBranch)
{
	return ((self_in_isBranch->spanFunction)) != null;
}
/* CogInLineLiteralsX64Compiler>>#concretizeArithCwR: */
static usqInt NoDbgRegParms
concretizeArithCwR(AbstractInstruction * self_in_concretizeArithCwR, sqInt _x64opcode)
{
	usqInt _reg;
	sqInt _reverse;
	usqInt _value;

	_value = (self_in_concretizeArithCwR->operands)[0];
	_reg = (self_in_concretizeArithCwR->operands)[1];
	_reverse = (_x64opcode == 133) || (_x64opcode == 57);
	{
		(self_in_concretizeArithCwR->machineCode)[0] = rexRxb(self_in_concretizeArithCwR, RISCTempReg, 0, RISCTempReg);
		(self_in_concretizeArithCwR->machineCode)[1] = 184 + (RISCTempReg & 7);
		(self_in_concretizeArithCwR->machineCode)[2] = _value & 0xFF;
		(self_in_concretizeArithCwR->machineCode)[3] = (((usqInt) _value ) >> 8) & 0xFF;
		(self_in_concretizeArithCwR->machineCode)[4] = (((usqInt) _value ) >> 16) & 0xFF;
		(self_in_concretizeArithCwR->machineCode)[5] = (((usqInt) _value ) >> 24) & 0xFF;
		(self_in_concretizeArithCwR->machineCode)[6] = (((usqInt) _value ) >> 32) & 0xFF;
		(self_in_concretizeArithCwR->machineCode)[7] = (((usqInt) _value ) >> 40) & 0xFF;
		(self_in_concretizeArithCwR->machineCode)[8] = (((usqInt) _value ) >> 48) & 0xFF;
		(self_in_concretizeArithCwR->machineCode)[9] = (((usqInt) _value ) >> 56) & 0xFF;
		(self_in_concretizeArithCwR->machineCode)[10] = ((_reverse)
			 ? rexRxb(self_in_concretizeArithCwR, RISCTempReg, 0, _reg)
			 : rexRxb(self_in_concretizeArithCwR, _reg, 0, RISCTempReg));
		(self_in_concretizeArithCwR->machineCode)[11] = _x64opcode;
		(self_in_concretizeArithCwR->machineCode)[12] = ((_reverse)
			 ? modRMRO(self_in_concretizeArithCwR, ModReg, _reg, RISCTempReg)
			 : modRMRO(self_in_concretizeArithCwR, ModReg, RISCTempReg, _reg));
	}
	assert(((self_in_concretizeArithCwR->machineCode)[12]) > 144);
	return ((self_in_concretizeArithCwR->machineCodeSize) = 13);
}
/* CogInLineLiteralsX64Compiler>>#concretizeMovePatcheableC32R */
static usqInt NoDbgRegParms
concretizeMovePatcheableC32R(AbstractInstruction * self_in_concretizeMovePatcheableC32R)
{
	usqInt _reg;
	usqInt _value;

	/* begin concretizeMoveC32R */
	_value = (self_in_concretizeMovePatcheableC32R->operands)[0];
	_reg = (self_in_concretizeMovePatcheableC32R->operands)[1];
	{
		(self_in_concretizeMovePatcheableC32R->machineCode)[0] = rexRxb(self_in_concretizeMovePatcheableC32R, 0, 0, _reg);
		(self_in_concretizeMovePatcheableC32R->machineCode)[1] = 199;
		(self_in_concretizeMovePatcheableC32R->machineCode)[2] = modRMRO(self_in_concretizeMovePatcheableC32R, ModReg, _reg, 0);
		(self_in_concretizeMovePatcheableC32R->machineCode)[3] = _value & 0xFF;
		(self_in_concretizeMovePatcheableC32R->machineCode)[4] = (((usqInt) _value ) >> 8) & 0xFF;
		(self_in_concretizeMovePatcheableC32R->machineCode)[5] = (((usqInt) _value ) >> 16) & 0xFF;
		(self_in_concretizeMovePatcheableC32R->machineCode)[6] = (((usqInt) _value ) >> 24) & 0xFF;
	}
	return ((self_in_concretizeMovePatcheableC32R->machineCodeSize) = 7);
	/* end concretizeMoveC32R */
}
/*	Answer the inline cache tag for the return address of a send. */
/* CogInLineLiteralsX64Compiler>>#inlineCacheTagAt: */
static usqInt NoDbgRegParms
inlineCacheTagAt(AbstractInstruction * self_in_inlineCacheTagAt, sqInt _callSiteReturnAddress)
{
	return (literal32BeforeFollowingAddress(self_in_inlineCacheTagAt, _callSiteReturnAddress - 5)) & ((1U << (classIndexFieldWidth())) - 1);
}
/*	Answer if the receiver is a pc-dependent instruction. */
/* CogInLineLiteralsX64Compiler>>#isPCDependent */
static sqInt NoDbgRegParms
isPCDependent(AbstractInstruction * self_in_isPCDependent)
{
	return (isJump(self_in_isPCDependent)) || (((self_in_isPCDependent->opcode)) == AlignmentNops);
}
/*	Answer the 32-bit literal embedded in the instruction immediately 
	preceding followingAddress. */
/* CogInLineLiteralsX64Compiler>>#literal32BeforeFollowingAddress: */
static usqInt NoDbgRegParms
literal32BeforeFollowingAddress(AbstractInstruction * self_in_literal32BeforeFollowingAddress, sqInt _followingAddress)
{
	return ((unsigned int) (unalignedLong32At(self_in_literal32BeforeFollowingAddress, _followingAddress - 4)) );
}
/*	Answer the literal embedded in the instruction immediately preceding 
	followingAddress. This is used in the MoveCwR, PushCw and ArithCwR cases; 
	these are distinguished by a 
	nop following the literal load in MoveCwR, a 16r48 + reg ending the PushCw 
	sequence, and 
	a (self mod: ModReg RM: rX RO: rY) ending the ArithCwR sequence, which is 
	at least 16rC0. */
/* CogInLineLiteralsX64Compiler>>#literalBeforeFollowingAddress: */
static sqInt NoDbgRegParms
literalBeforeFollowingAddress(AbstractInstruction * self_in_literalBeforeFollowingAddress, sqInt _followingAddress)
{
	sqInt _base;
	sqInt _lastByte;

	_lastByte = byteAt(_followingAddress - 1);
	_base = _followingAddress - (((_lastByte == 144)
		 ? 9
		 : ((_lastByte < 144)
			 ? 10
			 : 11)));
	return unalignedLongAt(self_in_literalBeforeFollowingAddress, _base);
}
/*	Size a jump and set its address. The target may be another instruction 
	or an absolute address. On entry the address inst var holds our virtual 
	address. On exit address is set to eventualAbsoluteAddress, which is 
	where this instruction will be output. The span of a jump to a following 
	instruction is therefore between that instruction's address and this 
	instruction's address ((which are both still their virtual addresses), but 
	the span of a jump to a preceding instruction or to an absolute address is 
	between that instruction's address (which by now is its eventual absolute 
	address) or absolute address and eventualAbsoluteAddress. */
/* CogInLineLiteralsX64Compiler>>#sizePCDependentInstructionAt: */
static usqInt NoDbgRegParms
sizePCDependentInstructionAt(AbstractInstruction * self_in_sizePCDependentInstructionAt, sqInt _eventualAbsoluteAddress)
{
	AbstractInstruction *_abstractInstruction;
	usqInt _alignment;
	sqInt _maximumSpan;
	usqInt _target;

	if (((self_in_sizePCDependentInstructionAt->opcode)) == AlignmentNops) {
		(self_in_sizePCDependentInstructionAt->address) = _eventualAbsoluteAddress;
		_alignment = (self_in_sizePCDependentInstructionAt->operands)[0];
		return ((self_in_sizePCDependentInstructionAt->machineCodeSize) = ((_eventualAbsoluteAddress + (_alignment - 1)) & -_alignment) - _eventualAbsoluteAddress);
	}
	assert(isJump(self_in_sizePCDependentInstructionAt));
	_target = (self_in_sizePCDependentInstructionAt->operands)[0];
	_abstractInstruction = ((AbstractInstruction *) _target );
	if ((addressIsInInstructions(_abstractInstruction)) || (_abstractInstruction == (methodLabel()))) {
		_maximumSpan = ((_abstractInstruction->address)) - ((((abstractInstructionfollows(self_in_sizePCDependentInstructionAt, _abstractInstruction))
			 ? _eventualAbsoluteAddress
			 : (self_in_sizePCDependentInstructionAt->address))) + 2);
	}
 else {
		_maximumSpan = _target - (_eventualAbsoluteAddress + 2);
	}
	(self_in_sizePCDependentInstructionAt->address) = _eventualAbsoluteAddress;
	if (((self_in_sizePCDependentInstructionAt->opcode)) >= FirstShortJump) {
		if (isQuick(self_in_sizePCDependentInstructionAt, _maximumSpan)) {
			(self_in_sizePCDependentInstructionAt->machineCodeSize) = 2;
		} else {
			(self_in_sizePCDependentInstructionAt->machineCodeSize) = ((((self_in_sizePCDependentInstructionAt->opcode)) == Jump)
				 ? 5
				 : 6);
		}
	} else {
		switch ((self_in_sizePCDependentInstructionAt->opcode)) {
			case JumpLong:
			{
				(self_in_sizePCDependentInstructionAt->machineCodeSize) = 5;
			}
			break;
			case JumpFull:
			{
				(self_in_sizePCDependentInstructionAt->machineCodeSize) = 12;
			}
			break;
			case JumpLongZero:
			case JumpLongNonZero:
			{
				(self_in_sizePCDependentInstructionAt->machineCodeSize) = 6;
			}
			break;
			default:
			error("Case not found and no otherwise clause");
			(self_in_sizePCDependentInstructionAt->machineCodeSize) = -1;
		}
	}
	return (self_in_sizePCDependentInstructionAt->machineCodeSize);
}
/*	Rewrite the literal in the instruction immediately preceding 
	followingAddress. This is used in the MoveCwR, PushCw and CmpCwR cases; 
	these are distinguished by a 
	nop following the literal load in MoveCwR, a 16r50 + reg ending the PushCw 
	sequence, and 
	a (self mod: ModReg RM: rX RO: rY) ending the CmpCwR sequence, which is at 
	least 16rC0. */
/* CogInLineLiteralsX64Compiler>>#storeLiteral:beforeFollowingAddress: */
static AbstractInstruction * NoDbgRegParms
storeLiteralbeforeFollowingAddress(AbstractInstruction * self_in_storeLiteralbeforeFollowingAddress, sqInt _literal, sqInt _followingAddress)
{
	sqInt _base;
	sqInt _lastByte;

	_lastByte = byteAt(_followingAddress - 1);
	_base = _followingAddress - (((_lastByte <= 144)
		 ? ((_lastByte == 144)
			 ? 9
			 : 10)
		 : 11));
	unalignedLongAtput(_base, _literal);
	return self_in_storeLiteralbeforeFollowingAddress;
}
/* Cogit>>#AddCq:R: */
static AbstractInstruction * NoDbgRegParms
gAddCqR(sqInt _quickConstant, sqInt _reg)
{
	AbstractInstruction *_anInstruction;

	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(AddCqR, _quickConstant, _reg);
	return _anInstruction;
	/* end checkQuickConstant:forInstruction: */
}
/* Cogit>>#AlignedSt1S:Vr:R:Mw: */

#if FEATURE_JIT_SIMD
static AbstractInstruction * NoDbgRegParms
gAlignedSt1SVrRMw(sqInt _aSize, sqInt _aVectorRegister, sqInt _aMemoryRegister, sqInt _anOffset)
{
	return genoperandoperandoperandoperand(AlignedSt1VrRMw, _aSize, _aVectorRegister, _aMemoryRegister, _anOffset);
}
#endif /* FEATURE_JIT_SIMD */
/* Cogit>>#AndCq:R: */
static AbstractInstruction * NoDbgRegParms
gAndCqR(sqInt _quickConstant, sqInt _reg)
{
	AbstractInstruction *_anInstruction;

	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(AndCqR, _quickConstant, _reg);
	return _anInstruction;
	/* end checkQuickConstant:forInstruction: */
}
/* Cogit>>#AndCq:R:R: */
static AbstractInstruction * NoDbgRegParms
gAndCqRR(sqInt _quickConstant, sqInt _srcReg, sqInt _destReg)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_first;

	if (_srcReg == _destReg) {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(AndCqR, _quickConstant, _destReg);
		return _anInstruction;
		/* end checkQuickConstant:forInstruction: */
	}
	_first = genoperandoperand(MoveRR, _srcReg, _destReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(AndCqR, _quickConstant, _destReg);
	/* end checkQuickConstant:forInstruction: */
	return _first;
}
/* Cogit>>#abortOffset */
sqInt
abortOffset(void)
{
	return missOffset;
}
/* Cogit>>#abstractInstruction:follows: */
static sqInt NoDbgRegParms
abstractInstructionfollows(AbstractInstruction *_theAbstractInstruction, AbstractInstruction *_anAbstractInstruction)
{
	return _theAbstractInstruction > _anAbstractInstruction;
}
/*	Perform an integrity/leak check using the heapMap. 
	Set a bit at each cog method's header. */
/* Cogit>>#addCogMethodsToHeapMap */
void
addCogMethodsToHeapMap(void)
{
	CogMethod *_cogMethod;

	_cogMethod = ((CogMethod *) methodZoneBase );
	while (_cogMethod < (limitZony())) {
		if (((_cogMethod->cmType)) == CMMethod) {
			heapMapAtWordPut(_cogMethod, 1);
		}
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
	}
}
/*	Hardcode renaming to _address */
/* Cogit>>#addressIsInFixups: */
static sqInt NoDbgRegParms
addressIsInFixups(BytecodeFixup *_address)
{
	return (BytecodeFixup *)_address >= fixups && (BytecodeFixup *)_address < (fixups + numAbstractOpcodes);
}
/*	Hardcode renaming to _address */
/* Cogit>>#addressIsInInstructions: */
static sqInt NoDbgRegParms
addressIsInInstructions(AbstractInstruction *_address)
{
	return !((usqInt)(_address) & BytesPerWord-1) \
				&& (_address) >= &abstractOpcodes[0] \
				&& (_address) < &abstractOpcodes[opcodeIndex];
}
/*	calculate the end of the n'th case statement - which is complicated 
	because we have case 1 right at the top of our CPIC and then build up from 
	the last one. Yes I know this sounds strange, but trust me - I'm an 
	Engineer, we do things backwards all the emit */
/* Cogit>>#addressOfEndOfCase:inCPIC: */
static sqInt NoDbgRegParms
addressOfEndOfCaseinCPIC(sqInt _n, CogMethod *_cPIC)
{
	assert((_n >= 1) && (_n <= MaxCPICCases));
	return ((_n == 1)
		 ? ((sqInt) _cPIC ) + firstCPICCaseOffset
		 : (((sqInt) _cPIC ) + firstCPICCaseOffset) + (((MaxCPICCases + 1) - _n) * cPICCaseSize));
}
/* Cogit>>#alignUptoRoutineBoundary: */
static sqInt NoDbgRegParms
alignUptoRoutineBoundary(sqInt _anAddress)
{
	return ((_anAddress + 7) | 7) - 7;
}
/*	Check that all methods have valid selectors, and that all linked sends are 
	to valid targets and have valid cache tags */
/* Cogit>>#allMachineCodeObjectReferencesValid */
static sqInt
allMachineCodeObjectReferencesValid(void)
{
	CogMethod *_cogMethod;
	int _ok;

	_ok = 1;
	_cogMethod = ((CogMethod *) methodZoneBase );
	while (_cogMethod < (limitZony())) {
		if (((_cogMethod->cmType)) != CMFree) {
			if (!(asserta(checkValidOopReference((_cogMethod->selector))))) {
				_ok = 0;
			}
			if (!(asserta((cogMethodDoesntLookKosher(_cogMethod)) == 0))) {
				_ok = 0;
			}
		}
		if ((((_cogMethod->cmType)) == CMMethod) || (((_cogMethod->cmType)) == CMMegamorphicIC)) {
			if (!(asserta((mapForperformUntilarg(_cogMethod, checkIfValidOopRefAndTargetpccogMethod, ((sqInt) _cogMethod ))) == 0))) {
				_ok = 0;
			}
		}
		if (((_cogMethod->cmType)) == CMPolymorphicIC) {
			if (!(asserta(noTargetsFreeInClosedPIC(_cogMethod)))) {
				_ok = 0;
			}
		}
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
	}
	return _ok;
}
/* Cogit>>#allMethodsHaveCorrectHeader */
static sqInt
allMethodsHaveCorrectHeader(void)
{
	CogMethod *_cogMethod;

	_cogMethod = ((CogMethod *) methodZoneBase );
	while (_cogMethod < (limitZony())) {
		if (((_cogMethod->cmType)) == CMMethod) {
			if (!(((_cogMethod->objectHeader)) == (nullHeaderForMachineCodeMethod()))) {
				return 0;
			}
		}
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
	}
	return 1;
}
/* Cogit>>#annotateAbsolutePCRef: */
static AbstractInstruction * NoDbgRegParms
annotateAbsolutePCRef(AbstractInstruction *_abstractInstruction)
{
	(_abstractInstruction->annotation = IsAbsPCReference);
	return _abstractInstruction;
}
/* Cogit>>#annotateBytecode: */
static AbstractInstruction * NoDbgRegParms
annotateBytecode(AbstractInstruction *_abstractInstruction)
{
	(_abstractInstruction->annotation = HasBytecodePC);
	return _abstractInstruction;
}
/* Cogit>>#annotate:objRef: */
static AbstractInstruction * NoDbgRegParms
annotateobjRef(AbstractInstruction *_abstractInstruction, sqInt _anOop)
{
	if (shouldAnnotateObjectReference(_anOop)) {
		if (isYoungObject(getMemoryMap(), _anOop)) {
			hasYoungReferent = 1;
		}
		(_abstractInstruction->annotation = IsObjectReference);
	}
	return _abstractInstruction;
}
/* Cogit>>#assertSaneJumpTarget: */
static void NoDbgRegParms
assertSaneJumpTarget(AbstractInstruction *_jumpTarget)
{
	assert((closedPICSize == null) || ((openPICSize == null) || ((addressIsInInstructions(_jumpTarget)) || ((((usqInt) _jumpTarget ) >= codeBase) && (((usqInt) _jumpTarget ) <= (((sqInt) (limitZony()) ) + (((closedPICSize < openPICSize) ? openPICSize : closedPICSize))))))));
}
/*	Answer the zero-relative bytecode pc matching the machine code pc argument 
	in cogMethod, given the start of the bytecodes for cogMethod's method 
	object.  */
/* Cogit>>#bytecodePCFor:startBcpc:in: */
sqInt
bytecodePCForstartBcpcin(sqInt _mcpc, sqInt _startbcpc, CogMethod *_cogMethod)
{
	sqInt _aMethodObj;
	sqInt _annotation;
	sqInt _bcpc;
	sqInt _byte;
	BytecodeDescriptor *_descriptor;
	sqInt _distance;
	sqInt _endbcpc;
	CogMethod *_homeMethod;
	sqInt _isBackwardBranch;
	usqInt _isInBlock;
	sqInt _latestContinuation;
	usqInt _map;
	sqInt _mapByte;
	usqInt _mcpc2;
	sqInt _nExts;
	sqInt _nextBcpc;
	sqInt _result;
	sqInt _targetPC;

	/* begin mapFor:bcpc:performUntil:arg: */
	assert(((_cogMethod->stackCheckOffset)) > 0);
	_mcpc2 = ((usqInt) _cogMethod ) + ((_cogMethod->stackCheckOffset));
	_result = findIsBackwardBranchMcpcBcpcMatchingMcpc(null, 0 + ((sqInt) (((usqInt) HasBytecodePC ) << 1) ), ((char *) _mcpc2 ), _startbcpc, ((void *) _mcpc ));
	if (_result != 0) {
		return _result;
	}
	_bcpc = _startbcpc;
	_isInBlock = (_cogMethod->cpicHasMNUCaseOrCMIsFullBlock);
	_homeMethod = ((CogMethod *) _cogMethod );
	assert(_startbcpc == (startPCOfMethodHeader((_homeMethod->methodHeader))));
	_map = (((usqInt) _homeMethod ) + ((_homeMethod->blockSize))) - 1;
	_annotation = ((usqInt) (byteAt(_map)) ) >> AnnotationShift;
	assert((_annotation == IsAbsPCReference) || ((_annotation == IsObjectReference) || ((_annotation == IsRelativeCall) || (_annotation == IsDisplacementX2N))));
	_latestContinuation = _startbcpc;
	_aMethodObj = (_homeMethod->methodObject);
	_endbcpc = (numBytesOf(_aMethodObj)) - 1;
	_bcpc += deltaToSkipPrimAndErrorStoreInheader(_aMethodObj, (_homeMethod->methodHeader));
	_nExts = 0;
	{
		enumeratingCogMethod = _homeMethod;
	}
	while ((((usqInt) (byteAt(_map)) ) >> AnnotationShift) != HasBytecodePC) {
		_map -= 1;
	}
	_map -= 1;
	while (((_mapByte = byteAt(_map))) != MapEnd) {
		if (_mapByte >= FirstAnnotation) {
			_annotation = ((usqInt) _mapByte ) >> AnnotationShift;
			_mcpc2 += _mapByte & DisplacementMask;
			if (_annotation >= HasBytecodePC) {
				if ((_annotation == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
					_annotation += _mapByte & DisplacementMask;
					_map -= 1;
				}
				while (1) {
					_byte = fetchByteofObject(_bcpc, _aMethodObj);
					_descriptor = generatorAt(_byte);
					if (_isInBlock) {
						if (_bcpc >= _endbcpc) {
							return 0;
						}
					} else {
						if (((_descriptor->isReturn)) && (_bcpc >= _latestContinuation)) {
							return 0;
						}
						if (isBranch(_descriptor)) {
							/* begin latestContinuationPCFor:at:exts:in: */
							_distance = ((_descriptor->spanFunction))(_descriptor, _bcpc, _nExts, _aMethodObj);
							_targetPC = (_bcpc + ((_descriptor->numBytes))) + (((_distance < 0) ? 0 : _distance));
							/* end latestContinuationPCFor:at:exts:in: */
							_latestContinuation = ((_latestContinuation < _targetPC) ? _targetPC : _latestContinuation);
						}
					}
					_nextBcpc = _bcpc + ((_descriptor->numBytes));
					if (((_descriptor->isMapped)) || (_isInBlock && ((_descriptor->isMappedInBlock)))) 
						break;
					_bcpc = _nextBcpc;
					_nExts = (((_descriptor->isExtension))
						 ? _nExts + 1
						 : 0);
				}
				_isBackwardBranch = (isBranch(_descriptor)) && ((assert(((_descriptor->spanFunction)) != null), (((_descriptor->spanFunction))(_descriptor, _bcpc, _nExts, _aMethodObj)) < 0));
				_result = findIsBackwardBranchMcpcBcpcMatchingMcpc(_descriptor, ((_isBackwardBranch)
					 ? ((sqInt) (((usqInt) _annotation ) << 1) ) + 1
					 : ((sqInt) (((usqInt) _annotation ) << 1) )), ((char *) _mcpc2 ), ((_isBackwardBranch)
					 ? _bcpc - (2 * _nExts)
					 : _bcpc), ((void *) _mcpc ));
				if (_result != 0) {
					return _result;
				}
				_bcpc = _nextBcpc;
				_nExts = (((_descriptor->isExtension))
					 ? _nExts + 1
					 : 0);
			}
		} else {
			assert(((((usqInt) _mapByte ) >> AnnotationShift) == IsDisplacementX2N) || ((((usqInt) _mapByte ) >> AnnotationShift) == IsAnnotationExtension));
			if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
				_mcpc2 += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
			}
		}
		_map -= 1;
	}
	return 0;
	/* end mapFor:bcpc:performUntil:arg: */
}
/* Cogit>>#CallRT:registersToBeSavedMask: */
static AbstractInstruction * NoDbgRegParms
CallRTregistersToBeSavedMask(sqInt _callTarget, sqInt _registersToBeSaved)
{
	AbstractInstruction *_abstractInstruction;
	sqInt _callerSavedRegsToBeSaved;
	AbstractInstruction *_lastInst;
	int _reg;
	sqInt _registersToBePushed;

	_reg = 0;
	_callerSavedRegsToBeSaved = CallerSavedRegisterMask & _registersToBeSaved;
	{
		_registersToBePushed = _callerSavedRegsToBeSaved;
		_reg = 0;
		while (_registersToBePushed != 0) {
			if (_registersToBePushed & 1) {
				genoperand(PushR, _reg);
			}
			_reg += 1;
			_registersToBePushed = ((sqInt) _registersToBePushed ) >> 1;
		}
	}
	/* begin CallRT: */
	/* begin annotateCall: */
	_abstractInstruction = genoperand(Call, _callTarget);
	(_abstractInstruction->annotation = IsRelativeCall);
	_lastInst = _abstractInstruction;
	/* end annotateCall: */
	/* end CallRT: */
	{
		while (_reg > 0) {
			_reg -= 1;
			if (_callerSavedRegsToBeSaved & (1ULL << _reg)) {
				_lastInst = genoperand(PopR, _reg);
			}
		}
		return _lastInst;
	}
}
/* Cogit>>#Call: */
static AbstractInstruction * NoDbgRegParms
gCall(sqInt _callTarget)
{
	return genoperand(Call, _callTarget);
}
/* Cogit>>#CmpCq:R: */
static AbstractInstruction * NoDbgRegParms
gCmpCqR(sqInt _quickConstant, sqInt _reg)
{
	AbstractInstruction *_anInstruction;

	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(CmpCqR, _quickConstant, _reg);
	return _anInstruction;
	/* end checkQuickConstant:forInstruction: */
}
/* Cogit>>#CmpCw:R: */
static AbstractInstruction * NoDbgRegParms
gCmpCwR(sqInt _wordConstant, sqInt _reg)
{
	AbstractInstruction *_anInstruction;

	/* begin checkLiteral:forInstruction: */
	_anInstruction = genoperandoperand(CmpCwR, _wordConstant, _reg);
	return _anInstruction;
	/* end checkLiteral:forInstruction: */
}
/*	in-line cache tags are selectors on unlinked sends, super sends and 
	megamorphically linked sends */
/* Cogit>>#cacheTagIsSelectorForAnnotation:andEntryPoint: */
static sqInt NoDbgRegParms
cacheTagIsSelectorForAnnotationandEntryPoint(sqInt _annotation, sqInt _entryPoint)
{
	return (_entryPoint < methodZoneBase) || (((_annotation == IsSuperSend) || ((_annotation >= IsDirectedSuperSend) && (_annotation <= IsDirectedSuperBindingSend))) || ((((((CogMethod *) (_entryPoint - cmEntryOffset) ))->cmType)) == CMMegamorphicIC));
}
/*	This is a static version of ceCallCogCodePopReceiverReg 
	for break-pointing when debugging in C.This exists only for break-pointing. */
/* Cogit>>#callCogCodePopReceiver */
void
callCogCodePopReceiver(void)
{
	realCECallCogCodePopReceiverReg();
	{
		error("what??");
	}
}
/*	This is a static version of ceCallCogCodePopReceiverAndClassRegs 
	for break-pointing when debugging in C.This exists only for break-pointing. */
/* Cogit>>#callCogCodePopReceiverAndClassRegs */
void
callCogCodePopReceiverAndClassRegs(void)
{
	realCECallCogCodePopReceiverAndClassRegs();
}
/*	Code entry closed PIC miss. A send has fallen 
	through a closed (finite) polymorphic inline cache. 
	Either extend it or patch the send site to an open PIC. 
	The stack looks like: 
	receiver 
	args 
	sp=>	sender return address */
/* Cogit>>#ceCPICMiss:receiver: */
sqInt
ceCPICMissreceiver(CogMethod *_cPIC, sqInt _receiver)
{
	sqInt _callerReturnAddress;
	sqInt _errorSelectorOrNil;
	sqInt _methodOrSelectorIndex;
	sqInt _newTargetMethodOrNil;
	sqInt _selector;

	/* begin simulationOnly: */
	/* end simulationOnly: */
	if (isOopForwarded(_receiver)) {
		return ceSendFromInLineCacheMiss(_cPIC);
	}
	_callerReturnAddress = stackTop();
	assert(!((inlineCacheTagAt(backEnd, _callerReturnAddress)) == (isMNUPicAbortDiscriminatorValue())));
	if (MaxCPICCases <= ((_cPIC->cPICNumCases))) {
		patchToMegamorphicICFornumArgsreceiver((_cPIC->selector), (_cPIC->cmNumArgs), _receiver);
		return ceSendFromInLineCacheMiss(_cPIC);
	}
	/* begin lookup:for:methodAndErrorSelectorInto: */
	_selector = (_cPIC->selector);
	_methodOrSelectorIndex = lookupMethodWithoutMNUProcessingForSelectorreceiver(_selector, _receiver);
	if (_methodOrSelectorIndex == SelectorCannotInterpret) {
		{
			_newTargetMethodOrNil = null;
			_errorSelectorOrNil = SelectorCannotInterpret;
		}
		goto l2;
	}
	if (_methodOrSelectorIndex == SelectorDoesNotUnderstand) {
		_methodOrSelectorIndex = lookupMethodWithoutMNUProcessingForSelectorreceiver(splObj(SelectorDoesNotUnderstand), _receiver);
		if (((usqInt) _methodOrSelectorIndex ) <= (maxLookupNoMNUErrorCode())) {
			{
				_newTargetMethodOrNil = null;
				_errorSelectorOrNil = SelectorDoesNotUnderstand;
			}
			goto l2;
		}
		assert(isOopCompiledMethod(_methodOrSelectorIndex));
		cogMethodIfPossibleselector(_methodOrSelectorIndex, splObj(SelectorDoesNotUnderstand));
		{
			_newTargetMethodOrNil = _methodOrSelectorIndex;
			_errorSelectorOrNil = SelectorDoesNotUnderstand;
		}
		goto l2;
	}
	assert(couldBeObject(((usqInt) _methodOrSelectorIndex )));
	if (!(isOopCompiledMethod(_methodOrSelectorIndex))) {
		{
			_newTargetMethodOrNil = _methodOrSelectorIndex;
			_errorSelectorOrNil = SelectorCannotInterpret;
		}
		goto l2;
	}
	cogMethodIfPossibleselector(_methodOrSelectorIndex, _selector);
	{
		_newTargetMethodOrNil = _methodOrSelectorIndex;
		_errorSelectorOrNil = null;
	}
	l2:
	;
	/* end lookup:for:methodAndErrorSelectorInto: */
	if ((_errorSelectorOrNil == SelectorCannotInterpret) || ((_newTargetMethodOrNil == null) || (isYoung(_newTargetMethodOrNil)))) {
		patchToMegamorphicICFornumArgsreceiver((_cPIC->selector), (_cPIC->cmNumArgs), _receiver);
		return ceSendFromInLineCacheMiss(_cPIC);
	}
	cogExtendPICCaseNMethodtagisMNUCase(_cPIC, _newTargetMethodOrNil, inlineCacheTagForInstance(_receiver), _errorSelectorOrNil == SelectorDoesNotUnderstand);
	executeCogPICfromLinkedSendWithReceiverandCacheTag(_cPIC, _receiver, inlineCacheTagAt(backEnd, _callerReturnAddress));
	{
		assert(0);
	}
	return 0;
}
/* Cogit>>#ceFree: */
void
ceFree(void *_pointer)
{
	free(_pointer);
}
/* Cogit>>#ceMalloc: */
void*
ceMalloc(size_t _size)
{
	return malloc(_size);
}
/*	An in-line cache check in a method has failed. The failing entry check has 
	jumped to the ceMethodAbort abort call at the start of the method which 
	has called this routine. 
	If possible allocate a closed PIC for the current and existing classes. 
	The stack looks like: 
	receiver 
	args 
	sender return address 
	sp=>	ceMethodAbort call return address 
	So we can find the method that did the failing entry check at 
	ceMethodAbort call return address - missOffset 
	and we can find the send site from the outer return address. */
/* Cogit>>#ceSICMiss: */
sqInt
ceSICMiss(sqInt _receiver)
{
	sqInt _cacheTag;
	usqInt _callerReturnAddress;
	sqInt _errorSelectorOrNil;
	sqInt _extent;
	CogMethod *_inlineCache;
	sqInt _linkingSucceeded;
	sqInt _methodOrSelectorIndex;
	CogMethod * _missedTargetCogMethod;
	usqInt _missedTargetReturnAddress;
	sqInt _newTargetMethodOrNil;
	sqInt _selector;

	_extent = 0;
	_linkingSucceeded = 0;
	_missedTargetReturnAddress = ((usqInt) (popStack()) );
	_missedTargetCogMethod = ((CogMethod *) (_missedTargetReturnAddress - missOffset) );
	if (isOopForwarded(_receiver)) {
		return ceSendFromInLineCacheMiss(_missedTargetCogMethod);
	}
	_callerReturnAddress = ((usqInt) (stackTop()) );
	assert((_callerReturnAddress >= methodZoneBase) && (_callerReturnAddress <= (freeStart())));
	assert(((_missedTargetCogMethod->selector)) != (nilObject()));
	assert((((sqInt) _missedTargetCogMethod ) + cmEntryOffset) == (callTargetFromReturnAddress(backEnd, _callerReturnAddress)));
	if ((inlineCacheTagAt(backEnd, _callerReturnAddress)) == 0) {
		patchToMegamorphicICFornumArgsreceiver((_missedTargetCogMethod->selector), (_missedTargetCogMethod->cmNumArgs), _receiver);
		return ceSendFromInLineCacheMiss(_missedTargetCogMethod);
	}
	/* begin lookup:for:methodAndErrorSelectorInto: */
	_selector = (_missedTargetCogMethod->selector);
	_methodOrSelectorIndex = lookupMethodWithoutMNUProcessingForSelectorreceiver(_selector, _receiver);
	if (_methodOrSelectorIndex == SelectorCannotInterpret) {
		{
			_newTargetMethodOrNil = null;
			_errorSelectorOrNil = SelectorCannotInterpret;
		}
		goto l2;
	}
	if (_methodOrSelectorIndex == SelectorDoesNotUnderstand) {
		_methodOrSelectorIndex = lookupMethodWithoutMNUProcessingForSelectorreceiver(splObj(SelectorDoesNotUnderstand), _receiver);
		if (((usqInt) _methodOrSelectorIndex ) <= (maxLookupNoMNUErrorCode())) {
			{
				_newTargetMethodOrNil = null;
				_errorSelectorOrNil = SelectorDoesNotUnderstand;
			}
			goto l2;
		}
		assert(isOopCompiledMethod(_methodOrSelectorIndex));
		cogMethodIfPossibleselector(_methodOrSelectorIndex, splObj(SelectorDoesNotUnderstand));
		{
			_newTargetMethodOrNil = _methodOrSelectorIndex;
			_errorSelectorOrNil = SelectorDoesNotUnderstand;
		}
		goto l2;
	}
	assert(couldBeObject(((usqInt) _methodOrSelectorIndex )));
	if (!(isOopCompiledMethod(_methodOrSelectorIndex))) {
		{
			_newTargetMethodOrNil = _methodOrSelectorIndex;
			_errorSelectorOrNil = SelectorCannotInterpret;
		}
		goto l2;
	}
	cogMethodIfPossibleselector(_methodOrSelectorIndex, _selector);
	{
		_newTargetMethodOrNil = _methodOrSelectorIndex;
		_errorSelectorOrNil = null;
	}
	l2:
	;
	/* end lookup:for:methodAndErrorSelectorInto: */
	_cacheTag = inlineCacheTagForInstance(_receiver);
	if ((_errorSelectorOrNil == SelectorCannotInterpret) || ((_newTargetMethodOrNil == null) || (isYoung(_newTargetMethodOrNil)))) {
		patchToMegamorphicICFornumArgsreceiver((_missedTargetCogMethod->selector), (_missedTargetCogMethod->cmNumArgs), _receiver);
		return ceSendFromInLineCacheMiss(_missedTargetCogMethod);
	}
	{
		_inlineCache = openPICWithSelector((_missedTargetCogMethod->selector));
		_linkingSucceeded = _inlineCache != null;
		if (_inlineCache) {
			/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
			/* begin enableCodeZoneWrite */
			if (jitCodeZoneWriteEnabled) {
				error("Code zone writing is not reentrant");
			}
			
#      if READ_ONLY_CODE_ZONE
			{
				
#        if __APPLE__
				{
					pthread_jit_write_protect_np(0);
				}
#        else /* __APPLE__ */
				{
					sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
				}
#        endif /* __APPLE__ */
			}
#      endif /* READ_ONLY_CODE_ZONE */
			jitCodeZoneWriteEnabled = 1;
			/* end enableCodeZoneWrite */
			{
				_extent = rewriteInlineCacheAttagtarget(backEnd, _callerReturnAddress, inlineCacheValueForSelectorinat((_missedTargetCogMethod->selector), mframeHomeMethodExport(), _callerReturnAddress), ((sqInt) _inlineCache ) + cmEntryOffset);
			}
			/* begin disableCodeZoneWrite */
			
#      if READ_ONLY_CODE_ZONE
			{
				
#        if __APPLE__
				{
					pthread_jit_write_protect_np(1);
				}
#        else /* __APPLE__ */
				{
					sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
				}
#        endif /* __APPLE__ */
			}
#      endif /* READ_ONLY_CODE_ZONE */
			jitCodeZoneWriteEnabled = 0;
			/* end disableCodeZoneWrite */
			{
				flushICacheFromto(((usqInt) _callerReturnAddress ) - _extent, ((usqInt) _callerReturnAddress ));
			}
			/* end enableCodeZoneWriteDuring:flushingCacheWith: */
		}
	}
	if (!_inlineCache) {
		/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
		/* begin enableCodeZoneWrite */
		if (jitCodeZoneWriteEnabled) {
			error("Code zone writing is not reentrant");
		}
		
#    if READ_ONLY_CODE_ZONE
		{
			
#      if __APPLE__
			{
				pthread_jit_write_protect_np(0);
			}
#      else /* __APPLE__ */
			{
				sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
			}
#      endif /* __APPLE__ */
		}
#    endif /* READ_ONLY_CODE_ZONE */
		jitCodeZoneWriteEnabled = 1;
		/* end enableCodeZoneWrite */
		{
			_inlineCache = cogPICSelectornumArgsCase0MethodCase1MethodtagisMNUCase((_missedTargetCogMethod->selector), (_missedTargetCogMethod->cmNumArgs), _missedTargetCogMethod, _newTargetMethodOrNil, _cacheTag, _errorSelectorOrNil == SelectorDoesNotUnderstand);
			_linkingSucceeded = !((((sqInt) _inlineCache ) >= MaxNegativeErrorCode) && (((sqInt) _inlineCache ) <= -1));
			if (_linkingSucceeded) {
				_extent = rewriteCallAttarget(backEnd, _callerReturnAddress, ((sqInt) _inlineCache ) + cmEntryOffset);
			}
		}
		/* begin disableCodeZoneWrite */
		
#    if READ_ONLY_CODE_ZONE
		{
			
#      if __APPLE__
			{
				pthread_jit_write_protect_np(1);
			}
#      else /* __APPLE__ */
			{
				sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
			}
#      endif /* __APPLE__ */
		}
#    endif /* READ_ONLY_CODE_ZONE */
		jitCodeZoneWriteEnabled = 0;
		/* end disableCodeZoneWrite */
		{
			if (_linkingSucceeded) {
				flushICacheFromto(((usqInt) _inlineCache ), ((usqInt) _inlineCache ) + closedPICSize);
				flushICacheFromto(((usqInt) _callerReturnAddress ) - _extent, ((usqInt) _callerReturnAddress ));
			}
		}
		/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	}
	if (_linkingSucceeded) {
		executeCogPICfromLinkedSendWithReceiverandCacheTag(_inlineCache, _receiver, inlineCacheTagAt(backEnd, _callerReturnAddress));
	}
	if (((sqInt) _inlineCache ) == InsufficientCodeSpace) {
		callForCogCompiledCodeCompaction();
	}
	return ceSendFromInLineCacheMiss(_missedTargetCogMethod);
}
/* Cogit>>#checkAssertsEnabledInCogit */
void
checkAssertsEnabledInCogit(void)
{
	int _assertsAreEnabledInCogit;

	_assertsAreEnabledInCogit = 0;
	assert(_assertsAreEnabledInCogit);
}
/*	Check if the CFramePointer is in use. 
	Different C compilers can choose to not use the frame pointers to delimit 
	stack frames, and use instead the frame pointer as a general purpose 
	register. This function implements a rough heuristic to determine if the 
	FP is used as a frame delimiter or not. 
	 
	This function is meant to work as follows: 
	- the caller should call ceCaptureCStackPointers capturing the FP and SP 
	of the caller. 
	- then the caller calls this function that will in turn also call 
	ceCaptureCStackPointers to capture the FP and SP. 
	 
	If the FP moved between the two calls, and the FP captured the second time 
	is between the previous one and the new SP, this means the compiler 
	probably generated code to update the FP. 
	 */
/* Cogit>>#checkCFramePointerInUse */
static sqInt
checkCFramePointerInUse(void)
{
	void * _currentCSP;
	sqInt _result;

	/* begin simulationOnly: */
	/* end simulationOnly: */
	_currentCSP = getCStackPointer();
	ceCaptureCStackPointers();
	assert((getCStackPointer()) < _currentCSP);
	_result = ((getCFramePointer()) >= (getCStackPointer())) && ((getCFramePointer()) <= _currentCSP);
	/* begin simulationOnly: */
	/* end simulationOnly: */
	return _result;
}
/*	Check for a valid object reference, if any, at a map entry. Answer a code 
	unique to each error for debugging. */
/* Cogit>>#checkIfValidOopRefAndTarget:pc:cogMethod: */
static sqInt NoDbgRegParms
checkIfValidOopRefAndTargetpccogMethod(sqInt _annotation, char *_mcpc, sqInt _cogMethod)
{
	usqInt _cacheTag2;
	sqInt _entryPoint;
	sqInt _entryPoint2;
	sqInt _literal;
	sqInt _offset2;
	sqInt _tagCouldBeObj;
	CogMethod * _targetCogCode;

	if (_annotation == IsObjectReference) {
		_literal = literalBeforeFollowingAddress(backEnd, ((usqInt) _mcpc ));
		if (!(asserta(checkValidOopReference(_literal)))) {
			return 1;
		}
		if ((couldBeObject(_literal)) && (isReallyYoungObject(_literal))) {
			if (!(asserta(((((CogMethod *) _cogMethod ))->cmRefersToYoung)))) {
				return 2;
			}
		}
	}
	if (_annotation >= IsSendCall) {
		if (!(asserta((((((CogMethod *) _cogMethod ))->cmType)) == CMMethod))) {
			return 3;
		}
		/* begin entryCacheTagAndCouldBeObjectAt:annotation:into: */
		_cacheTag2 = inlineCacheTagAt(backEnd, ((sqInt) _mcpc ));
		_entryPoint2 = callTargetFromReturnAddress(backEnd, ((sqInt) _mcpc ));
		_tagCouldBeObj = 0;
		{
			_entryPoint = _entryPoint2;
			if (_tagCouldBeObj) {
				if (couldBeObject(_cacheTag2)) {
					if (!(asserta(checkValidOopReference(_cacheTag2)))) {
						return 4;
					}
				}
 else {
					if (!(asserta(validInlineCacheTag(_cacheTag2)))) {
						return 5;
					}
				}
				if ((couldBeObject(_cacheTag2)) && (isReallyYoungObject(_cacheTag2))) {
					if (!(asserta(((((CogMethod *) _cogMethod ))->cmRefersToYoung)))) {
						return 6;
					}
				}
			} else {
				if (cacheTagIsSelectorForAnnotationandEntryPoint(_annotation, _entryPoint)) {
					if (((int) _cacheTag2 ) < 0) {
						if ((-((int) _cacheTag2 )) > NumSpecialSelectors) {
							return 7;
						}
					}
 else {
						if (_cacheTag2 >= (literalCountOf((enumeratingCogMethod->methodObject)))) {
							return 8;
						}
					}
				}
 else {
					if (!(asserta(validInlineCacheTag(_cacheTag2)))) {
						return 9;
					}
				}
			}
		}
		/* end entryCacheTagAndCouldBeObjectAt:annotation:into: */
		if (_entryPoint > methodZoneBase) {
			/* begin targetMethodAndSendTableFor:annotation:into: */
			/* begin offsetAndSendTableFor:annotation:into: */
			if (_annotation == IsSendCall) {
				_offset2 = cmEntryOffset;
			} else {
				if (_annotation == IsDirectedSuperSend) {
					_offset2 = cmNoCheckEntryOffset;
				} else {
					if (_annotation == IsDirectedSuperBindingSend) {
						_offset2 = cmNoCheckEntryOffset;
					} else {
						assert(_annotation == IsSuperSend);
						_offset2 = cmNoCheckEntryOffset;
					}
				}
			}
			{
				_targetCogCode = ((CogMethod *) (_entryPoint - _offset2) );
				{
					if (!(asserta((((_targetCogCode->cmType)) == CMMethod) || ((((_targetCogCode->cmType)) == CMPolymorphicIC) || (((_targetCogCode->cmType)) == CMMegamorphicIC))))) {
						return 10;
					}
				}
			}
			/* end offsetAndSendTableFor:annotation:into: */
			/* end targetMethodAndSendTableFor:annotation:into: */
		}
	}
	return 0;
}
/*	Check for a valid object reference, if any, at a map entry. Answer a code 
	unique to each error for debugging. */
/* Cogit>>#checkIfValidOopRef:pc:cogMethod: */
static sqInt NoDbgRegParms
checkIfValidOopRefpccogMethod(sqInt _annotation, char *_mcpc, sqInt _cogMethod)
{
	sqInt _entryPoint;
	sqInt _literal;
	sqInt _offset;
	sqInt _offset2;
	usqInt _selectorOrCacheTag;

	if (_annotation == IsObjectReference) {
		_literal = literalBeforeFollowingAddress(backEnd, ((usqInt) _mcpc ));
		if (!(checkValidOopReference(_literal))) {
			{
				print("object ref leak in CM ");
				printHex(((sqInt) _cogMethod ));
				print(" @ ");
				printHex(((sqInt) _mcpc ));
				cr();
			}
			return 1;
		}
	}
	if (_annotation >= IsSendCall) {
		_entryPoint = callTargetFromReturnAddress(backEnd, ((sqInt) _mcpc ));
		if (_entryPoint <= methodZoneBase) {
			_offset = _entryPoint;
		} else {
			/* begin offsetAndSendTableFor:annotation:into: */
			if (_annotation == IsSendCall) {
				_offset2 = cmEntryOffset;
			} else {
				if (_annotation == IsDirectedSuperSend) {
					_offset2 = cmNoCheckEntryOffset;
				} else {
					if (_annotation == IsDirectedSuperBindingSend) {
						_offset2 = cmNoCheckEntryOffset;
					} else {
						assert(_annotation == IsSuperSend);
						_offset2 = cmNoCheckEntryOffset;
					}
				}
			}
			{
				_offset = _offset2;
			}
			/* end offsetAndSendTableFor:annotation:into: */
		}
		_selectorOrCacheTag = inlineCacheTagAt(backEnd, ((sqInt) _mcpc ));
		if ((_entryPoint > methodZoneBase) && ((_offset != cmNoCheckEntryOffset) && ((((((CogMethod *) (_entryPoint - _offset) ))->cmType)) != CMMegamorphicIC))) {
			if (!(validInlineCacheTag(_selectorOrCacheTag))) {
				{
					print("cache tag leak in CM ");
					printHex(((sqInt) _cogMethod ));
					print(" @ ");
					printHex(((sqInt) _mcpc ));
					cr();
				}
				return 1;
			}
		} else {
		}
	}
	return 0;
}
/*	Answer if all references to objects in machine-code are valid. */
/* Cogit>>#checkIntegrityOfObjectReferencesInCode: */
sqInt
checkIntegrityOfObjectReferencesInCode(sqInt gcModes)
{
	CogMethod *_cogMethod;
	sqInt _count;
	int _ok;

	_cogMethod = ((CogMethod *) methodZoneBase );
	_ok = 1;
	while (_cogMethod < (limitZony())) {
		if (((_cogMethod->cmType)) != CMFree) {
			if ((_cogMethod->cmRefersToYoung)) {
				if (((_count = occurrencesInYoungReferrers(_cogMethod))) != 1) {
					{
						print("young referrer CM ");
						printHex(((sqInt) _cogMethod ));
					}
					if (_count == 0) {
						{
							print(" is not in youngReferrers");
							cr();
						}
					} else {
						{
							print(" is in youngReferrers ");
							printNum(_count);
							print(" times!");
							cr();
						}
					}
					_ok = 0;
				}
			}
			if (!(checkValidOopReference((_cogMethod->selector)))) {
				{
					print("object leak in CM ");
					printHex(((sqInt) _cogMethod ));
					print(" selector");
					cr();
				}
				_ok = 0;
			}
			if (((_cogMethod->cmType)) == CMMethod) {
				assert(((_cogMethod->objectHeader)) == (nullHeaderForMachineCodeMethod()));
				if (!(checkValidObjectReference((_cogMethod->methodObject)))) {
					{
						print("object leak in CM ");
						printHex(((sqInt) _cogMethod ));
						print(" methodObject");
						cr();
					}
					_ok = 0;
				}
				if (!(isOopCompiledMethod((_cogMethod->methodObject)))) {
					{
						print("non-method in CM ");
						printHex(((sqInt) _cogMethod ));
						print(" methodObject");
						cr();
					}
					_ok = 0;
				}
				if ((mapForperformUntilarg(_cogMethod, checkIfValidOopRefpccogMethod, ((sqInt) _cogMethod ))) != 0) {
					_ok = 0;
				}
				if (((isYoungObject(getMemoryMap(), (_cogMethod->methodObject))) || (isYoung((_cogMethod->selector)))) && (!((_cogMethod->cmRefersToYoung)))) {
					{
						print("CM ");
						printHex(((sqInt) _cogMethod ));
						print(" refers to young but not marked as such");
						cr();
					}
					_ok = 0;
				}
			} else {
				if (((_cogMethod->cmType)) == CMPolymorphicIC) {
					if (!(checkValidObjectReferencesInClosedPIC(_cogMethod))) {
						_ok = 0;
					}
				}
 else {
					if (((_cogMethod->cmType)) == CMMegamorphicIC) {
						if ((mapForperformUntilarg(_cogMethod, checkIfValidOopRefpccogMethod, ((sqInt) _cogMethod ))) != 0) {
							_ok = 0;
						}
					}
				}
			}
		}
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
	}
	return _ok;
}
/* Cogit>>#checkMaybeObjRefInClosedPIC: */
static sqInt NoDbgRegParms
checkMaybeObjRefInClosedPIC(sqInt _maybeObject)
{
	if (_maybeObject == 0) {
		return 1;
	}
	if (!(couldBeObject(_maybeObject))) {
		return 1;
	}
	return checkValidObjectReference(_maybeObject);
}
/* Cogit>>#checkValidObjectReferencesInClosedPIC: */
static sqInt NoDbgRegParms
checkValidObjectReferencesInClosedPIC(CogMethod *_cPIC)
{
	sqInt _i;
	int _ok;
	sqInt _pc;

	_ok = 1;
	_pc = ((sqInt) _cPIC ) + firstCPICCaseOffset;
	if (!(checkMaybeObjRefInClosedPIC(literalBeforeFollowingAddress(backEnd, _pc - (jumpLongByteSize(backEnd)))))) {
		{
			print("object leak in CPIC ");
			printHex(((sqInt) _cPIC ));
			print(" @ ");
			printHex(_pc - (jumpLongByteSize(backEnd)));
			cr();
		}
		_ok = 0;
	}
	_pc = addressOfEndOfCaseinCPIC((_cPIC->cPICNumCases), _cPIC);
	for (_i = 2; _i <= ((_cPIC->cPICNumCases)); _i += 1) {
		if (!(checkMaybeObjRefInClosedPIC(literalBeforeFollowingAddress(backEnd, (_pc - (jumpLongConditionalByteSize(backEnd))) - (cmpC32RTempByteSize(backEnd)))))) {
			{
				print("object leak in CPIC ");
				printHex(((sqInt) _cPIC ));
				print(" @ ");
				printHex(_pc - (jumpLongConditionalByteSize(backEnd)));
				cr();
			}
			_ok = 0;
		}
		_pc += cPICCaseSize;
	}
	return _ok;
}
/*	i.e. this should never be called, so keep it out of the main path. */
/* Cogit>>#cleanUpFailingCogCodeConstituents: */
static sqInt NoDbgRegParms NeverInline
cleanUpFailingCogCodeConstituents(CogMethod *_cogMethodArg)
{
	CogMethod *_cogMethod;

	_cogMethod = _cogMethodArg;
	while (_cogMethod < (limitZony())) {
		if (((_cogMethod->cmType)) == CMPolymorphicIC) {
			(_cogMethod->methodObject = 0);
		}
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
	}
	popRemappableOop();
	return null;
}
/*	Answer if the ClosedPIC refers to any unmarked objects or freed/freeable 
	target methods, 
	applying markAndTraceOrFreeCogMethod:firstVisit: to those targets to 
	determine if freed/freeable. */
/* Cogit>>#closedPICRefersToUnmarkedObject: */
static sqInt NoDbgRegParms
closedPICRefersToUnmarkedObject(CogMethod *_cPIC)
{
	sqInt _i;
	usqInt _object;
	sqInt _pc;

	if (!((isImmediate((_cPIC->selector))) || (isMarkedOrPermanent((_cPIC->selector))))) {
		return 1;
	}
	_pc = addressOfEndOfCaseinCPIC(1, _cPIC);
	if (couldBeObject((_object = literalBeforeFollowingAddress(backEnd, _pc - (jumpLongByteSize(backEnd)))))) {
		if (!(isMarkedOrPermanent(_object))) {
			return 1;
		}
	}
	if (markAndTraceOrFreePICTargetin(jumpLongTargetBeforeFollowingAddress(backEnd, _pc), _cPIC)) {
		return 1;
	}
	for (_i = 2; _i <= ((_cPIC->cPICNumCases)); _i += 1) {
		_pc = addressOfEndOfCaseinCPIC(_i, _cPIC);
		if (couldBeObject((_object = literalBeforeFollowingAddress(backEnd, (_pc - (jumpLongConditionalByteSize(backEnd))) - (cmpC32RTempByteSize(backEnd)))))) {
			if (!(isMarkedOrPermanent(_object))) {
				return 1;
			}
		}
		if (markAndTraceOrFreePICTargetin(jumpLongTargetBeforeFollowingAddress(backEnd, _pc), _cPIC)) {
			return 1;
		}
	}
	return 0;
}
/* Cogit>>#codeEntryFor: */
char *
codeEntryFor(char *_address)
{
	sqInt _i;

	for (_i = 0; _i <= (trampolineTableIndex - 3); _i += 2) {
		if ((_address >= (trampolineAddresses[_i + 1])) && (_address <= ((trampolineAddresses[_i + 3]) - 1))) {
			return trampolineAddresses[_i + 1];
		}
	}
	return null;
}
/* Cogit>>#codeEntryNameFor: */
char *
codeEntryNameFor(char *_address)
{
	sqInt _i;

	for (_i = 0; _i <= (trampolineTableIndex - 3); _i += 2) {
		if ((_address >= (trampolineAddresses[_i + 1])) && (_address <= ((trampolineAddresses[_i + 3]) - 1))) {
			return trampolineAddresses[_i];
		}
	}
	return null;
}
/* Cogit>>#cogCodeBase */
sqInt
cogCodeBase(void)
{
	return codeBase;
}
/*	Answer the contents of the code zone as an array of pair-wise element, 
	address in ascending address order. 
	Answer a string for a runtime routine or abstract label (beginning, end, 
	etc), a CompiledMethod for a CMMethod, 
	or a selector (presumably a Symbol) for a PIC. 
	If withDetails is true 
	- answer machine-code to bytecode pc mapping information for methods 
	- answer class, target pair information for closed PIC 
	N.B. Since the class tag for the first case of a closed PIC is stored at 
	the send site, it must be collected 
	by scanning methods (see 
	collectCogConstituentFor:Annotation:Mcpc:Bcpc:Method:). Since closed PICs 
	are never shared they always come after the method that references them, 
	so we don't need an extra pass 
	to collect the first case class tags, which are (temporarily) assigned to 
	each closed PIC's methodObject field. 
	But we do need to reset the methodObject fields to zero. This is done in 
	createPICData:, unless memory 
	runs out, in which case it is done by cleanUpFailingCogCodeConstituents:. */
/* Cogit>>#cogCodeConstituents: */
sqInt
cogCodeConstituents(sqInt _withDetails)
{
	CogMethod *_cogMethod;
	sqInt _constituents;
	sqInt _count;
	sqInt _i;
	sqInt _label;
	sqInt _profileData;
	sqInt _value;

	_count = (trampolineTableIndex / 2) + 3;
	_cogMethod = ((CogMethod *) methodZoneBase );
	while (_cogMethod < (limitZony())) {
		if (((_cogMethod->cmType)) != CMFree) {
			_count += 1;
		}
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
	}
	_constituents = instantiateClassindexableSize(classArray(), _count * 2);
	if (!_constituents) {
		return _constituents;
	}
	pushRemappableOop(_constituents);
	if (((_label = stringForCString("CogCode")) == null) || ((_value = positive64BitIntegerFor(codeBase)) == null)) {
		popRemappableOop();
		return null;
	}
	{
		storePointerUncheckedofObjectwithValue(0, _constituents, _label);
		storePointerUncheckedofObjectwithValue(1, _constituents, _value);
	}
	for (_i = 0; _i < trampolineTableIndex; _i += 2) {
		if (((_label = stringForCString(trampolineAddresses[_i])) == null) || ((_value = positive64BitIntegerFor(((usqInt) (trampolineAddresses[_i + 1]) ))) == null)) {
			popRemappableOop();
			return null;
		}
		{
			storePointerUncheckedofObjectwithValue(2 + _i, _constituents, _label);
			storePointerUncheckedofObjectwithValue(3 + _i, _constituents, _value);
		}
	}
	_count = trampolineTableIndex + 2;
	_cogMethod = ((CogMethod *) methodZoneBase );
	while (_cogMethod < (limitZony())) {
		if (((_cogMethod->cmType)) != CMFree) {
			if (((_cogMethod->cmType)) == CMMethod) {
				_profileData = (_cogMethod->methodObject);
			} else {
				_profileData = ((_withDetails && (((_cogMethod->cmType)) == CMPolymorphicIC))
					 ? createCPICData(_cogMethod)
					 : (_cogMethod->selector));
			}
			if (!_profileData) {
				return cleanUpFailingCogCodeConstituents(_cogMethod);
			}
			storePointerUncheckedofObjectwithValue(_count, _constituents, _profileData);
			if (_withDetails) {
				_value = collectCogMethodConstituent(_cogMethod);
			}
 else {
				_value = positive64BitIntegerFor(((usqInt) _cogMethod ));
			}
			if (!_value) {
				return cleanUpFailingCogCodeConstituents(_cogMethod);
			}
			storePointerUncheckedofObjectwithValue(_count + 1, _constituents, _value);
			_count += 2;
		}
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
	}
	if (((_label = stringForCString("CCFree")) == null) || ((_value = positive64BitIntegerFor(mzFreeStart)) == null)) {
		popRemappableOop();
		return null;
	}
	{
		storePointerUncheckedofObjectwithValue(_count, _constituents, _label);
		storePointerUncheckedofObjectwithValue(_count + 1, _constituents, _value);
	}
	if (((_label = stringForCString("CCEnd")) == null) || ((_value = positive64BitIntegerFor(limitAddress)) == null)) {
		popRemappableOop();
		return null;
	}
	{
		storePointerUncheckedofObjectwithValue(_count + 2, _constituents, _label);
		storePointerUncheckedofObjectwithValue(_count + 3, _constituents, _value);
	}
	_constituents = popRemappableOop();
	beRootIfOld(_constituents);
	return _constituents;
}
/*	Extend the cPIC with the supplied case. If caseNMethod is cogged dispatch 
	direct to 
	its unchecked entry-point. If caseNMethod is not cogged, jump to the fast 
	interpreter dispatch, and if isMNUCase then dispatch to fast MNU 
	invocation and mark the cPIC as 
	having the MNU case for cache flushing. */
/* Cogit>>#cogExtendPIC:CaseNMethod:tag:isMNUCase: */
static sqInt NoDbgRegParms
cogExtendPICCaseNMethodtagisMNUCase(CogMethod *_cPIC, sqInt _caseNMethod, sqInt _caseNTag, sqInt _isMNUCase)
{
	sqInt _address;
	sqInt _operand;
	sqInt _target;

	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		assert((_caseNMethod != null) && (!(isYoung(_caseNMethod))));
		if (!_isMNUCase && (methodHasCogMethod(_caseNMethod))) {
			_operand = 0;
			_target = ((sqInt) (cogMethodOf(_caseNMethod)) ) + cmNoCheckEntryOffset;
		} else {
			_operand = _caseNMethod;
			if (_isMNUCase) {
				(_cPIC->cpicHasMNUCaseOrCMIsFullBlock) = 1;
				_target = picAbortAddress(_cPIC);
			} else {
				_target = ((sqInt) _cPIC ) + (picInterpretAbortOffset());
			}
		}
		_address = addressOfEndOfCaseinCPIC(((_cPIC->cPICNumCases)) + 1, _cPIC);
		rewritePICCaseAttagobjReftarget(_address, _caseNTag, _operand, _target);
		/* begin rewriteCPIC:caseJumpTo: */
		rewriteCPICJumpAttarget(backEnd, ((((sqInt) _cPIC ) + firstCPICCaseOffset) - (jumpLongByteSize(backEnd))) - 11, _address - cPICCaseSize);
		/* end rewriteCPIC:caseJumpTo: */
		(_cPIC->cPICNumCases = ((_cPIC->cPICNumCases)) + 1);
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		flushICacheFromto(((usqInt) _cPIC ), ((usqInt) _cPIC ) + closedPICSize);
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	return 0;
}
/*	Attempt to produce a machine code method for the bytecode method 
	object aMethodObj. N.B. If there is no code memory available do *NOT* 
	attempt to reclaim the method zone. Certain clients (e.g. ceSICMiss:) 
	depend on the zone remaining constant across method generation. */
/* Cogit>>#cogFullBlockMethod:numCopied: */
CogMethod *
cogFullBlockMethodnumCopied(sqInt _aMethodObj, sqInt _numCopied)
{
	CogMethod *_cogMethod;
	usqLong _startTime;
	sqInt _ultimateLiteral;

	_startTime = ioUTCMicrosecondsNow();
	ensureNoForwardedLiteralsIn(_aMethodObj);
	_ultimateLiteral = ultimateLiteralOf(_aMethodObj);
	assert(!(isForwarded(_ultimateLiteral)));
	assert(!(methodHasCogMethod(_aMethodObj)));
	assert(isOopCompiledMethod(_ultimateLiteral));
	methodObj = _aMethodObj;
	methodHeader = methodHeaderOf(_aMethodObj);
	receiverTags = receiverTagBitsForMethod(methodObj);
	_cogMethod = compileCogFullBlockMethod(_numCopied);
	if ((((sqInt) _cogMethod ) >= MaxNegativeErrorCode) && (((sqInt) _cogMethod ) <= -1)) {
		if (((sqInt) _cogMethod ) == InsufficientCodeSpace) {
			callForCogCompiledCodeCompaction();
		}
		return null;
	}
	statCompileFullBlockCount += 1;
	statCompileFullBlockUsecs += (ioUTCMicrosecondsNow()) - _startTime;
	return _cogMethod;
}
/* Cogit>>#cogitPostGCAction: */
void
cogitPostGCAction(sqInt _gcMode)
{
	if (_gcMode == GCModeBecome) {
		followForwardedLiteralsInOpenPICList();
	}
	assert(allMethodsHaveCorrectHeader());
	assert(((_gcMode & (GCModeFull + GCModeNewSpace)) == 0) || (kosherYoungReferrers()));
}
/*	Check that the header fields onf a non-free method are consistent with 
	the type. Answer 0 if it is ok, otherwise answer a code for the error. */
/* Cogit>>#cogMethodDoesntLookKosher: */
sqInt
cogMethodDoesntLookKosher(CogMethod *_cogMethod)
{
	if (((((_cogMethod->blockSize)) & (BytesPerWord - 1)) != 0) || ((((_cogMethod->blockSize)) < (sizeof(CogMethod))) || (((_cogMethod->blockSize)) >= 32768))) {
		return 1;
	}
	if (((_cogMethod->cmType)) == CMFree) {
		return 2;
	}
	if (((_cogMethod->cmType)) == CMMethod) {
		if (!(((((_cogMethod->methodHeader)) & 7) == 1))) {
			return 11;
		}
		if (!(couldBeObject((_cogMethod->methodObject)))) {
			return 12;
		}
		if ((((_cogMethod->stackCheckOffset)) > 0) && (((_cogMethod->stackCheckOffset)) < cmNoCheckEntryOffset)) {
			return 13;
		}
		return 0;
	}
	if (((_cogMethod->cmType)) == CMMegamorphicIC) {
		if (((_cogMethod->blockSize)) != openPICSize) {
			return 21;
		}
		if (((_cogMethod->methodHeader)) != 0) {
			return 22;
		}
		if (((_cogMethod->objectHeader)) >= 0) {
			if (!((((_cogMethod->methodObject)) == 0) || (compactionInProgress || (((_cogMethod->methodObject)) == ((usqInt) (methodFor((_cogMethod->methodObject))) ))))) {
				return 23;
			}
		}
		if (((_cogMethod->stackCheckOffset)) != 0) {
			return 24;
		}
		return 0;
	}
	if (((_cogMethod->cmType)) == CMPolymorphicIC) {
		if (((_cogMethod->blockSize)) != closedPICSize) {
			return 0x1F;
		}
		if (!((((_cogMethod->cPICNumCases)) >= 1) && (((_cogMethod->cPICNumCases)) <= MaxCPICCases))) {
			return 32;
		}
		if (((_cogMethod->methodHeader)) != 0) {
			return 33;
		}
		if (((_cogMethod->methodObject)) != 0) {
			return 34;
		}
		return 0;
	}
	return 9;
}
/* Cogit>>#cogMethodIfPossible:selector: */
void
cogMethodIfPossibleselector(sqInt _methodOrSelectorIndex, sqInt _selector)
{
	if ((!(methodHasCogMethod(_methodOrSelectorIndex))) && (methodShouldBeCogged(_methodOrSelectorIndex))) {
		cogselector(_methodOrSelectorIndex, _selector);
	}
}
/*	Attempt to create a one-case PIC for an MNU. 
	The tag for the case is at the send site and so doesn't need to be 
	generated.  */
/* Cogit>>#cogMNUPICSelector:receiver:methodOperand:numArgs: */
CogMethod *
cogMNUPICSelectorreceivermethodOperandnumArgs(sqInt _selector, sqInt _rcvr, sqInt _methodOperand, sqInt _numArgs)
{
	CogMethod * _pic;
	usqInt _startAddress;

	if ((isYoung(_selector)) || ((inlineCacheTagForInstance(_rcvr)) == 0)) {
		return 0;
	}
	assert(endCPICCase0 != null);
	_startAddress = allocate(closedPICSize);
	if (_startAddress == 0) {
		callForCogCompiledCodeCompaction();
		return 0;
	}
	_pic = ((CogMethod *) _startAddress );
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		initializePICatDeltanumArgs(_pic, _startAddress - cPICPrototype, _numArgs);
		configureMNUCPICmethodOperand(_pic, _methodOperand);
		/* begin fillInCPICHeader:numArgs:numCases:hasMNUCase:selector: */
		assert(!(isYoung(_selector)));
		(_pic->cmType = CMPolymorphicIC);
		(_pic->objectHeader = 0);
		(_pic->blockSize = closedPICSize);
		(_pic->methodObject = 0);
		(_pic->methodHeader = 0);
		(_pic->selector = _selector);
		(_pic->cmNumArgs = _numArgs);
		(_pic->cmRefersToYoung = 0);
		(_pic->cmUsageCount = initialClosedPICUsageCount());
		(_pic->cpicHasMNUCaseOrCMIsFullBlock) = 1;
		(_pic->cPICNumCases = 1);
		(_pic->picUsage = 0);
		assert(((_pic->cmType)) == CMPolymorphicIC);
		assert(((_pic->selector)) == _selector);
		assert(((_pic->cmNumArgs)) == _numArgs);
		assert(((_pic->cPICNumCases)) == 1);
		assert((callTargetFromReturnAddress(backEnd, ((sqInt) _pic ) + missOffset)) == (picAbortTrampolineFor(_numArgs)));
		assert(closedPICSize == (roundUpLength(closedPICSize)));
		/* end fillInCPICHeader:numArgs:numCases:hasMNUCase:selector: */
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		flushICacheFromto(((usqInt) _pic ), ((usqInt) _pic ) + closedPICSize);
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	return _pic;
}
/*	Create an Open PIC. Temporarily create a direct call of 
	ceSendFromOpenPIC:. Should become a probe of the first-level method lookup 
	cache followed by a 
	call of ceSendFromOpenPIC: if the probe fails. */
/* Cogit>>#cogOpenPICSelector:numArgs: */
static CogMethod * NoDbgRegParms
cogOpenPICSelectornumArgs(sqInt _selector, sqInt _numArgs)
{
	sqInt _codeSize;
	sqInt _end;
	sqInt _mapSize;
	CogMethod * _pic;
	CogMethod *_pic2;
	usqInt _startAddress;

	_startAddress = allocate(openPICSize);
	if (_startAddress == 0) {
		return ((CogMethod *) InsufficientCodeSpace );
	}
	{
		(methodLabel->address = _startAddress);
		(methodLabel->dependent = null);
	}
	/* begin allocateOpcodes:bytecodes: */
	ensureAndClearAbstractOpcodes(100);
	zeroOpcodeIndexForNewOpcodes();
	labelCounter = 0;
	/* end allocateOpcodes:bytecodes: */
	compileOpenPICnumArgs(_selector, _numArgs);
	computeMaximumSizes();
	concretizeAt(methodLabel, _startAddress);
	_codeSize = generateInstructionsAt(_startAddress + (sizeof(CogMethod)));
	_mapSize = generateMapAtstart((_startAddress + openPICSize) - 1, _startAddress + cmNoCheckEntryOffset);
	assert((((entry->address)) - _startAddress) == cmEntryOffset);
	assert(((roundUpLength((sizeof(CogMethod)) + _codeSize)) + (roundUpLength(_mapSize))) <= openPICSize);
	_end = outputInstructionsAt(_startAddress + (sizeof(CogMethod)));
	/* begin fillInOPICHeader:numArgs:selector: */
	_pic2 = ((CogMethod *) _startAddress );
	(_pic2->cmType = CMMegamorphicIC);
	(_pic2->objectHeader = 0);
	(_pic2->blockSize = openPICSize);
	addToMegamorphicICList(_pic2);
	(_pic2->methodHeader = 0);
	(_pic2->selector = _selector);
	(_pic2->cmNumArgs = _numArgs);
	if ((_pic2->cmRefersToYoung = isYoung(_selector))) {
		addToYoungReferrers(_pic2);
	}
	(_pic2->cmUsageCount = initialOpenPICUsageCount());
	(_pic2->cpicHasMNUCaseOrCMIsFullBlock) = 0;
	(_pic2->cPICNumCases = 0);
	(_pic2->picUsage = 0);
	assert(((_pic2->cmType)) == CMMegamorphicIC);
	assert(((_pic2->selector)) == _selector);
	assert(((_pic2->cmNumArgs)) == _numArgs);
	assert((callTargetFromReturnAddress(backEnd, ((sqInt) _pic2 ) + missOffset)) == (picAbortTrampolineFor(_numArgs)));
	assert(openPICSize == (roundUpLength(openPICSize)));
	_pic = _pic2;
	/* end fillInOPICHeader:numArgs:selector: */
	return _pic;
}
/*	Attempt to create a two-case PIC for case0CogMethod and 
	case1Method,case1Tag. The tag for case0CogMethod is at the send site and 
	so doesn't need to be generated. 
	case1Method may be any of 
	- a Cog method; link to its unchecked entry-point 
	- a CompiledMethod; link to ceInterpretMethodFromPIC: 
	- a CompiledMethod; link to ceMNUFromPICMNUMethod:receiver: */
/* Cogit>>#cogPICSelector:numArgs:Case0Method:Case1Method:tag:isMNUCase: */
static CogMethod * NoDbgRegParms
cogPICSelectornumArgsCase0MethodCase1MethodtagisMNUCase(sqInt _selector, sqInt _numArgs, CogMethod *_case0CogMethod, sqInt _case1MethodOrNil, sqInt _case1Tag, sqInt _isMNUCase)
{
	CogMethod *_pic;
	usqInt _startAddress;

	if (isYoung(_selector)) {
		return ((CogMethod *) YoungSelectorInPIC );
	}
	_startAddress = allocate(closedPICSize);
	_pic = ((CogMethod *) _startAddress );
	if (_startAddress == 0) {
		return ((CogMethod *) InsufficientCodeSpace );
	}
	initializePICatDeltanumArgs(_pic, _startAddress - cPICPrototype, _numArgs);
	configureCPICCase0Case1MethodtagisMNUCase(_pic, _case0CogMethod, _case1MethodOrNil, _case1Tag, _isMNUCase);
	/* begin fillInCPICHeader:numArgs:numCases:hasMNUCase:selector: */
	assert(!(isYoung(_selector)));
	(_pic->cmType = CMPolymorphicIC);
	(_pic->objectHeader = 0);
	(_pic->blockSize = closedPICSize);
	(_pic->methodObject = 0);
	(_pic->methodHeader = 0);
	(_pic->selector = _selector);
	(_pic->cmNumArgs = _numArgs);
	(_pic->cmRefersToYoung = 0);
	(_pic->cmUsageCount = initialClosedPICUsageCount());
	(_pic->cpicHasMNUCaseOrCMIsFullBlock) = _isMNUCase;
	(_pic->cPICNumCases = 2);
	(_pic->picUsage = 0);
	assert(((_pic->cmType)) == CMPolymorphicIC);
	assert(((_pic->selector)) == _selector);
	assert(((_pic->cmNumArgs)) == _numArgs);
	assert(((_pic->cPICNumCases)) == 2);
	assert((callTargetFromReturnAddress(backEnd, ((sqInt) _pic ) + missOffset)) == (picAbortTrampolineFor(_numArgs)));
	assert(closedPICSize == (roundUpLength(closedPICSize)));
	/* end fillInCPICHeader:numArgs:numCases:hasMNUCase:selector: */
	return _pic;
}
/*	Attempt to produce a machine code method for the bytecode method 
	object aMethodObj. N.B. If there is no code memory available do *NOT* 
	attempt to reclaim the method zone. Certain clients (e.g. ceSICMiss:) 
	depend on the zone remaining constant across method generation. */
/* Cogit>>#cog:selector: */
CogMethod *
cogselector(sqInt _aMethodObj, sqInt _aSelectorOop)
{
	CogMethod *_cogMethod;
	sqInt _selector;
	usqLong _startTime;

	_startTime = ioUTCMicrosecondsNow();
	assert(!(methodHasCogMethod(_aMethodObj)));
	assert(!(isOopCompiledMethod(ultimateLiteralOf(_aMethodObj))));
	_selector = ((_aSelectorOop == (nilObject()))
		 ? maybeSelectorOfMethod(_aMethodObj)
		 : _aSelectorOop);
	ensureNoForwardedLiteralsIn(_aMethodObj);
	methodObj = _aMethodObj;
	methodHeader = methodHeaderOf(_aMethodObj);
	receiverTags = receiverTagBitsForMethod(methodObj);
	_cogMethod = compileCogMethod(_aSelectorOop);
	if ((((sqInt) _cogMethod ) >= MaxNegativeErrorCode) && (((sqInt) _cogMethod ) <= -1)) {
		if (((sqInt) _cogMethod ) == InsufficientCodeSpace) {
			callForCogCompiledCodeCompaction();
		}
		return null;
	}
	statCompileMethodCount += 1;
	statCompileMethodUsecs += (ioUTCMicrosecondsNow()) - _startTime;
	return _cogMethod;
}
/* Cogit>>#collectCogConstituentFor:Annotation:Mcpc:Bcpc:Method: */
static sqInt NoDbgRegParms
collectCogConstituentForAnnotationMcpcBcpcMethod(BytecodeDescriptor *_descriptor, sqInt _isBackwardBranchAndAnnotation, char *_mcpc, sqInt _bcpc, void *cogMethodArg)
{
	sqInt _address;
	sqInt _annotation;
	sqInt _entryPoint;
	sqInt _offset2;
	CogMethod * _targetCogCode;

	if (!_descriptor) {
		return 0;
	}
	if (!((_descriptor->isMapped))) {
		return 0;
	}
	_address = positive64BitIntegerFor(_mcpc);
	if (!_address) {
		return PrimErrNoMemory;
	}
	storePointerUncheckedofObjectwithValue(cogConstituentIndex, topRemappableOop(), _address);
	storePointerUncheckedofObjectwithValue(cogConstituentIndex + 1, topRemappableOop(), ((((usqInt) _bcpc ) << 3) | 1));
	cogConstituentIndex += 2;
	if (((_isBackwardBranchAndAnnotation & 1) == 0) && ((((usqInt) _isBackwardBranchAndAnnotation ) >> 1) >= IsSendCall)) {
		_entryPoint = callTargetFromReturnAddress(backEnd, ((sqInt) _mcpc ));
		if (_entryPoint > methodZoneBase) {
			/* begin targetMethodAndSendTableFor:annotation:into: */
			_annotation = ((usqInt) _isBackwardBranchAndAnnotation ) >> 1;
			/* begin offsetAndSendTableFor:annotation:into: */
			if (_annotation == IsSendCall) {
				_offset2 = cmEntryOffset;
			} else {
				if (_annotation == IsDirectedSuperSend) {
					_offset2 = cmNoCheckEntryOffset;
				} else {
					if (_annotation == IsDirectedSuperBindingSend) {
						_offset2 = cmNoCheckEntryOffset;
					} else {
						assert(_annotation == IsSuperSend);
						_offset2 = cmNoCheckEntryOffset;
					}
				}
			}
			{
				_targetCogCode = ((CogMethod *) (_entryPoint - _offset2) );
				{
					if (((_targetCogCode->cmType)) == CMPolymorphicIC) {
						(_targetCogCode->methodObject = classForInlineCacheTag(inlineCacheTagAt(backEnd, _mcpc)));
					}
				}
			}
			/* end offsetAndSendTableFor:annotation:into: */
			/* end targetMethodAndSendTableFor:annotation:into: */
		}
	}
	return 0;
}
/*	Answer a description of the mapping between machine code pointers and 
	bytecode pointers for the Cog Method. 
	First value is the address of the cog method. 
	Following values are pairs of machine code pc and bytecode pc */
/* Cogit>>#collectCogMethodConstituent: */
static sqInt NoDbgRegParms
collectCogMethodConstituent(CogMethod *_cogMethod)
{
	sqInt _address;
	sqInt _aMethodObj;
	sqInt _annotation;
	sqInt _bcpc;
	sqInt _byte;
	sqInt _cm;
	sqInt _data;
	BytecodeDescriptor *_descriptor;
	sqInt _distance;
	sqInt _endbcpc;
	sqInt _errCode;
	CogMethod *_homeMethod;
	sqInt _isBackwardBranch;
	usqInt _isInBlock;
	sqInt _latestContinuation;
	usqInt _map;
	sqInt _mapByte;
	usqInt _mcpc;
	sqInt _nExts;
	sqInt _nextBcpc;
	sqInt _nSlots;
	sqInt _result;
	sqInt _startbcpc;
	sqInt _targetPC;

	if (!(((_cogMethod->cmType)) == CMMethod)) {
		return positive64BitIntegerFor(((usqInt) _cogMethod ));
	}
	if (((_cogMethod->stackCheckOffset)) == 0) {
		return positive64BitIntegerFor(((usqInt) _cogMethod ));
	}
	_cm = (_cogMethod->methodObject);
	_nSlots = ((((byteSizeOf(_cm)) - (startPCOfMethod(_cm))) * 2) + (minSlotsForShortening())) + 1;
	_data = instantiateClassindexableSize(splObj(ClassArray), _nSlots);
	if (!_data) {
		return null;
	}
	pushRemappableOop(_data);
	_address = positive64BitIntegerFor(((usqInt) _cogMethod ));
	if (!_address) {
		popRemappableOop();
		return null;
	}
	storePointerUncheckedofObjectwithValue(0, topRemappableOop(), _address);
	cogConstituentIndex = 1;
	/* begin mapFor:bcpc:performUntil:arg: */
	_startbcpc = startPCOfMethod((_cogMethod->methodObject));
	assert(((_cogMethod->stackCheckOffset)) > 0);
	_mcpc = ((usqInt) _cogMethod ) + ((_cogMethod->stackCheckOffset));
	_result = collectCogConstituentForAnnotationMcpcBcpcMethod(null, 0 + ((sqInt) (((usqInt) HasBytecodePC ) << 1) ), ((char *) _mcpc ), _startbcpc, ((void *) _cogMethod ));
	if (_result != 0) {
		_errCode = _result;
		goto l3;
	}
	_bcpc = _startbcpc;
	_isInBlock = (_cogMethod->cpicHasMNUCaseOrCMIsFullBlock);
	_homeMethod = ((CogMethod *) _cogMethod );
	assert(_startbcpc == (startPCOfMethodHeader((_homeMethod->methodHeader))));
	_map = (((usqInt) _homeMethod ) + ((_homeMethod->blockSize))) - 1;
	_annotation = ((usqInt) (byteAt(_map)) ) >> AnnotationShift;
	assert((_annotation == IsAbsPCReference) || ((_annotation == IsObjectReference) || ((_annotation == IsRelativeCall) || (_annotation == IsDisplacementX2N))));
	_latestContinuation = _startbcpc;
	_aMethodObj = (_homeMethod->methodObject);
	_endbcpc = (numBytesOf(_aMethodObj)) - 1;
	_bcpc += deltaToSkipPrimAndErrorStoreInheader(_aMethodObj, (_homeMethod->methodHeader));
	_nExts = 0;
	{
		enumeratingCogMethod = _homeMethod;
	}
	while ((((usqInt) (byteAt(_map)) ) >> AnnotationShift) != HasBytecodePC) {
		_map -= 1;
	}
	_map -= 1;
	while (((_mapByte = byteAt(_map))) != MapEnd) {
		if (_mapByte >= FirstAnnotation) {
			_annotation = ((usqInt) _mapByte ) >> AnnotationShift;
			_mcpc += _mapByte & DisplacementMask;
			if (_annotation >= HasBytecodePC) {
				if ((_annotation == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
					_annotation += _mapByte & DisplacementMask;
					_map -= 1;
				}
				while (1) {
					_byte = fetchByteofObject(_bcpc, _aMethodObj);
					_descriptor = generatorAt(_byte);
					if (_isInBlock) {
						if (_bcpc >= _endbcpc) {
							_errCode = 0;
							goto l3;
						}
					} else {
						if (((_descriptor->isReturn)) && (_bcpc >= _latestContinuation)) {
							_errCode = 0;
							goto l3;
						}
						if (isBranch(_descriptor)) {
							/* begin latestContinuationPCFor:at:exts:in: */
							_distance = ((_descriptor->spanFunction))(_descriptor, _bcpc, _nExts, _aMethodObj);
							_targetPC = (_bcpc + ((_descriptor->numBytes))) + (((_distance < 0) ? 0 : _distance));
							/* end latestContinuationPCFor:at:exts:in: */
							_latestContinuation = ((_latestContinuation < _targetPC) ? _targetPC : _latestContinuation);
						}
					}
					_nextBcpc = _bcpc + ((_descriptor->numBytes));
					if (((_descriptor->isMapped)) || (_isInBlock && ((_descriptor->isMappedInBlock)))) 
						break;
					_bcpc = _nextBcpc;
					_nExts = (((_descriptor->isExtension))
						 ? _nExts + 1
						 : 0);
				}
				_isBackwardBranch = (isBranch(_descriptor)) && ((assert(((_descriptor->spanFunction)) != null), (((_descriptor->spanFunction))(_descriptor, _bcpc, _nExts, _aMethodObj)) < 0));
				_result = collectCogConstituentForAnnotationMcpcBcpcMethod(_descriptor, ((_isBackwardBranch)
					 ? ((sqInt) (((usqInt) _annotation ) << 1) ) + 1
					 : ((sqInt) (((usqInt) _annotation ) << 1) )), ((char *) _mcpc ), ((_isBackwardBranch)
					 ? _bcpc - (2 * _nExts)
					 : _bcpc), ((void *) _cogMethod ));
				if (_result != 0) {
					_errCode = _result;
					goto l3;
				}
				_bcpc = _nextBcpc;
				_nExts = (((_descriptor->isExtension))
					 ? _nExts + 1
					 : 0);
			}
		} else {
			assert(((((usqInt) _mapByte ) >> AnnotationShift) == IsDisplacementX2N) || ((((usqInt) _mapByte ) >> AnnotationShift) == IsAnnotationExtension));
			if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
				_mcpc += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
			}
		}
		_map -= 1;
	}
	_errCode = 0;
	l3:
	;
	/* end mapFor:bcpc:performUntil:arg: */
	if (_errCode != 0) {
		popRemappableOop();
		return null;
	}
	if (cogConstituentIndex < _nSlots) {
		shortentoIndexableSize(topRemappableOop(), cogConstituentIndex);
	}
	return popRemappableOop();
}
/* Cogit>>#compactCogCompiledCode */
void
compactCogCompiledCode(void)
{
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		assert(noCogMethodsMaximallyMarked());
		markActiveMethodsAndReferents();
		freeOlderMethodsForCompaction();
		compactPICsWithFreedTargets();
		planCompaction();
		updateStackZoneReferencesToCompiledCodePreCompaction();
		relocateMethodsPreCompaction();
		compactCompiledCode();
		assert(allMethodsHaveCorrectHeader());
		assert(kosherYoungReferrers());
		stopsFromto(backEnd, freeStart(), (youngReferrers()) - 1);
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		flushICacheFromto(((usqInt) methodZoneBase ), ((usqInt) (youngReferrers()) ));
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
}
/* Cogit>>#compactPICsWithFreedTargets */
static void
compactPICsWithFreedTargets(void)
{
	CogMethod *_cogMethod;
	int _count;

	_cogMethod = ((CogMethod *) methodZoneBase );
	_count = 0;
	while (_cogMethod < (limitZony())) {
		if ((((_cogMethod->cmType)) == CMPolymorphicIC) && (cPICCompactAndIsNowEmpty(_cogMethod))) {
			(_cogMethod->cmType = CMFree);
		}
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		_count += 1;
	}
	assert(_count == (numMethods()));
}
/*	The start of a CogMethod has a call to a run-time abort routine that 
	either handles an in-line cache failure or a stack overflow. The routine 
	selects the 
	path depending on ReceiverResultReg; if zero it takes the stack overflow 
	path; if nonzero the in-line cache miss path. Neither of these paths 
	returns. The abort routine must be called; In the callee the method is 
	located by 
	adding the relevant offset to the return address of the call. 
	 
	N.B. This code must match that in compilePICAbort: so that the offset of 
	the return address of the call is the same in methods and closed PICs. */
/* Cogit>>#compileAbort */
static AbstractInstruction *
compileAbort(void)
{
	AbstractInstruction *_anInstruction;

	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(MoveCqR, 0, ReceiverResultReg);
	stackOverflowCall = _anInstruction;
	/* end checkQuickConstant:forInstruction: */
	{
		return (sendMiss = gCall(methodAbortTrampolineFor(methodOrBlockNumArgs)));
	}
}
/*	Generate a call to aRoutine with up to 4 arguments. If resultRegOrNone is 
	not NoReg assign the C result to resultRegOrNone. If saveRegs, save all 
	registers. Hack: a negative arg value indicates an abstract register, a 
	non-negative value 
	indicates a constant. */
/* Cogit>>#compileCallFor:numArgs:arg:arg:arg:arg:resultReg:regsToSave: */
static void NoDbgRegParms
compileCallFornumArgsargargargargresultRegregsToSave(void *_aRoutine, sqInt _numArgs, sqInt _regOrConst0, sqInt _regOrConst1, sqInt _regOrConst2, sqInt _regOrConst3, sqInt _resultRegOrNone, sqInt _regMask)
{
	const int cStackAlignment = STACK_ALIGN_BYTES;
	sqInt literal;
	sqInt literal3;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction12;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _delta;
	int _numRegsPushed;
	usqInt _regMaskCopy;
	sqInt _regsToSave;
	sqInt _wordsPushedModAlignment;

	_regsToSave = ((_resultRegOrNone == NoReg)
		 ? _regMask
		 : (_regMask | (1ULL << _resultRegOrNone)) - (1ULL << _resultRegOrNone));
	if (cStackAlignment > BytesPerWord) {
		/* begin genAlignCStackSavingRegisters:numArgs:wordAlignment: */
		_regMaskCopy = ((usqInt) _regsToSave );
		_numRegsPushed = 0;
		while (_regMaskCopy != 0) {
			_numRegsPushed += _regMaskCopy & 1;
			_regMaskCopy = ((usqInt) _regMaskCopy ) >> 1;
		}
		if ((_numRegsPushed == 0) && ((numIntRegArgs(((AbstractInstruction *) backEnd ))) >= _numArgs)) {
			goto l2;
		}
		_wordsPushedModAlignment = (_numRegsPushed + _numArgs) % (cStackAlignment / BytesPerWord);
		if (_wordsPushedModAlignment != 0) {
			_delta = (cStackAlignment / BytesPerWord) - _wordsPushedModAlignment;
			/* begin checkQuickConstant:forInstruction: */
			literal = _delta * BytesPerWord;
			_anInstruction = genoperandoperand(SubCqR, _delta * BytesPerWord, SPReg);
			/* end checkQuickConstant:forInstruction: */
		}
		l2:
		;
		/* end genAlignCStackSavingRegisters:numArgs:wordAlignment: */
	}
	{
		genSaveRegs(backEnd, _regsToSave);
		/* begin genMarshallNArgs:arg:arg:arg:arg: */
		if (_numArgs == 0) {
			goto l21;
		}
		{
			if (_regOrConst0 < NoReg) {
				/* begin MoveCq:R: */
				/* begin checkQuickConstant:forInstruction: */
				_anInstruction2 = genoperandoperand(MoveCqR, -2 - _regOrConst0, RDI);
				/* end checkQuickConstant:forInstruction: */
				/* end MoveCq:R: */
			} else {
				if (_regOrConst0 != RDI) {
					/* begin MoveR:R: */
					genoperandoperand(MoveRR, _regOrConst0, RDI);
					/* end MoveR:R: */
				}
			}
			if (_numArgs == 1) {
				goto l21;
			}
			if (_regOrConst1 < NoReg) {
				/* begin MoveCq:R: */
				/* begin checkQuickConstant:forInstruction: */
				_anInstruction3 = genoperandoperand(MoveCqR, -2 - _regOrConst1, RSI);
				/* end checkQuickConstant:forInstruction: */
				/* end MoveCq:R: */
			} else {
				if (_regOrConst1 != RSI) {
					/* begin MoveR:R: */
					genoperandoperand(MoveRR, _regOrConst1, RSI);
					/* end MoveR:R: */
				}
			}
			if (_numArgs == 2) {
				goto l21;
			}
			if (_regOrConst2 < NoReg) {
				/* begin MoveCq:R: */
				/* begin checkQuickConstant:forInstruction: */
				_anInstruction4 = genoperandoperand(MoveCqR, -2 - _regOrConst2, RDX);
				/* end checkQuickConstant:forInstruction: */
				/* end MoveCq:R: */
			} else {
				if (_regOrConst2 != RDX) {
					/* begin MoveR:R: */
					genoperandoperand(MoveRR, _regOrConst2, RDX);
					/* end MoveR:R: */
				}
			}
			if (_numArgs == 3) {
				goto l21;
			}
			if (_regOrConst3 < NoReg) {
				/* begin MoveCq:R: */
				/* begin checkQuickConstant:forInstruction: */
				_anInstruction5 = genoperandoperand(MoveCqR, -2 - _regOrConst3, RCX);
				/* end checkQuickConstant:forInstruction: */
				/* end MoveCq:R: */
			} else {
				if (_regOrConst3 != RCX) {
					/* begin MoveR:R: */
					genoperandoperand(MoveRR, _regOrConst3, RCX);
					/* end MoveR:R: */
				}
			}
		}
		assert(_numArgs <= 4);
		l21:
		;
		/* end genMarshallNArgs:arg:arg:arg:arg: */
	}
	{
		/* begin checkLiteral:forInstruction: */
		literal3 = ((usqInt) _aRoutine );
		_anInstruction12 = genoperand(CallFull, ((usqInt) _aRoutine ));
		/* end checkLiteral:forInstruction: */
	}
	if (_resultRegOrNone != NoReg) {
		genWriteCResultIntoReg(backEnd, _resultRegOrNone);
	}
	/* begin genRemoveNArgsFromStack: */
	assert(_numArgs <= 4);
	/* end genRemoveNArgsFromStack: */
	genRestoreRegs(backEnd, _regsToSave);
}
/*	Compile the cache tag computation and the first comparison. Answer the 
	address of that comparison. */
/* Cogit>>#compileCPICEntry */
static AbstractInstruction *
compileCPICEntry(void)
{
	entry = genGetInlineCacheClassTagFrominto(ReceiverResultReg, TempReg);
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, ClassReg, TempReg);
	/* end CmpR:R: */
	return genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
}
/*	Compile the abstract instructions for the entire full block method. */
/* Cogit>>#compileEntireFullBlockMethod: */
static sqInt NoDbgRegParms
compileEntireFullBlockMethod(sqInt _numCopied)
{
	sqInt _result;

	/* begin preenMethodLabel */
	/* begin setLabelOffset: */
	((((AbstractInstruction *) methodLabel ))->operands)[1] = 0;
	/* end setLabelOffset: */
	/* end preenMethodLabel */
	compileFullBlockEntry();
	compileFullBlockMethodFrameBuild(_numCopied);
	if (((_result = compileMethodBody())) < 0) {
		return _result;
	}
	return 0;
}
/*	The entry code to a method checks that the class of the current receiver 
	matches that in the inline cache. Other non-obvious elements are that its 
	alignment must be 
	different from the alignment of the noCheckEntry so that the method map 
	machinery can distinguish normal and super sends (super sends bind to the 
	noCheckEntry).  */
/* Cogit>>#compileEntry */
static void
compileEntry(void)
{
	AbstractInstruction *_abstractInstruction;

	entry = genGetInlineCacheClassTagFrominto(ReceiverResultReg, TempReg);
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, ClassReg, TempReg);
	/* end CmpR:R: */
	genConditionalBranchoperand(JumpNonZero, ((sqInt) sendMiss ));
	noCheckEntry = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
	if (compileSendTrace()) {
		{
			/* begin CallRT: */
			/* begin annotateCall: */
			_abstractInstruction = genoperand(Call, ceTraceLinkedSendTrampoline);
			(_abstractInstruction->annotation = IsRelativeCall);
			/* end annotateCall: */
			/* end CallRT: */
		}
	}
}
/*	Compile the abstract instructions for the entire method, including blocks.Abort for stack overflow on full block activation (no inline cache miss 
	possible). The flag is SendNumArgsReg. */
/* Cogit>>#compileFullBlockEntry */
static sqInt
compileFullBlockEntry(void)
{
	sqInt _alignment;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	sqInt _callTarget;
	AbstractInstruction * _jumpNoContextSwitch;

	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(MoveCqR, 0, ReceiverResultReg);
	stackOverflowCall = _anInstruction;
	/* end checkQuickConstant:forInstruction: */
	/* begin Call: */
	_callTarget = methodAbortTrampolineFor(methodOrBlockNumArgs);
	genoperand(Call, _callTarget);
	/* end Call: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(MoveCqR, 0, SendNumArgsReg);
	fullBlockNoContextSwitchEntry = _anInstruction2;
	/* end checkQuickConstant:forInstruction: */
	_jumpNoContextSwitch = genoperand(Jump, ((sqInt) 0 ));
	/* begin AlignmentNops: */
	_alignment = ((BytesPerWord < 8) ? 8 : BytesPerWord);
	genoperand(AlignmentNops, _alignment);
	/* end AlignmentNops: */
	fullBlockEntry = genoperandoperand(MoveRR, ReceiverResultReg, SendNumArgsReg);
	jmpTarget(_jumpNoContextSwitch, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return 0;
}
/*	Compile the top-level method body. */
/* Cogit>>#compileMethodBody */
static sqInt
compileMethodBody(void)
{
	if (endPC < initialPC) {
		return 0;
	}
	return compileAbstractInstructionsFromthrough(initialPC + (deltaToSkipPrimAndErrorStoreInheader(methodObj, methodHeader)), endPC);
}
/*	The start of a PIC has a call to a run-time abort routine that either 
	handles a dispatch to an 
	interpreted method or a dispatch of an MNU case. The routine selects the 
	path by testing 
	ClassReg, which holds the inline cache tag; if equal to the 
	picAbortDiscriminatorValue (zero) 
	it takes the MNU path; if nonzero the dispatch to interpreter path. 
	Neither of these paths 
	returns. The abort routine must be called; In the callee the PIC is 
	located by adding the 
	relevant offset to the return address of the call. 
	 
	N.B. This code must match that in compileAbort so that the offset of the 
	return address of 
	the call is the same in methods and closed PICs. */
/* Cogit>>#compilePICAbort: */
static sqInt NoDbgRegParms
compilePICAbort(sqInt _numArgs)
{
	AbstractInstruction *_anInstruction;
	sqInt _callTarget2;

	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(MoveCqR, 0, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin Call: */
		_callTarget2 = picAbortTrampolineFor(_numArgs);
		picInterpretAbort = genoperand(Call, _callTarget2);
		/* end Call: */
	}
	return 0;
}
/*	Generate a trampoline with up to four arguments. Generate either a call or 
	a jump to aRoutine 
	as requested by callJumpBar. If generating a call and resultRegOrNone is 
	not NoReg pass the C 
	result back in resultRegOrNone. 
	Hack: a negative value indicates an abstract register, a non-negative 
	value indicates a constant. */
/* Cogit>>#compileTrampolineFor:numArgs:arg:arg:arg:arg:regsToSave:pushLinkReg:resultReg: */
static void NoDbgRegParms
compileTrampolineFornumArgsargargargargregsToSavepushLinkRegresultReg(void *_aRoutine, sqInt _numArgs, sqInt _regOrConst0, sqInt _regOrConst1, sqInt _regOrConst2, sqInt _regOrConst3, sqInt _regMask, sqInt _pushLinkReg, sqInt _resultRegOrNone)
{
	genSmalltalkToCStackSwitch(_pushLinkReg);
	compileCallFornumArgsargargargargresultRegregsToSave(_aRoutine, _numArgs, _regOrConst0, _regOrConst1, _regOrConst2, _regOrConst3, _resultRegOrNone, _regMask);
	genLoadStackPointers(backEnd);
	{
		genoperand(RetN, 0);
	}
}
/*	Generate the entry code for a method to determine cmEntryOffset and 
	cmNoCheckEntryOffset. We 
	need cmNoCheckEntryOffset up front to be able to generate the map starting 
	from cmNoCheckEntryOffsetstack allocate the various collections so that they 
	are effectively garbage collected on return. */
/* Cogit>>#computeEntryOffsets */
static void
computeEntryOffsets(void)
{
	AbstractInstruction *_sendMissCall;

	/* begin allocateOpcodes:bytecodes: */
	ensureAndClearAbstractOpcodes(24);
	zeroOpcodeIndexForNewOpcodes();
	labelCounter = 0;
	/* end allocateOpcodes:bytecodes: */
	methodOrBlockNumArgs = 0;
	_sendMissCall = compileAbort();
	compileEntry();
	computeMaximumSizes();
	/* begin enableCodeZoneWriteDuring: */
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		generateInstructionsAt(methodZoneBase + (sizeof(CogMethod)));
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	/* end enableCodeZoneWriteDuring: */
	cmEntryOffset = ((entry->address)) - methodZoneBase;
	cmNoCheckEntryOffset = ((noCheckEntry->address)) - methodZoneBase;
	missOffset = (((_sendMissCall->address)) + ((_sendMissCall->machineCodeSize))) - methodZoneBase;
}
/*	Generate the entry code for a method to determine cmEntryOffset and 
	cmNoCheckEntryOffset. We 
	need cmNoCheckEntryOffset up front to be able to generate the map starting 
	from cmNoCheckEntryOffsetstack allocate the various collections so that they 
	are effectively garbage collected on return. */
/* Cogit>>#computeFullBlockEntryOffsets */
static void
computeFullBlockEntryOffsets(void)
{
	/* begin allocateOpcodes:bytecodes: */
	ensureAndClearAbstractOpcodes(24);
	zeroOpcodeIndexForNewOpcodes();
	labelCounter = 0;
	/* end allocateOpcodes:bytecodes: */
	methodOrBlockNumArgs = 0;
	compileFullBlockEntry();
	computeMaximumSizes();
	/* begin enableCodeZoneWriteDuring: */
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		generateInstructionsAt(methodZoneBase + (sizeof(CogMethod)));
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	/* end enableCodeZoneWriteDuring: */
	cbEntryOffset = ((fullBlockEntry->address)) - methodZoneBase;
	cbNoSwitchEntryOffset = ((fullBlockNoContextSwitchEntry->address)) - methodZoneBase;
}
/*	This pass assigns maximum sizes to all abstract instructions and 
	eliminates jump fixups. 
	It hence assigns the maximum address an instruction will occur at which 
	allows the next 
	pass to conservatively size jumps. */
/* Cogit>>#computeMaximumSizes */
static void
computeMaximumSizes(void)
{
	AbstractInstruction *_abstractInstruction;
	sqInt _i;
	int _relativeAddress;

	_relativeAddress = 0;
	for (_i = 0; _i < opcodeIndex; _i += 1) {
		_abstractInstruction = abstractInstructionAt(_i);
		{
			(_abstractInstruction->address = _relativeAddress);
			(_abstractInstruction->maxSize = computeMaximumSize(_abstractInstruction));
		}
		_relativeAddress += (_abstractInstruction->maxSize);
	}
}
/*	Configure a copy of the prototype CPIC for a two-case PIC for  
	case0CogMethod and 
	case1Method 
	case1Tag. 
	The tag for case0CogMethod is at the send site and so doesn't need to be 
	generated. case1Method may be any of 
	- a Cog method; jump to its unchecked entry-point 
	- a CompiledMethod; jump to the ceInterpretFromPIC trampoline 
	- nil; call ceMNUFromPIC 
	addDelta is the address change from the prototype to the new CPIC 
	location, needed 
	because the loading of the CPIC label at the end may use a literal instead 
	of a pc relative load.self disassembleFrom: cPIC asInteger + (self sizeof: CogMethod) to: cPIC 
	asInteger + closedPICSize */
/* Cogit>>#configureCPIC:Case0:Case1Method:tag:isMNUCase: */
static sqInt NoDbgRegParms
configureCPICCase0Case1MethodtagisMNUCase(CogMethod *_aPIC, CogMethod *_case0CogMethod, sqInt _case1Method, sqInt _case1Tag, sqInt _isMNUCase)
{
	sqInt _caseEndAddress;
	sqInt _operand;
	sqInt _targetEntry;

	assert(_case1Method != null);
	if (!_isMNUCase && (methodHasCogMethod(_case1Method))) {
		_operand = 0;
		_targetEntry = ((sqInt) (cogMethodOf(_case1Method)) ) + cmNoCheckEntryOffset;
	} else {
		_operand = (((_case1Method == null) || (isYoungObject(getMemoryMap(), _case1Method)))
			 ? 0
			 : _case1Method);
		_targetEntry = ((_case1Method == null)
			 ? picAbortAddress(_aPIC)
			 : ((sqInt) _aPIC ) + (picInterpretAbortOffset()));
	}
	rewriteCallAttarget(backEnd, ((sqInt) _aPIC ) + firstCPICCaseOffset, ((sqInt) _case0CogMethod ) + cmNoCheckEntryOffset);
	_caseEndAddress = addressOfEndOfCaseinCPIC(2, _aPIC);
	rewritePICCaseAttagobjReftarget(_caseEndAddress, _case1Tag, _operand, ((sqInt) (((_isMNUCase)
		 ? picAbortAddress(_aPIC)
		 : _targetEntry)) ));
	return 0;
}
/*	Configure a copy of the prototype CPIC for a one-case MNU CPIC that calls 
	ceMNUFromPIC for 
	case0Tag The tag for case0 is at the send site and so doesn't need to be 
	generated. addDelta is the address change from the prototype to the new 
	CPIC location, needed 
	because the loading of the CPIC label at the end may be a literal instead 
	of a pc-relative load.We do not scavenge PICs, hence we cannot cache the MNU method if it is in 
	new space. */
/* Cogit>>#configureMNUCPIC:methodOperand: */
static sqInt NoDbgRegParms
configureMNUCPICmethodOperand(CogMethod *_aPIC, sqInt _methodOop)
{
	sqInt _jumpTargetAddr;
	sqInt _operand;
	sqInt _target;

	_operand = (((_methodOop == null) || (isYoungObject(getMemoryMap(), _methodOop)))
		 ? 0
		 : _methodOop);
	/* begin rewriteJumpLongAt:target: */
	_jumpTargetAddr = picAbortAddress(_aPIC);
	rewriteCallAttarget(((AbstractInstruction *) backEnd ), ((sqInt) _aPIC ) + firstCPICCaseOffset, _jumpTargetAddr);
	/* end rewriteJumpLongAt:target: */
	storeLiteralbeforeFollowingAddress(backEnd, _operand, (((sqInt) _aPIC ) + firstCPICCaseOffset) - (jumpLongByteSize(backEnd)));
	/* begin rewriteCPIC:caseJumpTo: */
	_target = addressOfEndOfCaseinCPIC(2, _aPIC);
	rewriteCPICJumpAttarget(backEnd, ((((sqInt) _aPIC ) + firstCPICCaseOffset) - (jumpLongByteSize(backEnd))) - 11, _target);
	/* end rewriteCPIC:caseJumpTo: */
	return 0;
}
/*	Scan the CPIC for target methods that have been freed and eliminate them. 
	Since the first entry cannot be eliminated, answer that the PIC should be 
	freed if the first entry is to a free target. Answer if the PIC is now 
	empty or should be freed. */
/* Cogit>>#cPICCompactAndIsNowEmpty: */
static sqInt NoDbgRegParms
cPICCompactAndIsNowEmpty(CogMethod *_cPIC)
{
	sqInt _entryPoint;
	sqInt _i;
	sqInt _methods[MaxCPICCases];
	sqInt _pc;
	int _tags[MaxCPICCases];
	CogMethod *_targetMethod;
	sqInt _targets[MaxCPICCases];
	int _used;
	int _valid;

	_used = 0;
	for (_i = 1; _i <= ((_cPIC->cPICNumCases)); _i += 1) {
		_pc = addressOfEndOfCaseinCPIC(_i, _cPIC);
		if (_i == 1) {
			_entryPoint = jumpLongTargetBeforeFollowingAddress(backEnd, _pc);
		} else {
			/* begin jumpLongConditionalTargetBeforeFollowingAddress: */
			_entryPoint = jumpLongTargetBeforeFollowingAddress(((AbstractInstruction *) backEnd ), _pc);
			/* end jumpLongConditionalTargetBeforeFollowingAddress: */
		}
		_valid = 1;
		if (!((((usqInt) _cPIC ) <= ((usqInt) _entryPoint )) && ((((usqInt) _cPIC ) + ((_cPIC->blockSize))) >= ((usqInt) _entryPoint )))) {
			_targetMethod = ((CogMethod *) (_entryPoint - cmNoCheckEntryOffset) );
			assert((((_targetMethod->cmType)) == CMMethod) || (((_targetMethod->cmType)) == CMFree));
			if (((_targetMethod->cmType)) == CMFree) {
				if (_i == 1) {
					return 1;
				}
				_valid = 0;
			}
		}
		if (_valid) {
			_tags[_used] = ((_i > 1)
				 ? literal32BeforeFollowingAddress(backEnd, _pc - (jumpLongConditionalByteSize(backEnd)))
				 : 0);
			_targets[_used] = _entryPoint;
			_methods[_used] = literalBeforeFollowingAddress(backEnd, _pc - (((_i == 1)
				 ? jumpLongByteSize(backEnd)
				 : (jumpLongConditionalByteSize(backEnd)) + (cmpC32RTempByteSize(backEnd)))));
			_used += 1;
		}
	}
	if (_used == ((_cPIC->cPICNumCases))) {
		return 0;
	}
	if (_used == 0) {
		return 1;
	}
	(_cPIC->cPICNumCases = _used);
	if (_used == 1) {
		_pc = addressOfEndOfCaseinCPIC(2, _cPIC);
		/* begin rewriteCPIC:caseJumpTo: */
		rewriteCPICJumpAttarget(backEnd, ((((sqInt) _cPIC ) + firstCPICCaseOffset) - (jumpLongByteSize(backEnd))) - 11, _pc);
		/* end rewriteCPIC:caseJumpTo: */
		return 0;
	}
	for (_i = 1; _i < _used; _i += 1) {
		_pc = addressOfEndOfCaseinCPIC(_i + 1, _cPIC);
		rewritePICCaseAttagobjReftarget(_pc, _tags[_i], _methods[_i], _targets[_i]);
	}
	/* begin rewriteCPIC:caseJumpTo: */
	rewriteCPICJumpAttarget(backEnd, ((((sqInt) _cPIC ) + firstCPICCaseOffset) - (jumpLongByteSize(backEnd))) - 11, _pc - cPICCaseSize);
	/* end rewriteCPIC:caseJumpTo: */
	return 0;
}
/*	The first case in a CPIC doesn't have a class reference so we need only 
	step over actually usd subsequent cases. */
/* Cogit>>#cPICHasForwardedClass: */
static sqInt NoDbgRegParms
cPICHasForwardedClass(CogMethod *_cPIC)
{
	usqInt _classIndex;
	sqInt _i;
	sqInt _pc;

	_pc = (addressOfEndOfCaseinCPIC((_cPIC->cPICNumCases), _cPIC)) - (jumpLongConditionalByteSize(backEnd));
	for (_i = 2; _i <= ((_cPIC->cPICNumCases)); _i += 1) {
		_classIndex = literal32BeforeFollowingAddress(backEnd, _pc);
		if (isForwardedClassIndex(_classIndex)) {
			return 1;
		}
		_pc += cPICCaseSize;
	}
	return 0;
}
/*	scan the CPIC for target methods that have been freed. */
/* Cogit>>#cPICHasFreedTargets: */
static sqInt NoDbgRegParms
cPICHasFreedTargets(CogMethod *_cPIC)
{
	sqInt _entryPoint;
	sqInt _i;
	sqInt _pc;
	CogMethod *_targetMethod;

	for (_i = 1; _i <= ((_cPIC->cPICNumCases)); _i += 1) {
		_pc = addressOfEndOfCaseinCPIC(_i, _cPIC);
		if (_i == 1) {
			_entryPoint = jumpLongTargetBeforeFollowingAddress(backEnd, _pc);
		} else {
			/* begin jumpLongConditionalTargetBeforeFollowingAddress: */
			_entryPoint = jumpLongTargetBeforeFollowingAddress(((AbstractInstruction *) backEnd ), _pc);
			/* end jumpLongConditionalTargetBeforeFollowingAddress: */
		}
		if (!((((usqInt) _cPIC ) <= ((usqInt) _entryPoint )) && ((((usqInt) _cPIC ) + ((_cPIC->blockSize))) >= ((usqInt) _entryPoint )))) {
			_targetMethod = ((CogMethod *) (_entryPoint - cmNoCheckEntryOffset) );
			assert((((_targetMethod->cmType)) == CMMethod) || (((_targetMethod->cmType)) == CMFree));
			if (((_targetMethod->cmType)) == CMFree) {
				return 1;
			}
		}
	}
	return 0;
}
/*	Whimsey; we want 16rCA5E10 + cPICPrototypeCaseOffset to be somewhere in 
	the middle of the zone. */
/* Cogit>>#cPICPrototypeCaseOffset */
static sqInt
cPICPrototypeCaseOffset(void)
{
	return ((methodZoneBase + (youngReferrers())) / 2) - 13262352;
}
/*	Are any of the jumps from this CPIC to targetMethod? */
/* Cogit>>#cPIC:HasTarget: */
static sqInt NoDbgRegParms
cPICHasTarget(CogMethod *_cPIC, CogMethod *_targetMethod)
{
	sqInt _i;
	sqInt _pc;
	sqInt _target;

	_target = ((usqInt) _targetMethod ) + cmNoCheckEntryOffset;
	_pc = ((sqInt) _cPIC ) + firstCPICCaseOffset;
	if (_target == (jumpLongTargetBeforeFollowingAddress(backEnd, _pc))) {
		return 1;
	}
	for (_i = 2; _i <= MaxCPICCases; _i += 1) {
		_pc += cPICCaseSize;
		if (_target == (jumpLongTargetBeforeFollowingAddress(backEnd, _pc))) {
			return 1;
		}
	}
	return 0;
}
/*	Answer an Array of the PIC's selector, followed by class and 
	targetMethod/doesNotUnderstand: for each entry in the PIC. */
/* Cogit>>#createCPICData: */
static sqInt NoDbgRegParms
createCPICData(CogMethod *_cPIC)
{
	sqInt _class;
	sqInt _entryPoint;
	sqInt _i;
	sqInt _pc;
	sqInt _picData;
	sqInt _target;
	CogMethod *_targetMethod;

	assert((((_cPIC->methodObject)) == 0) || (addressCouldBeOop((_cPIC->methodObject))));
	_picData = instantiateClassindexableSize(classArray(), (((_cPIC->cPICNumCases)) * 2) + 1);
	if (!_picData) {
		return _picData;
	}
	storePointerUncheckedofObjectwithValue(0, _picData, (_cPIC->selector));
	for (_i = 1; _i <= ((_cPIC->cPICNumCases)); _i += 1) {
		_pc = addressOfEndOfCaseinCPIC(_i, _cPIC);
		if (_i == 1) {
			_class = (_cPIC->methodObject);
			if (_class == 0) {
				_class = nilObject();
			}
			_entryPoint = jumpLongTargetBeforeFollowingAddress(backEnd, _pc);
		} else {
			_class = classForInlineCacheTag(literal32BeforeFollowingAddress(backEnd, _pc - (jumpLongConditionalByteSize(backEnd))));
			/* begin jumpLongConditionalTargetBeforeFollowingAddress: */
			_entryPoint = jumpLongTargetBeforeFollowingAddress(((AbstractInstruction *) backEnd ), _pc);
			/* end jumpLongConditionalTargetBeforeFollowingAddress: */
		}
		if ((((usqInt) _cPIC ) <= ((usqInt) _entryPoint )) && ((((usqInt) _cPIC ) + ((_cPIC->blockSize))) >= ((usqInt) _entryPoint ))) {
			_target = splObj(SelectorDoesNotUnderstand);
		} else {
			_targetMethod = ((CogMethod *) (_entryPoint - cmNoCheckEntryOffset) );
			assert(((_targetMethod->cmType)) == CMMethod);
			_target = (_targetMethod->methodObject);
		}
		{
			storePointerUncheckedofObjectwithValue((_i * 2) - 1, _picData, _class);
			storePointerUncheckedofObjectwithValue(_i * 2, _picData, _target);
		}
	}
	beRootIfOld(_picData);
	(_cPIC->methodObject = 0);
	return _picData;
}
/*	Division is a little weird on some processors. Defer to the backEnd 
	to allow it to generate any special code it may need to. */
/* Cogit>>#DivR:R:Quo:Rem: */
static AbstractInstruction * NoDbgRegParms
gDivRRQuoRem(sqInt _rDivisor, sqInt _rDividend, sqInt _rQuotient, sqInt _rRemainder)
{
	genDivRRQuoRem(backEnd, _rDivisor, _rDividend, _rQuotient, _rRemainder);
	return abstractInstructionAt(opcodeIndex - 1);
}
/* Cogit>>#DupS:R:Vr: */

#if FEATURE_JIT_SIMD
static AbstractInstruction * NoDbgRegParms
gDupSRVr(sqInt _aSize, sqInt _aGeneralRegister, sqInt _aVectorRegister)
{
	return genoperandoperandoperand(DupRVr, _aSize, _aGeneralRegister, _aVectorRegister);
}
#endif /* FEATURE_JIT_SIMD */
/*	Return the default number of bytes to allocate for native code at startup. 
	The actual value can be set via vmParameterAt: and/or a preference in the 
	ini file. */
/* Cogit>>#defaultCogCodeSize */
sqInt
defaultCogCodeSize(void)
{
	/* begin getDefaultCogCodeSize */
	return 1024 * 1400;
	/* end getDefaultCogCodeSize */
}
/*	Answer the number of bytecodes to skip to get to the first bytecode 
	past the primitive call and any store of the error code. */
/* Cogit>>#deltaToSkipPrimAndErrorStoreIn:header: */
static sqInt NoDbgRegParms
deltaToSkipPrimAndErrorStoreInheader(sqInt _aMethodObj, sqInt _aMethodHeader)
{
	return ((((primitiveIndexOfMethodheader(_aMethodObj, _aMethodHeader)) > 0) && ((longStoreBytecodeForHeader(_aMethodHeader)) == (fetchByteofObject((startPCOfMethod(_aMethodObj)) + (sizeOfCallPrimitiveBytecode(_aMethodHeader)), _aMethodObj))))
		 ? (sizeOfCallPrimitiveBytecode(_aMethodHeader)) + (sizeOfLongStoreTempBytecode(_aMethodHeader))
		 : 0);
}
/* Cogit>>#endPCOf: */
static sqInt NoDbgRegParms
endPCOf(sqInt _aMethod)
{
	sqInt _byte;
	BytecodeDescriptor *_descriptor;
	sqInt _distance;
	sqInt _end;
	sqInt _latestContinuation;
	sqInt _nExts;
	sqInt _pc;
	sqInt _prim;
	sqInt _targetPC;

	_pc = (_latestContinuation = startPCOfMethod(_aMethod));
	if (((_prim = primitiveIndexOf(_aMethod))) > 0) {
		if (isQuickPrimitiveIndex(_prim)) {
			return _pc - 1;
		}
	}
	_nExts = 0;
	_end = numBytesOf(_aMethod);
	while (_pc <= _end) {
		_byte = fetchByteofObject(_pc, _aMethod);
		_descriptor = generatorAt(_byte);
		if (((_descriptor->isReturn)) && (_pc >= _latestContinuation)) {
			_end = _pc;
		}
		if (isBranch(_descriptor)) {
			_distance = ((_descriptor->spanFunction))(_descriptor, _pc, _nExts, _aMethod);
			_targetPC = (_pc + ((_descriptor->numBytes))) + _distance;
			_latestContinuation = ((_latestContinuation < _targetPC) ? _targetPC : _latestContinuation);
		}
		_nExts = (((_descriptor->isExtension))
			 ? _nExts + 1
			 : 0);
		_pc += (_descriptor->numBytes);
	}
	return _end;
}
/* Cogit>>#ensureAndClearAbstractOpcodes: */
static void NoDbgRegParms
ensureAndClearAbstractOpcodes(sqInt _numberOfAbstractOpcodes)
{
	usqIntptr_t _allocBytes;
	usqIntptr_t _clearFixupsBytes;
	usqIntptr_t _clearOpcodesBytes;
	usqIntptr_t _fixupBytes;
	usqIntptr_t _opcodeBytes;

	numAbstractOpcodes = _numberOfAbstractOpcodes;
	_opcodeBytes = (sizeof(CogAbstractInstruction)) * MaxNumberOfAbstractOpcodes;
	_fixupBytes = (sizeof(CogBytecodeFixup)) * MaxNumberOfAbstractOpcodes;
	_allocBytes = _opcodeBytes + _fixupBytes;
	_clearOpcodesBytes = (sizeof(CogAbstractInstruction)) * _numberOfAbstractOpcodes;
	_clearFixupsBytes = (sizeof(CogBytecodeFixup)) * _numberOfAbstractOpcodes;
	{
		if (!abstractOpcodes) {
			abstractOpcodes = malloc(_allocBytes);
			fixups = ((void *) (((usqInt) abstractOpcodes ) + _opcodeBytes) );
		}
		bzero(abstractOpcodes, _clearOpcodesBytes);
		bzero(fixups, _clearFixupsBytes);
	}
}
/*	This is a static version of ceEnterCogCodePopReceiverReg 
	for break-pointing when debugging in C.This exists only for break-pointing. */
/* Cogit>>#enterCogCodePopReceiver */
void
enterCogCodePopReceiver(void)
{
	realCEEnterCogCodePopReceiverReg();
	{
		error("what??");
	}
}
/*	Use asserts to check if the ClosedPICPrototype is as expected from 
	compileClosedPICPrototype, and can be updated as required via 
	rewriteCPICCaseAt:tag:objRef:target:. If all asserts pass, answer 
	0, otherwise answer a bit mask identifying all the errors.self disassembleFrom: methodZoneBase + (self sizeof: CogMethod) to: 
	methodZoneBase + closedPICSize */
/* Cogit>>#expectedClosedPICPrototype: */
static sqInt NoDbgRegParms
expectedClosedPICPrototype(CogMethod *_cPIC)
{
	usqInt _classTag;
	sqInt _classTagPC;
	sqInt _entryPoint;
	int _errors;
	sqInt _i;
	sqInt _methodObjPC;
	sqInt _object;
	sqInt _pc;

	_errors = 0;
	_pc = ((usqInt) _cPIC ) + firstCPICCaseOffset;
	_object = literalBeforeFollowingAddress(backEnd, _pc - (jumpLongByteSize(backEnd)));
	if (!(asserta(_object == (firstPrototypeMethodOop())))) {
		_errors = 1;
	}
	_entryPoint = jumpLongTargetBeforeFollowingAddress(backEnd, _pc);
	if (!(asserta(_entryPoint == ((cPICPrototypeCaseOffset()) + 13262352)))) {
		_errors += 2;
	}
	for (_i = 1; _i < MaxCPICCases; _i += 1) {
		_pc += cPICCaseSize;
		_methodObjPC = (_pc - (jumpLongConditionalByteSize(backEnd))) - (cmpC32RTempByteSize(backEnd));
		_object = literalBeforeFollowingAddress(backEnd, _methodObjPC);
		if (!(asserta(_object == ((subsequentPrototypeMethodOop()) + _i)))) {
			_errors = _errors | 4;
		}
		_classTagPC = _pc - (jumpLongConditionalByteSize(backEnd));
		_classTag = literal32BeforeFollowingAddress(backEnd, _classTagPC);
		if (!(asserta(_classTag == (3133021973U + _i)))) {
			_errors = _errors | 8;
		}
		/* begin jumpLongConditionalTargetBeforeFollowingAddress: */
		_entryPoint = jumpLongTargetBeforeFollowingAddress(((AbstractInstruction *) backEnd ), _pc);
		/* end jumpLongConditionalTargetBeforeFollowingAddress: */
		if (!(asserta(_entryPoint == (((cPICPrototypeCaseOffset()) + 13262352) + (_i * 16))))) {
			_errors = _errors | 16;
		}
		rewritePICCaseAttagobjReftarget(_pc, _classTag ^ 1515870810, _object ^ 2779096485U, _entryPoint ^ 371280);
		_object = literalBeforeFollowingAddress(backEnd, _methodObjPC);
		if (!(asserta(_object == (((subsequentPrototypeMethodOop()) + _i) ^ 2779096485U)))) {
			_errors = _errors | 32;
		}
		_classTag = literal32BeforeFollowingAddress(backEnd, _classTagPC);
		if (!(asserta(_classTag == ((3133021973U + _i) ^ 1515870810)))) {
			_errors = _errors | 64;
		}
		/* begin jumpLongConditionalTargetBeforeFollowingAddress: */
		_entryPoint = jumpLongTargetBeforeFollowingAddress(((AbstractInstruction *) backEnd ), _pc);
		/* end jumpLongConditionalTargetBeforeFollowingAddress: */
		if (!(asserta(_entryPoint == ((((cPICPrototypeCaseOffset()) + 13262352) + (_i * 16)) ^ 371280)))) {
			_errors = _errors | 128;
		}
		rewritePICCaseAttagobjReftarget(_pc, _classTag ^ 1515870810, _object ^ 2779096485U, _entryPoint ^ 371280);
	}
	_entryPoint = jumpLongTargetBeforeFollowingAddress(backEnd, _pc + cPICEndSize);
	if (!(asserta(_entryPoint == (cPICMissTrampolineFor(0))))) {
		_errors += 256;
	}
	return _errors;
}
/*	224		11100000	aaaaaaaa	Extend A (Ext A = Ext A prev * 256 + Ext A) */
/* Cogit>>#extABytecode */
static sqInt
extABytecode(void)
{
	extA = (((usqInt) extA ) << 8) + byte1;
	return 0;
}
/*	225		11100001	sbbbbbbb	Extend B (Ext B = Ext B prev * 256 + Ext B) */
/* Cogit>>#extBBytecode */
static sqInt
extBBytecode(void)
{
	extB = (((numExtB == 0) && (byte1 > 0x7F))
		 ? byte1 - 256
		 : (((usqInt) extB ) << 8) + byte1);
	numExtB += 1;
	return 0;
}
/* Cogit>>#FaddS:Rv:Rv:Rv: */
static AbstractInstruction * NoDbgRegParms
gFaddSRvRvRv(sqInt _aSize, sqInt _vectorRegister1, sqInt _vectorRegister2, sqInt _vectorRegisterSum)
{
	return genoperandoperandoperandoperand(FaddSRvRvRv, _aSize, _vectorRegister1, _vectorRegister2, _vectorRegisterSum);
}
/* Cogit>>#FsubS:Rv:Rv:Rv: */
static AbstractInstruction * NoDbgRegParms
gFsubSRvRvRv(sqInt _aSize, sqInt _minuendVectorRegister, sqInt _subtrahendVectorRegister, sqInt _vectorRegisterSum)
{
	return genoperandoperandoperandoperand(FsubSRvRvRv, _aSize, _minuendVectorRegister, _subtrahendVectorRegister, _vectorRegisterSum);
}
/* Cogit>>#fillInMethodHeader:size:selector: */
static CogMethod * NoDbgRegParms
fillInMethodHeadersizeselector(CogMethod *method, sqInt _size, sqInt _selector)
{
	CogMethod *_originalMethod;
	sqInt _rawHeader;

	(method->cmType = CMMethod);
	(method->objectHeader = nullHeaderForMachineCodeMethod());
	(method->blockSize = _size);
	(method->methodObject = methodObj);
	_rawHeader = rawHeaderOf(methodObj);
	if (isCogMethodReference(_rawHeader)) {
		_originalMethod = ((CogMethod *) _rawHeader );
		assert(((_originalMethod->blockSize)) == _size);
		assert(methodHeader == ((_originalMethod->methodHeader)));
	} else {
		rawHeaderOfput(methodObj, ((sqInt) method ));
	}
	(method->methodHeader = methodHeader);
	(method->selector = _selector);
	(method->cmNumArgs = argumentCountOfMethodHeader(methodHeader));
	if ((method->cmRefersToYoung = hasYoungReferent)) {
		addToYoungReferrers(method);
	}
	(method->cmUsageCount = initialMethodUsageCount());
	(method->cpicHasMNUCaseOrCMIsFullBlock) = 0;
	(method->cmUsesPenultimateLit = maxLitIndex >= ((literalCountOfMethodHeader(methodHeader)) - 2));
	(method->picUsage = 0);
	if (needsFrame) {
		if (!((((stackCheckLabel->address)) - ((sqInt) method )) <= MaxStackCheckOffset)) {
			error("too much code for stack check offset");
		}
	}
	(method->stackCheckOffset = ((needsFrame)
		 ? ((stackCheckLabel->address)) - ((sqInt) method )
		 : 0));
	assert((callTargetFromReturnAddress(backEnd, ((sqInt) method ) + missOffset)) == (methodAbortTrampolineFor((method->cmNumArgs))));
	assert(_size == (roundUpLength(_size)));
	return method;
}
/* Cogit>>#findBackwardBranch:IsBackwardBranch:Mcpc:Bcpc:MatchingBcpc: */
static sqInt NoDbgRegParms
findBackwardBranchIsBackwardBranchMcpcBcpcMatchingBcpc(BytecodeDescriptor *descriptor, sqInt _isBackwardBranchAndAnnotation, char *_mcpc, sqInt _bcpc, void *_targetBcpc)
{
	return (((_isBackwardBranchAndAnnotation & 1) && (((sqInt) _targetBcpc ) == _bcpc))
		 ? ((sqInt) _mcpc )
		 : 0);
}
/*	Machine code addresses map to the following bytecode for all bytecodes 
	except backward branches, where they map to the backward branch itself. 
	This is so that loops continue, rather than terminate prematurely. */
/* Cogit>>#find:IsBackwardBranch:Mcpc:Bcpc:MatchingMcpc: */
static sqInt NoDbgRegParms
findIsBackwardBranchMcpcBcpcMatchingMcpc(BytecodeDescriptor *_descriptor, sqInt _isBackwardBranchAndAnnotation, char *_mcpc, sqInt _bcpc, void *_targetMcpc)
{
	return ((_targetMcpc == _mcpc)
		 ? (((_descriptor == null) || (_isBackwardBranchAndAnnotation & 1))
			 ? _bcpc
			 : _bcpc + ((_descriptor->numBytes)))
		 : 0);
}
/*	Answer a fake value for the first method oop in the PIC prototype. 
	Since we use MoveUniqueCw:R: it must not be confused with a 
	method-relative address. */
/* Cogit>>#firstPrototypeMethodOop */
static sqInt
firstPrototypeMethodOop(void)
{
	return (((((usqInt) 99282957 ) >= ((methodLabel->address))) && (((usqInt) 99282957 ) < (youngReferrers())))
		 ? 212332557
		 : 99282957);
}
/* Cogit>>#fixupAt: */
static BytecodeFixup * NoDbgRegParms
fixupAt(sqInt _fixupPC)
{
	return fixupAtIndex(_fixupPC - initialPC);
}
/* Cogit>>#followForwardedLiteralsIn: */
void
followForwardedLiteralsIn(CogMethod *_cogMethod)
{
	sqInt _annotation;
	usqInt _map;
	sqInt _mapByte;
	sqInt _mcpc;
	sqInt _result;

	assert((((_cogMethod->cmType)) != CMMethod) || (!(isForwarded((_cogMethod->methodObject)))));
	/* begin enableCodeZoneWriteDuring: */
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		if (shouldRemapOop((_cogMethod->selector))) {
			(_cogMethod->selector = remapObj((_cogMethod->selector)));
			if (isYoung((_cogMethod->selector))) {
				ensureInYoungReferrers(_cogMethod);
			}
		}
		/* begin mapFor:performUntil:arg: */
		/* begin firstMappedPCFor: */
		_mcpc = (((_cogMethod->cpicHasMNUCaseOrCMIsFullBlock))
			 ? ((usqInt) _cogMethod ) + cbNoSwitchEntryOffset
			 : ((usqInt) _cogMethod ) + cmNoCheckEntryOffset);
		/* end firstMappedPCFor: */
		_map = (((usqInt) _cogMethod ) + ((_cogMethod->blockSize))) - 1;
		{
			enumeratingCogMethod = _cogMethod;
		}
		while (((_mapByte = byteAt(_map))) != MapEnd) {
			if (_mapByte >= FirstAnnotation) {
				_mcpc += _mapByte & DisplacementMask;
				if ((((_annotation = ((usqInt) _mapByte ) >> AnnotationShift)) == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
					_annotation += _mapByte & DisplacementMask;
					_map -= 1;
				}
				_result = remapIfObjectRefpchasYoung(_annotation, ((char *) _mcpc ), 0);
				if (_result != 0) {
					goto l4;
				}
			} else {
				if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
					_mcpc += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
				}
			}
			_map -= 1;
		}
		l4:
		;
		/* end mapFor:performUntil:arg: */
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	/* end enableCodeZoneWriteDuring: */
}
/* Cogit>>#followForwardedMethods */
void
followForwardedMethods(void)
{
	CogMethod *_cogMethod;
	sqInt _followed;
	int _freedPIC;

	_freedPIC = 0;
	_cogMethod = ((CogMethod *) methodZoneBase );
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		while (_cogMethod < (limitZony())) {
			if (isOopForwarded((_cogMethod->selector))) {
				_followed = followForwarded((_cogMethod->selector));
				(_cogMethod->selector = _followed);
				if (isYoung(_followed)) {
					ensureInYoungReferrers(_cogMethod);
				}
			}
			if (((_cogMethod->cmType)) == CMMethod) {
				if (isForwarded((_cogMethod->methodObject))) {
					(_cogMethod->methodObject = followForwarded((_cogMethod->methodObject)));
					if (isYoungObject(getMemoryMap(), (_cogMethod->methodObject))) {
						ensureInYoungReferrers(_cogMethod);
					}
				}
			}
			if (((_cogMethod->cmType)) == CMPolymorphicIC) {
				if (followMethodReferencesInClosedPIC(_cogMethod)) {
					_freedPIC = 1;
					freeMethod(_cogMethod);
				}
			}
			_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		}
		if (_freedPIC) {
			unlinkSendsToFree();
		}
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		if (codeModified) {
			flushICacheFromto(((usqInt) methodZoneBase ), ((usqInt) (limitZony()) ));
		}
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
}
/*	Follow a potential object reference from a closed PIC. 
	This may be a method reference or null. 
	Answer if the followed literal is young. 
	'mcpc' refers to the jump/branch instruction at the end of 
	each cpic case */
/* Cogit>>#followMaybeObjRefInClosedPICAt: */
static sqInt NoDbgRegParms
followMaybeObjRefInClosedPICAt(sqInt _mcpc)
{
	sqInt _object;
	sqInt _subject;

	_object = literalBeforeFollowingAddress(backEnd, _mcpc);
	if (!(couldBeObject(_object))) {
		return 0;
	}
	if (!(isForwarded(_object))) {
		return isYoungObject(getMemoryMap(), _object);
	}
	_subject = followForwarded(_object);
	storeLiteralbeforeFollowingAddress(backEnd, _subject, _mcpc);
	codeModified = 1;
	return isYoungObject(getMemoryMap(), _subject);
}
/*	Remap all object references in the closed PIC. Answer if any references 
	are young. 
	Set codeModified if any modifications are made. */
/* Cogit>>#followMethodReferencesInClosedPIC: */
static sqInt NoDbgRegParms
followMethodReferencesInClosedPIC(CogMethod *_cPIC)
{
	sqInt _i;
	sqInt _pc;
	sqInt _refersToYoung;

	_pc = addressOfEndOfCaseinCPIC(1, _cPIC);
	_refersToYoung = followMaybeObjRefInClosedPICAt(_pc - (jumpLongByteSize(backEnd)));
	_pc = addressOfEndOfCaseinCPIC((_cPIC->cPICNumCases), _cPIC);
	for (_i = 2; _i <= ((_cPIC->cPICNumCases)); _i += 1) {
		if (followMaybeObjRefInClosedPICAt((_pc - (jumpLongConditionalByteSize(backEnd))) - (cmpC32RTempByteSize(backEnd)))) {
			_refersToYoung = 1;
		}
		_pc += cPICCaseSize;
	}
	return _refersToYoung;
}
/*	Free machine-code methods whose compiled methods are unmarked 
	and open PICs whose selectors are not marked, and closed PICs that 
	refer to unmarked objects. */
/* Cogit>>#freeUnmarkedMachineCode */
void
freeUnmarkedMachineCode(void)
{
	CogMethod *_cogMethod;
	int _freedMethod;

	_freedMethod = 0;
	_cogMethod = ((CogMethod *) methodZoneBase );
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		while (_cogMethod < (limitZony())) {
			if ((((_cogMethod->cmType)) == CMMethod) && (!(isMarkedOrPermanent((_cogMethod->methodObject))))) {
				_freedMethod = 1;
				freeMethod(_cogMethod);
			}
			if ((((_cogMethod->cmType)) == CMMegamorphicIC) && ((!(isImmediate((_cogMethod->selector)))) && (!(isMarkedOrPermanent((_cogMethod->selector)))))) {
				_freedMethod = 1;
				freeMethod(_cogMethod);
			}
			if ((((_cogMethod->cmType)) == CMPolymorphicIC) && (closedPICRefersToUnmarkedObject(_cogMethod))) {
				_freedMethod = 1;
				freeMethod(_cogMethod);
			}
			_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		}
		if (_freedMethod) {
			unlinkSendsToFree();
		}
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		if (codeModified) {
			flushICacheFromto(((usqInt) methodZoneBase ), ((usqInt) (limitZony()) ));
		}
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
}
/*	Call ceSendMustBeBooleanTo: via the relevant trampoline. */
/* Cogit>>#genCallMustBeBooleanFor: */
static AbstractInstruction * NoDbgRegParms
genCallMustBeBooleanFor(sqInt _boolean)
{
	AbstractInstruction *_abstractInstruction;
	sqInt _callTarget;

	/* begin CallRT: */
	_callTarget = ((_boolean == (falseObject()))
		 ? ceSendMustBeBooleanAddFalseTrampoline
		 : ceSendMustBeBooleanAddTrueTrampoline);
	/* begin annotateCall: */
	_abstractInstruction = genoperand(Call, _callTarget);
	(_abstractInstruction->annotation = IsRelativeCall);
	return _abstractInstruction;
	/* end annotateCall: */
	/* end CallRT: */
}
/* Cogit>>#genCheckForInterruptsTrampoline */
static sqInt
genCheckForInterruptsTrampoline(void)
{
	sqInt _address2;
	AbstractInstruction *_anInstruction2;

	zeroOpcodeIndex();
	{
		genoperand(PopR, TempReg);
		/* begin MoveR:Aw: */
		_address2 = instructionPointerAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction2 = genoperandoperand(MoveRAw, TempReg, _address2);
		/* end checkLiteral:forInstruction: */
		/* end MoveR:Aw: */
	}
	return genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(ceCheckForInterrupts, "ceCheckForInterruptsTrampoline", 0, null, null, null, null, 0, 0, NoReg, 1);
}
/* Cogit>>#genConditionalBranch:operand: */
static AbstractInstruction * NoDbgRegParms
genConditionalBranchoperand(sqInt _opcode, sqInt _operandOne)
{
	AbstractInstruction *_branch;

	/* begin noteFollowingConditionalBranch: */
	_branch = genoperand(_opcode, _operandOne);
	return _branch;
	/* end noteFollowingConditionalBranch: */
}
/*	An enilopmart (the reverse of a trampoline) is a piece of code that makes 
	the system-call-like transition from the C runtime into generated machine 
	code. The desired arguments and entry-point are pushed on a stackPage's 
	stack. The enilopmart pops off the values to be loaded into registers and 
	then executes a return instruction to pop off the entry-point and jump to 
	it.  
	BEFORE				AFTER			(stacks grow down) 
	whatever			stackPointer ->	whatever 
	target address =>	reg1 = reg1val, etc 
	reg1val				pc = target address 
	reg2val 
	stackPointer ->	reg3val */
/* Cogit>>#genEnilopmartFor:and:and:forCall:called: */
static void (*genEnilopmartForandandforCallcalled(sqInt _regArg1, sqInt _regArg2OrNone, sqInt _regArg3OrNone, sqInt _forCall, char *_trampolineName))(void)

{
	AbstractInstruction *_anInstruction;
	sqInt _endAddress;
	sqInt _enilopmart;
	sqInt _quickConstant;
	sqInt _size;

	zeroOpcodeIndex();
	{
		/* begin MoveCq:R: */
		_quickConstant = varBaseAddress();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _quickConstant, VarBaseReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveCq:R: */
	}
	genLoadStackPointers(backEnd);
	if (_regArg3OrNone != NoReg) {
		genoperand(PopR, _regArg3OrNone);
	}
	if (_regArg2OrNone != NoReg) {
		genoperand(PopR, _regArg2OrNone);
	}
	genoperand(PopR, _regArg1);
	genEnilopmartReturn(_forCall);
	computeMaximumSizes();
	_size = generateInstructionsAt(methodZoneBase);
	_endAddress = outputInstructionsAt(methodZoneBase);
	assert((methodZoneBase + _size) == _endAddress);
	_enilopmart = methodZoneBase;
	methodZoneBase = alignUptoRoutineBoundary(_endAddress);
	stopsFromto(backEnd, _endAddress, methodZoneBase - 1);
	recordGeneratedRunTimeaddress(_trampolineName, _enilopmart);
	return ((void (*)(void)) _enilopmart );
}
/*	An enilopmart (the reverse of a trampoline) is a piece of code that makes 
	the system-call-like transition from the C runtime into generated machine 
	code. At the point the enilopmart enters machine code via a return 
	instruction, any argument registers have been loaded with their values and 
	the stack, if 
	for call, looks like 
	ret pc 
	stackPointer ->	target address 
	 
	and if not for call, looks like 
	whatever 
	stackPointer ->	target address 
	 
	If forCall and running on a CISC, ret pc must be left on the stack. If 
	forCall and 
	running on a RISC, ret pc must be popped into LinkReg. In either case, 
	target address must be removed from the stack and jumped/returned to. */
/* Cogit>>#genEnilopmartReturn: */
static void NoDbgRegParms
genEnilopmartReturn(sqInt _forCall)
{
	{
		genoperand(RetN, 0);
	}
}
/*	Generate the routine that writes the current values of the C frame and 
	stack pointers into 
	variables. These are used to establish the C stack in trampolines back 
	into the C run-time. 
	 
	This is a presumptuous quick hack for x86. It is presumptuous for two 
	reasons. Firstly 
	the system's frame and stack pointers may differ from those we use in 
	generated code, 
	e.g. on register-rich RISCs. Secondly the ABI may not support a simple 
	frameless call 
	as written here (for example 128-bit stack alignment on Mac OS X). */
/* Cogit>>#generateCaptureCStackPointers: */
static void NoDbgRegParms
generateCaptureCStackPointers(sqInt _captureFramePointer)
{
	sqInt _startAddress;

	/* begin allocateOpcodes:bytecodes: */
	ensureAndClearAbstractOpcodes(32);
	zeroOpcodeIndexForNewOpcodes();
	labelCounter = 0;
	/* end allocateOpcodes:bytecodes: */
	_startAddress = methodZoneBase;
	genCaptureCStackPointers(backEnd, _captureFramePointer);
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		outputInstructionsForGeneratedRuntimeAt(_startAddress);
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		flushICacheFromto(((usqInt) _startAddress ), ((usqInt) methodZoneBase ));
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	recordGeneratedRunTimeaddress("ceCaptureCStackPointers", _startAddress);
	ceCaptureCStackPointers = ((void (*)(void)) _startAddress );
}
/*	Generate the prototype ClosedPIC to determine how much space as full PIC 
	takes. When we first allocate a closed PIC it only has one or two cases 
	and we want to grow it. 
	So we have to determine how big a full one is before hand. */
/* Cogit>>#generateClosedPICPrototype */
static void
generateClosedPICPrototype(void)
{
	AbstractInstruction * cPICEndOfCodeLabel;
	AbstractInstruction * endCPICCase1;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	CogMethod *_cPIC;
	sqInt _endAddress;
	sqInt _h;
	AbstractInstruction *_jumpNext;
	sqInt _jumpTarget;
	sqInt _jumpTarget2;
	sqInt _jumpTarget3;
	int _numArgs;
	sqInt _opcode;
	sqInt _wordConstant;
	sqInt _wordConstant2;

	/* begin allocateOpcodes:bytecodes: */
	ensureAndClearAbstractOpcodes(MaxCPICCases * 9);
	zeroOpcodeIndexForNewOpcodes();
	labelCounter = 0;
	/* end allocateOpcodes:bytecodes: */
	{
		(methodLabel->address = methodZoneBase);
		(methodLabel->dependent = null);
	}
	/* begin compilePolymorphicICPrototype */
	compilePICAbort((_numArgs = 0));
	_jumpNext = compileCPICEntry();
	/* begin MoveUniqueCw:R: */
	_wordConstant2 = firstPrototypeMethodOop();
	/* begin uniqueLiteral:forInstruction: */
	_anInstruction3 = genoperandoperand(MoveCwR, _wordConstant2, SendNumArgsReg);
	/* end uniqueLiteral:forInstruction: */
	/* end MoveUniqueCw:R: */
	/* begin JumpLong: */
	_jumpTarget2 = (((methodZoneBase + (youngReferrers())) / 2) - 13262352) + 13262352;
	genoperand(JumpLong, _jumpTarget2);
	/* end JumpLong: */
	endCPICCase0 = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
	for (_h = 1; _h < MaxCPICCases; _h += 1) {
		if (_h == (MaxCPICCases - 1)) {
			jmpTarget(_jumpNext, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
		}
		/* begin MoveUniqueCw:R: */
		_wordConstant = (subsequentPrototypeMethodOop()) + _h;
		/* begin uniqueLiteral:forInstruction: */
		_anInstruction = genoperandoperand(MoveCwR, _wordConstant, SendNumArgsReg);
		/* end uniqueLiteral:forInstruction: */
		/* end MoveUniqueCw:R: */
		/* begin gen:literal:operand: */
		_opcode = CmpC32R;
		/* begin checkLiteral:forInstruction: */
		_anInstruction2 = genoperandoperand(_opcode, 3133021973U + _h, TempReg);
		/* end checkLiteral:forInstruction: */
		/* end gen:literal:operand: */
		/* begin JumpLongZero: */
		_jumpTarget = ((((methodZoneBase + (youngReferrers())) / 2) - 13262352) + 13262352) + (_h * 16);
		genConditionalBranchoperand(JumpLongZero, ((sqInt) _jumpTarget ));
		/* end JumpLongZero: */
		if (_h == 1) {
			endCPICCase1 = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
		}
	}
	/* begin checkLiteral:forInstruction: */
	_anInstruction4 = genoperandoperand(MoveCwR, (methodLabel->address), ClassReg);
	/* end checkLiteral:forInstruction: */
	/* begin JumpLong: */
	_jumpTarget3 = cPICMissTrampolineFor(_numArgs);
	genoperand(JumpLong, _jumpTarget3);
	/* end JumpLong: */
	cPICEndOfCodeLabel = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
	/* end compilePolymorphicICPrototype */
	computeMaximumSizes();
	_cPIC = ((CogMethod *) methodZoneBase );
	closedPICSize = (sizeof(CogMethod)) + (generateInstructionsAt(methodZoneBase + (sizeof(CogMethod))));
	/* begin enableCodeZoneWriteDuring: */
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		_endAddress = outputInstructionsAt(methodZoneBase + (sizeof(CogMethod)));
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	/* end enableCodeZoneWriteDuring: */
	assert((methodZoneBase + closedPICSize) == _endAddress);
	firstCPICCaseOffset = ((endCPICCase0->address)) - methodZoneBase;
	cPICEndOfCodeOffset = ((cPICEndOfCodeLabel->address)) - methodZoneBase;
	cPICCaseSize = ((endCPICCase1->address)) - ((endCPICCase0->address));
	cPICEndSize = closedPICSize - (((MaxCPICCases - 1) * cPICCaseSize) + firstCPICCaseOffset);
	closedPICSize = roundUpLength(closedPICSize);
	assert(((picInterpretAbort->address)) == (((methodLabel->address)) + (picInterpretAbortOffset())));
	/* begin enableCodeZoneWriteDuring: */
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		assert((expectedClosedPICPrototype(_cPIC)) == 0);
		storeLiteralbeforeFollowingAddress(backEnd, 0, ((endCPICCase0->address)) - (jumpLongByteSize(backEnd)));
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	/* end enableCodeZoneWriteDuring: */
	methodZoneBase = alignUptoRoutineBoundary(_endAddress);
	cPICPrototype = _cPIC;
}
/*	We handle jump sizing simply. First we make a pass that asks each 
	instruction to compute its maximum size. Then we make a pass that 
	sizes jumps based on the maxmimum sizes. Then we make a pass 
	that fixes up jumps. When fixing up a jump the jump is not allowed to 
	choose a smaller offset but must stick to the size set in the second pass. */
/* Cogit>>#generateCogFullBlock */
static CogMethod *
generateCogFullBlock(void)
{
	CogMethod *method;
	sqInt _codeSize;
	usqIntptr_t _headerSize;
	sqInt _mapSize;
	sqInt _result;
	usqInt _startAddress;
	sqInt _totalSize;

	_headerSize = sizeof(CogMethod);
	(methodLabel->address = freeStart());
	computeMaximumSizes();
	concretizeAt(methodLabel, freeStart());
	/* begin enableCodeZoneWriteDuring: */
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		_codeSize = generateInstructionsAt(((methodLabel->address)) + _headerSize);
		_mapSize = generateMapAtstart(null, ((methodLabel->address)) + cbNoSwitchEntryOffset);
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	/* end enableCodeZoneWriteDuring: */
	_totalSize = roundUpLength((_headerSize + _codeSize) + _mapSize);
	if (_totalSize > MaxMethodSize) {
		return ((CogMethod *) MethodTooBig );
	}
	_startAddress = allocate(_totalSize);
	if (_startAddress == 0) {
		return ((CogMethod *) InsufficientCodeSpace );
	}
	assert((_startAddress + cbEntryOffset) == ((fullBlockEntry->address)));
	assert((_startAddress + cbNoSwitchEntryOffset) == ((fullBlockNoContextSwitchEntry->address)));
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		_result = outputInstructionsAt(_startAddress + _headerSize);
		assert(((_startAddress + _headerSize) + _codeSize) == _result);
		padIfPossibleWithStopsFromto(backEnd, _result, ((_startAddress + _totalSize) - _mapSize) - 1);
		generateMapAtstart((_startAddress + _totalSize) - 1, _startAddress + cbNoSwitchEntryOffset);
		flag("TOCHECK");
		method = fillInMethodHeadersizeselector(((CogMethod *) _startAddress ), _totalSize, nilObject());
		(method->cpicHasMNUCaseOrCMIsFullBlock = 1);
		if (postCompileHook) {
			postCompileHook(method);
			postCompileHook = null;
		}
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		flushICacheFromto(((usqInt) method ), ((usqInt) method ) + _totalSize);
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	return method;
}
/*	We handle jump sizing simply. First we make a pass that asks each 
	instruction to compute its maximum size. Then we make a pass that 
	sizes jumps based on the maxmimum sizes. Then we make a pass 
	that fixes up jumps. When fixing up a jump the jump is not allowed to 
	choose a smaller offset but must stick to the size set in the second pass. */
/* Cogit>>#generateCogMethod: */
static CogMethod * NoDbgRegParms
generateCogMethod(sqInt _selector)
{
	CogMethod *method;
	sqInt _codeSize;
	usqIntptr_t _headerSize;
	sqInt _mapSize;
	sqInt _result;
	usqInt _startAddress;
	sqInt _totalSize;

	_headerSize = sizeof(CogMethod);
	(methodLabel->address = freeStart());
	computeMaximumSizes();
	concretizeAt(methodLabel, freeStart());
	/* begin enableCodeZoneWriteDuring: */
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		_codeSize = generateInstructionsAt(((methodLabel->address)) + _headerSize);
		_mapSize = generateMapAtstart(null, ((methodLabel->address)) + cmNoCheckEntryOffset);
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	/* end enableCodeZoneWriteDuring: */
	_totalSize = roundUpLength((_headerSize + _codeSize) + _mapSize);
	if (_totalSize > MaxMethodSize) {
		return ((CogMethod *) MethodTooBig );
	}
	_startAddress = allocate(_totalSize);
	if (_startAddress == 0) {
		return ((CogMethod *) InsufficientCodeSpace );
	}
	assert((_startAddress + cmEntryOffset) == ((entry->address)));
	assert((_startAddress + cmNoCheckEntryOffset) == ((noCheckEntry->address)));
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		_result = outputInstructionsAt(_startAddress + _headerSize);
		assert(((_startAddress + _headerSize) + _codeSize) == _result);
		padIfPossibleWithStopsFromto(backEnd, _result, ((_startAddress + _totalSize) - _mapSize) - 1);
		generateMapAtstart((_startAddress + _totalSize) - 1, _startAddress + cmNoCheckEntryOffset);
		method = fillInMethodHeadersizeselector(((CogMethod *) _startAddress ), _totalSize, _selector);
		if (postCompileHook) {
			postCompileHook(method);
			postCompileHook = null;
		}
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		flushICacheFromto(((usqInt) method ), ((usqInt) method ) + _totalSize);
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	return method;
}
/*	Generate the method map at addressrNull (or compute it if addressOrNull is 
	null). Answer the length of the map in byes. Each entry in the map is in 
	two parts. In the 
	least signficant bits are a displacement of how far from the start or 
	previous entry, 
	unless it is an IsAnnotationExtension byte, in which case those bits are 
	the extension. 
	In the most signficant bits are the type of annotation at the point 
	reached. A null 
	byte ends the map. */
/* Cogit>>#generateMapAt:start: */
static sqInt NoDbgRegParms
generateMapAtstart(usqInt _addressOrNull, usqInt _startAddress)
{
	unsigned char _annotation;
	sqInt _delta;
	sqInt _i;
	AbstractInstruction *_instruction;
	int _length;
	usqInt _location;
	sqInt _mapEntry;
	sqInt _maxDelta;
	usqInt _mcpc;

	_length = 0;
	_location = _startAddress;
	for (_i = 0; _i < opcodeIndex; _i += 1) {
		_instruction = abstractInstructionAt(_i);
		{
			_annotation = (_instruction->annotation);
			if (!(_annotation == null)) {
				/* begin mapEntryAddress */
				_mcpc = ((_instruction->address)) + ((_instruction->machineCodeSize));
				/* end mapEntryAddress */
				while (((_delta = (_mcpc - _location) / 1)) > DisplacementMask) {
					_maxDelta = ((((_delta < MaxX2NDisplacement) ? _delta : MaxX2NDisplacement)) | DisplacementMask) - DisplacementMask;
					assert((((usqInt) _maxDelta ) >> AnnotationShift) <= DisplacementMask);
					if (_addressOrNull) {
						/* begin addToMap:instruction:byte:at:for: */
						byteAtput(_addressOrNull - _length, (((usqInt) _maxDelta ) >> AnnotationShift) + DisplacementX2N);
						/* end addToMap:instruction:byte:at:for: */
					}
					_location += _maxDelta;
					_length += 1;
				}
				if (_addressOrNull) {
					_mapEntry = _delta + ((sqInt) (((usqInt) (((_annotation < IsSendCall) ? _annotation : IsSendCall)) ) << AnnotationShift) );
					/* begin addToMap:instruction:byte:at:for: */
					byteAtput(_addressOrNull - _length, _mapEntry);
					/* end addToMap:instruction:byte:at:for: */
				}
				_location += _delta;
				_length += 1;
				if (_annotation > IsSendCall) {
					if (_addressOrNull) {
						_mapEntry = ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) ) + (_annotation - IsSendCall);
						/* begin addToMap:instruction:byte:at:for: */
						byteAtput(_addressOrNull - _length, _mapEntry);
						/* end addToMap:instruction:byte:at:for: */
					}
					_length += 1;
				}
			}
		}
	}
	if (_addressOrNull) {
		/* begin addToMap:instruction:byte:at:for: */
		byteAtput(_addressOrNull - _length, MapEnd);
		/* end addToMap:instruction:byte:at:for: */
	}
	return _length + 1;
}
/*	Generate the prototype ClosedPIC to determine how much space as full PIC 
	takes. When we first allocate a closed PIC it only has one or two cases 
	and we want to grow it. 
	So we have to determine how big a full one is before hand.stack allocate the various collections so that they 
	are effectively garbage collected on return. */
/* Cogit>>#generateOpenPICPrototype */
static void
generateOpenPICPrototype(void)
{
	sqInt _codeSize;
	sqInt _mapSize;

	/* begin allocateOpcodes:bytecodes: */
	ensureAndClearAbstractOpcodes(100);
	zeroOpcodeIndexForNewOpcodes();
	labelCounter = 0;
	/* end allocateOpcodes:bytecodes: */
	{
		(methodLabel->address = methodZoneBase);
		(methodLabel->dependent = null);
	}
	compileOpenPICnumArgs(specialSelector(0), 2);
	computeMaximumSizes();
	concretizeAt(methodLabel, methodZoneBase);
	/* begin enableCodeZoneWriteDuring: */
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		_codeSize = generateInstructionsAt(methodZoneBase + (sizeof(CogMethod)));
		_mapSize = generateMapAtstart(null, methodZoneBase + cmNoCheckEntryOffset);
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	/* end enableCodeZoneWriteDuring: */
	openPICSize = (roundUpLength((sizeof(CogMethod)) + _codeSize)) + (roundUpLength(_mapSize));
}
/* Cogit>>#generateReturnToInterpreterPCTrampoline */
static void
generateReturnToInterpreterPCTrampoline(void)
{
	ceReturnToInterpreterTrampoline = genReturnTrampolineForcalledarg(ceReturnToInterpreter, "ceReturnToInterpreterTrampoline", ReceiverResultReg);
}
/*	Generate the run-time entries at the base of the native code zone and 
	update the base. */
/* Cogit>>#generateRunTimeTrampolines */
static void
generateRunTimeTrampolines(void)
{
	sqInt ceFreeTrampoline;
	sqInt ceMallocTrampoline;

	ceSendMustBeBooleanAddFalseTrampoline = genMustBeBooleanTrampolineForcalled(falseObject(), "ceSendMustBeBooleanAddFalseTrampoline");
	ceSendMustBeBooleanAddTrueTrampoline = genMustBeBooleanTrampolineForcalled(trueObject(), "ceSendMustBeBooleanAddTrueTrampoline");
	ceNonLocalReturnTrampoline = genNonLocalReturnTrampoline();
	ceCheckForInterruptTrampoline = genCheckForInterruptsTrampoline();
	ceFetchContextInstVarTrampoline = genTrampolineForcalledargargresult(ceContextinstVar, "ceFetchContextInstVarTrampoline", ReceiverResultReg, SendNumArgsReg, SendNumArgsReg);
	ceStoreContextInstVarTrampoline = genTrampolineForcalledargargargresult(ceContextinstVarvalue, "ceStoreContextInstVarTrampoline", ReceiverResultReg, SendNumArgsReg, ClassReg, ReceiverResultReg);
	ceCannotResumeTrampoline = genTrampolineForcalled(ceCannotResume, "ceCannotResumeTrampoline");
	ceBaseFrameReturnTrampoline = genReturnTrampolineForcalledarg(ceBaseFrameReturn, "ceBaseFrameReturnTrampoline", ReceiverResultReg);
	generateReturnToInterpreterPCTrampoline();
	ceMallocTrampoline = genTrampolineForcalledargresult(ceMalloc, "ceMallocTrampoline", ReceiverResultReg, TempReg);
	ceFreeTrampoline = genTrampolineForcalledarg(ceFree, "ceFreeTrampoline", ReceiverResultReg);
}
/*	Generate a routine ceCaptureCStackPointers that will capture the C stack 
	pointer, and, if it is in use, the C frame pointer. These are used in 
	trampolines to call 
	run-time routines in the interpreter from machine-code. */
/* Cogit>>#generateStackPointerCapture */
static void
generateStackPointerCapture(void)
{
	sqInt _oldMethodZoneBase;
	sqInt _oldTrampolineTableIndex;

	cFramePointerInUse = 0;
	assertCStackWellAligned();
	_oldMethodZoneBase = methodZoneBase;
	_oldTrampolineTableIndex = trampolineTableIndex;
	generateCaptureCStackPointers(1);
	ceCaptureCStackPointers();
	if (!((cFramePointerInUse = checkCFramePointerInUse()))) {
		methodZoneBase = _oldMethodZoneBase;
		trampolineTableIndex = _oldTrampolineTableIndex;
		generateCaptureCStackPointers(0);
	}
	assertCStackWellAligned();
}
/*	Generate the run-time entries and exits at the base of the native code 
	zone and update the base. 
	Read the class-side method trampolines for documentation on the various 
	trampolines  */
/* Cogit>>#generateTrampolines */
static void
generateTrampolines(void)
{
	sqInt _methodZoneStart;

	_methodZoneStart = methodZoneBase;
	(methodLabel->address = _methodZoneStart);
	/* begin allocateOpcodes:bytecodes: */
	ensureAndClearAbstractOpcodes(80);
	zeroOpcodeIndexForNewOpcodes();
	labelCounter = 0;
	/* end allocateOpcodes:bytecodes: */
	hasYoungReferent = 0;
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		maybeGenerateSelectorIndexDereferenceRoutine();
		generateSendTrampolines();
		generateMissAbortTrampolines();
		generateObjectRepresentationTrampolines();
		generateRunTimeTrampolines();
		generateEnilopmarts();
		generateTracingTrampolines();
		recordGeneratedRunTimeaddress("methodZoneBase", methodZoneBase);
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		flushICacheFromto(((usqInt) _methodZoneStart ), ((usqInt) methodZoneBase ));
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
}
/* Cogit>>#generatorForPC: */
static BytecodeDescriptor * NoDbgRegParms
generatorForPC(sqInt _pc)
{
	return generatorAt(fetchByteofObject(_pc, methodObj));
}
/*	Generate a routine that answers the stack pointer immedately 
	after a leaf call, used for checking stack pointer alignment. */
/* Cogit>>#genGetLeafCallStackPointer */
static void
genGetLeafCallStackPointer(void)
{
	AbstractInstruction *_anInstruction;
	sqInt _quickConstant;
	sqInt _startAddress;

	/* begin allocateOpcodes:bytecodes: */
	ensureAndClearAbstractOpcodes(4);
	zeroOpcodeIndexForNewOpcodes();
	labelCounter = 0;
	/* end allocateOpcodes:bytecodes: */
	_startAddress = methodZoneBase;
	{
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, FPReg, RAX);
		/* end MoveR:R: */
		genoperand(RetN, 0);
	}
	outputInstructionsForGeneratedRuntimeAt(_startAddress);
	recordGeneratedRunTimeaddress("ceGetFP", _startAddress);
	ceGetFP = ((usqIntptr_t (*)(void)) _startAddress );
	_startAddress = methodZoneBase;
	zeroOpcodeIndex();
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, SPReg, RAX);
	/* end MoveR:R: */
	{
		/* begin AddCq:R: */
		_quickConstant = leafCallStackPointerDelta(backEnd);
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(AddCqR, _quickConstant, RAX);
		/* end checkQuickConstant:forInstruction: */
		/* end AddCq:R: */
	}
	genoperand(RetN, 0);
	outputInstructionsForGeneratedRuntimeAt(_startAddress);
	recordGeneratedRunTimeaddress("ceGetSP", _startAddress);
	ceGetSP = ((usqIntptr_t (*)(void)) _startAddress );
}
/*	Generate the abort for a PIC. This abort performs either a call of 
	ceInterpretMethodFromPIC:receiver: to handle invoking an uncogged target 
	or a call of ceMNUFromPICMNUMethod:receiver: to handle an MNU dispatch 
	in a closed PIC. It distinguishes the two by testing ClassReg. If the 
	register is zero then this is an MNU. 
	 
	This poses a problem in 32-bit Spur, where zero is the cache tag for 
	immediate characters (tag pattern 2r10) because SmallIntegers have tag 
	patterns 2r11 
	and 2r01, so anding with 1 reduces these to 0 & 1. We solve the ambiguity 
	by patching send sites with a 0 cache tag to open PICs instead of closed 
	PICs.  */
/* Cogit>>#genInnerPICAbortTrampoline: */
static sqInt NoDbgRegParms
genInnerPICAbortTrampoline(char *_name)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_jumpMNUCase;

	/* begin CmpCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(CmpCqR, 0, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	_jumpMNUCase = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	compileTrampolineFornumArgsargargargargregsToSavepushLinkRegresultReg(ceInterpretMethodFromPICreceiver, 2, SendNumArgsReg, ReceiverResultReg, null, null, 0, 0, NoReg);
	jmpTarget(_jumpMNUCase, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(ceMNUFromPICMNUMethodreceiver, _name, 2, SendNumArgsReg, ReceiverResultReg, null, null, 0, 0, NoReg, 1);
}
/* Cogit>>#genLoadCStackPointersForPrimCall */
static sqInt
genLoadCStackPointersForPrimCall(void)
{
	sqInt _address;
	sqInt _address2;
	sqInt _address3;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	sqInt _reg;
	sqInt _reg2;

	if (debugPrimCallStackOffset == 0) {
		/* begin MoveAw:R: */
		_address = cStackPointerAddress();
		_reg = cStackPointer(backEnd);
		/* begin checkLiteral:forInstruction: */
		_anInstruction = genoperandoperand(MoveAwR, _address, _reg);
		/* end checkLiteral:forInstruction: */
		/* end MoveAw:R: */
	} else {
		/* begin MoveAw:R: */
		_address2 = cStackPointerAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction2 = genoperandoperand(MoveAwR, _address2, TempReg);
		/* end checkLiteral:forInstruction: */
		/* end MoveAw:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperand(SubCqR, debugPrimCallStackOffset, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin MoveR:R: */
		_reg2 = cStackPointer(backEnd);
		genoperandoperand(MoveRR, TempReg, _reg2);
		/* end MoveR:R: */
	}
	if (cFramePointerInUse) {
		/* begin MoveAw:R: */
		_address3 = cFramePointerAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction4 = genoperandoperand(MoveAwR, _address3, FPReg);
		/* end checkLiteral:forInstruction: */
		/* end MoveAw:R: */
	}
	return 0;
}
/*	The in-line cache for a send is implemented as a constant load into 
	ClassReg. We always use a 32-bit load, even in 64-bits. 
	 
	In the initial (unlinked) state the in-line cache is notionally loaded 
	with the selector. 
	But since in 64-bits an arbitrary selector oop won't fit in a 32-bit 
	constant load, we 
	instead load the cache with the selector's index, either into the literal 
	frame of the 
	current method, or into the special selector array. Negative values are 
	1-relative indices into the special selector array. 
	 
	When a send is linked, the load of the selector, or selector index, is 
	overwritten with a 
	load of the receiver's class, or class tag. Hence, the 64-bit VM is 
	currently constrained 
	to use class indices as cache tags. If out-of-line literals are used, 
	distinct caches /must 
	not/ share acche locations, for if they do, send cacheing will be confused 
	by the sharing. 
	Hence we use the MoveUniqueC32:R: instruction that will not share literal 
	locations.  */
/* Cogit>>#genLoadInlineCacheWithSelector: */
static void NoDbgRegParms
genLoadInlineCacheWithSelector(sqInt _selectorIndex)
{
	AbstractInstruction *_anInstruction;
	sqInt _cacheValue;

	assert(((_selectorIndex < 0)
		 ? (-_selectorIndex >= 1) && (-_selectorIndex <= (numSpecialSelectors()))
		 : (_selectorIndex >= 0) && (_selectorIndex <= ((literalCountOf(methodObj)) - 1))));
	{
		_cacheValue = _selectorIndex;
	}
	/* begin uniqueLiteral:forInstruction: */
	_anInstruction = genoperandoperand(MovePatcheableC32R, _cacheValue, ClassReg);
	/* end uniqueLiteral:forInstruction: */
}
/* Cogit>>#genNonLocalReturnTrampoline */
static sqInt
genNonLocalReturnTrampoline(void)
{
	sqInt _address2;
	AbstractInstruction *_anInstruction2;

	zeroOpcodeIndex();
	{
		genoperand(PopR, TempReg);
		/* begin MoveR:Aw: */
		_address2 = instructionPointerAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction2 = genoperandoperand(MoveRAw, TempReg, _address2);
		/* end checkLiteral:forInstruction: */
		/* end MoveR:Aw: */
	}
	return genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(ceNonLocalReturn, "ceNonLocalReturnTrampoline", 1, ReceiverResultReg, null, null, null, 0, 0, NoReg, 1);
}
/*	Generate a trampoline for a routine used as a return address, that has one 
	argument. Hack: a negative value indicates an abstract register, a 
	non-negative value indicates a constant. */
/* Cogit>>#genReturnTrampolineFor:called:arg: */
static sqInt NoDbgRegParms
genReturnTrampolineForcalledarg(void *_aRoutine, char *_aString, sqInt _regOrConst0)
{
	return genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(_aRoutine, _aString, 1, _regOrConst0, null, null, null, 0, 0, NoReg, 0);
}
/*	If the client requires, then on an ARM-like RISC processor, the return 
	address needs to 
	be pushed to the stack so that the interpreter sees the same stack layout 
	as on CISC. */
/* Cogit>>#genSmalltalkToCStackSwitch: */
static sqInt NoDbgRegParms
genSmalltalkToCStackSwitch(sqInt _pushLinkReg)
{
	genSaveStackPointers(backEnd);
	if (cFramePointerInUse) {
		genLoadCStackPointers(backEnd);
	}
 else {
		genLoadCStackPointer(backEnd);
	}
	return 0;
}
/*	Generate a trampoline with no arguments */
/* Cogit>>#genTrampolineFor:called: */
static sqInt NoDbgRegParms
genTrampolineForcalled(void *_aRoutine, char *_aString)
{
	return genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(_aRoutine, _aString, 0, null, null, null, null, 0, 1, NoReg, 0);
}
/*	Generate a trampoline with one argument. 
	Hack: a negative value indicates an abstract register, a non-negative 
	value indicates a constant. */
/* Cogit>>#genTrampolineFor:called:arg: */
static sqInt NoDbgRegParms
genTrampolineForcalledarg(void *_aRoutine, char *_aString, sqInt _regOrConst0)
{
	return genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(_aRoutine, _aString, 1, _regOrConst0, null, null, null, 0, 1, NoReg, 0);
}
/*	Generate a trampoline with two arguments that answers a result. 
	Hack: a negative value indicates an abstract register, a non-negative 
	value indicates a constant. */
/* Cogit>>#genTrampolineFor:called:arg:arg:arg:result: */
static sqInt NoDbgRegParms
genTrampolineForcalledargargargresult(void *_aRoutine, char *_aString, sqInt _regOrConst0, sqInt _regOrConst1, sqInt _regOrConst2, sqInt _resultReg)
{
	return genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(_aRoutine, _aString, 3, _regOrConst0, _regOrConst1, _regOrConst2, null, 0, 1, _resultReg, 0);
}
/*	Generate a trampoline with two arguments. 
	Hack: a negative value indicates an abstract register, a non-negative 
	value indicates a constant. */
/* Cogit>>#genTrampolineFor:called:arg:arg:regsToSave: */
static sqInt NoDbgRegParms
genTrampolineForcalledargargregsToSave(void *_aRoutine, char *_aString, sqInt _regOrConst0, sqInt _regOrConst1, sqInt _regMask)
{
	return genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(_aRoutine, _aString, 2, _regOrConst0, _regOrConst1, null, null, _regMask, 1, NoReg, 0);
}
/*	Generate a trampoline with two arguments that answers a result. 
	Hack: a negative value indicates an abstract register, a non-negative 
	value indicates a constant. */
/* Cogit>>#genTrampolineFor:called:arg:arg:result: */
static sqInt NoDbgRegParms
genTrampolineForcalledargargresult(void *_aRoutine, char *_aString, sqInt _regOrConst0, sqInt _regOrConst1, sqInt _resultReg)
{
	return genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(_aRoutine, _aString, 2, _regOrConst0, _regOrConst1, null, null, 0, 1, _resultReg, 0);
}
/*	Generate a trampoline with one argument. 
	Hack: a negative value indicates an abstract register, a non-negative 
	value indicates a constant. */
/* Cogit>>#genTrampolineFor:called:arg:regsToSave: */
static sqInt NoDbgRegParms
genTrampolineForcalledargregsToSave(void *_aRoutine, char *_aString, sqInt _regOrConst0, sqInt _regMask)
{
	return genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(_aRoutine, _aString, 1, _regOrConst0, null, null, null, _regMask, 1, NoReg, 0);
}
/*	Generate a trampoline with one argument that answers a result. 
	Hack: a negative value indicates an abstract register, a non-negative 
	value indicates a constant. */
/* Cogit>>#genTrampolineFor:called:arg:result: */
static sqInt NoDbgRegParms
genTrampolineForcalledargresult(void *_aRoutine, char *_aString, sqInt _regOrConst0, sqInt _resultReg)
{
	return genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(_aRoutine, _aString, 1, _regOrConst0, null, null, null, 0, 1, _resultReg, 0);
}
/*	Generate a trampoline with up to four arguments. Generate either a call or 
	a jump to aRoutineOrNil 
	as requested by callJumpBar. If generating a call and resultRegOrNone is 
	not NoReg pass the C result 
	back in resultRegOrNone. 
	Hack: a negative value indicates an abstract register, a non-negative 
	value indicates a constant. */
/* Cogit>>#genTrampolineFor:called:numArgs:arg:arg:arg:arg:regsToSave:pushLinkReg:resultReg:appendOpcodes: */
static sqInt NoDbgRegParms
genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(void *_aRoutine, char *_trampolineName, sqInt _numArgs, sqInt _regOrConst0, sqInt _regOrConst1, sqInt _regOrConst2, sqInt _regOrConst3, sqInt _regMask, sqInt _pushLinkReg, sqInt _resultRegOrNone, sqInt _appendBoolean)
{
	sqInt _startAddress;

	_startAddress = methodZoneBase;
	if (!_appendBoolean) {
		zeroOpcodeIndex();
	}
	compileTrampolineFornumArgsargargargargregsToSavepushLinkRegresultReg(_aRoutine, _numArgs, _regOrConst0, _regOrConst1, _regOrConst2, _regOrConst3, _regMask, _pushLinkReg, _resultRegOrNone);
	outputInstructionsForGeneratedRuntimeAt(_startAddress);
	recordGeneratedRunTimeaddress(_trampolineName, _startAddress);
	recordRunTimeObjectReferences();
	return _startAddress;
}
/*	Generate a trampoline with no arguments */
/* Cogit>>#genTrampolineFor:called:regsToSave: */
static sqInt NoDbgRegParms
genTrampolineForcalledregsToSave(void *_aRoutine, char *_aString, sqInt _regMask)
{
	return genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(_aRoutine, _aString, 0, null, null, null, null, _regMask, 1, NoReg, 0);
}
/*	<Integer> */
/* Cogit>>#gen: */
static AbstractInstruction * NoDbgRegParms
gen(sqInt _opcode)
{
	AbstractInstruction *_abstractInstruction;

	assert(opcodeIndex < numAbstractOpcodes);
	_abstractInstruction = abstractInstructionAt(opcodeIndex);
	opcodeIndex += 1;
	(_abstractInstruction->opcode = _opcode);
	return _abstractInstruction;
}
/*	<Integer|CogAbstractInstruction> */
/* Cogit>>#gen:operand: */
static AbstractInstruction * NoDbgRegParms
genoperand(sqInt _opcode, sqInt _operand)
{
	AbstractInstruction *_abstractInstruction;

	assert(opcodeIndex < numAbstractOpcodes);
	_abstractInstruction = abstractInstructionAt(opcodeIndex);
	opcodeIndex += 1;
	(_abstractInstruction->opcode = _opcode);
	(_abstractInstruction->operands)[0] = _operand;
	return _abstractInstruction;
}
/*	<Integer|CogAbstractInstruction> */
/* Cogit>>#gen:operand:operand: */
static AbstractInstruction * NoDbgRegParms
genoperandoperand(sqInt _opcode, sqInt _operandOne, sqInt _operandTwo)
{
	AbstractInstruction *_abstractInstruction;

	assert(opcodeIndex < numAbstractOpcodes);
	_abstractInstruction = abstractInstructionAt(opcodeIndex);
	opcodeIndex += 1;
	(_abstractInstruction->opcode = _opcode);
	(_abstractInstruction->operands)[0] = _operandOne;
	(_abstractInstruction->operands)[1] = _operandTwo;
	return _abstractInstruction;
}
/*	<Integer|CogAbstractInstruction> */
/* Cogit>>#gen:operand:operand:operand: */
static AbstractInstruction * NoDbgRegParms
genoperandoperandoperand(sqInt _opcode, sqInt _operandOne, sqInt _operandTwo, sqInt _operandThree)
{
	AbstractInstruction *_abstractInstruction;

	assert(opcodeIndex < numAbstractOpcodes);
	_abstractInstruction = abstractInstructionAt(opcodeIndex);
	opcodeIndex += 1;
	(_abstractInstruction->opcode = _opcode);
	(_abstractInstruction->operands)[0] = _operandOne;
	(_abstractInstruction->operands)[1] = _operandTwo;
	(_abstractInstruction->operands)[2] = _operandThree;
	return _abstractInstruction;
}
/*	<Integer|CogAbstractInstruction> */
/* Cogit>>#gen:operand:operand:operand:operand: */
static AbstractInstruction * NoDbgRegParms
genoperandoperandoperandoperand(sqInt _opcode, sqInt _operandOne, sqInt _operandTwo, sqInt _operandThree, sqInt _operandFour)
{
	AbstractInstruction *_abstractInstruction;

	assert(opcodeIndex < numAbstractOpcodes);
	_abstractInstruction = abstractInstructionAt(opcodeIndex);
	opcodeIndex += 1;
	(_abstractInstruction->opcode = _opcode);
	(_abstractInstruction->operands)[0] = _operandOne;
	(_abstractInstruction->operands)[1] = _operandTwo;
	(_abstractInstruction->operands)[2] = _operandThree;
	(_abstractInstruction->operands)[3] = _operandFour;
	return _abstractInstruction;
}
/* Cogit>>#getBlockCompilationCount */
sqInt
getBlockCompilationCount(void)
{
	return ((((usqInt) statCompileFullBlockCount ) << 3) | 1);
}
/* Cogit>>#getBlockCompilationMSecs */
sqInt
getBlockCompilationMSecs(void)
{
	return ((((usqInt) ((statCompileFullBlockUsecs + 500) / 1000) ) << 3) | 1);
}
/* Cogit>>#getLiteral: */
static sqInt NoDbgRegParms
getLiteral(sqInt _litIndex)
{
	if (maxLitIndex < _litIndex) {
		maxLitIndex = _litIndex;
	}
	return literalofMethod(_litIndex, methodObj);
}
/* Cogit>>#getMethodCompilationCount */
sqInt
getMethodCompilationCount(void)
{
	return ((((usqInt) statCompileMethodCount ) << 3) | 1);
}
/* Cogit>>#getMethodCompilationMSecs */
sqInt
getMethodCompilationMSecs(void)
{
	return ((((usqInt) ((statCompileMethodUsecs + 500) / 1000) ) << 3) | 1);
}
/* Cogit>>#incrementUsageOfTargetIfLinkedSend:mcpc:ignored: */
static sqInt NoDbgRegParms
incrementUsageOfTargetIfLinkedSendmcpcignored(sqInt _annotation, char *_mcpc, sqInt superfluity)
{
	sqInt _entryPoint;
	sqInt _offset2;
	CogMethod * _targetCogCode;

	if (_annotation >= IsSendCall) {
		_entryPoint = callTargetFromReturnAddress(backEnd, ((sqInt) _mcpc ));
		if (_entryPoint > methodZoneBase) {
			/* begin targetMethodAndSendTableFor:annotation:into: */
			/* begin offsetAndSendTableFor:annotation:into: */
			if (_annotation == IsSendCall) {
				_offset2 = cmEntryOffset;
			} else {
				if (_annotation == IsDirectedSuperSend) {
					_offset2 = cmNoCheckEntryOffset;
				} else {
					if (_annotation == IsDirectedSuperBindingSend) {
						_offset2 = cmNoCheckEntryOffset;
					} else {
						assert(_annotation == IsSuperSend);
						_offset2 = cmNoCheckEntryOffset;
					}
				}
			}
			{
				_targetCogCode = ((CogMethod *) (_entryPoint - _offset2) );
				{
					if (((_targetCogCode->cmUsageCount)) < (CMMaxUsageCount / 2)) {
						(_targetCogCode->cmUsageCount = ((_targetCogCode->cmUsageCount)) + 1);
					}
				}
			}
			/* end offsetAndSendTableFor:annotation:into: */
			/* end targetMethodAndSendTableFor:annotation:into: */
		}
	}
	return 0;
}
/*	Answer the value to put in an inline-cache that is being loaded with the 
	selector. Usually this is simply the selector, but in 64-bits the cache is 
	only 32-bits wide 
	and so the cache is loaded with the index of the selector. */
/* Cogit>>#indexForSelector:in:at: */
static sqInt NoDbgRegParms
indexForSelectorinat(sqInt _selector, CogMethod *_cogMethod, sqInt _mcpc)
{
	sqInt _aSpecialSelector;
	sqInt _i;
	sqInt _iLimit;
	sqInt _methodLiteral;
	sqInt _methodOop;

	assert(!(isOopForwarded(_selector)));
	assert((((usqInt) _mcpc ) > ((usqInt) _cogMethod )) && (_mcpc < (((usqInt) _cogMethod ) + ((_cogMethod->blockSize)))));
	for (_i = 0; _i < NumSpecialSelectors; _i += 1) {
		_aSpecialSelector = specialSelector(_i);
		if (isOopForwarded(_aSpecialSelector)) {
			_aSpecialSelector = followForwarded(_aSpecialSelector);
		}
		if (_selector == _aSpecialSelector) {
			return -1 - _i;
		}
	}
	_methodOop = (_cogMethod->methodObject);
	for (_i = LiteralStart, _iLimit = literalCountOfMethodHeader((_cogMethod->methodHeader)); _i <= _iLimit; _i += 1) {
		_methodLiteral = longAt(((_i * BytesPerOop) + BaseHeaderSize) + _methodOop);
		if (isOopForwarded(_methodLiteral)) {
			_methodLiteral = followForwarded(_methodLiteral);
			longAtput(((_i * BytesPerOop) + BaseHeaderSize) + _methodOop, _methodLiteral);
		}
		if (_methodLiteral == _selector) {
			assert(_selector == (literalofMethod(_i - 1, _methodOop)));
			return _i - 1;
		}
	}
	error("could not find selector in method when unlinking send site");
	return 0;
}
/*	Answer a usage count that reflects likely long-term usage. */
/* Cogit>>#initialClosedPICUsageCount */
static sqInt
initialClosedPICUsageCount(void)
{
	return CMMaxUsageCount / 2;
}
/* Cogit>>#initializeBackend */
static void
initializeBackend(void)
{
	(methodLabel->machineCodeSize = 0);
	(methodLabel->opcode = Label);
	(methodLabel->operands)[0] = 0;
	(methodLabel->operands)[1] = 0;
	{
		assert(((registerMaskFor(VarBaseReg)) & CallerSavedRegisterMask) == 0);
	}
	{
	}
}
/* Cogit>>#initializeCodeZoneFrom:upTo: */
void
initializeCodeZoneFromupTo(sqInt _startAddress, sqInt _endAddress)
{
	initializeBackend();
	/* begin enableCodeZoneWriteDuring: */
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		stopsFromto(backEnd, _startAddress, _endAddress - 1);
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	/* end enableCodeZoneWriteDuring: */
	/* begin simulationOnly: */
	/* end simulationOnly: */
	codeBase = (methodZoneBase = _startAddress);
	minValidCallAddress = (((((codeBase < (interpretAddress())) ? codeBase : interpretAddress())) < (primitiveFailAddress())) ? ((codeBase < (interpretAddress())) ? codeBase : interpretAddress()) : primitiveFailAddress());
	manageFromto(methodZoneBase, _endAddress);
	/* begin enableCodeZoneWriteDuring: */
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		/* begin maybeGenerateCheckFeatures */
		/* end maybeGenerateCheckFeatures */
		/* begin maybeGenerateICacheFlush */
		/* end maybeGenerateICacheFlush */
		genGetLeafCallStackPointer();
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	/* end enableCodeZoneWriteDuring: */
	generateStackPointerCapture();
	generateTrampolines();
	computeEntryOffsets();
	computeFullBlockEntryOffsets();
	generateClosedPICPrototype();
	manageFromto(methodZoneBase, _endAddress);
	generateOpenPICPrototype();
}
/* Cogit>>#initializePIC:atDelta:numArgs: */
static void NoDbgRegParms
initializePICatDeltanumArgs(CogMethod *_aPIC, sqInt _addrDelta, sqInt _numArgs)
{
	sqInt _jumpTargetAddr;
	sqInt _pc;

	memcpy(_aPIC, ((CogMethod *) cPICPrototype ), closedPICSize);
	rewriteCallAttarget(backEnd, ((sqInt) _aPIC ) + missOffset, picAbortTrampolineFor(_numArgs));
	/* begin relocateMethodReferenceBeforeAddress:by: */
	_pc = (((sqInt) _aPIC ) + cPICEndOfCodeOffset) - (jumpLongByteSize(backEnd));
	assert((((byteAt(_pc - 6)) == 141) && (((byteAt(_pc - 5)) | (modRMRO(((AbstractInstruction *) backEnd ), 0, 0, 7))) == (modRMRO(((AbstractInstruction *) backEnd ), ModRegInd, 5, 7)))) || (((byteAt(_pc - 8)) == 141) && (((byteAt(_pc - 7)) | (modRMRO(((AbstractInstruction *) backEnd ), 0, 0, 7))) == (modRMRO(((AbstractInstruction *) backEnd ), ModRegInd, 5, 7)))));
	/* end relocateMethodReferenceBeforeAddress:by: */
	/* begin rewriteJumpLongAt:target: */
	_jumpTargetAddr = cPICMissTrampolineFor(_numArgs);
	rewriteCallAttarget(((AbstractInstruction *) backEnd ), ((sqInt) _aPIC ) + cPICEndOfCodeOffset, _jumpTargetAddr);
	/* end rewriteJumpLongAt:target: */
}
/*	Answer a usage count that reflects likely long-term usage. 
	Answer 1 for non-primitives or quick primitives (inst var accessors), 
	2 for methods with interpreter primitives, and 3 for compiled primitives. */
/* Cogit>>#initialMethodUsageCount */
static sqInt
initialMethodUsageCount(void)
{
	if ((primitiveIndex == 1) || (isQuickPrimitiveIndex(primitiveIndex))) {
		return 1;
	}
	if (!(((primitiveDescriptor())->primitiveGenerator))) {
		return 2;
	}
	return 3;
}
/*	Answer a usage count that reflects likely long-term usage. */
/* Cogit>>#initialOpenPICUsageCount */
static sqInt
initialOpenPICUsageCount(void)
{
	return CMMaxUsageCount - 1;
}
/*	Answer the value to put in an inline-cache that is being loaded with the 
	selector. Usually this is simply the selector, but in 64-bits the cache is 
	only 32-bits wide 
	and so the cache is loaded with the index of the selector. */
/* Cogit>>#inlineCacheValueForSelector:in:at: */
static sqInt NoDbgRegParms
inlineCacheValueForSelectorinat(sqInt _selector, CogMethod *_aCogMethod, sqInt _mcpc)
{
	return indexForSelectorinat(_selector, _aCogMethod, _mcpc);
}
/* Cogit>>#inverseBranchFor: */
static sqInt NoDbgRegParms
inverseBranchFor(sqInt _opcode)
{
	switch (_opcode) {
		case JumpLongZero:
		{
			return JumpLongNonZero;
		}
		case JumpLongNonZero:
		{
			return JumpLongZero;
		}
		case JumpZero:
		{
			return JumpNonZero;
		}
		case JumpNonZero:
		{
			return JumpZero;
		}
		case JumpNegative:
		{
			return JumpNonNegative;
		}
		case JumpNonNegative:
		{
			return JumpNegative;
		}
		case JumpOverflow:
		{
			return JumpNoOverflow;
		}
		case JumpNoOverflow:
		{
			return JumpOverflow;
		}
		case JumpCarry:
		{
			return JumpNoCarry;
		}
		case JumpNoCarry:
		{
			return JumpCarry;
		}
		case JumpLess:
		{
			return JumpGreaterOrEqual;
		}
		case JumpGreaterOrEqual:
		{
			return JumpLess;
		}
		case JumpGreater:
		{
			return JumpLessOrEqual;
		}
		case JumpLessOrEqual:
		{
			return JumpGreater;
		}
		case JumpBelow:
		{
			return JumpAboveOrEqual;
		}
		case JumpAboveOrEqual:
		{
			return JumpBelow;
		}
		case JumpAbove:
		{
			return JumpBelowOrEqual;
		}
		case JumpBelowOrEqual:
		{
			return JumpAbove;
		}
		default:
		error("Case not found and no otherwise clause");
	}
	error("invalid opcode for inverse");
	return 0;
}
/*	This value is used to decide between MNU processing 
	or interpretation in the closed PIC aborts. */
/* Cogit>>#isMNUPicAbortDiscriminatorValue */
static sqInt
isMNUPicAbortDiscriminatorValue(void)
{
	return 0;
}
/*	See Cogit class>>initializeAnnotationConstants */
/* Cogit>>#isPCMappedAnnotation: */
static sqInt NoDbgRegParms
isPCMappedAnnotation(sqInt _annotation)
{
	return _annotation >= HasBytecodePC;
}
/* Cogit>>#isPCWithinMethodZone: */
sqInt
isPCWithinMethodZone(void *_address)
{
	return (((usqInt) _address ) >= methodZoneBase) && (((usqInt) _address ) <= (freeStart()));
}
/*	Answer if the instruction preceding retpc is a call instruction. */
/* Cogit>>#isSendReturnPC: */
sqInt
isSendReturnPC(sqInt _retpc)
{
	sqInt _target;

	if (!(isCallPrecedingReturnPC(backEnd, _retpc))) {
		return 0;
	}
	_target = callTargetFromReturnAddress(backEnd, _retpc);
	return ((_target >= firstSend) && (_target <= lastSend)) || ((_target >= methodZoneBase) && (_target <= (freeStart())));
}
/*	Floating-point jumps are a little weird on some processors. Defer to 
	the backEnd to allow it to generate any special code it may need to. */
/* Cogit>>#JumpFPEqual: */
static AbstractInstruction * NoDbgRegParms
gJumpFPEqual(void *_jumpTarget)
{
	AbstractInstruction *_jumpToTarget;
	AbstractInstruction *_jumpUnordered;

	/* begin genJumpFPEqual: */
	_jumpUnordered = gen(JumpFPUnordered);
	_jumpToTarget = genoperand(JumpFPEqual, ((sqInt) _jumpTarget ));
	jmpTarget(_jumpUnordered, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return _jumpToTarget;
	/* end genJumpFPEqual: */
}
/*	Floating-point jumps are a little weird on some processors. Defer to 
	the backEnd to allow it to generate any special code it may need to. */
/* Cogit>>#JumpFPGreaterOrEqual: */
static AbstractInstruction * NoDbgRegParms
gJumpFPGreaterOrEqual(void *_jumpTarget)
{
	/* begin genJumpFPGreaterOrEqual: */
	return genConditionalBranchoperand(JumpFPGreaterOrEqual, ((sqInt) _jumpTarget ));
	/* end genJumpFPGreaterOrEqual: */
}
/*	Floating-point jumps are a little weird on some processors. Defer to 
	the backEnd to allow it to generate any special code it may need to. */
/* Cogit>>#JumpFPGreater: */
static AbstractInstruction * NoDbgRegParms
gJumpFPGreater(void *_jumpTarget)
{
	/* begin genJumpFPGreater: */
	return genConditionalBranchoperand(JumpFPGreater, ((sqInt) _jumpTarget ));
	/* end genJumpFPGreater: */
}
/*	Floating-point jumps are a little weird on some processors. Defer to 
	the backEnd to allow it to generate any special code it may need to. */
/* Cogit>>#JumpFPNotEqual: */
static AbstractInstruction * NoDbgRegParms
gJumpFPNotEqual(void *_jumpTarget)
{
	AbstractInstruction *_jumpToTarget;
	AbstractInstruction *_jumpUnordered;

	/* begin genJumpFPNotEqual: */
	_jumpToTarget = genoperand(JumpFPNotEqual, ((sqInt) _jumpTarget ));
	_jumpUnordered = genoperand(JumpFPUnordered, ((sqInt) _jumpTarget ));
	addDependent(_jumpToTarget, _jumpUnordered);
	return _jumpToTarget;
	/* end genJumpFPNotEqual: */
}
/* Cogit>>#Ld1S:Vr:R:Mw: */
static AbstractInstruction * NoDbgRegParms
gLd1SVrRMw(sqInt _aSize, sqInt _aVectorRegister, sqInt _aMemoryRegister, sqInt _anOffset)
{
	return genoperandoperandoperandoperand(Ld1VrRMw, _aSize, _aVectorRegister, _aMemoryRegister, _anOffset);
}
/* Cogit>>#LogicalShiftLeftCq:R: */
static AbstractInstruction * NoDbgRegParms
gLogicalShiftLeftCqR(sqInt _quickConstant, sqInt _reg)
{
	return genoperandoperand(LogicalShiftLeftCqR, _quickConstant, _reg);
}
/* Cogit>>#lastOpcode */
static AbstractInstruction *
lastOpcode(void)
{
	assert(opcodeIndex > 0);
	return abstractInstructionAt(opcodeIndex - 1);
}
/* Cogit>>#linkSendAt:in:to:offset:receiver: */
void
linkSendAtintooffsetreceiver(sqInt _callSiteReturnAddress, CogMethod *sendingMethod, CogMethod *_targetMethod, sqInt _theEntryOffset, sqInt _receiver)
{
	sqInt _address;
	sqInt _extent;
	sqInt _inlineCacheTag;

	assert((_theEntryOffset == cmEntryOffset) || (_theEntryOffset == cmNoCheckEntryOffset));
	assert((_callSiteReturnAddress >= methodZoneBase) && (_callSiteReturnAddress <= (freeStart())));
	_inlineCacheTag = ((_theEntryOffset == cmNoCheckEntryOffset)
		 ? (_targetMethod->selector)
		 : inlineCacheTagForInstance(_receiver));
	_address = ((sqInt) _targetMethod ) + _theEntryOffset;
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		_extent = rewriteInlineCacheAttagtarget(backEnd, _callSiteReturnAddress, _inlineCacheTag, _address);
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		flushICacheFromto(((usqInt) _callSiteReturnAddress ) - _extent, ((usqInt) _callSiteReturnAddress ));
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
}
/* Cogit>>#loadBytesAndGetDescriptor */
static BytecodeDescriptor *
loadBytesAndGetDescriptor(void)
{
	BytecodeDescriptor *_descriptor;

	byte0 = fetchByteofObject(bytecodePC, methodObj);
	_descriptor = generatorAt(byte0);
	loadSubsequentBytesForDescriptorat(_descriptor, bytecodePC);
	return _descriptor;
}
/* Cogit>>#loadSubsequentBytesForDescriptor:at: */
static void NoDbgRegParms
loadSubsequentBytesForDescriptorat(BytecodeDescriptor *_descriptor, sqInt _pc)
{
	if (((_descriptor->numBytes)) > 1) {
		byte1 = fetchByteofObject(_pc + 1, methodObj);
		if (((_descriptor->numBytes)) > 2) {
			byte2 = fetchByteofObject(_pc + 2, methodObj);
			if (((_descriptor->numBytes)) > 3) {
				byte3 = fetchByteofObject(_pc + 3, methodObj);
				if (((_descriptor->numBytes)) > 4) {
					/* begin notYetImplemented */
					/* begin notYetImplemented: */
					{
						logError("Not Yet Implemented!");
						abort();
					}
					/* end notYetImplemented: */
					/* end notYetImplemented */
				}
			}
		}
	}
}
/* Cogit>>#MoveAw:R: */
static AbstractInstruction * NoDbgRegParms
gMoveAwR(sqInt _address, sqInt _reg)
{
	AbstractInstruction *_anInstruction;

	/* begin checkLiteral:forInstruction: */
	_anInstruction = genoperandoperand(MoveAwR, _address, _reg);
	return _anInstruction;
	/* end checkLiteral:forInstruction: */
}
/* Cogit>>#MoveCw:R: */
static AbstractInstruction * NoDbgRegParms
gMoveCwR(sqInt _wordConstant, sqInt _reg)
{
	AbstractInstruction *_anInstruction;

	/* begin checkLiteral:forInstruction: */
	_anInstruction = genoperandoperand(MoveCwR, _wordConstant, _reg);
	return _anInstruction;
	/* end checkLiteral:forInstruction: */
}
/*	Unlinking/GC/Disassembly support */
/* Cogit>>#mapFor:performUntil:arg: */
static sqInt NoDbgRegParms
mapForperformUntilarg(CogMethod *_cogMethod, sqInt (*_functionSymbol)(sqInt annotation, char *mcpc, sqInt arg), sqInt _arg)
{
	sqInt _annotation;
	usqInt _map;
	sqInt _mapByte;
	sqInt _mcpc;
	sqInt _result;

	/* begin firstMappedPCFor: */
	_mcpc = (((_cogMethod->cpicHasMNUCaseOrCMIsFullBlock))
		 ? ((usqInt) _cogMethod ) + cbNoSwitchEntryOffset
		 : ((usqInt) _cogMethod ) + cmNoCheckEntryOffset);
	/* end firstMappedPCFor: */
	_map = (((usqInt) _cogMethod ) + ((_cogMethod->blockSize))) - 1;
	{
		enumeratingCogMethod = _cogMethod;
	}
	while (((_mapByte = byteAt(_map))) != MapEnd) {
		if (_mapByte >= FirstAnnotation) {
			_mcpc += _mapByte & DisplacementMask;
			if ((((_annotation = ((usqInt) _mapByte ) >> AnnotationShift)) == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
				_annotation += _mapByte & DisplacementMask;
				_map -= 1;
			}
			_result = _functionSymbol(_annotation, ((char *) _mcpc ), _arg);
			if (_result != 0) {
				return _result;
			}
		} else {
			if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
				_mcpc += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
			}
		}
		_map -= 1;
	}
	return 0;
}
/*	Remap all object references in the closed PIC. Answer if any references 
	are young. 
	Set codeModified if any modifications are made. */
/* Cogit>>#mapObjectReferencesInClosedPIC: */
static sqInt NoDbgRegParms
mapObjectReferencesInClosedPIC(CogMethod *_cPIC)
{
	sqInt _i;
	sqInt _pc;
	sqInt _refersToYoung;

	_pc = addressOfEndOfCaseinCPIC(1, _cPIC);
	_refersToYoung = remapMaybeObjRefInClosedPICAt(_pc - (jumpLongByteSize(backEnd)));
	_pc = addressOfEndOfCaseinCPIC((_cPIC->cPICNumCases), _cPIC);
	for (_i = 2; _i <= ((_cPIC->cPICNumCases)); _i += 1) {
		if (remapMaybeObjRefInClosedPICAt((_pc - (jumpLongConditionalByteSize(backEnd))) - (cmpC32RTempByteSize(backEnd)))) {
			_refersToYoung = 1;
		}
		_pc += cPICCaseSize;
	}
	return _refersToYoung;
}
/*	Update all references to objects in the generated runtime. */
/* Cogit>>#mapObjectReferencesInGeneratedRuntime */
static void
mapObjectReferencesInGeneratedRuntime(void)
{
	sqInt _i;
	sqInt _literal;
	sqInt _mappedLiteral;
	usqInt _mcpc;

	for (_i = 0; _i < runtimeObjectRefIndex; _i += 1) {
		_mcpc = objectReferencesInRuntime[_i];
		_literal = literalBeforeFollowingAddress(backEnd, _mcpc);
		_mappedLiteral = remapObject(_literal);
		if (_mappedLiteral != _literal) {
			storeLiteralbeforeFollowingAddress(backEnd, _mappedLiteral, _mcpc);
			codeModified = 1;
		}
	}
}
/*	Update all references to objects in machine code for a become. 
	Unlike incrementalGC or fullGC a method that does not refer to young may 
	refer to young as a result of the become operation. Unlike incrementalGC 
	or fullGC the reference from a Cog method to its methodObject *must not* 
	change since the two are two halves of the same object. */
/* Cogit>>#mapObjectReferencesInMachineCodeForBecome */
static void
mapObjectReferencesInMachineCodeForBecome(void)
{
	sqInt _annotation;
	CogMethod *_cogMethod;
	int _freedPIC;
	sqInt _hasYoungObj;
	sqInt _hasYoungObjPtr;
	usqInt _map;
	sqInt _mapByte;
	sqInt _mcpc;
	sqInt _remappedMethod;
	sqInt _result;
	sqInt _val;

	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	_val = 0;
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		_hasYoungObj = 0;
		_hasYoungObjPtr = ((sqInt) &_hasYoungObj );
		codeModified = (_freedPIC = 0);
		mapObjectReferencesInGeneratedRuntime();
		_cogMethod = ((CogMethod *) methodZoneBase );
		while (_cogMethod < (limitZony())) {
			assert(!_hasYoungObj);
			if (((_cogMethod->cmType)) != CMFree) {
				assert((cogMethodDoesntLookKosher(_cogMethod)) == 0);
				(_cogMethod->selector = remapOop((_cogMethod->selector)));
				if (((_cogMethod->cmType)) == CMPolymorphicIC) {
					if ((isYoung((_cogMethod->selector))) || (mapObjectReferencesInClosedPIC(_cogMethod))) {
						_freedPIC = 1;
						freeMethod(_cogMethod);
					}
				} else {
					if (isYoung((_cogMethod->selector))) {
						_hasYoungObj = 1;
					}
					if (((_cogMethod->cmType)) == CMMethod) {
						assert(((_cogMethod->objectHeader)) == (nullHeaderForMachineCodeMethod()));
						_remappedMethod = remapOop((_cogMethod->methodObject));
						if (_remappedMethod != ((_cogMethod->methodObject))) {
							if (methodHasCogMethod(_remappedMethod)) {
								error("attempt to become two cogged methods");
							}
							if (!(withoutForwardingOnandwithsendToCogit((_cogMethod->methodObject), _remappedMethod, (_cogMethod->cmUsesPenultimateLit), methodhasSameCodeAscheckPenultimate))) {
								error("attempt to become cogged method into different method");
							}
							if ((rawHeaderOf((_cogMethod->methodObject))) == ((sqInt) _cogMethod )) {
								rawHeaderOfput((_cogMethod->methodObject), (_cogMethod->methodHeader));
								{
									(_cogMethod->methodHeader = rawHeaderOf(_remappedMethod));
									(_cogMethod->methodObject = _remappedMethod);
								}
								rawHeaderOfput(_remappedMethod, ((sqInt) _cogMethod ));
							} else {
								assert((noAssertMethodClassAssociationOf((_cogMethod->methodObject))) == (nilObject()));
								{
									(_cogMethod->methodHeader = rawHeaderOf(_remappedMethod));
									(_cogMethod->methodObject = _remappedMethod);
								}
							}
						}
						if (isYoung((_cogMethod->methodObject))) {
							_hasYoungObj = 1;
						}
					}
					/* begin mapFor:performUntil:arg: */
					/* begin firstMappedPCFor: */
					_mcpc = (((_cogMethod->cpicHasMNUCaseOrCMIsFullBlock))
						 ? ((usqInt) _cogMethod ) + cbNoSwitchEntryOffset
						 : ((usqInt) _cogMethod ) + cmNoCheckEntryOffset);
					/* end firstMappedPCFor: */
					_map = (((usqInt) _cogMethod ) + ((_cogMethod->blockSize))) - 1;
					{
						enumeratingCogMethod = _cogMethod;
					}
					while (((_mapByte = byteAt(_map))) != MapEnd) {
						if (_mapByte >= FirstAnnotation) {
							_mcpc += _mapByte & DisplacementMask;
							if ((((_annotation = ((usqInt) _mapByte ) >> AnnotationShift)) == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
								_annotation += _mapByte & DisplacementMask;
								_map -= 1;
							}
							_result = remapIfObjectRefpchasYoung(_annotation, ((char *) _mcpc ), _hasYoungObjPtr);
							if (_result != 0) {
								goto l4;
							}
						} else {
							if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
								_mcpc += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
							}
						}
						_map -= 1;
					}
					l4:
					;
					/* end mapFor:performUntil:arg: */
					if (_hasYoungObj) {
						ensureInYoungReferrers(_cogMethod);
						_hasYoungObj = 0;
					} else {
						(_cogMethod->cmRefersToYoung = 0);
					}
				}
			}
			_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		}
		pruneYoungReferrers();
		if (_freedPIC) {
			unlinkSendsToFree();
		}
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		if (codeModified) {
			flushICacheFromto(((usqInt) codeBase ), ((usqInt) (limitZony()) ));
		}
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
}
/*	Update all references to objects in machine code for a full gc. Since 
	the current (New)ObjectMemory GC makes everything old in a full GC 
	a method not referring to young will not refer to young afterwards */
/* Cogit>>#mapObjectReferencesInMachineCodeForFullGC */
static void
mapObjectReferencesInMachineCodeForFullGC(void)
{
	sqInt _annotation;
	CogMethod *_cogMethod;
	usqInt _map;
	sqInt _mapByte;
	sqInt _mcpc;
	sqInt _result;

	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		codeModified = 0;
		mapObjectReferencesInGeneratedRuntime();
		_cogMethod = ((CogMethod *) methodZoneBase );
		while (_cogMethod < (limitZony())) {
			if (((_cogMethod->cmType)) != CMFree) {
				assert((cogMethodDoesntLookKosher(_cogMethod)) == 0);
				(_cogMethod->selector = remapOop((_cogMethod->selector)));
				if (((_cogMethod->cmType)) == CMPolymorphicIC) {
					assert(!((_cogMethod->cmRefersToYoung)));
					mapObjectReferencesInClosedPIC(_cogMethod);
				} else {
					if (((_cogMethod->cmType)) == CMMethod) {
						assert(((_cogMethod->objectHeader)) == (nullHeaderForMachineCodeMethod()));
						(_cogMethod->methodObject = remapOop((_cogMethod->methodObject)));
					}
					/* begin mapFor:performUntil:arg: */
					/* begin firstMappedPCFor: */
					_mcpc = (((_cogMethod->cpicHasMNUCaseOrCMIsFullBlock))
						 ? ((usqInt) _cogMethod ) + cbNoSwitchEntryOffset
						 : ((usqInt) _cogMethod ) + cmNoCheckEntryOffset);
					/* end firstMappedPCFor: */
					_map = (((usqInt) _cogMethod ) + ((_cogMethod->blockSize))) - 1;
					{
						enumeratingCogMethod = _cogMethod;
					}
					while (((_mapByte = byteAt(_map))) != MapEnd) {
						if (_mapByte >= FirstAnnotation) {
							_mcpc += _mapByte & DisplacementMask;
							if ((((_annotation = ((usqInt) _mapByte ) >> AnnotationShift)) == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
								_annotation += _mapByte & DisplacementMask;
								_map -= 1;
							}
							_result = remapIfObjectRefpchasYoung(_annotation, ((char *) _mcpc ), 0);
							if (_result != 0) {
								goto l4;
							}
						} else {
							if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
								_mcpc += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
							}
						}
						_map -= 1;
					}
					l4:
					;
					/* end mapFor:performUntil:arg: */
				}
			}
			_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		}
		pruneYoungReferrers();
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		if (codeModified) {
			flushICacheFromto(((usqInt) codeBase ), ((usqInt) (limitZony()) ));
		}
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
}
/*	Update all references to objects in machine code for either a Spur 
	scavenging gc 
	or a Squeak V3 incremental GC. Avoid scanning all code by using the 
	youngReferrers list. In a young gc a method referring to young may no 
	longer refer to young, but a 
	method not referring to young cannot and will not refer to young 
	afterwards.  */
/* Cogit>>#mapObjectReferencesInMachineCodeForYoungGC */
static void
mapObjectReferencesInMachineCodeForYoungGC(void)
{
	sqInt _annotation;
	CogMethod *_cogMethod;
	sqInt _hasYoungObj;
	sqInt _hasYoungObjPtr;
	usqInt _map;
	sqInt _mapByte;
	sqInt _mcpc;
	usqInt _pointer;
	sqInt _result;
	sqInt _val;

	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	_val = 0;
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		_hasYoungObj = 0;
		_hasYoungObjPtr = ((sqInt) &_hasYoungObj );
		codeModified = 0;
		_pointer = youngReferrers();
		while (_pointer < limitAddress) {
			assert(!_hasYoungObj);
			_cogMethod = ((CogMethod *) (longAt(_pointer)) );
			if (((_cogMethod->cmType)) == CMFree) {
				assert(!((_cogMethod->cmRefersToYoung)));
			} else {
				assert((cogMethodDoesntLookKosher(_cogMethod)) == 0);
				if ((_cogMethod->cmRefersToYoung)) {
					assert((((_cogMethod->cmType)) == CMMethod) || (((_cogMethod->cmType)) == CMMegamorphicIC));
					(_cogMethod->selector = remapOop((_cogMethod->selector)));
					if (isYoung((_cogMethod->selector))) {
						_hasYoungObj = 1;
					}
					if (((_cogMethod->cmType)) == CMMethod) {
						assert(((_cogMethod->objectHeader)) == (nullHeaderForMachineCodeMethod()));
						(_cogMethod->methodObject = remapOop((_cogMethod->methodObject)));
						if (isYoung((_cogMethod->methodObject))) {
							_hasYoungObj = 1;
						}
					}
					/* begin mapFor:performUntil:arg: */
					/* begin firstMappedPCFor: */
					_mcpc = (((_cogMethod->cpicHasMNUCaseOrCMIsFullBlock))
						 ? ((usqInt) _cogMethod ) + cbNoSwitchEntryOffset
						 : ((usqInt) _cogMethod ) + cmNoCheckEntryOffset);
					/* end firstMappedPCFor: */
					_map = (((usqInt) _cogMethod ) + ((_cogMethod->blockSize))) - 1;
					{
						enumeratingCogMethod = _cogMethod;
					}
					while (((_mapByte = byteAt(_map))) != MapEnd) {
						if (_mapByte >= FirstAnnotation) {
							_mcpc += _mapByte & DisplacementMask;
							if ((((_annotation = ((usqInt) _mapByte ) >> AnnotationShift)) == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
								_annotation += _mapByte & DisplacementMask;
								_map -= 1;
							}
							_result = remapIfObjectRefpchasYoung(_annotation, ((char *) _mcpc ), _hasYoungObjPtr);
							if (_result != 0) {
								goto l4;
							}
						} else {
							if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
								_mcpc += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
							}
						}
						_map -= 1;
					}
					l4:
					;
					/* end mapFor:performUntil:arg: */
					if (_hasYoungObj) {
						_hasYoungObj = 0;
					} else {
						(_cogMethod->cmRefersToYoung = 0);
					}
				}
			}
			_pointer += BytesPerWord;
		}
		pruneYoungReferrers();
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		if (codeModified) {
			flushICacheFromto(((usqInt) codeBase ), ((usqInt) (limitZony()) ));
		}
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
}
/*	Update all references to objects in machine code. */
/* Cogit>>#mapObjectReferencesInMachineCode: */
void
mapObjectReferencesInMachineCode(sqInt _gcMode)
{
	switch (_gcMode) {
		case GCModeNewSpace:
		{
			mapObjectReferencesInMachineCodeForYoungGC();
		}
		break;
		case GCModeFull:
		{
			mapObjectReferencesInMachineCodeForFullGC();
		}
		break;
		case GCModeBecome:
		{
			mapObjectReferencesInMachineCodeForBecome();
		}
		break;
		default:
		error("Case not found and no otherwise clause");
	}
	if (!(asserta((freeStart()) <= (youngReferrers())))) {
		error("youngReferrers list overflowed");
	}
}
/*	Mark objects in machine-code of marked methods (or open PICs with marked 
	selectors).  */
/* Cogit>>#markAndTraceMachineCodeOfMarkedMethods */
void
markAndTraceMachineCodeOfMarkedMethods(void)
{
	sqInt _annotation;
	sqInt _annotation2;
	CogMethod *_cogMethod;
	usqInt _map;
	usqInt _map2;
	sqInt _mapByte;
	sqInt _mapByte2;
	sqInt _mcpc;
	sqInt _mcpc2;
	sqInt _result;
	sqInt _result2;
	sqInt _val;
	sqInt _val2;

	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	_val = 0;
	_val2 = 0;
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		if (leakCheckFullGC()) {
			assert(allMachineCodeObjectReferencesValid());
		}
		codeModified = 0;
		markAndTraceObjectReferencesInGeneratedRuntime();
		_cogMethod = ((CogMethod *) methodZoneBase );
		while (_cogMethod < (limitZony())) {
			if ((((_cogMethod->cmType)) == CMMethod) && (isMarkedOrPermanent((_cogMethod->methodObject)))) {
				/* begin markAndTraceLiteralsIn: */
				assert(((((_cogMethod->cmType)) == CMMethod) && (isMarkedOrPermanent((_cogMethod->methodObject)))) || ((((_cogMethod->cmType)) == CMMegamorphicIC) && ((isImmediate((_cogMethod->selector))) || (isMarkedOrPermanent((_cogMethod->selector))))));
				markAndTraceLiteralinat((_cogMethod->selector), _cogMethod, &((_cogMethod->selector)));
				maybeMarkCountersIn(_cogMethod);
				/* begin mapFor:performUntil:arg: */
				/* begin firstMappedPCFor: */
				_mcpc = (((_cogMethod->cpicHasMNUCaseOrCMIsFullBlock))
					 ? ((usqInt) _cogMethod ) + cbNoSwitchEntryOffset
					 : ((usqInt) _cogMethod ) + cmNoCheckEntryOffset);
				/* end firstMappedPCFor: */
				_map = (((usqInt) _cogMethod ) + ((_cogMethod->blockSize))) - 1;
				{
					enumeratingCogMethod = _cogMethod;
				}
				while (((_mapByte = byteAt(_map))) != MapEnd) {
					if (_mapByte >= FirstAnnotation) {
						_mcpc += _mapByte & DisplacementMask;
						if ((((_annotation = ((usqInt) _mapByte ) >> AnnotationShift)) == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
							_annotation += _mapByte & DisplacementMask;
							_map -= 1;
						}
						_result = markLiteralspcmethod(_annotation, ((char *) _mcpc ), ((sqInt) _cogMethod ));
						if (_result != 0) {
							goto l6;
						}
					} else {
						if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
							_mcpc += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
						}
					}
					_map -= 1;
				}
				l6:
				;
				/* end mapFor:performUntil:arg: */
				/* end markAndTraceLiteralsIn: */
			}
			if ((((_cogMethod->cmType)) == CMMegamorphicIC) && ((isImmediate((_cogMethod->selector))) || (isMarkedOrPermanent((_cogMethod->selector))))) {
				/* begin markAndTraceLiteralsIn: */
				assert(((((_cogMethod->cmType)) == CMMethod) && (isMarkedOrPermanent((_cogMethod->methodObject)))) || ((((_cogMethod->cmType)) == CMMegamorphicIC) && ((isImmediate((_cogMethod->selector))) || (isMarkedOrPermanent((_cogMethod->selector))))));
				markAndTraceLiteralinat((_cogMethod->selector), _cogMethod, &((_cogMethod->selector)));
				maybeMarkCountersIn(_cogMethod);
				/* begin mapFor:performUntil:arg: */
				/* begin firstMappedPCFor: */
				_mcpc2 = (((_cogMethod->cpicHasMNUCaseOrCMIsFullBlock))
					 ? ((usqInt) _cogMethod ) + cbNoSwitchEntryOffset
					 : ((usqInt) _cogMethod ) + cmNoCheckEntryOffset);
				/* end firstMappedPCFor: */
				_map2 = (((usqInt) _cogMethod ) + ((_cogMethod->blockSize))) - 1;
				{
					enumeratingCogMethod = _cogMethod;
				}
				while (((_mapByte2 = byteAt(_map2))) != MapEnd) {
					if (_mapByte2 >= FirstAnnotation) {
						_mcpc2 += _mapByte2 & DisplacementMask;
						if ((((_annotation2 = ((usqInt) _mapByte2 ) >> AnnotationShift)) == IsSendCall) && ((((usqInt) ((_mapByte2 = byteAt(_map2 - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
							_annotation2 += _mapByte2 & DisplacementMask;
							_map2 -= 1;
						}
						_result2 = markLiteralspcmethod(_annotation2, ((char *) _mcpc2 ), ((sqInt) _cogMethod ));
						if (_result2 != 0) {
							goto l7;
						}
					} else {
						if (_mapByte2 < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
							_mcpc2 += ((sqInt) (((usqInt) (_mapByte2 - DisplacementX2N) ) << AnnotationShift) );
						}
					}
					_map2 -= 1;
				}
				l7:
				;
				/* end mapFor:performUntil:arg: */
				/* end markAndTraceLiteralsIn: */
			}
			_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		}
		if (leakCheckFullGC()) {
			assert(allMachineCodeObjectReferencesValid());
		}
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		if (codeModified) {
			flushICacheFromto(((usqInt) codeBase ), ((usqInt) (limitZony()) ));
		}
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
}
/*	Mark and trace any object references in the generated run-time. */
/* Cogit>>#markAndTraceObjectReferencesInGeneratedRuntime */
static void
markAndTraceObjectReferencesInGeneratedRuntime(void)
{
	sqInt _i;
	sqInt _literal;
	usqInt _mcpc;

	for (_i = 0; _i < runtimeObjectRefIndex; _i += 1) {
		_mcpc = objectReferencesInRuntime[_i];
		_literal = literalBeforeFollowingAddress(backEnd, _mcpc);
		markAndTraceLiteralinatpc(_literal, ((CogMethod *) null ), ((usqInt) _mcpc ));
	}
}
/*	Mark and trace objects in the argument and free if it is appropriate. 
	Answer if the method has been freed. firstVisit is a hint used to avoid 
	scanning methods we've already seen. False positives are fine. 
	For a CMMethod this 
	frees if the bytecode method isnt marked, 
	marks and traces object literals and selectors, 
	unlinks sends to targets that should be freed. 
	For a CMClosedPIC this 
	frees if it refers to anything that should be freed or isn't marked. 
	For a CMOpenPIC this 
	frees if the selector isn't marked.this recurses at most one level down */
/* Cogit>>#markAndTraceOrFreeCogMethod:firstVisit: */
static sqInt NoDbgRegParms
markAndTraceOrFreeCogMethodfirstVisit(CogMethod *_cogMethod, sqInt _firstVisit)
{
	sqInt _annotation;
	usqInt _map;
	sqInt _mapByte;
	sqInt _mcpc;
	sqInt _result;
	sqInt _val;

	_val = 0;
	if (((_cogMethod->cmType)) == CMFree) {
		return 1;
	}
	assert((cogMethodDoesntLookKosher(_cogMethod)) == 0);
	if (((_cogMethod->cmType)) == CMMethod) {
		if (!(isMarkedOrPermanent((_cogMethod->methodObject)))) {
			freeMethod(_cogMethod);
			return 1;
		}
		if (_firstVisit) {
			/* begin markLiteralsAndUnlinkUnmarkedSendsIn: */
			assert(((_cogMethod->cmType)) == CMMethod);
			assert(isMarkedOrPermanent((_cogMethod->methodObject)));
			markAndTraceLiteralinat((_cogMethod->selector), _cogMethod, &((_cogMethod->selector)));
			maybeMarkCountersIn(_cogMethod);
			/* begin mapFor:performUntil:arg: */
			/* begin firstMappedPCFor: */
			_mcpc = (((_cogMethod->cpicHasMNUCaseOrCMIsFullBlock))
				 ? ((usqInt) _cogMethod ) + cbNoSwitchEntryOffset
				 : ((usqInt) _cogMethod ) + cmNoCheckEntryOffset);
			/* end firstMappedPCFor: */
			_map = (((usqInt) _cogMethod ) + ((_cogMethod->blockSize))) - 1;
			{
				enumeratingCogMethod = _cogMethod;
			}
			while (((_mapByte = byteAt(_map))) != MapEnd) {
				if (_mapByte >= FirstAnnotation) {
					_mcpc += _mapByte & DisplacementMask;
					if ((((_annotation = ((usqInt) _mapByte ) >> AnnotationShift)) == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
						_annotation += _mapByte & DisplacementMask;
						_map -= 1;
					}
					_result = markLiteralsAndUnlinkIfUnmarkedSendpcmethod(_annotation, ((char *) _mcpc ), ((sqInt) _cogMethod ));
					if (_result != 0) {
						goto l3;
					}
				} else {
					if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
						_mcpc += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
					}
				}
				_map -= 1;
			}
			l3:
			;
			/* end mapFor:performUntil:arg: */
			/* end markLiteralsAndUnlinkUnmarkedSendsIn: */
		}
		return 0;
	}
	if (((_cogMethod->cmType)) == CMPolymorphicIC) {
		if (!(closedPICRefersToUnmarkedObject(_cogMethod))) {
			return 0;
		}
		freeMethod(_cogMethod);
		return 1;
	}
	if (((_cogMethod->cmType)) == CMMegamorphicIC) {
		if (isMarkedOrPermanent((_cogMethod->selector))) {
			return 0;
		}
		freeMethod(_cogMethod);
		return 1;
	}
	assert((((_cogMethod->cmType)) == CMMethod) || ((((_cogMethod->cmType)) == CMPolymorphicIC) || (((_cogMethod->cmType)) == CMMegamorphicIC)));
	return 0;
}
/*	If entryPoint is that of some method, then mark and trace objects in it 
	and free if it is appropriate. 
	Answer if the method has been freed. */
/* Cogit>>#markAndTraceOrFreePICTarget:in: */
static sqInt NoDbgRegParms
markAndTraceOrFreePICTargetin(sqInt _entryPoint, CogMethod *_cPIC)
{
	CogMethod *_targetMethod;

	assert((_entryPoint > methodZoneBase) && (_entryPoint < (freeStart())));
	if ((((usqInt) _cPIC ) <= ((usqInt) _entryPoint )) && ((((usqInt) _cPIC ) + ((_cPIC->blockSize))) >= ((usqInt) _entryPoint ))) {
		return 0;
	}
	_targetMethod = ((CogMethod *) (_entryPoint - cmNoCheckEntryOffset) );
	assert((((_targetMethod->cmType)) == CMMethod) || (((_targetMethod->cmType)) == CMFree));
	return markAndTraceOrFreeCogMethodfirstVisit(_targetMethod, ((usqInt) _targetMethod ) > ((usqInt) _cPIC ));
}
/*	Mark and trace literals. Unlink sends that have unmarked cache tags or 
	targets.  */
/* Cogit>>#markLiteralsAndUnlinkIfUnmarkedSend:pc:method: */
static sqInt NoDbgRegParms
markLiteralsAndUnlinkIfUnmarkedSendpcmethod(sqInt _annotation, char *_mcpc, sqInt _cogMethod)
{
	usqInt _cacheTag2;
	sqInt _cacheTagMarked;
	sqInt _entryPoint2;
	sqInt _literal;
	sqInt _offset2;
	sqInt *_sendTable2;
	sqInt _tagCouldBeObj2;
	CogMethod * _targetCogCode;
	sqInt _unlinkedRoutine;
	sqInt _val;

	_val = 0;
	if (_annotation == IsObjectReference) {
		_literal = literalBeforeFollowingAddress(backEnd, ((usqInt) _mcpc ));
		if (markAndTraceLiteralinatpc(_literal, ((CogMethod *) _cogMethod ), ((usqInt) _mcpc ))) {
			codeModified = 1;
		}
	}
	if (_annotation >= IsSendCall) {
		/* begin entryCacheTagAndCouldBeObjectAt:annotation:into: */
		_cacheTag2 = inlineCacheTagAt(backEnd, ((sqInt) _mcpc ));
		_entryPoint2 = callTargetFromReturnAddress(backEnd, ((sqInt) _mcpc ));
		_tagCouldBeObj2 = 0;
		{
			_cacheTagMarked = _tagCouldBeObj2 && (cacheTagIsMarked(_cacheTag2));
			if (_entryPoint2 > methodZoneBase) {
				/* begin targetMethodAndSendTableFor:annotation:into: */
				/* begin offsetAndSendTableFor:annotation:into: */
				if (_annotation == IsSendCall) {
					_offset2 = cmEntryOffset;
					_sendTable2 = ordinarySendTrampolines;
				} else {
					if (_annotation == IsDirectedSuperSend) {
						_offset2 = cmNoCheckEntryOffset;
						_sendTable2 = directedSuperSendTrampolines;
					} else {
						if (_annotation == IsDirectedSuperBindingSend) {
							_offset2 = cmNoCheckEntryOffset;
							_sendTable2 = directedSuperBindingSendTrampolines;
						} else {
							assert(_annotation == IsSuperSend);
							_offset2 = cmNoCheckEntryOffset;
							_sendTable2 = superSendTrampolines;
						}
					}
				}
				{
					_targetCogCode = ((CogMethod *) (_entryPoint2 - _offset2) );
					{
						if (!_cacheTagMarked || (markAndTraceOrFreeCogMethodfirstVisit(_targetCogCode, ((usqInt) _targetCogCode ) > ((usqInt) _mcpc )))) {
							/* begin unlinkSendAt:targetMethod:sendTable: */
							_unlinkedRoutine = _sendTable2[((((_targetCogCode->cmNumArgs)) < (NumSendTrampolines - 1)) ? (_targetCogCode->cmNumArgs) : NumSendTrampolines - 1)];
							rewriteInlineCacheAttagtarget(backEnd, ((sqInt) _mcpc ), inlineCacheValueForSelectorinat((_targetCogCode->selector), enumeratingCogMethod, _mcpc), _unlinkedRoutine);
							codeModified = 1;
							/* end unlinkSendAt:targetMethod:sendTable: */
							markAndTraceLiteralinat((_targetCogCode->selector), _targetCogCode, &((_targetCogCode->selector)));
						}
					}
				}
				/* end offsetAndSendTableFor:annotation:into: */
				/* end targetMethodAndSendTableFor:annotation:into: */
			} else {
			}
		}
		/* end entryCacheTagAndCouldBeObjectAt:annotation:into: */
	}
	return 0;
}
/*	Mark and trace literals. */
/* Cogit>>#markLiterals:pc:method: */
static sqInt NoDbgRegParms
markLiteralspcmethod(sqInt _annotation, char *_mcpc, sqInt _cogMethod)
{
	usqInt _cacheTag2;
	sqInt _entryPoint;
	sqInt _literal;
	sqInt _tagCouldBeObj2;

	if (_annotation == IsObjectReference) {
		_literal = literalBeforeFollowingAddress(backEnd, ((usqInt) _mcpc ));
		if (markAndTraceLiteralinatpc(_literal, ((CogMethod *) _cogMethod ), ((usqInt) _mcpc ))) {
			codeModified = 1;
		}
	}
	if (_annotation >= IsSendCall) {
		/* begin entryCacheTagAndCouldBeObjectAt:annotation:into: */
		_cacheTag2 = inlineCacheTagAt(backEnd, ((sqInt) _mcpc ));
		_entryPoint = callTargetFromReturnAddress(backEnd, ((sqInt) _mcpc ));
		_tagCouldBeObj2 = 0;
		{
			if (_tagCouldBeObj2) {
			}
		}
		/* end entryCacheTagAndCouldBeObjectAt:annotation:into: */
	}
	return 0;
}
/* Cogit>>#markMethodAndReferents: */
void
markMethodAndReferents(CogMethod *_aCogMethod)
{
	sqInt _annotation;
	usqInt _map;
	sqInt _mapByte;
	sqInt _mcpc;
	sqInt _result;

	assert(((_aCogMethod->cmType)) == CMMethod);
	(_aCogMethod->cmUsageCount = CMMaxUsageCount);
	/* begin mapFor:performUntil:arg: */
	/* begin firstMappedPCFor: */
	_mcpc = (((_aCogMethod->cpicHasMNUCaseOrCMIsFullBlock))
		 ? ((usqInt) _aCogMethod ) + cbNoSwitchEntryOffset
		 : ((usqInt) _aCogMethod ) + cmNoCheckEntryOffset);
	/* end firstMappedPCFor: */
	_map = (((usqInt) _aCogMethod ) + ((_aCogMethod->blockSize))) - 1;
	{
		enumeratingCogMethod = _aCogMethod;
	}
	while (((_mapByte = byteAt(_map))) != MapEnd) {
		if (_mapByte >= FirstAnnotation) {
			_mcpc += _mapByte & DisplacementMask;
			if ((((_annotation = ((usqInt) _mapByte ) >> AnnotationShift)) == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
				_annotation += _mapByte & DisplacementMask;
				_map -= 1;
			}
			_result = incrementUsageOfTargetIfLinkedSendmcpcignored(_annotation, ((char *) _mcpc ), 0);
			if (_result != 0) {
				goto l3;
			}
		} else {
			if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
				_mcpc += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
			}
		}
		_map -= 1;
	}
	l3:
	;
	/* end mapFor:performUntil:arg: */
}
/* Cogit>>#maxCogMethodAddress */
usqInt
maxCogMethodAddress(void)
{
	return ((usqInt) (limitZony()) );
}
/*	Check that the header fields are consistent with the type. 
	Answer 0 if it is ok, otherwise answer a code for the error. */
/* Cogit>>#maybeFreeCogMethodDoesntLookKosher: */
static sqInt NoDbgRegParms
maybeFreeCogMethodDoesntLookKosher(CogMethod *_cogMethod)
{
	sqInt _result;

	_result = cogMethodDoesntLookKosher(_cogMethod);
	return ((_result == 2)
		 ? 0
		 : _result);
}
/*	In SIsta Spur counters are held on the heap in pinned objects which must 
	be marked 
	to avoid them being garbage collected. This is the hook through which that 
	happens.  */
/* Cogit>>#maybeMarkCountersIn: */
static void NoDbgRegParms
maybeMarkCountersIn(CogMethod *cogMethod)
{
}
/* Cogit>>#mclassIsSmallInteger */
static sqInt
mclassIsSmallInteger(void)
{
	return ((receiverTags & 7) == 1);
}
/*	Answer the absolute machine code pc matching the zero-relative 
	bytecode pc of a backward branch in cogMethod, given the start 
	of the bytecodes for cogMethod's method object. */
/* Cogit>>#mcPCForBackwardBranch:startBcpc:in: */
usqInt
mcPCForBackwardBranchstartBcpcin(sqInt _bcpc, sqInt _startbcpc, CogMethod *_cogMethod)
{
	sqInt _aMethodObj;
	sqInt _annotation;
	sqInt _bcpc2;
	sqInt _byte;
	BytecodeDescriptor *_descriptor;
	sqInt _distance;
	sqInt _endbcpc;
	CogMethod *_homeMethod;
	sqInt _isBackwardBranch;
	usqInt _isInBlock;
	sqInt _latestContinuation;
	usqInt _map;
	sqInt _mapByte;
	usqInt _mcpc;
	sqInt _nExts;
	sqInt _nextBcpc;
	sqInt _result;
	sqInt _targetPC;

	/* begin mapFor:bcpc:performUntil:arg: */
	assert(((_cogMethod->stackCheckOffset)) > 0);
	_mcpc = ((usqInt) _cogMethod ) + ((_cogMethod->stackCheckOffset));
	_result = ((((0 + ((sqInt) (((usqInt) HasBytecodePC ) << 1) )) & 1) && (((sqInt) ((void *) _bcpc ) ) == _startbcpc))
		 ? ((sqInt) ((char *) _mcpc ) )
		 : 0);
	if (_result != 0) {
		return _result;
	}
	_bcpc2 = _startbcpc;
	_isInBlock = (_cogMethod->cpicHasMNUCaseOrCMIsFullBlock);
	_homeMethod = ((CogMethod *) _cogMethod );
	assert(_startbcpc == (startPCOfMethodHeader((_homeMethod->methodHeader))));
	_map = (((usqInt) _homeMethod ) + ((_homeMethod->blockSize))) - 1;
	_annotation = ((usqInt) (byteAt(_map)) ) >> AnnotationShift;
	assert((_annotation == IsAbsPCReference) || ((_annotation == IsObjectReference) || ((_annotation == IsRelativeCall) || (_annotation == IsDisplacementX2N))));
	_latestContinuation = _startbcpc;
	_aMethodObj = (_homeMethod->methodObject);
	_endbcpc = (numBytesOf(_aMethodObj)) - 1;
	_bcpc2 += deltaToSkipPrimAndErrorStoreInheader(_aMethodObj, (_homeMethod->methodHeader));
	_nExts = 0;
	{
		enumeratingCogMethod = _homeMethod;
	}
	while ((((usqInt) (byteAt(_map)) ) >> AnnotationShift) != HasBytecodePC) {
		_map -= 1;
	}
	_map -= 1;
	while (((_mapByte = byteAt(_map))) != MapEnd) {
		if (_mapByte >= FirstAnnotation) {
			_annotation = ((usqInt) _mapByte ) >> AnnotationShift;
			_mcpc += _mapByte & DisplacementMask;
			if (_annotation >= HasBytecodePC) {
				if ((_annotation == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
					_annotation += _mapByte & DisplacementMask;
					_map -= 1;
				}
				while (1) {
					_byte = fetchByteofObject(_bcpc2, _aMethodObj);
					_descriptor = generatorAt(_byte);
					if (_isInBlock) {
						if (_bcpc2 >= _endbcpc) {
							return 0;
						}
					} else {
						if (((_descriptor->isReturn)) && (_bcpc2 >= _latestContinuation)) {
							return 0;
						}
						if (isBranch(_descriptor)) {
							/* begin latestContinuationPCFor:at:exts:in: */
							_distance = ((_descriptor->spanFunction))(_descriptor, _bcpc2, _nExts, _aMethodObj);
							_targetPC = (_bcpc2 + ((_descriptor->numBytes))) + (((_distance < 0) ? 0 : _distance));
							/* end latestContinuationPCFor:at:exts:in: */
							_latestContinuation = ((_latestContinuation < _targetPC) ? _targetPC : _latestContinuation);
						}
					}
					_nextBcpc = _bcpc2 + ((_descriptor->numBytes));
					if (((_descriptor->isMapped)) || (_isInBlock && ((_descriptor->isMappedInBlock)))) 
						break;
					_bcpc2 = _nextBcpc;
					_nExts = (((_descriptor->isExtension))
						 ? _nExts + 1
						 : 0);
				}
				_isBackwardBranch = (isBranch(_descriptor)) && ((assert(((_descriptor->spanFunction)) != null), (((_descriptor->spanFunction))(_descriptor, _bcpc2, _nExts, _aMethodObj)) < 0));
				_result = findBackwardBranchIsBackwardBranchMcpcBcpcMatchingBcpc(_descriptor, ((_isBackwardBranch)
					 ? ((sqInt) (((usqInt) _annotation ) << 1) ) + 1
					 : ((sqInt) (((usqInt) _annotation ) << 1) )), ((char *) _mcpc ), ((_isBackwardBranch)
					 ? _bcpc2 - (2 * _nExts)
					 : _bcpc2), ((void *) _bcpc ));
				if (_result != 0) {
					return _result;
				}
				_bcpc2 = _nextBcpc;
				_nExts = (((_descriptor->isExtension))
					 ? _nExts + 1
					 : 0);
			}
		} else {
			assert(((((usqInt) _mapByte ) >> AnnotationShift) == IsDisplacementX2N) || ((((usqInt) _mapByte ) >> AnnotationShift) == IsAnnotationExtension));
			if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
				_mcpc += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
			}
		}
		_map -= 1;
	}
	return 0;
	/* end mapFor:bcpc:performUntil:arg: */
}
/*	For the purposes of become: see if the two methods are similar, i.e. can 
	be safely becommed. 
	This is pretty strict. All literals and bytecodes must be identical. Only 
	trailer bytes and header 
	flags can differ. */
/* Cogit>>#method:hasSameCodeAs:checkPenultimate: */
static sqInt NoDbgRegParms
methodhasSameCodeAscheckPenultimate(sqInt _methodA, sqInt _methodB, sqInt _comparePenultimateLiteral)
{
	sqInt _bi;
	sqInt _endPCA;
	sqInt _headerA;
	sqInt _headerB;
	sqInt _li;
	sqInt _numLitsA;

	_headerA = methodHeaderOf(_methodA);
	_headerB = methodHeaderOf(_methodB);
	_numLitsA = literalCountOfMethodHeader(_headerA);
	_endPCA = endPCOf(_methodA);
	if (((argumentCountOfMethodHeader(_headerA)) != (argumentCountOfMethodHeader(_headerB))) || (((temporaryCountOfMethodHeader(_headerA)) != (temporaryCountOfMethodHeader(_headerB))) || (((primitiveIndexOfMethodheader(_methodA, _headerA)) != (primitiveIndexOfMethodheader(_methodB, _headerB))) || ((_numLitsA != (literalCountOfMethodHeader(_headerB))) || (_endPCA > (numBytesOf(_methodB))))))) {
		return 0;
	}
	for (_li = 1; _li < _numLitsA; _li += 1) {
		if ((fetchPointerofObject(_li, _methodA)) != (fetchPointerofObject(_li, _methodB))) {
			if ((_li < (_numLitsA - 1)) || _comparePenultimateLiteral) {
				return 0;
			}
		}
	}
	for (_bi = startPCOfMethod(_methodA); _bi <= _endPCA; _bi += 1) {
		if ((fetchByteofObject(_bi, _methodA)) != (fetchByteofObject(_bi, _methodB))) {
			return 0;
		}
	}
	return 1;
}
/* Cogit>>#minCogMethodAddress */
sqInt
minCogMethodAddress(void)
{
	return methodZoneBase;
}
/* Cogit>>#mnuOffset */
sqInt
mnuOffset(void)
{
	return missOffset;
}
/* Cogit>>#needsFrameIfImmutability: */
static sqInt NoDbgRegParms
needsFrameIfImmutability(sqInt stackDelta)
{
	return IMMUTABILITY;
}
/* Cogit>>#needsFrameIfInBlock: */
static sqInt NoDbgRegParms
needsFrameIfInBlock(sqInt stackDelta)
{
	return inBlock > 0;
}
/* Cogit>>#needsFrameNever: */
static sqInt NoDbgRegParms
needsFrameNever(sqInt stackDelta)
{
	return 0;
}
/* Cogit>>#noAssertMethodClassAssociationOf: */
static sqInt NoDbgRegParms
noAssertMethodClassAssociationOf(sqInt _methodPointer)
{
	return literalofMethod((literalCountOfMethodHeader(noAssertHeaderOf(_methodPointer))) - 1, _methodPointer);
}
/*	Check that no method is maximally marked. A maximal mark is an indication 
	the method has been scanned to increase the usage count of its referent 
	methods.  */
/* Cogit>>#noCogMethodsMaximallyMarked */
static sqInt
noCogMethodsMaximallyMarked(void)
{
	CogMethod *_cogMethod;

	_cogMethod = ((CogMethod *) methodZoneBase );
	while (_cogMethod < (limitZony())) {
		if ((((_cogMethod->cmType)) != CMFree) && (((_cogMethod->cmUsageCount)) == CMMaxUsageCount)) {
			return 0;
		}
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
	}
	return 1;
}
/*	Answer if all targets in the PIC are in-use methods. */
/* Cogit>>#noTargetsFreeInClosedPIC: */
static sqInt NoDbgRegParms
noTargetsFreeInClosedPIC(CogMethod *_cPIC)
{
	return !(cPICHasFreedTargets(_cPIC));
}
/*	Store the generated machine code, answering the last address */
/* Cogit>>#outputInstructionsAt: */
static sqInt NoDbgRegParms
outputInstructionsAt(sqInt _startAddress)
{
	sqInt _absoluteAddress;
	AbstractInstruction *_abstractInstruction;
	sqInt _i;
	sqInt _j;

	_absoluteAddress = _startAddress;
	for (_i = 0; _i < opcodeIndex; _i += 1) {
		_abstractInstruction = abstractInstructionAt(_i);
		assert(((_abstractInstruction->address)) == _absoluteAddress);
		/* begin outputMachineCodeAt: */
		for (_j = 0; _j < ((_abstractInstruction->machineCodeSize)); _j += 1) {
			byteAtput(_absoluteAddress + _j, (_abstractInstruction->machineCode)[_j]);
		}
		/* end outputMachineCodeAt: */
		_absoluteAddress += (_abstractInstruction->machineCodeSize);
	}
	return _absoluteAddress;
}
/*	Output instructions generated for one of the generated run-time routines, 
	a trampoline, etc */
/* Cogit>>#outputInstructionsForGeneratedRuntimeAt: */
static sqInt NoDbgRegParms
outputInstructionsForGeneratedRuntimeAt(sqInt _startAddress)
{
	sqInt _endAddress;
	sqInt _size;

	computeMaximumSizes();
	(methodLabel->address = _startAddress);
	_size = generateInstructionsAt(_startAddress);
	_endAddress = outputInstructionsAt(_startAddress);
	assert((_startAddress + _size) == _endAddress);
	methodZoneBase = alignUptoRoutineBoundary(_endAddress);
	stopsFromto(backEnd, _endAddress, methodZoneBase - 1);
	return _startAddress;
}
/* Cogit>>#PushCw: */
static AbstractInstruction * NoDbgRegParms
gPushCw(sqInt _wordConstant)
{
	AbstractInstruction *_anInstruction;

	/* begin checkLiteral:forInstruction: */
	_anInstruction = genoperand(PushCw, _wordConstant);
	return _anInstruction;
	/* end checkLiteral:forInstruction: */
}
/*	Code entry PIC full or miss to an instance of a young class or to a young 
	target method. 
	Attempt to patch the send site to an megamorphic PIC. 
	Answer if the attempt succeeded; in fact it will 
	 
	Only return if the attempt failed. 
	The stack looks like: 
	receiver 
	args 
	sp=>	sender return address */
/* Cogit>>#patchToMegamorphicICFor:numArgs:receiver: */
sqInt
patchToMegamorphicICFornumArgsreceiver(sqInt _selector, sqInt _numArgs, sqInt _receiver)
{
	sqInt _extent;
	CogMethod *_oPIC;
	sqInt _outerReturn;

	_outerReturn = stackTop();
	_oPIC = openPICWithSelector(_selector);
	if (!_oPIC) {
		/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
		/* begin enableCodeZoneWrite */
		if (jitCodeZoneWriteEnabled) {
			error("Code zone writing is not reentrant");
		}
		
#    if READ_ONLY_CODE_ZONE
		{
			
#      if __APPLE__
			{
				pthread_jit_write_protect_np(0);
			}
#      else /* __APPLE__ */
			{
				sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
			}
#      endif /* __APPLE__ */
		}
#    endif /* READ_ONLY_CODE_ZONE */
		jitCodeZoneWriteEnabled = 1;
		/* end enableCodeZoneWrite */
		{
			_oPIC = cogOpenPICSelectornumArgs(_selector, _numArgs);
		}
		/* begin disableCodeZoneWrite */
		
#    if READ_ONLY_CODE_ZONE
		{
			
#      if __APPLE__
			{
				pthread_jit_write_protect_np(1);
			}
#      else /* __APPLE__ */
			{
				sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
			}
#      endif /* __APPLE__ */
		}
#    endif /* READ_ONLY_CODE_ZONE */
		jitCodeZoneWriteEnabled = 0;
		/* end disableCodeZoneWrite */
		{
			if (!((((sqInt) _oPIC ) >= MaxNegativeErrorCode) && (((sqInt) _oPIC ) <= -1))) {
				flushICacheFromto(((usqInt) _oPIC ), ((usqInt) _oPIC ) + openPICSize);
			}
		}
		/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	}
	if ((((sqInt) _oPIC ) >= MaxNegativeErrorCode) && (((sqInt) _oPIC ) <= -1)) {
		if (((sqInt) _oPIC ) == InsufficientCodeSpace) {
			callForCogCompiledCodeCompaction();
		}
		return 0;
	}
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		_extent = rewriteInlineCacheAttagtarget(backEnd, _outerReturn, inlineCacheValueForSelectorinat(_selector, mframeHomeMethodExport(), _outerReturn), ((sqInt) _oPIC ) + cmEntryOffset);
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		flushICacheFromto(((usqInt) _outerReturn ) - _extent, ((usqInt) _outerReturn ));
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	executeCogMethodfromLinkedSendWithReceiver(_oPIC, _receiver);
	return (assert(0), null);
}
/*	The PIC starts with a header of meta-data followed by machine code. 
	The first thing in the machine code stream is the abort section. */
/* Cogit>>#picAbortAddress: */
static usqIntptr_t NoDbgRegParms
picAbortAddress(CogMethod *_cPIC)
{
	return ((sqInt) _cPIC ) + (sizeof(CogMethod));
}
/*	Answer the start of the abort sequence for invoking the interpreter in a 
	closed PIC. */
/* Cogit>>#picInterpretAbortOffset */
static sqInt
picInterpretAbortOffset(void)
{
	return (interpretOffset()) - (callInstructionByteSize(backEnd));
}
/* Cogit>>#printCogMethodFor: */
void
printCogMethodFor(void *_address)
{
	CogMethod *_cogMethod;

	_cogMethod = methodFor(_address);
	if (_cogMethod == 0) {
		if ((codeEntryFor(_address)) == null) {
			{
				print("not a method");
				cr();
			}
		} else {
			{
				print("trampoline ");
				print(codeEntryNameFor(_address));
				cr();
			}
		}
	} else {
		printCogMethod(_cogMethod);
	}
}
/* Cogit>>#printTrampolineTable */
void
printTrampolineTable(void)
{
	sqInt _i;

	for (_i = 0; _i < trampolineTableIndex; _i += 2) {
		{
			printHex(((sqInt) (trampolineAddresses[_i + 1]) ));
			print(": ");
			print(((char *) (trampolineAddresses[_i]) ));
			cr();
		}
	}
}
/* Cogit>>#printWhereIs: */
void
printWhereIs(void *_address)
{
	CogMethod *_cogMethod;
	sqInt _s;
	char * _trampAddr;

	_cogMethod = methodFor(_address);
	if (_cogMethod == 0) {
		_trampAddr = codeEntryFor(_address);
		if (_trampAddr == null) {
			{
				printHex(((sqInt) _address ));
				print(" not in the code zone");
				cr();
			}
		} else {
			{
				printHex(((sqInt) _address ));
				print(" in trampoline ");
				print(codeEntryNameFor(_address));
				print(" (starting at address ");
				printHexnp(_trampAddr);
				print(")");
				cr();
			}
		}
	} else {
		{
			printHex(((sqInt) _address ));
			print(" in cog method ");
		}
		if (((_cogMethod->selector)) == (nilObject())) {
			if ((((_cogMethod->cmType)) == CMMethod) && (((_s = maybeSelectorOfMethod((_cogMethod->methodObject)))) != null)) {
				{
					print("(nil: ");
					printStringOf(_s);
					print(")");
				}
			} else {
				print("(nil)");
			}
		} else {
			printStringOf((_cogMethod->selector));
		}
		{
			print(" (starting at address ");
			printHexnp(((sqInt) _cogMethod ));
			print(")");
			cr();
		}
	}
}
/* Cogit>>#processorHasDivQuoRemAndMClassIsSmallInteger */
static sqInt
processorHasDivQuoRemAndMClassIsSmallInteger(void)
{
	return mclassIsSmallInteger();
}
/* Cogit>>#processorHasMultiplyAndMClassIsSmallInteger */
static sqInt
processorHasMultiplyAndMClassIsSmallInteger(void)
{
	return mclassIsSmallInteger();
}
/* Cogit>>#recordGeneratedRunTime:address: */
static void NoDbgRegParms
recordGeneratedRunTimeaddress(char *_aString, sqInt _address)
{
	{
		trampolineAddresses[trampolineTableIndex] = _aString;
		trampolineAddresses[trampolineTableIndex + 1] = ((char *) _address );
	}
	trampolineTableIndex += 2;
}
/*	This one for C support code. */
/* Cogit>>#recordPrimTraceFunc */
sqInt
recordPrimTraceFunc(void)
{
	return recordPrimTrace();
}
/* Cogit>>#recordRunTimeObjectReferences */
static void
recordRunTimeObjectReferences(void)
{
	sqInt _i;
	AbstractInstruction *_instruction;

	for (_i = 0; _i < opcodeIndex; _i += 1) {
		_instruction = abstractInstructionAt(_i);
		if (((_instruction->annotation)) == IsObjectReference) {
			assert(runtimeObjectRefIndex < NumObjRefsInRuntime);
			assert(!hasYoungReferent);
			if (hasYoungReferent) {
				error("attempt to generate run-time routine containing young object reference.  Cannot initialize Cogit run-time.");
			}
			objectReferencesInRuntime[runtimeObjectRefIndex] = ((usqInt) (((_instruction->address)) + ((_instruction->machineCodeSize))) );
			runtimeObjectRefIndex += 1;
		}
	}
}
/* Cogit>>#registerMaskFor: */
static sqInt NoDbgRegParms
registerMaskFor(sqInt _reg)
{
	return 1ULL << _reg;
}
/* Cogit>>#registerMaskFor:and: */
static sqInt NoDbgRegParms
registerMaskForand(sqInt _reg1, sqInt _reg2)
{
	return (1ULL << _reg1) | (1ULL << _reg2);
}
/* Cogit>>#relocateCallsAndSelfReferencesInMethod: */
static void NoDbgRegParms
relocateCallsAndSelfReferencesInMethod(CogMethod *_cogMethod)
{
	sqInt _annotation;
	sqInt _callDelta;
	usqInt _map;
	sqInt _mapByte;
	sqInt _mcpc;
	sqLong _refDelta;
	sqInt _result;

	_refDelta = (_cogMethod->objectHeader);
	_callDelta = _refDelta;
	assert((((_cogMethod->cmType)) == CMMethod) || (((_cogMethod->cmType)) == CMMegamorphicIC));
	assert((callTargetFromReturnAddress(backEnd, ((sqInt) _cogMethod ) + missOffset)) == (((((_cogMethod->cmType)) == CMMethod)
		 ? methodAbortTrampolineFor((_cogMethod->cmNumArgs))
		 : picAbortTrampolineFor((_cogMethod->cmNumArgs)))));
	relocateCallBeforeReturnPCby(backEnd, ((sqInt) _cogMethod ) + missOffset, -_callDelta);
	/* begin mapFor:performUntil:arg: */
	/* begin firstMappedPCFor: */
	_mcpc = (((_cogMethod->cpicHasMNUCaseOrCMIsFullBlock))
		 ? ((usqInt) _cogMethod ) + cbNoSwitchEntryOffset
		 : ((usqInt) _cogMethod ) + cmNoCheckEntryOffset);
	/* end firstMappedPCFor: */
	_map = (((usqInt) _cogMethod ) + ((_cogMethod->blockSize))) - 1;
	{
		enumeratingCogMethod = _cogMethod;
	}
	while (((_mapByte = byteAt(_map))) != MapEnd) {
		if (_mapByte >= FirstAnnotation) {
			_mcpc += _mapByte & DisplacementMask;
			if ((((_annotation = ((usqInt) _mapByte ) >> AnnotationShift)) == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
				_annotation += _mapByte & DisplacementMask;
				_map -= 1;
			}
			_result = relocateIfCallOrMethodReferencemcpcdelta(_annotation, ((char *) _mcpc ), _refDelta);
			if (_result != 0) {
				goto l3;
			}
		} else {
			if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
				_mcpc += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
			}
		}
		_map -= 1;
	}
	l3:
	;
	/* end mapFor:performUntil:arg: */
}
/* Cogit>>#relocateCallsInClosedPIC: */
static void NoDbgRegParms
relocateCallsInClosedPIC(CogMethod *_cPIC)
{
	sqInt _callDelta;
	sqInt _entryPoint;
	sqInt _i;
	sqInt _pc;
	sqInt _pc2;
	sqLong _refDelta;
	CogMethod *_targetMethod;

	_refDelta = (_cPIC->objectHeader);
	_callDelta = _refDelta;
	assert((callTargetFromReturnAddress(backEnd, ((sqInt) _cPIC ) + missOffset)) == (picAbortTrampolineFor((_cPIC->cmNumArgs))));
	relocateCallBeforeReturnPCby(backEnd, ((sqInt) _cPIC ) + missOffset, -_callDelta);
	_pc = ((sqInt) _cPIC ) + firstCPICCaseOffset;
	for (_i = 1; _i <= ((_cPIC->cPICNumCases)); _i += 1) {
		_pc = addressOfEndOfCaseinCPIC(_i, _cPIC);
		if (_i == 1) {
			_entryPoint = jumpLongTargetBeforeFollowingAddress(backEnd, _pc);
		} else {
			/* begin jumpLongConditionalTargetBeforeFollowingAddress: */
			_entryPoint = jumpLongTargetBeforeFollowingAddress(((AbstractInstruction *) backEnd ), _pc);
			/* end jumpLongConditionalTargetBeforeFollowingAddress: */
		}
		if ((((usqInt) _cPIC ) <= ((usqInt) _entryPoint )) && ((((usqInt) _cPIC ) + ((_cPIC->blockSize))) >= ((usqInt) _entryPoint ))) {
		} else {
			_targetMethod = ((CogMethod *) (_entryPoint - cmNoCheckEntryOffset) );
			assert(((_targetMethod->cmType)) == CMMethod);
			if (_i == 1) {
				relocateJumpLongBeforeFollowingAddressby(backEnd, _pc, -(_callDelta - ((_targetMethod->objectHeader))));
			}
 else {
				relocateJumpLongConditionalBeforeFollowingAddressby(backEnd, _pc, -(_callDelta - ((_targetMethod->objectHeader))));
			}
		}
	}
	assert(((_cPIC->cPICNumCases)) > 0);
	/* begin relocateMethodReferenceBeforeAddress:by: */
	_pc2 = (addressOfEndOfCaseinCPIC(2, _cPIC)) + 7;
	assert((((byteAt(_pc2 - 6)) == 141) && (((byteAt(_pc2 - 5)) | (modRMRO(((AbstractInstruction *) backEnd ), 0, 0, 7))) == (modRMRO(((AbstractInstruction *) backEnd ), ModRegInd, 5, 7)))) || (((byteAt(_pc2 - 8)) == 141) && (((byteAt(_pc2 - 7)) | (modRMRO(((AbstractInstruction *) backEnd ), 0, 0, 7))) == (modRMRO(((AbstractInstruction *) backEnd ), ModRegInd, 5, 7)))));
	/* end relocateMethodReferenceBeforeAddress:by: */
	relocateJumpLongBeforeFollowingAddressby(backEnd, ((sqInt) _cPIC ) + cPICEndOfCodeOffset, -_callDelta);
}
/* Cogit>>#relocateIfCallOrMethodReference:mcpc:delta: */
static sqInt NoDbgRegParms
relocateIfCallOrMethodReferencemcpcdelta(sqInt _annotation, char *_mcpc, sqInt _refDelta)
{
	sqInt _callDelta;
	sqInt _entryPoint;
	sqInt _offset2;
	sqInt *_sendTable2;
	CogMethod *_targetMethod;
	sqInt _unlinkedRoutine;

	_callDelta = _refDelta;
	if (_annotation >= IsSendCall) {
		_entryPoint = callTargetFromReturnAddress(backEnd, ((sqInt) _mcpc ));
		if (_entryPoint <= methodZoneBase) {
			relocateCallBeforeReturnPCby(backEnd, ((sqInt) _mcpc ), -_callDelta);
			return 0;
		}
		/* begin offsetAndSendTableFor:annotation:into: */
		if (_annotation == IsSendCall) {
			_offset2 = cmEntryOffset;
			_sendTable2 = ordinarySendTrampolines;
		} else {
			if (_annotation == IsDirectedSuperSend) {
				_offset2 = cmNoCheckEntryOffset;
				_sendTable2 = directedSuperSendTrampolines;
			} else {
				if (_annotation == IsDirectedSuperBindingSend) {
					_offset2 = cmNoCheckEntryOffset;
					_sendTable2 = directedSuperBindingSendTrampolines;
				} else {
					assert(_annotation == IsSuperSend);
					_offset2 = cmNoCheckEntryOffset;
					_sendTable2 = superSendTrampolines;
				}
			}
		}
		{
			_targetMethod = ((CogMethod *) (_entryPoint - _offset2) );
			if (((_targetMethod->cmType)) != CMFree) {
				relocateCallBeforeReturnPCby(backEnd, ((sqInt) _mcpc ), -(_callDelta - ((_targetMethod->objectHeader))));
				return 0;
			}
			_unlinkedRoutine = _sendTable2[((((_targetMethod->cmNumArgs)) < (NumSendTrampolines - 1)) ? (_targetMethod->cmNumArgs) : NumSendTrampolines - 1)];
			rewriteInlineCacheAttagtarget(backEnd, ((sqInt) _mcpc ), indexForSelectorinat((_targetMethod->selector), enumeratingCogMethod, _mcpc), _unlinkedRoutine - _callDelta);
			return 0;
		}
		/* end offsetAndSendTableFor:annotation:into: */
	}
	if (_annotation == IsRelativeCall) {
		relocateCallBeforeReturnPCby(backEnd, ((sqInt) _mcpc ), -_callDelta);
		return 0;
	}
	if (_annotation == IsAbsPCReference) {
		{
			assert((((byteAt(((sqInt) _mcpc ) - 6)) == 141) && (((byteAt(((sqInt) _mcpc ) - 5)) | (modRMRO(backEnd, 0, 0, 7))) == (modRMRO(backEnd, ModRegInd, 5, 7)))) || (((byteAt(((sqInt) _mcpc ) - 8)) == 141) && (((byteAt(((sqInt) _mcpc ) - 7)) | (modRMRO(backEnd, 0, 0, 7))) == (modRMRO(backEnd, ModRegInd, 5, 7)))));
		}
		return 0;
	}
	return 0;
}
/* Cogit>>#remapIfObjectRef:pc:hasYoung: */
static sqInt NoDbgRegParms
remapIfObjectRefpchasYoung(sqInt _annotation, char *_mcpc, sqInt _hasYoungPtr)
{
	usqInt _cacheTag2;
	sqInt _entryPoint2;
	sqInt _literal;
	sqInt _mappedCacheTag;
	sqInt _mappedLiteral;
	sqInt _offset2;
	sqInt _tagCouldBeObj2;
	CogMethod * _targetCogCode;

	if (_annotation == IsObjectReference) {
		_literal = literalBeforeFollowingAddress(backEnd, ((usqInt) _mcpc ));
		if (couldBeObject(_literal)) {
			_mappedLiteral = remapObject(_literal);
			if (_literal != _mappedLiteral) {
				storeLiteralbeforeFollowingAddress(backEnd, _mappedLiteral, ((usqInt) _mcpc ));
				codeModified = 1;
			}
			if ((_hasYoungPtr != 0) && (isYoung(_mappedLiteral))) {
				(((sqInt *) _hasYoungPtr ))[0] = 1;
			}
		}
	}
	if (_annotation >= IsSendCall) {
		/* begin entryCacheTagAndCouldBeObjectAt:annotation:into: */
		_cacheTag2 = inlineCacheTagAt(backEnd, ((sqInt) _mcpc ));
		_entryPoint2 = callTargetFromReturnAddress(backEnd, ((sqInt) _mcpc ));
		_tagCouldBeObj2 = 0;
		{
			if (_tagCouldBeObj2 && (couldBeObject(_cacheTag2))) {
				_mappedCacheTag = remapObject(_cacheTag2);
				if (_cacheTag2 != _mappedCacheTag) {
					rewriteInlineCacheTagat(backEnd, _mappedCacheTag, ((usqInt) _mcpc ));
					codeModified = 1;
				}
				if ((_hasYoungPtr != 0) && (isYoung(_mappedCacheTag))) {
					(((sqInt *) _hasYoungPtr ))[0] = 1;
				}
			}
			if (_hasYoungPtr != 0) {
				if (_entryPoint2 > methodZoneBase) {
					/* begin targetMethodAndSendTableFor:annotation:into: */
					/* begin offsetAndSendTableFor:annotation:into: */
					if (_annotation == IsSendCall) {
						_offset2 = cmEntryOffset;
					} else {
						if (_annotation == IsDirectedSuperSend) {
							_offset2 = cmNoCheckEntryOffset;
						} else {
							if (_annotation == IsDirectedSuperBindingSend) {
								_offset2 = cmNoCheckEntryOffset;
							} else {
								assert(_annotation == IsSuperSend);
								_offset2 = cmNoCheckEntryOffset;
							}
						}
					}
					{
						_targetCogCode = ((CogMethod *) (_entryPoint2 - _offset2) );
						{
							if (isYoung((_targetCogCode->selector))) {
								(((sqInt *) _hasYoungPtr ))[0] = 1;
							}
						}
					}
					/* end offsetAndSendTableFor:annotation:into: */
					/* end targetMethodAndSendTableFor:annotation:into: */
				}
			}
		}
		/* end entryCacheTagAndCouldBeObjectAt:annotation:into: */
	}
	return 0;
}
/*	Remap a potential object reference from a closed PIC. 
	This may be an object reference, an inline cache tag or null. 
	Answer if the updated literal is young. 
	mcpc is the address of the next instruction following either 
	the load of the method literal or the compare of the class tag. */
/* Cogit>>#remapMaybeObjRefInClosedPICAt: */
static sqInt NoDbgRegParms
remapMaybeObjRefInClosedPICAt(sqInt _mcpc)
{
	sqInt _object;
	sqInt _subject;

	_object = literalBeforeFollowingAddress(backEnd, _mcpc);
	if (!(couldBeObject(_object))) {
		return 0;
	}
	_subject = remapOop(_object);
	if (_object != _subject) {
		storeLiteralbeforeFollowingAddress(backEnd, _subject, _mcpc);
		codeModified = 1;
	}
	return isYoungObject(getMemoryMap(), _subject);
}
/*	Rewrite the three values involved in a CPIC case. Used by the initialize & 
	extend CPICs. 
	c.f. expectedClosedPICPrototype:write the obj ref/operand via the second ldr */
/* Cogit>>#rewritePICCaseAt:tag:objRef:target: */
static void NoDbgRegParms
rewritePICCaseAttagobjReftarget(sqInt _followingAddress, sqInt _newTag, sqInt _newObjRef, sqInt _newTarget)
{
	sqInt _classTagPC;
	sqInt _methodObjPC;

	_methodObjPC = (_followingAddress - (jumpLongConditionalByteSize(backEnd))) - (cmpC32RTempByteSize(backEnd));
	storeLiteralbeforeFollowingAddress(backEnd, _newObjRef, _methodObjPC);
	_classTagPC = _followingAddress - (jumpLongConditionalByteSize(backEnd));
	storeLiteral32beforeFollowingAddress(backEnd, _newTag, _classTagPC);
	rewriteCallAttarget(backEnd, _followingAddress, _newTarget);
}
/* Cogit>>#St1S:Vr:R:Mw: */

#if FEATURE_JIT_SIMD
static AbstractInstruction * NoDbgRegParms
gSt1SVrRMw(sqInt _aSize, sqInt _aVectorRegister, sqInt _aMemoryRegister, sqInt _anOffset)
{
	return genoperandoperandoperandoperand(St1VrRMw, _aSize, _aVectorRegister, _aMemoryRegister, _anOffset);
}
#endif /* FEATURE_JIT_SIMD */
/*	Free the method as paremeter taking care of enabling/disabling the code 
	zone. To be used by the interpreter and by usages that are not already 
	enabling code zone writing */
/* Cogit>>#safeFreeMethod: */
void
safeFreeMethod(sqInt _cogMethod)
{
	/* begin enableCodeZoneWriteDuring: */
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		freeMethod(_cogMethod);
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	/* end enableCodeZoneWriteDuring: */
}
/*	Change a JIT'ed method's header, enabling code zone wrote. */
/* Cogit>>#setHeaderOopOf:to: */
void
setHeaderOopOfto(CogMethod *_cogMethod, sqInt _aMethodHeaderOop)
{
	assert(((_cogMethod->cmType)) == CMMethod);
	/* begin enableCodeZoneWriteDuring: */
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		(_cogMethod->methodHeader = _aMethodHeaderOop);
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	/* end enableCodeZoneWriteDuring: */
}
/* Cogit>>#setPostCompileHook: */
void
setPostCompileHook(void (*_aFunction)(CogMethod *))
{
	postCompileHook = _aFunction;
}
/*	If a method is compiled to machine code via a block entry it won't have a 
	selector. A subsequent send can find the method and hence fill in the 
	selector.  */
/* Cogit>>#setSelectorOf:to: */
void
setSelectorOfto(CogMethod *_cogMethod, sqInt _aSelectorOop)
{
	assert(((_cogMethod->cmType)) == CMMethod);
	/* begin enableCodeZoneWriteDuring: */
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		(_cogMethod->selector = _aSelectorOop);
		if (isYoung(_aSelectorOop)) {
			ensureInYoungReferrers(_cogMethod);
		}
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	/* end enableCodeZoneWriteDuring: */
}
/* Cogit>>#sizeOfTrampoline: */
int
sizeOfTrampoline(char *_address)
{
	sqInt _i;

	for (_i = 0; _i <= (trampolineTableIndex - 3); _i += 2) {
		if (_address == (trampolineAddresses[_i + 1])) {
			if (((_i + 3) > NumTrampolines) * 2) {
				return (methodZoneBase()) - ((sqInt) (trampolineAddresses[_i + 1]) );
			}
			return ((sqInt) (trampolineAddresses[_i + 3]) ) - ((sqInt) (trampolineAddresses[_i + 1]) );
		}
	}
	return 0;
}
/*	Answer a fake value for the method oop in other than the first case in the 
	PIC prototype. 
	Since we use MoveUniqueCw:R: it must not be confused with a 
	method-relative address. */
/* Cogit>>#subsequentPrototypeMethodOop */
static sqInt
subsequentPrototypeMethodOop(void)
{
	return (((((usqInt) 195929424 ) >= ((methodLabel->address))) && (((usqInt) 195929424 ) < (youngReferrers())))
		 ? 233496237
		 : 195929424);
}
/* Cogit>>#TstCq:R: */
static AbstractInstruction * NoDbgRegParms
gTstCqR(sqInt _quickConstant, sqInt _reg)
{
	AbstractInstruction *_anInstruction;

	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(TstCqR, _quickConstant, _reg);
	return _anInstruction;
	/* end checkQuickConstant:forInstruction: */
}
/* Cogit>>#traceLinkedSendOffset */
sqInt
traceLinkedSendOffset(void)
{
	return (cmNoCheckEntryOffset + (callInstructionByteSize(backEnd))) + 0;
}
/*	Encode true and false and 0 to N such that they can't be confused for 
	register numbers (including NoReg) 
	and can be tested for by isTrampolineArgConstant: and decoded by 
	trampolineArgValue:  */
/* Cogit>>#trampolineArgConstant: */
static sqInt NoDbgRegParms
trampolineArgConstant(sqInt _booleanOrInteger)
{
	assert(_booleanOrInteger >= 0);
	return -2 - _booleanOrInteger;
}
/* Cogit>>#trampolineName:numArgs: */
static char * NoDbgRegParms
trampolineNamenumArgs(char *_routinePrefix, sqInt _numArgs)
{
	char *_theString;

	/* begin trampolineName:numArgs:limit: */
	_theString = malloc((strlen(_routinePrefix)) + 6);
	sprintf(_theString, "%s%cArgs", _routinePrefix, ((((int) _numArgs ) <= (NumSendTrampolines - 2))
		 ? '0' + ((int) _numArgs )
		 : 'N'));
	return _theString;
	/* end trampolineName:numArgs:limit: */
}
/*	Malloc a string with the contents for the trampoline table */
/* Cogit>>#trampolineName:numArgs:limit: */
static char * NoDbgRegParms
trampolineNamenumArgslimit(char *_routinePrefix, int _numArgs, sqInt _argsLimit)
{
	char *_theString;

	_theString = malloc((strlen(_routinePrefix)) + 6);
	sprintf(_theString, "%s%cArgs", _routinePrefix, ((_numArgs <= _argsLimit)
		 ? '0' + _numArgs
		 : 'N'));
	return _theString;
}
/* Cogit>>#trampolineName:numRegArgs: */
static char * NoDbgRegParms
trampolineNamenumRegArgs(char *_routinePrefix, sqInt _numArgs)
{
	sqInt _argsLimit;
	char *_theString;

	/* begin trampolineName:numArgs:limit: */
	_argsLimit = 2;
	_theString = malloc((strlen(_routinePrefix)) + 6);
	sprintf(_theString, "%s%cArgs", _routinePrefix, ((((int) _numArgs ) <= _argsLimit)
		 ? '0' + ((int) _numArgs )
		 : 'N'));
	return _theString;
	/* end trampolineName:numArgs:limit: */
}
/* Cogit>>#unknownBytecode */
static sqInt
unknownBytecode(void)
{
	return EncounteredUnknownBytecode;
}
/*	Unlink all sends in cog methods. */
/* Cogit>>#unlinkAllSends */
void
unlinkAllSends(void)
{
	sqInt _annotation;
	CogMethod *_cogMethod;
	usqInt _map;
	sqInt _mapByte;
	sqInt _mcpc;
	sqInt _result;

	if (!methodZoneBase) {
		return;
	}
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		_cogMethod = ((CogMethod *) methodZoneBase );
		voidOpenPICList();
		while (_cogMethod < (limitZony())) {
			if (((_cogMethod->cmType)) == CMMethod) {
				/* begin mapFor:performUntil:arg: */
				/* begin firstMappedPCFor: */
				_mcpc = (((_cogMethod->cpicHasMNUCaseOrCMIsFullBlock))
					 ? ((usqInt) _cogMethod ) + cbNoSwitchEntryOffset
					 : ((usqInt) _cogMethod ) + cmNoCheckEntryOffset);
				/* end firstMappedPCFor: */
				_map = (((usqInt) _cogMethod ) + ((_cogMethod->blockSize))) - 1;
				{
					enumeratingCogMethod = _cogMethod;
				}
				while (((_mapByte = byteAt(_map))) != MapEnd) {
					if (_mapByte >= FirstAnnotation) {
						_mcpc += _mapByte & DisplacementMask;
						if ((((_annotation = ((usqInt) _mapByte ) >> AnnotationShift)) == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
							_annotation += _mapByte & DisplacementMask;
							_map -= 1;
						}
						_result = unlinkIfLinkedSendpcignored(_annotation, ((char *) _mcpc ), 0);
						if (_result != 0) {
							goto l4;
						}
					} else {
						if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
							_mcpc += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
						}
					}
					_map -= 1;
				}
				l4:
				;
				/* end mapFor:performUntil:arg: */
			} else {
				if (((_cogMethod->cmType)) != CMFree) {
					freeMethod(_cogMethod);
				}
			}
			_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		}
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		if (((usqInt) methodZoneBase ) < ((usqInt) (limitZony()) )) {
			flushICacheFromto(((usqInt) methodZoneBase ), ((usqInt) (limitZony()) ));
		}
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
}
/* Cogit>>#unlinkIfFreeOrLinkedSend:pc:of: */
static sqInt NoDbgRegParms
unlinkIfFreeOrLinkedSendpcof(sqInt _annotation, char *_mcpc, sqInt _theSelector)
{
	sqInt _entryPoint;
	sqInt _offset2;
	sqInt *_sendTable2;
	CogMethod * _targetCogCode;
	sqInt _unlinkedRoutine;

	if (_annotation >= IsSendCall) {
		_entryPoint = callTargetFromReturnAddress(backEnd, ((sqInt) _mcpc ));
		if (_entryPoint > methodZoneBase) {
			/* begin targetMethodAndSendTableFor:annotation:into: */
			/* begin offsetAndSendTableFor:annotation:into: */
			if (_annotation == IsSendCall) {
				_offset2 = cmEntryOffset;
				_sendTable2 = ordinarySendTrampolines;
			} else {
				if (_annotation == IsDirectedSuperSend) {
					_offset2 = cmNoCheckEntryOffset;
					_sendTable2 = directedSuperSendTrampolines;
				} else {
					if (_annotation == IsDirectedSuperBindingSend) {
						_offset2 = cmNoCheckEntryOffset;
						_sendTable2 = directedSuperBindingSendTrampolines;
					} else {
						assert(_annotation == IsSuperSend);
						_offset2 = cmNoCheckEntryOffset;
						_sendTable2 = superSendTrampolines;
					}
				}
			}
			{
				_targetCogCode = ((CogMethod *) (_entryPoint - _offset2) );
				{
					if ((((_targetCogCode->cmType)) == CMFree) || (((_targetCogCode->selector)) == _theSelector)) {
						/* begin unlinkSendAt:targetMethod:sendTable: */
						_unlinkedRoutine = _sendTable2[((((_targetCogCode->cmNumArgs)) < (NumSendTrampolines - 1)) ? (_targetCogCode->cmNumArgs) : NumSendTrampolines - 1)];
						rewriteInlineCacheAttagtarget(backEnd, ((sqInt) _mcpc ), inlineCacheValueForSelectorinat((_targetCogCode->selector), enumeratingCogMethod, _mcpc), _unlinkedRoutine);
						codeModified = 1;
						/* end unlinkSendAt:targetMethod:sendTable: */
					}
				}
			}
			/* end offsetAndSendTableFor:annotation:into: */
			/* end targetMethodAndSendTableFor:annotation:into: */
		}
	}
	return 0;
}
/* Cogit>>#unlinkIfInvalidClassSend:pc:ignored: */
static sqInt NoDbgRegParms
unlinkIfInvalidClassSendpcignored(sqInt _annotation, char *_mcpc, sqInt superfluity)
{
	sqInt _entryPoint;
	sqInt _offset2;
	sqInt *_sendTable2;
	CogMethod * _targetCogCode;
	sqInt _unlinkedRoutine;

	if (_annotation >= IsSendCall) {
		_entryPoint = callTargetFromReturnAddress(backEnd, ((sqInt) _mcpc ));
		if (_entryPoint > methodZoneBase) {
			/* begin targetMethodAndSendTableFor:annotation:into: */
			/* begin offsetAndSendTableFor:annotation:into: */
			if (_annotation == IsSendCall) {
				_offset2 = cmEntryOffset;
				_sendTable2 = ordinarySendTrampolines;
			} else {
				if (_annotation == IsDirectedSuperSend) {
					_offset2 = cmNoCheckEntryOffset;
					_sendTable2 = directedSuperSendTrampolines;
				} else {
					if (_annotation == IsDirectedSuperBindingSend) {
						_offset2 = cmNoCheckEntryOffset;
						_sendTable2 = directedSuperBindingSendTrampolines;
					} else {
						assert(_annotation == IsSuperSend);
						_offset2 = cmNoCheckEntryOffset;
						_sendTable2 = superSendTrampolines;
					}
				}
			}
			{
				_targetCogCode = ((CogMethod *) (_entryPoint - _offset2) );
				{
					if (!(((_annotation == IsSuperSend) || ((_annotation >= IsDirectedSuperSend) && (_annotation <= IsDirectedSuperBindingSend))) || (((_targetCogCode->cmType)) == CMMegamorphicIC))) {
						if (!(isValidClassTag(inlineCacheTagAt(backEnd, ((sqInt) _mcpc ))))) {
							/* begin unlinkSendAt:targetMethod:sendTable: */
							_unlinkedRoutine = _sendTable2[((((_targetCogCode->cmNumArgs)) < (NumSendTrampolines - 1)) ? (_targetCogCode->cmNumArgs) : NumSendTrampolines - 1)];
							rewriteInlineCacheAttagtarget(backEnd, ((sqInt) _mcpc ), inlineCacheValueForSelectorinat((_targetCogCode->selector), enumeratingCogMethod, _mcpc), _unlinkedRoutine);
							codeModified = 1;
							/* end unlinkSendAt:targetMethod:sendTable: */
						}
					}
				}
			}
			/* end offsetAndSendTableFor:annotation:into: */
			/* end targetMethodAndSendTableFor:annotation:into: */
		}
	}
	return 0;
}
/* Cogit>>#unlinkIfLinkedSendToFree:pc:ignored: */
static sqInt NoDbgRegParms
unlinkIfLinkedSendToFreepcignored(sqInt _annotation, char *_mcpc, sqInt superfluity)
{
	sqInt _entryPoint;
	sqInt _offset2;
	sqInt *_sendTable2;
	CogMethod * _targetCogCode;
	sqInt _unlinkedRoutine;

	if (_annotation >= IsSendCall) {
		_entryPoint = callTargetFromReturnAddress(backEnd, ((sqInt) _mcpc ));
		if (_entryPoint > methodZoneBase) {
			/* begin targetMethodAndSendTableFor:annotation:into: */
			/* begin offsetAndSendTableFor:annotation:into: */
			if (_annotation == IsSendCall) {
				_offset2 = cmEntryOffset;
				_sendTable2 = ordinarySendTrampolines;
			} else {
				if (_annotation == IsDirectedSuperSend) {
					_offset2 = cmNoCheckEntryOffset;
					_sendTable2 = directedSuperSendTrampolines;
				} else {
					if (_annotation == IsDirectedSuperBindingSend) {
						_offset2 = cmNoCheckEntryOffset;
						_sendTable2 = directedSuperBindingSendTrampolines;
					} else {
						assert(_annotation == IsSuperSend);
						_offset2 = cmNoCheckEntryOffset;
						_sendTable2 = superSendTrampolines;
					}
				}
			}
			{
				_targetCogCode = ((CogMethod *) (_entryPoint - _offset2) );
				{
					if (((_targetCogCode->cmType)) == CMFree) {
						/* begin unlinkSendAt:targetMethod:sendTable: */
						_unlinkedRoutine = _sendTable2[((((_targetCogCode->cmNumArgs)) < (NumSendTrampolines - 1)) ? (_targetCogCode->cmNumArgs) : NumSendTrampolines - 1)];
						rewriteInlineCacheAttagtarget(backEnd, ((sqInt) _mcpc ), inlineCacheValueForSelectorinat((_targetCogCode->selector), enumeratingCogMethod, _mcpc), _unlinkedRoutine);
						codeModified = 1;
						/* end unlinkSendAt:targetMethod:sendTable: */
					}
				}
			}
			/* end offsetAndSendTableFor:annotation:into: */
			/* end targetMethodAndSendTableFor:annotation:into: */
		}
	}
	return 0;
}
/* Cogit>>#unlinkIfLinkedSend:pc:ignored: */
static sqInt NoDbgRegParms
unlinkIfLinkedSendpcignored(sqInt _annotation, char *_mcpc, sqInt superfluity)
{
	sqInt _entryPoint;
	sqInt _offset2;
	sqInt *_sendTable2;
	CogMethod * _targetCogCode;
	sqInt _unlinkedRoutine;

	if (_annotation >= IsSendCall) {
		_entryPoint = callTargetFromReturnAddress(backEnd, ((sqInt) _mcpc ));
		if (_entryPoint > methodZoneBase) {
			/* begin targetMethodAndSendTableFor:annotation:into: */
			/* begin offsetAndSendTableFor:annotation:into: */
			if (_annotation == IsSendCall) {
				_offset2 = cmEntryOffset;
				_sendTable2 = ordinarySendTrampolines;
			} else {
				if (_annotation == IsDirectedSuperSend) {
					_offset2 = cmNoCheckEntryOffset;
					_sendTable2 = directedSuperSendTrampolines;
				} else {
					if (_annotation == IsDirectedSuperBindingSend) {
						_offset2 = cmNoCheckEntryOffset;
						_sendTable2 = directedSuperBindingSendTrampolines;
					} else {
						assert(_annotation == IsSuperSend);
						_offset2 = cmNoCheckEntryOffset;
						_sendTable2 = superSendTrampolines;
					}
				}
			}
			{
				_targetCogCode = ((CogMethod *) (_entryPoint - _offset2) );
				{
					/* begin unlinkSendAt:targetMethod:sendTable: */
					_unlinkedRoutine = _sendTable2[((((_targetCogCode->cmNumArgs)) < (NumSendTrampolines - 1)) ? (_targetCogCode->cmNumArgs) : NumSendTrampolines - 1)];
					rewriteInlineCacheAttagtarget(backEnd, ((sqInt) _mcpc ), inlineCacheValueForSelectorinat((_targetCogCode->selector), enumeratingCogMethod, _mcpc), _unlinkedRoutine);
					codeModified = 1;
					/* end unlinkSendAt:targetMethod:sendTable: */
				}
			}
			/* end offsetAndSendTableFor:annotation:into: */
			/* end targetMethodAndSendTableFor:annotation:into: */
		}
	}
	return 0;
}
/* Cogit>>#unlinkIfLinkedSend:pc:to: */
static sqInt NoDbgRegParms
unlinkIfLinkedSendpcto(sqInt _annotation, char *_mcpc, sqInt _theCogMethod)
{
	sqInt _entryPoint;
	sqInt _offset2;
	sqInt *_sendTable2;
	CogMethod * _targetCogCode;
	sqInt _unlinkedRoutine;

	if (_annotation >= IsSendCall) {
		_entryPoint = callTargetFromReturnAddress(backEnd, ((sqInt) _mcpc ));
		if (_entryPoint > methodZoneBase) {
			/* begin targetMethodAndSendTableFor:annotation:into: */
			/* begin offsetAndSendTableFor:annotation:into: */
			if (_annotation == IsSendCall) {
				_offset2 = cmEntryOffset;
				_sendTable2 = ordinarySendTrampolines;
			} else {
				if (_annotation == IsDirectedSuperSend) {
					_offset2 = cmNoCheckEntryOffset;
					_sendTable2 = directedSuperSendTrampolines;
				} else {
					if (_annotation == IsDirectedSuperBindingSend) {
						_offset2 = cmNoCheckEntryOffset;
						_sendTable2 = directedSuperBindingSendTrampolines;
					} else {
						assert(_annotation == IsSuperSend);
						_offset2 = cmNoCheckEntryOffset;
						_sendTable2 = superSendTrampolines;
					}
				}
			}
			{
				_targetCogCode = ((CogMethod *) (_entryPoint - _offset2) );
				{
					if (((sqInt) _targetCogCode ) == _theCogMethod) {
						/* begin unlinkSendAt:targetMethod:sendTable: */
						_unlinkedRoutine = _sendTable2[((((_targetCogCode->cmNumArgs)) < (NumSendTrampolines - 1)) ? (_targetCogCode->cmNumArgs) : NumSendTrampolines - 1)];
						rewriteInlineCacheAttagtarget(backEnd, ((sqInt) _mcpc ), inlineCacheValueForSelectorinat((_targetCogCode->selector), enumeratingCogMethod, _mcpc), _unlinkedRoutine);
						codeModified = 1;
						/* end unlinkSendAt:targetMethod:sendTable: */
					}
				}
			}
			/* end offsetAndSendTableFor:annotation:into: */
			/* end targetMethodAndSendTableFor:annotation:into: */
		}
	}
	return 0;
}
/*	Unlink all sends in cog methods whose class tag is that of a forwarded 
	class.  */
/* Cogit>>#unlinkSendsLinkedForInvalidClasses */
void
unlinkSendsLinkedForInvalidClasses(void)
{
	sqInt _annotation;
	CogMethod *_cogMethod;
	int _freedPIC;
	usqInt _map;
	sqInt _mapByte;
	sqInt _mcpc;
	sqInt _result;

	if (!methodZoneBase) {
		return;
	}
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		_cogMethod = ((CogMethod *) methodZoneBase );
		codeModified = (_freedPIC = 0);
		while (_cogMethod < (limitZony())) {
			if (((_cogMethod->cmType)) == CMMethod) {
				/* begin mapFor:performUntil:arg: */
				/* begin firstMappedPCFor: */
				_mcpc = (((_cogMethod->cpicHasMNUCaseOrCMIsFullBlock))
					 ? ((usqInt) _cogMethod ) + cbNoSwitchEntryOffset
					 : ((usqInt) _cogMethod ) + cmNoCheckEntryOffset);
				/* end firstMappedPCFor: */
				_map = (((usqInt) _cogMethod ) + ((_cogMethod->blockSize))) - 1;
				{
					enumeratingCogMethod = _cogMethod;
				}
				while (((_mapByte = byteAt(_map))) != MapEnd) {
					if (_mapByte >= FirstAnnotation) {
						_mcpc += _mapByte & DisplacementMask;
						if ((((_annotation = ((usqInt) _mapByte ) >> AnnotationShift)) == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
							_annotation += _mapByte & DisplacementMask;
							_map -= 1;
						}
						_result = unlinkIfInvalidClassSendpcignored(_annotation, ((char *) _mcpc ), 0);
						if (_result != 0) {
							goto l4;
						}
					} else {
						if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
							_mcpc += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
						}
					}
					_map -= 1;
				}
				l4:
				;
				/* end mapFor:performUntil:arg: */
			} else {
				if ((((_cogMethod->cmType)) == CMPolymorphicIC) && (cPICHasForwardedClass(_cogMethod))) {
					freeMethod(_cogMethod);
					_freedPIC = 1;
				}
			}
			_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		}
		if (_freedPIC) {
			unlinkSendsToFree();
		}
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		if (codeModified) {
			flushICacheFromto(((usqInt) methodZoneBase ), ((usqInt) (limitZony()) ));
		}
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
}
/*	Unlink all sends in cog methods. Free all Closed PICs with the selector, 
	or with an MNU case if isMNUSelector. First check if any method actually 
	has the selector; if not there can't be any linked send to it. This 
	routine (including descendents) is performance critical. It contributes 
	perhaps 30% of entire execution time in Compiler recompileAll. */
/* Cogit>>#unlinkSendsOf:isMNUSelector: */
void
unlinkSendsOfisMNUSelector(sqInt _selector, sqInt _isMNUSelector)
{
	sqInt _annotation;
	CogMethod *_cogMethod;
	usqInt _map;
	sqInt _mapByte;
	sqInt _mcpc;
	int _mustScanAndUnlink;
	sqInt _result;

	if (!methodZoneBase) {
		return;
	}
	/* begin enableCodeZoneWriteDuring: */
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		_cogMethod = ((CogMethod *) methodZoneBase );
		_mustScanAndUnlink = 0;
		if (_isMNUSelector) {
			while (_cogMethod < (limitZony())) {
				if (((_cogMethod->cmType)) != CMFree) {
					if (((_cogMethod->cpicHasMNUCaseOrCMIsFullBlock)) && (((_cogMethod->cmType)) == CMPolymorphicIC)) {
						assert(((_cogMethod->cmType)) == CMPolymorphicIC);
						freeMethod(_cogMethod);
						_mustScanAndUnlink = 1;
					} else {
						if (((_cogMethod->selector)) == _selector) {
							_mustScanAndUnlink = 1;
							if (((_cogMethod->cmType)) == CMPolymorphicIC) {
								freeMethod(_cogMethod);
							}
						}
					}
				}
				_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
			}
		}
 else {
			while (_cogMethod < (limitZony())) {
				if ((((_cogMethod->cmType)) != CMFree) && (((_cogMethod->selector)) == _selector)) {
					_mustScanAndUnlink = 1;
					if (((_cogMethod->cmType)) == CMPolymorphicIC) {
						freeMethod(_cogMethod);
					}
				}
				_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
			}
		}
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	/* end enableCodeZoneWriteDuring: */
	if (!_mustScanAndUnlink) {
		return;
	}
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		codeModified = 0;
		_cogMethod = ((CogMethod *) methodZoneBase );
		while (_cogMethod < (limitZony())) {
			if (((_cogMethod->cmType)) == CMMethod) {
				/* begin mapFor:performUntil:arg: */
				/* begin firstMappedPCFor: */
				_mcpc = (((_cogMethod->cpicHasMNUCaseOrCMIsFullBlock))
					 ? ((usqInt) _cogMethod ) + cbNoSwitchEntryOffset
					 : ((usqInt) _cogMethod ) + cmNoCheckEntryOffset);
				/* end firstMappedPCFor: */
				_map = (((usqInt) _cogMethod ) + ((_cogMethod->blockSize))) - 1;
				{
					enumeratingCogMethod = _cogMethod;
				}
				while (((_mapByte = byteAt(_map))) != MapEnd) {
					if (_mapByte >= FirstAnnotation) {
						_mcpc += _mapByte & DisplacementMask;
						if ((((_annotation = ((usqInt) _mapByte ) >> AnnotationShift)) == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
							_annotation += _mapByte & DisplacementMask;
							_map -= 1;
						}
						_result = unlinkIfFreeOrLinkedSendpcof(_annotation, ((char *) _mcpc ), _selector);
						if (_result != 0) {
							goto l4;
						}
					} else {
						if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
							_mcpc += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
						}
					}
					_map -= 1;
				}
				l4:
				;
				/* end mapFor:performUntil:arg: */
			}
			_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		}
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		if (codeModified) {
			flushICacheFromto(((usqInt) methodZoneBase ), ((usqInt) (limitZony()) ));
		}
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
}
/*	Unlink all sends in cog methods to free methods and/or pics. */
/* Cogit>>#unlinkSendsToFree */
void
unlinkSendsToFree(void)
{
	sqInt _annotation;
	CogMethod *_cogMethod;
	usqInt _map;
	sqInt _mapByte;
	sqInt _mcpc;
	sqInt _result;

	if (!methodZoneBase) {
		return;
	}
	codeModified = 0;
	_cogMethod = ((CogMethod *) methodZoneBase );
	while (_cogMethod < (limitZony())) {
		if (((_cogMethod->cmType)) == CMMethod) {
			/* begin mapFor:performUntil:arg: */
			/* begin firstMappedPCFor: */
			_mcpc = (((_cogMethod->cpicHasMNUCaseOrCMIsFullBlock))
				 ? ((usqInt) _cogMethod ) + cbNoSwitchEntryOffset
				 : ((usqInt) _cogMethod ) + cmNoCheckEntryOffset);
			/* end firstMappedPCFor: */
			_map = (((usqInt) _cogMethod ) + ((_cogMethod->blockSize))) - 1;
			{
				enumeratingCogMethod = _cogMethod;
			}
			while (((_mapByte = byteAt(_map))) != MapEnd) {
				if (_mapByte >= FirstAnnotation) {
					_mcpc += _mapByte & DisplacementMask;
					if ((((_annotation = ((usqInt) _mapByte ) >> AnnotationShift)) == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
						_annotation += _mapByte & DisplacementMask;
						_map -= 1;
					}
					_result = unlinkIfLinkedSendToFreepcignored(_annotation, ((char *) _mcpc ), 0);
					if (_result != 0) {
						goto l3;
					}
				} else {
					if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
						_mcpc += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
					}
				}
				_map -= 1;
			}
			l3:
			;
			/* end mapFor:performUntil:arg: */
		} else {
			if (((_cogMethod->cmType)) == CMPolymorphicIC) {
				assert(noTargetsFreeInClosedPIC(_cogMethod));
			}
		}
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
	}
}
/*	Unlink all sends in cog methods to a particular target method. 
	If targetMethodObject isn't actually a method (perhaps being 
	used via invokeAsMethod) then there's nothing to do. */
/* Cogit>>#unlinkSendsTo:andFreeIf: */
void
unlinkSendsToandFreeIf(sqInt _targetMethodObject, sqInt _freeIfTrue)
{
	sqInt _annotation;
	CogMethod *_cogMethod;
	int _freedPIC;
	usqInt _map;
	sqInt _mapByte;
	sqInt _mcpc;
	sqInt _result;
	CogMethod *_targetMethod;

	if (!((isOopCompiledMethod(_targetMethodObject)) && (methodHasCogMethod(_targetMethodObject)))) {
		return;
	}
	_targetMethod = cogMethodOf(_targetMethodObject);
	if (!methodZoneBase) {
		return;
	}
	codeModified = (_freedPIC = 0);
	_cogMethod = ((CogMethod *) methodZoneBase );
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		while (_cogMethod < (limitZony())) {
			if (((_cogMethod->cmType)) == CMMethod) {
				/* begin mapFor:performUntil:arg: */
				/* begin firstMappedPCFor: */
				_mcpc = (((_cogMethod->cpicHasMNUCaseOrCMIsFullBlock))
					 ? ((usqInt) _cogMethod ) + cbNoSwitchEntryOffset
					 : ((usqInt) _cogMethod ) + cmNoCheckEntryOffset);
				/* end firstMappedPCFor: */
				_map = (((usqInt) _cogMethod ) + ((_cogMethod->blockSize))) - 1;
				{
					enumeratingCogMethod = _cogMethod;
				}
				while (((_mapByte = byteAt(_map))) != MapEnd) {
					if (_mapByte >= FirstAnnotation) {
						_mcpc += _mapByte & DisplacementMask;
						if ((((_annotation = ((usqInt) _mapByte ) >> AnnotationShift)) == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
							_annotation += _mapByte & DisplacementMask;
							_map -= 1;
						}
						_result = unlinkIfLinkedSendpcto(_annotation, ((char *) _mcpc ), ((sqInt) _targetMethod ));
						if (_result != 0) {
							goto l4;
						}
					} else {
						if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
							_mcpc += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
						}
					}
					_map -= 1;
				}
				l4:
				;
				/* end mapFor:performUntil:arg: */
			} else {
				if ((((_cogMethod->cmType)) == CMPolymorphicIC) && (cPICHasTarget(_cogMethod, _targetMethod))) {
					freeMethod(_cogMethod);
					_freedPIC = 1;
				}
			}
			_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		}
		if (_freeIfTrue) {
			freeMethod(_targetMethod);
		}
		if (_freedPIC) {
			unlinkSendsToFree();
		}
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		if (!_freedPIC && codeModified) {
			flushICacheFromto(((usqInt) methodZoneBase ), ((usqInt) (limitZony()) ));
		}
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
}
/*	Access for the object representations when they need to prepend code to 
	trampolines. Eliminate stale dependent info. */
/* Cogit>>#zeroOpcodeIndex */
static void
zeroOpcodeIndex(void)
{
	sqInt _i;

	for (_i = 0; _i < opcodeIndex; _i += 1) {
		((abstractOpcodes[_i]).dependent = null);
	}
	zeroOpcodeIndexForNewOpcodes();
}
/*	Access for the object representations when they need to prepend code to 
	trampolines.  */
/* Cogit>>#zeroOpcodeIndexForNewOpcodes */
static void
zeroOpcodeIndexForNewOpcodes(void)
{
	opcodeIndex = 0;
}
/* CogMethod>>#counters */
static sqInt NoDbgRegParms
counters(CogMethod * self_in_counters)
{
	return 0;
}
/* CogMethodZone>>#addAllToYoungReferrers */
void
addAllToYoungReferrers(void)
{
	CogMethod *_cogMethod;

	/* begin enableCodeZoneWriteDuring: */
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		_cogMethod = ((CogMethod *) baseAddress );
		while (_cogMethod < (limitZony())) {
			if ((((_cogMethod->cmType)) == CMMethod) || (((_cogMethod->cmType)) == CMMegamorphicIC)) {
				ensureInYoungReferrers(_cogMethod);
			}
			_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		}
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	/* end enableCodeZoneWriteDuring: */
}
/* CogMethodZone>>#addToMegamorphicICList: */
static void NoDbgRegParms
addToMegamorphicICList(CogMethod *_anOpenPIC)
{
	assert(((_anOpenPIC->cmType)) == CMMegamorphicIC);
	assert((openPICList == null) || (((openPICList->cmType)) == CMMegamorphicIC));
	(_anOpenPIC->nextOpenPIC = ((usqInt) openPICList ));
	openPICList = _anOpenPIC;
}
/* CogMethodZone>>#addToYoungReferrers: */
static void NoDbgRegParms
addToYoungReferrers(CogMethod *_cogMethod)
{
	assert(youngReferrers <= limitAddress);
	assert((occurrencesInYoungReferrers(_cogMethod)) == 0);
	assert((_cogMethod->cmRefersToYoung));
	assert((youngReferrers <= limitAddress) && (youngReferrers >= (limitAddress - (methodCount * BytesPerWord))));
	if (!(asserta((limitAddress - (methodCount * BytesPerWord)) >= mzFreeStart))) {
		error("no room on youngReferrers list");
	}
	youngReferrers -= BytesPerWord;
	longAtput(youngReferrers, ((usqInt) _cogMethod ));
}
/* CogMethodZone>>#allocate: */
static usqInt NoDbgRegParms
allocate(sqInt _numBytes)
{
	usqInt _allocation;
	sqInt _roundedBytes;

	_roundedBytes = (_numBytes + 7) & -8;
	if ((mzFreeStart + _roundedBytes) >= (limitAddress - (methodCount * BytesPerWord))) {
		return 0;
	}
	_allocation = mzFreeStart;
	mzFreeStart += _roundedBytes;
	methodCount += 1;
	return _allocation;
}
/*	Free all methods */
/* CogMethodZone>>#clearCogCompiledCode */
static void
clearCogCompiledCode(void)
{
	CogMethod *_cogMethod;

	/* begin enableCodeZoneWriteDuring: */
	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		_cogMethod = ((CogMethod *) baseAddress );
		while (((usqInt) _cogMethod ) < mzFreeStart) {
			if (((_cogMethod->cmType)) == CMMethod) {
				freeMethod(_cogMethod);
			}
			_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		}
		manageFromto(baseAddress, limitAddress);
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
	/* end enableCodeZoneWriteDuring: */
}
/* CogMethodZone>>#compactCompiledCode */
static void
compactCompiledCode(void)
{
	unsigned short _byteSize;
	CogMethod *_dest;
	sqLong _objectHeaderValue;
	CogMethod *_source;

	compactionInProgress = 1;
	_objectHeaderValue = nullHeaderForMachineCodeMethod();
	_source = ((CogMethod *) baseAddress );
	voidOpenPICList();
	methodCount = 0;
	while ((_source < (limitZony())) && (((_source->cmType)) != CMFree)) {
		assert((cogMethodDoesntLookKosher(_source)) == 0);
		(_source->objectHeader = _objectHeaderValue);
		if (((_source->cmUsageCount)) > 0) {
			(_source->cmUsageCount = ((_source->cmUsageCount)) / 2);
		}
		if (((_source->cmType)) == CMMegamorphicIC) {
			addToMegamorphicICList(_source);
		}
		methodCount += 1;
		_source = ((CogMethod *) (roundUpLength(((sqInt) _source ) + ((_source->blockSize)))) );
	}
	if (_source >= (limitZony())) {
		{
			haltmsg("no free methods; cannot compact.");
			return;
		}
	}
	_dest = _source;
	while (_source < (limitZony())) {
		assert((maybeFreeCogMethodDoesntLookKosher(_source)) == 0);
		_byteSize = (_source->blockSize);
		if (((_source->cmType)) != CMFree) {
			methodCount += 1;
			memmove(_dest, _source, _byteSize);
			(_dest->objectHeader = _objectHeaderValue);
			if (((_dest->cmType)) == CMMethod) {
				if (((sqInt) (rawHeaderOf((_dest->methodObject))) ) == ((sqInt) _source )) {
					rawHeaderOfput((_dest->methodObject), ((sqInt) _dest ));
				}
 else {
					assert((noAssertMethodClassAssociationOf((_dest->methodObject))) == (nilObject()));
				}
			} else {
				if (((_dest->cmType)) == CMMegamorphicIC) {
					addToMegamorphicICList(_dest);
				}
			}
			if (((_dest->cmUsageCount)) > 0) {
				(_dest->cmUsageCount = ((_dest->cmUsageCount)) / 2);
			}
			_dest = ((CogMethod *) (roundUpLength(((sqInt) _dest ) + ((_dest->blockSize)))) );
		}
		_source = ((CogMethod *) (roundUpLength(((sqInt) _source ) + _byteSize)) );
	}
	mzFreeStart = ((usqInt) _dest );
	methodBytesFreedSinceLastCompaction = 0;
	compactionInProgress = 0;
}
/* CogMethodZone>>#ensureInYoungReferrers: */
static void NoDbgRegParms
ensureInYoungReferrers(CogMethod *_cogMethod)
{
	if (!((_cogMethod->cmRefersToYoung))) {
		assert((occurrencesInYoungReferrers(_cogMethod)) == 0);
		(_cogMethod->cmRefersToYoung = 1);
		addToYoungReferrers(_cogMethod);
	}
}
/* CogMethodZone>>#followForwardedLiteralsInOpenPICList */
static void
followForwardedLiteralsInOpenPICList(void)
{
	CogMethod *_openPIC;

	_openPIC = openPICList;
	while (_openPIC != null) {
		followForwardedLiteralsIn(_openPIC);
		_openPIC = ((CogMethod *) ((_openPIC->nextOpenPIC)) );
	}
}
/* CogMethodZone>>#freeMethod: */
void
freeMethod(CogMethod *_cogMethod)
{
	assert(((_cogMethod->cmType)) != CMFree);
	assert((cogMethodDoesntLookKosher(_cogMethod)) == 0);
	if (((_cogMethod->cmType)) == CMMethod) {
		if (((sqInt) (rawHeaderOf((_cogMethod->methodObject))) ) == ((sqInt) _cogMethod )) {
			rawHeaderOfput((_cogMethod->methodObject), (_cogMethod->methodHeader));
		}
 else {
			assert((noAssertMethodClassAssociationOf((_cogMethod->methodObject))) == (nilObject()));
		}
	}
	if (((_cogMethod->cmType)) == CMMegamorphicIC) {
		removeFromOpenPICList(_cogMethod);
	}
	(_cogMethod->cmRefersToYoung = 0);
	(_cogMethod->cmType = CMFree);
	methodBytesFreedSinceLastCompaction += (_cogMethod->blockSize);
}
/*	Free methods, preferring older methods for compaction, up to some 
	fraction, currently a quarter. */
/* CogMethodZone>>#freeOlderMethodsForCompaction */
static void
freeOlderMethodsForCompaction(void)
{
	sqInt _amountToFree;
	CogMethod *_cogMethod;
	int _freeableUsage;
	sqInt _freedSoFar;
	sqInt _initialFreeSpace;
	sqInt _zoneSize;

	_zoneSize = limitAddress - baseAddress;
	_initialFreeSpace = (limitAddress - mzFreeStart) + methodBytesFreedSinceLastCompaction;
	_freedSoFar = _initialFreeSpace;
	_amountToFree = _zoneSize / 4;
	_freeableUsage = 0;
	do {
		_cogMethod = ((CogMethod *) baseAddress );
		while ((((usqInt) _cogMethod ) < mzFreeStart) && (_freedSoFar < _amountToFree)) {
			if ((((_cogMethod->cmType)) != CMFree) && (((_cogMethod->cmUsageCount)) <= _freeableUsage)) {
				freeMethod(_cogMethod);
				_freedSoFar += (_cogMethod->blockSize);
			}
			_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		}
	} while ((_freedSoFar < _amountToFree) && (((_freeableUsage += 1)) < CMMaxUsageCount));
}
/*	Answer that all entries in youngReferrers are in-use and have the 
	cmRefersToYoung flag set. 
	Used to check that the youngreferrers pruning routines work correctly. */
/* CogMethodZone>>#kosherYoungReferrers */
static sqInt
kosherYoungReferrers(void)
{
	CogMethod *_cogMethod;
	usqInt _pointer;

	if ((youngReferrers > limitAddress) || (youngReferrers < mzFreeStart)) {
		return 0;
	}
	_pointer = youngReferrers;
	while (_pointer < limitAddress) {
		_cogMethod = ((CogMethod *) (longAt(_pointer)) );
		if (!((((_cogMethod->cmType)) != CMFree) && ((_cogMethod->cmRefersToYoung)))) {
			return 0;
		}
		_pointer += BytesPerWord;
	}
	return 1;
}
/* CogMethodZone>>#manageFrom:to: */
static void NoDbgRegParms
manageFromto(sqInt _theStartAddress, sqInt _theLimitAddress)
{
	mzFreeStart = (baseAddress = _theStartAddress);
	youngReferrers = (limitAddress = _theLimitAddress);
	openPICList = null;
	methodBytesFreedSinceLastCompaction = 0;
	methodCount = 0;
}
/* CogMethodZone>>#methodFor: */
CogMethod *
methodFor(void *_address)
{
	CogMethod *_cogMethod;
	CogMethod *_nextMethod;

	_cogMethod = ((CogMethod *) baseAddress );
	while ((_cogMethod < (limitZony())) && (((usqInt) _cogMethod ) <= ((usqInt) _address ))) {
		/* begin methodAfter: */
		_nextMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		/* end methodAfter: */
		if (_nextMethod == _cogMethod) {
			return 0;
		}
		if ((((usqInt) _address ) >= ((usqInt) _cogMethod )) && (((usqInt) _address ) < ((usqInt) _nextMethod ))) {
			return _cogMethod;
		}
		_cogMethod = _nextMethod;
	}
	return 0;
}
/* CogMethodZone>>#methodsCompiledToMachineCodeInto: */
sqInt
methodsCompiledToMachineCodeInto(sqInt _arrayObj)
{
	CogMethod *_cogMethod;
	int _methodIndex;

	_methodIndex = 0;
	_cogMethod = ((CogMethod *) baseAddress );
	while (_cogMethod < (limitZony())) {
		if (((_cogMethod->cmType)) == CMMethod) {
			storePointerUncheckedofObjectwithValue(_methodIndex, _arrayObj, (_cogMethod->methodObject));
			_methodIndex += 1;
		}
		/* begin methodAfter: */
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		/* end methodAfter: */
	}
	return _methodIndex;
}
/* CogMethodZone>>#numMethods */
sqInt
numMethods(void)
{
	return methodCount;
}
/* CogMethodZone>>#numMethodsOfType: */
sqInt
numMethodsOfType(sqInt _cogMethodType)
{
	CogMethod *_cogMethod;
	int _n;

	_n = 0;
	_cogMethod = ((CogMethod *) baseAddress );
	while (_cogMethod < (limitZony())) {
		if (((_cogMethod->cmType)) == _cogMethodType) {
			_n += 1;
		}
		/* begin methodAfter: */
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		/* end methodAfter: */
	}
	return _n;
}
/* CogMethodZone>>#occurrencesInYoungReferrers: */
static sqInt NoDbgRegParms
occurrencesInYoungReferrers(CogMethod *_cogMethod)
{
	int _count;
	usqInt _pointer;

	assert(youngReferrers <= limitAddress);
	_count = 0;
	_pointer = youngReferrers;
	while (_pointer < limitAddress) {
		if (((sqInt) _cogMethod ) == (longAt(_pointer))) {
			_count += 1;
		}
		_pointer += BytesPerWord;
	}
	return _count;
}
/* CogMethodZone>>#openPICWithSelector: */
static CogMethod * NoDbgRegParms
openPICWithSelector(sqInt _aSelector)
{
	CogMethod *_openPIC;

	_openPIC = openPICList;
	do {
		if ((_openPIC == null) || (((_openPIC->selector)) == _aSelector)) {
			return _openPIC;
		}
		_openPIC = ((CogMethod *) ((_openPIC->nextOpenPIC)) );
	} while (1);
	return 0;
}
/*	Some methods have been freed. Compute how much each survivor needs to 
	move during the ensuing compaction and record it in the objectHeader 
	field.  
	For Sista, where we want PICs to last so they can be observed, we need to 
	keep PICs unless 
	they are definitely unused. So we need to identify unused PICs. So in 
	planCompact, zero the 
	usage counts of all PICs, saving the actual usage count in 
	blockEntryOffset. Then in 
	relocateMethodsPreCompaction (actually in 
	relocateIfCallOrMethodReference:mcpc:delta:) restore the usage counts of 
	used PICs. Finally in compactCompiledCode, clear the blockEntryOffset 
	of the unused PICs; they will then have a zero count and be reclaimed in 
	the next code compaction. */
/* CogMethodZone>>#planCompaction */
static void
planCompaction(void)
{
	CogMethod *_cogMethod;
	int _delta;

	_delta = 0;
	_cogMethod = ((CogMethod *) baseAddress );
	while (((usqInt) _cogMethod ) < mzFreeStart) {
		if (((_cogMethod->cmType)) == CMFree) {
			_delta -= (_cogMethod->blockSize);
		} else {
			assert((cogMethodDoesntLookKosher(_cogMethod)) == 0);
			(_cogMethod->objectHeader = _delta);
		}
		/* begin methodAfter: */
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		/* end methodAfter: */
	}
}
/* CogMethodZone>>#printCogMethods */
void
printCogMethods(void)
{
	CogMethod *_cogMethod;
	sqInt _nc;
	sqInt _nf;
	sqInt _nm;
	sqInt _no;
	int _nu;

	_nm = (_nc = (_no = (_nf = (_nu = 0))));
	_cogMethod = ((CogMethod *) baseAddress );
	while (_cogMethod < (limitZony())) {
		printCogMethod(_cogMethod);
		switch ((_cogMethod->cmType)) {
			case CMFree:
			{
				_nf += 1;
			}
			break;
			case CMMethod:
			{
				_nm += 1;
			}
			break;
			case CMPolymorphicIC:
			{
				_nc += 1;
			}
			break;
			case CMMegamorphicIC:
			{
				_no += 1;
			}
			break;
			default:
			{
				_nu += 1;
			}
		}
		/* begin methodAfter: */
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		/* end methodAfter: */
	}
	{
		print("CMMethod ");
		printNum(_nm);
		print(" CMClosedPIC ");
		printNum(_nc);
		print(" CMOpenPIC ");
		printNum(_no);
		print(" CMFree ");
		printNum(_nf);
	}
	if (_nu > 0) {
		{
			print(" UNKNOWN ");
			printNum(_nu);
		}
	}
	{
		print(" total ");
		printNum((((_nm + _nc) + _no) + _nf) + _nu);
		cr();
	}
}
/* CogMethodZone>>#printCogMethodsOfType: */
void
printCogMethodsOfType(sqInt _cmType)
{
	CogMethod *_cogMethod;

	_cogMethod = ((CogMethod *) baseAddress );
	while (_cogMethod < (limitZony())) {
		if (((_cogMethod->cmType)) == _cmType) {
			printCogMethod(_cogMethod);
		}
		/* begin methodAfter: */
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		/* end methodAfter: */
	}
}
/* CogMethodZone>>#printCogMethodsWithMethod: */
void
printCogMethodsWithMethod(sqInt _methodOop)
{
	CogMethod *_cogMethod;

	_cogMethod = ((CogMethod *) baseAddress );
	while (_cogMethod < (limitZony())) {
		if ((((_cogMethod->cmType)) != CMFree) && (((_cogMethod->methodObject)) == _methodOop)) {
			printCogMethod(_cogMethod);
		}
		/* begin methodAfter: */
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		/* end methodAfter: */
	}
}
/* CogMethodZone>>#printCogMethodsWithPrimitive: */
void
printCogMethodsWithPrimitive(sqInt _primIdx)
{
	CogMethod *_cogMethod;

	_cogMethod = ((CogMethod *) baseAddress );
	while (_cogMethod < (limitZony())) {
		if ((((_cogMethod->cmType)) == CMMethod) && (_primIdx == (primitiveIndexOfMethodheader((_cogMethod->methodObject), (_cogMethod->methodHeader))))) {
			printCogMethod(_cogMethod);
		}
		/* begin methodAfter: */
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		/* end methodAfter: */
	}
}
/* CogMethodZone>>#printCogMethodsWithSelector: */
void
printCogMethodsWithSelector(sqInt _selectorOop)
{
	CogMethod *_cogMethod;

	_cogMethod = ((CogMethod *) baseAddress );
	while (_cogMethod < (limitZony())) {
		if ((((_cogMethod->cmType)) != CMFree) && (((_cogMethod->selector)) == _selectorOop)) {
			printCogMethod(_cogMethod);
		}
		/* begin methodAfter: */
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		/* end methodAfter: */
	}
}
/* CogMethodZone>>#printCogYoungReferrers */
void
printCogYoungReferrers(void)
{
	CogMethod *_cogMethod;
	usqInt _pointer;

	_pointer = youngReferrers;
	while (_pointer < limitAddress) {
		_cogMethod = ((CogMethod *) (longAt(_pointer)) );
		if (!((_cogMethod->cmRefersToYoung))) {
			print("*");
		}
		if (((_cogMethod->cmType)) == CMFree) {
			print("!");
		}
		if (!(((_cogMethod->cmRefersToYoung)) && (((_cogMethod->cmType)) != CMFree))) {
			print(" ");
		}
		printCogMethod(_cogMethod);
		_pointer += BytesPerWord;
	}
}
/* CogMethodZone>>#printOpenPICList */
sqInt
printOpenPICList(void)
{
	int _n;
	CogMethod *_openPIC;

	_n = 0;
	_openPIC = openPICList;
	while (!(_openPIC == null)) {
		_n += 1;
		printCogMethod(_openPIC);
		_openPIC = ((CogMethod *) ((_openPIC->nextOpenPIC)) );
	}
	return _n;
}
/* CogMethodZone>>#pruneYoungReferrers */
static sqInt
pruneYoungReferrers(void)
{
	usqInt _dest;
	usqInt _next;
	usqInt _source;

	assert(youngReferrers <= limitAddress);
	if (youngReferrers == limitAddress) {
		return null;
	}
	_dest = limitAddress;
	while (1) {
		_next = _dest - BytesPerWord;
		if (!((_next >= youngReferrers) && (((((CogMethod *) (longAt(_next)) ))->cmRefersToYoung)))) 
			break;
		_dest = _next;
	}
	assert(_dest >= youngReferrers);
	_source = _dest - BytesPerWord;
	while (_source >= youngReferrers) {
		if (((((CogMethod *) (longAt(_source)) ))->cmRefersToYoung)) {
			assert(_source < (_dest - BytesPerWord));
			longAtput((_dest -= BytesPerWord), longAt(_source));
		}
		_source -= BytesPerWord;
	}
	youngReferrers = _dest;
	assert(kosherYoungReferrers());
	return 0;
}
/*	This method compacts the young referrers array, and updates the references 
	to the methods were moved.Young referrers is an array that holds references to CogMethods that 
	references objects that are in the new space. 
	The young referrers array is stored at the end of the code cache, it grows 
	towards lower addresses. 
	The variable youngReferrers points to the lowest entry in the array, and 
	it spans up to the limitAddress */
/* CogMethodZone>>#relocateAndPruneYoungReferrers */
static sqInt
relocateAndPruneYoungReferrers(void)
{
	CogMethod *_cogMethod;
	usqInt _dest;
	usqInt _next;
	usqInt _source;

	assert(youngReferrers <= limitAddress);
	if (youngReferrers == limitAddress) {
		return null;
	}
	_dest = limitAddress;
	while (1) {
		_next = _dest - BytesPerWord;
		if (!((_next >= youngReferrers) && ((((((_cogMethod = ((CogMethod *) (longAt(_next)) )))->cmType)) != CMFree) && ((_cogMethod->cmRefersToYoung))))) 
			break;
		if (((_cogMethod->objectHeader)) != 0) {
			longAtput(_next, ((sqInt) _cogMethod ) + ((_cogMethod->objectHeader)));
		}
		_dest = _next;
	}
	assert(_dest >= youngReferrers);
	_source = _dest - BytesPerWord;
	while (_source >= youngReferrers) {
		_cogMethod = ((CogMethod *) (longAt(_source)) );
		if ((((_cogMethod->cmType)) != CMFree) && ((_cogMethod->cmRefersToYoung))) {
			assert(_source < (_dest - BytesPerWord));
			if (((_cogMethod->objectHeader)) != 0) {
				_cogMethod = ((CogMethod *) (((sqInt) _cogMethod ) + ((sqInt) ((_cogMethod->objectHeader)) )) );
			}
			longAtput((_dest -= BytesPerWord), ((sqInt) _cogMethod ));
		}
		_source -= BytesPerWord;
	}
	youngReferrers = _dest;
	return 0;
}
/*	All surviving methods have had the amount they are going to relocate by 
	stored in their objectHeader fields. Relocate all relative calls so that 
	after the compaction of both the method containing each call and the call 
	target the calls invoke the same target. */
/* CogMethodZone>>#relocateMethodsPreCompaction */
static sqInt
relocateMethodsPreCompaction(void)
{
	CogMethod *_cogMethod;

	_cogMethod = ((CogMethod *) baseAddress );
	while (((usqInt) _cogMethod ) < mzFreeStart) {
		if (((_cogMethod->cmType)) != CMFree) {
			if (((_cogMethod->cmType)) == CMPolymorphicIC) {
				relocateCallsInClosedPIC(_cogMethod);
			}
 else {
				relocateCallsAndSelfReferencesInMethod(_cogMethod);
			}
		}
		/* begin methodAfter: */
		_cogMethod = ((CogMethod *) (roundUpLength(((sqInt) _cogMethod ) + ((_cogMethod->blockSize)))) );
		/* end methodAfter: */
	}
	relocateAndPruneYoungReferrers();
	return 1;
}
/* CogMethodZone>>#removeFromOpenPICList: */
static sqInt NoDbgRegParms
removeFromOpenPICList(CogMethod *_anOpenPIC)
{
	CogMethod *_prevPIC;

	assert(((_anOpenPIC->cmType)) == CMMegamorphicIC);
	if (!openPICList) {
		return null;
	}
	assert((((openPICList->cmType)) == CMMegamorphicIC) && ((((openPICList->nextOpenPIC)) == null) || ((((((CogMethod *) ((openPICList->nextOpenPIC)) ))->cmType)) == CMMegamorphicIC)));
	if (_anOpenPIC == openPICList) {
		openPICList = ((CogMethod *) ((_anOpenPIC->nextOpenPIC)) );
		return null;
	}
	_prevPIC = openPICList;
	do {
		assert((_prevPIC != null) && (((_prevPIC->cmType)) == CMMegamorphicIC));
		if (((_prevPIC->nextOpenPIC)) == ((usqInt) _anOpenPIC )) {
			(_prevPIC->nextOpenPIC = (_anOpenPIC->nextOpenPIC));
			return null;
		}
		_prevPIC = ((CogMethod *) ((_prevPIC->nextOpenPIC)) );
	} while (1);
	return 0;
}
/* CogMethodZone>>#voidOpenPICList */
static void
voidOpenPICList(void)
{
	openPICList = null;
}
/* CogMethodZone>>#voidYoungReferrersPostTenureAll */
static void
voidYoungReferrersPostTenureAll(void)
{
	CogMethod *_cogMethod;
	usqInt _pointer;

	assert(youngReferrers <= limitAddress);
	_pointer = youngReferrers;
	while (_pointer < limitAddress) {
		_cogMethod = ((CogMethod *) (longAt(_pointer)) );
		if (((_cogMethod->cmType)) != CMFree) {
			(_cogMethod->cmRefersToYoung = 0);
		}
		_pointer += BytesPerWord;
	}
	youngReferrers = limitAddress;
}
/* CogMethodZone>>#whereIsMaybeCodeThing: */
char *
whereIsMaybeCodeThing(sqInt _anOop)
{
	if (oopisGreaterThanOrEqualToandLessThan(_anOop, codeBase, limitAddress)) {
		if (oopisLessThan(_anOop, methodZoneBase)) {
			return " is in generated runtime";
		}
		if (oopisLessThan(_anOop, mzFreeStart)) {
			return " is in generated methods";
		}
		if (oopisLessThan(_anOop, youngReferrers)) {
			return " is in code zone";
		}
		return " is in young referrers";
	}
	return null;
}
/* CogMethodZone>>#zoneAlignment */
static sqInt
zoneAlignment(void)
{
	return 8;
}
/* CogObjectRepresentation>>#checkValidObjectReference: */
static sqInt NoDbgRegParms
checkValidObjectReference(sqInt _anOop)
{
	return (!(isImmediate(_anOop))) && ((heapMapAtWord(pointerForOop(_anOop))) != 0);
}
/* CogObjectRepresentation>>#genCmpClassFloatCompactIndexR: */
static AbstractInstruction * NoDbgRegParms
genCmpClassFloatCompactIndexR(sqInt _reg)
{
	AbstractInstruction *_anInstruction;

	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(CmpCqR, ClassFloatCompactIndex, _reg);
	return _anInstruction;
	/* end checkQuickConstant:forInstruction: */
}
/*	Get the method header (first word) of a CompiledMethod into headerReg. 
	Deal with the method possibly being cogged. */
/* CogObjectRepresentation>>#genGetMethodHeaderOf:into:scratch: */
static sqInt NoDbgRegParms
genGetMethodHeaderOfintoscratch(sqInt _methodReg, sqInt _headerReg, sqInt _scratchReg)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_jumpNotCogged;
	sqInt _offset;

	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, _methodReg, _headerReg);
	/* end checkQuickConstant:forInstruction: */
	_jumpNotCogged = genJumpSmallInteger(_headerReg);
	/* begin MoveMw:r:R: */
	_offset = offsetof(CogMethod, methodHeader);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, _offset, _headerReg, _headerReg);
	/* end checkQuickConstant:forInstruction: */
	/* end MoveMw:r:R: */
	jmpTarget(_jumpNotCogged, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return 0;
}
/* CogObjectRepresentation>>#genLoadSlot:sourceReg:destReg: */
static sqInt NoDbgRegParms
genLoadSlotsourceRegdestReg(sqInt _index, sqInt _sourceReg, sqInt _destReg)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;

	/* begin checkQuickConstant:forInstruction: */
	literal = (_index * BytesPerWord) + BaseHeaderSize;
	_anInstruction = genoperandoperandoperand(MoveMwrR, (_index * BytesPerWord) + BaseHeaderSize, _sourceReg, _destReg);
	/* end checkQuickConstant:forInstruction: */
	return 0;
}
/*	Primitive generator used to mark primitives that have no machine code 
	implementation This works as a null pattern. 
	Then primitive generation will just compile a call to the 
	interpreter-version of the primitive 
	 */
/* CogObjectRepresentation>>#genNonImplementedPrimitive */
static sqInt
genNonImplementedPrimitive(void)
{
	return UnimplementedPrimitive;
}
/* CogObjectRepresentation>>#genPrimitiveAdd */
static sqInt
genPrimitiveAdd(void)
{
	AbstractInstruction *_jumpNotSI;
	AbstractInstruction *_jumpOvfl;

	if (!(mclassIsSmallInteger())) {
		return UnimplementedPrimitive;
	}
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, ClassReg);
	/* end MoveR:R: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpNotSI = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genRemoveSmallIntegerTagsInScratchReg(ClassReg);
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, ClassReg);
	/* end AddR:R: */
	/* begin JumpOverflow: */
	_jumpOvfl = genConditionalBranchoperand(JumpOverflow, ((sqInt) 0 ));
	/* end JumpOverflow: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, ClassReg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpOvfl, jmpTarget(_jumpNotSI, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
}
/* CogObjectRepresentation>>#genPrimitiveAsFloat */
static sqInt
genPrimitiveAsFloat(void)
{
	AbstractInstruction *_jumpFailAlloc;

	if (!(mclassIsSmallInteger())) {
		return UnimplementedPrimitive;
	}
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, ReceiverResultReg, TempReg);
	/* end MoveR:R: */
	genConvertSmallIntegerToIntegerInReg(TempReg);
	/* begin ConvertR:Rd: */
	genoperandoperand(ConvertRRd, TempReg, DPFPReg0);
	/* end ConvertR:Rd: */
	_jumpFailAlloc = genAllocFloatValueintoscratchRegscratchReg(DPFPReg0, SendNumArgsReg, ClassReg, TempReg);
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, SendNumArgsReg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpFailAlloc, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return 0;
}
/* CogObjectRepresentation>>#genPrimitiveBitAnd */
static sqInt
genPrimitiveBitAnd(void)
{
	AbstractInstruction *_jumpNotSI;

	if (!(mclassIsSmallInteger())) {
		return UnimplementedPrimitive;
	}
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpNotSI = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	/* begin AndR:R: */
	genoperandoperand(AndRR, Arg0Reg, ReceiverResultReg);
	/* end AndR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpNotSI, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return CompletePrimitive;
}
/* CogObjectRepresentation>>#genPrimitiveBitOr */
static sqInt
genPrimitiveBitOr(void)
{
	AbstractInstruction *_jumpNotSI;

	if (!(mclassIsSmallInteger())) {
		return UnimplementedPrimitive;
	}
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpNotSI = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	/* begin OrR:R: */
	genoperandoperand(OrRR, Arg0Reg, ReceiverResultReg);
	/* end OrR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpNotSI, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return CompletePrimitive;
}
/*	rTemp := rArg0 
	rClass := tTemp 
	rTemp := rTemp & 1 
	jz nonInt 
	rClass >>= 1 
	cmp 0,rClass 
	jge neg 
	cmp 31,rClass // numSmallIntegerBits, jge for sign 
	jge tooBig 
	rTemp := rReceiver 
	rTemp <<= rClass 
	rTemp >>= rClass (arithmetic) 
	cmp rTemp,rReceiver 
	jnz ovfl 
	rReceiver := rReceiver - 1 
	rReceiver := rReceiver <<= rClass 
	rReceiver := rReceiver + 1 
	ret 
	neg: 
	rClass := 0 - rClass 
	cmp 31,rClass // numSmallIntegerBits 
	jge inRange 
	rClass := 31 
	inRange 
	rReceiver := rReceiver >>= rClass. 
	rReceiver := rReceiver | smallIntegerTags. 
	ret 
	ovfl 
	tooBig 
	nonInt: 
	fail */
/* CogObjectRepresentation>>#genPrimitiveBitShift */
static sqInt
genPrimitiveBitShift(void)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_jumpInRange;
	AbstractInstruction *_jumpNegative;
	AbstractInstruction *_jumpNotSI;
	AbstractInstruction *_jumpOvfl;
	AbstractInstruction *_jumpTooBig;
	sqInt _quickConstant;
	sqInt _quickConstant2;
	sqInt _quickConstant3;

	if (!(mclassIsSmallInteger())) {
		return UnimplementedPrimitive;
	}
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, ClassReg);
	/* end MoveR:R: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpNotSI = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(ClassReg);
	if (!(setsConditionCodesFor(lastOpcode(), JumpNegative))) {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, 0, ClassReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin JumpNegative: */
	_jumpNegative = genConditionalBranchoperand(JumpNegative, ((sqInt) 0 ));
	/* end JumpNegative: */
	/* begin CmpCq:R: */
	_quickConstant = numSmallIntegerBits();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpGreaterOrEqual: */
	_jumpTooBig = genConditionalBranchoperand(JumpGreaterOrEqual, ((sqInt) 0 ));
	/* end JumpGreaterOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, ReceiverResultReg, TempReg);
	/* end MoveR:R: */
	/* begin LogicalShiftLeftR:R: */
	genoperandoperand(LogicalShiftLeftRR, ClassReg, TempReg);
	/* end LogicalShiftLeftR:R: */
	/* begin ArithmeticShiftRightR:R: */
	genoperandoperand(ArithmeticShiftRightRR, ClassReg, TempReg);
	/* end ArithmeticShiftRightR:R: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, TempReg, ReceiverResultReg);
	/* end CmpR:R: */
	/* begin JumpNonZero: */
	_jumpOvfl = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	genRemoveSmallIntegerTagsInScratchReg(ReceiverResultReg);
	/* begin LogicalShiftLeftR:R: */
	genoperandoperand(LogicalShiftLeftRR, ClassReg, ReceiverResultReg);
	/* end LogicalShiftLeftR:R: */
	genAddSmallIntegerTagsTo(ReceiverResultReg);
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpNegative, genoperand(NegateR, ClassReg));
	/* begin CmpCq:R: */
	_quickConstant2 = numSmallIntegerBits();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant2, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpLessOrEqual: */
	_jumpInRange = genConditionalBranchoperand(JumpLessOrEqual, ((sqInt) 0 ));
	/* end JumpLessOrEqual: */
	/* begin MoveCq:R: */
	_quickConstant3 = numSmallIntegerBits();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction4 = genoperandoperand(MoveCqR, _quickConstant3, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	/* end MoveCq:R: */
	jmpTarget(_jumpInRange, genoperandoperand(ArithmeticShiftRightRR, ClassReg, ReceiverResultReg));
	genClearAndSetSmallIntegerTagsIn(ReceiverResultReg);
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpNotSI, jmpTarget(_jumpTooBig, jmpTarget(_jumpOvfl, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
}
/* CogObjectRepresentation>>#genPrimitiveBitXor */
static sqInt
genPrimitiveBitXor(void)
{
	AbstractInstruction *_jumpNotSI;

	if (!(mclassIsSmallInteger())) {
		return UnimplementedPrimitive;
	}
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpNotSI = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genRemoveSmallIntegerTagsInScratchReg(Arg0Reg);
	/* begin XorR:R: */
	genoperandoperand(XorRR, Arg0Reg, ReceiverResultReg);
	/* end XorR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpNotSI, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return CompletePrimitive;
}
/* CogObjectRepresentation>>#genPrimitiveClass */
static sqInt
genPrimitiveClass(void)
{
	sqInt reg;
	sqInt _reg;

	_reg = ReceiverResultReg;
	if (methodOrBlockNumArgs > 0) {
		if (methodOrBlockNumArgs > 1) {
			return UnimplementedPrimitive;
		}
		/* begin genLoadArgAtDepth:into: */
		reg = (_reg = Arg0Reg);
		assert(0 < (numRegArgs()));
		/* end genLoadArgAtDepth:into: */
	}
	if ((genGetClassObjectOfintoscratchReginstRegIsReceiver(_reg, ReceiverResultReg, TempReg, _reg == ReceiverResultReg)) == BadRegisterSet) {
		genGetClassObjectOfintoscratchReginstRegIsReceiver(_reg, ClassReg, TempReg, _reg == ReceiverResultReg);
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, ClassReg, ReceiverResultReg);
		/* end MoveR:R: */
	}
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	return UnfailingPrimitive;
}
/* CogObjectRepresentation>>#genPrimitiveDiv */
static sqInt
genPrimitiveDiv(void)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_convert;
	AbstractInstruction *_jumpExact;
	AbstractInstruction *_jumpIsSI;
	AbstractInstruction *_jumpNotSI;
	AbstractInstruction *_jumpSameSign;
	AbstractInstruction *_jumpZero;

	if (!(processorHasDivQuoRemAndMClassIsSmallInteger())) {
		return UnimplementedPrimitive;
	}
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, ClassReg);
	/* end MoveR:R: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpNotSI = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(ClassReg);
	if (!(setsConditionCodesFor(lastOpcode(), JumpZero))) {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, 0, ClassReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin JumpZero: */
	_jumpZero = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, ReceiverResultReg, TempReg);
	/* end MoveR:R: */
	genConvertSmallIntegerToIntegerInReg(TempReg);
	gDivRRQuoRem(ClassReg, TempReg, TempReg, ClassReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 0, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpZero: */
	_jumpExact = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	/* begin XorR:R: */
	genoperandoperand(XorRR, ClassReg, Arg1Reg);
	/* end XorR:R: */
	if (!(setsConditionCodesFor(lastOpcode(), JumpZero))) {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperand(CmpCqR, 0, Arg1Reg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin JumpGreaterOrEqual: */
	_jumpSameSign = genConditionalBranchoperand(JumpGreaterOrEqual, ((sqInt) 0 ));
	/* end JumpGreaterOrEqual: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction4 = genoperandoperand(SubCqR, 1, TempReg);
	/* end checkQuickConstant:forInstruction: */
	jmpTarget(_jumpSameSign, (_convert = genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	genConvertIntegerToSmallIntegerInReg(TempReg);
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, TempReg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpExact, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	_jumpIsSI = genJumpIsSmallIntegerValuescratch(TempReg, Arg1Reg);
	jmpTarget(_jumpIsSI, _convert);
	jmpTarget(_jumpZero, jmpTarget(_jumpNotSI, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
}
/* CogObjectRepresentation>>#genPrimitiveDivide */
static sqInt
genPrimitiveDivide(void)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_jumpInexact;
	AbstractInstruction *_jumpNotSI;
	AbstractInstruction *_jumpOverflow;
	AbstractInstruction *_jumpZero;

	if (!(processorHasDivQuoRemAndMClassIsSmallInteger())) {
		return UnimplementedPrimitive;
	}
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, ClassReg);
	/* end MoveR:R: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpNotSI = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(ClassReg);
	/* begin JumpZero: */
	_jumpZero = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, ReceiverResultReg, TempReg);
	/* end MoveR:R: */
	genConvertSmallIntegerToIntegerInReg(TempReg);
	gDivRRQuoRem(ClassReg, TempReg, TempReg, ClassReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(CmpCqR, 0, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpNonZero: */
	_jumpInexact = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	_jumpOverflow = genJumpNotSmallIntegerValuescratch(TempReg, Arg1Reg);
	genConvertIntegerToSmallIntegerInReg(TempReg);
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, TempReg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpOverflow, jmpTarget(_jumpInexact, jmpTarget(_jumpZero, jmpTarget(_jumpNotSI, genoperandoperand(Label, (labelCounter += 1), bytecodePC)))));
	return CompletePrimitive;
}
/* CogObjectRepresentation>>#genPrimitiveEqual */
static sqInt
genPrimitiveEqual(void)
{
	return genSmallIntegerComparisonorDoubleComparisoninvert(JumpZero, gJumpFPEqual, 0);
}
/* CogObjectRepresentation>>#genPrimitiveFloatAdd */
static sqInt
genPrimitiveFloatAdd(void)
{
	return genFloatArithmeticpreOpCheckboxed(AddRdRd, null, 1);
}
/* CogObjectRepresentation>>#genPrimitiveFloatDivide */
static sqInt
genPrimitiveFloatDivide(void)
{
	return genFloatArithmeticpreOpCheckboxed(DivRdRd, genDoubleFailIfZeroArgRcvrarg, 1);
}
/* CogObjectRepresentation>>#genPrimitiveFloatEqual */
static sqInt
genPrimitiveFloatEqual(void)
{
	return genFloatComparisoninvertboxed(gJumpFPEqual, 0, 1);
}
/* CogObjectRepresentation>>#genPrimitiveFloatGreaterOrEqual */
static sqInt
genPrimitiveFloatGreaterOrEqual(void)
{
	return genFloatComparisoninvertboxed(gJumpFPGreaterOrEqual, 0, 1);
}
/* CogObjectRepresentation>>#genPrimitiveFloatGreaterThan */
static sqInt
genPrimitiveFloatGreaterThan(void)
{
	return genFloatComparisoninvertboxed(gJumpFPGreater, 0, 1);
}
/* CogObjectRepresentation>>#genPrimitiveFloatLessOrEqual */
static sqInt
genPrimitiveFloatLessOrEqual(void)
{
	return genFloatComparisoninvertboxed(gJumpFPGreaterOrEqual, 1, 1);
}
/* CogObjectRepresentation>>#genPrimitiveFloatLessThan */
static sqInt
genPrimitiveFloatLessThan(void)
{
	return genFloatComparisoninvertboxed(gJumpFPGreater, 1, 1);
}
/* CogObjectRepresentation>>#genPrimitiveFloatMultiply */
static sqInt
genPrimitiveFloatMultiply(void)
{
	return genFloatArithmeticpreOpCheckboxed(MulRdRd, null, 1);
}
/* CogObjectRepresentation>>#genPrimitiveFloatNotEqual */
static sqInt
genPrimitiveFloatNotEqual(void)
{
	return genFloatComparisoninvertboxed(gJumpFPNotEqual, 0, 1);
}
/* CogObjectRepresentation>>#genPrimitiveFloatSquareRoot */
static sqInt
genPrimitiveFloatSquareRoot(void)
{
	AbstractInstruction *_jumpFailAlloc;

	genGetDoubleValueOfinto(ReceiverResultReg, DPFPReg0);
	/* begin SqrtRd: */
	genoperand(SqrtRd, DPFPReg0);
	/* end SqrtRd: */
	_jumpFailAlloc = genAllocFloatValueintoscratchRegscratchReg(DPFPReg0, SendNumArgsReg, ClassReg, TempReg);
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, SendNumArgsReg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpFailAlloc, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return 0;
}
/* CogObjectRepresentation>>#genPrimitiveFloatSubtract */
static sqInt
genPrimitiveFloatSubtract(void)
{
	return genFloatArithmeticpreOpCheckboxed(SubRdRd, null, 1);
}
/*	Only works for the receiver for now */
/* CogObjectRepresentation>>#genPrimitiveFormat */
static sqInt
genPrimitiveFormat(void)
{
	AbstractInstruction * _jumpIsImm;
	AbstractInstruction * _primitiveFailure;

	if (methodOrBlockNumArgs > 0) {
		return UnimplementedPrimitive;
	}
	_jumpIsImm = genJumpImmediate(ReceiverResultReg);
	genGetFormatOfinto(ReceiverResultReg, ReceiverResultReg);
	genConvertIntegerToSmallIntegerInReg(ReceiverResultReg);
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	/* begin Label */
	_primitiveFailure = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
	/* end Label */
	jmpTarget(_jumpIsImm, _primitiveFailure);
	return CompletePrimitive;
}
/* CogObjectRepresentation>>#genPrimitiveGreaterOrEqual */
static sqInt
genPrimitiveGreaterOrEqual(void)
{
	return genSmallIntegerComparisonorDoubleComparisoninvert(JumpGreaterOrEqual, gJumpFPGreaterOrEqual, 0);
}
/* CogObjectRepresentation>>#genPrimitiveGreaterThan */
static sqInt
genPrimitiveGreaterThan(void)
{
	return genSmallIntegerComparisonorDoubleComparisoninvert(JumpGreater, gJumpFPGreater, 0);
}
/* CogObjectRepresentation>>#genPrimitiveIdentical */
static sqInt
genPrimitiveIdentical(void)
{
	return genPrimitiveIdenticalOrNotIf(0);
}
/* CogObjectRepresentation>>#genPrimitiveLessOrEqual */
static sqInt
genPrimitiveLessOrEqual(void)
{
	return genSmallIntegerComparisonorDoubleComparisoninvert(JumpLessOrEqual, gJumpFPGreaterOrEqual, 1);
}
/* CogObjectRepresentation>>#genPrimitiveLessThan */
static sqInt
genPrimitiveLessThan(void)
{
	return genSmallIntegerComparisonorDoubleComparisoninvert(JumpLess, gJumpFPGreater, 1);
}
/* CogObjectRepresentation>>#genPrimitiveMod */
static sqInt
genPrimitiveMod(void)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_jumpExact;
	AbstractInstruction *_jumpNotSI;
	AbstractInstruction *_jumpSameSign;
	AbstractInstruction *_jumpZero;

	if (!(processorHasDivQuoRemAndMClassIsSmallInteger())) {
		return UnimplementedPrimitive;
	}
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, ClassReg);
	/* end MoveR:R: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpNotSI = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genRemoveSmallIntegerTagsInScratchReg(ClassReg);
	/* begin JumpZero: */
	_jumpZero = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, ClassReg, Arg1Reg);
	/* end MoveR:R: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, ReceiverResultReg, TempReg);
	/* end MoveR:R: */
	genRemoveSmallIntegerTagsInScratchReg(TempReg);
	gDivRRQuoRem(ClassReg, TempReg, TempReg, ClassReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, 0, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpZero: */
	_jumpExact = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	/* begin XorR:R: */
	genoperandoperand(XorRR, ClassReg, Arg1Reg);
	/* end XorR:R: */
	if (!(setsConditionCodesFor(lastOpcode(), JumpZero))) {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, 0, Arg1Reg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin JumpGreaterOrEqual: */
	_jumpSameSign = genConditionalBranchoperand(JumpGreaterOrEqual, ((sqInt) 0 ));
	/* end JumpGreaterOrEqual: */
	/* begin XorR:R: */
	genoperandoperand(XorRR, ClassReg, Arg1Reg);
	/* end XorR:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg1Reg, ClassReg);
	/* end AddR:R: */
	jmpTarget(_jumpSameSign, jmpTarget(_jumpExact, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	genSetSmallIntegerTagsIn(ClassReg);
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, ClassReg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpZero, jmpTarget(_jumpNotSI, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
}
/* CogObjectRepresentation>>#genPrimitiveMultiply */
static sqInt
genPrimitiveMultiply(void)
{
	AbstractInstruction *_jumpNotSI;
	AbstractInstruction *_jumpOvfl;

	if (!(processorHasMultiplyAndMClassIsSmallInteger())) {
		return UnimplementedPrimitive;
	}
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, ClassReg);
	/* end MoveR:R: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, ReceiverResultReg, Arg1Reg);
	/* end MoveR:R: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpNotSI = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(ClassReg);
	genRemoveSmallIntegerTagsInScratchReg(Arg1Reg);
	/* begin MulR:R: */
	genMulRR(backEnd, Arg1Reg, ClassReg);
	/* end MulR:R: */
	/* begin JumpMultiplyOverflow: */
	/* begin genJumpMultiplyOverflow: */
	_jumpOvfl = genConditionalBranchoperand(JumpOverflow, ((sqInt) 0 ));
	/* end genJumpMultiplyOverflow: */
	/* end JumpMultiplyOverflow: */
	genSetSmallIntegerTagsIn(ClassReg);
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, ClassReg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpOvfl, jmpTarget(_jumpNotSI, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
}
/*	subclasses override if they can */
/* CogObjectRepresentation>>#genPrimitiveNewMethod */
static sqInt
genPrimitiveNewMethod(void)
{
	return UnimplementedPrimitive;
}
/* CogObjectRepresentation>>#genPrimitiveNotEqual */
static sqInt
genPrimitiveNotEqual(void)
{
	return genSmallIntegerComparisonorDoubleComparisoninvert(JumpNonZero, gJumpFPNotEqual, 0);
}
/* CogObjectRepresentation>>#genPrimitiveNotIdentical */
static sqInt
genPrimitiveNotIdentical(void)
{
	return genPrimitiveIdenticalOrNotIf(1);
}
/* CogObjectRepresentation>>#genPrimitiveQuo */
static sqInt
genPrimitiveQuo(void)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_convert;
	AbstractInstruction *_jumpExact;
	AbstractInstruction *_jumpIsSI;
	AbstractInstruction *_jumpNotSI;
	AbstractInstruction *_jumpZero;

	if (!(processorHasDivQuoRemAndMClassIsSmallInteger())) {
		return UnimplementedPrimitive;
	}
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, ClassReg);
	/* end MoveR:R: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpNotSI = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(ClassReg);
	if (!(setsConditionCodesFor(lastOpcode(), JumpZero))) {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, 0, ClassReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin JumpZero: */
	_jumpZero = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, ReceiverResultReg, TempReg);
	/* end MoveR:R: */
	genConvertSmallIntegerToIntegerInReg(TempReg);
	gDivRRQuoRem(ClassReg, TempReg, TempReg, ClassReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, 0, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpZero: */
	_jumpExact = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	/* begin Label */
	_convert = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
	/* end Label */
	genConvertIntegerToSmallIntegerInReg(TempReg);
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, TempReg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpExact, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	_jumpIsSI = genJumpIsSmallIntegerValuescratch(TempReg, Arg1Reg);
	jmpTarget(_jumpIsSI, _convert);
	jmpTarget(_jumpZero, jmpTarget(_jumpNotSI, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
}
/* CogObjectRepresentation>>#genPrimitiveSmallFloatAdd */
static sqInt
genPrimitiveSmallFloatAdd(void)
{
	return genFloatArithmeticpreOpCheckboxed(AddRdRd, null, 0);
}
/* CogObjectRepresentation>>#genPrimitiveSmallFloatDivide */
static sqInt
genPrimitiveSmallFloatDivide(void)
{
	return genFloatArithmeticpreOpCheckboxed(DivRdRd, genDoubleFailIfZeroArgRcvrarg, 0);
}
/* CogObjectRepresentation>>#genPrimitiveSmallFloatEqual */
static sqInt
genPrimitiveSmallFloatEqual(void)
{
	return genFloatComparisoninvertboxed(gJumpFPEqual, 0, 0);
}
/* CogObjectRepresentation>>#genPrimitiveSmallFloatGreaterOrEqual */
static sqInt
genPrimitiveSmallFloatGreaterOrEqual(void)
{
	return genFloatComparisoninvertboxed(gJumpFPGreaterOrEqual, 0, 0);
}
/* CogObjectRepresentation>>#genPrimitiveSmallFloatGreaterThan */
static sqInt
genPrimitiveSmallFloatGreaterThan(void)
{
	return genFloatComparisoninvertboxed(gJumpFPGreater, 0, 0);
}
/* CogObjectRepresentation>>#genPrimitiveSmallFloatLessOrEqual */
static sqInt
genPrimitiveSmallFloatLessOrEqual(void)
{
	return genFloatComparisoninvertboxed(gJumpFPGreaterOrEqual, 1, 0);
}
/* CogObjectRepresentation>>#genPrimitiveSmallFloatLessThan */
static sqInt
genPrimitiveSmallFloatLessThan(void)
{
	return genFloatComparisoninvertboxed(gJumpFPGreater, 1, 0);
}
/* CogObjectRepresentation>>#genPrimitiveSmallFloatMultiply */
static sqInt
genPrimitiveSmallFloatMultiply(void)
{
	return genFloatArithmeticpreOpCheckboxed(MulRdRd, null, 0);
}
/* CogObjectRepresentation>>#genPrimitiveSmallFloatNotEqual */
static sqInt
genPrimitiveSmallFloatNotEqual(void)
{
	return genFloatComparisoninvertboxed(gJumpFPNotEqual, 0, 0);
}
/* CogObjectRepresentation>>#genPrimitiveSmallFloatSquareRoot */
static sqInt
genPrimitiveSmallFloatSquareRoot(void)
{
	AbstractInstruction *_jumpFailAlloc;
	AbstractInstruction *_jumpNegative;

	genGetSmallFloatValueOfscratchinto(ReceiverResultReg, SendNumArgsReg, DPFPReg0);
	{
		/* begin XorRd:Rd: */
		genoperandoperand(XorRdRd, DPFPReg1, DPFPReg1);
		/* end XorRd:Rd: */
		/* begin CmpRd:Rd: */
		genoperandoperand(CmpRdRd, DPFPReg0, DPFPReg1);
		/* end CmpRd:Rd: */
	}
	_jumpNegative = gJumpFPGreater(0);
	/* begin SqrtRd: */
	genoperand(SqrtRd, DPFPReg0);
	/* end SqrtRd: */
	_jumpFailAlloc = genAllocFloatValueintoscratchRegscratchReg(DPFPReg0, SendNumArgsReg, ClassReg, TempReg);
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, SendNumArgsReg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpNegative, jmpTarget(_jumpFailAlloc, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return 0;
}
/* CogObjectRepresentation>>#genPrimitiveSmallFloatSubtract */
static sqInt
genPrimitiveSmallFloatSubtract(void)
{
	return genFloatArithmeticpreOpCheckboxed(SubRdRd, null, 0);
}
/* CogObjectRepresentation>>#genPrimitiveSubtract */
static sqInt
genPrimitiveSubtract(void)
{
	AbstractInstruction *_jumpNotSI;
	AbstractInstruction *_jumpOvfl;

	if (!(mclassIsSmallInteger())) {
		return UnimplementedPrimitive;
	}
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpNotSI = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, ReceiverResultReg, TempReg);
	/* end MoveR:R: */
	/* begin SubR:R: */
	genoperandoperand(SubRR, Arg0Reg, TempReg);
	/* end SubR:R: */
	/* begin JumpOverflow: */
	_jumpOvfl = genConditionalBranchoperand(JumpOverflow, ((sqInt) 0 ));
	/* end JumpOverflow: */
	genAddSmallIntegerTagsTo(TempReg);
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, TempReg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpOvfl, jmpTarget(_jumpNotSI, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
}
/* CogObjectRepresentation>>#genSmallIntegerComparison: */
static sqInt NoDbgRegParms
genSmallIntegerComparison(sqInt _jumpOpcode)
{
	AbstractInstruction *_anInstruction;
	sqInt _constant;
	AbstractInstruction *_jumpFail;
	AbstractInstruction *_jumpTrue;

	if (!(mclassIsSmallInteger())) {
		return UnimplementedPrimitive;
	}
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpFail = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, Arg0Reg, ReceiverResultReg);
	/* end CmpR:R: */
	_jumpTrue = genConditionalBranchoperand(_jumpOpcode, 0);
	/* begin genMoveConstant:R: */
	_constant = falseObject();
	if (shouldAnnotateObjectReference(_constant)) {
		annotateobjRef(checkLiteralforInstruction(_constant, genoperandoperand(MoveCwR, _constant, ReceiverResultReg)), _constant);
	} else {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _constant, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* end genMoveConstant:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpTrue, genMoveConstantR(trueObject(), ReceiverResultReg));
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpFail, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return CompletePrimitive;
}
/*	Stack looks like 
	return address */
/* CogObjectRepresentation>>#genSmallIntegerComparison:orDoubleComparison:invert: */
static sqInt NoDbgRegParms
genSmallIntegerComparisonorDoubleComparisoninvert(sqInt _jumpOpcode, AbstractInstruction * NoDbgRegParms (*_jumpFPOpcodeGenerator)(void *), sqInt _invertComparison)
{
	AbstractInstruction *_anInstruction;
	sqInt _constant;
	AbstractInstruction *_jumpCond;
	AbstractInstruction *_jumpFail;
	AbstractInstruction *_jumpNonInt;
	sqInt _r;

	_jumpNonInt = ((AbstractInstruction *) 0 );
	_r = genSmallIntegerComparison(_jumpOpcode);
	if (_r < 0) {
		return _r;
	}
	
#  if defined(DPFPReg0)
	{
		{
			_jumpNonInt = genJumpImmediate(Arg0Reg);
		}
		genGetCompactClassIndexNonImmOfinto(Arg0Reg, SendNumArgsReg);
		genCmpClassFloatCompactIndexR(SendNumArgsReg);
		/* begin JumpNonZero: */
		_jumpFail = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		genConvertSmallIntegerToIntegerInReg(ReceiverResultReg);
		/* begin ConvertR:Rd: */
		genoperandoperand(ConvertRRd, ReceiverResultReg, DPFPReg0);
		/* end ConvertR:Rd: */
		genGetDoubleValueOfinto(Arg0Reg, DPFPReg1);
		if (_invertComparison) {
			/* begin CmpRd:Rd: */
			genoperandoperand(CmpRdRd, DPFPReg0, DPFPReg1);
			/* end CmpRd:Rd: */
		}
 else {
			/* begin CmpRd:Rd: */
			genoperandoperand(CmpRdRd, DPFPReg1, DPFPReg0);
			/* end CmpRd:Rd: */
		}
		_jumpCond = _jumpFPOpcodeGenerator(0);
		/* begin genMoveConstant:R: */
		_constant = falseObject();
		if (shouldAnnotateObjectReference(_constant)) {
			annotateobjRef(checkLiteralforInstruction(_constant, genoperandoperand(MoveCwR, _constant, ReceiverResultReg)), _constant);
		} else {
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperandoperand(MoveCqR, _constant, ReceiverResultReg);
			/* end checkQuickConstant:forInstruction: */
		}
		/* end genMoveConstant:R: */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
		jmpTarget(_jumpCond, genMoveConstantR(trueObject(), ReceiverResultReg));
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
		{
			jmpTarget(_jumpNonInt, jmpTarget(_jumpFail, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
		}
	}
#  endif /* defined(DPFPReg0) */
	return CompletePrimitive;
}
/* CogObjectRepresentation>>#isUnannotatableConstant: */
static sqInt NoDbgRegParms
isUnannotatableConstant(CogSimStackEntry *_simStackEntry)
{
	return (((_simStackEntry->type)) == SSConstant) && ((isImmediate((_simStackEntry->constant))) || (!(shouldAnnotateObjectReference((_simStackEntry->constant)))));
}
/* CogObjectRepresentationFor64BitSpur>>#classForInlineCacheTag: */
static sqInt NoDbgRegParms
classForInlineCacheTag(sqInt _classIndex)
{
	return classOrNilAtIndex(_classIndex);
}
/* CogObjectRepresentationFor64BitSpur>>#genAddSmallIntegerTagsTo: */
static sqInt NoDbgRegParms
genAddSmallIntegerTagsTo(sqInt _aRegister)
{
	AbstractInstruction *_anInstruction;

	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(AddCqR, 1, _aRegister);
	/* end checkQuickConstant:forInstruction: */
	return 0;
}
/* CogObjectRepresentationFor64BitSpur>>#genAlloc64BitPositiveIntegerValue:into:scratchReg:scratchReg: */
static AbstractInstruction * NoDbgRegParms
genAlloc64BitPositiveIntegerValueintoscratchRegscratchReg(sqInt _valueReg, sqInt _resultReg, sqInt _scratch1, sqInt scratch2)
{
	sqInt literal;
	sqInt _address;
	sqInt _address2;
	sqInt _allocSize;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction * _jumpFail;
	usqLong _newLPIHeader;
	sqInt _quickConstant;

	_allocSize = BaseHeaderSize + BytesPerWord;
	_newLPIHeader = headerForSlotsformatclassIndex(1, firstByteFormat(), ClassLargePositiveIntegerCompactIndex);
	/* begin MoveAw:R: */
	_address = freeStartAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction = genoperandoperand(MoveAwR, _address, _resultReg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperandoperand(LoadEffectiveAddressMwrR, _allocSize, _resultReg, _scratch1);
	/* end checkQuickConstant:forInstruction: */
	/* begin CmpCq:R: */
	_quickConstant = getScavengeThreshold();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, _scratch1);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpFail = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:Aw: */
	_address2 = freeStartAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction4 = genoperandoperand(MoveRAw, _scratch1, _address2);
	/* end checkLiteral:forInstruction: */
	/* end MoveR:Aw: */
	/* begin genStoreHeader:intoNewInstance:using: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction6 = genoperandoperand(MoveCqR, _newLPIHeader, _scratch1);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction22 = genoperandoperandoperand(MoveRMwr, _scratch1, 0, _resultReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* end genStoreHeader:intoNewInstance:using: */
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction5 = genoperandoperandoperand(MoveRMwr, _valueReg, BaseHeaderSize, _resultReg);
	/* end checkQuickConstant:forInstruction: */
	return _jumpFail;
}
/* CogObjectRepresentationFor64BitSpur>>#genAlloc64BitSignedIntegerValue:into:scratchReg:scratchReg: */
static AbstractInstruction * NoDbgRegParms
genAlloc64BitSignedIntegerValueintoscratchRegscratchReg(sqInt _valueReg, sqInt _resultReg, sqInt _scratch1, sqInt scratch2)
{
	sqInt literal2;
	sqInt _address;
	sqInt _address2;
	sqInt _allocSize;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_anInstruction8;
	AbstractInstruction * _jumpFail;
	AbstractInstruction * _jumpNeg;
	usqLong _newLNIHeader;
	sqInt _quickConstant;

	_allocSize = BaseHeaderSize + BytesPerWord;
	_newLNIHeader = headerForSlotsformatclassIndex(1, firstByteFormat(), ClassLargeNegativeIntegerCompactIndex);
	/* begin MoveAw:R: */
	_address = freeStartAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction = genoperandoperand(MoveAwR, _address, _resultReg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperandoperand(LoadEffectiveAddressMwrR, _allocSize, _resultReg, _scratch1);
	/* end checkQuickConstant:forInstruction: */
	/* begin CmpCq:R: */
	_quickConstant = getScavengeThreshold();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, _scratch1);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpFail = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:Aw: */
	_address2 = freeStartAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction4 = genoperandoperand(MoveRAw, _scratch1, _address2);
	/* end checkLiteral:forInstruction: */
	/* end MoveR:Aw: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction5 = genoperandoperand(MoveCqR, _newLNIHeader, _scratch1);
	/* end checkQuickConstant:forInstruction: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction6 = genoperandoperand(CmpCqR, 0, _valueReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpLess: */
	_jumpNeg = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
	/* end JumpLess: */
	assert((headerForSlotsformatclassIndex(0, 0, 1)) == 1);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction7 = genoperandoperand(AddCqR, ClassLargePositiveIntegerCompactIndex - ClassLargeNegativeIntegerCompactIndex, _scratch1);
	/* end checkQuickConstant:forInstruction: */
	jmpTarget(_jumpNeg, checkQuickConstantforInstruction(0, genoperandoperandoperand(MoveRMwr, _scratch1, 0, _resultReg)));
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction8 = genoperandoperandoperand(MoveRMwr, _valueReg, BaseHeaderSize, _resultReg);
	/* end checkQuickConstant:forInstruction: */
	return _jumpFail;
}
/*	Override to answer a SmallFloat64 if possible. */
/* CogObjectRepresentationFor64BitSpur>>#genAllocFloatValue:into:scratchReg:scratchReg: */
static AbstractInstruction * NoDbgRegParms
genAllocFloatValueintoscratchRegscratchReg(sqInt _dpreg, sqInt _resultReg, sqInt _scratch1, sqInt scratch2)
{
	sqInt literal;
	sqInt _address;
	sqInt _address2;
	usqIntptr_t _allocSize;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_jumpFail;
	AbstractInstruction *_jumpFail2;
	AbstractInstruction *_jumpMerge;
	AbstractInstruction *_jumpNotSF;
	usqLong _newFloatHeader;
	sqInt _quickConstant;

	/* begin MoveRd:R: */
	assert(BytesPerWord == 8);
	genoperandoperand(MoveRdR, _dpreg, _resultReg);
	/* end MoveRd:R: */
	_jumpNotSF = genJumpNotSmallFloatValueBitsscratch(_resultReg, _scratch1);
	genConvertBitsToSmallFloatInscratch(_resultReg, _scratch1);
	/* begin Jump: */
	_jumpMerge = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpNotSF, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	{
		_allocSize = BaseHeaderSize + (sizeof(double));
		_newFloatHeader = headerForSlotsformatclassIndex((sizeof(double)) / BytesPerWord, firstLongFormat(), ClassFloatCompactIndex);
		/* begin MoveAw:R: */
		_address = freeStartAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction = genoperandoperand(MoveAwR, _address, _resultReg);
		/* end checkLiteral:forInstruction: */
		/* end MoveAw:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperandoperand(LoadEffectiveAddressMwrR, _allocSize, _resultReg, _scratch1);
		/* end checkQuickConstant:forInstruction: */
		/* begin CmpCq:R: */
		_quickConstant = getScavengeThreshold();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, _scratch1);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpAboveOrEqual: */
		_jumpFail2 = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
		/* end JumpAboveOrEqual: */
		/* begin MoveR:Aw: */
		_address2 = freeStartAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction4 = genoperandoperand(MoveRAw, _scratch1, _address2);
		/* end checkLiteral:forInstruction: */
		/* end MoveR:Aw: */
		/* begin genStoreHeader:intoNewInstance:using: */
		{
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction6 = genoperandoperand(MoveCqR, _newFloatHeader, _scratch1);
			/* end checkQuickConstant:forInstruction: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction22 = genoperandoperandoperand(MoveRMwr, _scratch1, 0, _resultReg);
			/* end checkQuickConstant:forInstruction: */
		}
		/* end genStoreHeader:intoNewInstance:using: */
		/* begin checkQuickConstant:forInstruction: */
		literal = BaseHeaderSize;
		_anInstruction5 = genoperandoperandoperand(MoveRdM64r, _dpreg, BaseHeaderSize, _resultReg);
		/* end checkQuickConstant:forInstruction: */
		_jumpFail = _jumpFail2;
	}
	jmpTarget(_jumpMerge, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return _jumpFail;
}
/*	Must be pointer */
/* CogObjectRepresentationFor64BitSpur>>#genBoxedOrSmallFloat:scratchReg:into: */
static AbstractInstruction * NoDbgRegParms
genBoxedOrSmallFloatscratchReginto(sqInt _floatOopReg, sqInt _scratchReg, sqInt _destReg)
{
	AbstractInstruction *_jumpFail;
	AbstractInstruction *_jumpFail2;
	AbstractInstruction *_jumpFailClass;
	AbstractInstruction *_jumpImmediate;
	AbstractInstruction *_jumpMerge;
	AbstractInstruction *_jumpMerge2;
	AbstractInstruction *_jumpNonSmallFloat;

	_jumpNonSmallFloat = genJumpNotSmallFloat(_floatOopReg);
	genGetSmallFloatValueOfscratchinto(_floatOopReg, _scratchReg, _destReg);
	/* begin Jump: */
	_jumpMerge = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpNonSmallFloat, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	{
		_jumpImmediate = genJumpImmediate(_floatOopReg);
		genGetCompactClassIndexNonImmOfinto(_floatOopReg, _scratchReg);
		genCmpClassFloatCompactIndexR(_scratchReg);
		/* begin JumpNonZero: */
		_jumpFailClass = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		genGetDoubleValueOfinto(_floatOopReg, _destReg);
		/* begin Jump: */
		_jumpMerge2 = genoperand(Jump, ((sqInt) 0 ));
		/* end Jump: */
		jmpTarget(_jumpImmediate, jmpTarget(_jumpFailClass, (_jumpFail2 = genoperand(Jump, ((sqInt) 0 )))));
		jmpTarget(_jumpMerge2, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
		_jumpFail = _jumpFail2;
	}
	jmpTarget(_jumpMerge, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return _jumpFail;
}
/*	Set the SmallInteger tag bits when the tag bits may be filled with 
	garbage.  */
/* CogObjectRepresentationFor64BitSpur>>#genClearAndSetSmallIntegerTagsIn: */
static sqInt NoDbgRegParms
genClearAndSetSmallIntegerTagsIn(sqInt _scratchReg)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	sqInt _quickConstant;

	{
		/* begin AndCq:R: */
		_quickConstant = -1 - (tagMask());
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(AndCqR, _quickConstant, _scratchReg);
		/* end checkQuickConstant:forInstruction: */
		/* end AndCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperand(OrCqR, 1, _scratchReg);
		/* end checkQuickConstant:forInstruction: */
	}
	return 0;
}
/*	Convert the in-SmallFloat64-range floating point value in integer register 
	into a tagged SmallFloat64 oop. 
	c.f. Spur64BitMemoryManager>>smallFloatObjectOf: */
/* CogObjectRepresentationFor64BitSpur>>#genConvertBitsToSmallFloatIn:scratch: */
static sqInt NoDbgRegParms
genConvertBitsToSmallFloatInscratch(sqInt _reg, sqInt scratch)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_jumpZero;
	sqInt _quickConstant;
	sqInt _quickConstant2;

	{
		/* begin RotateLeftCq:R: */
		genoperandoperand(RotateLeftCqR, 1, _reg);
		/* end RotateLeftCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, 1, _reg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin JumpBelowOrEqual: */
	_jumpZero = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin SubCq:R: */
	_quickConstant = ((sqInt) (((usqInt) (smallFloatExponentOffset()) ) << ((smallFloatMantissaBits()) + 1)) );
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(SubCqR, _quickConstant, _reg);
	/* end checkQuickConstant:forInstruction: */
	/* end SubCq:R: */
	jmpTarget(_jumpZero, gLogicalShiftLeftCqR(numTagBits(), _reg));
	/* begin AddCq:R: */
	_quickConstant2 = smallFloatTag();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(AddCqR, _quickConstant2, _reg);
	/* end checkQuickConstant:forInstruction: */
	/* end AddCq:R: */
	return 0;
}
/*	Convert the Character in reg to a SmallInteger, assuming 
	the Character's value is a valid character. */
/* CogObjectRepresentationFor64BitSpur>>#genConvertCharacterToSmallIntegerInReg: */
static void NoDbgRegParms
genConvertCharacterToSmallIntegerInReg(sqInt _reg)
{
	AbstractInstruction *_anInstruction;
	sqInt _quickConstant;

	/* begin SubCq:R: */
	_quickConstant = (characterTag()) - (smallIntegerTag());
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(SubCqR, _quickConstant, _reg);
	/* end checkQuickConstant:forInstruction: */
	/* end SubCq:R: */
}
/* CogObjectRepresentationFor64BitSpur>>#genConvertDataFormat:numSlots:intoBytes: */
static void NoDbgRegParms
genConvertDataFormatnumSlotsintoBytes(sqInt _formatReg, sqInt _slotsRegister, sqInt _destReg)
{
	sqInt literal;
	sqInt literal2;
	sqInt literal3;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction * _jumpBytesDone;
	AbstractInstruction * _jumpIsBytes;
	AbstractInstruction * _jumpIsLongs;
	AbstractInstruction * _jumpIsShorts;
	AbstractInstruction * _jumpLongLongsDone;
	AbstractInstruction * _jumpLongsDone;
	AbstractInstruction * _jumpShortsDone;
	sqInt _quickConstant;
	sqInt _quickConstant2;
	sqInt _quickConstant3;

	if (_slotsRegister != _destReg) {
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, _slotsRegister, _destReg);
		/* end MoveR:R: */
	}
	/* begin CmpCq:R: */
	_quickConstant = firstByteFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpIsBytes = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant2 = firstShortFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant2, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpIsShorts = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant3 = firstLongFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant3, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpIsLongs = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin LogicalShiftLeftCq:R: */
	genoperandoperand(LogicalShiftLeftCqR, shiftForWord(), _destReg);
	/* end LogicalShiftLeftCq:R: */
	/* begin Jump: */
	_jumpLongLongsDone = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpIsBytes, gLogicalShiftLeftCqR(shiftForWord(), _destReg));
	/* begin checkQuickConstant:forInstruction: */
	literal = BytesPerWord - 1;
	_anInstruction4 = genoperandoperand(AndCqR, BytesPerWord - 1, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin SubR:R: */
	genoperandoperand(SubRR, _formatReg, _destReg);
	/* end SubR:R: */
	/* begin Jump: */
	_jumpBytesDone = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpIsShorts, gLogicalShiftLeftCqR((shiftForWord()) - 1, _destReg));
	/* begin checkQuickConstant:forInstruction: */
	literal2 = (((usqInt) BytesPerWord ) >> 1) - 1;
	_anInstruction5 = genoperandoperand(AndCqR, (((usqInt) BytesPerWord ) >> 1) - 1, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin SubR:R: */
	genoperandoperand(SubRR, _formatReg, _destReg);
	/* end SubR:R: */
	/* begin LogicalShiftLeftCq:R: */
	genoperandoperand(LogicalShiftLeftCqR, 1, _destReg);
	/* end LogicalShiftLeftCq:R: */
	/* begin Jump: */
	_jumpShortsDone = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpIsLongs, gLogicalShiftLeftCqR((shiftForWord()) - 2, _destReg));
	/* begin checkQuickConstant:forInstruction: */
	literal3 = (((usqInt) BytesPerWord ) >> 2) - 1;
	_anInstruction6 = genoperandoperand(AndCqR, (((usqInt) BytesPerWord ) >> 2) - 1, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin SubR:R: */
	genoperandoperand(SubRR, _formatReg, _destReg);
	/* end SubR:R: */
	/* begin LogicalShiftLeftCq:R: */
	genoperandoperand(LogicalShiftLeftCqR, 2, _destReg);
	/* end LogicalShiftLeftCq:R: */
	/* begin Jump: */
	_jumpLongsDone = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpLongLongsDone, jmpTarget(_jumpLongsDone, jmpTarget(_jumpShortsDone, jmpTarget(_jumpBytesDone, genoperandoperand(Label, (labelCounter += 1), bytecodePC)))));
}
/* CogObjectRepresentationFor64BitSpur>>#genConvertIntegerToSmallIntegerInReg: */
static sqInt NoDbgRegParms
genConvertIntegerToSmallIntegerInReg(sqInt _reg)
{
	AbstractInstruction *_anInstruction;
	sqInt _quickConstant;

	/* begin LogicalShiftLeftCq:R: */
	_quickConstant = numTagBits();
	genoperandoperand(LogicalShiftLeftCqR, _quickConstant, _reg);
	/* end LogicalShiftLeftCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(AddCqR, 1, _reg);
	/* end checkQuickConstant:forInstruction: */
	return 0;
}
/*	Convert the SmallFloat in reg to its identityHash as a SmallInteger. 
	Rotate the sign bit from bit 3 (zero-relative) to the sign bit.  
	c.f. Spur64BitMemoryManager>>rotatedFloatBitsOf: */
/* CogObjectRepresentationFor64BitSpur>>#genConvertSmallFloatToSmallFloatHashAsIntegerInReg:scratch: */
static sqInt NoDbgRegParms
genConvertSmallFloatToSmallFloatHashAsIntegerInRegscratch(sqInt _reg, sqInt _scratch)
{
	AbstractInstruction *_anInstruction;
	sqInt _quickConstant;
	sqInt _quickConstant2;

	assert(((((usqInt) (smallFloatTag()) ) >> 1) - (smallIntegerTag())) == (smallIntegerTag()));
	{
		/* begin LogicalShiftRightCq:R: */
		genoperandoperand(LogicalShiftRightCqR, 1, _reg);
		/* end LogicalShiftRightCq:R: */
		gAndCqRR(1U << ((numTagBits()) - 1), _reg, _scratch);
		/* begin SubR:R: */
		genoperandoperand(SubRR, _scratch, _reg);
		/* end SubR:R: */
		/* begin SubCq:R: */
		_quickConstant2 = (((usqInt) (smallFloatTag()) ) >> 1) - (smallIntegerTag());
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(SubCqR, _quickConstant2, _reg);
		/* end checkQuickConstant:forInstruction: */
		/* end SubCq:R: */
		/* begin LogicalShiftLeftCq:R: */
		_quickConstant = 0x3F - ((numTagBits()) - 1);
		genoperandoperand(LogicalShiftLeftCqR, _quickConstant, _scratch);
		/* end LogicalShiftLeftCq:R: */
		/* begin OrR:R: */
		genoperandoperand(OrRR, _scratch, _reg);
		/* end OrR:R: */
	}
	return 0;
}
/*	Convert the SmallInteger in reg to a Character, assuming 
	the SmallInteger's value is a valid character. */
/* CogObjectRepresentationFor64BitSpur>>#genConvertSmallIntegerToCharacterInReg: */
static void NoDbgRegParms
genConvertSmallIntegerToCharacterInReg(sqInt _reg)
{
	AbstractInstruction *_anInstruction;
	sqInt _quickConstant;

	/* begin AddCq:R: */
	_quickConstant = (characterTag()) - (smallIntegerTag());
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(AddCqR, _quickConstant, _reg);
	/* end checkQuickConstant:forInstruction: */
	/* end AddCq:R: */
}
/* CogObjectRepresentationFor64BitSpur>>#genConvertSmallIntegerToIntegerInReg: */
static sqInt NoDbgRegParms
genConvertSmallIntegerToIntegerInReg(sqInt _reg)
{
	sqInt _quickConstant;

	/* begin ArithmeticShiftRightCq:R: */
	_quickConstant = numTagBits();
	genoperandoperand(ArithmeticShiftRightCqR, _quickConstant, _reg);
	/* end ArithmeticShiftRightCq:R: */
	return 0;
}
/* CogObjectRepresentationFor64BitSpur>>#genFloatArithmetic:preOpCheck:boxed: */
static sqInt NoDbgRegParms
genFloatArithmeticpreOpCheckboxed(sqInt _arithmeticOperator, AbstractInstruction *(*_preOpCheckOrNil)(int rcvrReg, int argReg), sqInt _rcvrBoxed)
{
	AbstractInstruction *_doOp;
	AbstractInstruction *_jumpFailAlloc;
	AbstractInstruction *_jumpFailCheck;
	AbstractInstruction *_jumpImmediate;
	AbstractInstruction *_jumpNotBoxedFloat;
	AbstractInstruction *_jumpNotSmallFloat;
	AbstractInstruction *_jumpNotSmallInteger;

	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	_jumpFailCheck = ((AbstractInstruction *) 0 );
	/* end genLoadArgAtDepth:into: */
	if (_rcvrBoxed) {
		genGetDoubleValueOfinto(ReceiverResultReg, DPFPReg0);
	}
 else {
		genGetSmallFloatValueOfscratchinto(ReceiverResultReg, TempReg, DPFPReg0);
	}
	_jumpNotSmallFloat = genJumpNotSmallFloat(Arg0Reg);
	genGetSmallFloatValueOfscratchinto(Arg0Reg, TempReg, DPFPReg1);
	/* begin Label */
	_doOp = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
	/* end Label */
	if (_preOpCheckOrNil) {
		_jumpFailCheck = _preOpCheckOrNil(DPFPReg0, DPFPReg1);
	}
	genoperandoperand(_arithmeticOperator, DPFPReg1, DPFPReg0);
	_jumpFailAlloc = genAllocFloatValueintoscratchRegscratchReg(DPFPReg0, SendNumArgsReg, ClassReg, TempReg);
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, SendNumArgsReg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpNotSmallFloat, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	_jumpNotSmallInteger = genJumpNotSmallInteger(Arg0Reg);
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	/* begin ConvertR:Rd: */
	genoperandoperand(ConvertRRd, Arg1Reg, DPFPReg1);
	/* end ConvertR:Rd: */
	/* begin Jump: */
	genoperand(Jump, ((sqInt) _doOp ));
	/* end Jump: */
	jmpTarget(_jumpNotSmallInteger, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	_jumpImmediate = genJumpImmediate(Arg0Reg);
	genGetCompactClassIndexNonImmOfinto(Arg0Reg, SendNumArgsReg);
	genCmpClassFloatCompactIndexR(SendNumArgsReg);
	/* begin JumpNonZero: */
	_jumpNotBoxedFloat = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	genGetDoubleValueOfinto(Arg0Reg, DPFPReg1);
	/* begin Jump: */
	genoperand(Jump, ((sqInt) _doOp ));
	/* end Jump: */
	jmpTarget(_jumpImmediate, jmpTarget(_jumpNotBoxedFloat, jmpTarget(_jumpNotSmallInteger, jmpTarget(_jumpFailAlloc, genoperandoperand(Label, (labelCounter += 1), bytecodePC)))));
	if (_preOpCheckOrNil) {
		jmpTarget(_jumpFailCheck, ((AbstractInstruction *) ((_jumpFailAlloc->operands)[0]) ));
	}
	return 0;
}
/* CogObjectRepresentationFor64BitSpur>>#genFloatComparison:invert:boxed: */
static sqInt NoDbgRegParms
genFloatComparisoninvertboxed(AbstractInstruction *(*_jumpOpcodeGenerator)(void *), sqInt _invertComparison, sqInt _rcvrBoxed)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction * _compare;
	sqInt _constant;
	AbstractInstruction *_jumpCond;
	AbstractInstruction *_jumpImmediate;
	AbstractInstruction *_jumpNotBoxedFloat;
	AbstractInstruction *_jumpNotSmallFloat;
	AbstractInstruction *_jumpNotSmallInteger;

	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	if (_rcvrBoxed) {
		genGetDoubleValueOfinto(ReceiverResultReg, DPFPReg0);
	}
 else {
		genGetSmallFloatValueOfscratchinto(ReceiverResultReg, TempReg, DPFPReg0);
	}
	_jumpNotSmallFloat = genJumpNotSmallFloat(Arg0Reg);
	genGetSmallFloatValueOfscratchinto(Arg0Reg, TempReg, DPFPReg1);
	if (_invertComparison) {
		/* begin CmpRd:Rd: */
		_compare = genoperandoperand(CmpRdRd, DPFPReg0, DPFPReg1);
		/* end CmpRd:Rd: */
	}
 else {
		/* begin CmpRd:Rd: */
		_compare = genoperandoperand(CmpRdRd, DPFPReg1, DPFPReg0);
		/* end CmpRd:Rd: */
	}
	_jumpCond = _jumpOpcodeGenerator(0);
	/* begin genMoveConstant:R: */
	_constant = falseObject();
	if (shouldAnnotateObjectReference(_constant)) {
		annotateobjRef(checkLiteralforInstruction(_constant, genoperandoperand(MoveCwR, _constant, ReceiverResultReg)), _constant);
	} else {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _constant, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* end genMoveConstant:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpCond, genMoveConstantR(trueObject(), ReceiverResultReg));
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpNotSmallFloat, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	_jumpNotSmallInteger = genJumpNotSmallInteger(Arg0Reg);
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	/* begin ConvertR:Rd: */
	genoperandoperand(ConvertRRd, Arg0Reg, DPFPReg1);
	/* end ConvertR:Rd: */
	/* begin Jump: */
	genoperand(Jump, ((sqInt) _compare ));
	/* end Jump: */
	jmpTarget(_jumpNotSmallInteger, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	_jumpImmediate = genJumpImmediate(Arg0Reg);
	genGetCompactClassIndexNonImmOfinto(Arg0Reg, SendNumArgsReg);
	genCmpClassFloatCompactIndexR(SendNumArgsReg);
	/* begin JumpNonZero: */
	_jumpNotBoxedFloat = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	genGetDoubleValueOfinto(Arg0Reg, DPFPReg1);
	/* begin Jump: */
	genoperand(Jump, ((sqInt) _compare ));
	/* end Jump: */
	jmpTarget(_jumpImmediate, jmpTarget(_jumpNotBoxedFloat, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
}
/*	Fetch the instance's identity hash into destReg, encoded as a 
	SmallInteger.  */
/* CogObjectRepresentationFor64BitSpur>>#genGetHashFieldNonImmOf:asSmallIntegerInto: */
static sqInt NoDbgRegParms
genGetHashFieldNonImmOfasSmallIntegerInto(sqInt _instReg, sqInt _destReg)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _quickConstant;
	sqInt _quickConstant2;
	sqInt _quickConstant3;

	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMwrR, 0, _instReg, _destReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin LogicalShiftRightCq:R: */
		_quickConstant = (identityHashFullWordShift()) - (numTagBits());
		genoperandoperand(LogicalShiftRightCqR, _quickConstant, _destReg);
		/* end LogicalShiftRightCq:R: */
		/* begin AndCq:R: */
		_quickConstant2 = ((sqInt) (((usqInt) (identityHashHalfWordMask()) ) << (numTagBits())) );
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperand(AndCqR, _quickConstant2, _destReg);
		/* end checkQuickConstant:forInstruction: */
		/* end AndCq:R: */
		/* begin AddCq:R: */
		_quickConstant3 = smallIntegerTag();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperand(AddCqR, _quickConstant3, _destReg);
		/* end checkQuickConstant:forInstruction: */
		/* end AddCq:R: */
	}
	return 0;
}
/*	Fetch the instance's identity hash into destReg, unencoded. */
/* CogObjectRepresentationFor64BitSpur>>#genGetHashFieldNonImmOf:into: */
static sqInt NoDbgRegParms
genGetHashFieldNonImmOfinto(sqInt _instReg, sqInt _destReg)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	sqInt _quickConstant;

	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMwrR, 0, _instReg, _destReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin LogicalShiftRightCq:R: */
		genoperandoperand(LogicalShiftRightCqR, 32, _destReg);
		/* end LogicalShiftRightCq:R: */
		/* begin AndCq:R: */
		_quickConstant = identityHashHalfWordMask();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperand(AndCqR, _quickConstant, _destReg);
		/* end checkQuickConstant:forInstruction: */
		/* end AndCq:R: */
	}
	return 0;
}
/*	Extract the inline cache tag for the object in sourceReg into destReg. The 
	inline cache tag for a given object is the value loaded in inline caches 
	to distinguish 
	objects of different classes. In Spur this is either the tags for 
	immediates, or 
	the receiver's classIndex. Answer the label for the start of the sequence. */
/* CogObjectRepresentationFor64BitSpur>>#genGetInlineCacheClassTagFrom:into: */
static AbstractInstruction * NoDbgRegParms
genGetInlineCacheClassTagFrominto(sqInt _sourceReg, sqInt _destReg)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_entryLabel;
	AbstractInstruction *_jumpImm;
	sqInt _quickConstant;

	/* begin Label */
	_entryLabel = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
	/* end Label */
	gAndCqRR(tagMask(), _sourceReg, _destReg);
	/* begin JumpNonZero: */
	_jumpImm = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	flag("endianness");
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperandoperand(MoveMwrR, 0, _sourceReg, _destReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AndCq:R: */
	_quickConstant = classIndexMask();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(AndCqR, _quickConstant, _destReg);
	/* end checkQuickConstant:forInstruction: */
	/* end AndCq:R: */
	jmpTarget(_jumpImm, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return _entryLabel;
}
/*	Get the size in byte-sized slots of the object in srcReg into destReg. 
	srcReg may equal destReg. 
	destReg <- numSlots << self shiftForWord - (fmt bitAnd: 7). 
	Assumes the object in srcReg has a byte format, i.e. 16 to 23 or 24 to 31 */
/* CogObjectRepresentationFor64BitSpur>>#genGetNumBytesOf:into: */
static sqInt NoDbgRegParms
genGetNumBytesOfinto(sqInt _srcReg, sqInt _destReg)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_jmp;
	sqInt _quickConstant;

	genGetRawSlotSizeOfNonImminto(_srcReg, _destReg);
	/* begin CmpCq:R: */
	_quickConstant = numSlotsMask();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(CmpCqR, _quickConstant, _destReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpLess: */
	_jmp = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
	/* end JumpLess: */
	genGetOverflowSlotsOfinto(_srcReg, _destReg);
	jmpTarget(_jmp, gLogicalShiftLeftCqR(shiftForWord(), _destReg));
	genGetBitsofFormatByteOfinto(7, _srcReg, TempReg);
	/* begin SubR:R: */
	genoperandoperand(SubRR, TempReg, _destReg);
	/* end SubR:R: */
	return 0;
}
/* CogObjectRepresentationFor64BitSpur>>#genGetOverflowSlotsOf:into: */
static sqInt NoDbgRegParms
genGetOverflowSlotsOfinto(sqInt _srcReg, sqInt _destReg)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;

	{
		/* begin checkQuickConstant:forInstruction: */
		literal = -BaseHeaderSize;
		_anInstruction = genoperandoperandoperand(MoveMwrR, -BaseHeaderSize, _srcReg, _destReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin LogicalShiftLeftCq:R: */
		genoperandoperand(LogicalShiftLeftCqR, 8, _destReg);
		/* end LogicalShiftLeftCq:R: */
		/* begin LogicalShiftRightCq:R: */
		genoperandoperand(LogicalShiftRightCqR, 8, _destReg);
		/* end LogicalShiftRightCq:R: */
	}
	return 0;
}
/*	Convert the SmallFloat oop in ooppReg into the corresponding float value 
	in dpReg. 
	c.f. Spur64BitMemoryManager>>smallFloatBitsOf: */
/* CogObjectRepresentationFor64BitSpur>>#genGetSmallFloatValueOf:scratch:into: */
static sqInt NoDbgRegParms
genGetSmallFloatValueOfscratchinto(sqInt _oopReg, sqInt _scratch, sqInt _dpReg)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_jumpSFZero;
	sqInt _quickConstant;
	sqInt _quickConstant2;

	{
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, _oopReg, _scratch);
		/* end MoveR:R: */
		/* begin LogicalShiftRightCq:R: */
		_quickConstant = numTagBits();
		genoperandoperand(LogicalShiftRightCqR, _quickConstant, _scratch);
		/* end LogicalShiftRightCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, 1, _scratch);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin JumpLessOrEqual: */
	_jumpSFZero = genConditionalBranchoperand(JumpLessOrEqual, ((sqInt) 0 ));
	/* end JumpLessOrEqual: */
	/* begin AddCq:R: */
	_quickConstant2 = ((sqInt) (((usqInt) (smallFloatExponentOffset()) ) << ((smallFloatMantissaBits()) + 1)) );
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(AddCqR, _quickConstant2, _scratch);
	/* end checkQuickConstant:forInstruction: */
	/* end AddCq:R: */
	jmpTarget(_jumpSFZero, genoperandoperand(RotateRightCqR, 1, _scratch));
	/* begin MoveR:Rd: */
	assert(BytesPerWord == 8);
	genoperandoperand(MoveRRd, _scratch, _dpReg);
	/* end MoveR:Rd: */
	return 0;
}
/* CogObjectRepresentationFor64BitSpur>>#genIntegerTo64BitPositiveIntegerValue:into:scratchReg:scratchReg: */
static AbstractInstruction * NoDbgRegParms
genIntegerTo64BitPositiveIntegerValueintoscratchRegscratchReg(sqInt _valueReg, sqInt _resultReg, sqInt _scratch1, sqInt _scratch2)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_jumpFail;
	AbstractInstruction *_jumpMerge;
	AbstractInstruction *_jumpNotSmallInteger;
	sqInt _quickConstant;

	/* begin MoveR:R: */
	genoperandoperand(MoveRR, _valueReg, _scratch1);
	/* end MoveR:R: */
	/* begin LogicalShiftRightCq:R: */
	_quickConstant = (numSmallIntegerBits()) - 1;
	genoperandoperand(LogicalShiftRightCqR, _quickConstant, _scratch1);
	/* end LogicalShiftRightCq:R: */
	if (!(setsConditionCodesFor(lastOpcode(), JumpZero))) {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, 0, _scratch1);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin JumpNonZero: */
	_jumpNotSmallInteger = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, _valueReg, _resultReg);
	/* end MoveR:R: */
	genConvertIntegerToSmallIntegerInReg(_resultReg);
	/* begin Jump: */
	_jumpMerge = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpNotSmallInteger, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	_jumpFail = genAlloc64BitPositiveIntegerValueintoscratchRegscratchReg(_valueReg, _resultReg, _scratch1, _scratch2);
	jmpTarget(_jumpMerge, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return _jumpFail;
}
/* CogObjectRepresentationFor64BitSpur>>#genIntegerTo64BitSignedIntegerValue:into:scratchReg:scratchReg: */
static AbstractInstruction * NoDbgRegParms
genIntegerTo64BitSignedIntegerValueintoscratchRegscratchReg(sqInt _valueReg, sqInt _resultReg, sqInt _scratch1, sqInt _scratch2)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_jumpFail;
	AbstractInstruction *_jumpMerge;
	AbstractInstruction *_jumpNotSmallInteger;
	sqInt _quickConstant;

	/* begin MoveR:R: */
	genoperandoperand(MoveRR, _valueReg, _scratch1);
	/* end MoveR:R: */
	/* begin ArithmeticShiftRightCq:R: */
	_quickConstant = numSmallIntegerBits();
	genoperandoperand(ArithmeticShiftRightCqR, _quickConstant, _scratch1);
	/* end ArithmeticShiftRightCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(AddCqR, 1, _scratch1);
	/* end checkQuickConstant:forInstruction: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, 1, _scratch1);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpAbove: */
	_jumpNotSmallInteger = genConditionalBranchoperand(JumpAbove, ((sqInt) 0 ));
	/* end JumpAbove: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, _valueReg, _resultReg);
	/* end MoveR:R: */
	genConvertIntegerToSmallIntegerInReg(_resultReg);
	/* begin Jump: */
	_jumpMerge = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpNotSmallInteger, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	_jumpFail = genAlloc64BitSignedIntegerValueintoscratchRegscratchReg(_valueReg, _resultReg, _scratch1, _scratch2);
	jmpTarget(_jumpMerge, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return _jumpFail;
}
/*	Generate a test for aRegister containing an integer value in the 
	SmallInteger range, and a jump if so, answering the jump. 
	c.f. Spur64BitMemoryManager>>isIntegerValue: */
/* CogObjectRepresentationFor64BitSpur>>#genJumpIsSmallIntegerValue:scratch: */
static AbstractInstruction * NoDbgRegParms
genJumpIsSmallIntegerValuescratch(sqInt _aRegister, sqInt _scratchReg)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _quickConstant;
	sqInt _quickConstant2;

	return (/* begin MoveR:R: */ genoperandoperand(MoveRR, _aRegister, _scratchReg) /* end MoveR:R: */, /* begin ArithmeticShiftRightCq:R: */ (_quickConstant = 0x3F - (numTagBits())), genoperandoperand(ArithmeticShiftRightCqR, _quickConstant, _scratchReg) /* end ArithmeticShiftRightCq:R: */, /* begin checkQuickConstant:forInstruction: */ (_anInstruction = genoperandoperand(AddCqR, 1, _scratchReg)) /* end checkQuickConstant:forInstruction: */, /* begin AndCq:R: */ (_quickConstant2 = (1U << ((numTagBits()) + 1)) - 1), /* begin checkQuickConstant:forInstruction: */ (_anInstruction2 = genoperandoperand(AndCqR, _quickConstant2, _scratchReg)) /* end checkQuickConstant:forInstruction: */ /* end AndCq:R: */, /* begin checkQuickConstant:forInstruction: */ (_anInstruction3 = genoperandoperand(CmpCqR, 1, _scratchReg)) /* end checkQuickConstant:forInstruction: */, /* begin JumpLessOrEqual: */ genConditionalBranchoperand(JumpLessOrEqual, ((sqInt) 0 )) /* end JumpLessOrEqual: */);
}
/*	Generate a compare and branch to test if aRegister contains other than a 
	Character.  */
/* CogObjectRepresentationFor64BitSpur>>#genJumpNotCharacter: */
static AbstractInstruction * NoDbgRegParms
genJumpNotCharacter(sqInt _reg)
{
	AbstractInstruction *_anInstruction;
	sqInt _quickConstant;

	return (/* begin TstCq:R: */ (_quickConstant = characterTag()), /* begin checkQuickConstant:forInstruction: */ (_anInstruction = genoperandoperand(TstCqR, _quickConstant, _reg)) /* end checkQuickConstant:forInstruction: */ /* end TstCq:R: */, /* begin JumpZero: */ genConditionalBranchoperand(JumpZero, ((sqInt) 0 )) /* end JumpZero: */);
}
/*	Generate a test to check that the integer register contains a floating 
	point value within the SmallFloat64 range, 
	and answer the jump. c.f. Spur64BitMemoryManager>>isSmallFloatValue: */
/* CogObjectRepresentationFor64BitSpur>>#genJumpNotSmallFloatValueBits:scratch: */
static AbstractInstruction * NoDbgRegParms
genJumpNotSmallFloatValueBitsscratch(sqInt _reg, sqInt _exponent)
{
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_jumpFail;
	AbstractInstruction *_jumpMaxExponent;
	AbstractInstruction *_jumpMinExponent;
	AbstractInstruction *_jumpTest;
	AbstractInstruction *_jumpZeroMantissa;
	sqInt _quickConstant;
	sqInt _quickConstant3;
	sqInt _quickConstant4;
	sqInt _quickConstant5;

	flag("if we combine the exponent range test with the conversion to tagged representation we test for a zero exponent only once. further, if we extract tags once into a scratch on the input side we test for immediates, SmallInteger and SmallFloat using the same intermediate result.  so to do is to move fp arithmetic into the object representations");
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, _reg, _exponent);
	/* end MoveR:R: */
	{
		{
			/* begin LogicalShiftLeftCq:R: */
			genoperandoperand(LogicalShiftLeftCqR, 1, _exponent);
			/* end LogicalShiftLeftCq:R: */
			/* begin LogicalShiftRightCq:R: */
			_quickConstant = (smallFloatMantissaBits()) + 1;
			genoperandoperand(LogicalShiftRightCqR, _quickConstant, _exponent);
			/* end LogicalShiftRightCq:R: */
		}
	}
	/* begin CmpCq:R: */
	_quickConstant3 = smallFloatExponentOffset();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant3, _exponent);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpLessOrEqual: */
	_jumpMinExponent = genConditionalBranchoperand(JumpLessOrEqual, ((sqInt) 0 ));
	/* end JumpLessOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant4 = 0xFF + (smallFloatExponentOffset());
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant4, _exponent);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpLessOrEqual: */
	_jumpMaxExponent = genConditionalBranchoperand(JumpLessOrEqual, ((sqInt) 0 ));
	/* end JumpLessOrEqual: */
	/* begin Jump: */
	_jumpFail = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpMinExponent, gTstCqR((1ULL << (smallFloatMantissaBits())) - 1, _reg));
	/* begin JumpZero: */
	_jumpZeroMantissa = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	/* begin CmpCq:R: */
	_quickConstant5 = smallFloatExponentOffset();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction4 = genoperandoperand(CmpCqR, _quickConstant5, _exponent);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin Jump: */
	_jumpTest = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpZeroMantissa, checkQuickConstantforInstruction(0, genoperandoperand(CmpCqR, 0, _exponent)));
	jmpTarget(_jumpTest, genConditionalBranchoperand(JumpNonZero, ((sqInt) _jumpFail )));
	jmpTarget(_jumpMaxExponent, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return _jumpFail;
}
/*	Generate a compare and branch to test if aRegister contains other than a 
	SmallFloat. Answer the jump. */
/* CogObjectRepresentationFor64BitSpur>>#genJumpNotSmallFloat: */
static AbstractInstruction * NoDbgRegParms
genJumpNotSmallFloat(sqInt _reg)
{
	AbstractInstruction *_anInstruction;
	sqInt _quickConstant;

	return (/* begin TstCq:R: */ (_quickConstant = smallFloatTag()), /* begin checkQuickConstant:forInstruction: */ (_anInstruction = genoperandoperand(TstCqR, _quickConstant, _reg)) /* end checkQuickConstant:forInstruction: */ /* end TstCq:R: */, /* begin JumpZero: */ genConditionalBranchoperand(JumpZero, ((sqInt) 0 )) /* end JumpZero: */);
}
/*	Generate a test for aRegister containing an integer value outside the 
	SmallInteger range, and a jump if so, answering the jump. 
	c.f. Spur64BitMemoryManager>>isIntegerValue: */
/* CogObjectRepresentationFor64BitSpur>>#genJumpNotSmallIntegerValue:scratch: */
static AbstractInstruction * NoDbgRegParms
genJumpNotSmallIntegerValuescratch(sqInt _aRegister, sqInt _scratchReg)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _quickConstant;
	sqInt _quickConstant2;

	return (/* begin MoveR:R: */ genoperandoperand(MoveRR, _aRegister, _scratchReg) /* end MoveR:R: */, /* begin ArithmeticShiftRightCq:R: */ (_quickConstant = 0x3F - (numTagBits())), genoperandoperand(ArithmeticShiftRightCqR, _quickConstant, _scratchReg) /* end ArithmeticShiftRightCq:R: */, /* begin checkQuickConstant:forInstruction: */ (_anInstruction = genoperandoperand(AddCqR, 1, _scratchReg)) /* end checkQuickConstant:forInstruction: */, /* begin AndCq:R: */ (_quickConstant2 = (1U << ((numTagBits()) + 1)) - 1), /* begin checkQuickConstant:forInstruction: */ (_anInstruction2 = genoperandoperand(AndCqR, _quickConstant2, _scratchReg)) /* end checkQuickConstant:forInstruction: */ /* end AndCq:R: */, /* begin checkQuickConstant:forInstruction: */ (_anInstruction3 = genoperandoperand(CmpCqR, 1, _scratchReg)) /* end checkQuickConstant:forInstruction: */, /* begin JumpGreater: */ genConditionalBranchoperand(JumpGreater, ((sqInt) 0 )) /* end JumpGreater: */);
}
/*	Generate a compare and branch to test if aRegister contains other than a 
	SmallInteger.  */
/* CogObjectRepresentationFor64BitSpur>>#genJumpNotSmallInteger: */
static AbstractInstruction * NoDbgRegParms
genJumpNotSmallInteger(sqInt _reg)
{
	AbstractInstruction *_anInstruction;
	sqInt _quickConstant;

	return (/* begin TstCq:R: */ (_quickConstant = smallIntegerTag()), /* begin checkQuickConstant:forInstruction: */ (_anInstruction = genoperandoperand(TstCqR, _quickConstant, _reg)) /* end checkQuickConstant:forInstruction: */ /* end TstCq:R: */, /* begin JumpZero: */ genConditionalBranchoperand(JumpZero, ((sqInt) 0 )) /* end JumpZero: */);
}
/*	Generate a compare and branch to test if aRegister contains a 
	SmallInteger. Answer the jump, or UnimplementedOperation if this cannot be 
	done with 
	a single register. */
/* CogObjectRepresentationFor64BitSpur>>#genJumpSmallInteger: */
static AbstractInstruction * NoDbgRegParms
genJumpSmallInteger(sqInt _aRegister)
{
	AbstractInstruction *_anInstruction;
	sqInt _quickConstant;

	return (/* begin TstCq:R: */ (_quickConstant = smallIntegerTag()), /* begin checkQuickConstant:forInstruction: */ (_anInstruction = genoperandoperand(TstCqR, _quickConstant, _aRegister)) /* end checkQuickConstant:forInstruction: */ /* end TstCq:R: */, /* begin JumpNonZero: */ genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 )) /* end JumpNonZero: */);
}
/*	Generate the code for primitives 61 & 165, at:put:/basicAt:put: & 
	integerAt:put:. If signedVersion is true 
	then generate signed accesses to the bits classes (a la 164 & 165). If 
	signedVersion is false, 
	generate unsigned accesses (a la 60, 61, 63 & 64).c.f. StackInterpreter>>stSizeOf: SpurMemoryManager>>lengthOf:format: 
	fixedFieldsOf:format:length:  */
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveAtPutSigned: */
static sqInt NoDbgRegParms
genPrimitiveAtPutSigned(sqInt _signedVersion)
{
	sqInt literal;
	sqInt literal2;
	sqInt literal3;
	sqInt literal4;
	sqInt literal5;
	sqInt literal6;
	sqInt literal7;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction10;
	AbstractInstruction *_anInstruction11;
	AbstractInstruction *_anInstruction12;
	AbstractInstruction *_anInstruction13;
	AbstractInstruction *_anInstruction14;
	AbstractInstruction *_anInstruction15;
	AbstractInstruction *_anInstruction16;
	AbstractInstruction *_anInstruction17;
	AbstractInstruction *_anInstruction18;
	AbstractInstruction *_anInstruction19;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction20;
	AbstractInstruction *_anInstruction21;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction23;
	AbstractInstruction *_anInstruction24;
	AbstractInstruction *_anInstruction25;
	AbstractInstruction *_anInstruction26;
	AbstractInstruction *_anInstruction27;
	AbstractInstruction *_anInstruction28;
	AbstractInstruction *_anInstruction29;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction30;
	AbstractInstruction *_anInstruction31;
	AbstractInstruction *_anInstruction32;
	AbstractInstruction *_anInstruction33;
	AbstractInstruction *_anInstruction34;
	AbstractInstruction *_anInstruction35;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_anInstruction8;
	AbstractInstruction *_anInstruction9;
	sqInt _formatReg;
	AbstractInstruction * _jump64BitArgIsImmediate;
	AbstractInstruction * _jump64BitsOutOfBounds;
	AbstractInstruction * _jumpArrayOutOfBounds;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpBytesOutOfBounds;
	AbstractInstruction * _jumpBytesOutOfRange;
	AbstractInstruction * _jumpDoubleWordsOutOfRange;
	AbstractInstruction * _jumpFixedFieldsOutOfBounds;
	AbstractInstruction * _jumpHasFixedFields;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpImmutable;
	AbstractInstruction * _jumpIsBytes;
	AbstractInstruction * _jumpIsCompiledMethod;
	AbstractInstruction * _jumpIsContext;
	AbstractInstruction * _jumpIsShorts;
	AbstractInstruction * _jumpIsWords;
	AbstractInstruction * _jumpNegative;
	AbstractInstruction * _jumpNonSmallIntegerValue;
	AbstractInstruction * _jumpNot64BitIndexable;
	AbstractInstruction * _jumpNot8ByteInteger;
	AbstractInstruction * _jumpNotIndexableBits;
	AbstractInstruction * _jumpNotIndexablePointers;
	AbstractInstruction * _jumpNotPointers;
	AbstractInstruction * _jumpShortsOutOfBounds;
	AbstractInstruction * _jumpShortsOutOfRange;
	AbstractInstruction * _jumpWordsOutOfBounds;
	AbstractInstruction * _jumpWordsOutOfRange;
	AbstractInstruction * _methodInBounds;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;
	sqInt _quickConstant10;
	sqInt _quickConstant11;
	sqInt _quickConstant2;
	sqInt _quickConstant3;
	sqInt _quickConstant4;
	sqInt _quickConstant5;
	sqInt _quickConstant6;
	sqInt _quickConstant7;
	sqInt _quickConstant8;
	sqInt _quickConstant9;
	AbstractInstruction * _rejoin;

	_jumpDoubleWordsOutOfRange = ((AbstractInstruction *) 0 );
	_jumpImmutable = ((AbstractInstruction *) 0 );
	_jumpNegative = ((AbstractInstruction *) 0 );
	_nSlotsOrBytesReg = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction12 = genoperandoperand(SubCqR, 1, Arg0Reg);
	/* end checkQuickConstant:forInstruction: */
	
#  if IMMUTABILITY
	{
		genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
		/* begin genJumpBaseHeaderImmutable: */
		/* begin TstCq:R: */
		_quickConstant11 = immutableBitMask();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction35 = genoperandoperand(TstCqR, _quickConstant11, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end TstCq:R: */
		/* begin JumpNonZero: */
		_jumpImmutable = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		/* end genJumpBaseHeaderImmutable: */
	}
#  else /* IMMUTABILITY */
	{
		genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), NoReg);
	}
#  endif /* IMMUTABILITY */
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = weakArrayFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction13 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAbove: */
	_jumpNotPointers = genConditionalBranchoperand(JumpAbove, ((sqInt) 0 ));
	/* end JumpAbove: */
	genStoreCheckReceiverRegvalueRegscratchReginFrame(ReceiverResultReg, Arg1Reg, TempReg, 0);
	/* begin CmpCq:R: */
	_quickConstant2 = arrayFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction14 = genoperandoperand(CmpCqR, _quickConstant2, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpNotIndexablePointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	/* begin JumpNonZero: */
	_jumpHasFixedFields = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, Arg0Reg, _nSlotsOrBytesReg);
	/* end CmpR:R: */
	/* begin JumpBelowOrEqual: */
	_jumpArrayOutOfBounds = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin AddCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction15 = genoperandoperand(AddCqR, ((usqInt) BaseHeaderSize ) >> (shiftForWord()), Arg0Reg);
	/* end checkQuickConstant:forInstruction: */
	/* end AddCq:R: */
	/* begin MoveR:Xwr:R: */
	genoperandoperandoperand(MoveRXwrR, Arg1Reg, Arg0Reg, ReceiverResultReg);
	/* end MoveR:Xwr:R: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpHasFixedFields, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	genGetClassIndexOfNonImminto(ReceiverResultReg, _formatReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction16 = genoperandoperand(CmpCqR, ClassMethodContextCompactIndex, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpZero: */
	_jumpIsContext = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	genGetClassObjectOfClassIndexintoscratchReg(_formatReg, Extra0Reg, TempReg);
	genLoadSlotsourceRegdestReg(InstanceSpecificationIndex, Extra0Reg, _formatReg);
	genConvertSmallIntegerToIntegerInReg(_formatReg);
	/* begin AndCq:R: */
	_quickConstant3 = fixedFieldsOfClassFormatMask();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction17 = genoperandoperand(AndCqR, _quickConstant3, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end AndCq:R: */
	/* begin SubR:R: */
	genoperandoperand(SubRR, _formatReg, _nSlotsOrBytesReg);
	/* end SubR:R: */
	/* begin AddCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction18 = genoperandoperand(AddCqR, ((usqInt) BaseHeaderSize ) >> (shiftForWord()), _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end AddCq:R: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, Arg0Reg, _nSlotsOrBytesReg);
	/* end CmpR:R: */
	/* begin JumpBelowOrEqual: */
	_jumpFixedFieldsOutOfBounds = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, _formatReg, Arg0Reg);
	/* end AddR:R: */
	/* begin MoveR:Xwr:R: */
	genoperandoperandoperand(MoveRXwrR, Arg1Reg, Arg0Reg, ReceiverResultReg);
	/* end MoveR:Xwr:R: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpNotPointers, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpNonSmallIntegerValue = genJumpNotSmallInteger(Arg1Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	/* begin CmpCq:R: */
	_quickConstant4 = firstByteFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction19 = genoperandoperand(CmpCqR, _quickConstant4, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpIsBytes = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant5 = firstShortFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction20 = genoperandoperand(CmpCqR, _quickConstant5, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpIsShorts = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant6 = firstLongFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction21 = genoperandoperand(CmpCqR, _quickConstant6, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpIsWords = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant7 = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction22 = genoperandoperand(CmpCqR, _quickConstant7, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNotIndexableBits = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg1Reg, SendNumArgsReg);
	/* end MoveR:R: */
	genConvertSmallIntegerToIntegerInReg(SendNumArgsReg);
	if (!_signedVersion) {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, 0, SendNumArgsReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin JumpLess: */
		_jumpNegative = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
		/* end JumpLess: */
	}
	/* begin CmpR:R: */
	_rejoin = genoperandoperand(CmpRR, Arg0Reg, _nSlotsOrBytesReg);
	/* end CmpR:R: */
	/* begin JumpBelowOrEqual: */
	_jump64BitsOutOfBounds = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin AddCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction23 = genoperandoperand(AddCqR, ((usqInt) BaseHeaderSize ) >> (shiftForWord()), Arg0Reg);
	/* end checkQuickConstant:forInstruction: */
	/* end AddCq:R: */
	/* begin MoveR:Xwr:R: */
	genoperandoperandoperand(MoveRXwrR, SendNumArgsReg, Arg0Reg, ReceiverResultReg);
	/* end MoveR:Xwr:R: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpNonSmallIntegerValue, gCmpCqR(sixtyFourBitIndexableFormat(), _formatReg));
	/* begin JumpNonZero: */
	_jumpNot64BitIndexable = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	_jump64BitArgIsImmediate = genJumpImmediate(Arg1Reg);
	if (_signedVersion) {
		/* begin checkQuickConstant:forInstruction: */
		literal = BaseHeaderSize;
		_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, Arg1Reg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperand(CmpCqR, 0, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin JumpLess: */
		_jumpDoubleWordsOutOfRange = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
		/* end JumpLess: */
	}
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction24 = genoperandoperandoperand(MoveMwrR, 0, Arg1Reg, SendNumArgsReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AndCq:R: */
	_quickConstant8 = headerForSlotsformatclassIndex(numSlotsMask(), formatMask(), classIndexMask());
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction25 = genoperandoperand(AndCqR, _quickConstant8, SendNumArgsReg);
	/* end checkQuickConstant:forInstruction: */
	/* end AndCq:R: */
	/* begin CmpCq:R: */
	_quickConstant9 = headerForSlotsformatclassIndex(1, firstByteFormat(), ClassLargePositiveIntegerCompactIndex);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction26 = genoperandoperand(CmpCqR, _quickConstant9, SendNumArgsReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNot8ByteInteger = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin checkQuickConstant:forInstruction: */
	literal3 = BaseHeaderSize;
	_anInstruction27 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, Arg1Reg, SendNumArgsReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin Jump: */
	genoperand(Jump, ((sqInt) _rejoin ));
	/* end Jump: */
	if (_signedVersion) {
		jmpTarget(_jumpNot8ByteInteger, gCmpCqR(headerForSlotsformatclassIndex(1, firstByteFormat(), ClassLargeNegativeIntegerCompactIndex), SendNumArgsReg));
		/* begin JumpNonZero: */
		_jumpNot8ByteInteger = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		/* begin checkQuickConstant:forInstruction: */
		literal2 = BaseHeaderSize;
		_anInstruction4 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, Arg1Reg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(MoveCqR, 0, SendNumArgsReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin SubR:R: */
		genoperandoperand(SubRR, TempReg, SendNumArgsReg);
		/* end SubR:R: */
		/* begin Jump: */
		genoperand(Jump, ((sqInt) _rejoin ));
		/* end Jump: */
	}
	if (_signedVersion) {
		jmpTarget(_jumpIsWords, genoperandoperand(MoveRR, SendNumArgsReg, TempReg));
		/* begin ArithmeticShiftRightCq:R: */
		genoperandoperand(ArithmeticShiftRightCqR, 0x1F, TempReg);
		/* end ArithmeticShiftRightCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction6 = genoperandoperand(AddCqR, 1, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction7 = genoperandoperand(CmpCqR, 1, TempReg);
		/* end checkQuickConstant:forInstruction: */
	} else {
		jmpTarget(_jumpIsWords, checkQuickConstantforInstruction(((((usqInt) 0xFFFFFFFFU ) << 3) | 1), genoperandoperand(CmpCqR, ((((usqInt) 0xFFFFFFFFU ) << 3) | 1), Arg1Reg)));
	}
	/* begin JumpAbove: */
	_jumpWordsOutOfRange = genConditionalBranchoperand(JumpAbove, ((sqInt) 0 ));
	/* end JumpAbove: */
	/* begin LogicalShiftLeftCq:R: */
	genoperandoperand(LogicalShiftLeftCqR, (shiftForWord()) - 2, _nSlotsOrBytesReg);
	/* end LogicalShiftLeftCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal4 = (BytesPerWord / 4) - 1;
	_anInstruction28 = genoperandoperand(AndCqR, (BytesPerWord / 4) - 1, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin SubR:R: */
	genoperandoperand(SubRR, _formatReg, _nSlotsOrBytesReg);
	/* end SubR:R: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, Arg0Reg, _nSlotsOrBytesReg);
	/* end CmpR:R: */
	/* begin JumpBelowOrEqual: */
	_jumpWordsOutOfBounds = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg1Reg, TempReg);
	/* end MoveR:R: */
	genConvertSmallIntegerToIntegerInReg(TempReg);
	/* begin AddCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction29 = genoperandoperand(AddCqR, ((usqInt) BaseHeaderSize ) >> ((shiftForWord()) - 1), Arg0Reg);
	/* end checkQuickConstant:forInstruction: */
	/* end AddCq:R: */
	/* begin MoveR:X32r:R: */
	genoperandoperandoperand(MoveRX32rR, TempReg, Arg0Reg, ReceiverResultReg);
	/* end MoveR:X32r:R: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	if (_signedVersion) {
		jmpTarget(_jumpIsBytes, genoperandoperand(MoveRR, SendNumArgsReg, TempReg));
		/* begin ArithmeticShiftRightCq:R: */
		genoperandoperand(ArithmeticShiftRightCqR, 7, TempReg);
		/* end ArithmeticShiftRightCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction8 = genoperandoperand(AddCqR, 1, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction9 = genoperandoperand(CmpCqR, 1, TempReg);
		/* end checkQuickConstant:forInstruction: */
	} else {
		jmpTarget(_jumpIsBytes, checkQuickConstantforInstruction(((((usqInt) 0xFF ) << 3) | 1), genoperandoperand(CmpCqR, ((((usqInt) 0xFF ) << 3) | 1), Arg1Reg)));
	}
	/* begin JumpAbove: */
	_jumpBytesOutOfRange = genConditionalBranchoperand(JumpAbove, ((sqInt) 0 ));
	/* end JumpAbove: */
	/* begin LogicalShiftLeftCq:R: */
	genoperandoperand(LogicalShiftLeftCqR, shiftForWord(), _nSlotsOrBytesReg);
	/* end LogicalShiftLeftCq:R: */
	gAndCqRR(BytesPerWord - 1, _formatReg, TempReg);
	/* begin SubR:R: */
	genoperandoperand(SubRR, TempReg, _nSlotsOrBytesReg);
	/* end SubR:R: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, Arg0Reg, _nSlotsOrBytesReg);
	/* end CmpR:R: */
	/* begin JumpBelowOrEqual: */
	_jumpBytesOutOfBounds = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant10 = firstCompiledMethodFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction30 = genoperandoperand(CmpCqR, _quickConstant10, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpIsCompiledMethod = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:R: */
	_methodInBounds = genoperandoperand(MoveRR, Arg1Reg, TempReg);
	/* end MoveR:R: */
	genConvertSmallIntegerToIntegerInReg(TempReg);
	/* begin checkQuickConstant:forInstruction: */
	literal5 = BaseHeaderSize;
	_anInstruction31 = genoperandoperand(AddCqR, BaseHeaderSize, Arg0Reg);
	/* end checkQuickConstant:forInstruction: */
	/* begin MoveR:Xbr:R: */
	genoperandoperandoperand(MoveRXbrR, TempReg, Arg0Reg, ReceiverResultReg);
	/* end MoveR:Xbr:R: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	if (_signedVersion) {
		jmpTarget(_jumpIsShorts, genoperandoperand(MoveRR, SendNumArgsReg, TempReg));
		/* begin ArithmeticShiftRightCq:R: */
		genoperandoperand(ArithmeticShiftRightCqR, 15, TempReg);
		/* end ArithmeticShiftRightCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction10 = genoperandoperand(AddCqR, 1, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction11 = genoperandoperand(CmpCqR, 1, TempReg);
		/* end checkQuickConstant:forInstruction: */
	} else {
		jmpTarget(_jumpIsShorts, checkQuickConstantforInstruction(((((usqInt) 0xFFFF ) << 3) | 1), genoperandoperand(CmpCqR, ((((usqInt) 0xFFFF ) << 3) | 1), Arg1Reg)));
	}
	/* begin JumpAbove: */
	_jumpShortsOutOfRange = genConditionalBranchoperand(JumpAbove, ((sqInt) 0 ));
	/* end JumpAbove: */
	/* begin LogicalShiftLeftCq:R: */
	genoperandoperand(LogicalShiftLeftCqR, (shiftForWord()) - 1, _nSlotsOrBytesReg);
	/* end LogicalShiftLeftCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal6 = (BytesPerWord / 2) - 1;
	_anInstruction32 = genoperandoperand(AndCqR, (BytesPerWord / 2) - 1, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin SubR:R: */
	genoperandoperand(SubRR, _formatReg, _nSlotsOrBytesReg);
	/* end SubR:R: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, Arg0Reg, _nSlotsOrBytesReg);
	/* end CmpR:R: */
	/* begin JumpBelowOrEqual: */
	_jumpShortsOutOfBounds = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg1Reg, TempReg);
	/* end MoveR:R: */
	genConvertSmallIntegerToIntegerInReg(TempReg);
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg0Reg, ReceiverResultReg);
	/* end AddR:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg0Reg, ReceiverResultReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal7 = BaseHeaderSize;
	_anInstruction33 = genoperandoperandoperand(MoveRM16r, TempReg, BaseHeaderSize, ReceiverResultReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpIsCompiledMethod, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	getLiteralCountOfplusOneinBytesintoscratch(ReceiverResultReg, 1, 1, _nSlotsOrBytesReg, TempReg);
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, Arg0Reg, _nSlotsOrBytesReg);
	/* end CmpR:R: */
	/* begin JumpBelow: */
	genConditionalBranchoperand(JumpBelow, ((sqInt) _methodInBounds ));
	/* end JumpBelow: */
	jmpTarget(_jumpNot8ByteInteger, jmpTarget(_jump64BitArgIsImmediate, jmpTarget(_jumpNot64BitIndexable, jmpTarget(_jumpIsContext, jmpTarget(_jumpNotIndexableBits, jmpTarget(_jumpBytesOutOfRange, jmpTarget(_jumpShortsOutOfRange, jmpTarget(_jumpWordsOutOfRange, jmpTarget(_jumpIsCompiledMethod, jmpTarget(_jumpArrayOutOfBounds, jmpTarget(_jumpBytesOutOfBounds, jmpTarget(_jumpShortsOutOfBounds, jmpTarget(_jumpWordsOutOfBounds, jmpTarget(_jump64BitsOutOfBounds, jmpTarget(_jumpNotIndexablePointers, jmpTarget(_jumpFixedFieldsOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC)))))))))))))))));
	if (_signedVersion) {
		jmpTarget(_jumpDoubleWordsOutOfRange, ((AbstractInstruction *) ((_jumpIsContext->operands)[0]) ));
	}
 else {
		jmpTarget(_jumpNegative, ((AbstractInstruction *) ((_jumpIsContext->operands)[0]) ));
	}
	
#  if IMMUTABILITY
	{
		jmpTarget(_jumpImmutable, ((AbstractInstruction *) ((_jumpIsContext->operands)[0]) ));
	}
#  endif /* IMMUTABILITY */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction34 = genoperandoperand(AddCqR, 1, Arg0Reg);
	/* end checkQuickConstant:forInstruction: */
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return 0;
}
/*	Generate the code for primitives 60 & 164, at:/basicAt: & integerAt:. If 
	signedVersion is true 
	then generate signed accesses to the bits classes (a la 164 & 165). If 
	signedVersion is false, 
	generate unsigned accesses (a la 60, 61, 63 & 64).c.f. StackInterpreter>>stSizeOf: SpurMemoryManager>>lengthOf:format: 
	fixedFieldsOf:format:length:  */
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveAtSigned: */
static sqInt NoDbgRegParms
genPrimitiveAtSigned(sqInt _signedVersion)
{
	sqInt literal;
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction10;
	AbstractInstruction *_anInstruction11;
	AbstractInstruction *_anInstruction12;
	AbstractInstruction *_anInstruction13;
	AbstractInstruction *_anInstruction14;
	AbstractInstruction *_anInstruction15;
	AbstractInstruction *_anInstruction16;
	AbstractInstruction *_anInstruction17;
	AbstractInstruction *_anInstruction18;
	AbstractInstruction *_anInstruction19;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction20;
	AbstractInstruction *_anInstruction21;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_anInstruction8;
	AbstractInstruction *_anInstruction9;
	AbstractInstruction * _convertToIntAndReturn;
	sqInt _formatReg;
	AbstractInstruction * _jumpArrayOutOfBounds;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpBytesOutOfBounds;
	AbstractInstruction * _jumpFailAlloc;
	AbstractInstruction * _jumpFixedFieldsOutOfBounds;
	AbstractInstruction * _jumpHasFixedFields;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIs16bitIndexable;
	AbstractInstruction * _jumpIs32bitIndexable;
	AbstractInstruction * _jumpIs64bitIndexable;
	AbstractInstruction * _jumpIsArray;
	AbstractInstruction * _jumpIsBytes;
	AbstractInstruction * _jumpIsContext;
	AbstractInstruction * _jumpIsMethod;
	AbstractInstruction * _jumpLongsOutOfBounds;
	AbstractInstruction * _jumpNotIndexable;
	AbstractInstruction * _jumpNotSmallInteger;
	AbstractInstruction * _jumpShortsOutOfBounds;
	AbstractInstruction * _jumpWordsOutOfBounds;
	AbstractInstruction * _methodInBounds;
	sqInt _nSlotsOrElementsReg;
	sqInt _quickConstant;
	sqInt _quickConstant10;
	sqInt _quickConstant2;
	sqInt _quickConstant3;
	sqInt _quickConstant4;
	sqInt _quickConstant5;
	sqInt _quickConstant6;
	sqInt _quickConstant7;
	sqInt _quickConstant8;
	sqInt _quickConstant9;

	_nSlotsOrElementsReg = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction5 = genoperandoperand(SubCqR, 1, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrElementsReg);
	/* begin CmpCq:R: */
	_quickConstant4 = firstByteFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction6 = genoperandoperand(CmpCqR, _quickConstant4, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpIsBytes = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant5 = arrayFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction7 = genoperandoperand(CmpCqR, _quickConstant5, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpZero: */
	_jumpIsArray = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	/* begin JumpBelow: */
	_jumpNotIndexable = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	/* begin CmpCq:R: */
	_quickConstant6 = weakArrayFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction8 = genoperandoperand(CmpCqR, _quickConstant6, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelowOrEqual: */
	_jumpHasFixedFields = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant7 = firstShortFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction9 = genoperandoperand(CmpCqR, _quickConstant7, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpIs16bitIndexable = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant8 = firstLongFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction10 = genoperandoperand(CmpCqR, _quickConstant8, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpIs32bitIndexable = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant9 = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction11 = genoperandoperand(CmpCqR, _quickConstant9, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpZero: */
	_jumpIs64bitIndexable = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	jmpTarget(_jumpNotIndexable, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	/* begin Jump: */
	_jumpNotIndexable = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpIsArray, genoperandoperand(CmpRR, Arg1Reg, _nSlotsOrElementsReg));
	/* begin JumpBelowOrEqual: */
	_jumpArrayOutOfBounds = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin AddCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction12 = genoperandoperand(AddCqR, ((usqInt) BaseHeaderSize ) >> (shiftForWord()), Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	/* end AddCq:R: */
	/* begin MoveXwr:R:R: */
	genoperandoperandoperand(MoveXwrRR, Arg1Reg, ReceiverResultReg, ReceiverResultReg);
	/* end MoveXwr:R:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpIsBytes, gLogicalShiftLeftCqR(shiftForWord(), _nSlotsOrElementsReg));
	gAndCqRR(7, _formatReg, TempReg);
	{
		/* begin SubR:R: */
		genoperandoperand(SubRR, TempReg, _nSlotsOrElementsReg);
		/* end SubR:R: */
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, Arg1Reg, _nSlotsOrElementsReg);
		/* end CmpR:R: */
	}
	/* begin JumpBelowOrEqual: */
	_jumpBytesOutOfBounds = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant10 = firstCompiledMethodFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction13 = genoperandoperand(CmpCqR, _quickConstant10, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpIsMethod = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction14 = genoperandoperand(AddCqR, BaseHeaderSize, Arg1Reg);
	_methodInBounds = _anInstruction14;
	/* end checkQuickConstant:forInstruction: */
	if (_signedVersion) {
		/* begin MoveXbr:R:R: */
		genoperandoperandoperand(MoveXbrRR, Arg1Reg, ReceiverResultReg, ReceiverResultReg);
		/* end MoveXbr:R:R: */
	} else {
		{
			/* begin MoveXbr:R:R: */
			genoperandoperandoperand(MoveXbrRR, Arg1Reg, ReceiverResultReg, _formatReg);
			/* end MoveXbr:R:R: */
			/* begin MoveR:R: */
			genoperandoperand(MoveRR, _formatReg, ReceiverResultReg);
			/* end MoveR:R: */
		}
	}
	if (_signedVersion) {
		/* begin SignExtend8R:R: */
		{
			genoperandoperand(SignExtend8RR, ReceiverResultReg, ReceiverResultReg);
			goto l11;
		}
		l11:
		;
		/* end SignExtend8R:R: */
	}
	/* begin Label */
	_convertToIntAndReturn = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
	/* end Label */
	genConvertIntegerToSmallIntegerInReg(ReceiverResultReg);
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpIs16bitIndexable, gLogicalShiftLeftCqR((shiftForWord()) - 1, _nSlotsOrElementsReg));
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction15 = genoperandoperand(AndCqR, 3, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin SubR:R: */
		genoperandoperand(SubRR, _formatReg, _nSlotsOrElementsReg);
		/* end SubR:R: */
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, Arg1Reg, _nSlotsOrElementsReg);
		/* end CmpR:R: */
	}
	/* begin JumpBelowOrEqual: */
	_jumpShortsOutOfBounds = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg1Reg, ReceiverResultReg);
	/* end AddR:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg1Reg, ReceiverResultReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction16 = genoperandoperandoperand(MoveM16rR, BaseHeaderSize, ReceiverResultReg, ReceiverResultReg);
	/* end checkQuickConstant:forInstruction: */
	if (_signedVersion) {
		/* begin SignExtend16R:R: */
		{
			genoperandoperand(SignExtend16RR, ReceiverResultReg, ReceiverResultReg);
			goto l18;
		}
		l18:
		;
		/* end SignExtend16R:R: */
	}
	/* begin Jump: */
	genoperand(Jump, ((sqInt) _convertToIntAndReturn ));
	/* end Jump: */
	jmpTarget(_jumpIs32bitIndexable, gLogicalShiftLeftCqR((shiftForWord()) - 2, _nSlotsOrElementsReg));
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction17 = genoperandoperand(AndCqR, 1, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin SubR:R: */
		genoperandoperand(SubRR, _formatReg, _nSlotsOrElementsReg);
		/* end SubR:R: */
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, Arg1Reg, _nSlotsOrElementsReg);
		/* end CmpR:R: */
	}
	/* begin JumpBelowOrEqual: */
	_jumpWordsOutOfBounds = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin AddCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction18 = genoperandoperand(AddCqR, ((usqInt) BaseHeaderSize ) >> ((shiftForWord()) - 1), Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	/* end AddCq:R: */
	/* begin MoveX32r:R:R: */
	genoperandoperandoperand(MoveX32rRR, Arg1Reg, ReceiverResultReg, TempReg);
	/* end MoveX32r:R:R: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, TempReg, ReceiverResultReg);
	/* end MoveR:R: */
	if (_signedVersion) {
		/* begin SignExtend32R:R: */
		{
			genoperandoperand(SignExtend32RR, ReceiverResultReg, ReceiverResultReg);
			goto l25;
		}
		l25:
		;
		/* end SignExtend32R:R: */
	}
	/* begin Jump: */
	genoperand(Jump, ((sqInt) _convertToIntAndReturn ));
	/* end Jump: */
	jmpTarget(_jumpHasFixedFields, gAndCqR(classIndexMask(), TempReg));
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, TempReg, _formatReg);
	/* end MoveR:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction19 = genoperandoperand(CmpCqR, ClassMethodContextCompactIndex, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpZero: */
	_jumpIsContext = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	genGetClassObjectOfClassIndexintoscratchReg(_formatReg, Extra0Reg, TempReg);
	genLoadSlotsourceRegdestReg(InstanceSpecificationIndex, Extra0Reg, _formatReg);
	genConvertSmallIntegerToIntegerInReg(_formatReg);
	{
		/* begin AndCq:R: */
		_quickConstant3 = fixedFieldsOfClassFormatMask();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(AndCqR, _quickConstant3, _formatReg);
		/* end checkQuickConstant:forInstruction: */
		/* end AndCq:R: */
		/* begin SubR:R: */
		genoperandoperand(SubRR, _formatReg, _nSlotsOrElementsReg);
		/* end SubR:R: */
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, Arg1Reg, _nSlotsOrElementsReg);
		/* end CmpR:R: */
	}
	/* begin JumpBelowOrEqual: */
	_jumpFixedFieldsOutOfBounds = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, _formatReg, Arg1Reg);
	/* end AddR:R: */
	/* begin AddCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction20 = genoperandoperand(AddCqR, ((usqInt) BaseHeaderSize ) >> (shiftForWord()), Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	/* end AddCq:R: */
	/* begin MoveXwr:R:R: */
	genoperandoperandoperand(MoveXwrRR, Arg1Reg, ReceiverResultReg, ReceiverResultReg);
	/* end MoveXwr:R:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpIs64bitIndexable, genoperandoperand(CmpRR, Arg1Reg, _nSlotsOrElementsReg));
	/* begin JumpBelowOrEqual: */
	_jumpLongsOutOfBounds = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin AddCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction21 = genoperandoperand(AddCqR, ((usqInt) BaseHeaderSize ) >> (shiftForWord()), Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	/* end AddCq:R: */
	/* begin MoveXwr:R:R: */
	genoperandoperandoperand(MoveXwrRR, Arg1Reg, ReceiverResultReg, ClassReg);
	/* end MoveXwr:R:R: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, ClassReg, TempReg);
	/* end MoveR:R: */
	if (_signedVersion) {
		/* begin ArithmeticShiftRightCq:R: */
		_quickConstant = numSmallIntegerBits();
		genoperandoperand(ArithmeticShiftRightCqR, _quickConstant, TempReg);
		/* end ArithmeticShiftRightCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperand(AndCqR, 15, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperand(CmpCqR, 1, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin JumpAbove: */
		_jumpNotSmallInteger = genConditionalBranchoperand(JumpAbove, ((sqInt) 0 ));
		/* end JumpAbove: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, ClassReg, ReceiverResultReg);
		/* end MoveR:R: */
		/* begin Jump: */
		genoperand(Jump, ((sqInt) _convertToIntAndReturn ));
		/* end Jump: */
		jmpTarget(_jumpNotSmallInteger, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
		_jumpFailAlloc = genAlloc64BitSignedIntegerValueintoscratchRegscratchReg(ClassReg, SendNumArgsReg, Extra0Reg, TempReg);
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, SendNumArgsReg, ReceiverResultReg);
		/* end MoveR:R: */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
	} else {
		/* begin LogicalShiftRightCq:R: */
		_quickConstant2 = (numSmallIntegerBits()) - 1;
		genoperandoperand(LogicalShiftRightCqR, _quickConstant2, TempReg);
		/* end LogicalShiftRightCq:R: */
		if (!(setsConditionCodesFor(lastOpcode(), JumpZero))) {
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction4 = genoperandoperand(CmpCqR, 0, TempReg);
			/* end checkQuickConstant:forInstruction: */
		}
		/* begin JumpNonZero: */
		_jumpNotSmallInteger = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, ClassReg, ReceiverResultReg);
		/* end MoveR:R: */
		/* begin Jump: */
		genoperand(Jump, ((sqInt) _convertToIntAndReturn ));
		/* end Jump: */
		jmpTarget(_jumpNotSmallInteger, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
		_jumpFailAlloc = genAlloc64BitPositiveIntegerValueintoscratchRegscratchReg(ClassReg, SendNumArgsReg, Extra0Reg, TempReg);
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, SendNumArgsReg, ReceiverResultReg);
		/* end MoveR:R: */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
	}
	jmpTarget(_jumpIsMethod, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	getLiteralCountOfplusOneinBytesintoscratch(ReceiverResultReg, 1, 1, _nSlotsOrElementsReg, TempReg);
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, Arg1Reg, _nSlotsOrElementsReg);
	/* end CmpR:R: */
	/* begin JumpBelow: */
	genConditionalBranchoperand(JumpBelow, ((sqInt) _methodInBounds ));
	/* end JumpBelow: */
	jmpTarget(_jumpFailAlloc, jmpTarget(_jumpLongsOutOfBounds, jmpTarget(_jumpFixedFieldsOutOfBounds, jmpTarget(_jumpArrayOutOfBounds, jmpTarget(_jumpBytesOutOfBounds, jmpTarget(_jumpShortsOutOfBounds, jmpTarget(_jumpWordsOutOfBounds, jmpTarget(_jumpNotIndexable, jmpTarget(_jumpIsContext, jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))))))))));
	return 0;
}
/*	Arguably we should fail for immediates, but so far no one has complained, 
	so...  */
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveIdentityHash */
static sqInt
genPrimitiveIdentityHash(void)
{
	AbstractInstruction *_abstractInstruction;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_jumpImm;
	AbstractInstruction *_jumpNotCharacter;
	AbstractInstruction *_jumpNotSet;
	sqInt _quickConstant;
	AbstractInstruction * _returnInstruction;

	_jumpImm = genJumpImmediate(ReceiverResultReg);
	genGetHashFieldNonImmOfasSmallIntegerInto(ReceiverResultReg, TempReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(CmpCqR, ConstZero, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpZero: */
	_jumpNotSet = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, TempReg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		_returnInstruction = genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			_returnInstruction = genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpImm, gAndCqRR(tagMask(), ReceiverResultReg, TempReg));
	/* begin CmpCq:R: */
	_quickConstant = characterTag();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNotCharacter = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	genConvertCharacterToSmallIntegerInReg(ReceiverResultReg);
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		_returnInstruction = genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			_returnInstruction = genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpNotCharacter, gCmpCqR(smallFloatTag(), TempReg));
	/* begin JumpNonZero: */
	genConditionalBranchoperand(JumpNonZero, ((sqInt) _returnInstruction ));
	/* end JumpNonZero: */
	genConvertSmallFloatToSmallFloatHashAsIntegerInRegscratch(ReceiverResultReg, TempReg);
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpNotSet, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	if (!(primitiveIndex == 75)) {
		return 0;
	}
	{
		/* begin CallRT: */
		/* begin annotateCall: */
		_abstractInstruction = genoperand(Call, ceNewHashTrampoline);
		(_abstractInstruction->annotation = IsRelativeCall);
		/* end annotateCall: */
		/* end CallRT: */
	}
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	return UnfailingPrimitive;
}
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveImmediateAsInteger */
static sqInt
genPrimitiveImmediateAsInteger(void)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_jumpNotCharacter;
	sqInt _quickConstant;
	AbstractInstruction * _returnInstruction;

	{
		gAndCqRR(tagMask(), ReceiverResultReg, TempReg);
		/* begin CmpCq:R: */
		_quickConstant = characterTag();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, _quickConstant, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpNonZero: */
		_jumpNotCharacter = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
	}
	genConvertCharacterToSmallIntegerInReg(ReceiverResultReg);
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		_returnInstruction = genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			_returnInstruction = genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpNotCharacter, gCmpCqR(smallFloatTag(), TempReg));
	/* begin JumpNonZero: */
	genConditionalBranchoperand(JumpNonZero, ((sqInt) _returnInstruction ));
	/* end JumpNonZero: */
	genConvertSmallFloatToSmallFloatHashAsIntegerInRegscratch(ReceiverResultReg, TempReg);
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	return UnfailingPrimitive;
}
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveLoadInt32FromBytes */
static sqInt
genPrimitiveLoadInt32FromBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveLoad:fromBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 4, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(SubCqR, 4 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg1Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, Arg1Reg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin MoveM32:r:R: */
		genMoveM32rR(backEnd, 0, Arg1Reg, ReceiverResultReg);
		/* end MoveM32:r:R: */
		/* begin SignExtend32R:R: */
		{
			genoperandoperand(SignExtend32RR, ReceiverResultReg, ReceiverResultReg);
			goto l21;
		}
		l21:
		;
		/* end SignExtend32R:R: */
		genConvertIntegerToSmallIntegerInReg(ReceiverResultReg);
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	return CompletePrimitive;
	/* end genPrimitiveLoad:fromBytesWith:needsToTrap: */
}
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveLoadInt32FromExternalAddress */
static sqInt
genPrimitiveLoadInt32FromExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	sqInt _quickConstant;

	/* begin genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, Arg1Reg);
	/* end AddR:R: */
	{
		/* begin MoveM32:r:R: */
		genMoveM32rR(backEnd, 0, Arg1Reg, ReceiverResultReg);
		/* end MoveM32:r:R: */
		/* begin SignExtend32R:R: */
		{
			genoperandoperand(SignExtend32RR, ReceiverResultReg, ReceiverResultReg);
			goto l16;
		}
		l16:
		;
		/* end SignExtend32R:R: */
		genConvertIntegerToSmallIntegerInReg(ReceiverResultReg);
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpNonExternalAddress, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveLoadInt64FromBytes */
static sqInt
genPrimitiveLoadInt64FromBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpFailAlloc;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveLoad:fromBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 8, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, 8 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg1Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, Arg1Reg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	{
		{
			assert(BytesPerWord == 8);
			/* begin gen:quickConstant:operand:operand: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperandoperandoperand(MoveMwrR, 0, Arg1Reg, ClassReg);
			/* end checkQuickConstant:forInstruction: */
			/* end gen:quickConstant:operand:operand: */
		}
		_jumpFailAlloc = genIntegerTo64BitSignedIntegerValueintoscratchRegscratchReg(ClassReg, SendNumArgsReg, Extra0Reg, TempReg);
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, SendNumArgsReg, ReceiverResultReg);
		/* end MoveR:R: */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
		jmpTarget(_jumpFailAlloc, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	return 0;
	/* end genPrimitiveLoad:fromBytesWith:needsToTrap: */
}
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveLoadInt64FromExternalAddress */
static sqInt
genPrimitiveLoadInt64FromExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpFailAlloc;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	sqInt _quickConstant;

	/* begin genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, Arg1Reg);
	/* end AddR:R: */
	{
		{
			assert(BytesPerWord == 8);
			/* begin gen:quickConstant:operand:operand: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperandoperandoperand(MoveMwrR, 0, Arg1Reg, ClassReg);
			/* end checkQuickConstant:forInstruction: */
			/* end gen:quickConstant:operand:operand: */
		}
		_jumpFailAlloc = genIntegerTo64BitSignedIntegerValueintoscratchRegscratchReg(ClassReg, SendNumArgsReg, Extra0Reg, TempReg);
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, SendNumArgsReg, ReceiverResultReg);
		/* end MoveR:R: */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
		jmpTarget(_jumpFailAlloc, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpNonExternalAddress, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return 0;
	/* end genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveLoadUInt32FromBytes */
static sqInt
genPrimitiveLoadUInt32FromBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveLoad:fromBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 4, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(SubCqR, 4 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg1Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, Arg1Reg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin MoveM32:r:R: */
		genMoveM32rR(backEnd, 0, Arg1Reg, ReceiverResultReg);
		/* end MoveM32:r:R: */
		/* begin ZeroExtend32R:R: */
		{
			genoperandoperand(ZeroExtend32RR, ReceiverResultReg, ReceiverResultReg);
			goto l21;
		}
		l21:
		;
		/* end ZeroExtend32R:R: */
		genConvertIntegerToSmallIntegerInReg(ReceiverResultReg);
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	return CompletePrimitive;
	/* end genPrimitiveLoad:fromBytesWith:needsToTrap: */
}
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveLoadUInt32FromExternalAddress */
static sqInt
genPrimitiveLoadUInt32FromExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	sqInt _quickConstant;

	/* begin genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, Arg1Reg);
	/* end AddR:R: */
	{
		/* begin MoveM32:r:R: */
		genMoveM32rR(backEnd, 0, Arg1Reg, ReceiverResultReg);
		/* end MoveM32:r:R: */
		/* begin ZeroExtend32R:R: */
		{
			genoperandoperand(ZeroExtend32RR, ReceiverResultReg, ReceiverResultReg);
			goto l16;
		}
		l16:
		;
		/* end ZeroExtend32R:R: */
		genConvertIntegerToSmallIntegerInReg(ReceiverResultReg);
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpNonExternalAddress, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveLoadUInt64FromBytes */
static sqInt
genPrimitiveLoadUInt64FromBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpFailAlloc;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveLoad:fromBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 8, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, 8 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg1Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, Arg1Reg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	{
		{
			assert(BytesPerWord == 8);
			/* begin gen:quickConstant:operand:operand: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperandoperandoperand(MoveMwrR, 0, Arg1Reg, ClassReg);
			/* end checkQuickConstant:forInstruction: */
			/* end gen:quickConstant:operand:operand: */
		}
		_jumpFailAlloc = genIntegerTo64BitPositiveIntegerValueintoscratchRegscratchReg(ClassReg, SendNumArgsReg, Extra0Reg, TempReg);
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, SendNumArgsReg, ReceiverResultReg);
		/* end MoveR:R: */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
		jmpTarget(_jumpFailAlloc, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	return 0;
	/* end genPrimitiveLoad:fromBytesWith:needsToTrap: */
}
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveLoadUInt64FromExternalAddress */
static sqInt
genPrimitiveLoadUInt64FromExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpFailAlloc;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	sqInt _quickConstant;

	/* begin genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, Arg1Reg);
	/* end AddR:R: */
	{
		{
			assert(BytesPerWord == 8);
			/* begin gen:quickConstant:operand:operand: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperandoperandoperand(MoveMwrR, 0, Arg1Reg, ClassReg);
			/* end checkQuickConstant:forInstruction: */
			/* end gen:quickConstant:operand:operand: */
		}
		_jumpFailAlloc = genIntegerTo64BitPositiveIntegerValueintoscratchRegscratchReg(ClassReg, SendNumArgsReg, Extra0Reg, TempReg);
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, SendNumArgsReg, ReceiverResultReg);
		/* end MoveR:R: */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
		jmpTarget(_jumpFailAlloc, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpNonExternalAddress, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return 0;
	/* end genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
}
/*	Implement primitiveNew for convenient cases: 
	- the receiver has a hash 
	- the receiver is fixed size (excluding ephemerons to save instructions & 
	miniscule time) 
	- single word header/num slots < numSlotsMask 
	- the result fits in eden (actually below scavengeThreshold) */
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveNew */
static sqInt
genPrimitiveNew(void)
{
	sqInt literal;
	sqInt literal2;
	sqInt _address;
	sqInt _address2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction10;
	AbstractInstruction *_anInstruction11;
	AbstractInstruction *_anInstruction12;
	AbstractInstruction *_anInstruction13;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction32;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction42;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction52;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_anInstruction8;
	AbstractInstruction *_anInstruction9;
	sqInt _byteSizeReg;
	AbstractInstruction * _fillLoop;
	AbstractInstruction * _fillLoop2;
	sqInt _fillReg;
	sqInt _headerReg;
	sqInt _instSpecReg;
	AbstractInstruction *_jumpHasSlots;
	AbstractInstruction *_jumpNoSpace;
	AbstractInstruction *_jumpTooBig;
	AbstractInstruction *_jumpUnhashed;
	AbstractInstruction *_jumpVariableOrEphemeron;
	sqInt _quickConstant;
	sqInt _quickConstant2;
	sqInt _quickConstant3;
	sqInt _quickConstant4;
	sqInt _quickConstant5;
	sqInt _quickConstant6;
	sqInt _quickConstant7;
	sqInt _quickConstant8;
	sqInt _quickConstant9;
	AbstractInstruction *_skip;

	if (methodOrBlockNumArgs != 0) {
		return UnimplementedPrimitive;
	}
	_headerReg = (_fillReg = SendNumArgsReg);
	_instSpecReg = (_byteSizeReg = ClassReg);
	/* begin MoveAw:R: */
	_address = freeStartAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction = genoperandoperand(MoveAwR, _address, Arg1Reg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	genGetHashFieldNonImmOfinto(ReceiverResultReg, _headerReg);
	/* begin JumpZero: */
	_jumpUnhashed = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	genLoadSlotsourceRegdestReg(InstanceSpecificationIndex, ReceiverResultReg, TempReg);
	genConvertSmallIntegerToIntegerInReg(TempReg);
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, TempReg, _instSpecReg);
	/* end MoveR:R: */
	/* begin LogicalShiftRightCq:R: */
	_quickConstant = fixedFieldsFieldWidth();
	genoperandoperand(LogicalShiftRightCqR, _quickConstant, TempReg);
	/* end LogicalShiftRightCq:R: */
	/* begin AndCq:R: */
	_quickConstant4 = formatMask();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(AndCqR, _quickConstant4, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end AndCq:R: */
	/* begin AndCq:R: */
	_quickConstant5 = fixedFieldsOfClassFormatMask();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(AndCqR, _quickConstant5, _instSpecReg);
	/* end checkQuickConstant:forInstruction: */
	/* end AndCq:R: */
	/* begin CmpCq:R: */
	_quickConstant6 = nonIndexablePointerFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction4 = genoperandoperand(CmpCqR, _quickConstant6, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAbove: */
	_jumpVariableOrEphemeron = genConditionalBranchoperand(JumpAbove, ((sqInt) 0 ));
	/* end JumpAbove: */
	/* begin CmpCq:R: */
	_quickConstant7 = numSlotsMask();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction5 = genoperandoperand(CmpCqR, _quickConstant7, _instSpecReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpTooBig = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin LogicalShiftLeftCq:R: */
	_quickConstant2 = formatShift();
	genoperandoperand(LogicalShiftLeftCqR, _quickConstant2, TempReg);
	/* end LogicalShiftLeftCq:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, _headerReg);
	/* end AddR:R: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, _instSpecReg, TempReg);
	/* end MoveR:R: */
	/* begin LogicalShiftLeftCq:R: */
	_quickConstant3 = numSlotsFullShift();
	genoperandoperand(LogicalShiftLeftCqR, _quickConstant3, TempReg);
	/* end LogicalShiftLeftCq:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, _headerReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction6 = genoperandoperand(CmpCqR, 0, _byteSizeReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpNonZero: */
	_jumpHasSlots = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize * 2;
	_anInstruction7 = genoperandoperand(MoveCqR, BaseHeaderSize * 2, _byteSizeReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin Jump: */
	_skip = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpHasSlots, checkQuickConstantforInstruction(BaseHeaderSize / BytesPerWord, genoperandoperand(AddCqR, BaseHeaderSize / BytesPerWord, _byteSizeReg)));
	/* begin LogicalShiftLeftCq:R: */
	genoperandoperand(LogicalShiftLeftCqR, shiftForWord(), _byteSizeReg);
	/* end LogicalShiftLeftCq:R: */
	jmpTarget(_skip, genoperandoperand(AddRR, Arg1Reg, _byteSizeReg));
	/* begin CmpCq:R: */
	_quickConstant8 = getScavengeThreshold();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction8 = genoperandoperand(CmpCqR, _quickConstant8, _byteSizeReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpNoSpace = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:Aw: */
	_address2 = freeStartAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction9 = genoperandoperand(MoveRAw, _byteSizeReg, _address2);
	/* end checkLiteral:forInstruction: */
	/* end MoveR:Aw: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
	/* end MoveR:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction10 = genoperandoperandoperand(MoveRMwr, _headerReg, 0, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction11 = genoperandoperandoperand(LoadEffectiveAddressMwrR, BaseHeaderSize, ReceiverResultReg, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	/* begin MoveCq:R: */
	_quickConstant9 = nilObject();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction12 = genoperandoperand(MoveCqR, _quickConstant9, _fillReg);
	/* end checkQuickConstant:forInstruction: */
	/* end MoveCq:R: */
	/* begin fillFrom:until:with:usingVr: */
	
#  if FEATURE_JIT_SIMD
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction13 = genoperandoperandoperand(MoveRMwr, _fillReg, 0, Arg1Reg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction22 = genoperandoperand(AddCqR, 8, Arg1Reg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction32 = genoperandoperand(AndCqR, 0xFFFFFFFFFFFFFFF0ULL, Arg1Reg);
		/* end checkQuickConstant:forInstruction: */
		gDupSRVr(64, _fillReg, VReg1);
		_fillLoop = gAlignedSt1SVrRMw(64, VReg1, Arg1Reg, 16);
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, Arg1Reg, _byteSizeReg);
		/* end CmpR:R: */
		/* begin JumpAbove: */
		genConditionalBranchoperand(JumpAbove, ((sqInt) _fillLoop ));
		/* end JumpAbove: */
	}
#  else /* FEATURE_JIT_SIMD */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction42 = genoperandoperandoperand(MoveRMwr, _fillReg, 0, Arg1Reg);
		_fillLoop2 = _anInstruction42;
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction52 = genoperandoperand(AddCqR, 8, Arg1Reg);
		/* end checkQuickConstant:forInstruction: */
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, Arg1Reg, _byteSizeReg);
		/* end CmpR:R: */
		/* begin JumpAbove: */
		genConditionalBranchoperand(JumpAbove, ((sqInt) _fillLoop2 ));
		/* end JumpAbove: */
	}
#  endif /* FEATURE_JIT_SIMD */
	/* end fillFrom:until:with:usingVr: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpUnhashed, jmpTarget(_jumpVariableOrEphemeron, jmpTarget(_jumpTooBig, jmpTarget(_jumpNoSpace, genoperandoperand(Label, (labelCounter += 1), bytecodePC)))));
	return 0;
}
/*	Implement primitiveNewWithArg for convenient cases: 
	- the receiver has a hash 
	- the receiver is variable and not compiled method 
	- single word header/num slots < numSlotsMask 
	- the result fits in eden 
	See superclass method for dynamic frequencies of formats. 
	For the moment we implement only arrayFormat, firstByteFormat & 
	firstLongFormat  */
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveNewWithArg */
static sqInt
genPrimitiveNewWithArg(void)
{
	sqInt literal;
	sqInt literal2;
	sqInt literal3;
	sqInt literal4;
	sqInt literal5;
	sqInt literal6;
	sqInt literal7;
	sqInt literal8;
	sqInt literal9;
	sqInt _address;
	sqInt _address2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction10;
	AbstractInstruction *_anInstruction11;
	AbstractInstruction *_anInstruction12;
	AbstractInstruction *_anInstruction13;
	AbstractInstruction *_anInstruction14;
	AbstractInstruction *_anInstruction15;
	AbstractInstruction *_anInstruction16;
	AbstractInstruction *_anInstruction17;
	AbstractInstruction *_anInstruction18;
	AbstractInstruction *_anInstruction19;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction20;
	AbstractInstruction *_anInstruction21;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction23;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction32;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction42;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction52;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_anInstruction8;
	AbstractInstruction *_anInstruction9;
	sqInt _byteSizeReg;
	AbstractInstruction * _fillLoop;
	AbstractInstruction * _fillLoop2;
	sqInt _fillReg;
	sqInt _headerReg;
	sqInt _instSpecReg;
	AbstractInstruction *_jumpArrayFormat;
	AbstractInstruction *_jumpArrayTooBig;
	AbstractInstruction *_jumpByteFormat;
	AbstractInstruction *_jumpBytePrepDone;
	AbstractInstruction *_jumpByteTooBig;
	AbstractInstruction *_jumpFailCuzFixed;
	AbstractInstruction *_jumpHasSlots;
	AbstractInstruction *_jumpLongPrepDone;
	AbstractInstruction *_jumpLongTooBig;
	AbstractInstruction *_jumpNElementsNonInt;
	AbstractInstruction *_jumpNoSpace;
	AbstractInstruction *_jumpUnhashed;
	sqInt _maxSlots;
	sqInt _quickConstant;
	sqInt _quickConstant10;
	sqInt _quickConstant11;
	sqInt _quickConstant2;
	sqInt _quickConstant3;
	sqInt _quickConstant4;
	sqInt _quickConstant5;
	sqInt _quickConstant6;
	sqInt _quickConstant7;
	sqInt _quickConstant8;
	sqInt _quickConstant9;
	AbstractInstruction *_skip;

	if (methodOrBlockNumArgs != 1) {
		return UnimplementedPrimitive;
	}
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_headerReg = SendNumArgsReg;
	_fillReg = Extra0Reg;
	assert(_fillReg > 0);
	_instSpecReg = (_byteSizeReg = ClassReg);
	_maxSlots = (numSlotsMask()) - 1;
	/* begin MoveAw:R: */
	_address = freeStartAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction = genoperandoperand(MoveAwR, _address, Arg1Reg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	genGetHashFieldNonImmOfinto(ReceiverResultReg, _headerReg);
	/* begin JumpZero: */
	_jumpUnhashed = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpNElementsNonInt = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genLoadSlotsourceRegdestReg(InstanceSpecificationIndex, ReceiverResultReg, _instSpecReg);
	/* begin LogicalShiftRightCq:R: */
	_quickConstant = (fixedFieldsFieldWidth()) + (numSmallIntegerTagBits());
	genoperandoperand(LogicalShiftRightCqR, _quickConstant, _instSpecReg);
	/* end LogicalShiftRightCq:R: */
	/* begin AndCq:R: */
	_quickConstant6 = formatMask();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(AndCqR, _quickConstant6, _instSpecReg);
	/* end checkQuickConstant:forInstruction: */
	/* end AndCq:R: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, _instSpecReg, TempReg);
	/* end MoveR:R: */
	/* begin LogicalShiftLeftCq:R: */
	_quickConstant2 = formatShift();
	genoperandoperand(LogicalShiftLeftCqR, _quickConstant2, TempReg);
	/* end LogicalShiftLeftCq:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, _headerReg);
	/* end AddR:R: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, _fillReg);
	/* end MoveR:R: */
	genConvertSmallIntegerToIntegerInReg(_fillReg);
	/* begin CmpCq:R: */
	_quickConstant7 = arrayFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant7, _instSpecReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpZero: */
	_jumpArrayFormat = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	/* begin CmpCq:R: */
	_quickConstant8 = firstByteFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction4 = genoperandoperand(CmpCqR, _quickConstant8, _instSpecReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpZero: */
	_jumpByteFormat = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	/* begin CmpCq:R: */
	_quickConstant9 = firstLongFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction5 = genoperandoperand(CmpCqR, _quickConstant9, _instSpecReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpFailCuzFixed = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin checkQuickConstant:forInstruction: */
	literal = ((((usqInt) (_maxSlots * 2) ) << 3) | 1);
	_anInstruction6 = genoperandoperand(CmpCqR, ((((usqInt) (_maxSlots * 2) ) << 3) | 1), Arg0Reg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpAbove: */
	_jumpLongTooBig = genConditionalBranchoperand(JumpAbove, ((sqInt) 0 ));
	/* end JumpAbove: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, _fillReg, _instSpecReg);
	/* end MoveR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BytesPerWord / 4;
	_anInstruction7 = genoperandoperand(MoveCqR, BytesPerWord / 4, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin SubR:R: */
	genoperandoperand(SubRR, _instSpecReg, TempReg);
	/* end SubR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal3 = (BytesPerWord / 4) - 1;
	_anInstruction8 = genoperandoperand(AndCqR, (BytesPerWord / 4) - 1, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin LogicalShiftLeftCq:R: */
	_quickConstant3 = formatShift();
	genoperandoperand(LogicalShiftLeftCqR, _quickConstant3, TempReg);
	/* end LogicalShiftLeftCq:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, _headerReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal4 = (BytesPerWord / 4) - 1;
	_anInstruction9 = genoperandoperand(AddCqR, (BytesPerWord / 4) - 1, _instSpecReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin LogicalShiftRightCq:R: */
	genoperandoperand(LogicalShiftRightCqR, (shiftForWord()) - 2, _instSpecReg);
	/* end LogicalShiftRightCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction10 = genoperandoperand(MoveCqR, 0, _fillReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin Jump: */
	_jumpLongPrepDone = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpByteFormat, checkQuickConstantforInstruction(((((usqInt) (_maxSlots * BytesPerWord) ) << 3) | 1), genoperandoperand(CmpCqR, ((((usqInt) (_maxSlots * BytesPerWord) ) << 3) | 1), Arg0Reg)));
	/* begin JumpAbove: */
	_jumpByteTooBig = genConditionalBranchoperand(JumpAbove, ((sqInt) 0 ));
	/* end JumpAbove: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, _fillReg, _instSpecReg);
	/* end MoveR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal5 = BytesPerWord;
	_anInstruction11 = genoperandoperand(MoveCqR, BytesPerWord, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin SubR:R: */
	genoperandoperand(SubRR, _instSpecReg, TempReg);
	/* end SubR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal6 = BytesPerWord - 1;
	_anInstruction12 = genoperandoperand(AndCqR, BytesPerWord - 1, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin LogicalShiftLeftCq:R: */
	_quickConstant4 = formatShift();
	genoperandoperand(LogicalShiftLeftCqR, _quickConstant4, TempReg);
	/* end LogicalShiftLeftCq:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, _headerReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal7 = BytesPerWord - 1;
	_anInstruction13 = genoperandoperand(AddCqR, BytesPerWord - 1, _instSpecReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin LogicalShiftRightCq:R: */
	genoperandoperand(LogicalShiftRightCqR, shiftForWord(), _instSpecReg);
	/* end LogicalShiftRightCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction14 = genoperandoperand(MoveCqR, 0, _fillReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin Jump: */
	_jumpBytePrepDone = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpArrayFormat, checkQuickConstantforInstruction(((((usqInt) _maxSlots ) << 3) | 1), genoperandoperand(CmpCqR, ((((usqInt) _maxSlots ) << 3) | 1), Arg0Reg)));
	/* begin JumpAbove: */
	_jumpArrayTooBig = genConditionalBranchoperand(JumpAbove, ((sqInt) 0 ));
	/* end JumpAbove: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, _fillReg, _instSpecReg);
	/* end MoveR:R: */
	/* begin MoveCq:R: */
	_quickConstant10 = nilObject();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction15 = genoperandoperand(MoveCqR, _quickConstant10, _fillReg);
	/* end checkQuickConstant:forInstruction: */
	/* end MoveCq:R: */
	jmpTarget(_jumpBytePrepDone, jmpTarget(_jumpLongPrepDone, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, _instSpecReg, TempReg);
	/* end MoveR:R: */
	/* begin LogicalShiftLeftCq:R: */
	_quickConstant5 = numSlotsFullShift();
	genoperandoperand(LogicalShiftLeftCqR, _quickConstant5, TempReg);
	/* end LogicalShiftLeftCq:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, _headerReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction16 = genoperandoperand(CmpCqR, 0, _byteSizeReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpNonZero: */
	_jumpHasSlots = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin checkQuickConstant:forInstruction: */
	literal8 = BaseHeaderSize * 2;
	_anInstruction17 = genoperandoperand(MoveCqR, BaseHeaderSize * 2, _byteSizeReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin Jump: */
	_skip = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpHasSlots, checkQuickConstantforInstruction(BaseHeaderSize / BytesPerWord, genoperandoperand(AddCqR, BaseHeaderSize / BytesPerWord, _byteSizeReg)));
	/* begin LogicalShiftLeftCq:R: */
	genoperandoperand(LogicalShiftLeftCqR, shiftForWord(), _byteSizeReg);
	/* end LogicalShiftLeftCq:R: */
	jmpTarget(_skip, genoperandoperand(AddRR, Arg1Reg, _byteSizeReg));
	/* begin CmpCq:R: */
	_quickConstant11 = getScavengeThreshold();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction18 = genoperandoperand(CmpCqR, _quickConstant11, _byteSizeReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpNoSpace = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
	/* end MoveR:R: */
	/* begin MoveR:Aw: */
	_address2 = freeStartAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction19 = genoperandoperand(MoveRAw, _byteSizeReg, _address2);
	/* end checkLiteral:forInstruction: */
	/* end MoveR:Aw: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction20 = genoperandoperandoperand(MoveRMwr, _headerReg, 0, ReceiverResultReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin checkQuickConstant:forInstruction: */
	literal9 = BaseHeaderSize;
	_anInstruction21 = genoperandoperandoperand(LoadEffectiveAddressMwrR, BaseHeaderSize, ReceiverResultReg, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	/* begin fillFrom:until:with:usingVr: */
	
#  if FEATURE_JIT_SIMD
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction22 = genoperandoperandoperand(MoveRMwr, _fillReg, 0, Arg1Reg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction23 = genoperandoperand(AddCqR, 8, Arg1Reg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction32 = genoperandoperand(AndCqR, 0xFFFFFFFFFFFFFFF0ULL, Arg1Reg);
		/* end checkQuickConstant:forInstruction: */
		gDupSRVr(64, _fillReg, VReg1);
		_fillLoop = gAlignedSt1SVrRMw(64, VReg1, Arg1Reg, 16);
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, Arg1Reg, _byteSizeReg);
		/* end CmpR:R: */
		/* begin JumpAbove: */
		genConditionalBranchoperand(JumpAbove, ((sqInt) _fillLoop ));
		/* end JumpAbove: */
	}
#  else /* FEATURE_JIT_SIMD */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction42 = genoperandoperandoperand(MoveRMwr, _fillReg, 0, Arg1Reg);
		_fillLoop2 = _anInstruction42;
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction52 = genoperandoperand(AddCqR, 8, Arg1Reg);
		/* end checkQuickConstant:forInstruction: */
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, Arg1Reg, _byteSizeReg);
		/* end CmpR:R: */
		/* begin JumpAbove: */
		genConditionalBranchoperand(JumpAbove, ((sqInt) _fillLoop2 ));
		/* end JumpAbove: */
	}
#  endif /* FEATURE_JIT_SIMD */
	/* end fillFrom:until:with:usingVr: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpNoSpace, jmpTarget(_jumpUnhashed, jmpTarget(_jumpFailCuzFixed, jmpTarget(_jumpArrayTooBig, jmpTarget(_jumpByteTooBig, jmpTarget(_jumpLongTooBig, jmpTarget(_jumpNElementsNonInt, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))))));
	return 0;
}
/*	Implement primitiveShallowCopy/primitiveClone for convenient cases: 
	- the receiver is not a context 
	- the receiver is not a compiled method 
	- the result fits in eden (actually below scavengeThreshold) */
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveShallowCopy */
static sqInt
genPrimitiveShallowCopy(void)
{
	sqInt literal;
	sqInt literal2;
	sqInt literal3;
	sqInt literal4;
	sqInt _address;
	sqInt _address2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction10;
	AbstractInstruction *_anInstruction11;
	AbstractInstruction *_anInstruction12;
	AbstractInstruction *_anInstruction13;
	AbstractInstruction *_anInstruction14;
	AbstractInstruction *_anInstruction15;
	AbstractInstruction *_anInstruction16;
	AbstractInstruction *_anInstruction17;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_anInstruction8;
	AbstractInstruction *_anInstruction9;
	AbstractInstruction *_continuance;
	AbstractInstruction *_copyLoop;
	sqInt _formatReg;
	AbstractInstruction * _jumpEmpty;
	AbstractInstruction *_jumpImmediate;
	AbstractInstruction *_jumpIsMethod;
	AbstractInstruction *_jumpNoSpace;
	AbstractInstruction *_jumpTooBig;
	AbstractInstruction *_jumpVariable;
	sqInt _ptrReg;
	sqInt _quickConstant;
	sqInt _quickConstant2;
	sqInt _quickConstant3;
	sqInt _quickConstant4;
	sqInt _quickConstant5;
	sqInt _resultReg;
	sqInt _slotsReg;

	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	_resultReg = Arg0Reg;
	_slotsReg = Arg1Reg;
	/* begin MoveAw:R: */
	_address2 = freeStartAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction13 = genoperandoperand(MoveAwR, _address2, _resultReg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_ptrReg = (_formatReg = SendNumArgsReg)), NoReg);
	/* begin CmpCq:R: */
	_quickConstant3 = firstCompiledMethodFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction14 = genoperandoperand(CmpCqR, _quickConstant3, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpIsMethod = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant4 = indexablePointersFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction15 = genoperandoperand(CmpCqR, _quickConstant4, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpZero: */
	_jumpVariable = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	/* begin Label */
	_continuance = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
	/* end Label */
	genGetRawSlotSizeOfNonImminto(ReceiverResultReg, _slotsReg);
	/* begin CmpCq:R: */
	_quickConstant5 = numSlotsMask();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction16 = genoperandoperand(CmpCqR, _quickConstant5, _slotsReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpZero: */
	_jumpTooBig = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction17 = genoperandoperand(CmpCqR, 0, _slotsReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpZero: */
	_jumpEmpty = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	{
		/* begin checkQuickConstant:forInstruction: */
		literal = BaseHeaderSize / BytesPerWord;
		_anInstruction = genoperandoperand(AddCqR, BaseHeaderSize / BytesPerWord, _slotsReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin LogicalShiftLeftCq:R: */
		genoperandoperand(LogicalShiftLeftCqR, shiftForWord(), _slotsReg);
		/* end LogicalShiftLeftCq:R: */
		/* begin AddR:R: */
		genoperandoperand(AddRR, _resultReg, _slotsReg);
		/* end AddR:R: */
		/* begin CmpCq:R: */
		_quickConstant = getScavengeThreshold();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _slotsReg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
	}
	/* begin JumpAboveOrEqual: */
	_jumpNoSpace = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	{
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, _resultReg, _ptrReg);
		/* end MoveR:R: */
		/* begin MoveR:Aw: */
		_address = freeStartAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction3 = genoperandoperand(MoveRAw, _slotsReg, _address);
		/* end checkLiteral:forInstruction: */
		/* end MoveR:Aw: */
		/* begin checkQuickConstant:forInstruction: */
		literal2 = BytesPerWord * 2;
		_anInstruction4 = genoperandoperand(SubCqR, BytesPerWord * 2, _slotsReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperandoperand(MoveMwrR, 0, ReceiverResultReg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin AndCq:R: */
		_quickConstant2 = headerForSlotsformatclassIndex(numSlotsMask(), formatMask(), classIndexMask());
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction6 = genoperandoperand(AndCqR, _quickConstant2, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end AndCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction7 = genoperandoperandoperand(MoveRMwr, TempReg, 0, _resultReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin Label */
	_copyLoop = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
	/* end Label */
	{
		/* begin checkQuickConstant:forInstruction: */
		literal3 = BytesPerWord;
		_anInstruction8 = genoperandoperand(AddCqR, BytesPerWord, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		literal4 = BytesPerWord;
		_anInstruction9 = genoperandoperand(AddCqR, BytesPerWord, _ptrReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction10 = genoperandoperandoperand(MoveMwrR, 0, ReceiverResultReg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction11 = genoperandoperandoperand(MoveRMwr, TempReg, 0, _ptrReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, _ptrReg, _slotsReg);
		/* end CmpR:R: */
		/* begin JumpAboveOrEqual: */
		genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) _copyLoop ));
		/* end JumpAboveOrEqual: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, _resultReg, ReceiverResultReg);
		/* end MoveR:R: */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
	}
	jmpTarget(_jumpVariable, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	genGetClassIndexOfNonImminto(ReceiverResultReg, ClassReg);
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction12 = genoperandoperand(CmpCqR, ClassMethodContextCompactIndex, ClassReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin JumpNonZero: */
		genConditionalBranchoperand(JumpNonZero, ((sqInt) _continuance ));
		/* end JumpNonZero: */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpNoSpace, jmpTarget(_jumpIsMethod, jmpTarget(_jumpTooBig, jmpTarget(_jumpEmpty, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	return 0;
}
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveStoreInt32IntoBytes */
static sqInt
genPrimitiveStoreInt32IntoBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _destPointerRegister;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpNonSmallInteger;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveStore:intoBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 4, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, 4 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg0Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, _destPointerRegister);
	/* end MoveR:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, ClassReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin genJumpNotSmallInteger:scratchReg: */
		_jumpNonSmallInteger = genJumpNotSmallInteger(Arg1Reg);
		/* end genJumpNotSmallInteger:scratchReg: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertSmallIntegerToIntegerInReg(Arg1Reg);
		/* begin MoveR:M32:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveRM32r, Arg1Reg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M32:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonSmallInteger, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
	/* end genPrimitiveStore:intoBytesWith:needsToTrap: */
}
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveStoreInt32IntoExternalAddress */
static sqInt
genPrimitiveStoreInt32IntoExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _destPointerRegister;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	AbstractInstruction * _jumpNonSmallInteger;
	sqInt _quickConstant;

	/* begin genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, _destPointerRegister);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg0Reg, _destPointerRegister);
	/* end AddR:R: */
	{
		/* begin genJumpNotSmallInteger:scratchReg: */
		_jumpNonSmallInteger = genJumpNotSmallInteger(Arg1Reg);
		/* end genJumpNotSmallInteger:scratchReg: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertSmallIntegerToIntegerInReg(Arg1Reg);
		/* begin MoveR:M32:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveRM32r, Arg1Reg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M32:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonSmallInteger, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpNonExternalAddress, jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveStoreInt64IntoBytes */
static sqInt
genPrimitiveStoreInt64IntoBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _destPointerRegister;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpNonSmallInteger;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveStore:intoBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 8, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, 8 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg0Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, _destPointerRegister);
	/* end MoveR:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, ClassReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin genJumpNotSmallInteger:scratchReg: */
		_jumpNonSmallInteger = genJumpNotSmallInteger(Arg1Reg);
		/* end genJumpNotSmallInteger:scratchReg: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertSmallIntegerToIntegerInReg(Arg1Reg);
		{
			assert(BytesPerWord == 8);
			/* begin gen:operand:quickConstant:operand: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperandoperandoperand(MoveRMwr, Arg1Reg, 0, _destPointerRegister);
			/* end checkQuickConstant:forInstruction: */
			/* end gen:operand:quickConstant:operand: */
		}
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
		jmpTarget(_jumpNonSmallInteger, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return 0;
	/* end genPrimitiveStore:intoBytesWith:needsToTrap: */
}
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveStoreInt64IntoExternalAddress */
static sqInt
genPrimitiveStoreInt64IntoExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _destPointerRegister;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	AbstractInstruction * _jumpNonSmallInteger;
	sqInt _quickConstant;

	/* begin genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, _destPointerRegister);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg0Reg, _destPointerRegister);
	/* end AddR:R: */
	{
		/* begin genJumpNotSmallInteger:scratchReg: */
		_jumpNonSmallInteger = genJumpNotSmallInteger(Arg1Reg);
		/* end genJumpNotSmallInteger:scratchReg: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertSmallIntegerToIntegerInReg(Arg1Reg);
		{
			assert(BytesPerWord == 8);
			/* begin gen:operand:quickConstant:operand: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperandoperandoperand(MoveRMwr, Arg1Reg, 0, _destPointerRegister);
			/* end checkQuickConstant:forInstruction: */
			/* end gen:operand:quickConstant:operand: */
		}
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
		jmpTarget(_jumpNonSmallInteger, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpNonExternalAddress, jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return 0;
	/* end genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveStoreUInt32IntoBytes */
static sqInt
genPrimitiveStoreUInt32IntoBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _destPointerRegister;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpNegative;
	AbstractInstruction * _jumpNonSmallInteger;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveStore:intoBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction22 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 4, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, 4 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg0Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, _destPointerRegister);
	/* end MoveR:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, ClassReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin genJumpNotSmallInteger:scratchReg: */
		_jumpNonSmallInteger = genJumpNotSmallInteger(Arg1Reg);
		/* end genJumpNotSmallInteger:scratchReg: */
		/* begin CmpCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, 0, Arg1Reg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpLess: */
		_jumpNegative = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
		/* end JumpLess: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertSmallIntegerToIntegerInReg(Arg1Reg);
		/* begin MoveR:M32:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperandoperand(MoveRM32r, Arg1Reg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M32:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonSmallInteger, jmpTarget(_jumpNegative, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	}
	jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
	/* end genPrimitiveStore:intoBytesWith:needsToTrap: */
}
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveStoreUInt32IntoExternalAddress */
static sqInt
genPrimitiveStoreUInt32IntoExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	sqInt _destPointerRegister;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNegative;
	AbstractInstruction * _jumpNonExternalAddress;
	AbstractInstruction * _jumpNonSmallInteger;
	sqInt _quickConstant;

	/* begin genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction22 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, _destPointerRegister);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg0Reg, _destPointerRegister);
	/* end AddR:R: */
	{
		/* begin genJumpNotSmallInteger:scratchReg: */
		_jumpNonSmallInteger = genJumpNotSmallInteger(Arg1Reg);
		/* end genJumpNotSmallInteger:scratchReg: */
		/* begin CmpCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, 0, Arg1Reg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpLess: */
		_jumpNegative = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
		/* end JumpLess: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertSmallIntegerToIntegerInReg(Arg1Reg);
		/* begin MoveR:M32:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperandoperand(MoveRM32r, Arg1Reg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M32:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonSmallInteger, jmpTarget(_jumpNegative, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	}
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpNonExternalAddress, jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveStoreUInt64IntoBytes */
static sqInt
genPrimitiveStoreUInt64IntoBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _destPointerRegister;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpNegative;
	AbstractInstruction * _jumpNonSmallInteger;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveStore:intoBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction22 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 8, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, 8 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg0Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, _destPointerRegister);
	/* end MoveR:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, ClassReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin genJumpNotSmallInteger:scratchReg: */
		_jumpNonSmallInteger = genJumpNotSmallInteger(Arg1Reg);
		/* end genJumpNotSmallInteger:scratchReg: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperand(CmpCqR, 0, Arg1Reg);
		/* end checkQuickConstant:forInstruction: */
		/* begin JumpLess: */
		_jumpNegative = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
		/* end JumpLess: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertSmallIntegerToIntegerInReg(Arg1Reg);
		{
			assert(BytesPerWord == 8);
			/* begin gen:operand:quickConstant:operand: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperandoperandoperand(MoveRMwr, Arg1Reg, 0, _destPointerRegister);
			/* end checkQuickConstant:forInstruction: */
			/* end gen:operand:quickConstant:operand: */
		}
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
		jmpTarget(_jumpNonSmallInteger, jmpTarget(_jumpNegative, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	}
	jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return 0;
	/* end genPrimitiveStore:intoBytesWith:needsToTrap: */
}
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveStoreUInt64IntoExternalAddress */
static sqInt
genPrimitiveStoreUInt64IntoExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	sqInt _destPointerRegister;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNegative;
	AbstractInstruction * _jumpNonExternalAddress;
	AbstractInstruction * _jumpNonSmallInteger;
	sqInt _quickConstant;

	/* begin genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction22 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, _destPointerRegister);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg0Reg, _destPointerRegister);
	/* end AddR:R: */
	{
		/* begin genJumpNotSmallInteger:scratchReg: */
		_jumpNonSmallInteger = genJumpNotSmallInteger(Arg1Reg);
		/* end genJumpNotSmallInteger:scratchReg: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperand(CmpCqR, 0, Arg1Reg);
		/* end checkQuickConstant:forInstruction: */
		/* begin JumpLess: */
		_jumpNegative = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
		/* end JumpLess: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertSmallIntegerToIntegerInReg(Arg1Reg);
		{
			assert(BytesPerWord == 8);
			/* begin gen:operand:quickConstant:operand: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperandoperandoperand(MoveRMwr, Arg1Reg, 0, _destPointerRegister);
			/* end checkQuickConstant:forInstruction: */
			/* end gen:operand:quickConstant:operand: */
		}
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
		jmpTarget(_jumpNonSmallInteger, jmpTarget(_jumpNegative, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	}
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpNonExternalAddress, jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return 0;
	/* end genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
}
/*	c.f. StackInterpreter>>stSizeOf: SpurMemoryManager>>lengthOf:format: 
	fixedFieldsOf:format:length:  */
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveStringAt */
static sqInt
genPrimitiveStringAt(void)
{
	sqInt literal;
	sqInt literal2;
	sqInt literal3;
	sqInt literal4;
	sqInt literal5;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction10;
	AbstractInstruction *_anInstruction11;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_anInstruction8;
	AbstractInstruction *_anInstruction9;
	AbstractInstruction *_done;
	sqInt _formatReg;
	AbstractInstruction *_jumpBadIndex;
	AbstractInstruction *_jumpBytesOutOfBounds;
	AbstractInstruction *_jumpIsBytes;
	AbstractInstruction *_jumpIsShorts;
	AbstractInstruction *_jumpNotIndexable;
	AbstractInstruction *_jumpShortsOutOfBounds;
	AbstractInstruction *_jumpWordsDone;
	AbstractInstruction *_jumpWordsOutOfBounds;
	AbstractInstruction *_jumpWordTooBig;
	sqInt _quickConstant;
	sqInt _quickConstant2;
	sqInt _quickConstant3;

	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(SubCqR, 1, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), NoReg);
	genGetNumSlotsOfinto(ReceiverResultReg, ClassReg);
	/* begin CmpCq:R: */
	_quickConstant = firstByteFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpGreaterOrEqual: */
	_jumpIsBytes = genConditionalBranchoperand(JumpGreaterOrEqual, ((sqInt) 0 ));
	/* end JumpGreaterOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant2 = firstShortFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction4 = genoperandoperand(CmpCqR, _quickConstant2, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpGreaterOrEqual: */
	_jumpIsShorts = genConditionalBranchoperand(JumpGreaterOrEqual, ((sqInt) 0 ));
	/* end JumpGreaterOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant3 = firstLongFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction5 = genoperandoperand(CmpCqR, _quickConstant3, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpLess: */
	_jumpNotIndexable = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
	/* end JumpLess: */
	/* begin LogicalShiftLeftCq:R: */
	genoperandoperand(LogicalShiftLeftCqR, (shiftForWord()) - 2, ClassReg);
	/* end LogicalShiftLeftCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal = (BytesPerWord / 4) - 1;
	_anInstruction6 = genoperandoperand(AndCqR, (BytesPerWord / 4) - 1, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin SubR:R: */
	genoperandoperand(SubRR, _formatReg, ClassReg);
	/* end SubR:R: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, Arg1Reg, ClassReg);
	/* end CmpR:R: */
	/* begin JumpBelowOrEqual: */
	_jumpWordsOutOfBounds = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin AddCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction7 = genoperandoperand(AddCqR, ((usqInt) BaseHeaderSize ) >> ((shiftForWord()) - 1), Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	/* end AddCq:R: */
	/* begin MoveX32r:R:R: */
	genoperandoperandoperand(MoveX32rRR, Arg1Reg, ReceiverResultReg, TempReg);
	/* end MoveX32r:R:R: */
	_jumpWordTooBig = jumpNotCharacterUnsignedValueInRegister(TempReg);
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, TempReg, ReceiverResultReg);
	/* end MoveR:R: */
	/* begin Jump: */
	_jumpWordsDone = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpIsBytes, gLogicalShiftLeftCqR(shiftForWord(), ClassReg));
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BytesPerWord - 1;
	_anInstruction8 = genoperandoperand(AndCqR, BytesPerWord - 1, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin SubR:R: */
	genoperandoperand(SubRR, _formatReg, ClassReg);
	/* end SubR:R: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, Arg1Reg, ClassReg);
	/* end CmpR:R: */
	/* begin JumpBelowOrEqual: */
	_jumpBytesOutOfBounds = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin checkQuickConstant:forInstruction: */
	literal3 = BaseHeaderSize;
	_anInstruction9 = genoperandoperand(AddCqR, BaseHeaderSize, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	/* begin MoveXbr:R:R: */
	genoperandoperandoperand(MoveXbrRR, Arg1Reg, ReceiverResultReg, ReceiverResultReg);
	/* end MoveXbr:R:R: */
	{
		/* begin AndCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(AndCqR, 0xFF, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* end AndCq:R: */
	}
	jmpTarget(_jumpWordsDone, (_done = genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	genConvertIntegerToCharacterInReg(ReceiverResultReg);
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpIsShorts, gLogicalShiftLeftCqR((shiftForWord()) - 1, ClassReg));
	/* begin checkQuickConstant:forInstruction: */
	literal4 = (BytesPerWord / 2) - 1;
	_anInstruction10 = genoperandoperand(AndCqR, (BytesPerWord / 2) - 1, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin SubR:R: */
	genoperandoperand(SubRR, _formatReg, ClassReg);
	/* end SubR:R: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, Arg1Reg, ClassReg);
	/* end CmpR:R: */
	/* begin JumpBelowOrEqual: */
	_jumpShortsOutOfBounds = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg1Reg, ReceiverResultReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal5 = BaseHeaderSize;
	_anInstruction11 = genoperandoperandoperand(MoveM16rR, BaseHeaderSize, ReceiverResultReg, ReceiverResultReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin Jump: */
	genoperand(Jump, ((sqInt) _done ));
	/* end Jump: */
	jmpTarget(_jumpWordTooBig, jmpTarget(_jumpBytesOutOfBounds, jmpTarget(_jumpShortsOutOfBounds, jmpTarget(_jumpWordsOutOfBounds, jmpTarget(_jumpNotIndexable, jmpTarget(_jumpBadIndex, genoperandoperand(Label, (labelCounter += 1), bytecodePC)))))));
	return CompletePrimitive;
}
/*	c.f. StackInterpreter>>stSizeOf: SpurMemoryManager>>lengthOf:format: 
	fixedFieldsOf:format:length:  */
/* CogObjectRepresentationFor64BitSpur>>#genPrimitiveStringAtPut */
static sqInt
genPrimitiveStringAtPut(void)
{
	sqInt literal;
	sqInt literal2;
	sqInt literal3;
	sqInt literal4;
	sqInt literal5;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction10;
	AbstractInstruction *_anInstruction11;
	AbstractInstruction *_anInstruction12;
	AbstractInstruction *_anInstruction13;
	AbstractInstruction *_anInstruction14;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_anInstruction8;
	AbstractInstruction *_anInstruction9;
	sqInt _formatReg;
	AbstractInstruction *_jumpBadArg;
	AbstractInstruction *_jumpBadIndex;
	AbstractInstruction *_jumpBytesOutOfBounds;
	AbstractInstruction *_jumpBytesOutOfRange;
	AbstractInstruction * _jumpImmutable;
	AbstractInstruction *_jumpIsBytes;
	AbstractInstruction * _jumpIsCompiledMethod;
	AbstractInstruction *_jumpIsShorts;
	AbstractInstruction * _jumpNotString;
	AbstractInstruction *_jumpShortsOutOfBounds;
	AbstractInstruction *_jumpShortsOutOfRange;
	AbstractInstruction *_jumpWordsOutOfBounds;
	AbstractInstruction *_jumpWordsOutOfRange;
	sqInt _quickConstant;
	sqInt _quickConstant2;
	sqInt _quickConstant3;
	sqInt _quickConstant4;
	sqInt _quickConstant5;
	sqInt _quickConstant6;

	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	_jumpImmutable = ((AbstractInstruction *) 0 );
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	_jumpBadArg = genJumpNotCharacter(Arg1Reg);
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(SubCqR, 1, Arg0Reg);
	/* end checkQuickConstant:forInstruction: */
	
#  if IMMUTABILITY
	{
		genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
		/* begin genJumpBaseHeaderImmutable: */
		/* begin TstCq:R: */
		_quickConstant6 = immutableBitMask();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction14 = genoperandoperand(TstCqR, _quickConstant6, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end TstCq:R: */
		/* begin JumpNonZero: */
		_jumpImmutable = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		/* end genJumpBaseHeaderImmutable: */
	}
#  else /* IMMUTABILITY */
	{
		genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), NoReg);
	}
#  endif /* IMMUTABILITY */
	genGetNumSlotsOfinto(ReceiverResultReg, ClassReg);
	/* begin CmpCq:R: */
	_quickConstant = firstLongFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpNotString = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	/* begin CmpCq:R: */
	_quickConstant2 = firstCompiledMethodFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant2, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpIsCompiledMethod = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant3 = firstByteFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction4 = genoperandoperand(CmpCqR, _quickConstant3, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpIsBytes = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant4 = firstShortFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction5 = genoperandoperand(CmpCqR, _quickConstant4, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpIsShorts = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant5 = characterObjectOf((1U << (numCharacterBits())) - 1);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction6 = genoperandoperand(CmpCqR, _quickConstant5, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAbove: */
	_jumpWordsOutOfRange = genConditionalBranchoperand(JumpAbove, ((sqInt) 0 ));
	/* end JumpAbove: */
	/* begin LogicalShiftLeftCq:R: */
	genoperandoperand(LogicalShiftLeftCqR, (shiftForWord()) - 2, ClassReg);
	/* end LogicalShiftLeftCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal = (BytesPerWord / 4) - 1;
	_anInstruction7 = genoperandoperand(AndCqR, (BytesPerWord / 4) - 1, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin SubR:R: */
	genoperandoperand(SubRR, _formatReg, ClassReg);
	/* end SubR:R: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, Arg0Reg, ClassReg);
	/* end CmpR:R: */
	/* begin JumpBelowOrEqual: */
	_jumpWordsOutOfBounds = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg1Reg, TempReg);
	/* end MoveR:R: */
	genConvertCharacterToCodeInReg(TempReg);
	/* begin AddCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction8 = genoperandoperand(AddCqR, ((usqInt) BaseHeaderSize ) >> ((shiftForWord()) - 1), Arg0Reg);
	/* end checkQuickConstant:forInstruction: */
	/* end AddCq:R: */
	/* begin MoveR:X32r:R: */
	genoperandoperandoperand(MoveRX32rR, TempReg, Arg0Reg, ReceiverResultReg);
	/* end MoveR:X32r:R: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpIsShorts, gCmpCqR(characterObjectOf(0xFFFF), Arg1Reg));
	/* begin JumpAbove: */
	_jumpShortsOutOfRange = genConditionalBranchoperand(JumpAbove, ((sqInt) 0 ));
	/* end JumpAbove: */
	/* begin LogicalShiftLeftCq:R: */
	genoperandoperand(LogicalShiftLeftCqR, (shiftForWord()) - 1, ClassReg);
	/* end LogicalShiftLeftCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = (BytesPerWord / 2) - 1;
	_anInstruction9 = genoperandoperand(AndCqR, (BytesPerWord / 2) - 1, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin SubR:R: */
	genoperandoperand(SubRR, _formatReg, ClassReg);
	/* end SubR:R: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, Arg0Reg, ClassReg);
	/* end CmpR:R: */
	/* begin JumpBelowOrEqual: */
	_jumpShortsOutOfBounds = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg1Reg, TempReg);
	/* end MoveR:R: */
	genConvertCharacterToCodeInReg(TempReg);
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg0Reg, ReceiverResultReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal3 = BaseHeaderSize;
	_anInstruction10 = genoperandoperandoperand(MoveRM16r, TempReg, BaseHeaderSize, ReceiverResultReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpIsBytes, gCmpCqR(characterObjectOf(0xFF), Arg1Reg));
	/* begin JumpAbove: */
	_jumpBytesOutOfRange = genConditionalBranchoperand(JumpAbove, ((sqInt) 0 ));
	/* end JumpAbove: */
	/* begin LogicalShiftLeftCq:R: */
	genoperandoperand(LogicalShiftLeftCqR, shiftForWord(), ClassReg);
	/* end LogicalShiftLeftCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal4 = BytesPerWord - 1;
	_anInstruction11 = genoperandoperand(AndCqR, BytesPerWord - 1, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin SubR:R: */
	genoperandoperand(SubRR, _formatReg, ClassReg);
	/* end SubR:R: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, Arg0Reg, ClassReg);
	/* end CmpR:R: */
	/* begin JumpBelowOrEqual: */
	_jumpBytesOutOfBounds = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
	/* end JumpBelowOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg1Reg, TempReg);
	/* end MoveR:R: */
	genConvertCharacterToCodeInReg(TempReg);
	/* begin checkQuickConstant:forInstruction: */
	literal5 = BaseHeaderSize;
	_anInstruction12 = genoperandoperand(AddCqR, BaseHeaderSize, Arg0Reg);
	/* end checkQuickConstant:forInstruction: */
	/* begin MoveR:Xbr:R: */
	genoperandoperandoperand(MoveRXbrR, TempReg, Arg0Reg, ReceiverResultReg);
	/* end MoveR:Xbr:R: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpNotString, jmpTarget(_jumpBytesOutOfRange, jmpTarget(_jumpShortsOutOfRange, jmpTarget(_jumpWordsOutOfRange, jmpTarget(_jumpIsCompiledMethod, jmpTarget(_jumpBytesOutOfBounds, jmpTarget(_jumpShortsOutOfBounds, jmpTarget(_jumpWordsOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC)))))))));
	
#  if IMMUTABILITY
	{
		jmpTarget(_jumpImmutable, ((AbstractInstruction *) ((_jumpNotString->operands)[0]) ));
	}
#  endif /* IMMUTABILITY */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction13 = genoperandoperand(AddCqR, 1, Arg0Reg);
	/* end checkQuickConstant:forInstruction: */
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpBadArg, jmpTarget(_jumpBadIndex, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
}
/* CogObjectRepresentationFor64BitSpur>>#genRemoveSmallIntegerTagsInScratchReg: */
static sqInt NoDbgRegParms
genRemoveSmallIntegerTagsInScratchReg(sqInt _scratchReg)
{
	AbstractInstruction *_anInstruction;

	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(SubCqR, 1, _scratchReg);
	/* end checkQuickConstant:forInstruction: */
	return 0;
}
/*	Get the literal count of a CompiledMethod into headerReg, plus one if 
	requested. If inBytes is true, scale the count by the word size. Deal with 
	the possibility of 
	the method being cogged. */
/* CogObjectRepresentationFor64BitSpur>>#getLiteralCountOf:plusOne:inBytes:into:scratch: */
static sqInt NoDbgRegParms
getLiteralCountOfplusOneinBytesintoscratch(sqInt _methodReg, sqInt _plusOne, sqInt _inBytes, sqInt _litCountReg, sqInt _scratchReg)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _quickConstant;
	sqInt _quickConstant2;
	sqInt _quickConstant3;
	sqInt _quickConstant4;

	genGetMethodHeaderOfintoscratch(_methodReg, _litCountReg, _scratchReg);
	assert((1U << (numTagBits())) == BytesPerWord);
	if (_inBytes) {
		/* begin AndCq:R: */
		_quickConstant2 = ((sqInt) (((usqInt) (alternateHeaderNumLiteralsMask()) ) << (numTagBits())) );
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(AndCqR, _quickConstant2, _litCountReg);
		/* end checkQuickConstant:forInstruction: */
		/* end AndCq:R: */
	} else {
		{
			/* begin LogicalShiftRightCq:R: */
			_quickConstant = numTagBits();
			genoperandoperand(LogicalShiftRightCqR, _quickConstant, _litCountReg);
			/* end LogicalShiftRightCq:R: */
			/* begin AndCq:R: */
			_quickConstant3 = alternateHeaderNumLiteralsMask();
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction2 = genoperandoperand(AndCqR, _quickConstant3, _litCountReg);
			/* end checkQuickConstant:forInstruction: */
			/* end AndCq:R: */
		}
	}
	if (_plusOne) {
		/* begin AddCq:R: */
		_quickConstant4 = ((_inBytes)
			 ? LiteralStart * BytesPerWord
			 : LiteralStart);
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperand(AddCqR, _quickConstant4, _litCountReg);
		/* end checkQuickConstant:forInstruction: */
		/* end AddCq:R: */
	}
	return 0;
}
/*	Answer the relevant inline cache tag for an instance. 
	c.f. getInlineCacheClassTagFrom:into: & inlineCacheTagForClass: */
/* CogObjectRepresentationFor64BitSpur>>#inlineCacheTagForInstance: */
static sqInt NoDbgRegParms
inlineCacheTagForInstance(sqInt _oop)
{
	return ((isImmediate(_oop))
		 ? _oop & (tagMask())
		 : classIndexOf(_oop));
}
/* CogObjectRepresentationFor64BitSpur>>#log2BytesPerWord */
static sqInt
log2BytesPerWord(void)
{
	return 3;
}
/*	Generate the routine that converts selector indices into selector objects. 
	It is called from the send trampolines. 
	If the selector index is negative, convert it into a positive index into 
	the special selectors array and index that. Otherwise, index the current 
	method. The routine uses Extra0Reg & Extra1Reg, which are available, since 
	they are not live at point of send. */
/* CogObjectRepresentationFor64BitSpur>>#maybeGenerateSelectorIndexDereferenceRoutine */
static void
maybeGenerateSelectorIndexDereferenceRoutine(void)
{
	sqInt literal;
	sqInt _address;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_anInstruction8;
	AbstractInstruction *_jumpNegative;
	sqInt _offset;
	sqInt _quickConstant;

	zeroOpcodeIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction8 = genoperandoperand(CmpCqR, 0, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpLess: */
	_jumpNegative = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
	/* end JumpLess: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMwrR, FoxMethod, FPReg, Extra0Reg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperand(AddCqR, 2, ClassReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin AndCq:R: */
		_quickConstant = -(zoneAlignment());
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperand(AndCqR, _quickConstant, Extra0Reg);
		/* end checkQuickConstant:forInstruction: */
		/* end AndCq:R: */
		/* begin MoveMw:r:R: */
		_offset = offsetof(CogMethod, methodObject);
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction4 = genoperandoperandoperand(MoveMwrR, _offset, Extra0Reg, Extra1Reg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
		/* begin MoveXwr:R:R: */
		genoperandoperandoperand(MoveXwrRR, ClassReg, Extra1Reg, ClassReg);
		/* end MoveXwr:R:R: */
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	}
	jmpTarget(_jumpNegative, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	{
		/* begin NegateR: */
		genoperand(NegateR, ClassReg);
		/* end NegateR: */
		/* begin LogicalShiftLeftCq:R: */
		genoperandoperand(LogicalShiftLeftCqR, 1, ClassReg);
		/* end LogicalShiftLeftCq:R: */
		/* begin MoveAw:R: */
		_address = specialObjectsArrayAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction5 = genoperandoperand(MoveAwR, _address, Extra0Reg);
		/* end checkLiteral:forInstruction: */
		/* end MoveAw:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction6 = genoperandoperand(SubCqR, 1, ClassReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		literal = (SpecialSelectors + 1) * BytesPerWord;
		_anInstruction7 = genoperandoperandoperand(MoveMwrR, (SpecialSelectors + 1) * BytesPerWord, Extra0Reg, Extra1Reg);
		/* end checkQuickConstant:forInstruction: */
		/* begin MoveXwr:R:R: */
		genoperandoperandoperand(MoveXwrRR, ClassReg, Extra1Reg, ClassReg);
		/* end MoveXwr:R:R: */
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	}
	ceDereferenceSelectorIndex = methodZoneBase();
	{
		outputInstructionsForGeneratedRuntimeAt(ceDereferenceSelectorIndex);
		recordGeneratedRunTimeaddress("ceDereferenceSelectorIndex", ceDereferenceSelectorIndex);
		recordRunTimeObjectReferences();
	}
}
/* CogObjectRepresentationFor64BitSpur>>#numSmallIntegerBits */
static sqInt
numSmallIntegerBits(void)
{
	return 61;
}
/* CogObjectRepresentationFor64BitSpur>>#numSmallIntegerTagBits */
static sqInt
numSmallIntegerTagBits(void)
{
	return 3;
}
/*	The three valid tag patterns are 1 (SmallInteger), 2 (Character) and 3 
	(SmallFloat64).  */
/* CogObjectRepresentationFor64BitSpur>>#validInlineCacheTag: */
static sqInt NoDbgRegParms
validInlineCacheTag(sqInt _classIndexOrTagPattern)
{
	return ((_classIndexOrTagPattern >= 1) && (_classIndexOrTagPattern <= 3)) || ((classAtIndex(_classIndexOrTagPattern)) != null);
}
/*	Answer if the cacheTag is not unmarked, i.e. answer true for compact class 
	indices and immediates; only answer false for unmarked objects. In Spur 
	linked send cache tags are class indices so effectively they're always 
	marked.  */
/* CogObjectRepresentationForSpur>>#cacheTagIsMarked: */
static sqInt NoDbgRegParms
cacheTagIsMarked(sqInt cacheTag)
{
	return 1;
}
/* CogObjectRepresentationForSpur>>#callStoreCheckTrampoline */
static void
callStoreCheckTrampoline(void)
{
	AbstractInstruction *_abstractInstruction;

	/* begin CallRT: */
	/* begin annotateCall: */
	_abstractInstruction = genoperand(Call, ceStoreCheckTrampoline);
	(_abstractInstruction->annotation = IsRelativeCall);
	/* end annotateCall: */
	/* end CallRT: */
}
/* CogObjectRepresentationForSpur>>#checkValidDerivedObjectReference: */
static sqInt NoDbgRegParms
checkValidDerivedObjectReference(sqInt _bodyAddress)
{
	return (heapMapAtWord(pointerForOop(_bodyAddress - BaseHeaderSize))) != 0;
}
/* CogObjectRepresentationForSpur>>#checkValidOopReference: */
static sqInt NoDbgRegParms
checkValidOopReference(sqInt _anOop)
{
	return (isImmediate(_anOop)) || ((heapMapAtWord(pointerForOop(_anOop))) != 0);
}
/* CogObjectRepresentationForSpur>>#couldBeDerivedObject: */
static sqInt NoDbgRegParms
couldBeDerivedObject(sqInt _bodyAddress)
{
	return oopisGreaterThanOrEqualTo(_bodyAddress - BaseHeaderSize, startOfObjectMemory(getMemoryMap()));
}
/* CogObjectRepresentationForSpur>>#couldBeObject: */
static sqInt NoDbgRegParms
couldBeObject(sqInt _literal)
{
	return (isNonImmediate(_literal)) && (oopisGreaterThanOrEqualTo(_literal, startOfObjectMemory(getMemoryMap())));
}
/*	Create a trampoline to answer the active context that will 
	answer it if a frame is already married, and create it otherwise. 
	Assume numArgs is in SendNumArgsReg and ClassReg is free. */
/* CogObjectRepresentationForSpur>>#genActiveContextTrampolineLarge:inBlock:called: */
static sqInt NoDbgRegParms
genActiveContextTrampolineLargeinBlockcalled(sqInt _isLarge, sqInt _isInBlock, char *_aString)
{
	sqInt _startAddress;

	_startAddress = methodZoneBase();
	zeroOpcodeIndex();
	genGetActiveContextLargeinBlock(_isLarge, _isInBlock);
	outputInstructionsForGeneratedRuntimeAt(_startAddress);
	recordGeneratedRunTimeaddress(_aString, _startAddress);
	recordRunTimeObjectReferences();
	return _startAddress;
}
/* CogObjectRepresentationForSpur>>#genAllocExternalAddressValue:into:scratchReg:scratchReg: */
static AbstractInstruction * NoDbgRegParms
genAllocExternalAddressValueintoscratchRegscratchReg(sqInt _valueReg, sqInt _resultReg, sqInt _scratch1, sqInt scratch2)
{
	sqInt literal;
	sqInt _address;
	sqInt _address2;
	sqInt _allocSize;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction * _jumpFail;
	usqLong _newExternalAddressHeader;
	sqInt _quickConstant;

	_allocSize = BaseHeaderSize + BytesPerWord;
	_newExternalAddressHeader = headerForSlotsformatclassIndex(1, firstByteFormat(), classExternalAddressIndex());
	/* begin MoveAw:R: */
	_address = freeStartAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction = genoperandoperand(MoveAwR, _address, _resultReg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperandoperand(LoadEffectiveAddressMwrR, _allocSize, _resultReg, _scratch1);
	/* end checkQuickConstant:forInstruction: */
	/* begin CmpCq:R: */
	_quickConstant = getScavengeThreshold();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, _scratch1);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpFail = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:Aw: */
	_address2 = freeStartAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction4 = genoperandoperand(MoveRAw, _scratch1, _address2);
	/* end checkLiteral:forInstruction: */
	/* end MoveR:Aw: */
	/* begin genStoreHeader:intoNewInstance:using: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(MoveCqR, _newExternalAddressHeader, _scratch1);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction22 = genoperandoperandoperand(MoveRMwr, _scratch1, 0, _resultReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* end genStoreHeader:intoNewInstance:using: */
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction6 = genoperandoperandoperand(MoveRMwr, _valueReg, BaseHeaderSize, _resultReg);
	/* end checkQuickConstant:forInstruction: */
	return _jumpFail;
}
/*	Check the remembered bit of the object in objReg; answer the jump taken if 
	the bit is already set. 
	Only need to fetch the byte containing it, which reduces the size of the 
	mask constant. */
/* CogObjectRepresentationForSpur>>#genCheckRememberedBitOf:scratch: */
static AbstractInstruction * NoDbgRegParms
genCheckRememberedBitOfscratch(sqInt _objReg, sqInt _scratchReg)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	int _mask;
	sqInt _rememberedBitByteOffset;

	_rememberedBitByteOffset = (rememberedBitShift()) / 8;
	_mask = 1ULL << ((rememberedBitShift()) % 8);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperandoperand(MoveMbrR, _rememberedBitByteOffset, _objReg, _scratchReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(TstCqR, _mask, _scratchReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpNonZero: */
	return genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
}
/* CogObjectRepresentationForSpur>>#genConvertCharacterToCodeInReg: */
static sqInt NoDbgRegParms
genConvertCharacterToCodeInReg(sqInt _reg)
{
	sqInt _quickConstant;

	/* begin LogicalShiftRightCq:R: */
	_quickConstant = numTagBits();
	genoperandoperand(LogicalShiftRightCqR, _quickConstant, _reg);
	/* end LogicalShiftRightCq:R: */
	return 0;
}
/* CogObjectRepresentationForSpur>>#genConvertIntegerToCharacterInReg: */
static sqInt NoDbgRegParms
genConvertIntegerToCharacterInReg(sqInt _reg)
{
	AbstractInstruction *_anInstruction;
	sqInt _quickConstant;
	sqInt _quickConstant2;

	{
		/* begin LogicalShiftLeftCq:R: */
		_quickConstant = numTagBits();
		genoperandoperand(LogicalShiftLeftCqR, _quickConstant, _reg);
		/* end LogicalShiftLeftCq:R: */
		/* begin AddCq:R: */
		_quickConstant2 = characterTag();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(AddCqR, _quickConstant2, _reg);
		/* end checkQuickConstant:forInstruction: */
		/* end AddCq:R: */
	}
	return 0;
}
/*	Create a full closure with the given values. */
/* CogObjectRepresentationForSpur>>#genCreateFullClosure:numArgs:numCopied:ignoreContext:contextNumArgs:large:inBlock: */
static sqInt NoDbgRegParms
genCreateFullClosurenumArgsnumCopiedignoreContextcontextNumArgslargeinBlock(sqInt _compiledBlock, sqInt _numArgs, sqInt _numCopied, sqInt _ignoreContext, sqInt _contextNumArgs, sqInt _contextIsLarge, sqInt _contextIsBlock)
{
	sqInt literal;
	sqInt literal2;
	sqInt literal3;
	sqInt literal4;
	AbstractInstruction *_abstractInstruction;
	sqInt _address;
	sqInt _address2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction10;
	AbstractInstruction *_anInstruction11;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_anInstruction8;
	AbstractInstruction *_anInstruction9;
	usqInt _byteSize;
	sqInt _constant;
	usqLong _header;
	sqInt _numSlots;
	sqInt _quickConstant;
	AbstractInstruction *_skip;

	if (_ignoreContext) {
		/* begin genMoveConstant:R: */
		_constant = nilObject();
		if (shouldAnnotateObjectReference(_constant)) {
			annotateobjRef(checkLiteralforInstruction(_constant, genoperandoperand(MoveCwR, _constant, ClassReg)), _constant);
		} else {
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction11 = genoperandoperand(MoveCqR, _constant, ClassReg);
			/* end checkQuickConstant:forInstruction: */
		}
		/* end genMoveConstant:R: */
	} else {
		genGetActiveContextNumArgslargeinBlock(_contextNumArgs, _contextIsLarge, _contextIsBlock);
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, ReceiverResultReg, ClassReg);
		/* end MoveR:R: */
	}
	_numSlots = FullClosureFirstCopiedValueIndex + _numCopied;
	_byteSize = smallObjectBytesForSlots(_numSlots);
	assert(ClassFullBlockClosureCompactIndex != 0);
	_header = headerForSlotsformatclassIndex(_numSlots, indexablePointersFormat(), ClassFullBlockClosureCompactIndex);
	/* begin MoveAw:R: */
	_address2 = freeStartAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction9 = genoperandoperand(MoveAwR, _address2, ReceiverResultReg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	/* begin genStoreHeader:intoNewInstance:using: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction10 = genoperandoperand(MoveCqR, _header, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction22 = genoperandoperandoperand(MoveRMwr, TempReg, 0, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* end genStoreHeader:intoNewInstance:using: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(LoadEffectiveAddressMwrR, _byteSize, ReceiverResultReg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin MoveR:Aw: */
		_address = freeStartAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction2 = genoperandoperand(MoveRAw, TempReg, _address);
		/* end checkLiteral:forInstruction: */
		/* end MoveR:Aw: */
		/* begin CmpCq:R: */
		_quickConstant = getScavengeThreshold();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
	}
	/* begin JumpBelow: */
	_skip = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	/* begin CallRT: */
	/* begin annotateCall: */
	_abstractInstruction = genoperand(Call, ceScheduleScavengeTrampoline);
	(_abstractInstruction->annotation = IsRelativeCall);
	/* end annotateCall: */
	/* end CallRT: */
	jmpTarget(_skip, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	{
		/* begin checkQuickConstant:forInstruction: */
		literal = (FullClosureOuterContextIndex * BytesPerOop) + BaseHeaderSize;
		_anInstruction5 = genoperandoperandoperand(MoveRMwr, ClassReg, (FullClosureOuterContextIndex * BytesPerOop) + BaseHeaderSize, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		if (shouldAnnotateObjectReference(_compiledBlock)) {
			annotateobjRef(gMoveCwR(_compiledBlock, TempReg), _compiledBlock);
		} else {
			/* begin MoveCq:R: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction4 = genoperandoperand(MoveCqR, _compiledBlock, TempReg);
			/* end checkQuickConstant:forInstruction: */
			/* end MoveCq:R: */
		}
		/* begin checkQuickConstant:forInstruction: */
		literal2 = (FullClosureCompiledBlockIndex * BytesPerOop) + BaseHeaderSize;
		_anInstruction6 = genoperandoperandoperand(MoveRMwr, TempReg, (FullClosureCompiledBlockIndex * BytesPerOop) + BaseHeaderSize, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		literal3 = ((((usqInt) _numArgs ) << 3) | 1);
		_anInstruction7 = genoperandoperand(MoveCqR, ((((usqInt) _numArgs ) << 3) | 1), TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		literal4 = (FullClosureNumArgsIndex * BytesPerOop) + BaseHeaderSize;
		_anInstruction8 = genoperandoperandoperand(MoveRMwr, TempReg, (FullClosureNumArgsIndex * BytesPerOop) + BaseHeaderSize, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
	}
	return 0;
}
/*	Make sure that the object in reg is not forwarded. This routine assumes 
	the object will 
	never be forwarded to an immediate, as it is used to unforward literal 
	variables (associations).  
	Use the fact that isForwardedObjectClassIndexPun is a power of two to save 
	an instruction. */
/* CogObjectRepresentationForSpur>>#genEnsureObjInRegNotForwarded:scratchReg: */
static sqInt NoDbgRegParms
genEnsureObjInRegNotForwardedscratchReg(sqInt _reg, sqInt _scratch)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_loop;
	AbstractInstruction *_ok;
	sqInt _quickConstant;

	assert(_reg != _scratch);
	/* begin Label */
	_loop = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
	/* end Label */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperandoperand(MoveMwrR, 0, _reg, _scratch);
	/* end checkQuickConstant:forInstruction: */
	/* begin AndCq:R: */
	_quickConstant = (classIndexMask()) - (isForwardedObjectClassIndexPun());
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(AndCqR, _quickConstant, _scratch);
	/* end checkQuickConstant:forInstruction: */
	/* end AndCq:R: */
	/* begin JumpNonZero: */
	_ok = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	genLoadSlotsourceRegdestReg(0, _reg, _reg);
	/* begin Jump: */
	genoperand(Jump, ((sqInt) _loop ));
	/* end Jump: */
	jmpTarget(_ok, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return 0;
}
/* CogObjectRepresentationForSpur>>#genEnsureOopInRegNotForwarded:scratchReg: */
static sqInt NoDbgRegParms
genEnsureOopInRegNotForwardedscratchReg(sqInt _reg, sqInt _scratch)
{
	AbstractInstruction *_instruction;

	/* begin genEnsureOopInRegNotForwarded:scratchReg:jumpBackTo: */
	_instruction = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
	return genEnsureOopInRegNotForwardedscratchRegifForwarderifNotForwarder(_reg, _scratch, _instruction, 0);
	/* end genEnsureOopInRegNotForwarded:scratchReg:jumpBackTo: */
}
/*	Make sure that the oop in reg is not forwarded.  
	Use the fact that isForwardedObjectClassIndexPun is a power of two to save 
	an instruction. */
/* CogObjectRepresentationForSpur>>#genEnsureOopInRegNotForwarded:scratchReg:ifForwarder:ifNotForwarder: */
static sqInt NoDbgRegParms
genEnsureOopInRegNotForwardedscratchRegifForwarderifNotForwarder(sqInt _reg, sqInt _scratch, sqInt _fwdJumpTarget, sqInt _nonFwdJumpTargetOrZero)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction * _finished;
	AbstractInstruction * _imm;
	AbstractInstruction * _ok;
	sqInt _quickConstant;

	assert(_reg != _scratch);
	_imm = genJumpImmediate(_reg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperandoperand(MoveMwrR, 0, _reg, _scratch);
	/* end checkQuickConstant:forInstruction: */
	/* begin AndCq:R: */
	_quickConstant = (classIndexMask()) - (isForwardedObjectClassIndexPun());
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(AndCqR, _quickConstant, _scratch);
	/* end checkQuickConstant:forInstruction: */
	/* end AndCq:R: */
	/* begin JumpNonZero: */
	_ok = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	genLoadSlotsourceRegdestReg(0, _reg, _reg);
	/* begin Jump: */
	genoperand(Jump, ((sqInt) ((void *) _fwdJumpTarget ) ));
	/* end Jump: */
	if (((usqInt) _nonFwdJumpTargetOrZero ) == 0) {
		/* begin Label */
		_finished = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
		/* end Label */
	} else {
		_finished = _nonFwdJumpTargetOrZero;
	}
	jmpTarget(_imm, jmpTarget(_ok, _finished));
	return 0;
}
/*	Make sure that the oop in reg is not forwarded, updating the slot in 
	objReg with the value. */
/* CogObjectRepresentationForSpur>>#genEnsureOopInRegNotForwarded:scratchReg:updatingSlot:in: */
static sqInt NoDbgRegParms
genEnsureOopInRegNotForwardedscratchRegupdatingSlotin(sqInt _reg, sqInt _scratch, sqInt _index, sqInt _objReg)
{
	sqInt literal;
	AbstractInstruction *_abstractInstruction;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_imm;
	AbstractInstruction *_loop;
	AbstractInstruction *_ok;
	sqInt _quickConstant;

	assert((_reg != _scratch) && (_objReg != _scratch));
	/* begin Label */
	_loop = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
	/* end Label */
	_imm = genJumpImmediate(_reg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperandoperand(MoveMwrR, 0, _reg, _scratch);
	/* end checkQuickConstant:forInstruction: */
	/* begin AndCq:R: */
	_quickConstant = (classIndexMask()) - (isForwardedObjectClassIndexPun());
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(AndCqR, _quickConstant, _scratch);
	/* end checkQuickConstant:forInstruction: */
	/* end AndCq:R: */
	/* begin JumpNonZero: */
	_ok = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	genLoadSlotsourceRegdestReg(0, _reg, _reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = (_index * BytesPerWord) + BaseHeaderSize;
	_anInstruction3 = genoperandoperandoperand(MoveRMwr, _reg, (_index * BytesPerWord) + BaseHeaderSize, _objReg);
	/* end checkQuickConstant:forInstruction: */
	assert((_reg == Arg0Reg) && ((_scratch == TempReg) && (_objReg == ReceiverResultReg)));
	/* begin CallRT: */
	/* begin annotateCall: */
	_abstractInstruction = genoperand(Call, ceStoreCheckContextReceiverTrampoline);
	(_abstractInstruction->annotation = IsRelativeCall);
	/* end annotateCall: */
	/* end CallRT: */
	/* begin Jump: */
	genoperand(Jump, ((sqInt) _loop ));
	/* end Jump: */
	jmpTarget(_ok, jmpTarget(_imm, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return 0;
}
/*	Do the store check. Answer the argument for the benefit of the code 
	generator; ReceiverResultReg may be caller-saved and hence smashed by this 
	call. Answering 
	it allows the code generator to reload ReceiverResultReg cheaply. 
	In Spur the only thing we leave to the run-time is adding the receiver to 
	the remembered set and setting its isRemembered bit. */
/* CogObjectRepresentationForSpur>>#generateObjectRepresentationTrampolines */
static void
generateObjectRepresentationTrampolines(void)
{
	sqInt _instVarIndex;
	AbstractInstruction *_jumpSC;

	
#  if IMMUTABILITY
	{
		for (_instVarIndex = 0; _instVarIndex < NumStoreTrampolines; _instVarIndex += 1) {
			ceStoreTrampolines[_instVarIndex] = genStoreTrampolineCalledinstVarIndex(trampolineNamenumArgslimit("ceStoreTrampoline", _instVarIndex, NumStoreTrampolines - 2), _instVarIndex);
		}
	}
#  endif /* IMMUTABILITY */
	ceNewHashTrampoline = genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(ceNewHashOf, "ceNewHash", 1, ReceiverResultReg, null, null, null, (/* begin emptyRegisterMask */ 0 /* end emptyRegisterMask */), 1, ReceiverResultReg, 0);
	/* begin genStoreCheckTrampoline */
	if (CheckRememberedInTrampoline) {
		zeroOpcodeIndex();
		_jumpSC = genCheckRememberedBitOfscratch(ReceiverResultReg, RAX);
		assert(((_jumpSC->opcode)) == JumpNonZero);
		(_jumpSC->opcode = JumpZero);
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
		jmpTarget(_jumpSC, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	ceStoreCheckTrampoline = genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(rememberObjInCorrectRememberedSet, "ceStoreCheckTrampoline", 1, ReceiverResultReg, null, null, null, (CallerSavedRegisterMask | (1U << ReceiverResultReg)) - (1U << ReceiverResultReg), 1, ((CallerSavedRegisterMask & (1U << ReceiverResultReg))
		 ? ReceiverResultReg
		 : (/* begin cResultRegister */ RAX /* end cResultRegister */)), CheckRememberedInTrampoline);
	/* end genStoreCheckTrampoline */
	ceStoreCheckContextReceiverTrampoline = genStoreCheckContextReceiverTrampoline();
	ceScheduleScavengeTrampoline = genTrampolineForcalledregsToSave(ceScheduleScavenge, "ceScheduleScavengeTrampoline", CallerSavedRegisterMask);
	ceSmallActiveContextInMethodTrampoline = genActiveContextTrampolineLargeinBlockcalled(0, 0, "ceSmallMethodContext");
	ceSmallActiveContextInFullBlockTrampoline = genActiveContextTrampolineLargeinBlockcalled(0, InFullBlock, "ceSmallFullBlockContext");
	ceLargeActiveContextInMethodTrampoline = genActiveContextTrampolineLargeinBlockcalled(1, 0, "ceLargeMethodContext");
	ceLargeActiveContextInFullBlockTrampoline = genActiveContextTrampolineLargeinBlockcalled(1, InFullBlock, "ceLargeFullBlockContext");
}
/*	Create a trampoline to answer the active context that will 
	answer it if a frame is already married, and create it otherwise. 
	Assume numArgs is in SendNumArgsReg and ClassReg is free. */
/* CogObjectRepresentationForSpur>>#genGetActiveContextLarge:inBlock: */
static sqInt NoDbgRegParms
genGetActiveContextLargeinBlock(sqInt _isLarge, sqInt _isInBlock)
{
	sqInt literal;
	sqInt literal10;
	sqInt literal2;
	sqInt literal3;
	sqInt literal4;
	sqInt literal5;
	sqInt literal6;
	sqInt literal7;
	sqInt literal8;
	sqInt literal9;
	sqInt _address;
	sqInt _address2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction10;
	AbstractInstruction *_anInstruction11;
	AbstractInstruction *_anInstruction12;
	AbstractInstruction *_anInstruction13;
	AbstractInstruction *_anInstruction14;
	AbstractInstruction *_anInstruction15;
	AbstractInstruction *_anInstruction16;
	AbstractInstruction *_anInstruction17;
	AbstractInstruction *_anInstruction18;
	AbstractInstruction *_anInstruction19;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction20;
	AbstractInstruction *_anInstruction21;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction24;
	AbstractInstruction *_anInstruction25;
	AbstractInstruction *_anInstruction26;
	AbstractInstruction *_anInstruction27;
	AbstractInstruction *_anInstruction28;
	AbstractInstruction *_anInstruction29;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction30;
	AbstractInstruction *_anInstruction31;
	AbstractInstruction *_anInstruction32;
	AbstractInstruction *_anInstruction33;
	AbstractInstruction *_anInstruction34;
	AbstractInstruction *_anInstruction35;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_anInstruction8;
	AbstractInstruction *_anInstruction9;
	sqInt _constant;
	AbstractInstruction *_continuation;
	AbstractInstruction *_exit;
	usqLong _header;
	AbstractInstruction *_jumpNeedScavenge;
	AbstractInstruction *_jumpSingle;
	AbstractInstruction *_loopHead;
	sqInt _offset;
	sqInt _quickConstant;
	sqInt _quickConstant2;
	sqInt _quickConstant3;
	sqInt _quickConstant4;
	sqInt _quickConstant5;
	sqInt _slotSize;

	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMwrR, FoxMethod, FPReg, ClassReg);
		/* end checkQuickConstant:forInstruction: */
		gAndCqRR(MFMethodFlagHasContextFlag, ClassReg, TempReg);
	}
	/* begin JumpZero: */
	_jumpSingle = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperandoperand(MoveMwrR, FoxThisContext, FPReg, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	}
	jmpTarget(_jumpSingle, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperand(OrCqR, MFMethodFlagHasContextFlag, ClassReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction4 = genoperandoperandoperand(MoveRMwr, ClassReg, FoxMethod, FPReg);
		/* end checkQuickConstant:forInstruction: */
	}
	switch (_isInBlock) {
		case InFullBlock:
		{
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction5 = genoperandoperand(SubCqR, 3, ClassReg);
			/* end checkQuickConstant:forInstruction: */
		}
		break;
		case 0:
		{
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction6 = genoperandoperand(SubCqR, 1, ClassReg);
			/* end checkQuickConstant:forInstruction: */
		}
		break;
		default:
		error("Case not found and no otherwise clause");
	}
	_slotSize = ((_isLarge)
		 ? LargeContextSlots
		 : SmallContextSlots);
	_header = headerForSlotsformatclassIndex(_slotSize, indexablePointersFormat(), ClassMethodContextCompactIndex);
	flag("endianness");
	/* begin MoveAw:R: */
	_address2 = freeStartAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction25 = genoperandoperand(MoveAwR, _address2, ReceiverResultReg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	/* begin genStoreHeader:intoNewInstance:using: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction27 = genoperandoperand(MoveCqR, _header, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction26 = genoperandoperandoperand(MoveRMwr, TempReg, 0, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* end genStoreHeader:intoNewInstance:using: */
	{
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, ReceiverResultReg, TempReg);
		/* end MoveR:R: */
		/* begin AddCq:R: */
		_quickConstant2 = smallObjectBytesForSlots(_slotSize);
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction7 = genoperandoperand(AddCqR, _quickConstant2, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end AddCq:R: */
		/* begin MoveR:Aw: */
		_address = freeStartAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction8 = genoperandoperand(MoveRAw, TempReg, _address);
		/* end checkLiteral:forInstruction: */
		/* end MoveR:Aw: */
		/* begin CmpCq:R: */
		_quickConstant3 = getScavengeThreshold();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction9 = genoperandoperand(CmpCqR, _quickConstant3, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
	}
	/* begin JumpAboveOrEqual: */
	_jumpNeedScavenge = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:R: */
	_continuation = genoperandoperand(MoveRR, FPReg, TempReg);
	/* end MoveR:R: */
	genSetSmallIntegerTagsIn(TempReg);
	/* begin checkQuickConstant:forInstruction: */
	literal6 = BaseHeaderSize + (SenderIndex * BytesPerOop);
	_anInstruction28 = genoperandoperandoperand(MoveRMwr, TempReg, BaseHeaderSize + (SenderIndex * BytesPerOop), ReceiverResultReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction29 = genoperandoperandoperand(MoveMwrR, FoxSavedFP, FPReg, TempReg);
	/* end checkQuickConstant:forInstruction: */
	genSetSmallIntegerTagsIn(TempReg);
	/* begin checkQuickConstant:forInstruction: */
	literal7 = BaseHeaderSize + (InstructionPointerIndex * BytesPerOop);
	_anInstruction30 = genoperandoperandoperand(MoveRMwr, TempReg, BaseHeaderSize + (InstructionPointerIndex * BytesPerOop), ReceiverResultReg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin MoveMw:r:R: */
		_offset = offsetof(CogMethod, methodObject);
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction10 = genoperandoperandoperand(MoveMwrR, _offset, ClassReg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		literal = BaseHeaderSize + (MethodIndex * BytesPerWord);
		_anInstruction11 = genoperandoperandoperand(MoveRMwr, TempReg, BaseHeaderSize + (MethodIndex * BytesPerWord), ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction12 = genoperandoperandoperand(MoveRMwr, ReceiverResultReg, FoxThisContext, FPReg);
		/* end checkQuickConstant:forInstruction: */
	}
	{
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, FPReg, TempReg);
		/* end MoveR:R: */
		/* begin SubR:R: */
		genoperandoperand(SubRR, SPReg, TempReg);
		/* end SubR:R: */
		/* begin LogicalShiftRightCq:R: */
		_quickConstant = log2BytesPerWord();
		genoperandoperand(LogicalShiftRightCqR, _quickConstant, TempReg);
		/* end LogicalShiftRightCq:R: */
		/* begin SubCq:R: */
		_quickConstant4 = 4;
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction13 = genoperandoperand(SubCqR, _quickConstant4, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end SubCq:R: */
		/* begin AddR:R: */
		genoperandoperand(AddRR, SendNumArgsReg, TempReg);
		/* end AddR:R: */
	}
	genConvertIntegerToSmallIntegerInReg(TempReg);
	/* begin checkQuickConstant:forInstruction: */
	literal8 = BaseHeaderSize + (StackPointerIndex * BytesPerOop);
	_anInstruction31 = genoperandoperandoperand(MoveRMwr, TempReg, BaseHeaderSize + (StackPointerIndex * BytesPerOop), ReceiverResultReg);
	/* end checkQuickConstant:forInstruction: */
	if (_isInBlock > 0) {
		{
			/* begin MoveR:R: */
			genoperandoperand(MoveRR, SendNumArgsReg, TempReg);
			/* end MoveR:R: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction14 = genoperandoperand(AddCqR, 2, TempReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin MoveXwr:R:R: */
			genoperandoperandoperand(MoveXwrRR, TempReg, FPReg, TempReg);
			/* end MoveXwr:R:R: */
		}
	} else {
		/* begin genMoveConstant:R: */
		_constant = nilObject();
		if (shouldAnnotateObjectReference(_constant)) {
			annotateobjRef(checkLiteralforInstruction(_constant, genoperandoperand(MoveCwR, _constant, TempReg)), _constant);
		} else {
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction35 = genoperandoperand(MoveCqR, _constant, TempReg);
			/* end checkQuickConstant:forInstruction: */
		}
		/* end genMoveConstant:R: */
	}
	/* begin checkQuickConstant:forInstruction: */
	literal9 = BaseHeaderSize + (ClosureIndex * BytesPerOop);
	_anInstruction32 = genoperandoperandoperand(MoveRMwr, TempReg, BaseHeaderSize + (ClosureIndex * BytesPerOop), ReceiverResultReg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction15 = genoperandoperandoperand(MoveMwrR, FoxMFReceiver, FPReg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		literal2 = BaseHeaderSize + (ReceiverIndex * BytesPerOop);
		_anInstruction16 = genoperandoperandoperand(MoveRMwr, TempReg, BaseHeaderSize + (ReceiverIndex * BytesPerOop), ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction33 = genoperandoperand(MoveCqR, 1, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin CmpR:R: */
	_loopHead = genoperandoperand(CmpRR, SendNumArgsReg, ClassReg);
	/* end CmpR:R: */
	/* begin JumpGreater: */
	_exit = genConditionalBranchoperand(JumpGreater, ((sqInt) 0 ));
	/* end JumpGreater: */
	{
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, SendNumArgsReg, TempReg);
		/* end MoveR:R: */
		/* begin SubR:R: */
		genoperandoperand(SubRR, ClassReg, TempReg);
		/* end SubR:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction17 = genoperandoperand(AddCqR, 2, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin MoveXwr:R:R: */
		genoperandoperandoperand(MoveXwrRR, TempReg, FPReg, TempReg);
		/* end MoveXwr:R:R: */
		/* begin checkQuickConstant:forInstruction: */
		literal3 = ReceiverIndex + (BaseHeaderSize / BytesPerWord);
		_anInstruction18 = genoperandoperand(AddCqR, ReceiverIndex + (BaseHeaderSize / BytesPerWord), ClassReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin MoveR:Xwr:R: */
		genoperandoperandoperand(MoveRXwrR, TempReg, ClassReg, ReceiverResultReg);
		/* end MoveR:Xwr:R: */
		/* begin checkQuickConstant:forInstruction: */
		literal4 = (ReceiverIndex + (BaseHeaderSize / BytesPerWord)) - 1;
		_anInstruction19 = genoperandoperand(SubCqR, (ReceiverIndex + (BaseHeaderSize / BytesPerWord)) - 1, ClassReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin Jump: */
		genoperand(Jump, ((sqInt) _loopHead ));
		/* end Jump: */
	}
	jmpTarget(_exit, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	{
		/* begin MoveCq:R: */
		_quickConstant5 = nilObject();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction20 = genoperandoperand(MoveCqR, _quickConstant5, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveCq:R: */
	}
	{
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, FPReg, ClassReg);
		/* end MoveR:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction21 = genoperandoperand(AddCqR, FoxMFReceiver, ClassReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		literal5 = (ReceiverIndex + 1) + (BaseHeaderSize / BytesPerWord);
		_anInstruction22 = genoperandoperand(AddCqR, (ReceiverIndex + 1) + (BaseHeaderSize / BytesPerWord), SendNumArgsReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin checkQuickConstant:forInstruction: */
	literal10 = BytesPerWord;
	_anInstruction34 = genoperandoperand(SubCqR, BytesPerWord, ClassReg);
	_loopHead = _anInstruction34;
	/* end checkQuickConstant:forInstruction: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, SPReg, ClassReg);
	/* end CmpR:R: */
	{
		/* begin JumpBelowOrEqual: */
		_exit = genConditionalBranchoperand(JumpBelowOrEqual, ((sqInt) 0 ));
		/* end JumpBelowOrEqual: */
	}
	{
		/* begin MoveR:Xwr:R: */
		genoperandoperandoperand(MoveRXwrR, TempReg, SendNumArgsReg, ReceiverResultReg);
		/* end MoveR:Xwr:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction24 = genoperandoperand(AddCqR, 1, SendNumArgsReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin Jump: */
		genoperand(Jump, ((sqInt) _loopHead ));
		/* end Jump: */
	}
	jmpTarget(_exit, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	/* begin RetN: */
	genoperand(RetN, 0);
	/* end RetN: */
	jmpTarget(_jumpNeedScavenge, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	{
		CallRTregistersToBeSavedMask(ceScheduleScavengeTrampoline, ((1U << ReceiverResultReg) | (1U << SendNumArgsReg)) | (1U << ClassReg));
	}
	/* begin Jump: */
	genoperand(Jump, ((sqInt) _continuation ));
	/* end Jump: */
	return 0;
}
/*	Get the active context into ReceiverResultReg, creating it if necessary. */
/* CogObjectRepresentationForSpur>>#genGetActiveContextNumArgs:large:inBlock: */
static sqInt NoDbgRegParms
genGetActiveContextNumArgslargeinBlock(sqInt _numArgs, sqInt _isLargeContext, sqInt _isInBlock)
{
	AbstractInstruction *_abstractInstruction;
	AbstractInstruction *_anInstruction;
	sqInt _routine;

	if (_isLargeContext) {
		switch (_isInBlock) {
			case 0:
			{
				_routine = ceLargeActiveContextInMethodTrampoline;
			}
			break;
			case InFullBlock:
			{
				_routine = ceLargeActiveContextInFullBlockTrampoline;
			}
			break;
			default:
			error("Case not found and no otherwise clause");
			_routine = -1;
		}
	}
 else {
		switch (_isInBlock) {
			case 0:
			{
				_routine = ceSmallActiveContextInMethodTrampoline;
			}
			break;
			case InFullBlock:
			{
				_routine = ceSmallActiveContextInFullBlockTrampoline;
			}
			break;
			default:
			error("Case not found and no otherwise clause");
			_routine = -1;
		}
	}
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _numArgs, SendNumArgsReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin CallRT: */
		/* begin annotateCall: */
		_abstractInstruction = genoperand(Call, _routine);
		(_abstractInstruction->annotation = IsRelativeCall);
		/* end annotateCall: */
		/* end CallRT: */
	}
	return 0;
}
/* CogObjectRepresentationForSpur>>#genGetBits:ofFormatByteOf:into: */
static sqInt NoDbgRegParms
genGetBitsofFormatByteOfinto(sqInt _mask, sqInt _sourceReg, sqInt _destReg)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;

	flag("endianness");
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperandoperand(MoveMbrR, 3, _sourceReg, _destReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(AndCqR, _mask, _destReg);
	/* end checkQuickConstant:forInstruction: */
	return 0;
}
/*	Fetch the instance's class index into destReg. */
/* CogObjectRepresentationForSpur>>#genGetClassIndexOfNonImm:into: */
static sqInt NoDbgRegParms
genGetClassIndexOfNonImminto(sqInt _sourceReg, sqInt _destReg)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	sqInt _quickConstant;

	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperandoperand(MoveMwrR, 0, _sourceReg, _destReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AndCq:R: */
	_quickConstant = classIndexMask();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(AndCqR, _quickConstant, _destReg);
	/* end checkQuickConstant:forInstruction: */
	/* end AndCq:R: */
	return 0;
}
/*	Fetch the class object whose index is in instReg into destReg. 
	It is non-obvious, but the Cogit assumes loading a class does not involve 
	a runtime call, so do not call classAtIndex: */
/* CogObjectRepresentationForSpur>>#genGetClassObjectOfClassIndex:into:scratchReg: */
static sqInt NoDbgRegParms
genGetClassObjectOfClassIndexintoscratchReg(sqInt _classIndexRegister, sqInt _destReg, sqInt _scratchReg)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _offset;
	sqInt _quickConstant;
	sqInt _quickConstant2;
	sqInt _quickConstant3;

	assert(_classIndexRegister != _destReg);
	assert(_classIndexRegister != _scratchReg);
	assert(_destReg != _scratchReg);
	{
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, _classIndexRegister, _scratchReg);
		/* end MoveR:R: */
		/* begin LogicalShiftRightCq:R: */
		_quickConstant = classTableMajorIndexShift();
		genoperandoperand(LogicalShiftRightCqR, _quickConstant, _scratchReg);
		/* end LogicalShiftRightCq:R: */
		/* begin LogicalShiftLeftCq:R: */
		genoperandoperand(LogicalShiftLeftCqR, shiftForWord(), _scratchReg);
		/* end LogicalShiftLeftCq:R: */
	}
	assert(!(shouldAnnotateObjectReference(classTableRootObj())));
	if (isWithinMwOffsetRange(backEnd(), (classTableRootObj()) + BaseHeaderSize)) {
		/* begin MoveMw:r:R: */
		_offset = (classTableRootObj()) + BaseHeaderSize;
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMwrR, _offset, _scratchReg, _destReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
	} else {
		{
			/* begin AddCq:R: */
			_quickConstant2 = classTableRootObj();
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction2 = genoperandoperand(AddCqR, _quickConstant2, _scratchReg);
			/* end checkQuickConstant:forInstruction: */
			/* end AddCq:R: */
			/* begin checkQuickConstant:forInstruction: */
			literal = BaseHeaderSize;
			_anInstruction3 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, _scratchReg, _destReg);
			/* end checkQuickConstant:forInstruction: */
		}
	}
	{
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, _classIndexRegister, _scratchReg);
		/* end MoveR:R: */
		/* begin AndCq:R: */
		_quickConstant3 = classTableMinorIndexMask();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction4 = genoperandoperand(AndCqR, _quickConstant3, _scratchReg);
		/* end checkQuickConstant:forInstruction: */
		/* end AndCq:R: */
		/* begin AddCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(AddCqR, ((usqInt) BaseHeaderSize ) >> (shiftForWord()), _scratchReg);
		/* end checkQuickConstant:forInstruction: */
		/* end AddCq:R: */
		/* begin MoveXwr:R:R: */
		genoperandoperandoperand(MoveXwrRR, _scratchReg, _destReg, _destReg);
		/* end MoveXwr:R:R: */
	}
	return 0;
}
/*	Fetch the instance's class into destReg. If the instance is not the 
	receiver and is forwarded, follow forwarding. */
/* CogObjectRepresentationForSpur>>#genGetClassObjectOf:into:scratchReg:instRegIsReceiver: */
static sqInt NoDbgRegParms
genGetClassObjectOfintoscratchReginstRegIsReceiver(sqInt _instReg, sqInt _destReg, sqInt _scratchReg, sqInt _instRegIsReceiver)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_jumpIsImm;
	AbstractInstruction *_jumpNotForwarded;
	AbstractInstruction *_loop;
	sqInt _quickConstant;
	sqInt _quickConstant2;
	sqInt _quickConstant3;

	if ((_instReg == _destReg) || ((_instReg == _scratchReg) || (_destReg == _scratchReg))) {
		return BadRegisterSet;
	}
	/* begin MoveR:R: */
	_loop = genoperandoperand(MoveRR, _instReg, _scratchReg);
	/* end MoveR:R: */
	/* begin AndCq:R: */
	_quickConstant2 = tagMask();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(AndCqR, _quickConstant2, _scratchReg);
	/* end checkQuickConstant:forInstruction: */
	/* end AndCq:R: */
	/* begin JumpNonZero: */
	_jumpIsImm = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	flag("endianness");
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction4 = genoperandoperandoperand(MoveMwrR, 0, _instReg, _scratchReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AndCq:R: */
	_quickConstant3 = classIndexMask();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction5 = genoperandoperand(AndCqR, _quickConstant3, _scratchReg);
	/* end checkQuickConstant:forInstruction: */
	/* end AndCq:R: */
	if (!_instRegIsReceiver) {
		/* begin CmpCq:R: */
		_quickConstant = isForwardedObjectClassIndexPun();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, _quickConstant, _scratchReg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpNonZero: */
		_jumpNotForwarded = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		/* begin checkQuickConstant:forInstruction: */
		literal = BaseHeaderSize;
		_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, _instReg, _instReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin Jump: */
		genoperand(Jump, ((sqInt) _loop ));
		/* end Jump: */
		jmpTarget(_jumpNotForwarded, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpIsImm, genoperandoperand(MoveRR, _scratchReg, _destReg));
	if (_scratchReg == TempReg) {
		/* begin PushR: */
		genoperand(PushR, _instReg);
		/* end PushR: */
		genGetClassObjectOfClassIndexintoscratchReg(_destReg, _instReg, TempReg);
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, _instReg, _destReg);
		/* end MoveR:R: */
		/* begin PopR: */
		genoperand(PopR, _instReg);
		/* end PopR: */
	} else {
		genGetClassObjectOfClassIndexintoscratchReg(_destReg, _scratchReg, TempReg);
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, _scratchReg, _destReg);
		/* end MoveR:R: */
	}
	return 0;
}
/* CogObjectRepresentationForSpur>>#genGetClassTagOf:into:scratchReg: */
static AbstractInstruction * NoDbgRegParms
genGetClassTagOfintoscratchReg(sqInt _instReg, sqInt _destReg, sqInt scratchReg)
{
	return genGetInlineCacheClassTagFrominto(_instReg, _destReg);
}
/*	Fetch the instance's class index into destReg. */
/* CogObjectRepresentationForSpur>>#genGetCompactClassIndexNonImmOf:into: */
static sqInt NoDbgRegParms
genGetCompactClassIndexNonImmOfinto(sqInt _instReg, sqInt _destReg)
{
	return genGetClassIndexOfNonImminto(_instReg, _destReg);
}
/* CogObjectRepresentationForSpur>>#genGetDoubleValueOf:into: */
static sqInt NoDbgRegParms
genGetDoubleValueOfinto(sqInt _srcReg, sqInt _destFPReg)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;

	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction = genoperandoperandoperand(MoveM64rRd, BaseHeaderSize, _srcReg, _destFPReg);
	/* end checkQuickConstant:forInstruction: */
	return 0;
}
/*	Get the format field of the object in srcReg into destReg. 
	srcReg may equal destReg. */
/* CogObjectRepresentationForSpur>>#genGetFormatOf:into: */
static sqInt NoDbgRegParms
genGetFormatOfinto(sqInt _srcReg, sqInt _destReg)
{
	return genGetBitsofFormatByteOfinto(formatMask(), _srcReg, _destReg);
}
/*	Get the format of the object in sourceReg into destReg. If 
	scratchRegOrNone is not NoReg, load at least the least significant 32-bits 
	(64-bits in 64-bits) of the 
	header word, which contains the format, into scratchRegOrNone. */
/* CogObjectRepresentationForSpur>>#genGetFormatOf:into:leastSignificantHalfOfBaseHeaderIntoScratch: */
static sqInt NoDbgRegParms
genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(sqInt _sourceReg, sqInt _destReg, sqInt _scratchRegOrNone)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _quickConstant;
	sqInt _quickConstant2;

	if (_scratchRegOrNone == NoReg) {
		flag("endianness");
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMbrR, 3, _sourceReg, _destReg);
		/* end checkQuickConstant:forInstruction: */
	} else {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperandoperand(MoveMwrR, 0, _sourceReg, _destReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, _destReg, _scratchRegOrNone);
		/* end MoveR:R: */
		/* begin LogicalShiftRightCq:R: */
		_quickConstant = formatShift();
		genoperandoperand(LogicalShiftRightCqR, _quickConstant, _destReg);
		/* end LogicalShiftRightCq:R: */
	}
	/* begin AndCq:R: */
	_quickConstant2 = formatMask();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(AndCqR, _quickConstant2, _destReg);
	/* end checkQuickConstant:forInstruction: */
	/* end AndCq:R: */
	return 0;
}
/*	Get the size in word-sized slots of the object in srcReg into destReg. 
	srcReg may equal destReg. */
/* CogObjectRepresentationForSpur>>#genGetNumSlotsOf:into: */
static sqInt NoDbgRegParms
genGetNumSlotsOfinto(sqInt _srcReg, sqInt _destReg)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_jmp;
	sqInt _quickConstant;

	assert(_srcReg != _destReg);
	genGetRawSlotSizeOfNonImminto(_srcReg, _destReg);
	/* begin CmpCq:R: */
	_quickConstant = numSlotsMask();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(CmpCqR, _quickConstant, _destReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpLess: */
	_jmp = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
	/* end JumpLess: */
	genGetOverflowSlotsOfinto(_srcReg, _destReg);
	jmpTarget(_jmp, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return 0;
}
/*	The raw numSlots field is the most significant byte of the 64-bit header 
	word. MoveMbrR zero-extends. */
/* CogObjectRepresentationForSpur>>#genGetRawSlotSizeOfNonImm:into: */
static sqInt NoDbgRegParms
genGetRawSlotSizeOfNonImminto(sqInt _sourceReg, sqInt _destReg)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;

	{
		/* begin MoveCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, 0, _destReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveCq:R: */
	}
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperandoperand(MoveMbrR, 7, _sourceReg, _destReg);
	/* end checkQuickConstant:forInstruction: */
	return 0;
}
/* CogObjectRepresentationForSpur>>#genJumpImmediate: */
static AbstractInstruction * NoDbgRegParms
genJumpImmediate(sqInt _aRegister)
{
	AbstractInstruction *_anInstruction;
	sqInt _quickConstant;

	/* begin TstCq:R: */
	_quickConstant = tagMask();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(TstCqR, _quickConstant, _aRegister);
	/* end checkQuickConstant:forInstruction: */
	/* end TstCq:R: */
	/* begin JumpNonZero: */
	return genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
}
/* CogObjectRepresentationForSpur>>#genJumpImmutable:scratchReg: */

#if IMMUTABILITY
static AbstractInstruction * NoDbgRegParms
genJumpImmutablescratchReg(sqInt _sourceReg, sqInt _scratchReg)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	sqInt _quickConstant;

	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperandoperand(MoveMwrR, 0, _sourceReg, _scratchReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin genJumpBaseHeaderImmutable: */
	/* begin TstCq:R: */
	_quickConstant = immutableBitMask();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(TstCqR, _quickConstant, _scratchReg);
	/* end checkQuickConstant:forInstruction: */
	/* end TstCq:R: */
	/* begin JumpNonZero: */
	return genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* end genJumpBaseHeaderImmutable: */
}
#endif /* IMMUTABILITY */
/* CogObjectRepresentationForSpur>>#genJumpMutable:scratchReg: */

#if IMMUTABILITY
static AbstractInstruction * NoDbgRegParms
genJumpMutablescratchReg(sqInt _sourceReg, sqInt _scratchReg)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	sqInt _quickConstant;

	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperandoperand(MoveMwrR, 0, _sourceReg, _scratchReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin genJumpBaseHeaderMutable: */
	/* begin TstCq:R: */
	_quickConstant = immutableBitMask();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(TstCqR, _quickConstant, _scratchReg);
	/* end checkQuickConstant:forInstruction: */
	/* end TstCq:R: */
	/* begin JumpZero: */
	return genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	/* end genJumpBaseHeaderMutable: */
}
#endif /* IMMUTABILITY */
/*	Generate a call to code that allocates a new Array of size. 
	The Array should be initialized with nils iff initialized is true. 
	The size arg is passed in SendNumArgsReg, the result 
	must come back in ReceiverResultReg. */
/* CogObjectRepresentationForSpur>>#genNewArrayOfSize:initialized: */
static sqInt NoDbgRegParms
genNewArrayOfSizeinitialized(sqInt _size, sqInt _initialized)
{
	sqInt literal;
	AbstractInstruction *_abstractInstruction;
	sqInt _address;
	sqInt _address2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	sqInt _constant;
	usqLong _header;
	sqInt _i;
	sqInt _offset;
	sqInt _quickConstant;
	AbstractInstruction *_skip;

	assert(_size < (numSlotsMask()));
	_header = headerForSlotsformatclassIndex(_size, arrayFormat(), ClassArrayCompactIndex);
	/* begin MoveAw:R: */
	_address2 = freeStartAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction5 = genoperandoperand(MoveAwR, _address2, ReceiverResultReg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	/* begin genStoreHeader:intoNewInstance:using: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction6 = genoperandoperand(MoveCqR, _header, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction22 = genoperandoperandoperand(MoveRMwr, TempReg, 0, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* end genStoreHeader:intoNewInstance:using: */
	if (_initialized && (_size > 0)) {
		/* begin genMoveConstant:R: */
		_constant = nilObject();
		if (shouldAnnotateObjectReference(_constant)) {
			annotateobjRef(checkLiteralforInstruction(_constant, genoperandoperand(MoveCwR, _constant, TempReg)), _constant);
		} else {
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction7 = genoperandoperand(MoveCqR, _constant, TempReg);
			/* end checkQuickConstant:forInstruction: */
		}
		/* end genMoveConstant:R: */
		for (_i = 0; _i < _size; _i += 1) {
			/* begin checkQuickConstant:forInstruction: */
			literal = (_i * BytesPerWord) + BaseHeaderSize;
			_anInstruction = genoperandoperandoperand(MoveRMwr, TempReg, (_i * BytesPerWord) + BaseHeaderSize, ReceiverResultReg);
			/* end checkQuickConstant:forInstruction: */
		}
	}
	{
		/* begin LoadEffectiveAddressMw:r:R: */
		_offset = smallObjectBytesForSlots(_size);
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperandoperand(LoadEffectiveAddressMwrR, _offset, ReceiverResultReg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end LoadEffectiveAddressMw:r:R: */
		/* begin MoveR:Aw: */
		_address = freeStartAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction3 = genoperandoperand(MoveRAw, TempReg, _address);
		/* end checkLiteral:forInstruction: */
		/* end MoveR:Aw: */
		/* begin CmpCq:R: */
		_quickConstant = getScavengeThreshold();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction4 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
	}
	/* begin JumpBelow: */
	_skip = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	/* begin CallRT: */
	/* begin annotateCall: */
	_abstractInstruction = genoperand(Call, ceScheduleScavengeTrampoline);
	(_abstractInstruction->annotation = IsRelativeCall);
	/* end annotateCall: */
	/* end CallRT: */
	jmpTarget(_skip, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return 0;
}
/* CogObjectRepresentationForSpur>>#genPrimitiveAsCharacter */
static sqInt
genPrimitiveAsCharacter(void)
{
	AbstractInstruction *_jumpNotInt;
	AbstractInstruction *_jumpOutOfRange;
	sqInt _reg;

	_jumpNotInt = ((AbstractInstruction *) 0 );
	if (methodOrBlockNumArgs == 0) {
		_reg = ReceiverResultReg;
	} else {
		if (methodOrBlockNumArgs > 1) {
			return UnimplementedPrimitive;
		}
		_reg = Arg0Reg;
		/* begin genLoadArgAtDepth:into: */
		assert(0 < (numRegArgs()));
		/* end genLoadArgAtDepth:into: */
		/* begin genJumpNotSmallInteger:scratchReg: */
		_jumpNotInt = genJumpNotSmallInteger(_reg);
		/* end genJumpNotSmallInteger:scratchReg: */
	}
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, _reg, TempReg);
	/* end MoveR:R: */
	genConvertSmallIntegerToIntegerInReg(TempReg);
	_jumpOutOfRange = jumpNotCharacterUnsignedValueInRegister(TempReg);
	genConvertSmallIntegerToCharacterInReg(_reg);
	if (_reg != ReceiverResultReg) {
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, _reg, ReceiverResultReg);
		/* end MoveR:R: */
	}
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpOutOfRange, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	if (_reg != ReceiverResultReg) {
		jmpTarget(_jumpNotInt, ((AbstractInstruction *) ((_jumpOutOfRange->operands)[0]) ));
	}
	return CompletePrimitive;
}
/*	Generate primitive 60, at: with unsigned access for pure bits classes. */
/* CogObjectRepresentationForSpur>>#genPrimitiveAt */
static sqInt
genPrimitiveAt(void)
{
	return genPrimitiveAtSigned(0);
}
/*	Generate primitive 61, at:put: with unsigned access for pure bits classes. */
/* CogObjectRepresentationForSpur>>#genPrimitiveAtPut */
static sqInt
genPrimitiveAtPut(void)
{
	return genPrimitiveAtPutSigned(0);
}
/* CogObjectRepresentationForSpur>>#genPrimitiveIdenticalOrNotIf: */
static sqInt NoDbgRegParms
genPrimitiveIdenticalOrNotIf(sqInt _orNot)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_comp;
	sqInt _constant;
	sqInt _constant2;
	AbstractInstruction *_jumpCmp;

	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin CmpR:R: */
	_comp = genoperandoperand(CmpRR, Arg0Reg, ReceiverResultReg);
	/* end CmpR:R: */
	if (_orNot) {
		/* begin JumpZero: */
		_jumpCmp = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
		/* end JumpZero: */
		/* begin genEnsureOopInRegNotForwarded:scratchReg:jumpBackTo: */
		genEnsureOopInRegNotForwardedscratchRegifForwarderifNotForwarder(Arg0Reg, TempReg, _comp, 0);
		/* end genEnsureOopInRegNotForwarded:scratchReg:jumpBackTo: */
	} else {
		/* begin JumpNonZero: */
		_jumpCmp = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
	}
	/* begin genMoveConstant:R: */
	_constant = trueObject();
	if (shouldAnnotateObjectReference(_constant)) {
		annotateobjRef(checkLiteralforInstruction(_constant, genoperandoperand(MoveCwR, _constant, ReceiverResultReg)), _constant);
	} else {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _constant, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* end genMoveConstant:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpCmp, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	if (!_orNot) {
		/* begin genEnsureOopInRegNotForwarded:scratchReg:jumpBackTo: */
		genEnsureOopInRegNotForwardedscratchRegifForwarderifNotForwarder(Arg0Reg, TempReg, _comp, 0);
		/* end genEnsureOopInRegNotForwarded:scratchReg:jumpBackTo: */
	}
	/* begin genMoveConstant:R: */
	_constant2 = falseObject();
	if (shouldAnnotateObjectReference(_constant2)) {
		annotateobjRef(checkLiteralforInstruction(_constant2, genoperandoperand(MoveCwR, _constant2, ReceiverResultReg)), _constant2);
	} else {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperand(MoveCqR, _constant2, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* end genMoveConstant:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	return UnfailingPrimitive;
}
/*	Generate primitive 164, at: with signed access for pure bits classes. */
/* CogObjectRepresentationForSpur>>#genPrimitiveIntegerAt */
static sqInt
genPrimitiveIntegerAt(void)
{
	return genPrimitiveAtSigned(1);
}
/*	Generate primitive 165, at:put: with signed access for pure bits classes. */
/* CogObjectRepresentationForSpur>>#genPrimitiveIntegerAtPut */
static sqInt
genPrimitiveIntegerAtPut(void)
{
	return genPrimitiveAtPutSigned(1);
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadBoolean8FromBytes */
static sqInt
genPrimitiveLoadBoolean8FromBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction32;
	AbstractInstruction *_anInstruction4;
	sqInt _formatReg;
	AbstractInstruction * _inst;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;
	AbstractInstruction * _trueResultJump;
	sqInt _wordConstant;

	/* begin genPrimitiveLoad:fromBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction22 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction32 = genoperandoperand(CmpCqR, 1, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg1Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, Arg1Reg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin MoveMb:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMbrR, 0, Arg1Reg, ClassReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMb:r:R: */
		/* begin TstCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperand(TstCqR, 0xFF, ClassReg);
		/* end checkQuickConstant:forInstruction: */
		/* end TstCq:R: */
		/* begin JumpNonZero: */
		_trueResultJump = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		/* begin MoveCw:R: */
		_wordConstant = falseObject();
		/* begin checkLiteral:forInstruction: */
		_anInstruction3 = genoperandoperand(MoveCwR, _wordConstant, ReceiverResultReg);
		_inst = _anInstruction3;
		/* end checkLiteral:forInstruction: */
		/* end MoveCw:R: */
		annotateobjRef(_inst, falseObject());
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		_inst = jmpTarget(_trueResultJump, gMoveCwR(trueObject(), ReceiverResultReg));
		annotateobjRef(_inst, trueObject());
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	return CompletePrimitive;
	/* end genPrimitiveLoad:fromBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadBoolean8FromExternalAddress */
static sqInt
genPrimitiveLoadBoolean8FromExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction * _inst;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	sqInt _quickConstant;
	AbstractInstruction * _trueResultJump;
	sqInt _wordConstant;

	/* begin genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction4 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction22 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, Arg1Reg);
	/* end AddR:R: */
	{
		/* begin MoveMb:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMbrR, 0, Arg1Reg, ClassReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMb:r:R: */
		/* begin TstCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperand(TstCqR, 0xFF, ClassReg);
		/* end checkQuickConstant:forInstruction: */
		/* end TstCq:R: */
		/* begin JumpNonZero: */
		_trueResultJump = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		/* begin MoveCw:R: */
		_wordConstant = falseObject();
		/* begin checkLiteral:forInstruction: */
		_anInstruction3 = genoperandoperand(MoveCwR, _wordConstant, ReceiverResultReg);
		_inst = _anInstruction3;
		/* end checkLiteral:forInstruction: */
		/* end MoveCw:R: */
		annotateobjRef(_inst, falseObject());
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		_inst = jmpTarget(_trueResultJump, gMoveCwR(trueObject(), ReceiverResultReg));
		annotateobjRef(_inst, trueObject());
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpNonExternalAddress, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadChar16FromBytes */
static sqInt
genPrimitiveLoadChar16FromBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveLoad:fromBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 2, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, 2 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg1Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, Arg1Reg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin MoveM16:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveM16rR, 0, Arg1Reg, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveM16:r:R: */
		/* begin ZeroExtend16R:R: */
		{
			genoperandoperand(ZeroExtend16RR, ReceiverResultReg, ReceiverResultReg);
			goto l21;
		}
		l21:
		;
		/* end ZeroExtend16R:R: */
		genConvertIntegerToCharacterInReg(ReceiverResultReg);
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	return CompletePrimitive;
	/* end genPrimitiveLoad:fromBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadChar16FromExternalAddress */
static sqInt
genPrimitiveLoadChar16FromExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	sqInt _quickConstant;

	/* begin genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, Arg1Reg);
	/* end AddR:R: */
	{
		/* begin MoveM16:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveM16rR, 0, Arg1Reg, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveM16:r:R: */
		/* begin ZeroExtend16R:R: */
		{
			genoperandoperand(ZeroExtend16RR, ReceiverResultReg, ReceiverResultReg);
			goto l16;
		}
		l16:
		;
		/* end ZeroExtend16R:R: */
		genConvertIntegerToCharacterInReg(ReceiverResultReg);
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpNonExternalAddress, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadChar32FromBytes */
static sqInt
genPrimitiveLoadChar32FromBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveLoad:fromBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 4, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, 4 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg1Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, Arg1Reg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	{
		{
			/* begin MoveM32:r:R: */
			genMoveM32rR(backEnd, 0, Arg1Reg, ReceiverResultReg);
			/* end MoveM32:r:R: */
			/* begin ZeroExtend32R:R: */
			{
				genoperandoperand(ZeroExtend32RR, ReceiverResultReg, ReceiverResultReg);
				goto l22;
			}
			l22:
			;
			/* end ZeroExtend32R:R: */
		}
		genConvertIntegerToCharacterInReg(ReceiverResultReg);
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	return CompletePrimitive;
	/* end genPrimitiveLoad:fromBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadChar32FromExternalAddress */
static sqInt
genPrimitiveLoadChar32FromExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	sqInt _quickConstant;

	/* begin genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, Arg1Reg);
	/* end AddR:R: */
	{
		{
			/* begin MoveM32:r:R: */
			genMoveM32rR(backEnd, 0, Arg1Reg, ReceiverResultReg);
			/* end MoveM32:r:R: */
			/* begin ZeroExtend32R:R: */
			{
				genoperandoperand(ZeroExtend32RR, ReceiverResultReg, ReceiverResultReg);
				goto l17;
			}
			l17:
			;
			/* end ZeroExtend32R:R: */
		}
		genConvertIntegerToCharacterInReg(ReceiverResultReg);
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpNonExternalAddress, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadChar8FromBytes */
static sqInt
genPrimitiveLoadChar8FromBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveLoad:fromBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 1, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg1Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, Arg1Reg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin MoveMb:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMbrR, 0, Arg1Reg, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMb:r:R: */
		{
			/* begin ZeroExtend8R:R: */
			{
				genoperandoperand(ZeroExtend8RR, ReceiverResultReg, ReceiverResultReg);
				goto l21;
			}
			l21:
			;
			/* end ZeroExtend8R:R: */
		}
		genConvertIntegerToCharacterInReg(ReceiverResultReg);
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	return CompletePrimitive;
	/* end genPrimitiveLoad:fromBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadChar8FromExternalAddress */
static sqInt
genPrimitiveLoadChar8FromExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	sqInt _quickConstant;

	/* begin genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, Arg1Reg);
	/* end AddR:R: */
	{
		/* begin MoveMb:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMbrR, 0, Arg1Reg, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMb:r:R: */
		{
			/* begin ZeroExtend8R:R: */
			{
				genoperandoperand(ZeroExtend8RR, ReceiverResultReg, ReceiverResultReg);
				goto l16;
			}
			l16:
			;
			/* end ZeroExtend8R:R: */
		}
		genConvertIntegerToCharacterInReg(ReceiverResultReg);
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpNonExternalAddress, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadFloat32FromBytes */
static sqInt
genPrimitiveLoadFloat32FromBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpFailAlloc;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveLoad:fromBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 4, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, 4 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg1Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, Arg1Reg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveM32rRs, 0, Arg1Reg, DPFPReg0);
		/* end checkQuickConstant:forInstruction: */
		/* begin ConvertRs:Rd: */
		genoperandoperand(ConvertRsRd, DPFPReg0, DPFPReg0);
		/* end ConvertRs:Rd: */
		_jumpFailAlloc = genAllocFloatValueintoscratchRegscratchReg(DPFPReg0, SendNumArgsReg, ClassReg, TempReg);
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, SendNumArgsReg, ReceiverResultReg);
		/* end MoveR:R: */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
		jmpTarget(_jumpFailAlloc, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	return 0;
	/* end genPrimitiveLoad:fromBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadFloat32FromExternalAddress */
static sqInt
genPrimitiveLoadFloat32FromExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpFailAlloc;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	sqInt _quickConstant;

	/* begin genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, Arg1Reg);
	/* end AddR:R: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveM32rRs, 0, Arg1Reg, DPFPReg0);
		/* end checkQuickConstant:forInstruction: */
		/* begin ConvertRs:Rd: */
		genoperandoperand(ConvertRsRd, DPFPReg0, DPFPReg0);
		/* end ConvertRs:Rd: */
		_jumpFailAlloc = genAllocFloatValueintoscratchRegscratchReg(DPFPReg0, SendNumArgsReg, ClassReg, TempReg);
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, SendNumArgsReg, ReceiverResultReg);
		/* end MoveR:R: */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
		jmpTarget(_jumpFailAlloc, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpNonExternalAddress, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return 0;
	/* end genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadFloat64FromBytes */
static sqInt
genPrimitiveLoadFloat64FromBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpFailAlloc;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveLoad:fromBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 8, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, 8 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg1Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, Arg1Reg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveM64rRd, 0, Arg1Reg, DPFPReg0);
		/* end checkQuickConstant:forInstruction: */
		_jumpFailAlloc = genAllocFloatValueintoscratchRegscratchReg(DPFPReg0, SendNumArgsReg, ClassReg, TempReg);
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, SendNumArgsReg, ReceiverResultReg);
		/* end MoveR:R: */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
		jmpTarget(_jumpFailAlloc, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	return 0;
	/* end genPrimitiveLoad:fromBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadFloat64FromExternalAddress */
static sqInt
genPrimitiveLoadFloat64FromExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpFailAlloc;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	sqInt _quickConstant;

	/* begin genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, Arg1Reg);
	/* end AddR:R: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveM64rRd, 0, Arg1Reg, DPFPReg0);
		/* end checkQuickConstant:forInstruction: */
		_jumpFailAlloc = genAllocFloatValueintoscratchRegscratchReg(DPFPReg0, SendNumArgsReg, ClassReg, TempReg);
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, SendNumArgsReg, ReceiverResultReg);
		/* end MoveR:R: */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
		jmpTarget(_jumpFailAlloc, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpNonExternalAddress, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return 0;
	/* end genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadInt16FromBytes */
static sqInt
genPrimitiveLoadInt16FromBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveLoad:fromBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 2, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, 2 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg1Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, Arg1Reg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin MoveM16:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveM16rR, 0, Arg1Reg, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveM16:r:R: */
		/* begin SignExtend16R:R: */
		{
			genoperandoperand(SignExtend16RR, ReceiverResultReg, ReceiverResultReg);
			goto l21;
		}
		l21:
		;
		/* end SignExtend16R:R: */
		genConvertIntegerToSmallIntegerInReg(ReceiverResultReg);
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	return CompletePrimitive;
	/* end genPrimitiveLoad:fromBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadInt16FromExternalAddress */
static sqInt
genPrimitiveLoadInt16FromExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	sqInt _quickConstant;

	/* begin genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, Arg1Reg);
	/* end AddR:R: */
	{
		/* begin MoveM16:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveM16rR, 0, Arg1Reg, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveM16:r:R: */
		/* begin SignExtend16R:R: */
		{
			genoperandoperand(SignExtend16RR, ReceiverResultReg, ReceiverResultReg);
			goto l16;
		}
		l16:
		;
		/* end SignExtend16R:R: */
		genConvertIntegerToSmallIntegerInReg(ReceiverResultReg);
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpNonExternalAddress, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadInt8FromBytes */
static sqInt
genPrimitiveLoadInt8FromBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveLoad:fromBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 1, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg1Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, Arg1Reg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin MoveMb:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMbrR, 0, Arg1Reg, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMb:r:R: */
		/* begin SignExtend8R:R: */
		{
			genoperandoperand(SignExtend8RR, ReceiverResultReg, ReceiverResultReg);
			goto l21;
		}
		l21:
		;
		/* end SignExtend8R:R: */
		genConvertIntegerToSmallIntegerInReg(ReceiverResultReg);
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	return CompletePrimitive;
	/* end genPrimitiveLoad:fromBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadInt8FromExternalAddress */
static sqInt
genPrimitiveLoadInt8FromExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	sqInt _quickConstant;

	/* begin genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, Arg1Reg);
	/* end AddR:R: */
	{
		/* begin MoveMb:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMbrR, 0, Arg1Reg, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMb:r:R: */
		/* begin SignExtend8R:R: */
		{
			genoperandoperand(SignExtend8RR, ReceiverResultReg, ReceiverResultReg);
			goto l16;
		}
		l16:
		;
		/* end SignExtend8R:R: */
		genConvertIntegerToSmallIntegerInReg(ReceiverResultReg);
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpNonExternalAddress, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadPointerFromBytes */
static sqInt
genPrimitiveLoadPointerFromBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpFailAlloc;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveLoad:fromBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, BytesPerWord, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, BytesPerWord - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg1Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, Arg1Reg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMwrR, 0, Arg1Reg, ClassReg);
		/* end checkQuickConstant:forInstruction: */
		_jumpFailAlloc = genAllocExternalAddressValueintoscratchRegscratchReg(ClassReg, SendNumArgsReg, Extra0Reg, TempReg);
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, SendNumArgsReg, ReceiverResultReg);
		/* end MoveR:R: */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, SendNumArgsReg, ReceiverResultReg);
		/* end MoveR:R: */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
		jmpTarget(_jumpFailAlloc, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	return 0;
	/* end genPrimitiveLoad:fromBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadPointerFromExternalAddress */
static sqInt
genPrimitiveLoadPointerFromExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpFailAlloc;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	sqInt _quickConstant;

	/* begin genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, Arg1Reg);
	/* end AddR:R: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMwrR, 0, Arg1Reg, ClassReg);
		/* end checkQuickConstant:forInstruction: */
		_jumpFailAlloc = genAllocExternalAddressValueintoscratchRegscratchReg(ClassReg, SendNumArgsReg, Extra0Reg, TempReg);
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, SendNumArgsReg, ReceiverResultReg);
		/* end MoveR:R: */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, SendNumArgsReg, ReceiverResultReg);
		/* end MoveR:R: */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
		jmpTarget(_jumpFailAlloc, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpNonExternalAddress, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return 0;
	/* end genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadUInt16FromBytes */
static sqInt
genPrimitiveLoadUInt16FromBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveLoad:fromBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 2, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, 2 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg1Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, Arg1Reg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin MoveM16:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveM16rR, 0, Arg1Reg, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveM16:r:R: */
		/* begin ZeroExtend16R:R: */
		{
			genoperandoperand(ZeroExtend16RR, ReceiverResultReg, ReceiverResultReg);
			goto l21;
		}
		l21:
		;
		/* end ZeroExtend16R:R: */
		genConvertIntegerToSmallIntegerInReg(ReceiverResultReg);
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	return CompletePrimitive;
	/* end genPrimitiveLoad:fromBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadUInt16FromExternalAddress */
static sqInt
genPrimitiveLoadUInt16FromExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	sqInt _quickConstant;

	/* begin genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, Arg1Reg);
	/* end AddR:R: */
	{
		/* begin MoveM16:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveM16rR, 0, Arg1Reg, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveM16:r:R: */
		/* begin ZeroExtend16R:R: */
		{
			genoperandoperand(ZeroExtend16RR, ReceiverResultReg, ReceiverResultReg);
			goto l16;
		}
		l16:
		;
		/* end ZeroExtend16R:R: */
		genConvertIntegerToSmallIntegerInReg(ReceiverResultReg);
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpNonExternalAddress, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadUInt8FromBytes */
static sqInt
genPrimitiveLoadUInt8FromBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveLoad:fromBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 1, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg1Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, Arg1Reg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, Arg1Reg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin MoveMb:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMbrR, 0, Arg1Reg, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMb:r:R: */
		{
			/* begin ZeroExtend8R:R: */
			{
				genoperandoperand(ZeroExtend8RR, ReceiverResultReg, ReceiverResultReg);
				goto l21;
			}
			l21:
			;
			/* end ZeroExtend8R:R: */
		}
		genConvertIntegerToSmallIntegerInReg(ReceiverResultReg);
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	return CompletePrimitive;
	/* end genPrimitiveLoad:fromBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveLoadUInt8FromExternalAddress */
static sqInt
genPrimitiveLoadUInt8FromExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	sqInt _quickConstant;

	/* begin genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, Arg1Reg);
	/* end MoveR:R: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg1Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, TempReg, Arg1Reg);
	/* end AddR:R: */
	{
		/* begin MoveMb:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMbrR, 0, Arg1Reg, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMb:r:R: */
		{
			/* begin ZeroExtend8R:R: */
			{
				genoperandoperand(ZeroExtend8RR, ReceiverResultReg, ReceiverResultReg);
				goto l16;
			}
			l16:
			;
			/* end ZeroExtend8R:R: */
		}
		genConvertIntegerToSmallIntegerInReg(ReceiverResultReg);
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
	}
	jmpTarget(_jumpImmediate, jmpTarget(_jumpBadIndex, jmpTarget(_jumpNonExternalAddress, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveLoadFromExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveObjectAt */
static sqInt
genPrimitiveObjectAt(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _headerReg;
	AbstractInstruction *_jumpBadIndex;
	AbstractInstruction *_jumpBounds;
	AbstractInstruction *_jumpNotHeaderIndex;
	sqInt _quickConstant;

	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genGetMethodHeaderOfintoscratch(ReceiverResultReg, (_headerReg = Arg1Reg), TempReg);
	/* begin checkQuickConstant:forInstruction: */
	literal = ((((usqInt) 1 ) << 3) | 1);
	_anInstruction3 = genoperandoperand(CmpCqR, ((((usqInt) 1 ) << 3) | 1), Arg0Reg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpNonZero: */
	_jumpNotHeaderIndex = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	{
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, _headerReg, ReceiverResultReg);
		/* end MoveR:R: */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
	}
	jmpTarget(_jumpNotHeaderIndex, gAndCqR(((((usqInt) (alternateHeaderNumLiteralsMask()) ) << 3) | 1), _headerReg));
	{
		/* begin SubCq:R: */
		_quickConstant = (((((usqInt) 1 ) << 3) | 1)) - (smallIntegerTag());
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(SubCqR, _quickConstant, Arg0Reg);
		/* end checkQuickConstant:forInstruction: */
		/* end SubCq:R: */
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, _headerReg, Arg0Reg);
		/* end CmpR:R: */
	}
	/* begin JumpAbove: */
	_jumpBounds = genConditionalBranchoperand(JumpAbove, ((sqInt) 0 ));
	/* end JumpAbove: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	{
		/* begin AddCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperand(AddCqR, ((usqInt) BaseHeaderSize ) >> (shiftForWord()), Arg0Reg);
		/* end checkQuickConstant:forInstruction: */
		/* end AddCq:R: */
		/* begin MoveXwr:R:R: */
		genoperandoperandoperand(MoveXwrRR, Arg0Reg, ReceiverResultReg, ReceiverResultReg);
		/* end MoveXwr:R:R: */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		} else {
			{
				/* begin RetN: */
				genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
				/* end RetN: */
			}
		}
	}
	jmpTarget(_jumpBounds, gAddCqR((((((usqInt) 1 ) << 3) | 1)) - (smallIntegerTag()), Arg0Reg));
	jmpTarget(_jumpBadIndex, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return CompletePrimitive;
}
/*	c.f. StackInterpreter>>stSizeOf: lengthOf:baseHeader:format: 
	fixedFieldsOf:format:length:  */
/* CogObjectRepresentationForSpur>>#genPrimitiveSize */
static sqInt
genPrimitiveSize(void)
{
	sqInt literal;
	sqInt literal2;
	sqInt literal3;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction10;
	AbstractInstruction *_anInstruction11;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_anInstruction8;
	AbstractInstruction *_anInstruction9;
	AbstractInstruction * _jump32BitLongsDone;
	AbstractInstruction * _jump64BitLongsDone;
	AbstractInstruction * _jumpArrayDone;
	AbstractInstruction * _jumpBytesDone;
	AbstractInstruction * _jumpHasFixedFields;
	AbstractInstruction *_jumpImm;
	AbstractInstruction * _jumpIs32BitLongs;
	AbstractInstruction * _jumpIsBytes;
	AbstractInstruction *_jumpIsContext;
	AbstractInstruction * _jumpIsContext2;
	AbstractInstruction * _jumpIsShorts;
	AbstractInstruction *_jumpNotIndexable;
	AbstractInstruction * _jumpNotIndexable2;
	AbstractInstruction * _jumpShortsDone;
	sqInt _quickConstant;
	sqInt _quickConstant2;
	sqInt _quickConstant3;
	sqInt _quickConstant4;
	sqInt _quickConstant5;
	sqInt _quickConstant6;
	sqInt _quickConstant7;

	_jumpImm = genJumpImmediate(ReceiverResultReg);
	/* begin genGetSizeOf:into:formatReg:scratchReg:abortJumpsInto: */
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, SendNumArgsReg, TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, ClassReg);
	/* begin CmpCq:R: */
	_quickConstant2 = firstByteFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant2, SendNumArgsReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpGreaterOrEqual: */
	_jumpIsBytes = genConditionalBranchoperand(JumpGreaterOrEqual, ((sqInt) 0 ));
	/* end JumpGreaterOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant3 = arrayFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant3, SendNumArgsReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpZero: */
	_jumpArrayDone = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	/* begin JumpLess: */
	_jumpNotIndexable2 = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
	/* end JumpLess: */
	/* begin CmpCq:R: */
	_quickConstant4 = weakArrayFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction4 = genoperandoperand(CmpCqR, _quickConstant4, SendNumArgsReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpLessOrEqual: */
	_jumpHasFixedFields = genConditionalBranchoperand(JumpLessOrEqual, ((sqInt) 0 ));
	/* end JumpLessOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant5 = firstShortFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction5 = genoperandoperand(CmpCqR, _quickConstant5, SendNumArgsReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpGreaterOrEqual: */
	_jumpIsShorts = genConditionalBranchoperand(JumpGreaterOrEqual, ((sqInt) 0 ));
	/* end JumpGreaterOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant6 = firstLongFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction6 = genoperandoperand(CmpCqR, _quickConstant6, SendNumArgsReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpGreaterOrEqual: */
	_jumpIs32BitLongs = genConditionalBranchoperand(JumpGreaterOrEqual, ((sqInt) 0 ));
	/* end JumpGreaterOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant7 = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction7 = genoperandoperand(CmpCqR, _quickConstant7, SendNumArgsReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpZero: */
	_jump64BitLongsDone = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	jmpTarget(_jumpNotIndexable2, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	/* begin Jump: */
	_jumpNotIndexable2 = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpIsBytes, gLogicalShiftLeftCqR(shiftForWord(), ClassReg));
	/* begin checkQuickConstant:forInstruction: */
	literal = BytesPerWord - 1;
	_anInstruction8 = genoperandoperand(AndCqR, BytesPerWord - 1, SendNumArgsReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin SubR:R: */
	genoperandoperand(SubRR, SendNumArgsReg, ClassReg);
	/* end SubR:R: */
	/* begin Jump: */
	_jumpBytesDone = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpIsShorts, gLogicalShiftLeftCqR((shiftForWord()) - 1, ClassReg));
	/* begin checkQuickConstant:forInstruction: */
	literal2 = (((usqInt) BytesPerWord ) >> 1) - 1;
	_anInstruction9 = genoperandoperand(AndCqR, (((usqInt) BytesPerWord ) >> 1) - 1, SendNumArgsReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin SubR:R: */
	genoperandoperand(SubRR, SendNumArgsReg, ClassReg);
	/* end SubR:R: */
	/* begin Jump: */
	_jumpShortsDone = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpIs32BitLongs, gLogicalShiftLeftCqR((shiftForWord()) - 2, ClassReg));
	/* begin checkQuickConstant:forInstruction: */
	literal3 = (((usqInt) BytesPerWord ) >> 2) - 1;
	_anInstruction10 = genoperandoperand(AndCqR, (((usqInt) BytesPerWord ) >> 2) - 1, SendNumArgsReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin SubR:R: */
	genoperandoperand(SubRR, SendNumArgsReg, ClassReg);
	/* end SubR:R: */
	/* begin Jump: */
	_jump32BitLongsDone = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpHasFixedFields, gAndCqR(classIndexMask(), TempReg));
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, TempReg, SendNumArgsReg);
	/* end MoveR:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction11 = genoperandoperand(CmpCqR, ClassMethodContextCompactIndex, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpZero: */
	_jumpIsContext2 = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	genGetClassObjectOfClassIndexintoscratchReg(SendNumArgsReg, Extra0Reg, TempReg);
	genLoadSlotsourceRegdestReg(InstanceSpecificationIndex, Extra0Reg, SendNumArgsReg);
	genConvertSmallIntegerToIntegerInReg(SendNumArgsReg);
	{
		/* begin AndCq:R: */
		_quickConstant = fixedFieldsOfClassFormatMask();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(AndCqR, _quickConstant, SendNumArgsReg);
		/* end checkQuickConstant:forInstruction: */
		/* end AndCq:R: */
		/* begin SubR:R: */
		genoperandoperand(SubRR, SendNumArgsReg, ClassReg);
		/* end SubR:R: */
	}
	jmpTarget(_jumpArrayDone, jmpTarget(_jump64BitLongsDone, jmpTarget(_jump32BitLongsDone, jmpTarget(_jumpShortsDone, jmpTarget(_jumpBytesDone, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	{
		_jumpNotIndexable = _jumpNotIndexable2;
		_jumpIsContext = _jumpIsContext2;
	}
	/* end genGetSizeOf:into:formatReg:scratchReg:abortJumpsInto: */
	genConvertIntegerToSmallIntegerInReg(ClassReg);
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, ClassReg, ReceiverResultReg);
	/* end MoveR:R: */
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpImm, jmpTarget(_jumpNotIndexable, jmpTarget(_jumpIsContext, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreBoolean8IntoBytes */
static sqInt
genPrimitiveStoreBoolean8IntoBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction32;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction42;
	sqInt _destPointerRegister;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpNotBooleanObject;
	AbstractInstruction * _jumpNotTrueObject;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveStore:intoBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction22 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction32 = genoperandoperand(CmpCqR, 1, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg0Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, _destPointerRegister);
	/* end MoveR:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, ClassReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction42 = genoperandoperand(AddCqR, BaseHeaderSize, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	{
		annotateobjRef(gCmpCwR(trueObject(), Arg1Reg), trueObject());
		/* begin JumpNonZero: */
		_jumpNotTrueObject = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		/* begin MoveCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, 1, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveCq:R: */
		/* begin MoveR:M8:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperandoperand(MoveRM8r, TempReg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M8:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNotTrueObject, annotateobjRef(gCmpCwR(falseObject(), Arg1Reg), falseObject()));
		/* begin JumpNonZero: */
		_jumpNotBooleanObject = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		/* begin MoveCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperand(MoveCqR, 0, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveCq:R: */
		/* begin MoveR:M8:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction4 = genoperandoperandoperand(MoveRM8r, TempReg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M8:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNotBooleanObject, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
	/* end genPrimitiveStore:intoBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreBoolean8IntoExternalAddress */
static sqInt
genPrimitiveStoreBoolean8IntoExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _destPointerRegister;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	AbstractInstruction * _jumpNotBooleanObject;
	AbstractInstruction * _jumpNotTrueObject;
	sqInt _quickConstant;

	/* begin genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction5 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction22 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, _destPointerRegister);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg0Reg, _destPointerRegister);
	/* end AddR:R: */
	{
		annotateobjRef(gCmpCwR(trueObject(), Arg1Reg), trueObject());
		/* begin JumpNonZero: */
		_jumpNotTrueObject = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		/* begin MoveCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, 1, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveCq:R: */
		/* begin MoveR:M8:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperandoperand(MoveRM8r, TempReg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M8:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNotTrueObject, annotateobjRef(gCmpCwR(falseObject(), Arg1Reg), falseObject()));
		/* begin JumpNonZero: */
		_jumpNotBooleanObject = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		/* begin MoveCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperand(MoveCqR, 0, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveCq:R: */
		/* begin MoveR:M8:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction4 = genoperandoperandoperand(MoveRM8r, TempReg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M8:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNotBooleanObject, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpNonExternalAddress, jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreChar16IntoBytes */
static sqInt
genPrimitiveStoreChar16IntoBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _destPointerRegister;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpNonCharacter;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveStore:intoBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 2, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, 2 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg0Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, _destPointerRegister);
	/* end MoveR:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, ClassReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, TempReg);
		/* end MoveR:R: */
		/* begin genJumpNotCharacterInScratchReg: */
		_jumpNonCharacter = genJumpNotCharacter(TempReg);
		/* end genJumpNotCharacterInScratchReg: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertCharacterToCodeInReg(Arg1Reg);
		/* begin MoveR:M16:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveRM16r, Arg1Reg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M16:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonCharacter, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
	/* end genPrimitiveStore:intoBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreChar16IntoExternalAddress */
static sqInt
genPrimitiveStoreChar16IntoExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _destPointerRegister;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonCharacter;
	AbstractInstruction * _jumpNonExternalAddress;
	sqInt _quickConstant;

	/* begin genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, _destPointerRegister);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg0Reg, _destPointerRegister);
	/* end AddR:R: */
	{
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, TempReg);
		/* end MoveR:R: */
		/* begin genJumpNotCharacterInScratchReg: */
		_jumpNonCharacter = genJumpNotCharacter(TempReg);
		/* end genJumpNotCharacterInScratchReg: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertCharacterToCodeInReg(Arg1Reg);
		/* begin MoveR:M16:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveRM16r, Arg1Reg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M16:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonCharacter, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpNonExternalAddress, jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreChar32IntoBytes */
static sqInt
genPrimitiveStoreChar32IntoBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _destPointerRegister;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpNonCharacter;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveStore:intoBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 4, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, 4 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg0Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, _destPointerRegister);
	/* end MoveR:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, ClassReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, TempReg);
		/* end MoveR:R: */
		/* begin genJumpNotCharacterInScratchReg: */
		_jumpNonCharacter = genJumpNotCharacter(TempReg);
		/* end genJumpNotCharacterInScratchReg: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertCharacterToCodeInReg(Arg1Reg);
		/* begin MoveR:M32:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveRM32r, Arg1Reg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M32:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonCharacter, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
	/* end genPrimitiveStore:intoBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreChar32IntoExternalAddress */
static sqInt
genPrimitiveStoreChar32IntoExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _destPointerRegister;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonCharacter;
	AbstractInstruction * _jumpNonExternalAddress;
	sqInt _quickConstant;

	/* begin genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, _destPointerRegister);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg0Reg, _destPointerRegister);
	/* end AddR:R: */
	{
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, TempReg);
		/* end MoveR:R: */
		/* begin genJumpNotCharacterInScratchReg: */
		_jumpNonCharacter = genJumpNotCharacter(TempReg);
		/* end genJumpNotCharacterInScratchReg: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertCharacterToCodeInReg(Arg1Reg);
		/* begin MoveR:M32:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveRM32r, Arg1Reg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M32:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonCharacter, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpNonExternalAddress, jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreChar8IntoBytes */
static sqInt
genPrimitiveStoreChar8IntoBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	sqInt _destPointerRegister;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpNonCharacter;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveStore:intoBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 1, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg0Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, _destPointerRegister);
	/* end MoveR:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, ClassReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, TempReg);
		/* end MoveR:R: */
		/* begin genJumpNotCharacterInScratchReg: */
		_jumpNonCharacter = genJumpNotCharacter(TempReg);
		/* end genJumpNotCharacterInScratchReg: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertCharacterToCodeInReg(Arg1Reg);
		/* begin MoveR:M8:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveRM8r, Arg1Reg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M8:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonCharacter, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
	/* end genPrimitiveStore:intoBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreChar8IntoExternalAddress */
static sqInt
genPrimitiveStoreChar8IntoExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _destPointerRegister;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonCharacter;
	AbstractInstruction * _jumpNonExternalAddress;
	sqInt _quickConstant;

	/* begin genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, _destPointerRegister);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg0Reg, _destPointerRegister);
	/* end AddR:R: */
	{
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, TempReg);
		/* end MoveR:R: */
		/* begin genJumpNotCharacterInScratchReg: */
		_jumpNonCharacter = genJumpNotCharacter(TempReg);
		/* end genJumpNotCharacterInScratchReg: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertCharacterToCodeInReg(Arg1Reg);
		/* begin MoveR:M8:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveRM8r, Arg1Reg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M8:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonCharacter, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpNonExternalAddress, jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreFloat32IntoBytes */
static sqInt
genPrimitiveStoreFloat32IntoBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _destPointerRegister;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpNonFloat;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveStore:intoBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 4, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, 4 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg0Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, _destPointerRegister);
	/* end MoveR:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, ClassReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	{
		_jumpNonFloat = genBoxedOrSmallFloatscratchReginto(Arg1Reg, TempReg, DPFPReg0);
		/* begin ConvertRd:Rs: */
		genoperandoperand(ConvertRdRs, DPFPReg0, DPFPReg0);
		/* end ConvertRd:Rs: */
		/* begin MoveRs:M32:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveRsM32r, DPFPReg0, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveRs:M32:r: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonFloat, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
	/* end genPrimitiveStore:intoBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreFloat32IntoExternalAddress */
static sqInt
genPrimitiveStoreFloat32IntoExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _destPointerRegister;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	AbstractInstruction * _jumpNonFloat;
	sqInt _quickConstant;

	/* begin genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, _destPointerRegister);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg0Reg, _destPointerRegister);
	/* end AddR:R: */
	{
		_jumpNonFloat = genBoxedOrSmallFloatscratchReginto(Arg1Reg, TempReg, DPFPReg0);
		/* begin ConvertRd:Rs: */
		genoperandoperand(ConvertRdRs, DPFPReg0, DPFPReg0);
		/* end ConvertRd:Rs: */
		/* begin MoveRs:M32:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveRsM32r, DPFPReg0, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveRs:M32:r: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonFloat, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpNonExternalAddress, jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreFloat64IntoBytes */
static sqInt
genPrimitiveStoreFloat64IntoBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _destPointerRegister;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpNonFloat;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveStore:intoBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 8, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, 8 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg0Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, _destPointerRegister);
	/* end MoveR:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, ClassReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	{
		_jumpNonFloat = genBoxedOrSmallFloatscratchReginto(Arg1Reg, TempReg, DPFPReg0);
		/* begin MoveRd:M64:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveRdM64r, DPFPReg0, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveRd:M64:r: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonFloat, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
	/* end genPrimitiveStore:intoBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreFloat64IntoExternalAddress */
static sqInt
genPrimitiveStoreFloat64IntoExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _destPointerRegister;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	AbstractInstruction * _jumpNonFloat;
	sqInt _quickConstant;

	/* begin genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, _destPointerRegister);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg0Reg, _destPointerRegister);
	/* end AddR:R: */
	{
		_jumpNonFloat = genBoxedOrSmallFloatscratchReginto(Arg1Reg, TempReg, DPFPReg0);
		/* begin MoveRd:M64:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveRdM64r, DPFPReg0, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveRd:M64:r: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonFloat, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpNonExternalAddress, jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreInt16IntoBytes */
static sqInt
genPrimitiveStoreInt16IntoBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _destPointerRegister;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpNonSmallInteger;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveStore:intoBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 2, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, 2 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg0Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, _destPointerRegister);
	/* end MoveR:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, ClassReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin genJumpNotSmallInteger:scratchReg: */
		_jumpNonSmallInteger = genJumpNotSmallInteger(Arg1Reg);
		/* end genJumpNotSmallInteger:scratchReg: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertSmallIntegerToIntegerInReg(Arg1Reg);
		/* begin MoveR:M16:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveRM16r, Arg1Reg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M16:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonSmallInteger, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
	/* end genPrimitiveStore:intoBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreInt16IntoExternalAddress */
static sqInt
genPrimitiveStoreInt16IntoExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _destPointerRegister;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	AbstractInstruction * _jumpNonSmallInteger;
	sqInt _quickConstant;

	/* begin genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, _destPointerRegister);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg0Reg, _destPointerRegister);
	/* end AddR:R: */
	{
		/* begin genJumpNotSmallInteger:scratchReg: */
		_jumpNonSmallInteger = genJumpNotSmallInteger(Arg1Reg);
		/* end genJumpNotSmallInteger:scratchReg: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertSmallIntegerToIntegerInReg(Arg1Reg);
		/* begin MoveR:M16:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveRM16r, Arg1Reg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M16:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonSmallInteger, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpNonExternalAddress, jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreInt8IntoBytes */
static sqInt
genPrimitiveStoreInt8IntoBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	sqInt _destPointerRegister;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpNonSmallInteger;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveStore:intoBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 1, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg0Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, _destPointerRegister);
	/* end MoveR:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, ClassReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin genJumpNotSmallInteger:scratchReg: */
		_jumpNonSmallInteger = genJumpNotSmallInteger(Arg1Reg);
		/* end genJumpNotSmallInteger:scratchReg: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertSmallIntegerToIntegerInReg(Arg1Reg);
		/* begin MoveR:M8:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveRM8r, Arg1Reg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M8:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonSmallInteger, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
	/* end genPrimitiveStore:intoBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreInt8IntoExternalAddress */
static sqInt
genPrimitiveStoreInt8IntoExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _destPointerRegister;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNonExternalAddress;
	AbstractInstruction * _jumpNonSmallInteger;
	sqInt _quickConstant;

	/* begin genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, _destPointerRegister);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg0Reg, _destPointerRegister);
	/* end AddR:R: */
	{
		/* begin genJumpNotSmallInteger:scratchReg: */
		_jumpNonSmallInteger = genJumpNotSmallInteger(Arg1Reg);
		/* end genJumpNotSmallInteger:scratchReg: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertSmallIntegerToIntegerInReg(Arg1Reg);
		/* begin MoveR:M8:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveRM8r, Arg1Reg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M8:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonSmallInteger, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpNonExternalAddress, jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStorePointerIntoBytes */
static sqInt
genPrimitiveStorePointerIntoBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction32;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _destPointerRegister;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpImmediate2;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpNonExternalAddress;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;
	sqInt _quickConstant2;

	/* begin genPrimitiveStore:intoBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate2 = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant2 = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction22 = genoperandoperand(CmpCqR, _quickConstant2, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction32 = genoperandoperand(CmpCqR, BytesPerWord, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, BytesPerWord - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg0Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, _destPointerRegister);
	/* end MoveR:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, ClassReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	{
		_jumpImmediate = genJumpImmediate(Arg1Reg);
		genGetCompactClassIndexNonImmOfinto(Arg1Reg, TempReg);
		/* begin CmpCq:R: */
		_quickConstant = classExternalAddressIndex();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, _quickConstant, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpNonZero: */
		_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		/* begin MoveMw:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, Arg1Reg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
		/* begin MoveR:Mw:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperandoperand(MoveRMwr, TempReg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:Mw:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonExternalAddress, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	}
	jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate2, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
	/* end genPrimitiveStore:intoBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStorePointerIntoExternalAddress */
static sqInt
genPrimitiveStorePointerIntoExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	sqInt _destPointerRegister;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpImmediate2;
	AbstractInstruction * _jumpNonExternalAddress;
	AbstractInstruction * _jumpNonExternalAddress2;
	sqInt _quickConstant;
	sqInt _quickConstant2;

	/* begin genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate2 = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant2 = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction4 = genoperandoperand(CmpCqR, _quickConstant2, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress2 = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction22 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, _destPointerRegister);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg0Reg, _destPointerRegister);
	/* end AddR:R: */
	{
		_jumpImmediate = genJumpImmediate(Arg1Reg);
		genGetCompactClassIndexNonImmOfinto(Arg1Reg, TempReg);
		/* begin CmpCq:R: */
		_quickConstant = classExternalAddressIndex();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, _quickConstant, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpNonZero: */
		_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		/* begin MoveMw:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, Arg1Reg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
		/* begin MoveR:Mw:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperandoperand(MoveRMwr, TempReg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:Mw:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonExternalAddress, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	}
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpNonExternalAddress2, jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate2, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreUInt16IntoBytes */
static sqInt
genPrimitiveStoreUInt16IntoBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	sqInt _destPointerRegister;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpNegative;
	AbstractInstruction * _jumpNonSmallInteger;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveStore:intoBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction22 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 2, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	{
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(SubCqR, 2 - 1, _nSlotsOrBytesReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg0Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, _destPointerRegister);
	/* end MoveR:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, ClassReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin genJumpNotSmallInteger:scratchReg: */
		_jumpNonSmallInteger = genJumpNotSmallInteger(Arg1Reg);
		/* end genJumpNotSmallInteger:scratchReg: */
		/* begin CmpCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, 0, Arg1Reg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpLess: */
		_jumpNegative = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
		/* end JumpLess: */
		genConvertSmallIntegerToIntegerInReg(Arg1Reg);
		/* begin MoveR:M16:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperandoperand(MoveRM16r, Arg1Reg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M16:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonSmallInteger, jmpTarget(_jumpNegative, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	}
	jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
	/* end genPrimitiveStore:intoBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreUInt16IntoExternalAddress */
static sqInt
genPrimitiveStoreUInt16IntoExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	sqInt _destPointerRegister;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNegative;
	AbstractInstruction * _jumpNonExternalAddress;
	AbstractInstruction * _jumpNonSmallInteger;
	sqInt _quickConstant;

	/* begin genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction22 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, _destPointerRegister);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg0Reg, _destPointerRegister);
	/* end AddR:R: */
	{
		/* begin genJumpNotSmallInteger:scratchReg: */
		_jumpNonSmallInteger = genJumpNotSmallInteger(Arg1Reg);
		/* end genJumpNotSmallInteger:scratchReg: */
		/* begin CmpCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, 0, Arg1Reg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpLess: */
		_jumpNegative = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
		/* end JumpLess: */
		genConvertSmallIntegerToIntegerInReg(Arg1Reg);
		/* begin MoveR:M16:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperandoperand(MoveRM16r, Arg1Reg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M16:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonSmallInteger, jmpTarget(_jumpNegative, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	}
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpNonExternalAddress, jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreUInt8IntoBytes */
static sqInt
genPrimitiveStoreUInt8IntoBytes(void)
{
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	sqInt _destPointerRegister;
	sqInt _formatReg;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpIsPointers;
	AbstractInstruction * _jumpNegative;
	AbstractInstruction * _jumpNonSmallInteger;
	AbstractInstruction * _jumpOutOfBounds;
	AbstractInstruction * _jumpSmaller;
	sqInt _nSlotsOrBytesReg;
	sqInt _quickConstant;

	/* begin genPrimitiveStore:intoBytesWith:needsToTrap: */
	_nSlotsOrBytesReg = ClassReg;
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	genGetFormatOfintoleastSignificantHalfOfBaseHeaderIntoScratch(ReceiverResultReg, (_formatReg = SendNumArgsReg), TempReg);
	genGetNumSlotsOfinto(ReceiverResultReg, _nSlotsOrBytesReg);
	/* begin CmpCq:R: */
	_quickConstant = sixtyFourBitIndexableFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction22 = genoperandoperand(CmpCqR, _quickConstant, _formatReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_jumpIsPointers = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	genConvertDataFormatnumSlotsintoBytes(_formatReg, _nSlotsOrBytesReg, _nSlotsOrBytesReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, 1, _nSlotsOrBytesReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpBelow: */
	_jumpSmaller = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _nSlotsOrBytesReg, Arg0Reg);
	/* end CmpR:R: */
	/* begin JumpAboveOrEqual: */
	_jumpOutOfBounds = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Arg0Reg, _destPointerRegister);
	/* end MoveR:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, ReceiverResultReg, ClassReg);
	/* end AddR:R: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction4 = genoperandoperand(AddCqR, BaseHeaderSize, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	{
		/* begin genJumpNotSmallInteger:scratchReg: */
		_jumpNonSmallInteger = genJumpNotSmallInteger(Arg1Reg);
		/* end genJumpNotSmallInteger:scratchReg: */
		/* begin CmpCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, 0, Arg1Reg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpLess: */
		_jumpNegative = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
		/* end JumpLess: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertSmallIntegerToIntegerInReg(Arg1Reg);
		/* begin MoveR:M8:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperandoperand(MoveRM8r, Arg1Reg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M8:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonSmallInteger, jmpTarget(_jumpNegative, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	}
	jmpTarget(_jumpIsPointers, jmpTarget(_jumpSmaller, jmpTarget(_jumpOutOfBounds, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return CompletePrimitive;
	/* end genPrimitiveStore:intoBytesWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStoreUInt8IntoExternalAddress */
static sqInt
genPrimitiveStoreUInt8IntoExternalAddress(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction3;
	sqInt _destPointerRegister;
	AbstractInstruction * _jumpBadIndex;
	AbstractInstruction * _jumpImmediate;
	AbstractInstruction * _jumpNegative;
	AbstractInstruction * _jumpNonExternalAddress;
	AbstractInstruction * _jumpNonSmallInteger;
	sqInt _quickConstant;

	/* begin genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
	_destPointerRegister = ClassReg;
	/* begin genLoadArgAtDepth:into: */
	assert(1 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	_jumpImmediate = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = classExternalAddressIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpNonZero: */
	_jumpNonExternalAddress = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpBadIndex = genJumpNotSmallInteger(Arg0Reg);
	/* end genJumpNotSmallInteger:scratchReg: */
	genConvertSmallIntegerToIntegerInReg(Arg0Reg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction22 = genoperandoperandoperand(MoveMwrR, BaseHeaderSize, ReceiverResultReg, _destPointerRegister);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, Arg0Reg, _destPointerRegister);
	/* end AddR:R: */
	{
		/* begin genJumpNotSmallInteger:scratchReg: */
		_jumpNonSmallInteger = genJumpNotSmallInteger(Arg1Reg);
		/* end genJumpNotSmallInteger:scratchReg: */
		/* begin CmpCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, 0, Arg1Reg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpLess: */
		_jumpNegative = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
		/* end JumpLess: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg1Reg, ReceiverResultReg);
		/* end MoveR:R: */
		genConvertSmallIntegerToIntegerInReg(Arg1Reg);
		/* begin MoveR:M8:r: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperandoperand(MoveRM8r, Arg1Reg, 0, _destPointerRegister);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveR:M8:r: */
		/* begin genPrimReturn */
		if (methodOrBlockNumArgs <= 2) {
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
 else {
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
		/* end genPrimReturn */
		jmpTarget(_jumpNonSmallInteger, jmpTarget(_jumpNegative, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	}
	genConvertIntegerToSmallIntegerInReg(Arg0Reg);
	jmpTarget(_jumpNonExternalAddress, jmpTarget(_jumpBadIndex, jmpTarget(_jumpImmediate, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
	return CompletePrimitive;
	/* end genPrimitiveStoreIntoExternalAddressWith:needsToTrap: */
}
/* CogObjectRepresentationForSpur>>#genPrimitiveStringCompareWith */
static sqInt
genPrimitiveStringCompareWith(void)
{
	sqInt literal;
	sqInt literal2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_anInstruction8;
	AbstractInstruction *_anInstruction9;
	AbstractInstruction * _instr;
	AbstractInstruction *_jump;
	AbstractInstruction *_jumpAbove;
	AbstractInstruction *_jumpIncorrectFormat1;
	AbstractInstruction *_jumpIncorrectFormat2;
	AbstractInstruction *_jumpIncorrectFormat3;
	AbstractInstruction *_jumpIncorrectFormat4;
	AbstractInstruction *_jumpMidFailure;
	AbstractInstruction *_jumpSuccess;
	sqInt _minSizeReg;
	sqInt _quickConstant;
	sqInt _quickConstant2;
	sqInt _quickConstant3;
	sqInt _quickConstant4;
	sqInt _string1CharOrByteSizeReg;
	sqInt _string1Reg;
	sqInt _string2CharOrByteSizeReg;
	sqInt _string2Reg;

	_string1Reg = ReceiverResultReg;
	_string2Reg = Arg0Reg;
	_string1CharOrByteSizeReg = Arg1Reg;
	_string2CharOrByteSizeReg = ClassReg;
	_minSizeReg = SendNumArgsReg;
	/* begin genLoadArgAtDepth:into: */
	assert(0 < (numRegArgs()));
	/* end genLoadArgAtDepth:into: */
	genGetFormatOfinto(_string1Reg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant = firstByteFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpLess: */
	_jumpIncorrectFormat1 = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
	/* end JumpLess: */
	/* begin CmpCq:R: */
	_quickConstant2 = firstCompiledMethodFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction4 = genoperandoperand(CmpCqR, _quickConstant2, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpIncorrectFormat2 = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	genGetNumSlotsOfinto(_string1Reg, _string1CharOrByteSizeReg);
	/* begin LogicalShiftLeftCq:R: */
	genoperandoperand(LogicalShiftLeftCqR, shiftForWord(), _string1CharOrByteSizeReg);
	/* end LogicalShiftLeftCq:R: */
	gAndCqRR(BytesPerWord - 1, TempReg, TempReg);
	/* begin SubR:R: */
	genoperandoperand(SubRR, TempReg, _string1CharOrByteSizeReg);
	/* end SubR:R: */
	genGetFormatOfinto(_string2Reg, TempReg);
	/* begin CmpCq:R: */
	_quickConstant3 = firstByteFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction5 = genoperandoperand(CmpCqR, _quickConstant3, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpLess: */
	_jumpIncorrectFormat3 = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
	/* end JumpLess: */
	/* begin CmpCq:R: */
	_quickConstant4 = firstCompiledMethodFormat();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction6 = genoperandoperand(CmpCqR, _quickConstant4, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_jumpIncorrectFormat4 = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	genGetNumSlotsOfinto(_string2Reg, _string2CharOrByteSizeReg);
	/* begin LogicalShiftLeftCq:R: */
	genoperandoperand(LogicalShiftLeftCqR, shiftForWord(), _string2CharOrByteSizeReg);
	/* end LogicalShiftLeftCq:R: */
	gAndCqRR(BytesPerWord - 1, TempReg, TempReg);
	/* begin SubR:R: */
	genoperandoperand(SubRR, TempReg, _string2CharOrByteSizeReg);
	/* end SubR:R: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _string1CharOrByteSizeReg, _string2CharOrByteSizeReg);
	/* end CmpR:R: */
	/* begin JumpBelow: */
	_jumpAbove = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, _string1CharOrByteSizeReg, _minSizeReg);
	/* end MoveR:R: */
	/* begin Jump: */
	_jump = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpAbove, genoperandoperand(MoveRR, _string2CharOrByteSizeReg, _minSizeReg));
	jmpTarget(_jump, checkQuickConstantforInstruction(0, genoperandoperand(CmpCqR, 0, _minSizeReg)));
	/* begin JumpZero: */
	_jumpSuccess = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction7 = genoperandoperand(MoveCqR, BaseHeaderSize, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = BaseHeaderSize;
	_anInstruction8 = genoperandoperand(AddCqR, BaseHeaderSize, _minSizeReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin MoveXbr:R:R: */
	_instr = genoperandoperandoperand(MoveXbrRR, TempReg, _string1Reg, _string1CharOrByteSizeReg);
	/* end MoveXbr:R:R: */
	{
		/* begin AndCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(AndCqR, 0xFF, _string1CharOrByteSizeReg);
		/* end checkQuickConstant:forInstruction: */
		/* end AndCq:R: */
	}
	/* begin MoveXbr:R:R: */
	genoperandoperandoperand(MoveXbrRR, TempReg, _string2Reg, _string2CharOrByteSizeReg);
	/* end MoveXbr:R:R: */
	{
		/* begin AndCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperand(AndCqR, 0xFF, _string2CharOrByteSizeReg);
		/* end checkQuickConstant:forInstruction: */
		/* end AndCq:R: */
	}
	/* begin SubR:R: */
	genoperandoperand(SubRR, _string2CharOrByteSizeReg, _string1CharOrByteSizeReg);
	/* end SubR:R: */
	/* begin JumpNonZero: */
	_jumpMidFailure = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction9 = genoperandoperand(AddCqR, 1, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, TempReg, _minSizeReg);
	/* end CmpR:R: */
	/* begin JumpNonZero: */
	genConditionalBranchoperand(JumpNonZero, ((sqInt) _instr ));
	/* end JumpNonZero: */
	genGetNumBytesOfinto(_string1Reg, _string1CharOrByteSizeReg);
	genGetNumBytesOfinto(_string2Reg, _string2CharOrByteSizeReg);
	jmpTarget(_jumpSuccess, genoperandoperand(SubRR, _string2CharOrByteSizeReg, _string1CharOrByteSizeReg));
	jmpTarget(_jumpMidFailure, genoperandoperand(MoveRR, _string1CharOrByteSizeReg, ReceiverResultReg));
	genConvertIntegerToSmallIntegerInReg(ReceiverResultReg);
	if (methodOrBlockNumArgs <= 2) {
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	} else {
		{
			/* begin RetN: */
			genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
			/* end RetN: */
		}
	}
	jmpTarget(_jumpIncorrectFormat4, jmpTarget(_jumpIncorrectFormat3, jmpTarget(_jumpIncorrectFormat2, jmpTarget(_jumpIncorrectFormat1, genoperandoperand(Label, (labelCounter += 1), bytecodePC)))));
	return CompletePrimitive;
}
/*	replaceFrom: start to: stop with: replacement startingAt: repStart.  
	 
	The primitive in the JIT tries to deal with two pathological cases, copy 
	of arrays and byteStrings, 
	which often copies only a dozen of fields and where switching to the C 
	runtime cost a lot. 
	 
	Based on heuristics on the method class, I generate a quick array path 
	(typically for Array), 
	a quick byteString path (typically for ByteString, ByteArray and 
	LargeInteger) or no quick  
	path at all (Typically for Bitmap). 
	 
	The many tests to ensure that the primitive won't fail are not super 
	optimised (multiple reloading 
	or stack arguments in registers) but this is still good enough and worth 
	it since we're avoiding  
	the Smalltalk to C stack switch. The tight copying loops are optimised.  
	 
	It is possible to build a bigger version with the 2 different paths but I 
	(Clement) believe this  
	is too big machine code wise to be worth it. */
/* CogObjectRepresentationForSpur>>#genPrimitiveStringReplace */
static sqInt
genPrimitiveStringReplace(void)
{
	sqInt literal;
	sqInt literal2;
	sqInt _adjust;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction10;
	AbstractInstruction *_anInstruction11;
	AbstractInstruction *_anInstruction12;
	AbstractInstruction *_anInstruction13;
	AbstractInstruction *_anInstruction14;
	AbstractInstruction *_anInstruction15;
	AbstractInstruction *_anInstruction16;
	AbstractInstruction *_anInstruction17;
	AbstractInstruction *_anInstruction18;
	AbstractInstruction *_anInstruction19;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction20;
	AbstractInstruction *_anInstruction21;
	AbstractInstruction *_anInstruction22;
	AbstractInstruction *_anInstruction23;
	AbstractInstruction *_anInstruction24;
	AbstractInstruction *_anInstruction25;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_anInstruction8;
	AbstractInstruction *_anInstruction9;
	sqInt _arrayReg;
	AbstractInstruction * _instr;
	AbstractInstruction *_jmpAlreadyRemembered;
	AbstractInstruction *_jmpDestYoung;
	AbstractInstruction *_jumpEmpty;
	AbstractInstruction *_jumpImm;
	AbstractInstruction *_jumpImmutable;
	AbstractInstruction *_jumpIncorrectFormat1;
	AbstractInstruction *_jumpIncorrectFormat2;
	AbstractInstruction *_jumpIncorrectFormat3;
	AbstractInstruction *_jumpIncorrectFormat4;
	AbstractInstruction *_jumpNotSmi1;
	AbstractInstruction *_jumpNotSmi2;
	AbstractInstruction *_jumpNotSmi3;
	AbstractInstruction *_jumpOutOfBounds1;
	AbstractInstruction *_jumpOutOfBounds2;
	AbstractInstruction *_jumpOutOfBounds3;
	AbstractInstruction *_jumpOutOfBounds4;
	sqInt _offset;
	sqInt _offset10;
	sqInt _offset2;
	sqInt _offset3;
	sqInt _offset4;
	sqInt _offset5;
	sqInt _offset6;
	sqInt _offset7;
	sqInt _offset8;
	sqInt _offset9;
	sqInt _quickConstant;
	sqInt _quickConstant2;
	sqInt _quickConstant3;
	sqInt _quickConstant4;
	sqInt _quickConstant5;
	sqInt _quickConstant6;
	sqInt _replReg;
	sqInt _repStartReg;
	sqInt _result;
	sqInt _startReg;
	sqInt _stopReg;
	sqInt _wordConstant;

	_jmpAlreadyRemembered = ((AbstractInstruction *) 0 );
	_jumpImmutable = ((AbstractInstruction *) 0 );
	_jumpOutOfBounds3 = ((AbstractInstruction *) 0 );
	_jumpOutOfBounds4 = ((AbstractInstruction *) 0 );
	if (!((seemsToBeInstantiating(arrayFormat())) || (seemsToBeInstantiating(firstByteFormat())))) {
		return UnimplementedPrimitive;
	}
	_arrayReg = ReceiverResultReg;
	_startReg = Arg0Reg;
	_stopReg = Arg1Reg;
	_replReg = ClassReg;
	_repStartReg = SendNumArgsReg;
	/* begin genStackArgAt:into: */
	/* begin MoveMw:r:R: */
	_offset7 = (0 + 1) * BytesPerWord;
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction22 = genoperandoperandoperand(MoveMwrR, _offset7, SPReg, _repStartReg);
	/* end checkQuickConstant:forInstruction: */
	/* end MoveMw:r:R: */
	/* end genStackArgAt:into: */
	/* begin genStackArgAt:into: */
	/* begin MoveMw:r:R: */
	_offset8 = (1 + 1) * BytesPerWord;
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction23 = genoperandoperandoperand(MoveMwrR, _offset8, SPReg, _replReg);
	/* end checkQuickConstant:forInstruction: */
	/* end MoveMw:r:R: */
	/* end genStackArgAt:into: */
	/* begin genStackArgAt:into: */
	/* begin MoveMw:r:R: */
	_offset9 = (2 + 1) * BytesPerWord;
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction24 = genoperandoperandoperand(MoveMwrR, _offset9, SPReg, _stopReg);
	/* end checkQuickConstant:forInstruction: */
	/* end MoveMw:r:R: */
	/* end genStackArgAt:into: */
	/* begin genStackArgAt:into: */
	/* begin MoveMw:r:R: */
	_offset10 = (3 + 1) * BytesPerWord;
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction25 = genoperandoperandoperand(MoveMwrR, _offset10, SPReg, _startReg);
	/* end checkQuickConstant:forInstruction: */
	/* end MoveMw:r:R: */
	/* end genStackArgAt:into: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpNotSmi1 = genJumpNotSmallInteger(_repStartReg);
	/* end genJumpNotSmallInteger:scratchReg: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpNotSmi2 = genJumpNotSmallInteger(_stopReg);
	/* end genJumpNotSmallInteger:scratchReg: */
	/* begin genJumpNotSmallInteger:scratchReg: */
	_jumpNotSmi3 = genJumpNotSmallInteger(_startReg);
	/* end genJumpNotSmallInteger:scratchReg: */
	_jumpImm = genJumpImmediate(_replReg);
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _startReg, _stopReg);
	/* end CmpR:R: */
	/* begin JumpLess: */
	_jumpEmpty = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
	/* end JumpLess: */
	
#  if IMMUTABILITY
	{
		_jumpImmutable = genJumpImmutablescratchReg(ReceiverResultReg, TempReg);
	}
#  endif /* IMMUTABILITY */
	/* begin checkQuickConstant:forInstruction: */
	literal = ((((usqInt) 0 ) << 3) | 1);
	_anInstruction14 = genoperandoperand(CmpCqR, ((((usqInt) 0 ) << 3) | 1), _startReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpLessOrEqual: */
	_jumpOutOfBounds1 = genConditionalBranchoperand(JumpLessOrEqual, ((sqInt) 0 ));
	/* end JumpLessOrEqual: */
	/* begin checkQuickConstant:forInstruction: */
	literal2 = ((((usqInt) 0 ) << 3) | 1);
	_anInstruction15 = genoperandoperand(CmpCqR, ((((usqInt) 0 ) << 3) | 1), _repStartReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpLessOrEqual: */
	_jumpOutOfBounds2 = genConditionalBranchoperand(JumpLessOrEqual, ((sqInt) 0 ));
	/* end JumpLessOrEqual: */
	if (seemsToBeInstantiating(arrayFormat())) {
		genGetFormatOfinto(_arrayReg, TempReg);
		genGetFormatOfinto(_replReg, _startReg);
		/* begin CmpCq:R: */
		_quickConstant = arrayFormat();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant, _startReg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpNonZero: */
		_jumpIncorrectFormat1 = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		/* begin CmpCq:R: */
		_quickConstant2 = arrayFormat();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction4 = genoperandoperand(CmpCqR, _quickConstant2, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpNonZero: */
		_jumpIncorrectFormat2 = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		genGetNumSlotsOfinto(_arrayReg, TempReg);
		genConvertSmallIntegerToIntegerInReg(_stopReg);
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, TempReg, _stopReg);
		/* end CmpR:R: */
		/* begin JumpGreater: */
		_jumpOutOfBounds3 = genConditionalBranchoperand(JumpGreater, ((sqInt) 0 ));
		/* end JumpGreater: */
		genGetNumSlotsOfinto(_replReg, TempReg);
		/* begin genStackArgAt:into: */
		/* begin MoveMw:r:R: */
		_offset = (3 + 1) * BytesPerWord;
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction16 = genoperandoperandoperand(MoveMwrR, _offset, SPReg, _startReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
		/* end genStackArgAt:into: */
		genConvertSmallIntegerToIntegerInReg(_startReg);
		genConvertSmallIntegerToIntegerInReg(_repStartReg);
		/* begin SubR:R: */
		genoperandoperand(SubRR, _startReg, _stopReg);
		/* end SubR:R: */
		/* begin AddR:R: */
		genoperandoperand(AddRR, _repStartReg, _stopReg);
		/* end AddR:R: */
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, TempReg, _stopReg);
		/* end CmpR:R: */
		/* begin JumpGreater: */
		_jumpOutOfBounds4 = genConditionalBranchoperand(JumpGreater, ((sqInt) 0 ));
		/* end JumpGreater: */
		/* begin MoveCw:R: */
		_wordConstant = storeCheckBoundary();
		/* begin checkLiteral:forInstruction: */
		_anInstruction5 = genoperandoperand(MoveCwR, _wordConstant, TempReg);
		/* end checkLiteral:forInstruction: */
		/* end MoveCw:R: */
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, TempReg, _arrayReg);
		/* end CmpR:R: */
		/* begin JumpBelow: */
		_jmpDestYoung = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
		/* end JumpBelow: */
		if (!CheckRememberedInTrampoline) {
			_jmpAlreadyRemembered = genCheckRememberedBitOfscratch(_arrayReg, TempReg);
		}
		{
			callStoreCheckTrampoline();
		}
		jmpTarget(_jmpDestYoung, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
		if (!CheckRememberedInTrampoline) {
			jmpTarget(_jmpAlreadyRemembered, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
		}
		/* begin genStackArgAt:into: */
		/* begin MoveMw:r:R: */
		_offset2 = (2 + 1) * BytesPerWord;
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction17 = genoperandoperandoperand(MoveMwrR, _offset2, SPReg, _stopReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
		/* end genStackArgAt:into: */
		genConvertSmallIntegerToIntegerInReg(_stopReg);
		/* begin SubR:R: */
		genoperandoperand(SubRR, _startReg, _repStartReg);
		/* end SubR:R: */
		/* begin LogicalShiftLeftCq:R: */
		genoperandoperand(LogicalShiftLeftCqR, shiftForWord(), _repStartReg);
		/* end LogicalShiftLeftCq:R: */
		/* begin AddR:R: */
		genoperandoperand(AddRR, _repStartReg, _replReg);
		/* end AddR:R: */
		_adjust = (((usqInt) BaseHeaderSize ) >> (shiftForWord())) - 1;
		if (_adjust != 0) {
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperandoperand(AddCqR, _adjust, _startReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction2 = genoperandoperand(AddCqR, _adjust, _stopReg);
			/* end checkQuickConstant:forInstruction: */
		}
		/* begin MoveXwr:R:R: */
		_instr = genoperandoperandoperand(MoveXwrRR, _startReg, _replReg, TempReg);
		/* end MoveXwr:R:R: */
		/* begin MoveR:Xwr:R: */
		genoperandoperandoperand(MoveRXwrR, TempReg, _startReg, _arrayReg);
		/* end MoveR:Xwr:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction6 = genoperandoperand(AddCqR, 1, _startReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, _startReg, _stopReg);
		/* end CmpR:R: */
		/* begin JumpAboveOrEqual: */
		genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) _instr ));
		/* end JumpAboveOrEqual: */
		jmpTarget(_jumpEmpty, ((methodOrBlockNumArgs <= 2)
			 ? (/* begin RetN: */ genoperand(RetN, 0) /* end RetN: */)
			 : (/* begin RetN: */ genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord) /* end RetN: */)));
		jmpTarget(_jumpIncorrectFormat1, jmpTarget(_jumpIncorrectFormat2, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	}
	if (seemsToBeInstantiating(firstByteFormat())) {
		genGetFormatOfinto(_arrayReg, TempReg);
		genGetFormatOfinto(_replReg, _repStartReg);
		/* begin CmpCq:R: */
		_quickConstant3 = firstByteFormat();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction9 = genoperandoperand(CmpCqR, _quickConstant3, _repStartReg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpLess: */
		_jumpIncorrectFormat1 = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
		/* end JumpLess: */
		/* begin CmpCq:R: */
		_quickConstant4 = firstCompiledMethodFormat();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction10 = genoperandoperand(CmpCqR, _quickConstant4, _repStartReg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpGreaterOrEqual: */
		_jumpIncorrectFormat2 = genConditionalBranchoperand(JumpGreaterOrEqual, ((sqInt) 0 ));
		/* end JumpGreaterOrEqual: */
		/* begin CmpCq:R: */
		_quickConstant5 = firstByteFormat();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction11 = genoperandoperand(CmpCqR, _quickConstant5, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpLess: */
		_jumpIncorrectFormat3 = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
		/* end JumpLess: */
		/* begin CmpCq:R: */
		_quickConstant6 = firstCompiledMethodFormat();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction12 = genoperandoperand(CmpCqR, _quickConstant6, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpGreaterOrEqual: */
		_jumpIncorrectFormat4 = genConditionalBranchoperand(JumpGreaterOrEqual, ((sqInt) 0 ));
		/* end JumpGreaterOrEqual: */
		genGetNumSlotsOfinto(_arrayReg, _startReg);
		/* begin LogicalShiftLeftCq:R: */
		genoperandoperand(LogicalShiftLeftCqR, shiftForWord(), _startReg);
		/* end LogicalShiftLeftCq:R: */
		gAndCqRR(BytesPerWord - 1, TempReg, TempReg);
		/* begin SubR:R: */
		genoperandoperand(SubRR, TempReg, _startReg);
		/* end SubR:R: */
		genConvertSmallIntegerToIntegerInReg(_stopReg);
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, _startReg, _stopReg);
		/* end CmpR:R: */
		/* begin JumpGreater: */
		_jumpOutOfBounds3 = genConditionalBranchoperand(JumpGreater, ((sqInt) 0 ));
		/* end JumpGreater: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, _repStartReg, TempReg);
		/* end MoveR:R: */
		/* begin genStackArgAt:into: */
		/* begin MoveMw:r:R: */
		_offset3 = (0 + 1) * BytesPerWord;
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction18 = genoperandoperandoperand(MoveMwrR, _offset3, SPReg, _repStartReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
		/* end genStackArgAt:into: */
		/* begin genStackArgAt:into: */
		/* begin MoveMw:r:R: */
		_offset4 = (3 + 1) * BytesPerWord;
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction19 = genoperandoperandoperand(MoveMwrR, _offset4, SPReg, _startReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
		/* end genStackArgAt:into: */
		genConvertSmallIntegerToIntegerInReg(_startReg);
		genConvertSmallIntegerToIntegerInReg(_repStartReg);
		/* begin SubR:R: */
		genoperandoperand(SubRR, _startReg, _stopReg);
		/* end SubR:R: */
		/* begin AddR:R: */
		genoperandoperand(AddRR, _repStartReg, _stopReg);
		/* end AddR:R: */
		genGetNumSlotsOfinto(_replReg, _startReg);
		/* begin LogicalShiftLeftCq:R: */
		genoperandoperand(LogicalShiftLeftCqR, shiftForWord(), _startReg);
		/* end LogicalShiftLeftCq:R: */
		gAndCqRR(BytesPerWord - 1, TempReg, TempReg);
		/* begin SubR:R: */
		genoperandoperand(SubRR, TempReg, _startReg);
		/* end SubR:R: */
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, _startReg, _stopReg);
		/* end CmpR:R: */
		/* begin JumpGreater: */
		_jumpOutOfBounds4 = genConditionalBranchoperand(JumpGreater, ((sqInt) 0 ));
		/* end JumpGreater: */
		/* begin genStackArgAt:into: */
		/* begin MoveMw:r:R: */
		_offset5 = (3 + 1) * BytesPerWord;
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction20 = genoperandoperandoperand(MoveMwrR, _offset5, SPReg, _startReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
		/* end genStackArgAt:into: */
		genConvertSmallIntegerToIntegerInReg(_startReg);
		/* begin genStackArgAt:into: */
		/* begin MoveMw:r:R: */
		_offset6 = (2 + 1) * BytesPerWord;
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction21 = genoperandoperandoperand(MoveMwrR, _offset6, SPReg, _stopReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
		/* end genStackArgAt:into: */
		genConvertSmallIntegerToIntegerInReg(_stopReg);
		/* begin SubR:R: */
		genoperandoperand(SubRR, _startReg, _repStartReg);
		/* end SubR:R: */
		/* begin AddR:R: */
		genoperandoperand(AddRR, _repStartReg, _replReg);
		/* end AddR:R: */
		_adjust = BaseHeaderSize - 1;
		if (_adjust != 0) {
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction7 = genoperandoperand(AddCqR, _adjust, _startReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction8 = genoperandoperand(AddCqR, _adjust, _stopReg);
			/* end checkQuickConstant:forInstruction: */
		}
		/* begin MoveXbr:R:R: */
		_instr = genoperandoperandoperand(MoveXbrRR, _startReg, _replReg, TempReg);
		/* end MoveXbr:R:R: */
		/* begin MoveR:Xbr:R: */
		genoperandoperandoperand(MoveRXbrR, TempReg, _startReg, _arrayReg);
		/* end MoveR:Xbr:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction13 = genoperandoperand(AddCqR, 1, _startReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, _startReg, _stopReg);
		/* end CmpR:R: */
		/* begin JumpAboveOrEqual: */
		genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) _instr ));
		/* end JumpAboveOrEqual: */
		jmpTarget(_jumpEmpty, ((methodOrBlockNumArgs <= 2)
			 ? (/* begin RetN: */ genoperand(RetN, 0) /* end RetN: */)
			 : (/* begin RetN: */ genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord) /* end RetN: */)));
		jmpTarget(_jumpIncorrectFormat4, jmpTarget(_jumpIncorrectFormat3, jmpTarget(_jumpIncorrectFormat2, jmpTarget(_jumpIncorrectFormat1, genoperandoperand(Label, (labelCounter += 1), bytecodePC)))));
	}
	if (((_result = compileInterpreterPrimitive())) < 0) {
		return _result;
	}
	jmpTarget(_jumpImm, jmpTarget(_jumpNotSmi1, jmpTarget(_jumpNotSmi2, jmpTarget(_jumpNotSmi3, genoperandoperand(Label, (labelCounter += 1), bytecodePC)))));
	jmpTarget(_jumpOutOfBounds1, jmpTarget(_jumpOutOfBounds2, jmpTarget(_jumpOutOfBounds3, jmpTarget(_jumpOutOfBounds4, ((AbstractInstruction *) ((_jumpImm->operands)[0]) )))));
	
#  if IMMUTABILITY
	{
		jmpTarget(_jumpImmutable, ((AbstractInstruction *) ((_jumpImm->operands)[0]) ));
	}
#  endif /* IMMUTABILITY */
	return CompletePrimitive;
}
/* CogObjectRepresentationForSpur>>#genSetSmallIntegerTagsIn: */
static sqInt NoDbgRegParms
genSetSmallIntegerTagsIn(sqInt _scratchReg)
{
	AbstractInstruction *_anInstruction;

	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(OrCqR, 1, _scratchReg);
	/* end checkQuickConstant:forInstruction: */
	return 0;
}
/*	Create a trampoline to store-check the update of the receiver in a 
	closure's outerContext in compileBlockFrameBuild:. */
/* CogObjectRepresentationForSpur>>#genStoreCheckContextReceiverTrampoline */
static sqInt
genStoreCheckContextReceiverTrampoline(void)
{
	sqInt _startAddress;

	_startAddress = methodZoneBase();
	zeroOpcodeIndex();
	genStoreCheckReceiverRegvalueRegscratchReginFrame(ReceiverResultReg, Arg0Reg, TempReg, 0);
	/* begin RetN: */
	genoperand(RetN, 0);
	/* end RetN: */
	outputInstructionsForGeneratedRuntimeAt(_startAddress);
	recordGeneratedRunTimeaddress("ceStoreCheckContextReceiver", _startAddress);
	recordRunTimeObjectReferences();
	return _startAddress;
}
/*	Generate the code for a store check of valueReg into destReg. */
/* CogObjectRepresentationForSpur>>#genStoreCheckReceiverReg:valueReg:scratchReg:inFrame: */
static sqInt NoDbgRegParms
genStoreCheckReceiverRegvalueRegscratchReginFrame(sqInt _destReg, sqInt _valueReg, sqInt _scratchReg, sqInt _inFrame)
{
	AbstractInstruction *_abstractInstruction;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_exit;
	AbstractInstruction * _isDestYoung2;
	AbstractInstruction * _isOldAndOld2;
	AbstractInstruction * _isPermAndPerm2;
	AbstractInstruction *_jmpAlreadyRemembered;
	AbstractInstruction *_jmpDestYoung;
	AbstractInstruction *_jmpImmediate;
	AbstractInstruction *_jmpIsMachineCode;
	AbstractInstruction *_jmpOldAndOld;
	AbstractInstruction *_jmpPermAndPerm;
	sqInt _quickConstant;
	sqInt _quickConstant2;
	sqInt _quickConstant3;
	sqInt _quickConstant4;
	sqInt _quickConstant5;
	AbstractInstruction *_recvIsPerm;
	AbstractInstruction * _valueIsMachineCode2;

	_jmpAlreadyRemembered = ((AbstractInstruction *) 0 );
	_jmpImmediate = genJumpImmediate(_valueReg);
	/* begin genCheckObjectPosition:scratchReg:valueReg:results: */
	/* begin CmpCq:R: */
	_quickConstant = getNewSpaceStart(getMemoryMap());
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(CmpCqR, _quickConstant, _valueReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_valueIsMachineCode2 = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	/* begin CmpCq:R: */
	_quickConstant2 = fixedPermSpaceStart(getMemoryMap());
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant2, _destReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_recvIsPerm = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant3 = getOldSpaceStart(getMemoryMap());
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant3, _destReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_isDestYoung2 = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	/* begin CmpCq:R: */
	_quickConstant4 = getOldSpaceStart(getMemoryMap());
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction4 = genoperandoperand(CmpCqR, _quickConstant4, _valueReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_isOldAndOld2 = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin Jump: */
	_exit = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_recvIsPerm, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	/* begin CmpCq:R: */
	_quickConstant5 = fixedPermSpaceStart(getMemoryMap());
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction5 = genoperandoperand(CmpCqR, _quickConstant5, _valueReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAbove: */
	_isPermAndPerm2 = genConditionalBranchoperand(JumpAbove, ((sqInt) 0 ));
	/* end JumpAbove: */
	jmpTarget(_exit, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	{
		_jmpDestYoung = _isDestYoung2;
		_jmpOldAndOld = _isOldAndOld2;
		_jmpIsMachineCode = _valueIsMachineCode2;
		_jmpPermAndPerm = _isPermAndPerm2;
	}
	/* end genCheckObjectPosition:scratchReg:valueReg:results: */
	if (!CheckRememberedInTrampoline) {
		_jmpAlreadyRemembered = genCheckRememberedBitOfscratch(_destReg, _scratchReg);
	}
	assert(_destReg == ReceiverResultReg);
	/* begin evaluateTrampolineCallBlock:protectLinkRegIfNot: */
	if (_inFrame) {
		{
			/* begin CallRT: */
			/* begin annotateCall: */
			_abstractInstruction = genoperand(Call, ceStoreCheckTrampoline);
			(_abstractInstruction->annotation = IsRelativeCall);
			/* end annotateCall: */
			/* end CallRT: */
		}
	} else {
		/* begin saveAndRestoreLinkRegAround: */
		{
			{
				/* begin CallRT: */
				/* begin annotateCall: */
				_abstractInstruction = genoperand(Call, ceStoreCheckTrampoline);
				(_abstractInstruction->annotation = IsRelativeCall);
				/* end annotateCall: */
				/* end CallRT: */
			}
		}
		/* end saveAndRestoreLinkRegAround: */
	}
	/* end evaluateTrampolineCallBlock:protectLinkRegIfNot: */
	jmpTarget(_jmpImmediate, jmpTarget(_jmpDestYoung, jmpTarget(_jmpIsMachineCode, jmpTarget(_jmpOldAndOld, jmpTarget(_jmpPermAndPerm, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	if (!CheckRememberedInTrampoline) {
		jmpTarget(_jmpAlreadyRemembered, ((AbstractInstruction *) ((_jmpOldAndOld->operands)[0]) ));
	}
	return 0;
}
/* CogObjectRepresentationForSpur>>#genStoreSourceReg:slotIndex:destReg:scratchReg:inFrame:needsStoreCheck: */
static sqInt NoDbgRegParms
genStoreSourceRegslotIndexdestRegscratchReginFrameneedsStoreCheck(sqInt _sourceReg, sqInt _index, sqInt _destReg, sqInt _scratchReg, sqInt _inFrame, sqInt _needsStoreCheck)
{
	sqInt literal;
	AbstractInstruction *_abstractInstruction;
	AbstractInstruction *_anInstruction;

	/* begin genTraceStores */
	if (traceStores > 0) {
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, ClassReg, TempReg);
		/* end MoveR:R: */
		/* begin CallRT: */
		/* begin annotateCall: */
		_abstractInstruction = genoperand(Call, ceTraceStoreTrampoline);
		(_abstractInstruction->annotation = IsRelativeCall);
		/* end annotateCall: */
		/* end CallRT: */
	}
	/* end genTraceStores */
	/* begin checkQuickConstant:forInstruction: */
	literal = (_index * BytesPerWord) + BaseHeaderSize;
	_anInstruction = genoperandoperandoperand(MoveRMwr, _sourceReg, (_index * BytesPerWord) + BaseHeaderSize, _destReg);
	/* end checkQuickConstant:forInstruction: */
	if (_needsStoreCheck) {
		return genStoreCheckReceiverRegvalueRegscratchReginFrame(_destReg, _sourceReg, _scratchReg, _inFrame);
	}
	return 0;
}
/*	This method is used for unchecked stores in objects after their creation 
	(typically, inlined creation of Array, closures and some temp vectors).  
	Currently there is no need to do the immutability check here */
/* CogObjectRepresentationForSpur>>#genStoreSourceReg:slotIndex:intoNewObjectInDestReg: */
static sqInt NoDbgRegParms
genStoreSourceRegslotIndexintoNewObjectInDestReg(sqInt _sourceReg, sqInt _index, sqInt _destReg)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;

	/* begin checkQuickConstant:forInstruction: */
	literal = (_index * BytesPerWord) + BaseHeaderSize;
	_anInstruction = genoperandoperandoperand(MoveRMwr, _sourceReg, (_index * BytesPerWord) + BaseHeaderSize, _destReg);
	/* end checkQuickConstant:forInstruction: */
	return 0;
}
/*	Convention: 
	- RcvrResultReg holds the object mutated. 
	If immutability failure: 
	- TempReg holds the instance variable index mutated  
	if instVarIndex > numDedicatedStoreTrampoline 
	- ClassReg holds the value to store 
	Registers are not lived across this trampoline as the  
	immutability failure may need new stack frames. */
/* CogObjectRepresentationForSpur>>#genStoreTrampolineCalled:instVarIndex: */

#if IMMUTABILITY
static sqInt NoDbgRegParms
genStoreTrampolineCalledinstVarIndex(char *_trampolineName, sqInt _instVarIndex)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_jumpRC;
	AbstractInstruction *_jumpSC;
	sqInt _quickConstant;

	zeroOpcodeIndex();
	_jumpSC = genJumpMutablescratchReg(ReceiverResultReg, SendNumArgsReg);
	compileTrampolineFornumArgsargargargargregsToSavepushLinkRegresultReg(ceCannotAssignTowithIndexvalueToAssign, 3, ReceiverResultReg, ((_instVarIndex < (NumStoreTrampolines - 1))
		 ? (/* begin trampolineArgConstant: */ assert(_instVarIndex >= 0), -2 - _instVarIndex /* end trampolineArgConstant: */)
		 : TempReg), ClassReg, null, 0, 1, NoReg);
	jmpTarget(_jumpSC, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	if (CheckRememberedInTrampoline) {
		{
			/* begin TstCq:R: */
			_quickConstant = 1U << (rememberedBitShift());
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperandoperand(TstCqR, _quickConstant, SendNumArgsReg);
			/* end checkQuickConstant:forInstruction: */
			/* end TstCq:R: */
			/* begin JumpZero: */
			_jumpRC = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
			/* end JumpZero: */
			/* begin RetN: */
			genoperand(RetN, 0);
			/* end RetN: */
		}
		jmpTarget(_jumpRC, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	return genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(rememberObjInCorrectRememberedSet, _trampolineName, 1, ReceiverResultReg, null, null, null, 0, 1, NoReg, 1);
}
#endif /* IMMUTABILITY */
/*	Store check code is duplicated to use a single trampoline */
/* CogObjectRepresentationForSpur>>#genStoreWithImmutabilityAndStoreCheckSourceReg:slotIndex:destReg:scratchReg:needRestoreRcvr: */

#if IMMUTABILITY
static sqInt NoDbgRegParms
genStoreWithImmutabilityAndStoreCheckSourceRegslotIndexdestRegscratchRegneedRestoreRcvr(sqInt _sourceReg, sqInt _index, sqInt _destReg, sqInt _scratchReg, sqInt _needRestoreRcvr)
{
	sqInt literal;
	AbstractInstruction *_abstractInstruction;
	AbstractInstruction *_abstractInstruction2;
	AbstractInstruction *_abstractInstruction3;
	AbstractInstruction *_abstractInstruction4;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_exit;
	AbstractInstruction *_immutableJump;
	AbstractInstruction * _isDestYoung2;
	AbstractInstruction * _isOldAndOld2;
	AbstractInstruction * _isPermAndPerm2;
	AbstractInstruction *_jmpAlreadyRemembered;
	AbstractInstruction *_jmpDestYoung;
	AbstractInstruction *_jmpImmediate;
	AbstractInstruction *_jmpIsMachineCode;
	AbstractInstruction *_jmpOldAndOld;
	AbstractInstruction *_jmpPermAndPerm;
	sqInt _quickConstant;
	sqInt _quickConstant2;
	sqInt _quickConstant3;
	sqInt _quickConstant4;
	sqInt _quickConstant5;
	AbstractInstruction *_recvIsPerm;
	AbstractInstruction * _valueIsMachineCode2;

	_jmpAlreadyRemembered = ((AbstractInstruction *) 0 );
	_immutableJump = genJumpImmutablescratchReg(_destReg, _scratchReg);
	/* begin genTraceStores */
	if (traceStores > 0) {
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, ClassReg, TempReg);
		/* end MoveR:R: */
		/* begin CallRT: */
		/* begin annotateCall: */
		_abstractInstruction = genoperand(Call, ceTraceStoreTrampoline);
		(_abstractInstruction->annotation = IsRelativeCall);
		/* end annotateCall: */
		/* end CallRT: */
	}
	/* end genTraceStores */
	/* begin checkQuickConstant:forInstruction: */
	literal = (_index * BytesPerWord) + BaseHeaderSize;
	_anInstruction = genoperandoperandoperand(MoveRMwr, _sourceReg, (_index * BytesPerWord) + BaseHeaderSize, _destReg);
	/* end checkQuickConstant:forInstruction: */
	_jmpImmediate = genJumpImmediate(_sourceReg);
	/* begin genCheckObjectPosition:scratchReg:valueReg:results: */
	/* begin CmpCq:R: */
	_quickConstant = getNewSpaceStart(getMemoryMap());
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction6 = genoperandoperand(CmpCqR, _quickConstant, _sourceReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_valueIsMachineCode2 = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	/* begin CmpCq:R: */
	_quickConstant2 = fixedPermSpaceStart(getMemoryMap());
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant2, _destReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_recvIsPerm = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin CmpCq:R: */
	_quickConstant3 = getOldSpaceStart(getMemoryMap());
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, _quickConstant3, _destReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpBelow: */
	_isDestYoung2 = genConditionalBranchoperand(JumpBelow, ((sqInt) 0 ));
	/* end JumpBelow: */
	/* begin CmpCq:R: */
	_quickConstant4 = getOldSpaceStart(getMemoryMap());
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction4 = genoperandoperand(CmpCqR, _quickConstant4, _sourceReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAboveOrEqual: */
	_isOldAndOld2 = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
	/* end JumpAboveOrEqual: */
	/* begin Jump: */
	_exit = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_recvIsPerm, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	/* begin CmpCq:R: */
	_quickConstant5 = fixedPermSpaceStart(getMemoryMap());
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction5 = genoperandoperand(CmpCqR, _quickConstant5, _sourceReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAbove: */
	_isPermAndPerm2 = genConditionalBranchoperand(JumpAbove, ((sqInt) 0 ));
	/* end JumpAbove: */
	jmpTarget(_exit, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	{
		_jmpDestYoung = _isDestYoung2;
		_jmpOldAndOld = _isOldAndOld2;
		_jmpIsMachineCode = _valueIsMachineCode2;
		_jmpPermAndPerm = _isPermAndPerm2;
	}
	/* end genCheckObjectPosition:scratchReg:valueReg:results: */
	if (!CheckRememberedInTrampoline) {
		_jmpAlreadyRemembered = genCheckRememberedBitOfscratch(_destReg, _scratchReg);
	}
	jmpTarget(_immutableJump, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	/* begin genStoreTrampolineCall: */
	assert(IMMUTABILITY);
	if (_index >= (NumStoreTrampolines - 1)) {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction7 = genoperandoperand(MoveCqR, _index, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin CallRT: */
		/* begin annotateCall: */
		_abstractInstruction4 = genoperand(Call, ceStoreTrampolines[NumStoreTrampolines - 1]);
		(_abstractInstruction4->annotation = IsRelativeCall);
		/* end annotateCall: */
		/* end CallRT: */
	} else {
		/* begin CallRT: */
		/* begin annotateCall: */
		_abstractInstruction2 = genoperand(Call, ceStoreTrampolines[_index]);
		(_abstractInstruction2->annotation = IsRelativeCall);
		/* end annotateCall: */
		/* end CallRT: */
	}
	/* begin annotateBytecode: */
	_abstractInstruction3 = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
	(_abstractInstruction3->annotation = HasBytecodePC);
	/* end annotateBytecode: */
	/* end genStoreTrampolineCall: */
	/* begin voidReceiverOptStatus */
	((simSelf())->liveRegister = NoReg);
	/* end voidReceiverOptStatus */
	if (_needRestoreRcvr) {
		/* begin putSelfInReceiverResultReg */
		copyToReg(simSelf(), ReceiverResultReg);
		/* end putSelfInReceiverResultReg */
	}
	jmpTarget(_jmpImmediate, jmpTarget(_jmpDestYoung, jmpTarget(_jmpOldAndOld, jmpTarget(_jmpIsMachineCode, jmpTarget(_jmpPermAndPerm, genoperandoperand(Label, (labelCounter += 1), bytecodePC))))));
	if (!CheckRememberedInTrampoline) {
		jmpTarget(_jmpAlreadyRemembered, ((AbstractInstruction *) ((_jmpOldAndOld->operands)[0]) ));
	}
	return 0;
}
#endif /* IMMUTABILITY */
/*	Gen an immutability check with no store check (e.g. assigning an immediate 
	literal) imm check has its own trampoline */
/* CogObjectRepresentationForSpur>>#genStoreWithImmutabilityButNoStoreCheckSourceReg:slotIndex:destReg:scratchReg:needRestoreRcvr: */

#if IMMUTABILITY
static sqInt NoDbgRegParms
genStoreWithImmutabilityButNoStoreCheckSourceRegslotIndexdestRegscratchRegneedRestoreRcvr(sqInt _sourceReg, sqInt _index, sqInt _destReg, sqInt _scratchReg, sqInt _needRestoreRcvr)
{
	sqInt literal;
	AbstractInstruction *_abstractInstruction;
	AbstractInstruction *_abstractInstruction2;
	AbstractInstruction *_abstractInstruction3;
	AbstractInstruction *_abstractInstruction4;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_immutabilityFailure;
	AbstractInstruction *_mutableJump;

	_mutableJump = genJumpMutablescratchReg(_destReg, _scratchReg);
	/* begin genStoreTrampolineCall: */
	assert(IMMUTABILITY);
	if (_index >= (NumStoreTrampolines - 1)) {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _index, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin CallRT: */
		/* begin annotateCall: */
		_abstractInstruction = genoperand(Call, ceStoreTrampolines[NumStoreTrampolines - 1]);
		(_abstractInstruction->annotation = IsRelativeCall);
		/* end annotateCall: */
		/* end CallRT: */
	} else {
		/* begin CallRT: */
		/* begin annotateCall: */
		_abstractInstruction2 = genoperand(Call, ceStoreTrampolines[_index]);
		(_abstractInstruction2->annotation = IsRelativeCall);
		/* end annotateCall: */
		/* end CallRT: */
	}
	/* begin annotateBytecode: */
	_abstractInstruction3 = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
	(_abstractInstruction3->annotation = HasBytecodePC);
	/* end annotateBytecode: */
	/* end genStoreTrampolineCall: */
	/* begin voidReceiverOptStatus */
	((simSelf())->liveRegister = NoReg);
	/* end voidReceiverOptStatus */
	if (_needRestoreRcvr) {
		/* begin putSelfInReceiverResultReg */
		copyToReg(simSelf(), ReceiverResultReg);
		/* end putSelfInReceiverResultReg */
	}
	/* begin Jump: */
	_immutabilityFailure = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_mutableJump, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	/* begin genTraceStores */
	if (traceStores > 0) {
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, ClassReg, TempReg);
		/* end MoveR:R: */
		/* begin CallRT: */
		/* begin annotateCall: */
		_abstractInstruction4 = genoperand(Call, ceTraceStoreTrampoline);
		(_abstractInstruction4->annotation = IsRelativeCall);
		/* end annotateCall: */
		/* end CallRT: */
	}
	/* end genTraceStores */
	/* begin checkQuickConstant:forInstruction: */
	literal = (_index * BytesPerWord) + BaseHeaderSize;
	_anInstruction2 = genoperandoperandoperand(MoveRMwr, _sourceReg, (_index * BytesPerWord) + BaseHeaderSize, _destReg);
	/* end checkQuickConstant:forInstruction: */
	jmpTarget(_immutabilityFailure, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return 0;
}
#endif /* IMMUTABILITY */
/*	We know there is a frame as immutability check requires a frameneedRestoreRcvr has to be true to keep RcvrResultReg live with the 
	receiver in it across the trampolineTrampoline convention... */
/* CogObjectRepresentationForSpur>>#genStoreWithImmutabilityCheckSourceReg:slotIndex:destReg:scratchReg:needsStoreCheck:needRestoreRcvr: */

#if IMMUTABILITY
static sqInt NoDbgRegParms
genStoreWithImmutabilityCheckSourceRegslotIndexdestRegscratchRegneedsStoreCheckneedRestoreRcvr(sqInt _sourceReg, sqInt _index, sqInt _destReg, sqInt _scratchReg, sqInt _needsStoreCheck, sqInt _needRestoreRcvr)
{
	assert(_destReg == ReceiverResultReg);
	assert(_scratchReg == TempReg);
	assert(_sourceReg == ClassReg);
	if (_needsStoreCheck) {
		genStoreWithImmutabilityAndStoreCheckSourceRegslotIndexdestRegscratchRegneedRestoreRcvr(_sourceReg, _index, _destReg, _scratchReg, _needRestoreRcvr);
	}
 else {
		genStoreWithImmutabilityButNoStoreCheckSourceRegslotIndexdestRegscratchRegneedRestoreRcvr(_sourceReg, _index, _destReg, _scratchReg, _needRestoreRcvr);
	}
	return 0;
}
#endif /* IMMUTABILITY */
/* CogObjectRepresentationForSpur>>#jumpNotCharacterUnsignedValueInRegister: */
static AbstractInstruction * NoDbgRegParms
jumpNotCharacterUnsignedValueInRegister(sqInt _reg)
{
	AbstractInstruction *_anInstruction;
	sqInt _quickConstant;

	/* begin CmpCq:R: */
	_quickConstant = (1U << (numCharacterBits())) - 1;
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(CmpCqR, _quickConstant, _reg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpAbove: */
	return genConditionalBranchoperand(JumpAbove, ((sqInt) 0 ));
	/* end JumpAbove: */
}
/*	Mark and trace a literal in a machine code instruction preceding address 
	in cogMethodOrNil. 
	Answer if code was modified. */
/* CogObjectRepresentationForSpur>>#markAndTraceLiteral:in:atpc: */
static sqInt NoDbgRegParms
markAndTraceLiteralinatpc(sqInt _literal, CogMethod *_cogMethodOrNil, usqInt _address)
{
	sqInt _objOop;

	if (!(couldBeObject(_literal))) {
		return 0;
	}
	assert(addressCouldBeObj(_literal));
	if (!(isForwarded(_literal))) {
		markAndTrace(_literal);
		return 0;
	}
	_objOop = followForwarded(_literal);
	/* begin storeLiteral:atAnnotatedAddress: */
	storeLiteralbeforeFollowingAddress(backEnd, _objOop, _address);
	/* end storeLiteral:atAnnotatedAddress: */
	markAndTraceUpdatedLiteralin(_objOop, _cogMethodOrNil);
	return 1;
}
/*	Mark and trace a literal in a sqInt variable of cogMethod. */
/* CogObjectRepresentationForSpur>>#markAndTraceLiteral:in:at: */
static void NoDbgRegParms
markAndTraceLiteralinat(sqInt _literal, CogMethod *_cogMethod, sqInt *_address)
{
	sqInt _objOop;

	if (!(couldBeObject(_literal))) {
		return;
	}
	assert(addressCouldBeObj(_literal));
	if (!(isForwarded(_literal))) {
		markAndTrace(_literal);
		return;
	}
	_objOop = followForwarded(_literal);
	_address[0] = _objOop;
	markAndTraceUpdatedLiteralin(_objOop, _cogMethod);
}
/*	Common code to mark a literal in cogMethod and add 
	the cogMethod to youngReferrers if the literal is young. */
/* CogObjectRepresentationForSpur>>#markAndTraceUpdatedLiteral:in: */
static void NoDbgRegParms
markAndTraceUpdatedLiteralin(sqInt _objOop, CogMethod *_cogMethodOrNil)
{
	if (isNonImmediate(_objOop)) {
		if ((_cogMethodOrNil != null) && (isYoungObject(getMemoryMap(), _objOop))) {
			ensureInYoungReferrers(_cogMethodOrNil);
		}
		markAndTrace(_objOop);
	}
}
/*	If primIndex has an accessorDepth and fails, or it is external and fails 
	with PrimErrNoMemory, 
	call ceCheckAndMaybeRetryPrimitive if so If ceCheck.... answers true, 
	retry the primitive. */
/* CogObjectRepresentationForSpur>>#maybeCompileRetryOnPrimitiveFail: */
static sqInt NoDbgRegParms
maybeCompileRetryOnPrimitiveFail(sqInt _primIndex)
{
	sqInt _address;
	sqInt _address2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_jmp;

	if ((accessorDepthForPrimitiveIndex(_primIndex)) >= 0) {
		{
			/* begin MoveAw:R: */
			_address = primFailCodeAddress();
			/* begin checkLiteral:forInstruction: */
			_anInstruction = genoperandoperand(MoveAwR, _address, TempReg);
			/* end checkLiteral:forInstruction: */
			/* end MoveAw:R: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction2 = genoperandoperand(CmpCqR, 0, TempReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin JumpZero: */
			_jmp = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
			/* end JumpZero: */
		}
	} else {
		if ((primNumberExternalCall()) != _primIndex) {
			return 0;
		}
		{
			/* begin MoveAw:R: */
			_address2 = primFailCodeAddress();
			/* begin checkLiteral:forInstruction: */
			_anInstruction3 = genoperandoperand(MoveAwR, _address2, TempReg);
			/* end checkLiteral:forInstruction: */
			/* end MoveAw:R: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction4 = genoperandoperand(CmpCqR, PrimErrNoMemory, TempReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin JumpNonZero: */
			_jmp = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
			/* end JumpNonZero: */
		}
	}
	compileCallFornumArgsargargargargresultRegregsToSave(ceCheckAndMaybeRetryPrimitive, 1, trampolineArgConstant(_primIndex), null, null, null, TempReg, 0);
	jmpTarget(_jmp, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return 0;
}
/*	Generate a shift of the register containing the class tag in a method 
	cache probe. 
	c.f. SpurMemoryManager>>methodCacheHashOf:with: */
/* CogObjectRepresentationForSpur>>#maybeShiftClassTagRegisterForMethodCacheProbe: */
static sqInt NoDbgRegParms
maybeShiftClassTagRegisterForMethodCacheProbe(sqInt _classTagReg)
{
	/* begin LogicalShiftLeftCq:R: */
	genoperandoperand(LogicalShiftLeftCqR, 2, _classTagReg);
	/* end LogicalShiftLeftCq:R: */
	return 0;
}
/* CogObjectRepresentationForSpur>>#numCharacterBits */
static sqInt
numCharacterBits(void)
{
	return 30;
}
/*	Define how many register arguments a StackToRegisterMappingCogit can 
	and should use with the receiver. The value must be 0, 1 or 2. Note that a 
	SimpleStackBasedCogit always has 0 register args (although the receiver is 
	passed in a register). The Spur object representation is simple enough 
	that implementing at:put: is straight-forward and hence 2 register args 
	are worth 
	while. The method must be inlined in CoInterpreter, and dead code 
	eliminated so that the register-popping enilopmarts such as 
	enterRegisterArgCogMethod:- at:receiver: do not have to be implemented in 
	SimpleStackBasedCogit.  */
/* CogObjectRepresentationForSpur>>#numRegArgs */
sqInt
numRegArgs(void)
{
	return 2;
}
/* CogObjectRepresentationForSpur>>#remapObject: */
static sqInt NoDbgRegParms
remapObject(sqInt _objOop)
{
	assert(addressCouldBeObj(_objOop));
	return ((shouldRemapObj(_objOop))
		 ? remapObj(_objOop)
		 : _objOop);
}
/* CogObjectRepresentationForSpur>>#remapOop: */
static sqInt NoDbgRegParms
remapOop(sqInt _objOop)
{
	return ((shouldRemapOop(_objOop))
		 ? remapObj(_objOop)
		 : _objOop);
}
/*	Objects in newSpace or oldSpace except nil, true, false & 
	classTableRootObj need to be annotated. */
/* CogObjectRepresentationForSpur>>#shouldAnnotateObjectReference: */
static sqInt NoDbgRegParms
shouldAnnotateObjectReference(sqInt _anOop)
{
	return (isNonImmediate(_anOop)) && ((oopisGreaterThan(_anOop, classTableRootObj())) || (oopisLessThan(_anOop, nilObject())));
}
/* CogObjectRepresentationForSpur>>#slotOffsetOfInstVarIndex: */
static sqInt NoDbgRegParms
slotOffsetOfInstVarIndex(sqInt _index)
{
	return (_index * BytesPerWord) + BaseHeaderSize;
}
/* CogObjectRepresentationForSpur>>#valueOfAssociation: */
static sqInt NoDbgRegParms
valueOfAssociation(sqInt _associationOop)
{
	sqInt _association;

	_association = _associationOop;
	if (isForwarded(_association)) {
		_association = followForwarded(_association);
	}
	return fetchPointerofObject(ValueIndex, _association);
}
/*	Copy the value of the current entry to the register argument. 
	Do not touch the stack */
/* CogSimStackEntry>>#copyToReg: */
static SimStackEntry * NoDbgRegParms
copyToReg(SimStackEntry * self_in_copyToReg, sqInt _reg)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	sqInt _quickConstant;
	sqInt _reg1;

	switch ((self_in_copyToReg->type)) {
		case SSBaseOffset:
		case SSSpill:
		{
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperandoperandoperand(MoveMwrR, (self_in_copyToReg->offset), (self_in_copyToReg->registerr), _reg);
			/* end checkQuickConstant:forInstruction: */
		}
		break;
		case SSConstant:
		{
			if (shouldAnnotateObjectReference((self_in_copyToReg->constant))) {
				annotateobjRef(gMoveCwR((self_in_copyToReg->constant), _reg), (self_in_copyToReg->constant));
			} else {
				/* begin MoveCq:R: */
				_quickConstant = (self_in_copyToReg->constant);
				/* begin checkQuickConstant:forInstruction: */
				_anInstruction2 = genoperandoperand(MoveCqR, _quickConstant, _reg);
				/* end checkQuickConstant:forInstruction: */
				/* end MoveCq:R: */
			}
		}
		break;
		case SSRegister:
		{
			if (_reg == ((self_in_copyToReg->registerr))) {
				/* begin Label */
				genoperandoperand(Label, (labelCounter += 1), bytecodePC);
				/* end Label */
			} else {
				/* begin MoveR:R: */
				_reg1 = (self_in_copyToReg->registerr);
				genoperandoperand(MoveRR, _reg1, _reg);
				/* end MoveR:R: */
			}
		}
		break;
		default:
		error("Case not found and no otherwise clause");
	}
	return self_in_copyToReg;
}
/* CogSimStackEntry>>#ensureSpilledAt:from: */
static SimStackEntry * NoDbgRegParms
ensureSpilledAtfrom(SimStackEntry * self_in_ensureSpilledAtfrom, sqInt _baseOffset, sqInt _baseRegister)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_inst;
	sqInt _reg;
	sqInt _wordConstant;

	if ((self_in_ensureSpilledAtfrom->spilled)) {
		if (((self_in_ensureSpilledAtfrom->type)) == SSSpill) {
			assert(((((self_in_ensureSpilledAtfrom->offset)) == _baseOffset) && (((self_in_ensureSpilledAtfrom->registerr)) == _baseRegister)) || (violatesEnsureSpilledSpillAssert()));
			return self_in_ensureSpilledAtfrom;
		}
	}
	assert(((self_in_ensureSpilledAtfrom->type)) != SSSpill);
	traceSpill(self_in_ensureSpilledAtfrom);
	if (((self_in_ensureSpilledAtfrom->type)) == SSConstant) {
		if (shouldAnnotateObjectReference((self_in_ensureSpilledAtfrom->constant))) {
			_inst = annotateobjRef(gPushCw((self_in_ensureSpilledAtfrom->constant)), (self_in_ensureSpilledAtfrom->constant));
		} else {
			/* begin PushCq: */
			_wordConstant = (self_in_ensureSpilledAtfrom->constant);
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperand(PushCq, _wordConstant);
			_inst = _anInstruction;
			/* end checkQuickConstant:forInstruction: */
			/* end PushCq: */
		}
	} else {
		if (((self_in_ensureSpilledAtfrom->type)) == SSBaseOffset) {
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction2 = genoperandoperandoperand(MoveMwrR, (self_in_ensureSpilledAtfrom->offset), (self_in_ensureSpilledAtfrom->registerr), TempReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin PushR: */
			_inst = genoperand(PushR, TempReg);
			/* end PushR: */
		} else {
			assert(((self_in_ensureSpilledAtfrom->type)) == SSRegister);
			/* begin PushR: */
			_reg = (self_in_ensureSpilledAtfrom->registerr);
			_inst = genoperand(PushR, _reg);
			/* end PushR: */
		}
		(self_in_ensureSpilledAtfrom->type) = SSSpill;
		(self_in_ensureSpilledAtfrom->offset) = _baseOffset;
		(self_in_ensureSpilledAtfrom->registerr) = _baseRegister;
	}
	(self_in_ensureSpilledAtfrom->spilled) = 1;
	return self_in_ensureSpilledAtfrom;
}
/* CogSimStackEntry>>#isSameEntryAs: */
static sqInt NoDbgRegParms
isSameEntryAs(SimStackEntry * self_in_isSameEntryAs, CogSimStackEntry *_ssEntry)
{
	return (((self_in_isSameEntryAs->type)) == ((_ssEntry->type))) && ((((((self_in_isSameEntryAs->type)) == SSBaseOffset) || (((self_in_isSameEntryAs->type)) == SSSpill)) && ((((self_in_isSameEntryAs->offset)) == ((_ssEntry->offset))) && (((self_in_isSameEntryAs->registerr)) == ((_ssEntry->registerr))))) || (((((self_in_isSameEntryAs->type)) == SSRegister) && (((self_in_isSameEntryAs->registerr)) == ((_ssEntry->registerr)))) || ((((self_in_isSameEntryAs->type)) == SSConstant) && (((self_in_isSameEntryAs->constant)) == ((_ssEntry->constant))))));
}
/* CogSimStackEntry>>#moveToVectorReg: */
static SimStackEntry * NoDbgRegParms
moveToVectorReg(SimStackEntry * self_in_moveToVectorReg, sqInt _reg)
{
	assert(((self_in_moveToVectorReg->type)) == SSVectorRegister);
	if ((self_in_moveToVectorReg->spilled)) {
		/* begin notYetImplemented */
		/* begin notYetImplemented: */
		{
			logError("Not Yet Implemented!");
			abort();
		}
		/* end notYetImplemented: */
		/* end notYetImplemented */
	} else {
		switch ((self_in_moveToVectorReg->type)) {
			case SSVectorRegister:
			{
				if (_reg != ((self_in_moveToVectorReg->registerr))) {
					/* begin notYetImplemented */
					/* begin notYetImplemented: */
					{
						logError("Not Yet Implemented!");
						abort();
					}
					/* end notYetImplemented: */
					/* end notYetImplemented */
				} else {
					/* begin Label */
					genoperandoperand(Label, (labelCounter += 1), bytecodePC);
					/* end Label */
				}
			}
			break;
			default:
			error("Case not found and no otherwise clause");
		}
	}
	return self_in_moveToVectorReg;
}
/*	Answer a bit mask for the receiver's register, if any. */
/* CogSimStackEntry>>#registerMask */
static sqInt NoDbgRegParms
registerMask(SimStackEntry * self_in_registerMask)
{
	sqInt _reg;

	return (((((self_in_registerMask->type)) == SSBaseOffset) || ((((self_in_registerMask->type)) == SSRegister) || (((self_in_registerMask->type)) == SSVectorRegister)))
		 ? (/* begin registerMaskFor: */ (_reg = (self_in_registerMask->registerr)), 1ULL << _reg /* end registerMaskFor: */)
		 : 0);
}
/* CogSimStackEntry>>#registerMaskOrNone */
static sqInt NoDbgRegParms
registerMaskOrNone(SimStackEntry * self_in_registerMaskOrNone)
{
	sqInt _reg;

	return (((((self_in_registerMaskOrNone->type)) == SSRegister) || (((self_in_registerMaskOrNone->type)) == SSVectorRegister))
		 ? (/* begin registerMaskFor: */ (_reg = (self_in_registerMaskOrNone->registerr)), 1ULL << _reg /* end registerMaskFor: */)
		 : 0);
}
/* CogSimStackEntry>>#registerOrNone */
static signed char NoDbgRegParms
registerOrNone(SimStackEntry * self_in_registerOrNone)
{
	return (((((self_in_registerOrNone->type)) == SSRegister) || (((self_in_registerOrNone->type)) == SSVectorRegister))
		 ? (self_in_registerOrNone->registerr)
		 : NoReg);
}
/* CogSSBytecodeFixup>>#isMergeFixup */
static sqInt NoDbgRegParms
isMergeFixup(BytecodeFixup * self_in_isMergeFixup)
{
	return ((usqInt) ((self_in_isMergeFixup->targetInstruction)) ) == NeedsMergeFixupFlag;
}
/*	Answer an unused abstract register in the liveRegMask. 
	Subclasses with more registers can override to answer them. 
	N.B. Do /not/ allocate TempReg.Answer an unused abstract register in the liveRegMask. 
	Subclasses with more registers can override to answer them. 
	N.B. Do /not/ allocate TempReg. */
/* CogX64Compiler>>#availableRegisterOrNoneFor: */
static sqInt NoDbgRegParms
availableRegisterOrNoneFor(AbstractInstruction * self_in_availableRegisterOrNoneFor, sqInt _liveRegsMask)
{
	if (!(_liveRegsMask & (1U << Extra5Reg))) {
		return Extra5Reg;
	}
	if (!(_liveRegsMask & (1U << Extra4Reg))) {
		return Extra4Reg;
	}
	if (!(_liveRegsMask & (1U << Extra3Reg))) {
		return Extra3Reg;
	}
	if (!(_liveRegsMask & (1U << Extra2Reg))) {
		return Extra2Reg;
	}
	if (!(_liveRegsMask & (1U << Extra1Reg))) {
		return Extra1Reg;
	}
	if (!(_liveRegsMask & (1U << Extra0Reg))) {
		return Extra0Reg;
	}
	{
		if (!(_liveRegsMask & (1U << Arg1Reg))) {
			return Arg1Reg;
		}
		if (!(_liveRegsMask & (1U << Arg0Reg))) {
			return Arg0Reg;
		}
		if (!(_liveRegsMask & (1U << SendNumArgsReg))) {
			return SendNumArgsReg;
		}
		if (!(_liveRegsMask & (1U << ClassReg))) {
			return ClassReg;
		}
		if (!(_liveRegsMask & (1U << ReceiverResultReg))) {
			return ReceiverResultReg;
		}
		return NoReg;
	}
	return 0;
}
/*	Answer the address the full call immediately preceding 
	callSiteReturnAddress will jump to. */
/* CogX64Compiler>>#callFullTargetFromReturnAddress: */
static sqInt NoDbgRegParms
callFullTargetFromReturnAddress(AbstractInstruction * self_in_callFullTargetFromReturnAddress, sqInt _callSiteReturnAddress)
{
	return unalignedLongAt(self_in_callFullTargetFromReturnAddress, (_callSiteReturnAddress - 2) - 8);
}
/* CogX64Compiler>>#callInstructionByteSize */
static sqInt NoDbgRegParms
callInstructionByteSize(AbstractInstruction * self_in_callInstructionByteSize)
{
	return 5;
}
/*	Answer the address the call immediately preceding callSiteReturnAddress 
	will jump to. */
/* CogX64Compiler>>#callTargetFromReturnAddress: */
static sqInt NoDbgRegParms
callTargetFromReturnAddress(AbstractInstruction * self_in_callTargetFromReturnAddress, sqInt _callSiteReturnAddress)
{
	usqInt _callDistance;

	_callDistance = literal32BeforeFollowingAddress(self_in_callTargetFromReturnAddress, _callSiteReturnAddress);
	return _callSiteReturnAddress + ((int) _callDistance );
}
/* CogX64Compiler>>#checkIs32bit: */
static AbstractInstruction * NoDbgRegParms
checkIs32bit(AbstractInstruction * self_in_checkIs32bit, sqInt _offset)
{
	if (!((_offset >= -2147483648LL) && (_offset <= 0x7FFFFFFF))) {
		error("Cannot jump to distances larger than 32 bits");
	}
	return self_in_checkIs32bit;
}
/* CogX64Compiler>>#cmpC32RTempByteSize */
static sqInt NoDbgRegParms
cmpC32RTempByteSize(AbstractInstruction * self_in_cmpC32RTempByteSize)
{
	return 5;
}
/*	Compute the maximum size for each opcode. This allows jump offsets to 
	be determined, provided that all backward branches are long branches.N.B. The ^N forms are to get around the bytecode compiler's long branch 
	limits which are exceeded when each case jumps around the otherwise. */
/* CogX64Compiler>>#computeMaximumSize */
static sqInt NoDbgRegParms
computeMaximumSize(AbstractInstruction * self_in_computeMaximumSize)
{
	switch ((self_in_computeMaximumSize->opcode)) {
		case Label:
		{
			return 0;
		}
		case AlignmentNops:
		{
			return ((self_in_computeMaximumSize->operands)[0]) - 1;
		}
		case Fill32:
		case IMULRR:
		case SignExtend8RR:
		case SignExtend16RR:
		case SignExtend32RR:
		case ZeroExtend8RR:
		case ZeroExtend16RR:
		{
			return 4;
		}
		case Nop:
		case LOCK:
		case REP:
		case CLD:
		case MOVSB:
		case Stop:
		{
			return 1;
		}
		case CDQ:
		case CPUID:
		case MOVSQ:
		{
			return 2;
		}
		case IDIVR:
		case LFENCE:
		case MFENCE:
		case SFENCE:
		case CallR:
		case JumpR:
		case AddRR:
		case AddcRR:
		case AndRR:
		case CmpRR:
		case OrRR:
		case XorRR:
		case SubRR:
		case SubbRR:
		case NegateR:
		case MoveRR:
		{
			return 3;
		}
		case CMPXCHGAwR:
		{
			return 8;
		}
		case CMPXCHGMwrR:
		case DupRVr:
		case St1VrRMw:
		case Ld1VrRMw:
		case AlignedSt1VrRMw:
		{
			return 9;
		}
		case XCHGAwR:
		{
			return 6;
		}
		case XCHGMwrR:
		case MoveC32R:
		case MovePatcheableC32R:
		{
			return 7;
		}
		case XCHGRR:
		{
			return (((((self_in_computeMaximumSize->operands)[0]) == RAX) || (((self_in_computeMaximumSize->operands)[1]) == RAX))
				 ? 2
				 : 3);
		}
		case CallFull:
		{
			return 12;
		}
		case Call:
		case MoveRRd:
		case MoveRdR:
		case ConvertRRd:
		case ConvertRdR:
		{
			return 5;
		}
		case JumpFull:
		{
			resolveJumpTarget(self_in_computeMaximumSize);
			return 12;
		}
		case JumpLong:
		case Jump:
		{
			resolveJumpTarget(self_in_computeMaximumSize);
			return 5;
		}
		case JumpZero:
		case JumpNonZero:
		case JumpNegative:
		case JumpNonNegative:
		case JumpOverflow:
		case JumpNoOverflow:
		case JumpCarry:
		case JumpNoCarry:
		case JumpLess:
		case JumpGreaterOrEqual:
		case JumpGreater:
		case JumpLessOrEqual:
		case JumpBelow:
		case JumpAboveOrEqual:
		case JumpAbove:
		case JumpBelowOrEqual:
		case JumpLongZero:
		case JumpLongNonZero:
		case JumpFPEqual:
		case JumpFPNotEqual:
		case JumpFPLess:
		case JumpFPGreaterOrEqual:
		case JumpFPGreater:
		case JumpFPLessOrEqual:
		case JumpFPOrdered:
		case JumpFPUnordered:
		{
			resolveJumpTarget(self_in_computeMaximumSize);
			return 6;
		}
		case RetN:
		{
			return ((((self_in_computeMaximumSize->operands)[0]) == 0)
				 ? 1
				 : 3);
		}
		case AddCqR:
		case AddcCqR:
		case AndCqR:
		case CmpCqR:
		case OrCqR:
		case SubCqR:
		case SubbCqR:
		case TstCqR:
		{
			/* begin computeSizeOfArithCqR */
			if (isQuick(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[0])) {
				return 4;
			}
			if (is32BitSignedImmediate(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[0])) {
				return ((((self_in_computeMaximumSize->operands)[1]) == RAX)
					 ? 6
					 : 7);
			}
			return 10 + 3;
			/* end computeSizeOfArithCqR */
		}
		case AddCwR:
		case AndCwR:
		case CmpCwR:
		case OrCwR:
		case SubCwR:
		case XorCwR:
		{
			/* begin computeSizeOfArithCwR */
			return 10 + 3;
			/* end computeSizeOfArithCwR */
		}
		case CmpC32R:
		{
			return ((((self_in_computeMaximumSize->operands)[1]) <= 7)
				 ? ((((self_in_computeMaximumSize->operands)[1]) == RAX)
					 ? 5
					 : 6)
				 : 7);
		}
		case LoadEffectiveAddressMwrR:
		{
			return (((isQuick(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[0]))
				 ? 4
				 : 7)) + ((((((self_in_computeMaximumSize->operands)[1]) & 7) == RSP)
				 ? 1
				 : 0));
		}
		case LogicalShiftLeftCqR:
		case LogicalShiftRightCqR:
		case ArithmeticShiftRightCqR:
		case RotateRightCqR:
		case RotateLeftCqR:
		{
			return ((((self_in_computeMaximumSize->operands)[0]) == 1)
				 ? 3
				 : 4);
		}
		case LogicalShiftLeftRR:
		case LogicalShiftRightRR:
		case ArithmeticShiftRightRR:
		{
			return computeShiftRRSize(self_in_computeMaximumSize);
		}
		case AddRdRd:
		case CmpRdRd:
		case SubRdRd:
		case MulRdRd:
		case DivRdRd:
		case XorRdRd:
		case AddRsRs:
		case SubRsRs:
		case MulRsRs:
		case DivRsRs:
		case MoveRdRd:
		case MoveRsRs:
		case ConvertRRs:
		case ConvertRsR:
		case ConvertRsRd:
		case ConvertRdRs:
		{
			return 4 + ((((((self_in_computeMaximumSize->operands)[1]) > 7) || (((self_in_computeMaximumSize->operands)[0]) > 7))
				 ? 1
				 : 0));
		}
		case SqrtRd:
		case SqrtRs:
		{
			return 4 + (((((self_in_computeMaximumSize->operands)[0]) > 7)
				 ? 1
				 : 0));
		}
		case CmpRsRs:
		case XorRsRs:
		{
			return 3 + ((((((self_in_computeMaximumSize->operands)[1]) > 7) || (((self_in_computeMaximumSize->operands)[0]) > 7))
				 ? 1
				 : 0));
		}
		case MoveCqR:
		{
			return ((((self_in_computeMaximumSize->operands)[0]) == 0)
				 ? 3
				 : ((is32BitSignedImmediate(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[0]))
					 ? 7
					 : 11 - 1));
		}
		case MoveCwR:
		{
			return ((((addressIsInInstructions(((AbstractInstruction *) ((self_in_computeMaximumSize->operands)[0]) ))) || (((AbstractInstruction *) ((self_in_computeMaximumSize->operands)[0]) ) == (methodLabel()))) || ((((usqInt) ((self_in_computeMaximumSize->operands)[0]) ) >= ((methodLabel->address))) && (((usqInt) ((self_in_computeMaximumSize->operands)[0]) ) < (youngReferrers()))))
				 ? 7
				 : (/* begin moveCwRByteSize */ 11 /* end moveCwRByteSize */));
		}
		case MoveAwR:
		case MoveAbR:
		{
			return (((((self_in_computeMaximumSize->operands)[0]) != null) && ((((self_in_computeMaximumSize->operands)[0]) >= ((varBaseAddress()) - (1U << 20))) && (((self_in_computeMaximumSize->operands)[0]) <= ((varBaseAddress()) + (1U << 20)))))
				 ? 7
				 : ((((self_in_computeMaximumSize->operands)[1]) == RAX)
					 ? 10
					 : 14));
		}
		case MoveA32R:
		{
			return ((((self_in_computeMaximumSize->operands)[1]) == RAX)
				 ? 9
				 : 13);
		}
		case MoveRAw:
		case MoveRAb:
		{
			return (((((self_in_computeMaximumSize->operands)[1]) != null) && ((((self_in_computeMaximumSize->operands)[1]) >= ((varBaseAddress()) - (1U << 20))) && (((self_in_computeMaximumSize->operands)[1]) <= ((varBaseAddress()) + (1U << 20)))))
				 ? 7
				 : ((((self_in_computeMaximumSize->operands)[0]) == RAX)
					 ? 10
					 : 14));
		}
		case MoveRA32:
		{
			return ((((self_in_computeMaximumSize->operands)[0]) == RAX)
				 ? 9
				 : 13);
		}
		case MoveRMwr:
		{
			assert(is32BitSignedImmediate(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[1]));
			return (((isQuick(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[1]))
				 ? (((((self_in_computeMaximumSize->operands)[1]) == 0) && ((((self_in_computeMaximumSize->operands)[2]) & 7) != RBP))
					 ? 3
					 : 4)
				 : 7)) + ((((((self_in_computeMaximumSize->operands)[2]) & 7) == RSP)
				 ? 1
				 : 0));
		}
		case MoveRM32r:
		{
			return ((((isQuick(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[1]))
				 ? (((((self_in_computeMaximumSize->operands)[1]) == 0) && ((((self_in_computeMaximumSize->operands)[2]) & 6) != RSP))
					 ? 2
					 : 3)
				 : 6)) + (((((((self_in_computeMaximumSize->operands)[2]) & 7) == RSP) && (((self_in_computeMaximumSize->operands)[1]) != 0))
				 ? 1
				 : 0))) + ((((((self_in_computeMaximumSize->operands)[2]) > 7) || (((self_in_computeMaximumSize->operands)[0]) > 7))
				 ? 1
				 : 0));
		}
		case MoveRsM32r:
		case MoveRdM64r:
		{
			return ((((isQuick(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[1]))
				 ? (((((self_in_computeMaximumSize->operands)[1]) == 0) && ((((self_in_computeMaximumSize->operands)[2]) & 6) != RSP))
					 ? 4
					 : 5)
				 : 8)) + (((((((self_in_computeMaximumSize->operands)[2]) & 7) == RSP) && (((self_in_computeMaximumSize->operands)[1]) != 0))
				 ? 1
				 : 0))) + ((((((self_in_computeMaximumSize->operands)[2]) > 7) || (((self_in_computeMaximumSize->operands)[0]) > 7))
				 ? 1
				 : 0));
		}
		case MoveMbrR:
		case MoveM8rR:
		case MoveMs8rR:
		case MoveMwrR:
		{
			assert(is32BitSignedImmediate(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[0]));
			return (((isQuick(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[0]))
				 ? (((((self_in_computeMaximumSize->operands)[0]) == 0) && ((((self_in_computeMaximumSize->operands)[1]) & 7) != RBP))
					 ? 3
					 : 4)
				 : 7)) + ((((((self_in_computeMaximumSize->operands)[1]) & 7) == RSP)
				 ? 1
				 : 0));
		}
		case MoveRMbr:
		case MoveRM8r:
		{
			assert(is32BitSignedImmediate(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[1]));
			return (((isQuick(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[1]))
				 ? (((((self_in_computeMaximumSize->operands)[1]) == 0) && ((((self_in_computeMaximumSize->operands)[0]) & 7) != RBP))
					 ? 3
					 : 4)
				 : 7)) + ((((((self_in_computeMaximumSize->operands)[2]) & 7) == RSP)
				 ? 1
				 : 0));
		}
		case MoveM16rR:
		{
			assert(is32BitSignedImmediate(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[0]));
			return (((isQuick(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[0]))
				 ? (((((self_in_computeMaximumSize->operands)[0]) == 0) && ((((self_in_computeMaximumSize->operands)[1]) & 7) != RBP))
					 ? 4
					 : 5)
				 : 8)) + ((((((self_in_computeMaximumSize->operands)[1]) & 7) == RSP)
				 ? 1
				 : 0));
		}
		case MoveRM16r:
		{
			assert(is32BitSignedImmediate(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[1]));
			return ((((isQuick(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[1]))
				 ? 4
				 : 7)) + ((((((self_in_computeMaximumSize->operands)[2]) & 7) == RSP)
				 ? 1
				 : 0))) + ((((((self_in_computeMaximumSize->operands)[0]) > 7) || (((self_in_computeMaximumSize->operands)[2]) > 7))
				 ? 1
				 : 0));
		}
		case MoveM32rR:
		{
			return ((((isQuick(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[0]))
				 ? (((((self_in_computeMaximumSize->operands)[0]) == 0) && ((((self_in_computeMaximumSize->operands)[1]) & 6) != RSP))
					 ? 2
					 : 3)
				 : 6)) + (((((((self_in_computeMaximumSize->operands)[1]) & 7) == RSP) && (((self_in_computeMaximumSize->operands)[0]) != 0))
				 ? 1
				 : 0))) + ((((((self_in_computeMaximumSize->operands)[1]) > 7) || (((self_in_computeMaximumSize->operands)[2]) > 7))
				 ? 1
				 : 0));
		}
		case MoveM32rRs:
		case MoveM64rRd:
		{
			return ((((isQuick(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[0]))
				 ? (((((self_in_computeMaximumSize->operands)[0]) == 0) && ((((self_in_computeMaximumSize->operands)[1]) & 6) != RSP))
					 ? 4
					 : 5)
				 : 8)) + (((((((self_in_computeMaximumSize->operands)[1]) & 7) == RSP) && (((self_in_computeMaximumSize->operands)[0]) != 0))
				 ? 1
				 : 0))) + ((((((self_in_computeMaximumSize->operands)[1]) > 7) || (((self_in_computeMaximumSize->operands)[2]) > 7))
				 ? 1
				 : 0));
		}
		case MoveXbrRR:
		{
			assert(((self_in_computeMaximumSize->operands)[0]) != RSP);
			return (((((self_in_computeMaximumSize->operands)[1]) & 7) == RBP)
				 ? 5
				 : 4);
		}
		case MoveRXbrR:
		{
			assert(((self_in_computeMaximumSize->operands)[1]) != RSP);
			return ((((((self_in_computeMaximumSize->operands)[0]) > 3) || ((((self_in_computeMaximumSize->operands)[1]) > 7) || (((self_in_computeMaximumSize->operands)[2]) > 7)))
				 ? 4
				 : 3)) + ((((((self_in_computeMaximumSize->operands)[2]) & 7) == RBP)
				 ? 1
				 : 0));
		}
		case MoveXwrRR:
		{
			assert(((self_in_computeMaximumSize->operands)[0]) != RSP);
			return (((((self_in_computeMaximumSize->operands)[1]) == RBP) || (((self_in_computeMaximumSize->operands)[1]) == R13))
				 ? 5
				 : 4);
		}
		case MoveRXwrR:
		{
			assert(((self_in_computeMaximumSize->operands)[1]) != RSP);
			return (((((self_in_computeMaximumSize->operands)[2]) == RBP) || (((self_in_computeMaximumSize->operands)[2]) == R13))
				 ? 5
				 : 4);
		}
		case MoveX32rRR:
		{
			assert(((self_in_computeMaximumSize->operands)[0]) != RSP);
			return ((((((self_in_computeMaximumSize->operands)[1]) == RBP) || (((self_in_computeMaximumSize->operands)[1]) == R13))
				 ? 7
				 : 6)) + ((((((self_in_computeMaximumSize->operands)[0]) > 7) || ((((self_in_computeMaximumSize->operands)[1]) > 7) || (((self_in_computeMaximumSize->operands)[2]) > 7)))
				 ? 1
				 : 0));
		}
		case MoveRX32rR:
		{
			assert(((self_in_computeMaximumSize->operands)[1]) != RSP);
			return ((((((self_in_computeMaximumSize->operands)[2]) == RBP) || (((self_in_computeMaximumSize->operands)[2]) == R13))
				 ? 4
				 : 3)) + ((((((self_in_computeMaximumSize->operands)[0]) > 7) || ((((self_in_computeMaximumSize->operands)[1]) > 7) || (((self_in_computeMaximumSize->operands)[2]) > 7)))
				 ? 1
				 : 0));
		}
		case PopR:
		case PushR:
		{
			return ((((self_in_computeMaximumSize->operands)[0]) < 8)
				 ? 1
				 : 2);
		}
		case PushCq:
		{
			return ((isQuick(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[0]))
				 ? 2
				 : ((is32BitSignedImmediate(self_in_computeMaximumSize, (self_in_computeMaximumSize->operands)[0]))
					 ? 5
					 : computeSizeOfPushCw(self_in_computeMaximumSize)));
		}
		case PushCw:
		{
			return computeSizeOfPushCw(self_in_computeMaximumSize);
		}
		case PrefetchAw:
		{
			return (((((self_in_computeMaximumSize->operands)[0]) != null) && ((((self_in_computeMaximumSize->operands)[0]) >= ((varBaseAddress()) - (1U << 20))) && (((self_in_computeMaximumSize->operands)[0]) <= ((varBaseAddress()) + (1U << 20)))))
				 ? 7
				 : 0);
		}
		case ZeroExtend32RR:
		{
			return 2 + ((((((self_in_computeMaximumSize->operands)[1]) > 7) || (((self_in_computeMaximumSize->operands)[0]) > 7))
				 ? 1
				 : 0));
		}
		case FaddSRvRvRv:
		case FsubSRvRvRv:
		{
			return 10;
		}
		default:
		error("Case not found and no otherwise clause");
	}
	return 0;
}
/*	On the x86 the only instructions that shift by the value of a 
	register require the shift count to be in %ecx. So we may 
	have to use swap instructions to get the count into ecx. */
/* CogX64Compiler>>#computeShiftRRSize */
static sqInt NoDbgRegParms
computeShiftRRSize(AbstractInstruction * self_in_computeShiftRRSize)
{
	usqInt _shiftCountReg;

	_shiftCountReg = (self_in_computeShiftRRSize->operands)[0];
	return ((_shiftCountReg == RCX)
		 ? 3
		 : ((_shiftCountReg == RAX)
			 ? (2 + 3) + 2
			 : (3 + 3) + 3));
}
/* CogX64Compiler>>#computeSizeOfPushCw */
static sqInt NoDbgRegParms
computeSizeOfPushCw(AbstractInstruction * self_in_computeSizeOfPushCw)
{
	return ((((addressIsInInstructions(((AbstractInstruction *) ((self_in_computeSizeOfPushCw->operands)[0]) ))) || (((AbstractInstruction *) ((self_in_computeSizeOfPushCw->operands)[0]) ) == (methodLabel()))) || ((((usqInt) ((self_in_computeSizeOfPushCw->operands)[0]) ) >= ((methodLabel->address))) && (((usqInt) ((self_in_computeSizeOfPushCw->operands)[0]) ) < (youngReferrers()))))
		 ? 9
		 : (/* begin pushCwByteSize */ 12 /* end pushCwByteSize */));
}
/*	Will get inlined into concretizeAt: switch. */
/* CogX64Compiler>>#concretizeArithCqRWithRO:raxOpcode: */
static usqInt NoDbgRegParms
concretizeArithCqRWithROraxOpcode(AbstractInstruction * self_in_concretizeArithCqRWithROraxOpcode, sqInt _regOpcode, sqInt _raxOpcode)
{
	usqInt _reg;
	usqInt _value;

	_value = (self_in_concretizeArithCqRWithROraxOpcode->operands)[0];
	_reg = (self_in_concretizeArithCqRWithROraxOpcode->operands)[1];
	(self_in_concretizeArithCqRWithROraxOpcode->machineCode)[0] = rexRxb(self_in_concretizeArithCqRWithROraxOpcode, 0, 0, _reg);
	if (isQuick(self_in_concretizeArithCqRWithROraxOpcode, _value)) {
		{
			(self_in_concretizeArithCqRWithROraxOpcode->machineCode)[1] = 131;
			(self_in_concretizeArithCqRWithROraxOpcode->machineCode)[2] = modRMRO(self_in_concretizeArithCqRWithROraxOpcode, ModReg, _reg, _regOpcode);
			(self_in_concretizeArithCqRWithROraxOpcode->machineCode)[3] = _value & 0xFF;
		}
		return ((self_in_concretizeArithCqRWithROraxOpcode->machineCodeSize) = 4);
	}
	if (is32BitSignedImmediate(self_in_concretizeArithCqRWithROraxOpcode, _value)) {
		if (_reg == RAX) {
			{
				(self_in_concretizeArithCqRWithROraxOpcode->machineCode)[1] = _raxOpcode;
				(self_in_concretizeArithCqRWithROraxOpcode->machineCode)[2] = _value & 0xFF;
				(self_in_concretizeArithCqRWithROraxOpcode->machineCode)[3] = (((usqInt) _value ) >> 8) & 0xFF;
				(self_in_concretizeArithCqRWithROraxOpcode->machineCode)[4] = (((usqInt) _value ) >> 16) & 0xFF;
				(self_in_concretizeArithCqRWithROraxOpcode->machineCode)[5] = (((usqInt) _value ) >> 24) & 0xFF;
			}
			return ((self_in_concretizeArithCqRWithROraxOpcode->machineCodeSize) = 6);
		}
		{
			(self_in_concretizeArithCqRWithROraxOpcode->machineCode)[1] = 129;
			(self_in_concretizeArithCqRWithROraxOpcode->machineCode)[2] = modRMRO(self_in_concretizeArithCqRWithROraxOpcode, ModReg, _reg, _regOpcode);
			(self_in_concretizeArithCqRWithROraxOpcode->machineCode)[3] = _value & 0xFF;
			(self_in_concretizeArithCqRWithROraxOpcode->machineCode)[4] = (((usqInt) _value ) >> 8) & 0xFF;
			(self_in_concretizeArithCqRWithROraxOpcode->machineCode)[5] = (((usqInt) _value ) >> 16) & 0xFF;
			(self_in_concretizeArithCqRWithROraxOpcode->machineCode)[6] = (((usqInt) _value ) >> 24) & 0xFF;
		}
		return ((self_in_concretizeArithCqRWithROraxOpcode->machineCodeSize) = 7);
	}
	return concretizeArithCwR(self_in_concretizeArithCqRWithROraxOpcode, ((_raxOpcode == 61)
		 ? 57
		 : _raxOpcode - 2));
}
/* CogX64Compiler>>#concretizeMoveRX32rR */
static usqInt NoDbgRegParms
concretizeMoveRX32rR(AbstractInstruction * self_in_concretizeMoveRX32rR)
{
	usqInt _base;
	usqInt _index;
	int _offset;
	usqInt _src;

	_src = (self_in_concretizeMoveRX32rR->operands)[0];
	_index = (self_in_concretizeMoveRX32rR->operands)[1];
	_base = (self_in_concretizeMoveRX32rR->operands)[2];
	if ((_index > 7) || ((_base > 7) || (_src > 7))) {
		(self_in_concretizeMoveRX32rR->machineCode)[0] = rexwrxb(self_in_concretizeMoveRX32rR, 0, _src, _index, _base);
		_offset = 1;
	} else {
		_offset = 0;
	}
	if ((_base & 7) != RBP) {
		{
			(self_in_concretizeMoveRX32rR->machineCode)[_offset] = 137;
			(self_in_concretizeMoveRX32rR->machineCode)[_offset + 1] = modRMRO(self_in_concretizeMoveRX32rR, ModRegInd, 4, _src);
			(self_in_concretizeMoveRX32rR->machineCode)[_offset + 2] = sib(self_in_concretizeMoveRX32rR, SIB4, _index, _base);
		}
		return ((self_in_concretizeMoveRX32rR->machineCodeSize) = _offset + 3);
	}
	{
		(self_in_concretizeMoveRX32rR->machineCode)[_offset] = 137;
		(self_in_concretizeMoveRX32rR->machineCode)[_offset + 1] = modRMRO(self_in_concretizeMoveRX32rR, ModRegRegDisp8, 4, _src);
		(self_in_concretizeMoveRX32rR->machineCode)[_offset + 2] = sib(self_in_concretizeMoveRX32rR, SIB4, _index, _base);
		(self_in_concretizeMoveRX32rR->machineCode)[_offset + 3] = 0;
	}
	return ((self_in_concretizeMoveRX32rR->machineCodeSize) = _offset + 4);
}
/*	MoveX32rRR is expected to zero-extend, so explicitly zero the destination. */
/* CogX64Compiler>>#concretizeMoveX32rRR */
static usqInt NoDbgRegParms
concretizeMoveX32rRR(AbstractInstruction * self_in_concretizeMoveX32rRR)
{
	usqInt _base;
	usqInt _dest;
	usqInt _index;
	int _offset;

	_index = (self_in_concretizeMoveX32rRR->operands)[0];
	_base = (self_in_concretizeMoveX32rRR->operands)[1];
	_dest = (self_in_concretizeMoveX32rRR->operands)[2];
	{
		(self_in_concretizeMoveX32rRR->machineCode)[0] = rexRxb(self_in_concretizeMoveX32rRR, _dest, 0, _dest);
		(self_in_concretizeMoveX32rRR->machineCode)[1] = 49;
		(self_in_concretizeMoveX32rRR->machineCode)[2] = modRMRO(self_in_concretizeMoveX32rRR, ModReg, _dest, _dest);
	}
	if ((_index > 7) || ((_base > 7) || (_dest > 7))) {
		(self_in_concretizeMoveX32rRR->machineCode)[3] = rexwrxb(self_in_concretizeMoveX32rRR, 0, _dest, _index, _base);
		_offset = 1;
	} else {
		_offset = 0;
	}
	if ((_base & 7) != RBP) {
		{
			(self_in_concretizeMoveX32rRR->machineCode)[_offset + 3] = 139;
			(self_in_concretizeMoveX32rRR->machineCode)[_offset + 4] = modRMRO(self_in_concretizeMoveX32rRR, ModRegInd, 4, _dest);
			(self_in_concretizeMoveX32rRR->machineCode)[_offset + 5] = sib(self_in_concretizeMoveX32rRR, SIB4, _index, _base);
		}
		return ((self_in_concretizeMoveX32rRR->machineCodeSize) = _offset + 6);
	}
	{
		(self_in_concretizeMoveX32rRR->machineCode)[_offset + 3] = 139;
		(self_in_concretizeMoveX32rRR->machineCode)[_offset + 4] = modRMRO(self_in_concretizeMoveX32rRR, ModRegRegDisp8, 4, _dest);
		(self_in_concretizeMoveX32rRR->machineCode)[_offset + 5] = sib(self_in_concretizeMoveX32rRR, SIB4, _index, _base);
		(self_in_concretizeMoveX32rRR->machineCode)[_offset + 6] = 0;
	}
	return ((self_in_concretizeMoveX32rRR->machineCodeSize) = _offset + 7);
}
/* CogX64Compiler>>#concretizeOpRR: */
static usqInt NoDbgRegParms
concretizeOpRR(AbstractInstruction * self_in_concretizeOpRR, sqInt _x64opcode)
{
	usqInt _regLHS;
	usqInt _regRHS;

	_regLHS = (self_in_concretizeOpRR->operands)[0];
	_regRHS = (self_in_concretizeOpRR->operands)[1];
	{
		(self_in_concretizeOpRR->machineCode)[0] = rexRxb(self_in_concretizeOpRR, _regRHS, 0, _regLHS);
		(self_in_concretizeOpRR->machineCode)[1] = _x64opcode;
		(self_in_concretizeOpRR->machineCode)[2] = modRMRO(self_in_concretizeOpRR, ModReg, _regLHS, _regRHS);
	}
	return ((self_in_concretizeOpRR->machineCodeSize) = 3);
}
/*	We support only prefetches for addresses that are variables relative to 
	VarBase  */
/* CogX64Compiler>>#concretizePrefetchAw */
static usqInt NoDbgRegParms
concretizePrefetchAw(AbstractInstruction * self_in_concretizePrefetchAw)
{
	sqInt _offset;
	usqInt _operand;

	_operand = (self_in_concretizePrefetchAw->operands)[0];
	if (!((_operand != null) && ((_operand >= ((varBaseAddress()) - (1U << 20))) && (_operand <= ((varBaseAddress()) + (1U << 20)))))) {
		return ((self_in_concretizePrefetchAw->machineCodeSize) = 0);
	}
	_offset = _operand - (varBaseAddress());
	{
		(self_in_concretizePrefetchAw->machineCode)[0] = 15;
		(self_in_concretizePrefetchAw->machineCode)[1] = 24;
		(self_in_concretizePrefetchAw->machineCode)[2] = 147;
		(self_in_concretizePrefetchAw->machineCode)[3] = _offset & 0xFF;
		(self_in_concretizePrefetchAw->machineCode)[4] = (((usqInt) _offset ) >> 16) & 0xFF;
		(self_in_concretizePrefetchAw->machineCode)[5] = (((usqInt) _offset ) >> 8) & 0xFF;
		(self_in_concretizePrefetchAw->machineCode)[6] = ((usqInt) _offset ) >> 24;
	}
	return ((self_in_concretizePrefetchAw->machineCodeSize) = 7);
}
/*	CmpRR/MoveRR RHS LHS computes LHS - RHS, i.e. apparently reversed. You 
	have to think subtract. */
/* CogX64Compiler>>#concretizeReverseOpRR: */
static usqInt NoDbgRegParms
concretizeReverseOpRR(AbstractInstruction * self_in_concretizeReverseOpRR, sqInt _x64opcode)
{
	usqInt _regLHS;
	usqInt _regRHS;

	_regRHS = (self_in_concretizeReverseOpRR->operands)[0];
	_regLHS = (self_in_concretizeReverseOpRR->operands)[1];
	{
		(self_in_concretizeReverseOpRR->machineCode)[0] = rexRxb(self_in_concretizeReverseOpRR, _regRHS, 0, _regLHS);
		(self_in_concretizeReverseOpRR->machineCode)[1] = _x64opcode;
		(self_in_concretizeReverseOpRR->machineCode)[2] = modRMRO(self_in_concretizeReverseOpRR, ModReg, _regLHS, _regRHS);
	}
	return ((self_in_concretizeReverseOpRR->machineCodeSize) = 3);
}
/* CogX64Compiler>>#concretizeXCHGRR */
static usqInt NoDbgRegParms
concretizeXCHGRR(AbstractInstruction * self_in_concretizeXCHGRR)
{
	usqInt _r1;
	usqInt _r2;

	_r1 = (self_in_concretizeXCHGRR->operands)[0];
	_r2 = (self_in_concretizeXCHGRR->operands)[1];
	if (_r2 == RAX) {
		_r2 = _r1;
		_r1 = RAX;
	}
	if (_r1 == RAX) {
		{
			(self_in_concretizeXCHGRR->machineCode)[0] = rexRxb(self_in_concretizeXCHGRR, 0, 0, _r2);
			(self_in_concretizeXCHGRR->machineCode)[1] = 144 + (_r2 % 8);
		}
		return ((self_in_concretizeXCHGRR->machineCodeSize) = 2);
	}
	{
		(self_in_concretizeXCHGRR->machineCode)[0] = rexRxb(self_in_concretizeXCHGRR, _r1, 0, _r2);
		(self_in_concretizeXCHGRR->machineCode)[1] = 135;
		(self_in_concretizeXCHGRR->machineCode)[2] = modRMRO(self_in_concretizeXCHGRR, ModReg, _r2, _r1);
	}
	return ((self_in_concretizeXCHGRR->machineCodeSize) = 3);
}
/* CogX64Compiler>>#cStackPointer */
static sqInt NoDbgRegParms
cStackPointer(AbstractInstruction * self_in_cStackPointer)
{
	return RSP;
}
/*	Attempt to generate concrete machine code for the instruction at address. 
	This is the inner dispatch of concretizeAt: actualAddress which exists 
	only to get around the branch size limits in the SqueakV3 (blue book 
	derived) bytecode set. */
/* CogX64Compiler>>#dispatchConcretize */
static void NoDbgRegParms
dispatchConcretize(AbstractInstruction * self_in_dispatchConcretize)
{
	usqInt _addressOperand;
	usqInt _addressOperand2;
	usqInt _addressOperand3;
	usqInt _addressOperand4;
	usqInt _addressOperand5;
	usqInt _addressOperand6;
	usqInt _base;
	usqInt _base2;
	usqInt _base3;
	usqInt _base4;
	usqInt _baseReg;
	usqInt _baseReg2;
	AbstractInstruction *_dependentChain;
	usqInt _dest;
	usqInt _dest2;
	usqInt _destReg;
	usqInt _destReg10;
	usqInt _destReg11;
	usqInt _destReg12;
	usqInt _destReg13;
	usqInt _destReg14;
	usqInt _destReg15;
	usqInt _destReg16;
	usqInt _destReg17;
	usqInt _destReg18;
	usqInt _destReg19;
	usqInt _destReg2;
	usqInt _destReg20;
	usqInt _destReg21;
	usqInt _destReg22;
	usqInt _destReg23;
	usqInt _destReg24;
	usqInt _destReg25;
	usqInt _destReg26;
	usqInt _destReg27;
	usqInt _destReg28;
	usqInt _destReg29;
	usqInt _destReg3;
	usqInt _destReg30;
	usqInt _destReg31;
	usqInt _destReg32;
	usqInt _destReg33;
	usqInt _destReg34;
	usqInt _destReg35;
	usqInt _destReg36;
	usqInt _destReg37;
	usqInt _destReg38;
	usqInt _destReg39;
	usqInt _destReg4;
	usqInt _destReg5;
	usqInt _destReg6;
	usqInt _destReg7;
	usqInt _destReg8;
	usqInt _destReg9;
	usqInt _distance;
	usqInt _distance2;
	usqInt _distance3;
	usqInt _distance4;
	usqInt _distance5;
	sqInt _i;
	usqInt _index;
	usqInt _index2;
	usqInt _index3;
	usqInt _index4;
	int _instructionOffset;
	int _instructionOffset2;
	AbstractInstruction *_jumpTarget;
	sqInt _jumpTarget10;
	sqInt _jumpTarget11;
	sqInt _jumpTarget12;
	sqInt _jumpTarget13;
	sqInt _jumpTarget14;
	sqInt _jumpTarget15;
	sqInt _jumpTarget16;
	sqInt _jumpTarget17;
	sqInt _jumpTarget18;
	sqInt _jumpTarget19;
	AbstractInstruction *_jumpTarget2;
	AbstractInstruction *_jumpTarget210;
	AbstractInstruction *_jumpTarget211;
	AbstractInstruction *_jumpTarget212;
	AbstractInstruction *_jumpTarget213;
	AbstractInstruction *_jumpTarget214;
	AbstractInstruction *_jumpTarget215;
	AbstractInstruction *_jumpTarget216;
	AbstractInstruction *_jumpTarget217;
	AbstractInstruction *_jumpTarget218;
	AbstractInstruction *_jumpTarget22;
	AbstractInstruction *_jumpTarget2210;
	AbstractInstruction *_jumpTarget2211;
	AbstractInstruction *_jumpTarget2212;
	AbstractInstruction *_jumpTarget2213;
	AbstractInstruction *_jumpTarget2214;
	AbstractInstruction *_jumpTarget2215;
	AbstractInstruction *_jumpTarget2216;
	AbstractInstruction *_jumpTarget222;
	AbstractInstruction *_jumpTarget223;
	AbstractInstruction *_jumpTarget224;
	AbstractInstruction *_jumpTarget225;
	AbstractInstruction *_jumpTarget226;
	AbstractInstruction *_jumpTarget227;
	AbstractInstruction *_jumpTarget228;
	AbstractInstruction *_jumpTarget229;
	AbstractInstruction *_jumpTarget23;
	AbstractInstruction *_jumpTarget24;
	AbstractInstruction *_jumpTarget25;
	AbstractInstruction *_jumpTarget26;
	AbstractInstruction *_jumpTarget27;
	AbstractInstruction *_jumpTarget28;
	AbstractInstruction *_jumpTarget29;
	sqInt _jumpTarget3;
	sqInt _jumpTarget310;
	sqInt _jumpTarget311;
	sqInt _jumpTarget312;
	sqInt _jumpTarget313;
	sqInt _jumpTarget314;
	sqInt _jumpTarget315;
	sqInt _jumpTarget316;
	sqInt _jumpTarget32;
	sqInt _jumpTarget33;
	sqInt _jumpTarget34;
	sqInt _jumpTarget35;
	sqInt _jumpTarget36;
	sqInt _jumpTarget37;
	sqInt _jumpTarget38;
	sqInt _jumpTarget39;
	sqInt _jumpTarget4;
	sqInt _jumpTarget5;
	sqInt _jumpTarget6;
	sqInt _jumpTarget7;
	sqInt _jumpTarget8;
	sqInt _jumpTarget9;
	sqInt _offset;
	usqInt _offset10;
	usqInt _offset11;
	usqInt _offset12;
	usqInt _offset13;
	usqInt _offset14;
	usqInt _offset15;
	usqInt _offset16;
	int _offset17;
	usqInt _offset18;
	usqInt _offset19;
	sqInt _offset2;
	usqInt _offset20;
	usqInt _offset21;
	sqInt _offset210;
	sqInt _offset211;
	sqInt _offset212;
	sqInt _offset213;
	sqInt _offset214;
	sqInt _offset215;
	sqInt _offset216;
	sqInt _offset217;
	sqInt _offset218;
	sqInt _offset219;
	sqInt _offset22;
	sqInt _offset220;
	sqInt _offset221;
	sqInt _offset222;
	sqInt _offset223;
	usqInt _offset224;
	usqInt _offset225;
	usqInt _offset226;
	usqInt _offset227;
	sqInt _offset23;
	usqInt _offset24;
	usqInt _offset25;
	sqInt _offset26;
	sqInt _offset27;
	sqInt _offset28;
	sqInt _offset29;
	sqInt _offset3;
	sqInt _offset30;
	sqInt _offset31;
	sqInt _offset32;
	sqInt _offset33;
	sqInt _offset34;
	sqInt _offset35;
	sqInt _offset36;
	sqInt _offset37;
	sqInt _offset38;
	sqInt _offset39;
	usqInt _offset4;
	sqInt _offset40;
	sqInt _offset41;
	sqInt _offset42;
	sqInt _offset43;
	int _offset44;
	int _offset45;
	int _offset46;
	int _offset47;
	usqInt _offset48;
	usqInt _offset5;
	sqInt _offset6;
	int _offset7;
	int _offset8;
	usqInt _offset9;
	usqInt _operand;
	usqInt _operand2;
	usqInt _reg;
	usqInt _reg10;
	usqInt _reg11;
	usqInt _reg12;
	usqInt _reg13;
	usqInt _reg14;
	usqInt _reg15;
	usqInt _reg16;
	usqInt _reg17;
	usqInt _reg18;
	usqInt _reg19;
	usqInt _reg2;
	usqInt _reg20;
	usqInt _reg21;
	usqInt _reg22;
	usqInt _reg23;
	usqInt _reg3;
	usqInt _reg4;
	usqInt _reg5;
	usqInt _reg6;
	usqInt _reg7;
	usqInt _reg8;
	usqInt _reg9;
	usqInt _regLHS;
	usqInt _regLHS10;
	usqInt _regLHS11;
	usqInt _regLHS12;
	usqInt _regLHS2;
	usqInt _regLHS3;
	usqInt _regLHS4;
	usqInt _regLHS5;
	usqInt _regLHS6;
	usqInt _regLHS7;
	usqInt _regLHS8;
	usqInt _regLHS9;
	usqInt _regRHS;
	usqInt _regRHS10;
	usqInt _regRHS11;
	usqInt _regRHS12;
	usqInt _regRHS2;
	usqInt _regRHS3;
	usqInt _regRHS4;
	usqInt _regRHS5;
	usqInt _regRHS6;
	usqInt _regRHS7;
	usqInt _regRHS8;
	usqInt _regRHS9;
	sqInt _regToShift;
	sqInt _regToShift2;
	usqInt _save0;
	usqInt _save02;
	usqInt _save1;
	usqInt _save12;
	usqInt _save13;
	usqInt _save14;
	usqInt _shiftCountReg;
	usqInt _shiftCountReg2;
	usqInt _size;
	usqInt _size2;
	usqInt _size3;
	usqInt _size4;
	usqInt _size5;
	int _skip;
	int _skip10;
	int _skip11;
	int _skip12;
	int _skip13;
	int _skip14;
	int _skip15;
	int _skip16;
	int _skip17;
	int _skip18;
	int _skip19;
	int _skip2;
	int _skip20;
	int _skip21;
	int _skip22;
	int _skip23;
	int _skip24;
	int _skip25;
	int _skip26;
	int _skip27;
	int _skip28;
	int _skip29;
	int _skip3;
	int _skip4;
	int _skip5;
	int _skip6;
	int _skip7;
	int _skip8;
	int _skip9;
	usqInt _src;
	usqInt _src2;
	usqInt _srcReg;
	usqInt _srcReg1;
	usqInt _srcReg10;
	usqInt _srcReg11;
	usqInt _srcReg110;
	usqInt _srcReg12;
	usqInt _srcReg13;
	usqInt _srcReg14;
	usqInt _srcReg15;
	usqInt _srcReg16;
	usqInt _srcReg17;
	usqInt _srcReg18;
	usqInt _srcReg19;
	usqInt _srcReg2;
	usqInt _srcReg20;
	usqInt _srcReg21;
	usqInt _srcReg210;
	usqInt _srcReg211;
	usqInt _srcReg22;
	usqInt _srcReg23;
	usqInt _srcReg24;
	usqInt _srcReg25;
	usqInt _srcReg26;
	usqInt _srcReg27;
	usqInt _srcReg28;
	usqInt _srcReg29;
	usqInt _srcReg3;
	usqInt _srcReg30;
	usqInt _srcReg31;
	usqInt _srcReg32;
	usqInt _srcReg33;
	usqInt _srcReg34;
	usqInt _srcReg35;
	usqInt _srcReg36;
	usqInt _srcReg37;
	usqInt _srcReg4;
	usqInt _srcReg5;
	usqInt _srcReg6;
	usqInt _srcReg7;
	usqInt _srcReg8;
	usqInt _srcReg9;
	usqInt _value;
	usqInt _value2;
	usqInt _value22;
	usqInt _value3;
	usqInt _value4;
	usqInt _value5;
	usqInt _value6;
	usqInt _value7;
	usqIntptr_t _word;

	if (((self_in_dispatchConcretize->opcode)) >= CDQ) {
		{
			dispatchConcretizeProcessorSpecific(self_in_dispatchConcretize);
			return;
		}
	}
	switch ((self_in_dispatchConcretize->opcode)) {
		case Label:
		{
			{
				/* begin concretizeLabel */
				_dependentChain = (self_in_dispatchConcretize->dependent);
				while (!(_dependentChain == null)) {
					/* begin updateLabel: */
					assert((((_dependentChain->opcode)) == MoveCwR) || (((_dependentChain->opcode)) == PushCw));
					(_dependentChain->operands)[0] = ((self_in_dispatchConcretize->address)) + ((self_in_dispatchConcretize->operands)[1]);
					/* end updateLabel: */
					_dependentChain = (_dependentChain->dependent);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 0;
				/* end concretizeLabel */
				return;
			}
		}
		break;
		case AlignmentNops:
		{
			{
				/* begin concretizeAlignmentNops */
				for (_i = 0; _i < ((self_in_dispatchConcretize->machineCodeSize)); _i += 1) {
					(self_in_dispatchConcretize->machineCode)[_i] = 144;
				}
				/* end concretizeAlignmentNops */
				return;
			}
		}
		break;
		case Fill32:
		{
			{
				/* begin concretizeFill32 */
				_word = (self_in_dispatchConcretize->operands)[0];
				(self_in_dispatchConcretize->machineCode)[0] = _word & 0xFF;
				(self_in_dispatchConcretize->machineCode)[1] = (((usqInt) _word ) >> 8) & 0xFF;
				(self_in_dispatchConcretize->machineCode)[2] = (((usqInt) _word ) >> 16) & 0xFF;
				(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _word ) >> 24) & 0xFF;
				(self_in_dispatchConcretize->machineCodeSize) = 4;
				/* end concretizeFill32 */
				return;
			}
		}
		break;
		case Nop:
		{
			{
				/* begin concretizeNop */
				(self_in_dispatchConcretize->machineCode)[0] = 144;
				(self_in_dispatchConcretize->machineCodeSize) = 1;
				/* end concretizeNop */
				return;
			}
		}
		break;
		case Call:
		{
			{
				/* begin concretizeCall */
				assert(((self_in_dispatchConcretize->operands)[0]) != 0);
				_offset = ((int) ((self_in_dispatchConcretize->operands)[0]) ) - ((int) (((self_in_dispatchConcretize->address)) + 5) );
				{
					(self_in_dispatchConcretize->machineCode)[0] = 232;
					(self_in_dispatchConcretize->machineCode)[1] = _offset & 0xFF;
					(self_in_dispatchConcretize->machineCode)[2] = (((usqInt) _offset ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 5;
				/* end concretizeCall */
				return;
			}
		}
		break;
		case CallR:
		{
			{
				/* begin concretizeCallR */
				_reg = (self_in_dispatchConcretize->operands)[0];
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg);
					(self_in_dispatchConcretize->machineCode)[1] = 0xFF;
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _reg, 2);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 3;
				/* end concretizeCallR */
				return;
			}
		}
		break;
		case CallFull:
		{
			{
				/* begin concretizeCallFull */
				_operand = (self_in_dispatchConcretize->operands)[0];
				{
					(self_in_dispatchConcretize->machineCode)[0] = 72;
					(self_in_dispatchConcretize->machineCode)[1] = 184;
					(self_in_dispatchConcretize->machineCode)[2] = _operand & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _operand ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _operand ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _operand ) >> 24) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _operand ) >> 32) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[7] = (((usqInt) _operand ) >> 40) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[8] = (((usqInt) _operand ) >> 48) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[9] = (((usqInt) _operand ) >> 56) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[10] = 0xFF;
					(self_in_dispatchConcretize->machineCode)[11] = modRMRO(self_in_dispatchConcretize, ModReg, RAX, 2);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 12;
				/* end concretizeCallFull */
				return;
			}
		}
		break;
		case JumpR:
		{
			{
				/* begin concretizeJumpR */
				_reg2 = (self_in_dispatchConcretize->operands)[0];
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg2);
					(self_in_dispatchConcretize->machineCode)[1] = 0xFF;
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _reg2, 4);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 3;
				/* end concretizeJumpR */
				return;
			}
		}
		break;
		case JumpFull:
		{
			{
				/* begin concretizeJumpFull */
				_operand2 = (self_in_dispatchConcretize->operands)[0];
				{
					(self_in_dispatchConcretize->machineCode)[0] = 72;
					(self_in_dispatchConcretize->machineCode)[1] = 184;
					(self_in_dispatchConcretize->machineCode)[2] = _operand2 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _operand2 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _operand2 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _operand2 ) >> 24) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _operand2 ) >> 32) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[7] = (((usqInt) _operand2 ) >> 40) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[8] = (((usqInt) _operand2 ) >> 48) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[9] = (((usqInt) _operand2 ) >> 56) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[10] = 0xFF;
					(self_in_dispatchConcretize->machineCode)[11] = modRMRO(self_in_dispatchConcretize, ModReg, RAX, 4);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 12;
				/* end concretizeJumpFull */
				return;
			}
		}
		break;
		case JumpLong:
		{
			{
				/* begin concretizeJumpLong */
				_jumpTarget = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				if ((addressIsInInstructions(_jumpTarget)) || (_jumpTarget == (methodLabel()))) {
					_jumpTarget = ((AbstractInstruction *) ((_jumpTarget->address)) );
				}
				assert(_jumpTarget != 0);
				_offset2 = ((sqLong) _jumpTarget ) - ((sqLong) (((self_in_dispatchConcretize->address)) + 5) );
				checkIs32bit(self_in_dispatchConcretize, _offset2);
				{
					(self_in_dispatchConcretize->machineCode)[0] = 233;
					(self_in_dispatchConcretize->machineCode)[1] = _offset2 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[2] = (((usqInt) _offset2 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset2 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset2 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 5;
				/* end concretizeJumpLong */
				return;
			}
		}
		break;
		case JumpLongZero:
		case JumpZero:
		case JumpFPEqual:
		{
			{
				/* begin concretizeConditionalJump: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget23 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget23);
				if ((addressIsInInstructions(_jumpTarget23)) || (_jumpTarget23 == (methodLabel()))) {
					_jumpTarget23 = ((AbstractInstruction *) ((_jumpTarget23->address)) );
				}
				assert(_jumpTarget23 != 0);
				_jumpTarget4 = ((sqInt) _jumpTarget23 );
				/* end jumpTargetAddress */
				_offset27 = _jumpTarget4 - ((sqInt) (((self_in_dispatchConcretize->address)) + 2) );
				/* end computeJumpTargetOffsetPlus: */
				if (((((self_in_dispatchConcretize->machineCodeSize)) == 0)
					 ? isQuick(self_in_dispatchConcretize, _offset27)
					 : ((self_in_dispatchConcretize->machineCodeSize)) == 2)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 112 + 4;
						(self_in_dispatchConcretize->machineCode)[1] = _offset27 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 2;
					goto l90;
				}
				/* begin concretizeConditionalJumpLong: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget22 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget22);
				if ((addressIsInInstructions(_jumpTarget22)) || (_jumpTarget22 == (methodLabel()))) {
					_jumpTarget22 = ((AbstractInstruction *) ((_jumpTarget22->address)) );
				}
				assert(_jumpTarget22 != 0);
				_jumpTarget3 = ((sqInt) _jumpTarget22 );
				/* end jumpTargetAddress */
				_offset26 = _jumpTarget3 - ((sqInt) (((self_in_dispatchConcretize->address)) + 6) );
				/* end computeJumpTargetOffsetPlus: */
				{
					(self_in_dispatchConcretize->machineCode)[0] = 15;
					(self_in_dispatchConcretize->machineCode)[1] = 128 + 4;
					(self_in_dispatchConcretize->machineCode)[2] = _offset26 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset26 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset26 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset26 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 6;
				/* end concretizeConditionalJumpLong: */
				l90:
				;
				/* end concretizeConditionalJump: */
				return;
			}
		}
		break;
		case JumpLongNonZero:
		case JumpNonZero:
		case JumpFPNotEqual:
		{
			{
				/* begin concretizeConditionalJump: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget24 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget24);
				if ((addressIsInInstructions(_jumpTarget24)) || (_jumpTarget24 == (methodLabel()))) {
					_jumpTarget24 = ((AbstractInstruction *) ((_jumpTarget24->address)) );
				}
				assert(_jumpTarget24 != 0);
				_jumpTarget5 = ((sqInt) _jumpTarget24 );
				/* end jumpTargetAddress */
				_offset29 = _jumpTarget5 - ((sqInt) (((self_in_dispatchConcretize->address)) + 2) );
				/* end computeJumpTargetOffsetPlus: */
				if (((((self_in_dispatchConcretize->machineCodeSize)) == 0)
					 ? isQuick(self_in_dispatchConcretize, _offset29)
					 : ((self_in_dispatchConcretize->machineCodeSize)) == 2)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 112 + 5;
						(self_in_dispatchConcretize->machineCode)[1] = _offset29 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 2;
					goto l95;
				}
				/* begin concretizeConditionalJumpLong: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget222 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget222);
				if ((addressIsInInstructions(_jumpTarget222)) || (_jumpTarget222 == (methodLabel()))) {
					_jumpTarget222 = ((AbstractInstruction *) ((_jumpTarget222->address)) );
				}
				assert(_jumpTarget222 != 0);
				_jumpTarget32 = ((sqInt) _jumpTarget222 );
				/* end jumpTargetAddress */
				_offset28 = _jumpTarget32 - ((sqInt) (((self_in_dispatchConcretize->address)) + 6) );
				/* end computeJumpTargetOffsetPlus: */
				{
					(self_in_dispatchConcretize->machineCode)[0] = 15;
					(self_in_dispatchConcretize->machineCode)[1] = 128 + 5;
					(self_in_dispatchConcretize->machineCode)[2] = _offset28 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset28 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset28 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset28 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 6;
				/* end concretizeConditionalJumpLong: */
				l95:
				;
				/* end concretizeConditionalJump: */
				return;
			}
		}
		break;
		case Jump:
		{
			{
				/* begin concretizeJump */
				_jumpTarget2 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget2);
				if ((addressIsInInstructions(_jumpTarget2)) || (_jumpTarget2 == (methodLabel()))) {
					_jumpTarget2 = ((AbstractInstruction *) ((_jumpTarget2->address)) );
				}
				assert(_jumpTarget2 != 0);
				_offset3 = ((sqLong) _jumpTarget2 ) - ((sqLong) (((self_in_dispatchConcretize->address)) + 2) );
				checkIs32bit(self_in_dispatchConcretize, _offset3);
				if (((((self_in_dispatchConcretize->machineCodeSize)) == 0)
					 ? isQuick(self_in_dispatchConcretize, _offset3)
					 : ((self_in_dispatchConcretize->machineCodeSize)) == 2)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 235;
						(self_in_dispatchConcretize->machineCode)[1] = _offset3 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 2;
					goto l11;
				}
				_offset3 = ((sqLong) _jumpTarget2 ) - ((sqLong) (((self_in_dispatchConcretize->address)) + 5) );
				checkIs32bit(self_in_dispatchConcretize, _offset3);
				{
					(self_in_dispatchConcretize->machineCode)[0] = 233;
					(self_in_dispatchConcretize->machineCode)[1] = _offset3 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[2] = (((usqInt) _offset3 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset3 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset3 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 5;
				l11:
				;
				/* end concretizeJump */
				return;
			}
		}
		break;
		case JumpNegative:
		{
			{
				/* begin concretizeConditionalJump: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget25 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget25);
				if ((addressIsInInstructions(_jumpTarget25)) || (_jumpTarget25 == (methodLabel()))) {
					_jumpTarget25 = ((AbstractInstruction *) ((_jumpTarget25->address)) );
				}
				assert(_jumpTarget25 != 0);
				_jumpTarget6 = ((sqInt) _jumpTarget25 );
				/* end jumpTargetAddress */
				_offset30 = _jumpTarget6 - ((sqInt) (((self_in_dispatchConcretize->address)) + 2) );
				/* end computeJumpTargetOffsetPlus: */
				if (((((self_in_dispatchConcretize->machineCodeSize)) == 0)
					 ? isQuick(self_in_dispatchConcretize, _offset30)
					 : ((self_in_dispatchConcretize->machineCodeSize)) == 2)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 112 + 8;
						(self_in_dispatchConcretize->machineCode)[1] = _offset30 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 2;
					goto l100;
				}
				/* begin concretizeConditionalJumpLong: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget223 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget223);
				if ((addressIsInInstructions(_jumpTarget223)) || (_jumpTarget223 == (methodLabel()))) {
					_jumpTarget223 = ((AbstractInstruction *) ((_jumpTarget223->address)) );
				}
				assert(_jumpTarget223 != 0);
				_jumpTarget33 = ((sqInt) _jumpTarget223 );
				/* end jumpTargetAddress */
				_offset210 = _jumpTarget33 - ((sqInt) (((self_in_dispatchConcretize->address)) + 6) );
				/* end computeJumpTargetOffsetPlus: */
				{
					(self_in_dispatchConcretize->machineCode)[0] = 15;
					(self_in_dispatchConcretize->machineCode)[1] = 128 + 8;
					(self_in_dispatchConcretize->machineCode)[2] = _offset210 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset210 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset210 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset210 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 6;
				/* end concretizeConditionalJumpLong: */
				l100:
				;
				/* end concretizeConditionalJump: */
				return;
			}
		}
		break;
		case JumpNonNegative:
		{
			{
				/* begin concretizeConditionalJump: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget26 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget26);
				if ((addressIsInInstructions(_jumpTarget26)) || (_jumpTarget26 == (methodLabel()))) {
					_jumpTarget26 = ((AbstractInstruction *) ((_jumpTarget26->address)) );
				}
				assert(_jumpTarget26 != 0);
				_jumpTarget7 = ((sqInt) _jumpTarget26 );
				/* end jumpTargetAddress */
				_offset31 = _jumpTarget7 - ((sqInt) (((self_in_dispatchConcretize->address)) + 2) );
				/* end computeJumpTargetOffsetPlus: */
				if (((((self_in_dispatchConcretize->machineCodeSize)) == 0)
					 ? isQuick(self_in_dispatchConcretize, _offset31)
					 : ((self_in_dispatchConcretize->machineCodeSize)) == 2)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 112 + 9;
						(self_in_dispatchConcretize->machineCode)[1] = _offset31 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 2;
					goto l105;
				}
				/* begin concretizeConditionalJumpLong: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget224 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget224);
				if ((addressIsInInstructions(_jumpTarget224)) || (_jumpTarget224 == (methodLabel()))) {
					_jumpTarget224 = ((AbstractInstruction *) ((_jumpTarget224->address)) );
				}
				assert(_jumpTarget224 != 0);
				_jumpTarget34 = ((sqInt) _jumpTarget224 );
				/* end jumpTargetAddress */
				_offset211 = _jumpTarget34 - ((sqInt) (((self_in_dispatchConcretize->address)) + 6) );
				/* end computeJumpTargetOffsetPlus: */
				{
					(self_in_dispatchConcretize->machineCode)[0] = 15;
					(self_in_dispatchConcretize->machineCode)[1] = 128 + 9;
					(self_in_dispatchConcretize->machineCode)[2] = _offset211 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset211 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset211 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset211 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 6;
				/* end concretizeConditionalJumpLong: */
				l105:
				;
				/* end concretizeConditionalJump: */
				return;
			}
		}
		break;
		case JumpOverflow:
		{
			{
				/* begin concretizeConditionalJump: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget27 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget27);
				if ((addressIsInInstructions(_jumpTarget27)) || (_jumpTarget27 == (methodLabel()))) {
					_jumpTarget27 = ((AbstractInstruction *) ((_jumpTarget27->address)) );
				}
				assert(_jumpTarget27 != 0);
				_jumpTarget8 = ((sqInt) _jumpTarget27 );
				/* end jumpTargetAddress */
				_offset32 = _jumpTarget8 - ((sqInt) (((self_in_dispatchConcretize->address)) + 2) );
				/* end computeJumpTargetOffsetPlus: */
				if (((((self_in_dispatchConcretize->machineCodeSize)) == 0)
					 ? isQuick(self_in_dispatchConcretize, _offset32)
					 : ((self_in_dispatchConcretize->machineCodeSize)) == 2)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 112;
						(self_in_dispatchConcretize->machineCode)[1] = _offset32 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 2;
					goto l110;
				}
				/* begin concretizeConditionalJumpLong: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget225 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget225);
				if ((addressIsInInstructions(_jumpTarget225)) || (_jumpTarget225 == (methodLabel()))) {
					_jumpTarget225 = ((AbstractInstruction *) ((_jumpTarget225->address)) );
				}
				assert(_jumpTarget225 != 0);
				_jumpTarget35 = ((sqInt) _jumpTarget225 );
				/* end jumpTargetAddress */
				_offset212 = _jumpTarget35 - ((sqInt) (((self_in_dispatchConcretize->address)) + 6) );
				/* end computeJumpTargetOffsetPlus: */
				{
					(self_in_dispatchConcretize->machineCode)[0] = 15;
					(self_in_dispatchConcretize->machineCode)[1] = 128;
					(self_in_dispatchConcretize->machineCode)[2] = _offset212 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset212 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset212 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset212 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 6;
				/* end concretizeConditionalJumpLong: */
				l110:
				;
				/* end concretizeConditionalJump: */
				return;
			}
		}
		break;
		case JumpNoOverflow:
		{
			{
				/* begin concretizeConditionalJump: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget28 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget28);
				if ((addressIsInInstructions(_jumpTarget28)) || (_jumpTarget28 == (methodLabel()))) {
					_jumpTarget28 = ((AbstractInstruction *) ((_jumpTarget28->address)) );
				}
				assert(_jumpTarget28 != 0);
				_jumpTarget9 = ((sqInt) _jumpTarget28 );
				/* end jumpTargetAddress */
				_offset33 = _jumpTarget9 - ((sqInt) (((self_in_dispatchConcretize->address)) + 2) );
				/* end computeJumpTargetOffsetPlus: */
				if (((((self_in_dispatchConcretize->machineCodeSize)) == 0)
					 ? isQuick(self_in_dispatchConcretize, _offset33)
					 : ((self_in_dispatchConcretize->machineCodeSize)) == 2)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 112 + 1;
						(self_in_dispatchConcretize->machineCode)[1] = _offset33 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 2;
					goto l115;
				}
				/* begin concretizeConditionalJumpLong: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget226 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget226);
				if ((addressIsInInstructions(_jumpTarget226)) || (_jumpTarget226 == (methodLabel()))) {
					_jumpTarget226 = ((AbstractInstruction *) ((_jumpTarget226->address)) );
				}
				assert(_jumpTarget226 != 0);
				_jumpTarget36 = ((sqInt) _jumpTarget226 );
				/* end jumpTargetAddress */
				_offset213 = _jumpTarget36 - ((sqInt) (((self_in_dispatchConcretize->address)) + 6) );
				/* end computeJumpTargetOffsetPlus: */
				{
					(self_in_dispatchConcretize->machineCode)[0] = 15;
					(self_in_dispatchConcretize->machineCode)[1] = 128 + 1;
					(self_in_dispatchConcretize->machineCode)[2] = _offset213 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset213 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset213 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset213 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 6;
				/* end concretizeConditionalJumpLong: */
				l115:
				;
				/* end concretizeConditionalJump: */
				return;
			}
		}
		break;
		case JumpCarry:
		case JumpBelow:
		case JumpFPLess:
		{
			{
				/* begin concretizeConditionalJump: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget29 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget29);
				if ((addressIsInInstructions(_jumpTarget29)) || (_jumpTarget29 == (methodLabel()))) {
					_jumpTarget29 = ((AbstractInstruction *) ((_jumpTarget29->address)) );
				}
				assert(_jumpTarget29 != 0);
				_jumpTarget10 = ((sqInt) _jumpTarget29 );
				/* end jumpTargetAddress */
				_offset34 = _jumpTarget10 - ((sqInt) (((self_in_dispatchConcretize->address)) + 2) );
				/* end computeJumpTargetOffsetPlus: */
				if (((((self_in_dispatchConcretize->machineCodeSize)) == 0)
					 ? isQuick(self_in_dispatchConcretize, _offset34)
					 : ((self_in_dispatchConcretize->machineCodeSize)) == 2)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 112 + 2;
						(self_in_dispatchConcretize->machineCode)[1] = _offset34 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 2;
					goto l120;
				}
				/* begin concretizeConditionalJumpLong: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget227 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget227);
				if ((addressIsInInstructions(_jumpTarget227)) || (_jumpTarget227 == (methodLabel()))) {
					_jumpTarget227 = ((AbstractInstruction *) ((_jumpTarget227->address)) );
				}
				assert(_jumpTarget227 != 0);
				_jumpTarget37 = ((sqInt) _jumpTarget227 );
				/* end jumpTargetAddress */
				_offset214 = _jumpTarget37 - ((sqInt) (((self_in_dispatchConcretize->address)) + 6) );
				/* end computeJumpTargetOffsetPlus: */
				{
					(self_in_dispatchConcretize->machineCode)[0] = 15;
					(self_in_dispatchConcretize->machineCode)[1] = 128 + 2;
					(self_in_dispatchConcretize->machineCode)[2] = _offset214 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset214 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset214 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset214 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 6;
				/* end concretizeConditionalJumpLong: */
				l120:
				;
				/* end concretizeConditionalJump: */
				return;
			}
		}
		break;
		case JumpNoCarry:
		case JumpAboveOrEqual:
		case JumpFPGreaterOrEqual:
		{
			{
				/* begin concretizeConditionalJump: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget210 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget210);
				if ((addressIsInInstructions(_jumpTarget210)) || (_jumpTarget210 == (methodLabel()))) {
					_jumpTarget210 = ((AbstractInstruction *) ((_jumpTarget210->address)) );
				}
				assert(_jumpTarget210 != 0);
				_jumpTarget11 = ((sqInt) _jumpTarget210 );
				/* end jumpTargetAddress */
				_offset35 = _jumpTarget11 - ((sqInt) (((self_in_dispatchConcretize->address)) + 2) );
				/* end computeJumpTargetOffsetPlus: */
				if (((((self_in_dispatchConcretize->machineCodeSize)) == 0)
					 ? isQuick(self_in_dispatchConcretize, _offset35)
					 : ((self_in_dispatchConcretize->machineCodeSize)) == 2)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 112 + 3;
						(self_in_dispatchConcretize->machineCode)[1] = _offset35 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 2;
					goto l125;
				}
				/* begin concretizeConditionalJumpLong: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget228 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget228);
				if ((addressIsInInstructions(_jumpTarget228)) || (_jumpTarget228 == (methodLabel()))) {
					_jumpTarget228 = ((AbstractInstruction *) ((_jumpTarget228->address)) );
				}
				assert(_jumpTarget228 != 0);
				_jumpTarget38 = ((sqInt) _jumpTarget228 );
				/* end jumpTargetAddress */
				_offset215 = _jumpTarget38 - ((sqInt) (((self_in_dispatchConcretize->address)) + 6) );
				/* end computeJumpTargetOffsetPlus: */
				{
					(self_in_dispatchConcretize->machineCode)[0] = 15;
					(self_in_dispatchConcretize->machineCode)[1] = 128 + 3;
					(self_in_dispatchConcretize->machineCode)[2] = _offset215 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset215 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset215 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset215 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 6;
				/* end concretizeConditionalJumpLong: */
				l125:
				;
				/* end concretizeConditionalJump: */
				return;
			}
		}
		break;
		case JumpLess:
		{
			{
				/* begin concretizeConditionalJump: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget211 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget211);
				if ((addressIsInInstructions(_jumpTarget211)) || (_jumpTarget211 == (methodLabel()))) {
					_jumpTarget211 = ((AbstractInstruction *) ((_jumpTarget211->address)) );
				}
				assert(_jumpTarget211 != 0);
				_jumpTarget12 = ((sqInt) _jumpTarget211 );
				/* end jumpTargetAddress */
				_offset36 = _jumpTarget12 - ((sqInt) (((self_in_dispatchConcretize->address)) + 2) );
				/* end computeJumpTargetOffsetPlus: */
				if (((((self_in_dispatchConcretize->machineCodeSize)) == 0)
					 ? isQuick(self_in_dispatchConcretize, _offset36)
					 : ((self_in_dispatchConcretize->machineCodeSize)) == 2)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 112 + 12;
						(self_in_dispatchConcretize->machineCode)[1] = _offset36 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 2;
					goto l130;
				}
				/* begin concretizeConditionalJumpLong: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget229 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget229);
				if ((addressIsInInstructions(_jumpTarget229)) || (_jumpTarget229 == (methodLabel()))) {
					_jumpTarget229 = ((AbstractInstruction *) ((_jumpTarget229->address)) );
				}
				assert(_jumpTarget229 != 0);
				_jumpTarget39 = ((sqInt) _jumpTarget229 );
				/* end jumpTargetAddress */
				_offset216 = _jumpTarget39 - ((sqInt) (((self_in_dispatchConcretize->address)) + 6) );
				/* end computeJumpTargetOffsetPlus: */
				{
					(self_in_dispatchConcretize->machineCode)[0] = 15;
					(self_in_dispatchConcretize->machineCode)[1] = 128 + 12;
					(self_in_dispatchConcretize->machineCode)[2] = _offset216 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset216 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset216 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset216 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 6;
				/* end concretizeConditionalJumpLong: */
				l130:
				;
				/* end concretizeConditionalJump: */
				return;
			}
		}
		break;
		case JumpGreaterOrEqual:
		{
			{
				/* begin concretizeConditionalJump: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget212 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget212);
				if ((addressIsInInstructions(_jumpTarget212)) || (_jumpTarget212 == (methodLabel()))) {
					_jumpTarget212 = ((AbstractInstruction *) ((_jumpTarget212->address)) );
				}
				assert(_jumpTarget212 != 0);
				_jumpTarget13 = ((sqInt) _jumpTarget212 );
				/* end jumpTargetAddress */
				_offset37 = _jumpTarget13 - ((sqInt) (((self_in_dispatchConcretize->address)) + 2) );
				/* end computeJumpTargetOffsetPlus: */
				if (((((self_in_dispatchConcretize->machineCodeSize)) == 0)
					 ? isQuick(self_in_dispatchConcretize, _offset37)
					 : ((self_in_dispatchConcretize->machineCodeSize)) == 2)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 112 + 13;
						(self_in_dispatchConcretize->machineCode)[1] = _offset37 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 2;
					goto l135;
				}
				/* begin concretizeConditionalJumpLong: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget2210 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget2210);
				if ((addressIsInInstructions(_jumpTarget2210)) || (_jumpTarget2210 == (methodLabel()))) {
					_jumpTarget2210 = ((AbstractInstruction *) ((_jumpTarget2210->address)) );
				}
				assert(_jumpTarget2210 != 0);
				_jumpTarget310 = ((sqInt) _jumpTarget2210 );
				/* end jumpTargetAddress */
				_offset217 = _jumpTarget310 - ((sqInt) (((self_in_dispatchConcretize->address)) + 6) );
				/* end computeJumpTargetOffsetPlus: */
				{
					(self_in_dispatchConcretize->machineCode)[0] = 15;
					(self_in_dispatchConcretize->machineCode)[1] = 128 + 13;
					(self_in_dispatchConcretize->machineCode)[2] = _offset217 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset217 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset217 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset217 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 6;
				/* end concretizeConditionalJumpLong: */
				l135:
				;
				/* end concretizeConditionalJump: */
				return;
			}
		}
		break;
		case JumpGreater:
		{
			{
				/* begin concretizeConditionalJump: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget213 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget213);
				if ((addressIsInInstructions(_jumpTarget213)) || (_jumpTarget213 == (methodLabel()))) {
					_jumpTarget213 = ((AbstractInstruction *) ((_jumpTarget213->address)) );
				}
				assert(_jumpTarget213 != 0);
				_jumpTarget14 = ((sqInt) _jumpTarget213 );
				/* end jumpTargetAddress */
				_offset38 = _jumpTarget14 - ((sqInt) (((self_in_dispatchConcretize->address)) + 2) );
				/* end computeJumpTargetOffsetPlus: */
				if (((((self_in_dispatchConcretize->machineCodeSize)) == 0)
					 ? isQuick(self_in_dispatchConcretize, _offset38)
					 : ((self_in_dispatchConcretize->machineCodeSize)) == 2)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 112 + 15;
						(self_in_dispatchConcretize->machineCode)[1] = _offset38 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 2;
					goto l140;
				}
				/* begin concretizeConditionalJumpLong: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget2211 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget2211);
				if ((addressIsInInstructions(_jumpTarget2211)) || (_jumpTarget2211 == (methodLabel()))) {
					_jumpTarget2211 = ((AbstractInstruction *) ((_jumpTarget2211->address)) );
				}
				assert(_jumpTarget2211 != 0);
				_jumpTarget311 = ((sqInt) _jumpTarget2211 );
				/* end jumpTargetAddress */
				_offset218 = _jumpTarget311 - ((sqInt) (((self_in_dispatchConcretize->address)) + 6) );
				/* end computeJumpTargetOffsetPlus: */
				{
					(self_in_dispatchConcretize->machineCode)[0] = 15;
					(self_in_dispatchConcretize->machineCode)[1] = 128 + 15;
					(self_in_dispatchConcretize->machineCode)[2] = _offset218 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset218 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset218 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset218 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 6;
				/* end concretizeConditionalJumpLong: */
				l140:
				;
				/* end concretizeConditionalJump: */
				return;
			}
		}
		break;
		case JumpLessOrEqual:
		{
			{
				/* begin concretizeConditionalJump: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget214 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget214);
				if ((addressIsInInstructions(_jumpTarget214)) || (_jumpTarget214 == (methodLabel()))) {
					_jumpTarget214 = ((AbstractInstruction *) ((_jumpTarget214->address)) );
				}
				assert(_jumpTarget214 != 0);
				_jumpTarget15 = ((sqInt) _jumpTarget214 );
				/* end jumpTargetAddress */
				_offset39 = _jumpTarget15 - ((sqInt) (((self_in_dispatchConcretize->address)) + 2) );
				/* end computeJumpTargetOffsetPlus: */
				if (((((self_in_dispatchConcretize->machineCodeSize)) == 0)
					 ? isQuick(self_in_dispatchConcretize, _offset39)
					 : ((self_in_dispatchConcretize->machineCodeSize)) == 2)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 112 + 14;
						(self_in_dispatchConcretize->machineCode)[1] = _offset39 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 2;
					goto l145;
				}
				/* begin concretizeConditionalJumpLong: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget2212 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget2212);
				if ((addressIsInInstructions(_jumpTarget2212)) || (_jumpTarget2212 == (methodLabel()))) {
					_jumpTarget2212 = ((AbstractInstruction *) ((_jumpTarget2212->address)) );
				}
				assert(_jumpTarget2212 != 0);
				_jumpTarget312 = ((sqInt) _jumpTarget2212 );
				/* end jumpTargetAddress */
				_offset219 = _jumpTarget312 - ((sqInt) (((self_in_dispatchConcretize->address)) + 6) );
				/* end computeJumpTargetOffsetPlus: */
				{
					(self_in_dispatchConcretize->machineCode)[0] = 15;
					(self_in_dispatchConcretize->machineCode)[1] = 128 + 14;
					(self_in_dispatchConcretize->machineCode)[2] = _offset219 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset219 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset219 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset219 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 6;
				/* end concretizeConditionalJumpLong: */
				l145:
				;
				/* end concretizeConditionalJump: */
				return;
			}
		}
		break;
		case JumpAbove:
		case JumpFPGreater:
		{
			{
				/* begin concretizeConditionalJump: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget215 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget215);
				if ((addressIsInInstructions(_jumpTarget215)) || (_jumpTarget215 == (methodLabel()))) {
					_jumpTarget215 = ((AbstractInstruction *) ((_jumpTarget215->address)) );
				}
				assert(_jumpTarget215 != 0);
				_jumpTarget16 = ((sqInt) _jumpTarget215 );
				/* end jumpTargetAddress */
				_offset40 = _jumpTarget16 - ((sqInt) (((self_in_dispatchConcretize->address)) + 2) );
				/* end computeJumpTargetOffsetPlus: */
				if (((((self_in_dispatchConcretize->machineCodeSize)) == 0)
					 ? isQuick(self_in_dispatchConcretize, _offset40)
					 : ((self_in_dispatchConcretize->machineCodeSize)) == 2)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 112 + 7;
						(self_in_dispatchConcretize->machineCode)[1] = _offset40 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 2;
					goto l150;
				}
				/* begin concretizeConditionalJumpLong: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget2213 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget2213);
				if ((addressIsInInstructions(_jumpTarget2213)) || (_jumpTarget2213 == (methodLabel()))) {
					_jumpTarget2213 = ((AbstractInstruction *) ((_jumpTarget2213->address)) );
				}
				assert(_jumpTarget2213 != 0);
				_jumpTarget313 = ((sqInt) _jumpTarget2213 );
				/* end jumpTargetAddress */
				_offset220 = _jumpTarget313 - ((sqInt) (((self_in_dispatchConcretize->address)) + 6) );
				/* end computeJumpTargetOffsetPlus: */
				{
					(self_in_dispatchConcretize->machineCode)[0] = 15;
					(self_in_dispatchConcretize->machineCode)[1] = 128 + 7;
					(self_in_dispatchConcretize->machineCode)[2] = _offset220 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset220 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset220 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset220 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 6;
				/* end concretizeConditionalJumpLong: */
				l150:
				;
				/* end concretizeConditionalJump: */
				return;
			}
		}
		break;
		case JumpBelowOrEqual:
		case JumpFPLessOrEqual:
		{
			{
				/* begin concretizeConditionalJump: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget216 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget216);
				if ((addressIsInInstructions(_jumpTarget216)) || (_jumpTarget216 == (methodLabel()))) {
					_jumpTarget216 = ((AbstractInstruction *) ((_jumpTarget216->address)) );
				}
				assert(_jumpTarget216 != 0);
				_jumpTarget17 = ((sqInt) _jumpTarget216 );
				/* end jumpTargetAddress */
				_offset41 = _jumpTarget17 - ((sqInt) (((self_in_dispatchConcretize->address)) + 2) );
				/* end computeJumpTargetOffsetPlus: */
				if (((((self_in_dispatchConcretize->machineCodeSize)) == 0)
					 ? isQuick(self_in_dispatchConcretize, _offset41)
					 : ((self_in_dispatchConcretize->machineCodeSize)) == 2)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 112 + 6;
						(self_in_dispatchConcretize->machineCode)[1] = _offset41 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 2;
					goto l155;
				}
				/* begin concretizeConditionalJumpLong: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget2214 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget2214);
				if ((addressIsInInstructions(_jumpTarget2214)) || (_jumpTarget2214 == (methodLabel()))) {
					_jumpTarget2214 = ((AbstractInstruction *) ((_jumpTarget2214->address)) );
				}
				assert(_jumpTarget2214 != 0);
				_jumpTarget314 = ((sqInt) _jumpTarget2214 );
				/* end jumpTargetAddress */
				_offset221 = _jumpTarget314 - ((sqInt) (((self_in_dispatchConcretize->address)) + 6) );
				/* end computeJumpTargetOffsetPlus: */
				{
					(self_in_dispatchConcretize->machineCode)[0] = 15;
					(self_in_dispatchConcretize->machineCode)[1] = 128 + 6;
					(self_in_dispatchConcretize->machineCode)[2] = _offset221 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset221 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset221 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset221 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 6;
				/* end concretizeConditionalJumpLong: */
				l155:
				;
				/* end concretizeConditionalJump: */
				return;
			}
		}
		break;
		case JumpFPOrdered:
		{
			{
				/* begin concretizeConditionalJump: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget217 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget217);
				if ((addressIsInInstructions(_jumpTarget217)) || (_jumpTarget217 == (methodLabel()))) {
					_jumpTarget217 = ((AbstractInstruction *) ((_jumpTarget217->address)) );
				}
				assert(_jumpTarget217 != 0);
				_jumpTarget18 = ((sqInt) _jumpTarget217 );
				/* end jumpTargetAddress */
				_offset42 = _jumpTarget18 - ((sqInt) (((self_in_dispatchConcretize->address)) + 2) );
				/* end computeJumpTargetOffsetPlus: */
				if (((((self_in_dispatchConcretize->machineCodeSize)) == 0)
					 ? isQuick(self_in_dispatchConcretize, _offset42)
					 : ((self_in_dispatchConcretize->machineCodeSize)) == 2)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 112 + 11;
						(self_in_dispatchConcretize->machineCode)[1] = _offset42 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 2;
					goto l160;
				}
				/* begin concretizeConditionalJumpLong: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget2215 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget2215);
				if ((addressIsInInstructions(_jumpTarget2215)) || (_jumpTarget2215 == (methodLabel()))) {
					_jumpTarget2215 = ((AbstractInstruction *) ((_jumpTarget2215->address)) );
				}
				assert(_jumpTarget2215 != 0);
				_jumpTarget315 = ((sqInt) _jumpTarget2215 );
				/* end jumpTargetAddress */
				_offset222 = _jumpTarget315 - ((sqInt) (((self_in_dispatchConcretize->address)) + 6) );
				/* end computeJumpTargetOffsetPlus: */
				{
					(self_in_dispatchConcretize->machineCode)[0] = 15;
					(self_in_dispatchConcretize->machineCode)[1] = 128 + 11;
					(self_in_dispatchConcretize->machineCode)[2] = _offset222 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset222 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset222 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset222 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 6;
				/* end concretizeConditionalJumpLong: */
				l160:
				;
				/* end concretizeConditionalJump: */
				return;
			}
		}
		break;
		case JumpFPUnordered:
		{
			{
				/* begin concretizeConditionalJump: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget218 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget218);
				if ((addressIsInInstructions(_jumpTarget218)) || (_jumpTarget218 == (methodLabel()))) {
					_jumpTarget218 = ((AbstractInstruction *) ((_jumpTarget218->address)) );
				}
				assert(_jumpTarget218 != 0);
				_jumpTarget19 = ((sqInt) _jumpTarget218 );
				/* end jumpTargetAddress */
				_offset43 = _jumpTarget19 - ((sqInt) (((self_in_dispatchConcretize->address)) + 2) );
				/* end computeJumpTargetOffsetPlus: */
				if (((((self_in_dispatchConcretize->machineCodeSize)) == 0)
					 ? isQuick(self_in_dispatchConcretize, _offset43)
					 : ((self_in_dispatchConcretize->machineCodeSize)) == 2)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 112 + 10;
						(self_in_dispatchConcretize->machineCode)[1] = _offset43 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 2;
					goto l165;
				}
				/* begin concretizeConditionalJumpLong: */
				/* begin computeJumpTargetOffsetPlus: */
				/* begin jumpTargetAddress */
				_jumpTarget2216 = ((AbstractInstruction *) ((self_in_dispatchConcretize->operands)[0]) );
				assertSaneJumpTarget(_jumpTarget2216);
				if ((addressIsInInstructions(_jumpTarget2216)) || (_jumpTarget2216 == (methodLabel()))) {
					_jumpTarget2216 = ((AbstractInstruction *) ((_jumpTarget2216->address)) );
				}
				assert(_jumpTarget2216 != 0);
				_jumpTarget316 = ((sqInt) _jumpTarget2216 );
				/* end jumpTargetAddress */
				_offset223 = _jumpTarget316 - ((sqInt) (((self_in_dispatchConcretize->address)) + 6) );
				/* end computeJumpTargetOffsetPlus: */
				{
					(self_in_dispatchConcretize->machineCode)[0] = 15;
					(self_in_dispatchConcretize->machineCode)[1] = 128 + 10;
					(self_in_dispatchConcretize->machineCode)[2] = _offset223 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _offset223 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset223 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset223 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 6;
				/* end concretizeConditionalJumpLong: */
				l165:
				;
				/* end concretizeConditionalJump: */
				return;
			}
		}
		break;
		case RetN:
		{
			{
				/* begin concretizeRetN */
				_offset4 = (self_in_dispatchConcretize->operands)[0];
				if (_offset4 == 0) {
					(self_in_dispatchConcretize->machineCode)[0] = 195;
					(self_in_dispatchConcretize->machineCodeSize) = 1;
					goto l12;
				}
				{
					(self_in_dispatchConcretize->machineCode)[0] = 194;
					(self_in_dispatchConcretize->machineCode)[1] = _offset4 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[2] = ((usqInt) _offset4 ) >> 8;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 3;
				l12:
				;
				/* end concretizeRetN */
				return;
			}
		}
		break;
		case Stop:
		{
			{
				/* begin concretizeStop */
				(self_in_dispatchConcretize->machineCode)[0] = 204;
				(self_in_dispatchConcretize->machineCodeSize) = 1;
				/* end concretizeStop */
				return;
			}
		}
		break;
		case AddCqR:
		{
			{
				concretizeArithCqRWithROraxOpcode(self_in_dispatchConcretize, 0, 5);
				return;
			}
		}
		break;
		case AddcCqR:
		{
			{
				concretizeArithCqRWithROraxOpcode(self_in_dispatchConcretize, 2, 20);
				return;
			}
		}
		break;
		case AddCwR:
		{
			{
				concretizeArithCwR(self_in_dispatchConcretize, 3);
				return;
			}
		}
		break;
		case AddRR:
		{
			{
				concretizeOpRR(self_in_dispatchConcretize, 3);
				return;
			}
		}
		break;
		case AddRsRs:
		{
			{
				/* begin concretizeSEEOpRsRs: */
				_regRHS = (self_in_dispatchConcretize->operands)[0];
				_regLHS = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = 243;
				if ((_regLHS <= 7) && (_regRHS <= 7)) {
					_skip = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _regLHS, 0, _regRHS);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip + 2] = 88;
					(self_in_dispatchConcretize->machineCode)[_skip + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _regRHS, _regLHS);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip + 4;
				/* end concretizeSEEOpRsRs: */
				return;
			}
		}
		break;
		case AddRdRd:
		{
			{
				/* begin concretizeSEE2OpRdRd: */
				_regRHS2 = (self_in_dispatchConcretize->operands)[0];
				_regLHS2 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = 242;
				if ((_regLHS2 <= 7) && (_regRHS2 <= 7)) {
					_skip2 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip2 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _regLHS2, 0, _regRHS2);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip2 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip2 + 2] = 88;
					(self_in_dispatchConcretize->machineCode)[_skip2 + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _regRHS2, _regLHS2);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip2 + 4;
				/* end concretizeSEE2OpRdRd: */
				return;
			}
		}
		break;
		case AndCqR:
		{
			{
				concretizeArithCqRWithROraxOpcode(self_in_dispatchConcretize, 4, 37);
				return;
			}
		}
		break;
		case AndCwR:
		{
			{
				concretizeArithCwR(self_in_dispatchConcretize, 35);
				return;
			}
		}
		break;
		case AndRR:
		{
			{
				concretizeOpRR(self_in_dispatchConcretize, 35);
				return;
			}
		}
		break;
		case TstCqR:
		{
			{
				/* begin concretizeTstCqR */
				_value = (self_in_dispatchConcretize->operands)[0];
				_reg3 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg3);
				if (isQuick(self_in_dispatchConcretize, _value)) {
					{
						(self_in_dispatchConcretize->machineCode)[1] = 246;
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _reg3, 0);
						(self_in_dispatchConcretize->machineCode)[3] = _value & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 4;
					goto l16;
				}
				if (is32BitSignedImmediate(self_in_dispatchConcretize, _value)) {
					if (_reg3 == RAX) {
						{
							(self_in_dispatchConcretize->machineCode)[1] = 169;
							(self_in_dispatchConcretize->machineCode)[2] = _value & 0xFF;
							(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _value ) >> 8) & 0xFF;
							(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _value ) >> 16) & 0xFF;
							(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _value ) >> 24) & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = 6;
						goto l16;
					}
					{
						(self_in_dispatchConcretize->machineCode)[1] = 247;
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _reg3, 0);
						(self_in_dispatchConcretize->machineCode)[3] = _value & 0xFF;
						(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _value ) >> 8) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _value ) >> 16) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _value ) >> 24) & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 7;
					goto l16;
				}
				concretizeArithCwR(self_in_dispatchConcretize, 133);
				l16:
				;
				/* end concretizeTstCqR */
				return;
			}
		}
		break;
		case CmpCqR:
		{
			{
				concretizeArithCqRWithROraxOpcode(self_in_dispatchConcretize, 7, 61);
				return;
			}
		}
		break;
		case CmpCwR:
		{
			{
				concretizeArithCwR(self_in_dispatchConcretize, 57);
				return;
			}
		}
		break;
		case CmpC32R:
		{
			{
				/* begin concretizeCmpC32R */
				_value2 = (self_in_dispatchConcretize->operands)[0];
				_reg4 = (self_in_dispatchConcretize->operands)[1];
				if (_reg4 == RAX) {
					(self_in_dispatchConcretize->machineCode)[0] = 61;
					_skip3 = 0;
				} else {
					if (_reg4 > 7) {
						(self_in_dispatchConcretize->machineCode)[0] = 65;
						_skip3 = 2;
					} else {
						_skip3 = 1;
					}
					(self_in_dispatchConcretize->machineCode)[_skip3 - 1] = 129;
					(self_in_dispatchConcretize->machineCode)[_skip3] = modRMRO(self_in_dispatchConcretize, ModReg, _reg4, 7);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip3 + 1] = _value2 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip3 + 2] = (((usqInt) _value2 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip3 + 3] = (((usqInt) _value2 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip3 + 4] = (((usqInt) _value2 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 5 + _skip3;
				/* end concretizeCmpC32R */
				return;
			}
		}
		break;
		case CmpRR:
		{
			{
				concretizeReverseOpRR(self_in_dispatchConcretize, 57);
				return;
			}
		}
		break;
		case CmpRdRd:
		{
			{
				/* begin concretizeCmpRdRd */
				_regRHS3 = (self_in_dispatchConcretize->operands)[0];
				_regLHS3 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = 102;
				if ((_regLHS3 <= 7) && (_regRHS3 <= 7)) {
					_skip4 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip4 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _regLHS3, 0, _regRHS3);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip4 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip4 + 2] = 46;
					(self_in_dispatchConcretize->machineCode)[_skip4 + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _regRHS3, _regLHS3);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip4 + 4;
				/* end concretizeCmpRdRd */
				return;
			}
		}
		break;
		case CmpRsRs:
		{
			{
				/* begin concretizeCmpRsRs */
				_regRHS4 = (self_in_dispatchConcretize->operands)[0];
				_regLHS4 = (self_in_dispatchConcretize->operands)[1];
				if ((_regLHS4 <= 7) && (_regRHS4 <= 7)) {
					_skip5 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip5 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _regLHS4, 0, _regRHS4);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip5] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip5 + 1] = 46;
					(self_in_dispatchConcretize->machineCode)[_skip5 + 2] = modRMRO(self_in_dispatchConcretize, ModReg, _regRHS4, _regLHS4);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip5 + 3;
				/* end concretizeCmpRsRs */
				return;
			}
		}
		break;
		case DivRdRd:
		{
			{
				/* begin concretizeSEE2OpRdRd: */
				_regRHS5 = (self_in_dispatchConcretize->operands)[0];
				_regLHS5 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = 242;
				if ((_regLHS5 <= 7) && (_regRHS5 <= 7)) {
					_skip6 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip6 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _regLHS5, 0, _regRHS5);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip6 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip6 + 2] = 94;
					(self_in_dispatchConcretize->machineCode)[_skip6 + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _regRHS5, _regLHS5);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip6 + 4;
				/* end concretizeSEE2OpRdRd: */
				return;
			}
		}
		break;
		case DivRsRs:
		{
			{
				/* begin concretizeSEEOpRsRs: */
				_regRHS6 = (self_in_dispatchConcretize->operands)[0];
				_regLHS6 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = 243;
				if ((_regLHS6 <= 7) && (_regRHS6 <= 7)) {
					_skip7 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip7 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _regLHS6, 0, _regRHS6);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip7 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip7 + 2] = 94;
					(self_in_dispatchConcretize->machineCode)[_skip7 + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _regRHS6, _regLHS6);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip7 + 4;
				/* end concretizeSEEOpRsRs: */
				return;
			}
		}
		break;
		case MulRdRd:
		{
			{
				/* begin concretizeSEE2OpRdRd: */
				_regRHS7 = (self_in_dispatchConcretize->operands)[0];
				_regLHS7 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = 242;
				if ((_regLHS7 <= 7) && (_regRHS7 <= 7)) {
					_skip8 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip8 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _regLHS7, 0, _regRHS7);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip8 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip8 + 2] = 89;
					(self_in_dispatchConcretize->machineCode)[_skip8 + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _regRHS7, _regLHS7);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip8 + 4;
				/* end concretizeSEE2OpRdRd: */
				return;
			}
		}
		break;
		case MulRsRs:
		{
			{
				/* begin concretizeSEEOpRsRs: */
				_regRHS8 = (self_in_dispatchConcretize->operands)[0];
				_regLHS8 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = 243;
				if ((_regLHS8 <= 7) && (_regRHS8 <= 7)) {
					_skip9 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip9 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _regLHS8, 0, _regRHS8);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip9 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip9 + 2] = 89;
					(self_in_dispatchConcretize->machineCode)[_skip9 + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _regRHS8, _regLHS8);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip9 + 4;
				/* end concretizeSEEOpRsRs: */
				return;
			}
		}
		break;
		case OrCqR:
		{
			{
				concretizeArithCqRWithROraxOpcode(self_in_dispatchConcretize, 1, 13);
				return;
			}
		}
		break;
		case OrCwR:
		{
			{
				concretizeArithCwR(self_in_dispatchConcretize, 11);
				return;
			}
		}
		break;
		case OrRR:
		{
			{
				concretizeOpRR(self_in_dispatchConcretize, 11);
				return;
			}
		}
		break;
		case SubCqR:
		{
			{
				concretizeArithCqRWithROraxOpcode(self_in_dispatchConcretize, 5, 45);
				return;
			}
		}
		break;
		case SubbCqR:
		{
			{
				concretizeArithCqRWithROraxOpcode(self_in_dispatchConcretize, 3, 29);
				return;
			}
		}
		break;
		case SubCwR:
		{
			{
				concretizeArithCwR(self_in_dispatchConcretize, 43);
				return;
			}
		}
		break;
		case SubRR:
		{
			{
				concretizeOpRR(self_in_dispatchConcretize, 43);
				return;
			}
		}
		break;
		case SubRdRd:
		{
			{
				/* begin concretizeSEE2OpRdRd: */
				_regRHS9 = (self_in_dispatchConcretize->operands)[0];
				_regLHS9 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = 242;
				if ((_regLHS9 <= 7) && (_regRHS9 <= 7)) {
					_skip10 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip10 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _regLHS9, 0, _regRHS9);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip10 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip10 + 2] = 92;
					(self_in_dispatchConcretize->machineCode)[_skip10 + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _regRHS9, _regLHS9);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip10 + 4;
				/* end concretizeSEE2OpRdRd: */
				return;
			}
		}
		break;
		case SubRsRs:
		{
			{
				/* begin concretizeSEEOpRsRs: */
				_regRHS10 = (self_in_dispatchConcretize->operands)[0];
				_regLHS10 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = 243;
				if ((_regLHS10 <= 7) && (_regRHS10 <= 7)) {
					_skip11 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip11 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _regLHS10, 0, _regRHS10);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip11 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip11 + 2] = 92;
					(self_in_dispatchConcretize->machineCode)[_skip11 + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _regRHS10, _regLHS10);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip11 + 4;
				/* end concretizeSEEOpRsRs: */
				return;
			}
		}
		break;
		case SqrtRd:
		{
			{
				/* begin concretizeSqrtRd */
				_reg5 = (self_in_dispatchConcretize->operands)[0];
				(self_in_dispatchConcretize->machineCode)[0] = 242;
				if (_reg5 <= 7) {
					_skip12 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip12 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _reg5, 0, _reg5);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip12 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip12 + 2] = 81;
					(self_in_dispatchConcretize->machineCode)[_skip12 + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _reg5, _reg5);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip12 + 4;
				/* end concretizeSqrtRd */
				return;
			}
		}
		break;
		case SqrtRs:
		{
			{
				/* begin concretizeSqrtRs */
				_reg6 = (self_in_dispatchConcretize->operands)[0];
				(self_in_dispatchConcretize->machineCode)[0] = 243;
				if (_reg6 <= 7) {
					_skip13 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip13 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _reg6, 0, _reg6);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip13 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip13 + 2] = 81;
					(self_in_dispatchConcretize->machineCode)[_skip13 + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _reg6, _reg6);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip13 + 4;
				/* end concretizeSqrtRs */
				return;
			}
		}
		break;
		case XorCwR:
		{
			{
				concretizeArithCwR(self_in_dispatchConcretize, 51);
				return;
			}
		}
		break;
		case XorRR:
		{
			{
				concretizeOpRR(self_in_dispatchConcretize, 51);
				return;
			}
		}
		break;
		case XorRdRd:
		{
			{
				/* begin concretizeXorRdRd */
				_regRHS11 = (self_in_dispatchConcretize->operands)[0];
				_regLHS11 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = 102;
				if ((_regLHS11 <= 7) && (_regRHS11 <= 7)) {
					_skip14 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip14 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _regLHS11, 0, _regRHS11);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip14 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip14 + 2] = 87;
					(self_in_dispatchConcretize->machineCode)[_skip14 + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _regRHS11, _regLHS11);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip14 + 4;
				/* end concretizeXorRdRd */
				return;
			}
		}
		break;
		case XorRsRs:
		{
			{
				/* begin concretizeXorRsRs */
				_regRHS12 = (self_in_dispatchConcretize->operands)[0];
				_regLHS12 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = 15;
				if ((_regLHS12 <= 7) && (_regRHS12 <= 7)) {
					_skip15 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip15 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _regLHS12, 0, _regRHS12);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip15 + 1] = 87;
					(self_in_dispatchConcretize->machineCode)[_skip15 + 2] = modRMRO(self_in_dispatchConcretize, ModReg, _regRHS12, _regLHS12);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip15 + 3;
				/* end concretizeXorRsRs */
				return;
			}
		}
		break;
		case NegateR:
		{
			{
				/* begin concretizeNegateR */
				_reg7 = (self_in_dispatchConcretize->operands)[0];
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg7);
					(self_in_dispatchConcretize->machineCode)[1] = 247;
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _reg7, 3);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 3;
				/* end concretizeNegateR */
				return;
			}
		}
		break;
		case LoadEffectiveAddressMwrR:
		{
			{
				/* begin concretizeLoadEffectiveAddressMwrR */
				_offset5 = (self_in_dispatchConcretize->operands)[0];
				_srcReg = (self_in_dispatchConcretize->operands)[1];
				_destReg = (self_in_dispatchConcretize->operands)[2];
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, _destReg, 0, _srcReg);
					(self_in_dispatchConcretize->machineCode)[1] = 141;
				}
				if ((_srcReg != RSP) && (_srcReg != R12)) {
					if (isQuick(self_in_dispatchConcretize, _offset5)) {
						{
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _srcReg, _destReg);
							(self_in_dispatchConcretize->machineCode)[3] = _offset5 & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = 4;
						goto l31;
					}
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _srcReg, _destReg);
						(self_in_dispatchConcretize->machineCode)[3] = _offset5 & 0xFF;
						(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset5 ) >> 8) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset5 ) >> 16) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset5 ) >> 24) & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 7;
					goto l31;
				}
				if (isQuick(self_in_dispatchConcretize, _offset5)) {
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _srcReg, _destReg);
						(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg);
						(self_in_dispatchConcretize->machineCode)[4] = _offset5 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 5;
					goto l31;
				}
				{
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _srcReg, _destReg);
					(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg);
					(self_in_dispatchConcretize->machineCode)[4] = _offset5 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset5 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset5 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[7] = (((usqInt) _offset5 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 8;
				l31:
				;
				/* end concretizeLoadEffectiveAddressMwrR */
				return;
			}
		}
		break;
		case RotateLeftCqR:
		{
			{
				/* begin concretizeShiftCqRegOpcode: */
				_distance = (self_in_dispatchConcretize->operands)[0];
				assert((_distance >= 1) && (_distance <= 0x3F));
				_reg8 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg8);
				if (_distance == 1) {
					{
						(self_in_dispatchConcretize->machineCode)[1] = 209;
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _reg8, 0);
					}
					(self_in_dispatchConcretize->machineCodeSize) = 3;
					goto l32;
				}
				{
					(self_in_dispatchConcretize->machineCode)[1] = 193;
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _reg8, 0);
					(self_in_dispatchConcretize->machineCode)[3] = _distance;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 4;
				l32:
				;
				/* end concretizeShiftCqRegOpcode: */
				return;
			}
		}
		break;
		case RotateRightCqR:
		{
			{
				/* begin concretizeShiftCqRegOpcode: */
				_distance2 = (self_in_dispatchConcretize->operands)[0];
				assert((_distance2 >= 1) && (_distance2 <= 0x3F));
				_reg9 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg9);
				if (_distance2 == 1) {
					{
						(self_in_dispatchConcretize->machineCode)[1] = 209;
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _reg9, 1);
					}
					(self_in_dispatchConcretize->machineCodeSize) = 3;
					goto l33;
				}
				{
					(self_in_dispatchConcretize->machineCode)[1] = 193;
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _reg9, 1);
					(self_in_dispatchConcretize->machineCode)[3] = _distance2;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 4;
				l33:
				;
				/* end concretizeShiftCqRegOpcode: */
				return;
			}
		}
		break;
		case ArithmeticShiftRightCqR:
		{
			{
				/* begin concretizeShiftCqRegOpcode: */
				_distance3 = (self_in_dispatchConcretize->operands)[0];
				assert((_distance3 >= 1) && (_distance3 <= 0x3F));
				_reg10 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg10);
				if (_distance3 == 1) {
					{
						(self_in_dispatchConcretize->machineCode)[1] = 209;
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _reg10, 7);
					}
					(self_in_dispatchConcretize->machineCodeSize) = 3;
					goto l34;
				}
				{
					(self_in_dispatchConcretize->machineCode)[1] = 193;
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _reg10, 7);
					(self_in_dispatchConcretize->machineCode)[3] = _distance3;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 4;
				l34:
				;
				/* end concretizeShiftCqRegOpcode: */
				return;
			}
		}
		break;
		case LogicalShiftRightCqR:
		{
			{
				/* begin concretizeShiftCqRegOpcode: */
				_distance4 = (self_in_dispatchConcretize->operands)[0];
				assert((_distance4 >= 1) && (_distance4 <= 0x3F));
				_reg11 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg11);
				if (_distance4 == 1) {
					{
						(self_in_dispatchConcretize->machineCode)[1] = 209;
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _reg11, 5);
					}
					(self_in_dispatchConcretize->machineCodeSize) = 3;
					goto l35;
				}
				{
					(self_in_dispatchConcretize->machineCode)[1] = 193;
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _reg11, 5);
					(self_in_dispatchConcretize->machineCode)[3] = _distance4;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 4;
				l35:
				;
				/* end concretizeShiftCqRegOpcode: */
				return;
			}
		}
		break;
		case LogicalShiftLeftCqR:
		{
			{
				/* begin concretizeShiftCqRegOpcode: */
				_distance5 = (self_in_dispatchConcretize->operands)[0];
				assert((_distance5 >= 1) && (_distance5 <= 0x3F));
				_reg12 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg12);
				if (_distance5 == 1) {
					{
						(self_in_dispatchConcretize->machineCode)[1] = 209;
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _reg12, 4);
					}
					(self_in_dispatchConcretize->machineCodeSize) = 3;
					goto l36;
				}
				{
					(self_in_dispatchConcretize->machineCode)[1] = 193;
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _reg12, 4);
					(self_in_dispatchConcretize->machineCode)[3] = _distance5;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 4;
				l36:
				;
				/* end concretizeShiftCqRegOpcode: */
				return;
			}
		}
		break;
		case ArithmeticShiftRightRR:
		{
			{
				/* begin concretizeShiftRegRegOpcode: */
				_shiftCountReg = (self_in_dispatchConcretize->operands)[0];
				_destReg2 = (self_in_dispatchConcretize->operands)[1];
				if (_shiftCountReg == RCX) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _destReg2);
						(self_in_dispatchConcretize->machineCode)[1] = 211;
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _destReg2, 7);
					}
					(self_in_dispatchConcretize->machineCodeSize) = 3;
					goto l37;
				}
				if (_destReg2 == _shiftCountReg) {
					_regToShift = RCX;
				} else {
					_regToShift = ((_destReg2 == RCX)
						 ? _shiftCountReg
						 : _destReg2);
				}
				if (_shiftCountReg == RAX) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 72;
						(self_in_dispatchConcretize->machineCode)[1] = 144 + RCX;
						(self_in_dispatchConcretize->machineCode)[2] = rexRxb(self_in_dispatchConcretize, 0, 0, _regToShift);
						(self_in_dispatchConcretize->machineCode)[3] = 211;
						(self_in_dispatchConcretize->machineCode)[4] = modRMRO(self_in_dispatchConcretize, ModReg, _regToShift, 7);
						(self_in_dispatchConcretize->machineCode)[5] = 72;
						(self_in_dispatchConcretize->machineCode)[6] = 144 + RCX;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 7;
					goto l37;
				}
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, _shiftCountReg, 0, RCX);
					(self_in_dispatchConcretize->machineCode)[1] = 135;
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, RCX, _shiftCountReg);
					(self_in_dispatchConcretize->machineCode)[3] = rexRxb(self_in_dispatchConcretize, 0, 0, _regToShift);
					(self_in_dispatchConcretize->machineCode)[4] = 211;
					(self_in_dispatchConcretize->machineCode)[5] = modRMRO(self_in_dispatchConcretize, ModReg, _regToShift, 7);
					(self_in_dispatchConcretize->machineCode)[6] = rexRxb(self_in_dispatchConcretize, _shiftCountReg, 0, RCX);
					(self_in_dispatchConcretize->machineCode)[7] = 135;
					(self_in_dispatchConcretize->machineCode)[8] = modRMRO(self_in_dispatchConcretize, ModReg, RCX, _shiftCountReg);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 9;
				l37:
				;
				/* end concretizeShiftRegRegOpcode: */
				return;
			}
		}
		break;
		case LogicalShiftLeftRR:
		{
			{
				/* begin concretizeShiftRegRegOpcode: */
				_shiftCountReg2 = (self_in_dispatchConcretize->operands)[0];
				_destReg3 = (self_in_dispatchConcretize->operands)[1];
				if (_shiftCountReg2 == RCX) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _destReg3);
						(self_in_dispatchConcretize->machineCode)[1] = 211;
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _destReg3, 4);
					}
					(self_in_dispatchConcretize->machineCodeSize) = 3;
					goto l38;
				}
				if (_destReg3 == _shiftCountReg2) {
					_regToShift2 = RCX;
				} else {
					_regToShift2 = ((_destReg3 == RCX)
						 ? _shiftCountReg2
						 : _destReg3);
				}
				if (_shiftCountReg2 == RAX) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 72;
						(self_in_dispatchConcretize->machineCode)[1] = 144 + RCX;
						(self_in_dispatchConcretize->machineCode)[2] = rexRxb(self_in_dispatchConcretize, 0, 0, _regToShift2);
						(self_in_dispatchConcretize->machineCode)[3] = 211;
						(self_in_dispatchConcretize->machineCode)[4] = modRMRO(self_in_dispatchConcretize, ModReg, _regToShift2, 4);
						(self_in_dispatchConcretize->machineCode)[5] = 72;
						(self_in_dispatchConcretize->machineCode)[6] = 144 + RCX;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 7;
					goto l38;
				}
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, _shiftCountReg2, 0, RCX);
					(self_in_dispatchConcretize->machineCode)[1] = 135;
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, RCX, _shiftCountReg2);
					(self_in_dispatchConcretize->machineCode)[3] = rexRxb(self_in_dispatchConcretize, 0, 0, _regToShift2);
					(self_in_dispatchConcretize->machineCode)[4] = 211;
					(self_in_dispatchConcretize->machineCode)[5] = modRMRO(self_in_dispatchConcretize, ModReg, _regToShift2, 4);
					(self_in_dispatchConcretize->machineCode)[6] = rexRxb(self_in_dispatchConcretize, _shiftCountReg2, 0, RCX);
					(self_in_dispatchConcretize->machineCode)[7] = 135;
					(self_in_dispatchConcretize->machineCode)[8] = modRMRO(self_in_dispatchConcretize, ModReg, RCX, _shiftCountReg2);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 9;
				l38:
				;
				/* end concretizeShiftRegRegOpcode: */
				return;
			}
		}
		break;
		case MoveCqR:
		{
			{
				/* begin concretizeMoveCqR */
				_value3 = (self_in_dispatchConcretize->operands)[0];
				_reg13 = (self_in_dispatchConcretize->operands)[1];
				if (is32BitSignedImmediate(self_in_dispatchConcretize, _value3)) {
					if (_value3 == 0) {
						{
							(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, _reg13, 0, _reg13);
							(self_in_dispatchConcretize->machineCode)[1] = 49;
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _reg13, _reg13);
						}
						(self_in_dispatchConcretize->machineCodeSize) = 3;
						goto l39;
					}
					{
						(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg13);
						(self_in_dispatchConcretize->machineCode)[1] = 199;
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _reg13, 0);
						(self_in_dispatchConcretize->machineCode)[3] = _value3 & 0xFF;
						(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _value3 ) >> 8) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _value3 ) >> 16) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _value3 ) >> 24) & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 7;
					goto l39;
				}
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg13);
					(self_in_dispatchConcretize->machineCode)[1] = 184 + (_reg13 & 7);
					(self_in_dispatchConcretize->machineCode)[2] = _value3 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _value3 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _value3 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _value3 ) >> 24) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _value3 ) >> 32) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[7] = (((usqInt) _value3 ) >> 40) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[8] = (((usqInt) _value3 ) >> 48) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[9] = (((usqInt) _value3 ) >> 56) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 10;
				l39:
				;
				/* end concretizeMoveCqR */
				return;
			}
		}
		break;
		case MoveCwR:
		{
			{
				/* begin concretizeMoveCwR */
				_value4 = (self_in_dispatchConcretize->operands)[0];
				_reg14 = (self_in_dispatchConcretize->operands)[1];
				if ((addressIsInInstructions(((AbstractInstruction *) _value4 ))) || (((AbstractInstruction *) _value4 ) == (methodLabel()))) {
					_value4 = ((((AbstractInstruction *) _value4 ))->address);
				}
				if ((((usqInt) _value4 ) >= ((methodLabel->address))) && (((usqInt) _value4 ) < (youngReferrers()))) {
					_offset6 = _value4 - (((self_in_dispatchConcretize->address)) + 7);
					{
						(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, _reg14, 0, 0);
						(self_in_dispatchConcretize->machineCode)[1] = 141;
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, 5, _reg14);
						(self_in_dispatchConcretize->machineCode)[3] = _offset6 & 0xFF;
						(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset6 ) >> 8) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset6 ) >> 16) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset6 ) >> 24) & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 7;
					goto l40;
				}
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg14);
					(self_in_dispatchConcretize->machineCode)[1] = 184 + (_reg14 & 7);
					(self_in_dispatchConcretize->machineCode)[2] = _value4 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _value4 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _value4 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _value4 ) >> 24) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _value4 ) >> 32) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[7] = (((usqInt) _value4 ) >> 40) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[8] = (((usqInt) _value4 ) >> 48) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[9] = (((usqInt) _value4 ) >> 56) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCode)[10] = 144;
				(self_in_dispatchConcretize->machineCodeSize) = 11;
				l40:
				;
				/* end concretizeMoveCwR */
				return;
			}
		}
		break;
		case MoveC32R:
		{
			{
				/* begin concretizeMoveC32R */
				_value5 = (self_in_dispatchConcretize->operands)[0];
				_reg15 = (self_in_dispatchConcretize->operands)[1];
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg15);
					(self_in_dispatchConcretize->machineCode)[1] = 199;
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _reg15, 0);
					(self_in_dispatchConcretize->machineCode)[3] = _value5 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _value5 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _value5 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _value5 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 7;
				/* end concretizeMoveC32R */
				return;
			}
		}
		break;
		case MoveRR:
		{
			{
				concretizeReverseOpRR(self_in_dispatchConcretize, 137);
				return;
			}
		}
		break;
		case MoveAwR:
		{
			{
				/* begin concretizeMoveAwR */
				_addressOperand3 = (self_in_dispatchConcretize->operands)[0];
				if ((addressIsInInstructions(((AbstractInstruction *) _addressOperand3 ))) || (((AbstractInstruction *) _addressOperand3 ) == (methodLabel()))) {
					_addressOperand3 = ((((AbstractInstruction *) _addressOperand3 ))->address);
				}
				if ((_addressOperand3 != null) && ((_addressOperand3 >= ((varBaseAddress()) - (1U << 20))) && (_addressOperand3 <= ((varBaseAddress()) + (1U << 20))))) {
					_save0 = (self_in_dispatchConcretize->operands)[0];
					_save1 = (self_in_dispatchConcretize->operands)[1];
					{
						(self_in_dispatchConcretize->operands)[0] = _addressOperand3 - (varBaseAddress());
						(self_in_dispatchConcretize->operands)[1] = RBX;
						(self_in_dispatchConcretize->operands)[2] = _save1;
					}
					/* begin concretizeMoveMwrR */
					_offset224 = (self_in_dispatchConcretize->operands)[0];
					_srcReg32 = (self_in_dispatchConcretize->operands)[1];
					_destReg35 = (self_in_dispatchConcretize->operands)[2];
					{
						(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, _destReg35, 0, _srcReg32);
						(self_in_dispatchConcretize->machineCode)[1] = 139;
					}
					if ((_srcReg32 != RSP) && (_srcReg32 != R12)) {
						if ((_offset224 == 0) && ((_srcReg32 != RBP) && (_srcReg32 != R13))) {
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, _srcReg32, _destReg35);
							(self_in_dispatchConcretize->machineCodeSize) = 3;
							goto l166;
						}
						if (isQuick(self_in_dispatchConcretize, _offset224)) {
							{
								(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _srcReg32, _destReg35);
								(self_in_dispatchConcretize->machineCode)[3] = _offset224 & 0xFF;
							}
							(self_in_dispatchConcretize->machineCodeSize) = 4;
							goto l166;
						}
						{
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _srcReg32, _destReg35);
							(self_in_dispatchConcretize->machineCode)[3] = _offset224 & 0xFF;
							(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset224 ) >> 8) & 0xFF;
							(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset224 ) >> 16) & 0xFF;
							(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset224 ) >> 24) & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = 7;
						goto l166;
					}
					if (_offset224 == 0) {
						{
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, _srcReg32, _destReg35);
							(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg32);
						}
						(self_in_dispatchConcretize->machineCodeSize) = 4;
						goto l166;
					}
					if (isQuick(self_in_dispatchConcretize, _offset224)) {
						{
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _srcReg32, _destReg35);
							(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg32);
							(self_in_dispatchConcretize->machineCode)[4] = _offset224 & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = 5;
						goto l166;
					}
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _srcReg32, _destReg35);
						(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg32);
						(self_in_dispatchConcretize->machineCode)[4] = _offset224 & 0xFF;
						(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset224 ) >> 8) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset224 ) >> 16) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[7] = (((usqInt) _offset224 ) >> 24) & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 8;
					l166:
					;
					/* end concretizeMoveMwrR */
					{
						(self_in_dispatchConcretize->operands)[0] = _save0;
						(self_in_dispatchConcretize->operands)[1] = _save1;
						(self_in_dispatchConcretize->operands)[2] = 0;
					}
					goto l167;
				}
				_reg20 = (self_in_dispatchConcretize->operands)[1];
				if (_reg20 == SPReg) {
					error("Cannot compile store into SP from far address");
				}
				if (_reg20 == RAX) {
					_offset44 = 0;
				} else {
					{
						(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg20);
						(self_in_dispatchConcretize->machineCode)[1] = 144 + (_reg20 % 8);
					}
					_offset44 = 2;
				}
				{
					(self_in_dispatchConcretize->machineCode)[0 + _offset44] = 72;
					(self_in_dispatchConcretize->machineCode)[1 + _offset44] = 161;
					(self_in_dispatchConcretize->machineCode)[2 + _offset44] = _addressOperand3 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3 + _offset44] = (((usqInt) _addressOperand3 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4 + _offset44] = (((usqInt) _addressOperand3 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5 + _offset44] = (((usqInt) _addressOperand3 ) >> 24) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6 + _offset44] = (((usqInt) _addressOperand3 ) >> 32) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[7 + _offset44] = (((usqInt) _addressOperand3 ) >> 40) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[8 + _offset44] = (((usqInt) _addressOperand3 ) >> 48) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[9 + _offset44] = (((usqInt) _addressOperand3 ) >> 56) & 0xFF;
				}
				if (_reg20 == RAX) {
					(self_in_dispatchConcretize->machineCodeSize) = 10;
					goto l167;
				}
				{
					(self_in_dispatchConcretize->machineCode)[12] = (self_in_dispatchConcretize->machineCode)[0];
					(self_in_dispatchConcretize->machineCode)[13] = (self_in_dispatchConcretize->machineCode)[1];
				}
				(self_in_dispatchConcretize->machineCodeSize) = 14;
				l167:
				;
				/* end concretizeMoveAwR */
				return;
			}
		}
		break;
		case MoveA32R:
		{
			{
				/* begin concretizeMoveA32R */
				_addressOperand = (self_in_dispatchConcretize->operands)[0];
				if ((addressIsInInstructions(((AbstractInstruction *) _addressOperand ))) || (((AbstractInstruction *) _addressOperand ) == (methodLabel()))) {
					_addressOperand = ((((AbstractInstruction *) _addressOperand ))->address);
				}
				_reg16 = (self_in_dispatchConcretize->operands)[1];
				if (_reg16 == RAX) {
					_offset7 = 0;
				} else {
					{
						(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg16);
						(self_in_dispatchConcretize->machineCode)[1] = 144 + (_reg16 % 8);
					}
					_offset7 = 2;
				}
				{
					(self_in_dispatchConcretize->machineCode)[0 + _offset7] = 161;
					(self_in_dispatchConcretize->machineCode)[1 + _offset7] = _addressOperand & 0xFF;
					(self_in_dispatchConcretize->machineCode)[2 + _offset7] = (((usqInt) _addressOperand ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3 + _offset7] = (((usqInt) _addressOperand ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4 + _offset7] = (((usqInt) _addressOperand ) >> 24) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5 + _offset7] = (((usqInt) _addressOperand ) >> 32) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6 + _offset7] = (((usqInt) _addressOperand ) >> 40) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[7 + _offset7] = (((usqInt) _addressOperand ) >> 48) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[8 + _offset7] = (((usqInt) _addressOperand ) >> 56) & 0xFF;
				}
				if (_reg16 == RAX) {
					(self_in_dispatchConcretize->machineCodeSize) = 9;
					goto l42;
				}
				{
					(self_in_dispatchConcretize->machineCode)[11] = (self_in_dispatchConcretize->machineCode)[0];
					(self_in_dispatchConcretize->machineCode)[12] = (self_in_dispatchConcretize->machineCode)[1];
				}
				(self_in_dispatchConcretize->machineCodeSize) = 13;
				l42:
				;
				/* end concretizeMoveA32R */
				return;
			}
		}
		break;
		case MoveRAw:
		{
			{
				/* begin concretizeMoveRAw */
				_reg21 = (self_in_dispatchConcretize->operands)[0];
				_addressOperand4 = (self_in_dispatchConcretize->operands)[1];
				if ((addressIsInInstructions(((AbstractInstruction *) _addressOperand4 ))) || (((AbstractInstruction *) _addressOperand4 ) == (methodLabel()))) {
					_addressOperand4 = ((((AbstractInstruction *) _addressOperand4 ))->address);
				}
				if ((_addressOperand4 != null) && ((_addressOperand4 >= ((varBaseAddress()) - (1U << 20))) && (_addressOperand4 <= ((varBaseAddress()) + (1U << 20))))) {
					_save12 = (self_in_dispatchConcretize->operands)[1];
					{
						(self_in_dispatchConcretize->operands)[1] = _addressOperand4 - (varBaseAddress());
						(self_in_dispatchConcretize->operands)[2] = RBX;
					}
					/* begin concretizeMoveRMwr */
					_srcReg33 = (self_in_dispatchConcretize->operands)[0];
					_offset225 = (self_in_dispatchConcretize->operands)[1];
					_destReg36 = (self_in_dispatchConcretize->operands)[2];
					{
						(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, _srcReg33, 0, _destReg36);
						(self_in_dispatchConcretize->machineCode)[1] = 137;
					}
					if ((_destReg36 != RSP) && (_destReg36 != R12)) {
						if ((_offset225 == 0) && ((_destReg36 != RBP) && (_destReg36 != R13))) {
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, _destReg36, _srcReg33);
							(self_in_dispatchConcretize->machineCodeSize) = 3;
							goto l168;
						}
						if (isQuick(self_in_dispatchConcretize, _offset225)) {
							{
								(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _destReg36, _srcReg33);
								(self_in_dispatchConcretize->machineCode)[3] = _offset225 & 0xFF;
							}
							(self_in_dispatchConcretize->machineCodeSize) = 4;
							goto l168;
						}
						{
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _destReg36, _srcReg33);
							(self_in_dispatchConcretize->machineCode)[3] = _offset225 & 0xFF;
							(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset225 ) >> 8) & 0xFF;
							(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset225 ) >> 16) & 0xFF;
							(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset225 ) >> 24) & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = 7;
						goto l168;
					}
					if (_offset225 == 0) {
						{
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, _destReg36, _srcReg33);
							(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _destReg36);
						}
						(self_in_dispatchConcretize->machineCodeSize) = 4;
						goto l168;
					}
					if (isQuick(self_in_dispatchConcretize, _offset225)) {
						{
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _destReg36, _srcReg33);
							(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _destReg36);
							(self_in_dispatchConcretize->machineCode)[4] = _offset225 & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = 5;
						goto l168;
					}
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _destReg36, _srcReg33);
						(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _destReg36);
						(self_in_dispatchConcretize->machineCode)[4] = _offset225 & 0xFF;
						(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset225 ) >> 8) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset225 ) >> 16) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[7] = (((usqInt) _offset225 ) >> 24) & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 8;
					l168:
					;
					/* end concretizeMoveRMwr */
					{
						(self_in_dispatchConcretize->operands)[1] = _save12;
						(self_in_dispatchConcretize->operands)[2] = 0;
					}
					goto l169;
				}
				if (_reg21 == RAX) {
					_offset45 = 0;
				} else {
					{
						(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg21);
						(self_in_dispatchConcretize->machineCode)[1] = 144 + (_reg21 % 8);
					}
					_offset45 = 2;
				}
				{
					(self_in_dispatchConcretize->machineCode)[0 + _offset45] = 72;
					(self_in_dispatchConcretize->machineCode)[1 + _offset45] = 163;
					(self_in_dispatchConcretize->machineCode)[2 + _offset45] = _addressOperand4 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3 + _offset45] = (((usqInt) _addressOperand4 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4 + _offset45] = (((usqInt) _addressOperand4 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5 + _offset45] = (((usqInt) _addressOperand4 ) >> 24) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6 + _offset45] = (((usqInt) _addressOperand4 ) >> 32) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[7 + _offset45] = (((usqInt) _addressOperand4 ) >> 40) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[8 + _offset45] = (((usqInt) _addressOperand4 ) >> 48) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[9 + _offset45] = (((usqInt) _addressOperand4 ) >> 56) & 0xFF;
				}
				if (_reg21 == RAX) {
					(self_in_dispatchConcretize->machineCodeSize) = 10;
					goto l169;
				}
				{
					(self_in_dispatchConcretize->machineCode)[12] = (self_in_dispatchConcretize->machineCode)[0];
					(self_in_dispatchConcretize->machineCode)[13] = (self_in_dispatchConcretize->machineCode)[1];
				}
				(self_in_dispatchConcretize->machineCodeSize) = 14;
				l169:
				;
				/* end concretizeMoveRAw */
				return;
			}
		}
		break;
		case MoveRA32:
		{
			{
				/* begin concretizeMoveRA32 */
				_reg17 = (self_in_dispatchConcretize->operands)[0];
				_addressOperand2 = (self_in_dispatchConcretize->operands)[1];
				if ((addressIsInInstructions(((AbstractInstruction *) _addressOperand2 ))) || (((AbstractInstruction *) _addressOperand2 ) == (methodLabel()))) {
					_addressOperand2 = ((((AbstractInstruction *) _addressOperand2 ))->address);
				}
				if (_reg17 == RAX) {
					_offset8 = 0;
				} else {
					{
						(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg17);
						(self_in_dispatchConcretize->machineCode)[1] = 144 + (_reg17 % 8);
					}
					_offset8 = 2;
				}
				{
					(self_in_dispatchConcretize->machineCode)[0 + _offset8] = 163;
					(self_in_dispatchConcretize->machineCode)[1 + _offset8] = _addressOperand2 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[2 + _offset8] = (((usqInt) _addressOperand2 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3 + _offset8] = (((usqInt) _addressOperand2 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4 + _offset8] = (((usqInt) _addressOperand2 ) >> 24) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5 + _offset8] = (((usqInt) _addressOperand2 ) >> 32) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6 + _offset8] = (((usqInt) _addressOperand2 ) >> 40) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[7 + _offset8] = (((usqInt) _addressOperand2 ) >> 48) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[8 + _offset8] = (((usqInt) _addressOperand2 ) >> 56) & 0xFF;
				}
				if (_reg17 == RAX) {
					(self_in_dispatchConcretize->machineCodeSize) = 9;
					goto l43;
				}
				{
					(self_in_dispatchConcretize->machineCode)[11] = (self_in_dispatchConcretize->machineCode)[0];
					(self_in_dispatchConcretize->machineCode)[12] = (self_in_dispatchConcretize->machineCode)[1];
				}
				(self_in_dispatchConcretize->machineCodeSize) = 13;
				l43:
				;
				/* end concretizeMoveRA32 */
				return;
			}
		}
		break;
		case MoveAbR:
		{
			{
				/* begin concretizeMoveAbR */
				_addressOperand5 = (self_in_dispatchConcretize->operands)[0];
				if ((addressIsInInstructions(((AbstractInstruction *) _addressOperand5 ))) || (((AbstractInstruction *) _addressOperand5 ) == (methodLabel()))) {
					_addressOperand5 = ((((AbstractInstruction *) _addressOperand5 ))->address);
				}
				if ((_addressOperand5 != null) && ((_addressOperand5 >= ((varBaseAddress()) - (1U << 20))) && (_addressOperand5 <= ((varBaseAddress()) + (1U << 20))))) {
					_save02 = (self_in_dispatchConcretize->operands)[0];
					_save13 = (self_in_dispatchConcretize->operands)[1];
					{
						(self_in_dispatchConcretize->operands)[0] = _addressOperand5 - (varBaseAddress());
						(self_in_dispatchConcretize->operands)[1] = RBX;
						(self_in_dispatchConcretize->operands)[2] = _save13;
					}
					/* begin concretizeMoveMbrR */
					_offset226 = (self_in_dispatchConcretize->operands)[0];
					_srcReg34 = (self_in_dispatchConcretize->operands)[1];
					_destReg37 = (self_in_dispatchConcretize->operands)[2];
					{
						(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, _destReg37, 0, _srcReg34);
						(self_in_dispatchConcretize->machineCode)[1] = 138;
					}
					if ((_srcReg34 != RSP) && (_srcReg34 != R12)) {
						if ((_offset226 == 0) && ((_srcReg34 != RBP) && (_srcReg34 != R13))) {
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, _srcReg34, _destReg37);
							(self_in_dispatchConcretize->machineCodeSize) = 3;
							goto l170;
						}
						if (isQuick(self_in_dispatchConcretize, _offset226)) {
							{
								(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _srcReg34, _destReg37);
								(self_in_dispatchConcretize->machineCode)[3] = _offset226 & 0xFF;
							}
							(self_in_dispatchConcretize->machineCodeSize) = 4;
							goto l170;
						}
						{
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _srcReg34, _destReg37);
							(self_in_dispatchConcretize->machineCode)[3] = _offset226 & 0xFF;
							(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset226 ) >> 8) & 0xFF;
							(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset226 ) >> 16) & 0xFF;
							(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset226 ) >> 24) & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = 7;
						goto l170;
					}
					if (_offset226 == 0) {
						{
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, _srcReg34, _destReg37);
							(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg34);
						}
						(self_in_dispatchConcretize->machineCodeSize) = 4;
						goto l170;
					}
					if (isQuick(self_in_dispatchConcretize, _offset226)) {
						{
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _srcReg34, _destReg37);
							(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg34);
							(self_in_dispatchConcretize->machineCode)[4] = _offset226 & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = 5;
						goto l170;
					}
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _srcReg34, _destReg37);
						(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg34);
						(self_in_dispatchConcretize->machineCode)[4] = _offset226 & 0xFF;
						(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset226 ) >> 8) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset226 ) >> 16) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[7] = (((usqInt) _offset226 ) >> 24) & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 8;
					l170:
					;
					/* end concretizeMoveMbrR */
					{
						(self_in_dispatchConcretize->operands)[0] = _save02;
						(self_in_dispatchConcretize->operands)[1] = _save13;
						(self_in_dispatchConcretize->operands)[2] = 0;
					}
					goto l171;
				}
				_reg22 = (self_in_dispatchConcretize->operands)[1];
				if (_reg22 == RAX) {
					_offset46 = 0;
				} else {
					{
						(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg22);
						(self_in_dispatchConcretize->machineCode)[1] = 144 + (_reg22 % 8);
					}
					_offset46 = 2;
				}
				{
					(self_in_dispatchConcretize->machineCode)[0 + _offset46] = 72;
					(self_in_dispatchConcretize->machineCode)[1 + _offset46] = 160;
					(self_in_dispatchConcretize->machineCode)[2 + _offset46] = _addressOperand5 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3 + _offset46] = (((usqInt) _addressOperand5 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4 + _offset46] = (((usqInt) _addressOperand5 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5 + _offset46] = (((usqInt) _addressOperand5 ) >> 24) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6 + _offset46] = (((usqInt) _addressOperand5 ) >> 32) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[7 + _offset46] = (((usqInt) _addressOperand5 ) >> 40) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[8 + _offset46] = (((usqInt) _addressOperand5 ) >> 48) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[9 + _offset46] = (((usqInt) _addressOperand5 ) >> 56) & 0xFF;
				}
				if (_reg22 == RAX) {
					(self_in_dispatchConcretize->machineCodeSize) = 10;
					goto l171;
				}
				{
					(self_in_dispatchConcretize->machineCode)[12] = (self_in_dispatchConcretize->machineCode)[0];
					(self_in_dispatchConcretize->machineCode)[13] = (self_in_dispatchConcretize->machineCode)[1];
				}
				(self_in_dispatchConcretize->machineCodeSize) = 14;
				l171:
				;
				/* end concretizeMoveAbR */
				return;
			}
		}
		break;
		case MoveRAb:
		{
			{
				/* begin concretizeMoveRAb */
				_reg23 = (self_in_dispatchConcretize->operands)[0];
				_addressOperand6 = (self_in_dispatchConcretize->operands)[1];
				if ((addressIsInInstructions(((AbstractInstruction *) _addressOperand6 ))) || (((AbstractInstruction *) _addressOperand6 ) == (methodLabel()))) {
					_addressOperand6 = ((((AbstractInstruction *) _addressOperand6 ))->address);
				}
				if ((_addressOperand6 != null) && ((_addressOperand6 >= ((varBaseAddress()) - (1U << 20))) && (_addressOperand6 <= ((varBaseAddress()) + (1U << 20))))) {
					_save14 = (self_in_dispatchConcretize->operands)[1];
					{
						(self_in_dispatchConcretize->operands)[1] = _addressOperand6 - (varBaseAddress());
						(self_in_dispatchConcretize->operands)[2] = RBX;
					}
					/* begin concretizeMoveRMbr */
					_srcReg35 = (self_in_dispatchConcretize->operands)[0];
					_offset227 = (self_in_dispatchConcretize->operands)[1];
					_baseReg2 = (self_in_dispatchConcretize->operands)[2];
					{
						(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, _srcReg35, 0, _baseReg2);
						(self_in_dispatchConcretize->machineCode)[1] = 136;
					}
					if ((_baseReg2 != RSP) && (_baseReg2 != R12)) {
						if ((_offset227 == 0) && ((_baseReg2 != RBP) && (_baseReg2 != R13))) {
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, _baseReg2, _srcReg35);
							(self_in_dispatchConcretize->machineCodeSize) = 3;
							goto l172;
						}
						if (isQuick(self_in_dispatchConcretize, _offset227)) {
							{
								(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _baseReg2, _srcReg35);
								(self_in_dispatchConcretize->machineCode)[3] = _offset227 & 0xFF;
							}
							(self_in_dispatchConcretize->machineCodeSize) = 4;
							goto l172;
						}
						{
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _baseReg2, _srcReg35);
							(self_in_dispatchConcretize->machineCode)[3] = _offset227 & 0xFF;
							(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset227 ) >> 8) & 0xFF;
							(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset227 ) >> 16) & 0xFF;
							(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset227 ) >> 24) & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = 7;
						goto l172;
					}
					if (_offset227 == 0) {
						{
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, _baseReg2, _srcReg35);
							(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _baseReg2);
						}
						(self_in_dispatchConcretize->machineCodeSize) = 4;
						goto l172;
					}
					if (isQuick(self_in_dispatchConcretize, _offset227)) {
						{
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _baseReg2, _srcReg35);
							(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _baseReg2);
							(self_in_dispatchConcretize->machineCode)[4] = _offset227 & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = 5;
						goto l172;
					}
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _baseReg2, _srcReg35);
						(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _baseReg2);
						(self_in_dispatchConcretize->machineCode)[4] = _offset227 & 0xFF;
						(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset227 ) >> 8) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset227 ) >> 16) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[7] = (((usqInt) _offset227 ) >> 24) & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 8;
					l172:
					;
					/* end concretizeMoveRMbr */
					{
						(self_in_dispatchConcretize->operands)[1] = _save14;
						(self_in_dispatchConcretize->operands)[2] = 0;
					}
					goto l173;
				}
				if (_reg23 == RAX) {
					_offset47 = 0;
				} else {
					{
						(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, 0, 0, _reg23);
						(self_in_dispatchConcretize->machineCode)[1] = 144 + (_reg23 % 8);
					}
					_offset47 = 2;
				}
				{
					(self_in_dispatchConcretize->machineCode)[0 + _offset47] = 72;
					(self_in_dispatchConcretize->machineCode)[1 + _offset47] = 162;
					(self_in_dispatchConcretize->machineCode)[2 + _offset47] = _addressOperand6 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3 + _offset47] = (((usqInt) _addressOperand6 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4 + _offset47] = (((usqInt) _addressOperand6 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5 + _offset47] = (((usqInt) _addressOperand6 ) >> 24) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6 + _offset47] = (((usqInt) _addressOperand6 ) >> 32) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[7 + _offset47] = (((usqInt) _addressOperand6 ) >> 40) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[8 + _offset47] = (((usqInt) _addressOperand6 ) >> 48) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[9 + _offset47] = (((usqInt) _addressOperand6 ) >> 56) & 0xFF;
				}
				if (_reg23 == RAX) {
					(self_in_dispatchConcretize->machineCodeSize) = 10;
					goto l173;
				}
				{
					(self_in_dispatchConcretize->machineCode)[12] = (self_in_dispatchConcretize->machineCode)[0];
					(self_in_dispatchConcretize->machineCode)[13] = (self_in_dispatchConcretize->machineCode)[1];
				}
				(self_in_dispatchConcretize->machineCodeSize) = 14;
				l173:
				;
				/* end concretizeMoveRAb */
				return;
			}
		}
		break;
		case MoveMbrR:
		case MoveM8rR:
		{
			{
				/* begin concretizeMoveMbrR */
				_offset9 = (self_in_dispatchConcretize->operands)[0];
				_srcReg2 = (self_in_dispatchConcretize->operands)[1];
				_destReg4 = (self_in_dispatchConcretize->operands)[2];
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, _destReg4, 0, _srcReg2);
					(self_in_dispatchConcretize->machineCode)[1] = 138;
				}
				if ((_srcReg2 != RSP) && (_srcReg2 != R12)) {
					if ((_offset9 == 0) && ((_srcReg2 != RBP) && (_srcReg2 != R13))) {
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, _srcReg2, _destReg4);
						(self_in_dispatchConcretize->machineCodeSize) = 3;
						goto l44;
					}
					if (isQuick(self_in_dispatchConcretize, _offset9)) {
						{
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _srcReg2, _destReg4);
							(self_in_dispatchConcretize->machineCode)[3] = _offset9 & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = 4;
						goto l44;
					}
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _srcReg2, _destReg4);
						(self_in_dispatchConcretize->machineCode)[3] = _offset9 & 0xFF;
						(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset9 ) >> 8) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset9 ) >> 16) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset9 ) >> 24) & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 7;
					goto l44;
				}
				if (_offset9 == 0) {
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, _srcReg2, _destReg4);
						(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg2);
					}
					(self_in_dispatchConcretize->machineCodeSize) = 4;
					goto l44;
				}
				if (isQuick(self_in_dispatchConcretize, _offset9)) {
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _srcReg2, _destReg4);
						(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg2);
						(self_in_dispatchConcretize->machineCode)[4] = _offset9 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 5;
					goto l44;
				}
				{
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _srcReg2, _destReg4);
					(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg2);
					(self_in_dispatchConcretize->machineCode)[4] = _offset9 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset9 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset9 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[7] = (((usqInt) _offset9 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 8;
				l44:
				;
				/* end concretizeMoveMbrR */
				return;
			}
		}
		break;
		case MoveRMbr:
		case MoveRM8r:
		{
			{
				/* begin concretizeMoveRMbr */
				_srcReg3 = (self_in_dispatchConcretize->operands)[0];
				_offset10 = (self_in_dispatchConcretize->operands)[1];
				_baseReg = (self_in_dispatchConcretize->operands)[2];
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, _srcReg3, 0, _baseReg);
					(self_in_dispatchConcretize->machineCode)[1] = 136;
				}
				if ((_baseReg != RSP) && (_baseReg != R12)) {
					if ((_offset10 == 0) && ((_baseReg != RBP) && (_baseReg != R13))) {
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, _baseReg, _srcReg3);
						(self_in_dispatchConcretize->machineCodeSize) = 3;
						goto l45;
					}
					if (isQuick(self_in_dispatchConcretize, _offset10)) {
						{
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _baseReg, _srcReg3);
							(self_in_dispatchConcretize->machineCode)[3] = _offset10 & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = 4;
						goto l45;
					}
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _baseReg, _srcReg3);
						(self_in_dispatchConcretize->machineCode)[3] = _offset10 & 0xFF;
						(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset10 ) >> 8) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset10 ) >> 16) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset10 ) >> 24) & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 7;
					goto l45;
				}
				if (_offset10 == 0) {
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, _baseReg, _srcReg3);
						(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _baseReg);
					}
					(self_in_dispatchConcretize->machineCodeSize) = 4;
					goto l45;
				}
				if (isQuick(self_in_dispatchConcretize, _offset10)) {
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _baseReg, _srcReg3);
						(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _baseReg);
						(self_in_dispatchConcretize->machineCode)[4] = _offset10 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 5;
					goto l45;
				}
				{
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _baseReg, _srcReg3);
					(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _baseReg);
					(self_in_dispatchConcretize->machineCode)[4] = _offset10 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset10 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset10 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[7] = (((usqInt) _offset10 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 8;
				l45:
				;
				/* end concretizeMoveRMbr */
				return;
			}
		}
		break;
		case MoveM16rR:
		{
			{
				/* begin concretizeMoveM16rR */
				_offset11 = (self_in_dispatchConcretize->operands)[0];
				_srcReg4 = (self_in_dispatchConcretize->operands)[1];
				_destReg5 = (self_in_dispatchConcretize->operands)[2];
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, _destReg5, 0, _srcReg4);
					(self_in_dispatchConcretize->machineCode)[1] = 15;
					(self_in_dispatchConcretize->machineCode)[2] = 183;
				}
				if ((_srcReg4 != RSP) && (_srcReg4 != R12)) {
					if ((_offset11 == 0) && ((_srcReg4 != RBP) && (_srcReg4 != R13))) {
						(self_in_dispatchConcretize->machineCode)[3] = modRMRO(self_in_dispatchConcretize, ModRegInd, _srcReg4, _destReg5);
						(self_in_dispatchConcretize->machineCodeSize) = 4;
						goto l46;
					}
					if (isQuick(self_in_dispatchConcretize, _offset11)) {
						{
							(self_in_dispatchConcretize->machineCode)[3] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _srcReg4, _destReg5);
							(self_in_dispatchConcretize->machineCode)[4] = _offset11 & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = 5;
						goto l46;
					}
					{
						(self_in_dispatchConcretize->machineCode)[3] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _srcReg4, _destReg5);
						(self_in_dispatchConcretize->machineCode)[4] = _offset11 & 0xFF;
						(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset11 ) >> 8) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset11 ) >> 16) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[7] = (((usqInt) _offset11 ) >> 24) & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 8;
					goto l46;
				}
				if ((_offset11 == 0) && ((_srcReg4 != RBP) && (_srcReg4 != R13))) {
					{
						(self_in_dispatchConcretize->machineCode)[3] = modRMRO(self_in_dispatchConcretize, ModRegInd, _srcReg4, _destReg5);
						(self_in_dispatchConcretize->machineCode)[4] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg4);
					}
					(self_in_dispatchConcretize->machineCodeSize) = 5;
					goto l46;
				}
				if (isQuick(self_in_dispatchConcretize, _offset11)) {
					{
						(self_in_dispatchConcretize->machineCode)[3] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _srcReg4, _destReg5);
						(self_in_dispatchConcretize->machineCode)[4] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg4);
						(self_in_dispatchConcretize->machineCode)[5] = _offset11 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 6;
					goto l46;
				}
				{
					(self_in_dispatchConcretize->machineCode)[3] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _srcReg4, _destReg5);
					(self_in_dispatchConcretize->machineCode)[4] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg4);
					(self_in_dispatchConcretize->machineCode)[5] = _offset11 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset11 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[7] = (((usqInt) _offset11 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[8] = (((usqInt) _offset11 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 9;
				l46:
				;
				/* end concretizeMoveM16rR */
				return;
			}
		}
		break;
		case MoveRM16r:
		{
			{
				/* begin concretizeMoveRM16r */
				_srcReg5 = (self_in_dispatchConcretize->operands)[0];
				_offset12 = (self_in_dispatchConcretize->operands)[1];
				_destReg6 = (self_in_dispatchConcretize->operands)[2];
				(self_in_dispatchConcretize->machineCode)[0] = 102;
				if ((_srcReg5 > 7) || (_destReg6 > 7)) {
					(self_in_dispatchConcretize->machineCode)[1] = rexwrxb(self_in_dispatchConcretize, 0, _srcReg5, 0, _destReg6);
					_skip16 = 1;
				} else {
					_skip16 = 0;
				}
				if ((_destReg6 & 7) != RSP) {
					if (isQuick(self_in_dispatchConcretize, _offset12)) {
						{
							(self_in_dispatchConcretize->machineCode)[_skip16 + 1] = 137;
							(self_in_dispatchConcretize->machineCode)[_skip16 + 2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _destReg6, _srcReg5);
							(self_in_dispatchConcretize->machineCode)[_skip16 + 3] = _offset12 & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = _skip16 + 4;
						goto l47;
					}
					{
						(self_in_dispatchConcretize->machineCode)[_skip16 + 1] = 137;
						(self_in_dispatchConcretize->machineCode)[_skip16 + 2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _destReg6, _srcReg5);
						(self_in_dispatchConcretize->machineCode)[_skip16 + 3] = _offset12 & 0xFF;
						(self_in_dispatchConcretize->machineCode)[_skip16 + 4] = (((usqInt) _offset12 ) >> 8) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[_skip16 + 5] = (((usqInt) _offset12 ) >> 16) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[_skip16 + 6] = (((usqInt) _offset12 ) >> 24) & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = _skip16 + 7;
					goto l47;
				}
				if (isQuick(self_in_dispatchConcretize, _offset12)) {
					{
						(self_in_dispatchConcretize->machineCode)[_skip16 + 1] = 137;
						(self_in_dispatchConcretize->machineCode)[_skip16 + 2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _destReg6, _srcReg5);
						(self_in_dispatchConcretize->machineCode)[_skip16 + 3] = sib(self_in_dispatchConcretize, SIB1, 4, _destReg6);
						(self_in_dispatchConcretize->machineCode)[_skip16 + 4] = _offset12 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = _skip16 + 5;
					goto l47;
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip16 + 1] = 137;
					(self_in_dispatchConcretize->machineCode)[_skip16 + 2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _destReg6, _srcReg5);
					(self_in_dispatchConcretize->machineCode)[_skip16 + 3] = sib(self_in_dispatchConcretize, SIB1, 4, _destReg6);
					(self_in_dispatchConcretize->machineCode)[_skip16 + 4] = _offset12 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip16 + 5] = (((usqInt) _offset12 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip16 + 6] = (((usqInt) _offset12 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip16 + 7] = (((usqInt) _offset12 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip16 + 8;
				l47:
				;
				/* end concretizeMoveRM16r */
				return;
			}
		}
		break;
		case MoveM32rR:
		{
			{
				/* begin concretizeMoveM32rR */
				_offset13 = (self_in_dispatchConcretize->operands)[0];
				_srcReg6 = (self_in_dispatchConcretize->operands)[1];
				_destReg7 = (self_in_dispatchConcretize->operands)[2];
				if ((_srcReg6 <= 7) && (_destReg7 <= 7)) {
					_skip17 = 0;
				} else {
					_skip17 = 1;
					(self_in_dispatchConcretize->machineCode)[0] = rexwrxb(self_in_dispatchConcretize, 0, _destReg7, 0, _srcReg6);
				}
				(self_in_dispatchConcretize->machineCode)[_skip17] = 139;
				if (_offset13 == 0) {
					if ((_srcReg6 & 6) != RSP) {
						(self_in_dispatchConcretize->machineCode)[_skip17 + 1] = modRMRO(self_in_dispatchConcretize, ModRegInd, _srcReg6, _destReg7);
						(self_in_dispatchConcretize->machineCodeSize) = _skip17 + 2;
						goto l48;
					}
					if ((_srcReg6 & 7) == RSP) {
						{
							(self_in_dispatchConcretize->machineCode)[_skip17 + 1] = modRMRO(self_in_dispatchConcretize, ModRegInd, _srcReg6, _destReg7);
							(self_in_dispatchConcretize->machineCode)[_skip17 + 2] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg6);
						}
						(self_in_dispatchConcretize->machineCodeSize) = _skip17 + 3;
						goto l48;
					}
				}
				if (isQuick(self_in_dispatchConcretize, _offset13)) {
					if ((_srcReg6 & 7) != RSP) {
						{
							(self_in_dispatchConcretize->machineCode)[_skip17 + 1] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _srcReg6, _destReg7);
							(self_in_dispatchConcretize->machineCode)[_skip17 + 2] = _offset13 & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = _skip17 + 3;
						goto l48;
					}
					{
						(self_in_dispatchConcretize->machineCode)[_skip17 + 1] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _srcReg6, _destReg7);
						(self_in_dispatchConcretize->machineCode)[_skip17 + 2] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg6);
						(self_in_dispatchConcretize->machineCode)[_skip17 + 3] = _offset13 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = _skip17 + 4;
					goto l48;
				}
				(self_in_dispatchConcretize->machineCode)[_skip17 + 1] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _srcReg6, _destReg7);
				if ((_srcReg6 & 7) == RSP) {
					(self_in_dispatchConcretize->machineCode)[_skip17 + 2] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg6);
					_skip17 += 1;
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip17 + 2] = _offset13 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip17 + 3] = (((usqInt) _offset13 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip17 + 4] = (((usqInt) _offset13 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip17 + 5] = (((usqInt) _offset13 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip17 + 6;
				l48:
				;
				/* end concretizeMoveM32rR */
				return;
			}
		}
		break;
		case MoveM32rRs:
		{
			{
				/* begin concretizeMoveM32rRs */
				_offset14 = (self_in_dispatchConcretize->operands)[0];
				_srcReg7 = (self_in_dispatchConcretize->operands)[1];
				_destReg8 = (self_in_dispatchConcretize->operands)[2];
				(self_in_dispatchConcretize->machineCode)[0] = 102;
				if ((_srcReg7 <= 7) && (_destReg8 <= 7)) {
					_skip18 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip18 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _destReg8, 0, _srcReg7);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip18 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip18 + 2] = 110;
				}
				if (_offset14 == 0) {
					if ((_srcReg7 & 6) != RSP) {
						(self_in_dispatchConcretize->machineCode)[_skip18 + 3] = modRMRO(self_in_dispatchConcretize, ModRegInd, _srcReg7, _destReg8);
						(self_in_dispatchConcretize->machineCodeSize) = _skip18 + 4;
						goto l49;
					}
					if ((_srcReg7 & 7) == RSP) {
						{
							(self_in_dispatchConcretize->machineCode)[_skip18 + 3] = modRMRO(self_in_dispatchConcretize, ModRegInd, _srcReg7, _destReg8);
							(self_in_dispatchConcretize->machineCode)[_skip18 + 4] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg7);
						}
						(self_in_dispatchConcretize->machineCodeSize) = _skip18 + 5;
						goto l49;
					}
				}
				if (isQuick(self_in_dispatchConcretize, _offset14)) {
					if ((_srcReg7 & 7) != RSP) {
						{
							(self_in_dispatchConcretize->machineCode)[_skip18 + 3] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _srcReg7, _destReg8);
							(self_in_dispatchConcretize->machineCode)[_skip18 + 4] = _offset14 & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = _skip18 + 5;
						goto l49;
					}
					{
						(self_in_dispatchConcretize->machineCode)[_skip18 + 3] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _srcReg7, _destReg8);
						(self_in_dispatchConcretize->machineCode)[_skip18 + 4] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg7);
						(self_in_dispatchConcretize->machineCode)[_skip18 + 5] = _offset14 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = _skip18 + 6;
					goto l49;
				}
				(self_in_dispatchConcretize->machineCode)[_skip18 + 3] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _srcReg7, _destReg8);
				if ((_srcReg7 & 7) == RSP) {
					(self_in_dispatchConcretize->machineCode)[_skip18 + 4] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg7);
					_skip18 += 1;
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip18 + 4] = _offset14 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip18 + 5] = (((usqInt) _offset14 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip18 + 6] = (((usqInt) _offset14 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip18 + 7] = (((usqInt) _offset14 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip18 + 8;
				l49:
				;
				/* end concretizeMoveM32rRs */
				return;
			}
		}
		break;
		case MoveM64rRd:
		{
			{
				/* begin concretizeMoveM64rRd */
				_offset15 = (self_in_dispatchConcretize->operands)[0];
				_srcReg8 = (self_in_dispatchConcretize->operands)[1];
				_destReg9 = (self_in_dispatchConcretize->operands)[2];
				(self_in_dispatchConcretize->machineCode)[0] = 243;
				if ((_srcReg8 <= 7) && (_destReg9 <= 7)) {
					_skip19 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip19 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _destReg9, 0, _srcReg8);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip19 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip19 + 2] = 0x7E;
				}
				if (_offset15 == 0) {
					if ((_srcReg8 & 6) != RSP) {
						(self_in_dispatchConcretize->machineCode)[_skip19 + 3] = modRMRO(self_in_dispatchConcretize, ModRegInd, _srcReg8, _destReg9);
						(self_in_dispatchConcretize->machineCodeSize) = _skip19 + 4;
						goto l50;
					}
					if ((_srcReg8 & 7) == RSP) {
						{
							(self_in_dispatchConcretize->machineCode)[_skip19 + 3] = modRMRO(self_in_dispatchConcretize, ModRegInd, _srcReg8, _destReg9);
							(self_in_dispatchConcretize->machineCode)[_skip19 + 4] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg8);
						}
						(self_in_dispatchConcretize->machineCodeSize) = _skip19 + 5;
						goto l50;
					}
				}
				if (isQuick(self_in_dispatchConcretize, _offset15)) {
					if ((_srcReg8 & 7) != RSP) {
						{
							(self_in_dispatchConcretize->machineCode)[_skip19 + 3] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _srcReg8, _destReg9);
							(self_in_dispatchConcretize->machineCode)[_skip19 + 4] = _offset15 & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = _skip19 + 5;
						goto l50;
					}
					{
						(self_in_dispatchConcretize->machineCode)[_skip19 + 3] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _srcReg8, _destReg9);
						(self_in_dispatchConcretize->machineCode)[_skip19 + 4] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg8);
						(self_in_dispatchConcretize->machineCode)[_skip19 + 5] = _offset15 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = _skip19 + 6;
					goto l50;
				}
				(self_in_dispatchConcretize->machineCode)[_skip19 + 3] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _srcReg8, _destReg9);
				if ((_srcReg8 & 7) == RSP) {
					(self_in_dispatchConcretize->machineCode)[_skip19 + 4] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg8);
					_skip19 += 1;
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip19 + 4] = _offset15 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip19 + 5] = (((usqInt) _offset15 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip19 + 6] = (((usqInt) _offset15 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip19 + 7] = (((usqInt) _offset15 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip19 + 8;
				l50:
				;
				/* end concretizeMoveM64rRd */
				return;
			}
		}
		break;
		case MoveMwrR:
		{
			{
				/* begin concretizeMoveMwrR */
				_offset16 = (self_in_dispatchConcretize->operands)[0];
				_srcReg9 = (self_in_dispatchConcretize->operands)[1];
				_destReg10 = (self_in_dispatchConcretize->operands)[2];
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, _destReg10, 0, _srcReg9);
					(self_in_dispatchConcretize->machineCode)[1] = 139;
				}
				if ((_srcReg9 != RSP) && (_srcReg9 != R12)) {
					if ((_offset16 == 0) && ((_srcReg9 != RBP) && (_srcReg9 != R13))) {
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, _srcReg9, _destReg10);
						(self_in_dispatchConcretize->machineCodeSize) = 3;
						goto l51;
					}
					if (isQuick(self_in_dispatchConcretize, _offset16)) {
						{
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _srcReg9, _destReg10);
							(self_in_dispatchConcretize->machineCode)[3] = _offset16 & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = 4;
						goto l51;
					}
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _srcReg9, _destReg10);
						(self_in_dispatchConcretize->machineCode)[3] = _offset16 & 0xFF;
						(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset16 ) >> 8) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset16 ) >> 16) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset16 ) >> 24) & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 7;
					goto l51;
				}
				if (_offset16 == 0) {
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, _srcReg9, _destReg10);
						(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg9);
					}
					(self_in_dispatchConcretize->machineCodeSize) = 4;
					goto l51;
				}
				if (isQuick(self_in_dispatchConcretize, _offset16)) {
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _srcReg9, _destReg10);
						(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg9);
						(self_in_dispatchConcretize->machineCode)[4] = _offset16 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 5;
					goto l51;
				}
				{
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _srcReg9, _destReg10);
					(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _srcReg9);
					(self_in_dispatchConcretize->machineCode)[4] = _offset16 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset16 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset16 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[7] = (((usqInt) _offset16 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 8;
				l51:
				;
				/* end concretizeMoveMwrR */
				return;
			}
		}
		break;
		case MoveXbrRR:
		{
			{
				/* begin concretizeMoveXbrRR */
				_index = (self_in_dispatchConcretize->operands)[0];
				_base = (self_in_dispatchConcretize->operands)[1];
				_dest = (self_in_dispatchConcretize->operands)[2];
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, _dest, _index, _base);
					(self_in_dispatchConcretize->machineCode)[1] = 138;
				}
				if ((_base != RBP) && (_base != R13)) {
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, 4, _dest);
						(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, _index, _base);
					}
					(self_in_dispatchConcretize->machineCodeSize) = 4;
					goto l52;
				}
				{
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, 4, _dest);
					(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, _index, _base);
					(self_in_dispatchConcretize->machineCode)[4] = 0;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 5;
				l52:
				;
				/* end concretizeMoveXbrRR */
				return;
			}
		}
		break;
		case MoveRXbrR:
		{
			{
				/* begin concretizeMoveRXbrR */
				_src = (self_in_dispatchConcretize->operands)[0];
				_index2 = (self_in_dispatchConcretize->operands)[1];
				_base2 = (self_in_dispatchConcretize->operands)[2];
				_offset17 = 0;
				if ((_src > 3) || ((_base2 > 7) || (_index2 > 7))) {
					(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, _src, _index2, _base2);
					_offset17 = 1;
				}
				(self_in_dispatchConcretize->machineCode)[0 + _offset17] = 136;
				if ((_base2 & 7) != RBP) {
					{
						(self_in_dispatchConcretize->machineCode)[1 + _offset17] = modRMRO(self_in_dispatchConcretize, ModRegInd, 4, _src);
						(self_in_dispatchConcretize->machineCode)[2 + _offset17] = sib(self_in_dispatchConcretize, SIB1, _index2, _base2);
					}
					(self_in_dispatchConcretize->machineCodeSize) = 3 + _offset17;
					goto l53;
				}
				{
					(self_in_dispatchConcretize->machineCode)[1 + _offset17] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, 4, _src);
					(self_in_dispatchConcretize->machineCode)[2 + _offset17] = sib(self_in_dispatchConcretize, SIB1, _index2, _base2);
					(self_in_dispatchConcretize->machineCode)[3 + _offset17] = 0;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 4 + _offset17;
				l53:
				;
				/* end concretizeMoveRXbrR */
				return;
			}
		}
		break;
		case MoveXwrRR:
		{
			{
				/* begin concretizeMoveXwrRR */
				_index3 = (self_in_dispatchConcretize->operands)[0];
				_base3 = (self_in_dispatchConcretize->operands)[1];
				_dest2 = (self_in_dispatchConcretize->operands)[2];
				(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, _dest2, _index3, _base3);
				if ((_base3 != RBP) && (_base3 != R13)) {
					{
						(self_in_dispatchConcretize->machineCode)[1] = 139;
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, 4, _dest2);
						(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB8, _index3, _base3);
					}
					(self_in_dispatchConcretize->machineCodeSize) = 4;
					goto l54;
				}
				{
					(self_in_dispatchConcretize->machineCode)[1] = 139;
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, 4, _dest2);
					(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB8, _index3, _base3);
					(self_in_dispatchConcretize->machineCode)[4] = 0;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 5;
				l54:
				;
				/* end concretizeMoveXwrRR */
				return;
			}
		}
		break;
		case MoveRXwrR:
		{
			{
				/* begin concretizeMoveRXwrR */
				_src2 = (self_in_dispatchConcretize->operands)[0];
				_index4 = (self_in_dispatchConcretize->operands)[1];
				_base4 = (self_in_dispatchConcretize->operands)[2];
				(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, _src2, _index4, _base4);
				if ((_base4 != RBP) && (_base4 != R13)) {
					{
						(self_in_dispatchConcretize->machineCode)[1] = 137;
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, 4, _src2);
						(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB8, _index4, _base4);
					}
					(self_in_dispatchConcretize->machineCodeSize) = 4;
					goto l55;
				}
				{
					(self_in_dispatchConcretize->machineCode)[1] = 137;
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, 4, _src2);
					(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB8, _index4, _base4);
					(self_in_dispatchConcretize->machineCode)[4] = 0;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 5;
				l55:
				;
				/* end concretizeMoveRXwrR */
				return;
			}
		}
		break;
		case MoveX32rRR:
		{
			{
				concretizeMoveX32rRR(self_in_dispatchConcretize);
				return;
			}
		}
		break;
		case MoveRX32rR:
		{
			{
				concretizeMoveRX32rR(self_in_dispatchConcretize);
				return;
			}
		}
		break;
		case MoveRMwr:
		{
			{
				/* begin concretizeMoveRMwr */
				_srcReg10 = (self_in_dispatchConcretize->operands)[0];
				_offset18 = (self_in_dispatchConcretize->operands)[1];
				_destReg11 = (self_in_dispatchConcretize->operands)[2];
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, _srcReg10, 0, _destReg11);
					(self_in_dispatchConcretize->machineCode)[1] = 137;
				}
				if ((_destReg11 != RSP) && (_destReg11 != R12)) {
					if ((_offset18 == 0) && ((_destReg11 != RBP) && (_destReg11 != R13))) {
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, _destReg11, _srcReg10);
						(self_in_dispatchConcretize->machineCodeSize) = 3;
						goto l56;
					}
					if (isQuick(self_in_dispatchConcretize, _offset18)) {
						{
							(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _destReg11, _srcReg10);
							(self_in_dispatchConcretize->machineCode)[3] = _offset18 & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = 4;
						goto l56;
					}
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _destReg11, _srcReg10);
						(self_in_dispatchConcretize->machineCode)[3] = _offset18 & 0xFF;
						(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset18 ) >> 8) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset18 ) >> 16) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset18 ) >> 24) & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 7;
					goto l56;
				}
				if (_offset18 == 0) {
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, _destReg11, _srcReg10);
						(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _destReg11);
					}
					(self_in_dispatchConcretize->machineCodeSize) = 4;
					goto l56;
				}
				if (isQuick(self_in_dispatchConcretize, _offset18)) {
					{
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _destReg11, _srcReg10);
						(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _destReg11);
						(self_in_dispatchConcretize->machineCode)[4] = _offset18 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 5;
					goto l56;
				}
				{
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _destReg11, _srcReg10);
					(self_in_dispatchConcretize->machineCode)[3] = sib(self_in_dispatchConcretize, SIB1, 4, _destReg11);
					(self_in_dispatchConcretize->machineCode)[4] = _offset18 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset18 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset18 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[7] = (((usqInt) _offset18 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 8;
				l56:
				;
				/* end concretizeMoveRMwr */
				return;
			}
		}
		break;
		case MoveRM32r:
		{
			{
				/* begin concretizeMoveRM32r */
				_srcReg11 = (self_in_dispatchConcretize->operands)[0];
				_offset19 = (self_in_dispatchConcretize->operands)[1];
				_destReg12 = (self_in_dispatchConcretize->operands)[2];
				if ((_srcReg11 <= 7) && (_destReg12 <= 7)) {
					_skip20 = 0;
				} else {
					_skip20 = 1;
					(self_in_dispatchConcretize->machineCode)[0] = rexwrxb(self_in_dispatchConcretize, 0, _srcReg11, 0, _destReg12);
				}
				(self_in_dispatchConcretize->machineCode)[_skip20] = 137;
				if (_offset19 == 0) {
					if ((_destReg12 & 6) != RSP) {
						(self_in_dispatchConcretize->machineCode)[_skip20 + 1] = modRMRO(self_in_dispatchConcretize, ModRegInd, _destReg12, _srcReg11);
						(self_in_dispatchConcretize->machineCodeSize) = _skip20 + 2;
						goto l57;
					}
					if ((_destReg12 & 7) == RSP) {
						{
							(self_in_dispatchConcretize->machineCode)[_skip20 + 1] = modRMRO(self_in_dispatchConcretize, ModRegInd, _destReg12, _srcReg11);
							(self_in_dispatchConcretize->machineCode)[_skip20 + 2] = sib(self_in_dispatchConcretize, SIB1, 4, _destReg12);
						}
						(self_in_dispatchConcretize->machineCodeSize) = _skip20 + 3;
						goto l57;
					}
				}
				if (isQuick(self_in_dispatchConcretize, _offset19)) {
					if ((_destReg12 & 7) != RSP) {
						{
							(self_in_dispatchConcretize->machineCode)[_skip20 + 1] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _destReg12, _srcReg11);
							(self_in_dispatchConcretize->machineCode)[_skip20 + 2] = _offset19 & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = _skip20 + 3;
						goto l57;
					}
					{
						(self_in_dispatchConcretize->machineCode)[_skip20 + 1] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _destReg12, _srcReg11);
						(self_in_dispatchConcretize->machineCode)[_skip20 + 2] = sib(self_in_dispatchConcretize, SIB1, 4, _destReg12);
						(self_in_dispatchConcretize->machineCode)[_skip20 + 3] = _offset19 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = _skip20 + 4;
					goto l57;
				}
				(self_in_dispatchConcretize->machineCode)[_skip20 + 1] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _destReg12, _srcReg11);
				if ((_destReg12 & 7) == RSP) {
					(self_in_dispatchConcretize->machineCode)[_skip20 + 2] = sib(self_in_dispatchConcretize, SIB1, 4, _destReg12);
					_skip20 += 1;
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip20 + 2] = _offset19 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip20 + 3] = (((usqInt) _offset19 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip20 + 4] = (((usqInt) _offset19 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip20 + 5] = (((usqInt) _offset19 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip20 + 6;
				l57:
				;
				/* end concretizeMoveRM32r */
				return;
			}
		}
		break;
		case MoveRsM32r:
		{
			{
				/* begin concretizeMoveRsM32r */
				_srcReg12 = (self_in_dispatchConcretize->operands)[0];
				_offset20 = (self_in_dispatchConcretize->operands)[1];
				_destReg13 = (self_in_dispatchConcretize->operands)[2];
				(self_in_dispatchConcretize->machineCode)[0] = 102;
				if ((_srcReg12 <= 7) && (_destReg13 <= 7)) {
					_skip21 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip21 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _srcReg12, 0, _destReg13);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip21 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip21 + 2] = 0x7E;
				}
				if (_offset20 == 0) {
					if ((_destReg13 & 6) != RSP) {
						(self_in_dispatchConcretize->machineCode)[_skip21 + 3] = modRMRO(self_in_dispatchConcretize, ModRegInd, _destReg13, _srcReg12);
						(self_in_dispatchConcretize->machineCodeSize) = _skip21 + 4;
						goto l58;
					}
					if ((_destReg13 & 7) == RSP) {
						{
							(self_in_dispatchConcretize->machineCode)[_skip21 + 3] = modRMRO(self_in_dispatchConcretize, ModRegInd, _destReg13, _srcReg12);
							(self_in_dispatchConcretize->machineCode)[_skip21 + 4] = sib(self_in_dispatchConcretize, SIB1, 4, _destReg13);
						}
						(self_in_dispatchConcretize->machineCodeSize) = _skip21 + 5;
						goto l58;
					}
				}
				if (isQuick(self_in_dispatchConcretize, _offset20)) {
					if ((_destReg13 & 7) != RSP) {
						{
							(self_in_dispatchConcretize->machineCode)[_skip21 + 3] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _destReg13, _srcReg12);
							(self_in_dispatchConcretize->machineCode)[_skip21 + 4] = _offset20 & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = _skip21 + 5;
						goto l58;
					}
					{
						(self_in_dispatchConcretize->machineCode)[_skip21 + 3] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _destReg13, _srcReg12);
						(self_in_dispatchConcretize->machineCode)[_skip21 + 4] = sib(self_in_dispatchConcretize, SIB1, 4, _destReg13);
						(self_in_dispatchConcretize->machineCode)[_skip21 + 5] = _offset20 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = _skip21 + 6;
					goto l58;
				}
				(self_in_dispatchConcretize->machineCode)[_skip21 + 3] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _destReg13, _srcReg12);
				if ((_destReg13 & 7) == RSP) {
					(self_in_dispatchConcretize->machineCode)[_skip21 + 4] = sib(self_in_dispatchConcretize, SIB1, 4, _destReg13);
					_skip21 += 1;
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip21 + 4] = _offset20 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip21 + 5] = (((usqInt) _offset20 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip21 + 6] = (((usqInt) _offset20 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip21 + 7] = (((usqInt) _offset20 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip21 + 8;
				l58:
				;
				/* end concretizeMoveRsM32r */
				return;
			}
		}
		break;
		case MoveRdM64r:
		{
			{
				/* begin concretizeMoveRdM64r */
				_srcReg13 = (self_in_dispatchConcretize->operands)[0];
				_offset21 = (self_in_dispatchConcretize->operands)[1];
				_destReg14 = (self_in_dispatchConcretize->operands)[2];
				(self_in_dispatchConcretize->machineCode)[0] = 102;
				if ((_srcReg13 <= 7) && (_destReg14 <= 7)) {
					_skip22 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip22 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _srcReg13, 0, _destReg14);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip22 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip22 + 2] = 214;
				}
				if (_offset21 == 0) {
					if ((_destReg14 & 6) != RSP) {
						(self_in_dispatchConcretize->machineCode)[_skip22 + 3] = modRMRO(self_in_dispatchConcretize, ModRegInd, _destReg14, _srcReg13);
						(self_in_dispatchConcretize->machineCodeSize) = _skip22 + 4;
						goto l59;
					}
					if ((_destReg14 & 7) == RSP) {
						{
							(self_in_dispatchConcretize->machineCode)[_skip22 + 3] = modRMRO(self_in_dispatchConcretize, ModRegInd, _destReg14, _srcReg13);
							(self_in_dispatchConcretize->machineCode)[_skip22 + 4] = sib(self_in_dispatchConcretize, SIB1, 4, _destReg14);
						}
						(self_in_dispatchConcretize->machineCodeSize) = _skip22 + 5;
						goto l59;
					}
				}
				if (isQuick(self_in_dispatchConcretize, _offset21)) {
					if ((_destReg14 & 7) != RSP) {
						{
							(self_in_dispatchConcretize->machineCode)[_skip22 + 3] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _destReg14, _srcReg13);
							(self_in_dispatchConcretize->machineCode)[_skip22 + 4] = _offset21 & 0xFF;
						}
						(self_in_dispatchConcretize->machineCodeSize) = _skip22 + 5;
						goto l59;
					}
					{
						(self_in_dispatchConcretize->machineCode)[_skip22 + 3] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp8, _destReg14, _srcReg13);
						(self_in_dispatchConcretize->machineCode)[_skip22 + 4] = sib(self_in_dispatchConcretize, SIB1, 4, _destReg14);
						(self_in_dispatchConcretize->machineCode)[_skip22 + 5] = _offset21 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = _skip22 + 6;
					goto l59;
				}
				(self_in_dispatchConcretize->machineCode)[_skip22 + 3] = modRMRO(self_in_dispatchConcretize, ModRegRegDisp32, _destReg14, _srcReg13);
				if ((_destReg14 & 7) == RSP) {
					(self_in_dispatchConcretize->machineCode)[_skip22 + 4] = sib(self_in_dispatchConcretize, SIB1, 4, _destReg14);
					_skip22 += 1;
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip22 + 4] = _offset21 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip22 + 5] = (((usqInt) _offset21 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip22 + 6] = (((usqInt) _offset21 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[_skip22 + 7] = (((usqInt) _offset21 ) >> 24) & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip22 + 8;
				l59:
				;
				/* end concretizeMoveRdM64r */
				return;
			}
		}
		break;
		case MoveRdR:
		{
			{
				/* begin concretizeMoveRdR */
				_srcReg14 = (self_in_dispatchConcretize->operands)[0];
				_destReg15 = (self_in_dispatchConcretize->operands)[1];
				{
					(self_in_dispatchConcretize->machineCode)[0] = 102;
					(self_in_dispatchConcretize->machineCode)[1] = rexRxb(self_in_dispatchConcretize, _srcReg14, 0, _destReg15);
					(self_in_dispatchConcretize->machineCode)[2] = 15;
					(self_in_dispatchConcretize->machineCode)[3] = 0x7E;
					(self_in_dispatchConcretize->machineCode)[4] = modRMRO(self_in_dispatchConcretize, ModReg, _destReg15, _srcReg14);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 5;
				/* end concretizeMoveRdR */
				return;
			}
		}
		break;
		case MoveRRd:
		{
			{
				/* begin concretizeMoveRRd */
				_srcReg15 = (self_in_dispatchConcretize->operands)[0];
				_destReg16 = (self_in_dispatchConcretize->operands)[1];
				{
					(self_in_dispatchConcretize->machineCode)[0] = 102;
					(self_in_dispatchConcretize->machineCode)[1] = rexRxb(self_in_dispatchConcretize, _destReg16, 0, _srcReg15);
					(self_in_dispatchConcretize->machineCode)[2] = 15;
					(self_in_dispatchConcretize->machineCode)[3] = 110;
					(self_in_dispatchConcretize->machineCode)[4] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg15, _destReg16);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 5;
				/* end concretizeMoveRRd */
				return;
			}
		}
		break;
		case MoveRdRd:
		{
			{
				/* begin concretizeMoveRdRd */
				_srcReg16 = (self_in_dispatchConcretize->operands)[0];
				_destReg17 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = 242;
				if ((_srcReg16 <= 7) && (_destReg17 <= 7)) {
					_skip23 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip23 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _srcReg16, 0, _destReg17);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip23 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip23 + 2] = 17;
					(self_in_dispatchConcretize->machineCode)[_skip23 + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _destReg17, _srcReg16);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip23 + 4;
				/* end concretizeMoveRdRd */
				return;
			}
		}
		break;
		case MoveRsRs:
		{
			{
				/* begin concretizeMoveRsRs */
				_srcReg17 = (self_in_dispatchConcretize->operands)[0];
				_destReg18 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = 243;
				if ((_srcReg17 <= 7) && (_destReg18 <= 7)) {
					_skip24 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip24 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _srcReg17, 0, _destReg18);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip24 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip24 + 2] = 17;
					(self_in_dispatchConcretize->machineCode)[_skip24 + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _destReg18, _srcReg17);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip24 + 4;
				/* end concretizeMoveRsRs */
				return;
			}
		}
		break;
		case PopR:
		{
			{
				/* begin concretizePopR */
				_reg18 = (self_in_dispatchConcretize->operands)[0];
				if (_reg18 < 8) {
					(self_in_dispatchConcretize->machineCode)[0] = 88 + _reg18;
					(self_in_dispatchConcretize->machineCodeSize) = 1;
					goto l64;
				}
				{
					(self_in_dispatchConcretize->machineCode)[0] = 65;
					(self_in_dispatchConcretize->machineCode)[1] = 88 + (_reg18 - 8);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 2;
				l64:
				;
				/* end concretizePopR */
				return;
			}
		}
		break;
		case PushR:
		{
			{
				/* begin concretizePushR */
				_reg19 = (self_in_dispatchConcretize->operands)[0];
				if (_reg19 < 8) {
					(self_in_dispatchConcretize->machineCode)[0] = 80 + _reg19;
					(self_in_dispatchConcretize->machineCodeSize) = 1;
					goto l65;
				}
				{
					(self_in_dispatchConcretize->machineCode)[0] = 65;
					(self_in_dispatchConcretize->machineCode)[1] = 80 + (_reg19 - 8);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 2;
				l65:
				;
				/* end concretizePushR */
				return;
			}
		}
		break;
		case PushCq:
		{
			{
				/* begin concretizePushCq */
				_value6 = (self_in_dispatchConcretize->operands)[0];
				if (isQuick(self_in_dispatchConcretize, _value6)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 106;
						(self_in_dispatchConcretize->machineCode)[1] = _value6 & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 2;
					goto l66;
				}
				if (is32BitSignedImmediate(self_in_dispatchConcretize, _value6)) {
					{
						(self_in_dispatchConcretize->machineCode)[0] = 104;
						(self_in_dispatchConcretize->machineCode)[1] = _value6 & 0xFF;
						(self_in_dispatchConcretize->machineCode)[2] = (((usqInt) _value6 ) >> 8) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _value6 ) >> 16) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _value6 ) >> 24) & 0xFF;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 5;
					goto l66;
				}
				/* begin concretizePushCw */
				_value22 = (self_in_dispatchConcretize->operands)[0];
				if ((addressIsInInstructions(((AbstractInstruction *) _value22 ))) || (((AbstractInstruction *) _value22 ) == (methodLabel()))) {
					_value22 = ((((AbstractInstruction *) _value22 ))->address);
				}
				if ((((usqInt) _value22 ) >= ((methodLabel->address))) && (((usqInt) _value22 ) < (youngReferrers()))) {
					_offset22 = _value22 - (((self_in_dispatchConcretize->address)) + 7);
					{
						(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, RISCTempReg, 0, 0);
						(self_in_dispatchConcretize->machineCode)[1] = 141;
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, 5, RISCTempReg);
						(self_in_dispatchConcretize->machineCode)[3] = _offset22 & 0xFF;
						(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset22 ) >> 8) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset22 ) >> 16) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset22 ) >> 24) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[7] = 65;
						(self_in_dispatchConcretize->machineCode)[8] = 72 + RISCTempReg;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 9;
					goto l66;
				}
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, RISCTempReg, 0, RISCTempReg);
					(self_in_dispatchConcretize->machineCode)[1] = 184 + (RISCTempReg & 7);
					(self_in_dispatchConcretize->machineCode)[2] = _value22 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _value22 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _value22 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _value22 ) >> 24) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _value22 ) >> 32) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[7] = (((usqInt) _value22 ) >> 40) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[8] = (((usqInt) _value22 ) >> 48) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[9] = (((usqInt) _value22 ) >> 56) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[10] = 65;
					(self_in_dispatchConcretize->machineCode)[11] = 72 + RISCTempReg;
				}
				assert(((self_in_dispatchConcretize->machineCode)[11]) < 144);
				(self_in_dispatchConcretize->machineCodeSize) = 12;
				/* end concretizePushCw */
				l66:
				;
				/* end concretizePushCq */
				return;
			}
		}
		break;
		case PushCw:
		{
			{
				/* begin concretizePushCw */
				_value7 = (self_in_dispatchConcretize->operands)[0];
				if ((addressIsInInstructions(((AbstractInstruction *) _value7 ))) || (((AbstractInstruction *) _value7 ) == (methodLabel()))) {
					_value7 = ((((AbstractInstruction *) _value7 ))->address);
				}
				if ((((usqInt) _value7 ) >= ((methodLabel->address))) && (((usqInt) _value7 ) < (youngReferrers()))) {
					_offset23 = _value7 - (((self_in_dispatchConcretize->address)) + 7);
					{
						(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, RISCTempReg, 0, 0);
						(self_in_dispatchConcretize->machineCode)[1] = 141;
						(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModRegInd, 5, RISCTempReg);
						(self_in_dispatchConcretize->machineCode)[3] = _offset23 & 0xFF;
						(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _offset23 ) >> 8) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _offset23 ) >> 16) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _offset23 ) >> 24) & 0xFF;
						(self_in_dispatchConcretize->machineCode)[7] = 65;
						(self_in_dispatchConcretize->machineCode)[8] = 72 + RISCTempReg;
					}
					(self_in_dispatchConcretize->machineCodeSize) = 9;
					goto l67;
				}
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexRxb(self_in_dispatchConcretize, RISCTempReg, 0, RISCTempReg);
					(self_in_dispatchConcretize->machineCode)[1] = 184 + (RISCTempReg & 7);
					(self_in_dispatchConcretize->machineCode)[2] = _value7 & 0xFF;
					(self_in_dispatchConcretize->machineCode)[3] = (((usqInt) _value7 ) >> 8) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[4] = (((usqInt) _value7 ) >> 16) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[5] = (((usqInt) _value7 ) >> 24) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[6] = (((usqInt) _value7 ) >> 32) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[7] = (((usqInt) _value7 ) >> 40) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[8] = (((usqInt) _value7 ) >> 48) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[9] = (((usqInt) _value7 ) >> 56) & 0xFF;
					(self_in_dispatchConcretize->machineCode)[10] = 65;
					(self_in_dispatchConcretize->machineCode)[11] = 72 + RISCTempReg;
				}
				assert(((self_in_dispatchConcretize->machineCode)[11]) < 144);
				(self_in_dispatchConcretize->machineCodeSize) = 12;
				l67:
				;
				/* end concretizePushCw */
				return;
			}
		}
		break;
		case PrefetchAw:
		{
			{
				concretizePrefetchAw(self_in_dispatchConcretize);
				return;
			}
		}
		break;
		case ConvertRRd:
		{
			{
				/* begin concretizeConvertRRd */
				_srcReg18 = (self_in_dispatchConcretize->operands)[0];
				_destReg19 = (self_in_dispatchConcretize->operands)[1];
				{
					(self_in_dispatchConcretize->machineCode)[0] = 242;
					(self_in_dispatchConcretize->machineCode)[1] = rexRxb(self_in_dispatchConcretize, _destReg19, 0, _srcReg18);
					(self_in_dispatchConcretize->machineCode)[2] = 15;
					(self_in_dispatchConcretize->machineCode)[3] = 42;
					(self_in_dispatchConcretize->machineCode)[4] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg18, _destReg19);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 5;
				/* end concretizeConvertRRd */
				return;
			}
		}
		break;
		case ConvertRdR:
		{
			{
				/* begin concretizeConvertRdR */
				_srcReg19 = (self_in_dispatchConcretize->operands)[0];
				_destReg20 = (self_in_dispatchConcretize->operands)[1];
				{
					(self_in_dispatchConcretize->machineCode)[0] = 242;
					(self_in_dispatchConcretize->machineCode)[1] = rexRxb(self_in_dispatchConcretize, _destReg20, 0, _srcReg19);
					(self_in_dispatchConcretize->machineCode)[2] = 15;
					(self_in_dispatchConcretize->machineCode)[3] = 45;
					(self_in_dispatchConcretize->machineCode)[4] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg19, _destReg20);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 5;
				/* end concretizeConvertRdR */
				return;
			}
		}
		break;
		case ConvertRRs:
		{
			{
				/* begin concretizeConvertRRs */
				_srcReg20 = (self_in_dispatchConcretize->operands)[0];
				_destReg21 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = 243;
				if ((_srcReg20 <= 7) && (_destReg21 <= 7)) {
					_skip25 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip25 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _destReg21, 0, _srcReg20);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip25 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip25 + 2] = 42;
					(self_in_dispatchConcretize->machineCode)[_skip25 + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg20, _destReg21);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip25 + 4;
				/* end concretizeConvertRRs */
				return;
			}
		}
		break;
		case ConvertRsR:
		{
			{
				/* begin concretizeConvertRsR */
				_srcReg21 = (self_in_dispatchConcretize->operands)[0];
				_destReg22 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = 243;
				if ((_srcReg21 <= 7) && (_destReg22 <= 7)) {
					_skip26 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip26 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _destReg22, 0, _srcReg21);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip26 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip26 + 2] = 45;
					(self_in_dispatchConcretize->machineCode)[_skip26 + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg21, _destReg22);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip26 + 4;
				/* end concretizeConvertRsR */
				return;
			}
		}
		break;
		case ConvertRsRd:
		{
			{
				/* begin concretizeConvertRsRd */
				_srcReg22 = (self_in_dispatchConcretize->operands)[0];
				_destReg23 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = 243;
				if ((_srcReg22 <= 7) && (_destReg23 <= 7)) {
					_skip27 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip27 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _destReg23, 0, _srcReg22);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip27 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip27 + 2] = 90;
					(self_in_dispatchConcretize->machineCode)[_skip27 + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg22, _destReg23);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip27 + 4;
				/* end concretizeConvertRsRd */
				return;
			}
		}
		break;
		case ConvertRdRs:
		{
			{
				/* begin concretizeConvertRdRs */
				_srcReg23 = (self_in_dispatchConcretize->operands)[0];
				_destReg24 = (self_in_dispatchConcretize->operands)[1];
				(self_in_dispatchConcretize->machineCode)[0] = 242;
				if ((_srcReg23 <= 7) && (_destReg24 <= 7)) {
					_skip28 = 0;
				} else {
					(self_in_dispatchConcretize->machineCode)[(_skip28 = 1)] = rexwrxb(self_in_dispatchConcretize, 0, _destReg24, 0, _srcReg23);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip28 + 1] = 15;
					(self_in_dispatchConcretize->machineCode)[_skip28 + 2] = 90;
					(self_in_dispatchConcretize->machineCode)[_skip28 + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg23, _destReg24);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip28 + 4;
				/* end concretizeConvertRdRs */
				return;
			}
		}
		break;
		case SignExtend8RR:
		{
			{
				/* begin concretizeSignExtend8RR */
				_srcReg24 = (self_in_dispatchConcretize->operands)[0];
				_destReg25 = (self_in_dispatchConcretize->operands)[1];
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexwrxb(self_in_dispatchConcretize, 1, _destReg25, 0, _srcReg24);
					(self_in_dispatchConcretize->machineCode)[1] = 15;
					(self_in_dispatchConcretize->machineCode)[2] = 190;
					(self_in_dispatchConcretize->machineCode)[3] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg24, _destReg25);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 4;
				/* end concretizeSignExtend8RR */
				return;
			}
		}
		break;
		case SignExtend16RR:
		{
			{
				/* begin concretizeSignExtend16RR */
				_srcReg25 = (self_in_dispatchConcretize->operands)[0];
				_destReg26 = (self_in_dispatchConcretize->operands)[1];
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexwrxb(self_in_dispatchConcretize, 1, _destReg26, 0, _srcReg25);
					(self_in_dispatchConcretize->machineCode)[1] = 15;
					(self_in_dispatchConcretize->machineCode)[2] = 191;
					(self_in_dispatchConcretize->machineCode)[3] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg25, _destReg26);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 4;
				/* end concretizeSignExtend16RR */
				return;
			}
		}
		break;
		case SignExtend32RR:
		{
			{
				/* begin concretizeSignExtend32RR */
				_srcReg26 = (self_in_dispatchConcretize->operands)[0];
				_destReg27 = (self_in_dispatchConcretize->operands)[1];
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexwrxb(self_in_dispatchConcretize, 1, _destReg27, 0, _srcReg26);
					(self_in_dispatchConcretize->machineCode)[1] = 99;
					(self_in_dispatchConcretize->machineCode)[2] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg26, _destReg27);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 3;
				/* end concretizeSignExtend32RR */
				return;
			}
		}
		break;
		case ZeroExtend8RR:
		{
			{
				/* begin concretizeZeroExtend8RR */
				_srcReg27 = (self_in_dispatchConcretize->operands)[0];
				_destReg28 = (self_in_dispatchConcretize->operands)[1];
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexwrxb(self_in_dispatchConcretize, 1, _destReg28, 0, _srcReg27);
					(self_in_dispatchConcretize->machineCode)[1] = 15;
					(self_in_dispatchConcretize->machineCode)[2] = 182;
					(self_in_dispatchConcretize->machineCode)[3] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg27, _destReg28);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 4;
				/* end concretizeZeroExtend8RR */
				return;
			}
		}
		break;
		case ZeroExtend16RR:
		{
			{
				/* begin concretizeZeroExtend16RR */
				_srcReg28 = (self_in_dispatchConcretize->operands)[0];
				_destReg29 = (self_in_dispatchConcretize->operands)[1];
				{
					(self_in_dispatchConcretize->machineCode)[0] = rexwrxb(self_in_dispatchConcretize, 1, _destReg29, 0, _srcReg28);
					(self_in_dispatchConcretize->machineCode)[1] = 15;
					(self_in_dispatchConcretize->machineCode)[2] = 183;
					(self_in_dispatchConcretize->machineCode)[3] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg28, _destReg29);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 4;
				/* end concretizeZeroExtend16RR */
				return;
			}
		}
		break;
		case ZeroExtend32RR:
		{
			{
				/* begin concretizeZeroExtend32RR */
				_srcReg29 = (self_in_dispatchConcretize->operands)[0];
				_destReg30 = (self_in_dispatchConcretize->operands)[1];
				if ((_srcReg29 <= 7) && (_destReg30 <= 7)) {
					_skip29 = 0;
				} else {
					_skip29 = 1;
					(self_in_dispatchConcretize->machineCode)[0] = rexwrxb(self_in_dispatchConcretize, 0, _destReg30, 0, _srcReg29);
				}
				{
					(self_in_dispatchConcretize->machineCode)[_skip29] = 139;
					(self_in_dispatchConcretize->machineCode)[_skip29 + 1] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg29, _destReg30);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _skip29 + 2;
				/* end concretizeZeroExtend32RR */
				return;
			}
		}
		break;
		case MovePatcheableC32R:
		{
			{
				concretizeMovePatcheableC32R(self_in_dispatchConcretize);
				return;
			}
		}
		break;
		case DupRVr:
		{
			{
				/* begin concretizeDupRVr */
				if (((self_in_dispatchConcretize->operands)[0]) != 64) {
					/* begin notYetImplemented */
					/* begin notYetImplemented: */
					logError("Not Yet Implemented!");
					abort();
					/* end notYetImplemented: */
					/* end notYetImplemented */
				}
				_srcReg36 = (self_in_dispatchConcretize->operands)[1];
				_destReg38 = (self_in_dispatchConcretize->operands)[2];
				{
					(self_in_dispatchConcretize->machineCode)[0] = 102;
					(self_in_dispatchConcretize->machineCode)[1] = rexwrxb(self_in_dispatchConcretize, 1, _destReg38, 0, _srcReg36);
					(self_in_dispatchConcretize->machineCode)[2] = 15;
					(self_in_dispatchConcretize->machineCode)[3] = 110;
					(self_in_dispatchConcretize->machineCode)[4] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg36, _destReg38);
				}
				{
					(self_in_dispatchConcretize->machineCode)[5] = 102;
					(self_in_dispatchConcretize->machineCode)[6] = 15;
					(self_in_dispatchConcretize->machineCode)[7] = 108;
					(self_in_dispatchConcretize->machineCode)[8] = modRMRO(self_in_dispatchConcretize, ModReg, _destReg38, _destReg38);
				}
				(self_in_dispatchConcretize->machineCodeSize) = 9;
				/* end concretizeDupRVr */
				return;
			}
		}
		break;
		case St1VrRMw:
		{
			{
				/* begin concretizeSt1VrRMw */
				_size = (self_in_dispatchConcretize->operands)[0];
				_srcReg30 = (self_in_dispatchConcretize->operands)[1];
				_destReg31 = (self_in_dispatchConcretize->operands)[2];
				_offset24 = (self_in_dispatchConcretize->operands)[3];
				{
					(self_in_dispatchConcretize->machineCode)[0] = 243;
					(self_in_dispatchConcretize->machineCode)[1] = rexwrxb(self_in_dispatchConcretize, 1, _srcReg30, 0, _destReg31);
					(self_in_dispatchConcretize->machineCode)[2] = 15;
					(self_in_dispatchConcretize->machineCode)[3] = 0x7F;
					(self_in_dispatchConcretize->machineCode)[4] = modRMRO(self_in_dispatchConcretize, ModRegInd, _destReg31, _srcReg30);
				}
				if (_offset24 == 0) {
					(self_in_dispatchConcretize->machineCodeSize) = 5;
					goto l80;
				}
				{
					(self_in_dispatchConcretize->machineCode)[5] = rexwrxb(self_in_dispatchConcretize, 1, _destReg31, 0, _destReg31);
					(self_in_dispatchConcretize->machineCode)[6] = 131;
					(self_in_dispatchConcretize->machineCode)[7] = modRMRO(self_in_dispatchConcretize, ModReg, _destReg31, 0);
					(self_in_dispatchConcretize->machineCode)[8] = _offset24 & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 9;
				l80:
				;
				/* end concretizeSt1VrRMw */
				return;
			}
		}
		break;
		case Ld1VrRMw:
		{
			{
				/* begin concretizeLd1VrRMw */
				_size2 = (self_in_dispatchConcretize->operands)[0];
				_srcReg31 = (self_in_dispatchConcretize->operands)[1];
				_destReg32 = (self_in_dispatchConcretize->operands)[2];
				_offset25 = (self_in_dispatchConcretize->operands)[3];
				{
					(self_in_dispatchConcretize->machineCode)[0] = 243;
					(self_in_dispatchConcretize->machineCode)[1] = rexwrxb(self_in_dispatchConcretize, 1, _srcReg31, 0, _destReg32);
					(self_in_dispatchConcretize->machineCode)[2] = 15;
					(self_in_dispatchConcretize->machineCode)[3] = 111;
					(self_in_dispatchConcretize->machineCode)[4] = modRMRO(self_in_dispatchConcretize, ModRegInd, _destReg32, _srcReg31);
				}
				if (_offset25 == 0) {
					(self_in_dispatchConcretize->machineCodeSize) = 5;
					goto l81;
				}
				{
					(self_in_dispatchConcretize->machineCode)[5] = rexwrxb(self_in_dispatchConcretize, 1, _destReg32, 0, _destReg32);
					(self_in_dispatchConcretize->machineCode)[6] = 131;
					(self_in_dispatchConcretize->machineCode)[7] = modRMRO(self_in_dispatchConcretize, ModReg, _destReg32, 0);
					(self_in_dispatchConcretize->machineCode)[8] = _offset25 & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 9;
				l81:
				;
				/* end concretizeLd1VrRMw */
				return;
			}
		}
		break;
		case AlignedSt1VrRMw:
		{
			{
				/* begin concretizeAlignedSt1VrRMw */
				_size5 = (self_in_dispatchConcretize->operands)[0];
				_srcReg37 = (self_in_dispatchConcretize->operands)[1];
				_destReg39 = (self_in_dispatchConcretize->operands)[2];
				_offset48 = (self_in_dispatchConcretize->operands)[3];
				if (!(_size5 == 64)) {
					/* begin notYetImplemented */
					/* begin notYetImplemented: */
					{
						logError("Not Yet Implemented!");
						abort();
					}
					goto l175;
					/* end notYetImplemented: */
					/* end notYetImplemented */
				}
				{
					(self_in_dispatchConcretize->machineCode)[0] = 102;
					(self_in_dispatchConcretize->machineCode)[1] = rexwrxb(self_in_dispatchConcretize, 1, _srcReg37, 0, _destReg39);
					(self_in_dispatchConcretize->machineCode)[2] = 15;
					(self_in_dispatchConcretize->machineCode)[3] = 0x7F;
					(self_in_dispatchConcretize->machineCode)[4] = modRMRO(self_in_dispatchConcretize, ModRegInd, _destReg39, _srcReg37);
				}
				{
					(self_in_dispatchConcretize->machineCode)[5] = rexwrxb(self_in_dispatchConcretize, 1, _destReg39, 0, _destReg39);
					(self_in_dispatchConcretize->machineCode)[6] = 131;
					(self_in_dispatchConcretize->machineCode)[7] = modRMRO(self_in_dispatchConcretize, ModReg, _destReg39, 0);
					(self_in_dispatchConcretize->machineCode)[8] = _offset48 & 0xFF;
				}
				(self_in_dispatchConcretize->machineCodeSize) = 9;
				l175:
				;
				/* end concretizeAlignedSt1VrRMw */
				return;
			}
		}
		break;
		case FaddSRvRvRv:
		{
			{
				/* begin concretizeFaddSRvRvRv */
				_size3 = (self_in_dispatchConcretize->operands)[0];
				_srcReg1 = (self_in_dispatchConcretize->operands)[1];
				_srcReg210 = (self_in_dispatchConcretize->operands)[2];
				_destReg33 = (self_in_dispatchConcretize->operands)[3];
				_instructionOffset = 0;
				if (_srcReg1 != _destReg33) {
					if (_size3 == 64) {
						{
							(self_in_dispatchConcretize->machineCode)[_instructionOffset] = rexRxb(self_in_dispatchConcretize, _destReg33, 0, _srcReg1);
							(self_in_dispatchConcretize->machineCode)[_instructionOffset + 1] = 102;
							(self_in_dispatchConcretize->machineCode)[_instructionOffset + 2] = 15;
							(self_in_dispatchConcretize->machineCode)[_instructionOffset + 3] = 40;
							(self_in_dispatchConcretize->machineCode)[_instructionOffset + 4] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg1, _destReg33);
						}
						_instructionOffset = 5;
					} else {
						{
							(self_in_dispatchConcretize->machineCode)[_instructionOffset] = rexRxb(self_in_dispatchConcretize, _destReg33, 0, _srcReg1);
							(self_in_dispatchConcretize->machineCode)[_instructionOffset + 1] = 15;
							(self_in_dispatchConcretize->machineCode)[_instructionOffset + 2] = 40;
							(self_in_dispatchConcretize->machineCode)[_instructionOffset + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg1, _destReg33);
						}
						_instructionOffset = 4;
					}
				}
				if (_size3 == 64) {
					{
						(self_in_dispatchConcretize->machineCode)[_instructionOffset] = rexRxb(self_in_dispatchConcretize, _destReg33, 0, _srcReg210);
						(self_in_dispatchConcretize->machineCode)[_instructionOffset + 1] = 102;
						(self_in_dispatchConcretize->machineCode)[_instructionOffset + 2] = 15;
						(self_in_dispatchConcretize->machineCode)[_instructionOffset + 3] = 88;
						(self_in_dispatchConcretize->machineCode)[_instructionOffset + 4] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg210, _destReg33);
					}
					(self_in_dispatchConcretize->machineCodeSize) = _instructionOffset + 5;
					goto l82;
				} else {
					{
						(self_in_dispatchConcretize->machineCode)[_instructionOffset] = rexRxb(self_in_dispatchConcretize, _destReg33, 0, _srcReg210);
						(self_in_dispatchConcretize->machineCode)[_instructionOffset + 1] = 15;
						(self_in_dispatchConcretize->machineCode)[_instructionOffset + 2] = 88;
						(self_in_dispatchConcretize->machineCode)[_instructionOffset + 3] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg210, _destReg33);
					}
					(self_in_dispatchConcretize->machineCodeSize) = _instructionOffset + 4;
					goto l82;
				}
				l82:
				;
				/* end concretizeFaddSRvRvRv */
				return;
			}
		}
		break;
		case FsubSRvRvRv:
		{
			{
				/* begin concretizeFsubSRvRvRv */
				_size4 = (self_in_dispatchConcretize->operands)[0];
				_srcReg110 = (self_in_dispatchConcretize->operands)[1];
				_srcReg211 = (self_in_dispatchConcretize->operands)[2];
				_destReg34 = (self_in_dispatchConcretize->operands)[3];
				_instructionOffset2 = 0;
				if (_srcReg110 != _destReg34) {
					{
						(self_in_dispatchConcretize->machineCode)[_instructionOffset2] = rexRxb(self_in_dispatchConcretize, _destReg34, 0, _srcReg110);
						(self_in_dispatchConcretize->machineCode)[_instructionOffset2 + 1] = 102;
						(self_in_dispatchConcretize->machineCode)[_instructionOffset2 + 2] = 15;
						(self_in_dispatchConcretize->machineCode)[_instructionOffset2 + 3] = 40;
						(self_in_dispatchConcretize->machineCode)[_instructionOffset2 + 4] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg110, _destReg34);
					}
					_instructionOffset2 = 5;
				}
				{
					(self_in_dispatchConcretize->machineCode)[_instructionOffset2] = rexRxb(self_in_dispatchConcretize, _destReg34, 0, _srcReg211);
					(self_in_dispatchConcretize->machineCode)[_instructionOffset2 + 1] = 102;
					(self_in_dispatchConcretize->machineCode)[_instructionOffset2 + 2] = 15;
					(self_in_dispatchConcretize->machineCode)[_instructionOffset2 + 3] = 92;
					(self_in_dispatchConcretize->machineCode)[_instructionOffset2 + 4] = modRMRO(self_in_dispatchConcretize, ModReg, _srcReg211, _destReg34);
				}
				(self_in_dispatchConcretize->machineCodeSize) = _instructionOffset2 + 5;
				/* end concretizeFsubSRvRvRv */
				return;
			}
		}
		break;
		default:
		error("Case not found and no otherwise clause");
	}
	{
		return;
	}
}
/*	Attempt to generate concrete machine code for the instruction at address. 
	This is part of the inner dispatch of concretizeAt: actualAddress which 
	exists only 
	to get around the number of literals limits in the SqueakV3 (blue book 
	derived) bytecode set. */
/* CogX64Compiler>>#dispatchConcretizeProcessorSpecific */
static void NoDbgRegParms
dispatchConcretizeProcessorSpecific(AbstractInstruction * self_in_dispatchConcretizeProcessorSpecific)
{
	usqInt _addressOperand;
	usqInt _reg;
	usqInt _reg1;
	usqInt _reg2;
	usqInt _regDivisor;

	switch ((self_in_dispatchConcretizeProcessorSpecific->opcode)) {
		case CDQ:
		{
			{
				/* begin concretizeCDQ */
				{
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[0] = 72;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[1] = 153;
				}
				(self_in_dispatchConcretizeProcessorSpecific->machineCodeSize) = 2;
				/* end concretizeCDQ */
				return;
			}
		}
		break;
		case IDIVR:
		{
			{
				/* begin concretizeIDIVR */
				_regDivisor = (self_in_dispatchConcretizeProcessorSpecific->operands)[0];
				{
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[0] = rexRxb(self_in_dispatchConcretizeProcessorSpecific, 0, 0, _regDivisor);
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[1] = 247;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[2] = modRMRO(self_in_dispatchConcretizeProcessorSpecific, ModReg, _regDivisor, 7);
				}
				(self_in_dispatchConcretizeProcessorSpecific->machineCodeSize) = 3;
				/* end concretizeIDIVR */
				return;
			}
		}
		break;
		case IMULRR:
		{
			{
				/* begin concretizeMulRR */
				_reg1 = (self_in_dispatchConcretizeProcessorSpecific->operands)[0];
				_reg2 = (self_in_dispatchConcretizeProcessorSpecific->operands)[1];
				{
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[0] = rexRxb(self_in_dispatchConcretizeProcessorSpecific, _reg2, 0, _reg1);
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[1] = 15;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[2] = 175;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[3] = modRMRO(self_in_dispatchConcretizeProcessorSpecific, ModReg, _reg1, _reg2);
				}
				(self_in_dispatchConcretizeProcessorSpecific->machineCodeSize) = 4;
				/* end concretizeMulRR */
				return;
			}
		}
		break;
		case LFENCE:
		{
			{
				/* begin concretizeFENCE: */
				{
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[0] = 15;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[1] = 174;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[2] = modRMRO(self_in_dispatchConcretizeProcessorSpecific, ModReg, 0, 5);
				}
				(self_in_dispatchConcretizeProcessorSpecific->machineCodeSize) = 3;
				/* end concretizeFENCE: */
				return;
			}
		}
		break;
		case MFENCE:
		{
			{
				/* begin concretizeFENCE: */
				{
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[0] = 15;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[1] = 174;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[2] = modRMRO(self_in_dispatchConcretizeProcessorSpecific, ModReg, 0, 6);
				}
				(self_in_dispatchConcretizeProcessorSpecific->machineCodeSize) = 3;
				/* end concretizeFENCE: */
				return;
			}
		}
		break;
		case SFENCE:
		{
			{
				/* begin concretizeFENCE: */
				{
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[0] = 15;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[1] = 174;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[2] = modRMRO(self_in_dispatchConcretizeProcessorSpecific, ModReg, 0, 7);
				}
				(self_in_dispatchConcretizeProcessorSpecific->machineCodeSize) = 3;
				/* end concretizeFENCE: */
				return;
			}
		}
		break;
		case XCHGAwR:
		{
			{
				/* begin concretizeXCHGAwR */
				_addressOperand = (self_in_dispatchConcretizeProcessorSpecific->operands)[0];
				_reg = (self_in_dispatchConcretizeProcessorSpecific->operands)[1];
				{
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[0] = rexwrxb(self_in_dispatchConcretizeProcessorSpecific, 1, _reg, 0, 0);
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[1] = 135;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[2] = modRMRO(self_in_dispatchConcretizeProcessorSpecific, ModReg, 0, 7);
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[3] = _addressOperand & 0xFF;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[4] = (((usqInt) _addressOperand ) >> 8) & 0xFF;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[5] = (((usqInt) _addressOperand ) >> 16) & 0xFF;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[6] = (((usqInt) _addressOperand ) >> 24) & 0xFF;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[7] = (((usqInt) _addressOperand ) >> 32) & 0xFF;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[8] = (((usqInt) _addressOperand ) >> 40) & 0xFF;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[9] = (((usqInt) _addressOperand ) >> 48) & 0xFF;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[10] = (((usqInt) _addressOperand ) >> 56) & 0xFF;
				}
				(self_in_dispatchConcretizeProcessorSpecific->machineCodeSize) = 11;
				/* end concretizeXCHGAwR */
				return;
			}
		}
		break;
		case XCHGRR:
		{
			{
				concretizeXCHGRR(self_in_dispatchConcretizeProcessorSpecific);
				return;
			}
		}
		break;
		case REP:
		{
			{
				/* begin concretizeREP */
				(self_in_dispatchConcretizeProcessorSpecific->machineCode)[0] = 243;
				(self_in_dispatchConcretizeProcessorSpecific->machineCodeSize) = 1;
				/* end concretizeREP */
				return;
			}
		}
		break;
		case CLD:
		{
			{
				/* begin concretizeCLD */
				(self_in_dispatchConcretizeProcessorSpecific->machineCode)[0] = 0xFC;
				(self_in_dispatchConcretizeProcessorSpecific->machineCodeSize) = 1;
				/* end concretizeCLD */
				return;
			}
		}
		break;
		case MOVSB:
		{
			{
				/* begin concretizeMOVSB */
				(self_in_dispatchConcretizeProcessorSpecific->machineCode)[0] = 164;
				(self_in_dispatchConcretizeProcessorSpecific->machineCodeSize) = 1;
				/* end concretizeMOVSB */
				return;
			}
		}
		break;
		case MOVSQ:
		{
			{
				/* begin concretizeMOVSQ */
				{
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[0] = rexwrxb(self_in_dispatchConcretizeProcessorSpecific, 1, 0, 0, 0);
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[1] = 165;
				}
				(self_in_dispatchConcretizeProcessorSpecific->machineCodeSize) = 2;
				/* end concretizeMOVSQ */
				return;
			}
		}
		break;
		case CPUID:
		{
			{
				/* begin concretizeCPUID */
				{
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[0] = 15;
					(self_in_dispatchConcretizeProcessorSpecific->machineCode)[1] = 162;
				}
				(self_in_dispatchConcretizeProcessorSpecific->machineCodeSize) = 2;
				/* end concretizeCPUID */
				return;
			}
		}
		break;
		default:
		error("Case not found and no otherwise clause");
	}
	{
		return;
	}
}
/* CogX64Compiler>>#genDivR:R:Quo:Rem: */
static AbstractInstruction * NoDbgRegParms
genDivRRQuoRem(AbstractInstruction * self_in_genDivRRQuoRem, sqInt _abstractRegDivisor, sqInt _abstractRegDividend, sqInt _abstractRegQuotient, sqInt _abstractRegRemainder)
{
	sqInt _rDividend;
	sqInt _rDivisor;
	sqInt _reg;
	sqInt _rQuotient;
	sqInt _rRemainder;
	sqInt _rUnused;
	sqInt _saveRestoreEAX;
	sqInt _saveRestoreEDX;
	sqInt _saveRestoreExchanged;

	assert(_abstractRegDividend != _abstractRegDivisor);
	assert(_abstractRegQuotient != _abstractRegRemainder);
	_rDividend = _abstractRegDividend;
	_rDivisor = _abstractRegDivisor;
	_rQuotient = _abstractRegQuotient;
	_rRemainder = _abstractRegRemainder;
	if ((_rDividend == RDX) || (_rDivisor == RDX)) {
		_rUnused = RAX;
		while (_rUnused <= RDI) {
			if ((_rUnused != RSP) && ((_rUnused != RBP) && ((_rUnused != RDX) && ((_rUnused != _rDividend) && ((_rUnused != _rDivisor) && ((_rUnused != _rQuotient) && (_rUnused != _rRemainder))))))) {
				/* begin PushR: */
				genoperand(PushR, _rUnused);
				/* end PushR: */
				/* begin MoveR:R: */
				genoperandoperand(MoveRR, RDX, _rUnused);
				/* end MoveR:R: */
				if (_rDividend == RDX) {
					genDivRRQuoRem(self_in_genDivRRQuoRem, _rDivisor, _rUnused, _rQuotient, _rRemainder);
				}
 else {
					genDivRRQuoRem(self_in_genDivRRQuoRem, _rUnused, _rDividend, _rQuotient, _rRemainder);
				}
				/* begin PopR: */
				genoperand(PopR, _rUnused);
				/* end PopR: */
				return self_in_genDivRRQuoRem;
			}
			_rUnused += 1;
		}
		error("couldn't find unused register in genDivR:R:Quo:Rem:");
	}
	if ((_saveRestoreEAX = (_rQuotient != RAX) && (_rRemainder != RAX))) {
		/* begin PushR: */
		genoperand(PushR, RAX);
		/* end PushR: */
	}
	if ((_saveRestoreEDX = (_rQuotient != RDX) && (_rRemainder != RDX))) {
		/* begin PushR: */
		genoperand(PushR, RDX);
		/* end PushR: */
	}
	_saveRestoreExchanged = -1;
	if (_rDividend != RAX) {
		if (_rDivisor == RAX) {
			if (((_rDividend != _rQuotient) && (_rDividend != _rRemainder)) && ((_rDividend != RDX) || !_saveRestoreEDX)) {
				/* begin PushR: */
				_reg = (_saveRestoreExchanged = _rDividend);
				genoperand(PushR, _reg);
				/* end PushR: */
			}
			genoperandoperand(XCHGRR, _rDivisor, _rDividend);
		} else {
			/* begin MoveR:R: */
			genoperandoperand(MoveRR, _rDividend, RAX);
			/* end MoveR:R: */
		}
	}
	gen(CDQ);
	genoperand(IDIVR, ((_rDivisor == RAX)
		 ? _rDividend
		 : _rDivisor));
	if ((_rQuotient == RDX) && (_rRemainder == RAX)) {
		genoperandoperand(XCHGRR, _rQuotient, _rRemainder);
	} else {
		if (_rQuotient == RDX) {
			if (_rRemainder != RDX) {
				/* begin MoveR:R: */
				genoperandoperand(MoveRR, RDX, _rRemainder);
				/* end MoveR:R: */
			}
			if (_rQuotient != RAX) {
				/* begin MoveR:R: */
				genoperandoperand(MoveRR, RAX, _rQuotient);
				/* end MoveR:R: */
			}
		}
 else {
			if (_rQuotient != RAX) {
				/* begin MoveR:R: */
				genoperandoperand(MoveRR, RAX, _rQuotient);
				/* end MoveR:R: */
			}
			if (_rRemainder != RDX) {
				/* begin MoveR:R: */
				genoperandoperand(MoveRR, RDX, _rRemainder);
				/* end MoveR:R: */
			}
		}
	}
	if (_saveRestoreExchanged >= 0) {
		/* begin PopR: */
		genoperand(PopR, _saveRestoreExchanged);
		/* end PopR: */
	}
	if (_saveRestoreEDX) {
		/* begin PopR: */
		genoperand(PopR, RDX);
		/* end PopR: */
	}
	if (_saveRestoreEAX) {
		/* begin PopR: */
		genoperand(PopR, RAX);
		/* end PopR: */
	}
	return self_in_genDivRRQuoRem;
}
/*	Load the stack pointer register with that of the C stack, effecting 
	a switch to the C stack. Used when machine code calls into the 
	CoInterpreter run-time (e.g. to invoke interpreter primitives). */
/* CogX64Compiler>>#genLoadCStackPointer */
static sqInt NoDbgRegParms
genLoadCStackPointer(AbstractInstruction * self_in_genLoadCStackPointer)
{
	sqInt _address;
	AbstractInstruction *_anInstruction;

	/* begin MoveAw:R: */
	_address = cStackPointerAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction = genoperandoperand(MoveAwR, _address, SPReg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	return 0;
}
/*	Load the frame and stack pointer registers with those of the C stack, 
	effecting a switch to the C stack. Used when machine code calls into 
	the CoInterpreter run-time (e.g. to invoke interpreter primitives). */
/* CogX64Compiler>>#genLoadCStackPointers */
static sqInt NoDbgRegParms
genLoadCStackPointers(AbstractInstruction * self_in_genLoadCStackPointers)
{
	sqInt _address;
	sqInt _address2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;

	/* begin MoveAw:R: */
	_address = cStackPointerAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction = genoperandoperand(MoveAwR, _address, SPReg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	/* begin MoveAw:R: */
	_address2 = cFramePointerAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction2 = genoperandoperand(MoveAwR, _address2, FPReg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	return 0;
}
/*	Switch back to the Smalltalk stack. Assign SPReg first 
	because typically it is used immediately afterwards. */
/* CogX64Compiler>>#genLoadStackPointers */
static sqInt NoDbgRegParms
genLoadStackPointers(AbstractInstruction * self_in_genLoadStackPointers)
{
	sqInt _address;
	sqInt _address2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;

	/* begin MoveAw:R: */
	_address = stackPointerAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction = genoperandoperand(MoveAwR, _address, SPReg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	/* begin MoveAw:R: */
	_address2 = framePointerAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction2 = genoperandoperand(MoveAwR, _address2, FPReg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	return 0;
}
/* CogX64Compiler>>#genMulR:R: */
static AbstractInstruction * NoDbgRegParms
genMulRR(AbstractInstruction * self_in_genMulRR, sqInt _regSource, sqInt _regDest)
{
	return genoperandoperand(IMULRR, _regSource, _regDest);
}
/*	Ensure that the register args are pushed before the retpc for arity <= 
	self numRegArgs. This 
	isn't as clumsy on a RISC. But putting the receiver and args above the 
	return address 
	means the CoInterpreter has a single machine-code frame format which saves 
	us a lot of work. 
	N.B. Take great care to /not/ smash TempReg, which is used in directed 
	send marshalling. 
	We could use XCHG to swap the ReceiverResultReg and top-of-stack return 
	address, pushing the 
	the ret pc (now in ReceiverResultReg) later, but XCHG is very slow. We can 
	use SendNumArgsReg 
	because it is only live in sends of arity >= (NumSendTrampolines - 1). */
/* CogX64Compiler>>#genPushRegisterArgsForNumArgs:scratchReg: */
static AbstractInstruction * NoDbgRegParms
genPushRegisterArgsForNumArgsscratchReg(AbstractInstruction * self_in_genPushRegisterArgsForNumArgsscratchReg, sqInt _numArgs, sqInt _scratchReg)
{
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;

	assert((numRegArgs()) < (NumSendTrampolines - 1));
	if (_numArgs <= 2) {
		assert((numRegArgs()) <= 2);
		{
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction3 = genoperandoperandoperand(MoveMwrR, 0, SPReg, _scratchReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction4 = genoperandoperandoperand(MoveRMwr, ReceiverResultReg, 0, SPReg);
			/* end checkQuickConstant:forInstruction: */
			if (_numArgs > 0) {
				/* begin PushR: */
				genoperand(PushR, Arg0Reg);
				/* end PushR: */
				if (_numArgs > 1) {
					/* begin PushR: */
					genoperand(PushR, Arg1Reg);
					/* end PushR: */
				}
			}
			/* begin PushR: */
			genoperand(PushR, _scratchReg);
			/* end PushR: */
		}
	}
	return self_in_genPushRegisterArgsForNumArgsscratchReg;
}
/*	Restore the registers in regMask as saved by genSaveRegs:. */
/* CogX64Compiler>>#genRestoreRegs: */
static sqInt NoDbgRegParms
genRestoreRegs(AbstractInstruction * self_in_genRestoreRegs, sqInt _regMask)
{
	sqInt _reg;

	assert(!(_regMask & (registerMaskForand(RSP, RBP))));
	for (_reg = RAX; _reg <= R15; _reg += 1) {
		if (_regMask & (1ULL << _reg)) {
			/* begin PopR: */
			genoperand(PopR, _reg);
			/* end PopR: */
		}
	}
	return 0;
}
/*	Save the registers in regMask for a call into the C run-time from a 
	trampoline.  */
/* CogX64Compiler>>#genSaveRegs: */
static sqInt NoDbgRegParms
genSaveRegs(AbstractInstruction * self_in_genSaveRegs, sqInt _regMask)
{
	sqInt _reg;

	assert(((R15 - RAX) + 1) == 16);
	assert(!(_regMask & (registerMaskForand(RSP, RBP))));
	for (_reg = R15; _reg >= RAX; _reg += -1) {
		if (_regMask & (1ULL << _reg)) {
			/* begin PushR: */
			genoperand(PushR, _reg);
			/* end PushR: */
		}
	}
	return 0;
}
/*	Save the frame and stack pointer registers to the framePointer 
	and stackPointer variables. Used to save the machine code frame 
	for use by the run-time when calling into the CoInterpreter run-time. */
/* CogX64Compiler>>#genSaveStackPointers */
static sqInt NoDbgRegParms
genSaveStackPointers(AbstractInstruction * self_in_genSaveStackPointers)
{
	sqInt _address;
	sqInt _address2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;

	/* begin MoveR:Aw: */
	_address = framePointerAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction = genoperandoperand(MoveRAw, FPReg, _address);
	/* end checkLiteral:forInstruction: */
	/* end MoveR:Aw: */
	/* begin MoveR:Aw: */
	_address2 = stackPointerAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction2 = genoperandoperand(MoveRAw, SPReg, _address2);
	/* end checkLiteral:forInstruction: */
	/* end MoveR:Aw: */
	return 0;
}
/*	Top 32 bits all the same as the bottom 32 bits' sign bit implies we can 
	use a sign-extended 4 byte offset. */
/* CogX64Compiler>>#is32BitSignedImmediate: */
static sqInt NoDbgRegParms
is32BitSignedImmediate(AbstractInstruction * self_in_is32BitSignedImmediate, sqInt _a64BitUnsignedOperand)
{
	return ((int) _a64BitUnsignedOperand ) == ((sqLong) _a64BitUnsignedOperand );
}
/*	Assuming mcpc is a send return pc answer if the instruction before it is a 
	call (not a CallFull). */
/* CogX64Compiler>>#isCallPrecedingReturnPC: */
static sqInt NoDbgRegParms
isCallPrecedingReturnPC(AbstractInstruction * self_in_isCallPrecedingReturnPC, sqInt _mcpc)
{
	return (byteAt(_mcpc - 5)) == 232;
}
/* CogX64Compiler>>#isQuick: */
static sqInt NoDbgRegParms
isQuick(AbstractInstruction * self_in_isQuick, usqIntptr_t _operand)
{
	return (((sqLong) _operand ) >= -128) && (((sqLong) _operand ) <= 0x7F);
}
/*	Answer if an address can be accessed using the offset in a MoveMw:r:R: or 
	similar instruction. 
	We assume this is true for 32-bit processors and expect 64-bit processors 
	to answer false 
	for values in the interpreter or the object memory. Restrict our use of 
	offsets to reference 
	addresses within the method zone, rather than checking for a 32-bit 
	offset, si as to keep the 
	simulator and real VM in sync. */
/* CogX64Compiler>>#isWithinMwOffsetRange: */
static sqInt NoDbgRegParms
isWithinMwOffsetRange(AbstractInstruction * self_in_isWithinMwOffsetRange, sqInt _anAddress)
{
	/* begin addressIsInCodeZone: */
	return (((usqInt) _anAddress ) >= codeBase) && (_anAddress < limitAddress);
	/* end addressIsInCodeZone: */
}
/*	Set the target of a jump instruction. These all have the target in the 
	first operand.Set the target of a jump instruction. These all have the target in the 
	first operand. 
	Override to cope with JumpFPNotEqual where because of IEEE NaN conformance 
	and the behaviour of COMISD/UCOMISD we generate two jumps to the same 
	target.  */
/* CogX64Compiler>>#jmpTarget: */
static AbstractInstruction * NoDbgRegParms
jmpTarget(AbstractInstruction * self_in_jmpTarget, AbstractInstruction *_anAbstractInstruction)
{
	AbstractInstruction *_aDependent;

	_aDependent = (self_in_jmpTarget->dependent);
	while (_aDependent != null) {
		jmpTarget(_aDependent, _anAbstractInstruction);
		_aDependent = (_aDependent->dependent);
	}
	{
		(self_in_jmpTarget->operands)[0] = ((usqInt) _anAbstractInstruction );
		return _anAbstractInstruction;
	}
	return 0;
}
/*	Branch/Call ranges. Jump[Cond] can be generated as short as possible. 
	Call/Jump[Cond]Long must be generated 
	in the same number of bytes irrespective of displacement since their 
	targets may be updated, but they need only 
	span 16Mb, the maximum size of the code zone. This allows e.g. ARM to use 
	single-word call and jump instructions 
	for most calls and jumps. CallFull/JumpFull must also be generated in the 
	same number of bytes irrespective of 
	displacement for the same reason, but they must be able to span the full 
	(32-bit or 64-bit) address space because 
	they are used to call code in the C runtime, which may be distant from the 
	code zone */
/* CogX64Compiler>>#jumpLongByteSize */
static sqInt NoDbgRegParms
jumpLongByteSize(AbstractInstruction * self_in_jumpLongByteSize)
{
	return 5;
}
/* CogX64Compiler>>#jumpLongConditionalByteSize */
static sqInt NoDbgRegParms
jumpLongConditionalByteSize(AbstractInstruction * self_in_jumpLongConditionalByteSize)
{
	return 6;
}
/*	Answer the target address for the long jump immediately preceding mcpc */
/* CogX64Compiler>>#jumpLongTargetBeforeFollowingAddress: */
static sqInt NoDbgRegParms
jumpLongTargetBeforeFollowingAddress(AbstractInstruction * self_in_jumpLongTargetBeforeFollowingAddress, sqInt _mcpc)
{
	return callTargetFromReturnAddress(self_in_jumpLongTargetBeforeFollowingAddress, _mcpc);
}
/*	Answer the delta from the stack pointer after a call to the stack pointer 
	immediately prior to the call. This is used to compute the stack pointer 
	immediately prior to call from within a leaf routine, which in turn is 
	used to capture the c stack pointer to use in trampolines back into the C 
	run-time.  */
/* CogX64Compiler>>#leafCallStackPointerDelta */
static sqInt NoDbgRegParms
leafCallStackPointerDelta(AbstractInstruction * self_in_leafCallStackPointerDelta)
{
	return 8;
}
/*	Answer a literal loaded before the inline cache tag load for the return 
	address of a send. */
/* CogX64Compiler>>#literalBeforeInlineCacheTagAt: */
static sqInt NoDbgRegParms
literalBeforeInlineCacheTagAt(AbstractInstruction * self_in_literalBeforeInlineCacheTagAt, sqInt _callSiteReturnAddress)
{
	return literalBeforeFollowingAddress(self_in_literalBeforeInlineCacheTagAt, _callSiteReturnAddress - 12);
}
/*	See ModR/M byte & opcode syntax 
	In addition to the notation shown above in 'Mnemonic Syntax' on page 43, 
	the following notation indicates the size and type of operands in the 
	syntax of an instruction opcode: 
	/digit	Indicates that the ModRM byte specifies only one register or memory 
	(r/m) operand. 
	The digit is specified by the ModRM reg field and is used as an 
	instruction-opcode extension. 
	Valid digit values range from 0 to 7. 
	/r		Indicates that the ModRM byte specifies both a register operand and a 
	reg/mem (register or memory) operand. */
/* CogX64Compiler>>#mod:RM:RO: */
static sqInt NoDbgRegParms
modRMRO(AbstractInstruction * self_in_modRMRO, sqInt _mod, sqInt _regMode, sqInt _regOpcode)
{
	return (((sqInt) (((usqInt) _mod ) << 6) ) + ((sqInt) (((usqInt) (_regOpcode & 7) ) << 3) )) + (_regMode & 7);
}
/* CogX64Compiler>>#numIntRegArgs */
static sqInt NoDbgRegParms
numIntRegArgs(AbstractInstruction * self_in_numIntRegArgs)
{
	return 6;
}
/* CogX64Compiler>>#padIfPossibleWithStopsFrom:to: */
static AbstractInstruction * NoDbgRegParms
padIfPossibleWithStopsFromto(AbstractInstruction * self_in_padIfPossibleWithStopsFromto, sqInt _startAddr, sqInt _endAddr)
{
	stopsFromto(self_in_padIfPossibleWithStopsFromto, _startAddr, _endAddr);
	return self_in_padIfPossibleWithStopsFromto;
}
/*	In SysV and Win64 Extra5Reg (R15) is callee preserved */
/* CogX64Compiler>>#prepareStackToCallCFunctionInSmalltalkStack: */
static AbstractInstruction * NoDbgRegParms
prepareStackToCallCFunctionInSmalltalkStack(AbstractInstruction * self_in_prepareStackToCallCFunctionInSmalltalkStack, sqInt anInteger)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;

	/* begin MoveR:R: */
	genoperandoperand(MoveRR, SPReg, Extra5Reg);
	/* end MoveR:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(AndCqR, 0xFFFFFFFFFFFFFFF0ULL, SPReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(SubCqR, 8, SPReg);
	/* end checkQuickConstant:forInstruction: */
	return self_in_prepareStackToCallCFunctionInSmalltalkStack;
}
/* CogX64Compiler>>#relocateCallBeforeReturnPC:by: */
static AbstractInstruction * NoDbgRegParms
relocateCallBeforeReturnPCby(AbstractInstruction * self_in_relocateCallBeforeReturnPCby, sqInt _retpc, sqInt _delta)
{
	sqInt _distance;

	if (_delta != 0) {
		_distance = ((((sqInt) (((usqInt) (byteAt(_retpc - 1)) ) << 24) ) + ((sqInt) (((usqInt) (byteAt(_retpc - 2)) ) << 16) )) + ((sqInt) (((usqInt) (byteAt(_retpc - 3)) ) << 8) )) + (byteAt(_retpc - 4));
		_distance += _delta;
		{
			byteAtput(_retpc - 1, (((usqInt) _distance ) >> 24) & 0xFF);
			byteAtput(_retpc - 2, (((usqInt) _distance ) >> 16) & 0xFF);
			byteAtput(_retpc - 3, (((usqInt) _distance ) >> 8) & 0xFF);
			byteAtput(_retpc - 4, _distance & 0xFF);
		}
	}
	return self_in_relocateCallBeforeReturnPCby;
}
/* CogX64Compiler>>#returnFromCallCFunctionInSmalltalkStack: */
static AbstractInstruction * NoDbgRegParms
returnFromCallCFunctionInSmalltalkStack(AbstractInstruction * self_in_returnFromCallCFunctionInSmalltalkStack, sqInt anInteger)
{
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, Extra5Reg, SPReg);
	/* end MoveR:R: */
	return self_in_returnFromCallCFunctionInSmalltalkStack;
}
/*	Rewrite a call instruction to call a different target. This variant is 
	used to link PICs 
	in ceSendMiss et al, and to rewrite cached primitive calls. Answer the 
	extent of 
	the code change which is used to compute the range of the icache to flush.self cCode: '' 
	inSmalltalk: [cogit disassembleFrom: callSiteReturnAddress - 10 to: 
	callSiteReturnAddress - 1]. */
/* CogX64Compiler>>#rewriteCallAt:target: */
static sqInt NoDbgRegParms
rewriteCallAttarget(AbstractInstruction * self_in_rewriteCallAttarget, usqInt _callSiteReturnAddress, usqInt _callTargetAddress)
{
	usqInt _callDistance;

	{
		if (!(_callTargetAddress >= (minCallAddress()))) {
			error("linking callsite to invalid address");
		}
	}
	_callDistance = ((usqInt) ((int) (_callTargetAddress - _callSiteReturnAddress) ) );
	{
		byteAtput(_callSiteReturnAddress - 1, (((usqInt) _callDistance ) >> 24) & 0xFF);
		byteAtput(_callSiteReturnAddress - 2, (((usqInt) _callDistance ) >> 16) & 0xFF);
		byteAtput(_callSiteReturnAddress - 3, (((usqInt) _callDistance ) >> 8) & 0xFF);
		byteAtput(_callSiteReturnAddress - 4, _callDistance & 0xFF);
	}
	assert((callTargetFromReturnAddress(self_in_rewriteCallAttarget, _callSiteReturnAddress)) == _callTargetAddress);
	return 5;
}
/*	Rewrite a CallFull instruction to call a different target. This variant is 
	used to rewrite cached primitive calls. 
	Answer the extent of the code change which is used to compute the range of 
	the icache to flush. 
	On x64 this is a rewrite of 
	movq #64bits, %rax : 48 A1 b0 b1 b2 b3 b4 b5 b6 b7 
	jmp %rax : FF E0 */
/* CogX64Compiler>>#rewriteCallFullAt:target: */
static sqInt NoDbgRegParms
rewriteCallFullAttarget(AbstractInstruction * self_in_rewriteCallFullAttarget, sqInt _callSiteReturnAddress, sqInt _callTargetAddress)
{
	assert((byteAt(_callSiteReturnAddress - 12)) == 72);
	unalignedLongAtput(_callSiteReturnAddress - 10, _callTargetAddress);
	assert(((usqInt) (callFullTargetFromReturnAddress(self_in_rewriteCallFullAttarget, _callSiteReturnAddress)) ) == _callTargetAddress);
	return 12;
}
/*	Rewrite the short jump instruction to jump to a new cpic case target.prevent type inference for avoiding warning on abs */
/* CogX64Compiler>>#rewriteCPICJumpAt:target: */
static AbstractInstruction * NoDbgRegParms
rewriteCPICJumpAttarget(AbstractInstruction * self_in_rewriteCPICJumpAttarget, usqInt _addressFollowingJump, usqInt _jumpTargetAddr)
{
	sqInt _callDistance;

	_callDistance = _jumpTargetAddr - _addressFollowingJump;
	assert((SQABS(_callDistance)) < 128);
	byteAtput(_addressFollowingJump - 1, _callDistance & 0xFF);
	return self_in_rewriteCPICJumpAttarget;
}
/*	Rewrite an inline cache to call a different target for a new tag. This 
	variant is used 
	to link unlinked sends in ceSend:to:numArgs: et al. Answer the extent of 
	the code 
	change which is used to compute the range of the icache to flush. 
	N.B. On 64-bit platforms the inline cache tag is only 32-bits wide, hence 
	this code 
	is identical to that for the IA32.self cCode: '' 
	inSmalltalk: [cogit disassembleFrom: callSiteReturnAddress - 12 to: 
	callSiteReturnAddress - 1]. */
/* CogX64Compiler>>#rewriteInlineCacheAt:tag:target: */
static sqInt NoDbgRegParms
rewriteInlineCacheAttagtarget(AbstractInstruction * self_in_rewriteInlineCacheAttagtarget, usqInt _callSiteReturnAddress, sqInt _cacheTag, usqInt _callTargetAddress)
{
	usqInt _callDistance;

	{
		if (!(_callTargetAddress >= (minCallAddress()))) {
			error("linking callsite to invalid address");
		}
	}
	_callDistance = ((usqInt) ((int) (_callTargetAddress - _callSiteReturnAddress) ) );
	{
		byteAtput(_callSiteReturnAddress - 1, (((usqInt) _callDistance ) >> 24) & 0xFF);
		byteAtput(_callSiteReturnAddress - 2, (((usqInt) _callDistance ) >> 16) & 0xFF);
		byteAtput(_callSiteReturnAddress - 3, (((usqInt) _callDistance ) >> 8) & 0xFF);
		byteAtput(_callSiteReturnAddress - 4, _callDistance & 0xFF);
		byteAtput(_callSiteReturnAddress - 6, (((usqInt) _cacheTag ) >> 24) & 0xFF);
		byteAtput(_callSiteReturnAddress - 7, (((usqInt) _cacheTag ) >> 16) & 0xFF);
		byteAtput(_callSiteReturnAddress - 8, (((usqInt) _cacheTag ) >> 8) & 0xFF);
		byteAtput(_callSiteReturnAddress - 9, _cacheTag & 0xFF);
	}
	assert((callTargetFromReturnAddress(self_in_rewriteInlineCacheAttagtarget, _callSiteReturnAddress)) == _callTargetAddress);
	return 12;
}
/*	Rewrite an inline cache with a new tag. This variant is used 
	by the garbage collector. */
/* CogX64Compiler>>#rewriteInlineCacheTag:at: */
static AbstractInstruction * NoDbgRegParms
rewriteInlineCacheTagat(AbstractInstruction * self_in_rewriteInlineCacheTagat, sqInt _cacheTag, sqInt _callSiteReturnAddress)
{
	unalignedLong32Atput(self_in_rewriteInlineCacheTagat, _callSiteReturnAddress - 9, _cacheTag);
	return self_in_rewriteInlineCacheTagat;
}
/*	Rewrite a JumpFull instruction to jump to a different target. This variant 
	is used to rewrite cached primitive calls. 
	Answer the extent of the code change which is used to compute the range of 
	the icache to flush. 
	On x64 this is a rewrite of 
	movq #64bits, %rax : 48 A1 b0 b1 b2 b3 b4 b5 b6 b7 
	jmp %rax : FF E0 */
/* CogX64Compiler>>#rewriteJumpFullAt:target: */
static sqInt NoDbgRegParms
rewriteJumpFullAttarget(AbstractInstruction * self_in_rewriteJumpFullAttarget, sqInt _callSiteReturnAddress, sqInt _callTargetAddress)
{
	return rewriteCallFullAttarget(self_in_rewriteJumpFullAttarget, _callSiteReturnAddress, _callTargetAddress);
}
/*	<0-15> */
/* CogX64Compiler>>#rexR:x:b: */
static sqInt NoDbgRegParms
rexRxb(AbstractInstruction * self_in_rexRxb, sqInt _reg, sqInt _sibReg, sqInt _fieldReg)
{
	return rexwrxb(self_in_rexRxb, 1, _reg, _sibReg, _fieldReg);
}
/*	<0-15>Given width64, the R register, sib register, and modrm/sib/reg field 
	register, answer the correctly encoded REX prefix byte. 
	See AMD64 Architecture Programmer's Manual Volume 3: General-Purpose and 
	System Instructions, Table 1-11 */
/* CogX64Compiler>>#rexw:r:x:b: */
static sqInt NoDbgRegParms
rexwrxb(AbstractInstruction * self_in_rexwrxb, sqInt _width64, sqInt _reg, sqInt _sibReg, sqInt _fieldReg)
{
	sqInt _regBits;

	_regBits = ((((usqInt) (_reg & 8) ) >> 1) + (((usqInt) (_sibReg & 8) ) >> 2)) + (((usqInt) _fieldReg ) >> 3);
	return (((_width64)
		 ? 72
		 : 64)) + _regBits;
}
/*	to save Slang from having to be a real compiler (it can't inline switches 
	that return)Answer if the receiver's opcode sets the condition codes correctly for the 
	given conditional jump opcode. */
/* CogX64Compiler>>#setsConditionCodesFor: */
static sqInt NoDbgRegParms
setsConditionCodesFor(AbstractInstruction * self_in_setsConditionCodesFor, sqInt _aConditionalJumpOpcode)
{
	switch ((self_in_setsConditionCodesFor->opcode)) {
		case ArithmeticShiftRightCqR:
		case ArithmeticShiftRightRR:
		case LogicalShiftLeftCqR:
		case LogicalShiftLeftRR:
		{
			return (_aConditionalJumpOpcode >= JumpZero) && (_aConditionalJumpOpcode <= JumpNonNegative);
		}
		case LogicalShiftRightCqR:
		{
			return 0;
		}
		case XorRR:
		{
			return 1;
		}
		default:
		{
			haltmsg("unhandled opcode in setsConditionCodesFor:");
			return 0;
		}
	}
}
/* CogX64Compiler>>#stopsFrom:to: */
static AbstractInstruction * NoDbgRegParms
stopsFromto(AbstractInstruction * self_in_stopsFromto, sqInt _startAddr, sqInt _endAddr)
{
	memset(_startAddr, 204, (_endAddr - _startAddr) + 1);
	return self_in_stopsFromto;
}
/*	Rewrite the 32-bit literal in the instruction immediately preceding 
	followingAddress.  */
/* CogX64Compiler>>#storeLiteral32:beforeFollowingAddress: */
static AbstractInstruction * NoDbgRegParms
storeLiteral32beforeFollowingAddress(AbstractInstruction * self_in_storeLiteral32beforeFollowingAddress, sqInt _literal, sqInt _followingAddress)
{
	{
		byteAtput(_followingAddress - 1, (((usqInt) _literal ) >> 24) & 0xFF);
		byteAtput(_followingAddress - 2, (((usqInt) _literal ) >> 16) & 0xFF);
		byteAtput(_followingAddress - 3, (((usqInt) _literal ) >> 8) & 0xFF);
		byteAtput(_followingAddress - 4, _literal & 0xFF);
	}
	return self_in_storeLiteral32beforeFollowingAddress;
}
/* CogX64Compiler>>#s:i:b: */
static sqInt NoDbgRegParms
sib(AbstractInstruction * self_in_sib, sqInt _scale, sqInt _indexReg, sqInt _baseReg)
{
	return (((sqInt) (((usqInt) _scale ) << 6) ) + ((sqInt) (((usqInt) (_indexReg & 7) ) << 3) )) + (_baseReg & 7);
}
/* CogX64Compiler>>#unalignedLong32At: */
static int NoDbgRegParms
unalignedLong32At(AbstractInstruction * self_in_unalignedLong32At, sqInt _byteAddress)
{
	int _readValue;

	_readValue = 0;
	{
		memcpy(&_readValue, _byteAddress, sizeof(_readValue));
		return _readValue;
	}
	return self_in_unalignedLong32At;
}
/*	Ensure that the register args are pushed before the outer and 
	inner retpcs at an entry miss for arity <= self numRegArgs. The 
	outer retpc is that of a call at a send site. The inner is the call 
	from a method or PIC abort/miss to the trampoline.This won't be as clumsy on a RISC. But putting the receiver and 
	args above the return address means the CoInterpreter has a 
	single machine-code frame format which saves us a lot of work.Iff there are register args convert 
	base	->	outerRetpc		(send site retpc) 
	sp		->	innerRetpc		(PIC abort/miss retpc) 
	to 
	base	->	receiver 
	(arg0) 
	(arg1) 
	outerRetpc 
	sp		->	innerRetpc		(PIC abort/miss retpc) */
/* CogX86Compiler>>#genPushRegisterArgsForAbortMissNumArgs: */
static AbstractInstruction * NoDbgRegParms
genPushRegisterArgsForAbortMissNumArgs(AbstractInstruction * self_in_genPushRegisterArgsForAbortMissNumArgs, sqInt _numArgs)
{
	sqInt literal;
	sqInt literal10;
	sqInt literal11;
	sqInt literal2;
	sqInt literal3;
	sqInt literal4;
	sqInt literal5;
	sqInt literal6;
	sqInt literal7;
	sqInt literal8;
	sqInt literal9;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction10;
	AbstractInstruction *_anInstruction11;
	AbstractInstruction *_anInstruction12;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_anInstruction8;
	AbstractInstruction *_anInstruction9;

	if (_numArgs <= 2) {
		assert((numRegArgs()) <= 2);
		if (_numArgs == 0) {
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperandoperandoperand(MoveMwrR, 0, SPReg, TempReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin PushR: */
			genoperand(PushR, TempReg);
			/* end PushR: */
			/* begin checkQuickConstant:forInstruction: */
			literal = BytesPerWord * 2;
			_anInstruction2 = genoperandoperandoperand(MoveMwrR, BytesPerWord * 2, SPReg, TempReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin checkQuickConstant:forInstruction: */
			literal2 = BytesPerWord;
			_anInstruction3 = genoperandoperandoperand(MoveRMwr, TempReg, BytesPerWord, SPReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin checkQuickConstant:forInstruction: */
			literal3 = 2 * BytesPerWord;
			_anInstruction4 = genoperandoperandoperand(MoveRMwr, ReceiverResultReg, 2 * BytesPerWord, SPReg);
			/* end checkQuickConstant:forInstruction: */
			return self_in_genPushRegisterArgsForAbortMissNumArgs;
		}
		if (_numArgs == 1) {
			/* begin checkQuickConstant:forInstruction: */
			literal4 = BytesPerWord;
			_anInstruction5 = genoperandoperandoperand(MoveMwrR, BytesPerWord, SPReg, TempReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin PushR: */
			genoperand(PushR, TempReg);
			/* end PushR: */
			/* begin checkQuickConstant:forInstruction: */
			literal5 = BytesPerWord;
			_anInstruction6 = genoperandoperandoperand(MoveMwrR, BytesPerWord, SPReg, TempReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin PushR: */
			genoperand(PushR, TempReg);
			/* end PushR: */
			/* begin checkQuickConstant:forInstruction: */
			literal6 = 3 * BytesPerWord;
			_anInstruction7 = genoperandoperandoperand(MoveRMwr, ReceiverResultReg, 3 * BytesPerWord, SPReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin checkQuickConstant:forInstruction: */
			literal7 = 2 * BytesPerWord;
			_anInstruction8 = genoperandoperandoperand(MoveRMwr, Arg0Reg, 2 * BytesPerWord, SPReg);
			/* end checkQuickConstant:forInstruction: */
			return self_in_genPushRegisterArgsForAbortMissNumArgs;
		}
		if (_numArgs == 2) {
			/* begin PushR: */
			genoperand(PushR, Arg1Reg);
			/* end PushR: */
			/* begin checkQuickConstant:forInstruction: */
			literal8 = BytesPerWord * 2;
			_anInstruction9 = genoperandoperandoperand(MoveMwrR, BytesPerWord * 2, SPReg, TempReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin PushR: */
			genoperand(PushR, TempReg);
			/* end PushR: */
			/* begin checkQuickConstant:forInstruction: */
			literal9 = BytesPerWord * 2;
			_anInstruction10 = genoperandoperandoperand(MoveMwrR, BytesPerWord * 2, SPReg, TempReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin PushR: */
			genoperand(PushR, TempReg);
			/* end PushR: */
			/* begin checkQuickConstant:forInstruction: */
			literal10 = 4 * BytesPerWord;
			_anInstruction11 = genoperandoperandoperand(MoveRMwr, ReceiverResultReg, 4 * BytesPerWord, SPReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin checkQuickConstant:forInstruction: */
			literal11 = 3 * BytesPerWord;
			_anInstruction12 = genoperandoperandoperand(MoveRMwr, Arg0Reg, 3 * BytesPerWord, SPReg);
			/* end checkQuickConstant:forInstruction: */
			return self_in_genPushRegisterArgsForAbortMissNumArgs;
		}
	}
	return self_in_genPushRegisterArgsForAbortMissNumArgs;
}
/* InLineLiteralsManager>>#checkLiteral:forInstruction: */
static AbstractInstruction * NoDbgRegParms
checkLiteralforInstruction(sqInt literal, AbstractInstruction *_anInstruction)
{
	return _anInstruction;
}
/* InLineLiteralsManager>>#checkQuickConstant:forInstruction: */
static AbstractInstruction * NoDbgRegParms
checkQuickConstantforInstruction(sqInt literal, AbstractInstruction *_anInstruction)
{
	return _anInstruction;
}
/*	After pushing the temporaries but before the stack limit check a primitive 
	method needs to fetch the error code, if any. If the primitive has failed, 
	call the trampoline 
	that will assign it to the last temp. */
/* SimpleStackBasedCogit>>#compileGetErrorCode */
static void
compileGetErrorCode(void)
{
	AbstractInstruction *_abstractInstruction;
	sqInt _address;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_jmpNoError;

	/* begin MoveAw:R: */
	_address = primFailCodeAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction = genoperandoperand(MoveAwR, _address, TempReg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	flag("ask concrete code gen if move sets condition codes?");
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, 0, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpZero: */
	_jmpNoError = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	addDependent(methodLabel, annotateAbsolutePCRef(checkLiteralforInstruction(((sqInt) methodLabel ), genoperandoperand(MoveCwR, ((sqInt) methodLabel ), ClassReg))));
	/* begin CallRT: */
	/* begin annotateCall: */
	_abstractInstruction = genoperand(Call, ceReapAndResetErrorCodeTrampoline);
	(_abstractInstruction->annotation = IsRelativeCall);
	/* end annotateCall: */
	/* end CallRT: */
	jmpTarget(_jmpNoError, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
}
/* SimpleStackBasedCogit>>#compileInterpreterPrimitive */
static sqInt
compileInterpreterPrimitive(void)
{
	void (*_primitiveRoutine)(void);

	_primitiveRoutine = functionPointerForCompiledMethodprimitiveIndex(methodObj, primitiveIndex);
	return compileInterpreterPrimitiveflags(_primitiveRoutine, primitivePropertyFlagsprimitiveDescriptor(primitiveIndex, primitiveDescriptor()));
}
/*	Compile a call to an interpreter primitive. Call the C routine with the 
	usual stack-switching dance, test the primFailCode and then either 
	return on success or continue to the method body. */
/* SimpleStackBasedCogit>>#compileInterpreterPrimitiveMayCallBack:flags: */
static sqInt NoDbgRegParms
compileInterpreterPrimitiveMayCallBackflags(void (*_primitiveRoutine)(void), sqInt _flags)
{
	sqInt literal;
	sqInt _address3;
	sqInt _address4;
	sqInt _address5;
	sqInt _address6;
	sqInt _address7;
	sqInt _address8;
	sqInt _address9;
	AbstractInstruction *_anInstruction11;
	AbstractInstruction *_anInstruction13;
	AbstractInstruction *_anInstruction14;
	AbstractInstruction *_anInstruction15;
	AbstractInstruction *_anInstruction16;
	AbstractInstruction *_anInstruction17;
	AbstractInstruction *_anInstruction18;
	AbstractInstruction *_anInstruction19;
	AbstractInstruction *_anInstruction23;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_anInstruction8;
	AbstractInstruction *_anInstruction9;
	sqInt _arrivingJmp;
	CogPrimitiveCallState *_cogPrimitiveCallState;
	sqInt _offset;
	sqInt _operand2;
	sqInt _retpc;
	sqInt _returningLabel;

	_cogPrimitiveCallState = ((CogPrimitiveCallState*) (alloca(sizeof(CogPrimitiveCallState))) );
	genExternalizePointersForPrimitiveCall();
	genLoadCStackPointersForPrimCall();
	if (_flags & PrimCallCollectsProfileSamples) {
		{
			/* begin MoveAw:R: */
			_address3 = nextProfileTickAddress();
			/* begin checkLiteral:forInstruction: */
			_anInstruction3 = genoperandoperand(MoveAwR, _address3, TempReg);
			/* end checkLiteral:forInstruction: */
			/* end MoveAw:R: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction4 = genoperandoperand(CmpCqR, 0, TempReg);
			/* end checkQuickConstant:forInstruction: */
		}
		(_cogPrimitiveCallState->jmpSampleNonPrim = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 )));
		(_cogPrimitiveCallState->continuePostSampleNonPrim = genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	if (recordPrimTrace()) {
		genFastPrimTraceUsingand(ClassReg, SendNumArgsReg);
	}
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction16 = genoperandoperand(MoveCqR, 0, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin MoveR:Aw: */
	_address7 = primFailCodeAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction17 = genoperandoperand(MoveRAw, TempReg, _address7);
	/* end checkLiteral:forInstruction: */
	/* end MoveR:Aw: */
	if (methodOrBlockNumArgs != 0) {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(MoveCqR, methodOrBlockNumArgs, TempReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin MoveR:Aw: */
	_address8 = argumentCountAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction18 = genoperandoperand(MoveRAw, TempReg, _address8);
	/* end checkLiteral:forInstruction: */
	/* end MoveR:Aw: */
	if (_flags & PrimCallNeedsPrimitiveFunction) {
		/* begin checkLiteral:forInstruction: */
		literal = ((sqInt) _primitiveRoutine );
		_anInstruction6 = genoperandoperand(MoveCwR, ((sqInt) _primitiveRoutine ), TempReg);
		/* end checkLiteral:forInstruction: */
		/* begin MoveR:Aw: */
		_address4 = primitiveFunctionPointerAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction7 = genoperandoperand(MoveRAw, TempReg, _address4);
		primSetFunctionLabel = _anInstruction7;
		/* end checkLiteral:forInstruction: */
		/* end MoveR:Aw: */
	}
	if (_flags & (PrimCallNeedsNewMethod + PrimCallMayCallBack)) {
		if (_flags & PrimCallMayCallBack) {
			needsFrame = 1;
		}
		addDependent(methodLabel, annotateAbsolutePCRef(checkLiteralforInstruction(((sqInt) methodLabel ), genoperandoperand(MoveCwR, ((sqInt) methodLabel ), ClassReg))));
		/* begin MoveMw:r:R: */
		_offset = offsetof(CogMethod, methodObject);
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction8 = genoperandoperandoperand(MoveMwrR, _offset, ClassReg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
		/* begin MoveR:Aw: */
		_address5 = newMethodAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction9 = genoperandoperand(MoveRAw, TempReg, _address5);
		/* end checkLiteral:forInstruction: */
		/* end MoveR:Aw: */
	}
	/* begin PrefetchAw: */
	_address9 = primFailCodeAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction19 = genoperand(PrefetchAw, _address9);
	/* end checkLiteral:forInstruction: */
	/* end PrefetchAw: */
	assert(_flags & PrimCallNeedsPrimitiveFunction);
	{
		/* begin genMarshallNArgs:arg:arg:arg:arg: */
		{
			goto l29;
		}
		{
			{
				{
					/* begin MoveR:R: */
					genoperandoperand(MoveRR, 0, RDI);
					/* end MoveR:R: */
				}
			}
			{
				{
					/* begin MoveR:R: */
					genoperandoperand(MoveRR, 0, RSI);
					/* end MoveR:R: */
				}
			}
			{
				{
					/* begin MoveR:R: */
					genoperandoperand(MoveRR, 0, RDX);
					/* end MoveR:R: */
				}
			}
			{
				{
					/* begin MoveR:R: */
					genoperandoperand(MoveRR, 0, RCX);
					/* end MoveR:R: */
				}
			}
		}
		assert(0 <= 4);
		l29:
		;
		/* end genMarshallNArgs:arg:arg:arg:arg: */
		/* begin genSubstituteReturnAddress: */
		_retpc = ((_flags & PrimCallCollectsProfileSamples)
			 ? cePrimReturnEnterCogCodeProfiling
			 : cePrimReturnEnterCogCode);
		/* begin checkLiteral:forInstruction: */
		_anInstruction11 = genoperand(PushCw, _retpc);
		/* end checkLiteral:forInstruction: */
		/* end genSubstituteReturnAddress: */
	}
	{
		/* begin gen:literal: */
		/* begin checkLiteral:forInstruction: */
		_anInstruction13 = genoperand(JumpFull, ((sqInt) ((sqInt) _primitiveRoutine ) ));
		primInvokeInstruction = _anInstruction13;
		/* end checkLiteral:forInstruction: */
		/* end gen:literal: */
	}
	if (_flags & PrimCallCollectsProfileSamples) {
		/* begin generateCheckProfileTickFromJump:returningTo:beforeCallDo: */
		_arrivingJmp = ((sqInt) ((_cogPrimitiveCallState->jmpSampleNonPrim)) );
		_returningLabel = ((sqInt) ((_cogPrimitiveCallState->continuePostSampleNonPrim)) );
		jmpTarget(_arrivingJmp, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
		{
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction14 = genoperandoperand(MoveCqR, 0, TempReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin MoveR:Aw: */
			_address6 = newMethodAddress();
			/* begin checkLiteral:forInstruction: */
			_anInstruction15 = genoperandoperand(MoveRAw, TempReg, _address6);
			/* end checkLiteral:forInstruction: */
			/* end MoveR:Aw: */
		}
		{
			/* begin gen:literal: */
			_operand2 = ((usqIntptr_t) ceCheckProfileTick );
			/* begin checkLiteral:forInstruction: */
			_anInstruction23 = genoperand(CallFull, _operand2);
			/* end checkLiteral:forInstruction: */
			/* end gen:literal: */
		}
		/* begin Jump: */
		genoperand(Jump, ((sqInt) ((void *) _returningLabel ) ));
		/* end Jump: */
		/* end generateCheckProfileTickFromJump:returningTo:beforeCallDo: */
	}
	return 0;
}
/*	Compile a call to an interpreter primitive. Call the C routine with the 
	usual stack-switching dance, test the primFailCode and then either 
	return on success or continue to the method body. */
/* SimpleStackBasedCogit>>#compileInterpreterPrimitive:flags: */
static sqInt NoDbgRegParms
compileInterpreterPrimitiveflags(void (*_primitiveRoutine)(void), sqInt _flags)
{
	sqInt literal;
	sqInt _address10;
	sqInt _address11;
	sqInt _address12;
	sqInt _address13;
	sqInt _address14;
	sqInt _address3;
	sqInt _address4;
	sqInt _address5;
	sqInt _address8;
	sqInt _address9;
	AbstractInstruction *_anInstruction11;
	AbstractInstruction *_anInstruction14;
	AbstractInstruction *_anInstruction15;
	AbstractInstruction *_anInstruction16;
	AbstractInstruction *_anInstruction17;
	AbstractInstruction *_anInstruction18;
	AbstractInstruction *_anInstruction19;
	AbstractInstruction *_anInstruction20;
	AbstractInstruction *_anInstruction21;
	AbstractInstruction *_anInstruction210;
	AbstractInstruction *_anInstruction211;
	AbstractInstruction *_anInstruction25;
	AbstractInstruction *_anInstruction26;
	AbstractInstruction *_anInstruction27;
	AbstractInstruction *_anInstruction28;
	AbstractInstruction *_anInstruction29;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_anInstruction8;
	AbstractInstruction *_anInstruction9;
	sqInt _arrivingJmp;
	sqInt _arrivingJmp2;
	CogPrimitiveCallState *_cogPrimitiveCallState;
	sqInt _offset;
	sqInt _offset2;
	sqInt _offset3;
	sqInt _operand2;
	sqInt _operand22;
	sqInt _reg;
	sqInt _returningLabel;
	sqInt _returningLabel2;

	if (_flags & PrimCallMayCallBack) {
		return compileInterpreterPrimitiveMayCallBackflags(_primitiveRoutine, _flags);
	}
	_cogPrimitiveCallState = ((CogPrimitiveCallState*) (alloca(sizeof(CogPrimitiveCallState))) );
	genExternalizePointersForPrimitiveCall();
	genLoadCStackPointersForPrimCall();
	if (_flags & PrimCallCollectsProfileSamples) {
		{
			/* begin MoveAw:R: */
			_address3 = nextProfileTickAddress();
			/* begin checkLiteral:forInstruction: */
			_anInstruction3 = genoperandoperand(MoveAwR, _address3, TempReg);
			/* end checkLiteral:forInstruction: */
			/* end MoveAw:R: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction4 = genoperandoperand(CmpCqR, 0, TempReg);
			/* end checkQuickConstant:forInstruction: */
		}
		(_cogPrimitiveCallState->jmpSampleNonPrim = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 )));
		(_cogPrimitiveCallState->continuePostSampleNonPrim = genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	if (recordPrimTrace()) {
		genFastPrimTraceUsingand(ClassReg, SendNumArgsReg);
	}
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction18 = genoperandoperand(MoveCqR, 0, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin MoveR:Aw: */
	_address10 = primFailCodeAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction19 = genoperandoperand(MoveRAw, TempReg, _address10);
	/* end checkLiteral:forInstruction: */
	/* end MoveR:Aw: */
	if (methodOrBlockNumArgs != 0) {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction5 = genoperandoperand(MoveCqR, methodOrBlockNumArgs, TempReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin MoveR:Aw: */
	_address11 = argumentCountAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction20 = genoperandoperand(MoveRAw, TempReg, _address11);
	/* end checkLiteral:forInstruction: */
	/* end MoveR:Aw: */
	if (_flags & PrimCallNeedsPrimitiveFunction) {
		/* begin checkLiteral:forInstruction: */
		literal = ((sqInt) _primitiveRoutine );
		_anInstruction6 = genoperandoperand(MoveCwR, ((sqInt) _primitiveRoutine ), TempReg);
		/* end checkLiteral:forInstruction: */
		/* begin MoveR:Aw: */
		_address4 = primitiveFunctionPointerAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction7 = genoperandoperand(MoveRAw, TempReg, _address4);
		primSetFunctionLabel = _anInstruction7;
		/* end checkLiteral:forInstruction: */
		/* end MoveR:Aw: */
	}
	if (_flags & (PrimCallNeedsNewMethod + PrimCallMayCallBack)) {
		if (_flags & PrimCallMayCallBack) {
			needsFrame = 1;
		}
		addDependent(methodLabel, annotateAbsolutePCRef(checkLiteralforInstruction(((sqInt) methodLabel ), genoperandoperand(MoveCwR, ((sqInt) methodLabel ), ClassReg))));
		/* begin MoveMw:r:R: */
		_offset = offsetof(CogMethod, methodObject);
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction8 = genoperandoperandoperand(MoveMwrR, _offset, ClassReg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
		/* begin MoveR:Aw: */
		_address5 = newMethodAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction9 = genoperandoperand(MoveRAw, TempReg, _address5);
		/* end checkLiteral:forInstruction: */
		/* end MoveR:Aw: */
	}
	/* begin PrefetchAw: */
	_address12 = primFailCodeAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction21 = genoperand(PrefetchAw, _address12);
	/* end checkLiteral:forInstruction: */
	/* end PrefetchAw: */
	/* begin genMarshallNArgs:arg:arg:arg:arg: */
	{
		goto l44;
	}
	{
		{
			{
				/* begin MoveR:R: */
				genoperandoperand(MoveRR, 0, RDI);
				/* end MoveR:R: */
			}
		}
		{
			{
				/* begin MoveR:R: */
				genoperandoperand(MoveRR, 0, RSI);
				/* end MoveR:R: */
			}
		}
		{
			{
				/* begin MoveR:R: */
				genoperandoperand(MoveRR, 0, RDX);
				/* end MoveR:R: */
			}
		}
		{
			{
				/* begin MoveR:R: */
				genoperandoperand(MoveRR, 0, RCX);
				/* end MoveR:R: */
			}
		}
	}
	assert(0 <= 4);
	l44:
	;
	/* end genMarshallNArgs:arg:arg:arg:arg: */
	{
		/* begin gen:literal: */
		/* begin checkLiteral:forInstruction: */
		_anInstruction11 = genoperand(CallFull, ((sqInt) _primitiveRoutine ));
		primInvokeInstruction = _anInstruction11;
		/* end checkLiteral:forInstruction: */
		/* end gen:literal: */
	}
	/* begin genRemoveNArgsFromStack: */
	assert(0 <= 4);
	/* end genRemoveNArgsFromStack: */
	if (_flags & PrimCallCollectsProfileSamples) {
		assert(_flags & PrimCallNeedsNewMethod);
		{
			/* begin MoveAw:R: */
			_address8 = nextProfileTickAddress();
			/* begin checkLiteral:forInstruction: */
			_anInstruction14 = genoperandoperand(MoveAwR, _address8, TempReg);
			/* end checkLiteral:forInstruction: */
			/* end MoveAw:R: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction15 = genoperandoperand(CmpCqR, 0, TempReg);
			/* end checkQuickConstant:forInstruction: */
		}
		(_cogPrimitiveCallState->jmpSamplePrim = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 )));
		(_cogPrimitiveCallState->continuePostSamplePrim = genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	maybeCompileRetryOnPrimitiveFail(primitiveIndex);
	maybeCompileAllocFillerCheck();
	/* begin MoveAw:R: */
	_address13 = instructionPointerAddress();
	_reg = ClassReg;
	/* begin checkLiteral:forInstruction: */
	_anInstruction25 = genoperandoperand(MoveAwR, _address13, _reg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	genLoadStackPointers(backEnd);
	/* begin MoveAw:R: */
	_address14 = primFailCodeAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction26 = genoperandoperand(MoveAwR, _address14, TempReg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	{
		/* begin PushR: */
		genoperand(PushR, ClassReg);
		/* end PushR: */
	}
	flag("ask concrete code gen if move sets condition codes?");
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction27 = genoperandoperand(CmpCqR, 0, TempReg);
	/* end checkQuickConstant:forInstruction: */
	(_cogPrimitiveCallState->jmpToFallbackCode = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 )));
	/* begin MoveMw:r:R: */
	_offset2 = BytesPerWord;
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction28 = genoperandoperandoperand(MoveMwrR, _offset2, SPReg, ReceiverResultReg);
	/* end checkQuickConstant:forInstruction: */
	/* end MoveMw:r:R: */
	/* begin RetN: */
	genoperand(RetN, BytesPerWord);
	/* end RetN: */
	if (_flags & PrimCallCollectsProfileSamples) {
		/* begin generateCheckProfileTickFromJump:returningTo:beforeCallDo: */
		_arrivingJmp = ((sqInt) ((_cogPrimitiveCallState->jmpSamplePrim)) );
		_returningLabel = ((sqInt) ((_cogPrimitiveCallState->continuePostSamplePrim)) );
		jmpTarget(_arrivingJmp, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
		{
		}
		{
			/* begin gen:literal: */
			_operand2 = ((usqIntptr_t) ceCheckProfileTick );
			/* begin checkLiteral:forInstruction: */
			_anInstruction210 = genoperand(CallFull, _operand2);
			/* end checkLiteral:forInstruction: */
			/* end gen:literal: */
		}
		/* begin Jump: */
		genoperand(Jump, ((sqInt) ((void *) _returningLabel ) ));
		/* end Jump: */
		/* end generateCheckProfileTickFromJump:returningTo:beforeCallDo: */
		/* begin generateCheckProfileTickFromJump:returningTo:beforeCallDo: */
		_arrivingJmp2 = ((sqInt) ((_cogPrimitiveCallState->jmpSampleNonPrim)) );
		_returningLabel2 = ((sqInt) ((_cogPrimitiveCallState->continuePostSampleNonPrim)) );
		jmpTarget(_arrivingJmp2, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
		{
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction16 = genoperandoperand(MoveCqR, 0, TempReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin MoveR:Aw: */
			_address9 = newMethodAddress();
			/* begin checkLiteral:forInstruction: */
			_anInstruction17 = genoperandoperand(MoveRAw, TempReg, _address9);
			/* end checkLiteral:forInstruction: */
			/* end MoveR:Aw: */
		}
		{
			/* begin gen:literal: */
			_operand22 = ((usqIntptr_t) ceCheckProfileTick );
			/* begin checkLiteral:forInstruction: */
			_anInstruction211 = genoperand(CallFull, _operand22);
			/* end checkLiteral:forInstruction: */
			/* end gen:literal: */
		}
		/* begin Jump: */
		genoperand(Jump, ((sqInt) ((void *) _returningLabel2 ) ));
		/* end Jump: */
		/* end generateCheckProfileTickFromJump:returningTo:beforeCallDo: */
	}
	jmpTarget((_cogPrimitiveCallState->jmpToFallbackCode), genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	/* begin MoveMw:r:R: */
	_offset3 = BytesPerWord * (methodOrBlockNumArgs + 1);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction29 = genoperandoperandoperand(MoveMwrR, _offset3, SPReg, ReceiverResultReg);
	/* end checkQuickConstant:forInstruction: */
	/* end MoveMw:r:R: */
	return 0;
}
/*	Compile a call to a machine-code convention interpreter primitive. Call 
	the C routine 
	on the Smalltalk stack, assuming it consumes little or no stack space.for now handle functions with less than 4 arguments; our C call 
	marshalling machinery 
	extends up to 4 arguments only, and the first argument of an mcprim is the 
	receiver.  */
/* SimpleStackBasedCogit>>#compileMachineCodeInterpreterPrimitive: */
static sqInt NoDbgRegParms
compileMachineCodeInterpreterPrimitive(void (*_primitiveRoutine)(void))
{
	AbstractInstruction *_anInstruction11;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction * _jmpFail;
	sqInt _liveRegsMask;
	sqInt _n;
	sqInt _numArgs;
	sqInt _offset;
	sqInt _reg1;

	assert(methodOrBlockNumArgs <= 3);
	if ((methodOrBlockNumArgs > 2) || (methodOrBlockNumArgs == 0)) {
		/* begin registerMaskFor:and: */
		_liveRegsMask = (1U << ReceiverResultReg) | (1U << ClassReg);
		/* end registerMaskFor:and: */
	} else {
		if (methodOrBlockNumArgs > 1) {
			/* begin registerMaskFor:and:and:and: */
			_liveRegsMask = (((1U << ReceiverResultReg) | (1U << Arg0Reg)) | (1U << Arg1Reg)) | (1U << ClassReg);
			/* end registerMaskFor:and:and:and: */
		}
 else {
			/* begin registerMaskFor:and:and: */
			_liveRegsMask = ((1U << ReceiverResultReg) | (1U << Arg0Reg)) | (1U << ClassReg);
			/* end registerMaskFor:and:and: */
		}
	}
	genSaveRegs(backEnd, _liveRegsMask & CallerSavedRegisterMask);
	if (methodOrBlockNumArgs > 2) {
		error("shouldBeImplemented");
	}
	prepareStackToCallCFunctionInSmalltalkStack(backEnd, methodOrBlockNumArgs + 1);
	/* begin genMarshallNArgs:arg:arg:arg:arg: */
	_numArgs = methodOrBlockNumArgs + 1;
	if (_numArgs == 0) {
		goto l31;
	}
	{
		{
			{
				/* begin MoveR:R: */
				genoperandoperand(MoveRR, ReceiverResultReg, RDI);
				/* end MoveR:R: */
			}
		}
		if (_numArgs == 1) {
			goto l31;
		}
		{
			{
				/* begin MoveR:R: */
				genoperandoperand(MoveRR, Arg0Reg, RSI);
				/* end MoveR:R: */
			}
		}
		if (_numArgs == 2) {
			goto l31;
		}
		{
			{
				/* begin MoveR:R: */
				genoperandoperand(MoveRR, Arg1Reg, RDX);
				/* end MoveR:R: */
			}
		}
		if (_numArgs == 3) {
			goto l31;
		}
		{
			{
				/* begin MoveR:R: */
				genoperandoperand(MoveRR, SendNumArgsReg, RCX);
				/* end MoveR:R: */
			}
		}
	}
	assert(_numArgs <= 4);
	l31:
	;
	/* end genMarshallNArgs:arg:arg:arg:arg: */
	{
		/* begin gen:literal: */
		/* begin checkLiteral:forInstruction: */
		_anInstruction2 = genoperand(CallFull, ((sqInt) _primitiveRoutine ));
		/* end checkLiteral:forInstruction: */
		/* end gen:literal: */
	}
	{
		/* begin genRemoveNArgsFromStack: */
		_n = methodOrBlockNumArgs + 1;
		assert(_n <= 4);
		/* end genRemoveNArgsFromStack: */
		returnFromCallCFunctionInSmalltalkStack(backEnd, methodOrBlockNumArgs + 1);
		genRestoreRegs(backEnd, _liveRegsMask & CallerSavedRegisterMask);
	}
	/* begin CmpCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction11 = genoperandoperand(CmpCqR, 0, RAX);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpZero: */
	_jmpFail = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	{
		/* begin MoveR:R: */
		_reg1 = RAX;
		genoperandoperand(MoveRR, _reg1, ReceiverResultReg);
		/* end MoveR:R: */
	}
	/* begin RetN: */
	_offset = ((methodOrBlockNumArgs > 2)
		 ? (methodOrBlockNumArgs + 1) * BytesPerWord
		 : 0);
	genoperand(RetN, _offset);
	/* end RetN: */
	jmpTarget(_jmpFail, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return 0;
}
/*	Compile one method cache probe in an OpenPIC's lookup of selector. 
	Answer the jump taken if the selector probe fails. 
	The class tag of the receiver must be in SendNumArgsReg. ClassReg and 
	TempReg are used as scratch registers. 
	On a hit, the offset of the entry is in ClassReg. */
/* SimpleStackBasedCogit>>#compileOpenPICMethodCacheProbeFor:withShift:baseRegOrNone: */
static AbstractInstruction * NoDbgRegParms
compileOpenPICMethodCacheProbeForwithShiftbaseRegOrNone(sqInt _selector, sqInt _shift, sqInt _baseRegOrNone)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_jumpSelectorMiss;
	sqInt _offset;
	sqInt _offset2;

	/* begin MoveR:R: */
	genoperandoperand(MoveRR, SendNumArgsReg, ClassReg);
	/* end MoveR:R: */
	maybeShiftClassTagRegisterForMethodCacheProbe(ClassReg);
	annotateobjRef(checkLiteralforInstruction(_selector, genoperandoperand(XorCwR, _selector, ClassReg)), _selector);
	assert(_shift <= (shiftForWord()));
	if (_shift < (shiftForWord())) {
		/* begin LogicalShiftLeftCq:R: */
		genoperandoperand(LogicalShiftLeftCqR, (shiftForWord()) - _shift, ClassReg);
		/* end LogicalShiftLeftCq:R: */
	}
	/* begin AndCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction5 = genoperandoperand(AndCqR, ((sqInt) (((usqInt) MethodCacheMask ) << (shiftForWord())) ), ClassReg);
	/* end checkQuickConstant:forInstruction: */
	/* end AndCq:R: */
	if (_baseRegOrNone == NoReg) {
		/* begin MoveMw:r:R: */
		_offset = ((usqInt) (methodCacheAddress()) ) + ((sqInt) (((usqInt) MethodCacheSelector ) << (shiftForWord())) );
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMwrR, _offset, ClassReg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
	} else {
		{
			/* begin AddR:R: */
			genoperandoperand(AddRR, _baseRegOrNone, ClassReg);
			/* end AddR:R: */
			/* begin MoveMw:r:R: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction2 = genoperandoperandoperand(MoveMwrR, ((sqInt) (((usqInt) MethodCacheSelector ) << (shiftForWord())) ), ClassReg, TempReg);
			/* end checkQuickConstant:forInstruction: */
			/* end MoveMw:r:R: */
		}
	}
	annotateobjRef(checkLiteralforInstruction(_selector, genoperandoperand(CmpCwR, _selector, TempReg)), _selector);
	/* begin JumpNonZero: */
	_jumpSelectorMiss = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	if (_baseRegOrNone == NoReg) {
		/* begin MoveMw:r:R: */
		_offset2 = ((usqInt) (methodCacheAddress()) ) + ((sqInt) (((usqInt) MethodCacheClass ) << (shiftForWord())) );
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperandoperand(MoveMwrR, _offset2, ClassReg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
	} else {
		/* begin MoveMw:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction4 = genoperandoperandoperand(MoveMwrR, ((sqInt) (((usqInt) MethodCacheClass ) << (shiftForWord())) ), ClassReg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, SendNumArgsReg, TempReg);
	/* end CmpR:R: */
	return _jumpSelectorMiss;
}
/*	Compile the code for an open PIC. Perform a probe of the first-level 
	method lookup cache followed by a call of ceSendFromInLineCacheMiss: if 
	the probe fails. */
/* SimpleStackBasedCogit>>#compileOpenPIC:numArgs: */
static void NoDbgRegParms
compileOpenPICnumArgs(sqInt _selector, sqInt _numArgs)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _cacheBaseReg;
	AbstractInstruction *_itsAHit;
	AbstractInstruction *_jumpBCMethod;
	AbstractInstruction *_jumpClassMiss;
	AbstractInstruction *_jumpSelectorMiss;
	sqInt _offset;
	sqInt _quickConstant;
	sqInt _reg;

	/* begin preenMethodLabel */
	/* begin setLabelOffset: */
	((((AbstractInstruction *) methodLabel ))->operands)[1] = 0;
	/* end setLabelOffset: */
	/* end preenMethodLabel */
	compilePICAbort(_numArgs);
	entry = genGetClassTagOfintoscratchReg(ReceiverResultReg, SendNumArgsReg, TempReg);
	_cacheBaseReg = NoReg;
	if (!(isWithinMwOffsetRange(backEnd, methodCacheAddress()))) {
		/* begin MoveCq:R: */
		_quickConstant = ((sqInt) (methodCacheAddress()) );
		_reg = (_cacheBaseReg = Extra0Reg);
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _quickConstant, _reg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveCq:R: */
	}
	_jumpSelectorMiss = compileOpenPICMethodCacheProbeForwithShiftbaseRegOrNone(_selector, 0, _cacheBaseReg);
	/* begin JumpNonZero: */
	_jumpClassMiss = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin MoveMw:r:R: */
	_offset = ((_cacheBaseReg == NoReg)
		 ? ((usqInt) (methodCacheAddress()) ) + ((sqInt) (((usqInt) MethodCacheMethod ) << (shiftForWord())) )
		 : ((sqInt) (((usqInt) MethodCacheMethod ) << (shiftForWord())) ));
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, _offset, ClassReg, SendNumArgsReg);
	_itsAHit = _anInstruction2;
	/* end checkQuickConstant:forInstruction: */
	/* end MoveMw:r:R: */
	genLoadSlotsourceRegdestReg(HeaderIndex, SendNumArgsReg, ClassReg);
	_jumpBCMethod = genJumpImmediate(ClassReg);
	jmpTarget(_jumpBCMethod, picInterpretAbort);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(AddCqR, cmNoCheckEntryOffset, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpR: */
	genoperand(JumpR, ClassReg);
	/* end JumpR: */
	jmpTarget(_jumpSelectorMiss, jmpTarget(_jumpClassMiss, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	_jumpSelectorMiss = compileOpenPICMethodCacheProbeForwithShiftbaseRegOrNone(_selector, 1, _cacheBaseReg);
	/* begin JumpZero: */
	genConditionalBranchoperand(JumpZero, ((sqInt) _itsAHit ));
	/* end JumpZero: */
	jmpTarget(_jumpSelectorMiss, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	_jumpSelectorMiss = compileOpenPICMethodCacheProbeForwithShiftbaseRegOrNone(_selector, 2, _cacheBaseReg);
	/* begin JumpZero: */
	genConditionalBranchoperand(JumpZero, ((sqInt) _itsAHit ));
	/* end JumpZero: */
	jmpTarget(_jumpSelectorMiss, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	{
		genPushRegisterArgsForNumArgsscratchReg(backEnd, _numArgs, SendNumArgsReg);
	}
	genSmalltalkToCStackSwitch(1);
	addDependent(methodLabel, annotateAbsolutePCRef(checkLiteralforInstruction(((sqInt) methodLabel ), genoperandoperand(MoveCwR, ((sqInt) methodLabel ), SendNumArgsReg))));
	compileCallFornumArgsargargargargresultRegregsToSave(ceSendFromInLineCacheMiss, 1, SendNumArgsReg, null, null, null, NoReg, 0);
}
/*	Compile one method cache probe in a perform: primitive's lookup of 
	selector. Answer the jump taken if the selector probe fails. */
/* SimpleStackBasedCogit>>#compilePerformMethodCacheProbeFor:withShift:baseRegOrNone: */
static AbstractInstruction * NoDbgRegParms
compilePerformMethodCacheProbeForwithShiftbaseRegOrNone(sqInt _selectorReg, sqInt _shift, sqInt _baseRegOrNone)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_jumpSelectorMiss;
	sqInt _offset;
	sqInt _offset2;

	/* begin MoveR:R: */
	genoperandoperand(MoveRR, SendNumArgsReg, ClassReg);
	/* end MoveR:R: */
	maybeShiftClassTagRegisterForMethodCacheProbe(ClassReg);
	/* begin XorR:R: */
	genoperandoperand(XorRR, _selectorReg, ClassReg);
	/* end XorR:R: */
	assert(_shift <= (shiftForWord()));
	if (_shift < (shiftForWord())) {
		/* begin LogicalShiftLeftCq:R: */
		genoperandoperand(LogicalShiftLeftCqR, (shiftForWord()) - _shift, ClassReg);
		/* end LogicalShiftLeftCq:R: */
	}
	/* begin AndCq:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction5 = genoperandoperand(AndCqR, ((sqInt) (((usqInt) MethodCacheMask ) << (shiftForWord())) ), ClassReg);
	/* end checkQuickConstant:forInstruction: */
	/* end AndCq:R: */
	if (_baseRegOrNone == NoReg) {
		/* begin MoveMw:r:R: */
		_offset = ((usqInt) (methodCacheAddress()) ) + ((sqInt) (((usqInt) MethodCacheSelector ) << (shiftForWord())) );
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMwrR, _offset, ClassReg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
	} else {
		{
			/* begin AddR:R: */
			genoperandoperand(AddRR, _baseRegOrNone, ClassReg);
			/* end AddR:R: */
			/* begin MoveMw:r:R: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction2 = genoperandoperandoperand(MoveMwrR, ((sqInt) (((usqInt) MethodCacheSelector ) << (shiftForWord())) ), ClassReg, TempReg);
			/* end checkQuickConstant:forInstruction: */
			/* end MoveMw:r:R: */
		}
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, _selectorReg, TempReg);
	/* end CmpR:R: */
	/* begin JumpNonZero: */
	_jumpSelectorMiss = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	if (_baseRegOrNone == NoReg) {
		/* begin MoveMw:r:R: */
		_offset2 = ((usqInt) (methodCacheAddress()) ) + ((sqInt) (((usqInt) MethodCacheClass ) << (shiftForWord())) );
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperandoperand(MoveMwrR, _offset2, ClassReg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
	} else {
		/* begin MoveMw:r:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction4 = genoperandoperandoperand(MoveMwrR, ((sqInt) (((usqInt) MethodCacheClass ) << (shiftForWord())) ), ClassReg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
	}
	/* begin CmpR:R: */
	genoperandoperand(CmpRR, SendNumArgsReg, TempReg);
	/* end CmpR:R: */
	return _jumpSelectorMiss;
}
/*	Compile a primitive. If possible, performance-critical primtiives will 
	be generated by their own routines (primitiveGenerator). Otherwise, 
	if there is a primitive at all, we call the C routine with the usual 
	stack-switching dance, test the primFailCode and then either return 
	on success or continue to the method body. */
/* SimpleStackBasedCogit>>#compilePrimitive */
static sqInt
compilePrimitive(void)
{
	PrimitiveDescriptor *_aPrimitiveDescriptor;
	int _code;
	sqInt _flags;
	sqInt _opcodeIndexAtPrimitive;
	void (*_primitiveRoutine)(void);

	if (primitiveIndex == 0) {
		return 0;
	}
	_code = 0;
	_opcodeIndexAtPrimitive = opcodeIndex;
	_aPrimitiveDescriptor = primitiveDescriptor();
	if ((((_aPrimitiveDescriptor->primitiveGenerator)) != null) && ((((_aPrimitiveDescriptor->primNumArgs)) < 0) || (((_aPrimitiveDescriptor->primNumArgs)) == (argumentCountOf(methodObj))))) {
		_code = ((_aPrimitiveDescriptor->primitiveGenerator))();
	}
	if ((_code < 0) && (_code != UnimplementedPrimitive)) {
		return _code;
	}
	if (_code == UnfailingPrimitive) {
		return 0;
	}
	if ((_code == CompletePrimitive) && (!(((primitiveIndexOfMethodheader(methodObj, methodHeader)) > 0) && ((longStoreBytecodeForHeader(methodHeader)) == (fetchByteofObject((startPCOfMethod(methodObj)) + (sizeOfCallPrimitiveBytecode(methodHeader)), methodObj)))))) {
		return 0;
	}
	if (_code == UnimplementedPrimitive) {
		opcodeIndex = _opcodeIndexAtPrimitive;
	}
	_flags = primitivePropertyFlagsprimitiveDescriptor(primitiveIndex, _aPrimitiveDescriptor);
	if (_flags & PrimCallDoNotJIT) {
		return ShouldNotJIT;
	}
	if (_flags & PrimCallOnSmalltalkStack) {
		assert(_flags == PrimCallOnSmalltalkStack);
		return compileMachineCodeInterpreterPrimitive(mcprimFunctionForPrimitiveIndex(primitiveIndex));
	}
	if ((((_primitiveRoutine = functionPointerForCompiledMethodprimitiveIndex(methodObj, primitiveIndex))) == 0) || (_primitiveRoutine == ((void *) primitiveFail ))) {
		return genFastPrimFail();
	}
	minValidCallAddress = ((minValidCallAddress < ((usqInt) _primitiveRoutine )) ? minValidCallAddress : ((usqInt) _primitiveRoutine ));
	return compileInterpreterPrimitiveflags(_primitiveRoutine, _flags);
}
/* SimpleStackBasedCogit>>#frameOffsetOfTemporary: */
static sqInt NoDbgRegParms
frameOffsetOfTemporary(sqInt _index)
{
	return ((_index < methodOrBlockNumArgs)
		 ? FoxCallerSavedIP + ((methodOrBlockNumArgs - _index) * BytesPerWord)
		 : (FoxMFReceiver - BytesPerWord) + ((methodOrBlockNumArgs - _index) * BytesPerWord));
}
/* SimpleStackBasedCogit>>#genDoubleFailIfZeroArgRcvr:arg: */
static AbstractInstruction * NoDbgRegParms
genDoubleFailIfZeroArgRcvrarg(int rcvrReg, int _argReg)
{
	AbstractInstruction *_anInstruction;

	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(MoveCqR, 0, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin ConvertR:Rd: */
	genoperandoperand(ConvertRRd, TempReg, DPFPReg2);
	/* end ConvertR:Rd: */
	/* begin CmpRd:Rd: */
	genoperandoperand(CmpRdRd, DPFPReg2, _argReg);
	/* end CmpRd:Rd: */
	return gJumpFPEqual(0);
}
/*	244		11110100	i i i i i i i i	Pop and Jump 0n False i i i i i i i i (+ 
	Extend B * 256, where Extend B >= 0) */
/* SimpleStackBasedCogit>>#genExtJumpIfFalse */
static sqInt
genExtJumpIfFalse(void)
{
	sqInt _distance;
	sqInt _target;

	_distance = byte1 + ((sqInt) (((usqInt) extB ) << 8) );
	assert(_distance == (v4LongForwardBranchDistance(generatorAt(byte0), bytecodePC, (((extA != 0)
		 ? 1
		 : 0)) + (((extB != 0)
		 ? 1
		 : 0)), methodObj)));
	extB = 0;
	numExtB = 0;
	_target = (_distance + 2) + bytecodePC;
	return genJumpIfto(falseObject(), _target);
}
/*	243		11110011	i i i i i i i i	Pop and Jump 0n True i i i i i i i i (+ 
	Extend B * 256, where Extend B >= 0) */
/* SimpleStackBasedCogit>>#genExtJumpIfTrue */
static sqInt
genExtJumpIfTrue(void)
{
	sqInt _distance;
	sqInt _target;

	_distance = byte1 + ((sqInt) (((usqInt) extB ) << 8) );
	assert(_distance == (v4LongForwardBranchDistance(generatorAt(byte0), bytecodePC, (((extA != 0)
		 ? 1
		 : 0)) + (((extB != 0)
		 ? 1
		 : 0)), methodObj)));
	extB = 0;
	numExtB = 0;
	_target = (_distance + 2) + bytecodePC;
	return genJumpIfto(trueObject(), _target);
}
/*	SistaV1:		 91		01011011'		Nop */
/* SimpleStackBasedCogit>>#genExtNopBytecode */
static sqInt
genExtNopBytecode(void)
{
	extA = (numExtB = (extB = 0));
	return 0;
}
/*	SistaV1:		233		11101001	iiiiiiii		Push Character #iiiiiiii (+ Extend B * 
	256)  */
/* SimpleStackBasedCogit>>#genExtPushCharacterBytecode */
static sqInt
genExtPushCharacterBytecode(void)
{
	sqInt _value;

	_value = byte1 + ((sqInt) (((usqInt) extB ) << 8) );
	extB = 0;
	numExtB = 0;
	return genPushLiteral(characterObjectOf(_value));
}
/*	NewsqueakV4:	229		11100101	iiiiiiii	Push Integer #iiiiiiii (+ Extend B * 
	256, where bbbbbbbb = sddddddd, e.g. -32768 = i=0, a=0, s=1) 
	SistaV1:		232		11101000	iiiiiiii	Push Integer #iiiiiiii (+ Extend B * 256, 
	where bbbbbbbb = sddddddd, e.g. -32768 = i=0, a=0, s=1) */
/* SimpleStackBasedCogit>>#genExtPushIntegerBytecode */
static sqInt
genExtPushIntegerBytecode(void)
{
	sqInt _value;

	_value = byte1 + ((sqInt) (((usqInt) extB ) << 8) );
	extB = 0;
	numExtB = 0;
	return genPushLiteral(((((usqInt) _value ) << 3) | 1));
}
/*	228		11100100	i i i i i i i i	Push Literal #iiiiiiii (+ Extend A * 256) */
/* SimpleStackBasedCogit>>#genExtPushLiteralBytecode */
static sqInt
genExtPushLiteralBytecode(void)
{
	sqInt _index;

	_index = byte1 + ((sqInt) (((usqInt) extA ) << 8) );
	extA = 0;
	return genPushLiteralIndex(_index);
}
/*	227		11100011	i i i i i i i i	Push Literal Variable #iiiiiiii (+ Extend A 
	* 256) */
/* SimpleStackBasedCogit>>#genExtPushLiteralVariableBytecode */
static sqInt
genExtPushLiteralVariableBytecode(void)
{
	sqInt _index;

	_index = byte1 + ((sqInt) (((usqInt) extA ) << 8) );
	extA = 0;
	return genPushLiteralVariable(_index);
}
/*	SistaV1: *	82			01010010			Push thisContext, (then Extend B = 1 => push 
	thisProcess)  */
/* SimpleStackBasedCogit>>#genExtPushPseudoVariable */
static sqInt
genExtPushPseudoVariable(void)
{
	sqInt _ext;

	_ext = extB;
	extB = 0;
	numExtB = 0;
	switch (_ext) {
		case 0:
		{
			return genPushActiveContextBytecode();
		}
		default:
		{
			return unknownBytecode();
		}
	}
	return 0;
}
/*	226		11100010	i i i i i i i i	Push Receiver Variable #iiiiiiii (+ Extend A 
	* 256) */
/* SimpleStackBasedCogit>>#genExtPushReceiverVariableBytecode */
static sqInt
genExtPushReceiverVariableBytecode(void)
{
	sqInt _index;

	_index = byte1 + ((sqInt) (((usqInt) extA ) << 8) );
	extA = 0;
	return ((isReadMediatedContextInstVarIndex(_index))
		 ? genPushMaybeContextReceiverVariable(_index)
		 : genPushReceiverVariable(_index));
}
/*	238		11101110	i i i i i j j j	Send Literal Selector #iiiii (+ Extend A * 
	32) with jjj (+ Extend B * 8) Arguments */
/* SimpleStackBasedCogit>>#genExtSendBytecode */
static sqInt
genExtSendBytecode(void)
{
	sqInt _litIndex;
	sqInt _nArgs;

	_litIndex = (((usqInt) byte1 ) >> 3) + ((sqInt) (((usqInt) extA ) << 5) );
	extA = 0;
	_nArgs = (byte1 & 7) + ((sqInt) (((usqInt) extB ) << 3) );
	extB = 0;
	numExtB = 0;
	return genSendnumArgs(_litIndex, _nArgs);
}
/*	239		11101111	i i i i i j j j	Send To Superclass Literal Selector #iiiii 
	(+ Extend A * 32) with jjj (+ Extend B * 8) Arguments */
/* SimpleStackBasedCogit>>#genExtSendSuperBytecode */
static sqInt
genExtSendSuperBytecode(void)
{
	int _isDirected;
	sqInt _litIndex;
	sqInt _nArgs;

	if ((_isDirected = extB >= 64)) {
		extB = extB & 0x3F;
	}
	_litIndex = (((usqInt) byte1 ) >> 3) + ((sqInt) (((usqInt) extA ) << 5) );
	extA = 0;
	_nArgs = (byte1 & 7) + ((sqInt) (((usqInt) extB ) << 3) );
	extB = 0;
	numExtB = 0;
	return ((_isDirected)
		 ? genSendDirectedSupernumArgs(_litIndex, _nArgs)
		 : genSendSupernumArgs(_litIndex, _nArgs));
}
/*	236		11101100	i i i i i i i i	Pop and Store Literal Variable #iiiiiiii (+ 
	Extend A * 256) */
/* SimpleStackBasedCogit>>#genExtStoreAndPopLiteralVariableBytecode */
static sqInt
genExtStoreAndPopLiteralVariableBytecode(void)
{
	sqInt _index;

	_index = byte1 + ((sqInt) (((usqInt) extA ) << 8) );
	extA = 0;
	return genStorePopLiteralVariableneedsStoreCheckneedsImmutabilityCheck(1, _index, ((((ssTop())->type)) != SSConstant) || ((isNonImmediate(((ssTop())->constant))) && (shouldAnnotateObjectReference(((ssTop())->constant)))), 1);
}
/*	235		11101011	i i i i i i i i	Pop and Store Receiver Variable #iiiiiii (+ 
	Extend A * 256) */
/* SimpleStackBasedCogit>>#genExtStoreAndPopReceiverVariableBytecode */
static sqInt
genExtStoreAndPopReceiverVariableBytecode(void)
{
	sqInt _index;

	_index = byte1 + ((sqInt) (((usqInt) extA ) << 8) );
	extA = 0;
	return ((isWriteMediatedContextInstVarIndex(_index))
		 ? genStorePopMaybeContextReceiverVariableneedsStoreCheckneedsImmutabilityCheck(1, _index, ((((ssTop())->type)) != SSConstant) || ((isNonImmediate(((ssTop())->constant))) && (shouldAnnotateObjectReference(((ssTop())->constant)))), 1)
		 : genStorePopReceiverVariableneedsStoreCheckneedsImmutabilityCheck(1, _index, ((((ssTop())->type)) != SSConstant) || ((isNonImmediate(((ssTop())->constant))) && (shouldAnnotateObjectReference(((ssTop())->constant)))), 1));
}
/*	233		11101001	i i i i i i i i	Store Literal Variable #iiiiiiii (+ Extend A 
	* 256) */
/* SimpleStackBasedCogit>>#genExtStoreLiteralVariableBytecode */
static sqInt
genExtStoreLiteralVariableBytecode(void)
{
	sqInt _index;

	_index = byte1 + ((sqInt) (((usqInt) extA ) << 8) );
	extA = 0;
	return genStorePopLiteralVariableneedsStoreCheckneedsImmutabilityCheck(0, _index, ((((ssTop())->type)) != SSConstant) || ((isNonImmediate(((ssTop())->constant))) && (shouldAnnotateObjectReference(((ssTop())->constant)))), 1);
}
/*	232		11101000	i i i i i i i i	Store Receiver Variable #iiiiiii (+ Extend A 
	* 256) */
/* SimpleStackBasedCogit>>#genExtStoreReceiverVariableBytecode */
static sqInt
genExtStoreReceiverVariableBytecode(void)
{
	sqInt _index;

	_index = byte1 + ((sqInt) (((usqInt) extA ) << 8) );
	extA = 0;
	return ((isWriteMediatedContextInstVarIndex(_index))
		 ? genStorePopMaybeContextReceiverVariableneedsStoreCheckneedsImmutabilityCheck(0, _index, ((((ssTop())->type)) != SSConstant) || ((isNonImmediate(((ssTop())->constant))) && (shouldAnnotateObjectReference(((ssTop())->constant)))), 1)
		 : genStorePopReceiverVariableneedsStoreCheckneedsImmutabilityCheck(0, _index, ((((ssTop())->type)) != SSConstant) || ((isNonImmediate(((ssTop())->constant))) && (shouldAnnotateObjectReference(((ssTop())->constant)))), 1));
}
/*	242		11110010	i i i i i i i i	Jump i i i i i i i i (+ Extend B * 256, 
	where bbbbbbbb = sddddddd, e.g. -32768 = i=0, a=0, s=1) */
/* SimpleStackBasedCogit>>#genExtUnconditionalJump */
static sqInt
genExtUnconditionalJump(void)
{
	AbstractInstruction *_abstractInstruction;
	sqInt _distance;
	sqInt _target;

	_distance = byte1 + ((sqInt) (((usqInt) extB ) << 8) );
	assert(_distance == (v4LongBranchDistance(generatorAt(byte0), bytecodePC, (((extA != 0)
		 ? 1
		 : 0)) + (((extB != 0)
		 ? 1
		 : 0)), methodObj)));
	extB = 0;
	numExtB = 0;
	_target = (_distance + 2) + bytecodePC;
	if (_distance < 0) {
		return genJumpBackTo(_target);
	}
	genJumpTo(_target);
	/* begin annotateBytecode: */
	_abstractInstruction = lastOpcode();
	(_abstractInstruction->annotation = HasBytecodePC);
	/* end annotateBytecode: */
	return 0;
}
/* SimpleStackBasedCogit>>#genFastPrimFail */
static sqInt
genFastPrimFail(void)
{
	primitiveIndex = 0;
	return UnfailingPrimitive;
}
/*	Suport for compileInterpreterPrimitive. Generate inline code so as to 
	record the primitive 
	trace as fast as possible. */
/* SimpleStackBasedCogit>>#genFastPrimTraceUsing:and: */
static void NoDbgRegParms
genFastPrimTraceUsingand(sqInt _r1, sqInt _r2)
{
	sqInt _address;
	sqInt _address2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	sqInt _offset;
	sqInt _wordConstant;

	{
		/* begin MoveCq:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, 0, _r2);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveCq:R: */
	}
	/* begin MoveAb:R: */
	_address = primTraceLogIndexAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction2 = genoperandoperand(MoveAbR, _address, _r2);
	/* end checkLiteral:forInstruction: */
	/* end MoveAb:R: */
	/* begin MoveR:R: */
	genoperandoperand(MoveRR, _r2, _r1);
	/* end MoveR:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(AddCqR, 1, _r1);
	/* end checkQuickConstant:forInstruction: */
	/* begin MoveR:Ab: */
	_address2 = primTraceLogIndexAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction4 = genoperandoperand(MoveRAb, _r1, _address2);
	/* end checkLiteral:forInstruction: */
	/* end MoveR:Ab: */
	addDependent(methodLabel, annotateAbsolutePCRef(checkLiteralforInstruction(((sqInt) methodLabel ), genoperandoperand(MoveCwR, ((sqInt) methodLabel ), _r1))));
	/* begin MoveMw:r:R: */
	_offset = offsetof(CogMethod, selector);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction5 = genoperandoperandoperand(MoveMwrR, _offset, _r1, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end MoveMw:r:R: */
	/* begin MoveCw:R: */
	_wordConstant = ((sqInt) (primTraceLogAddress()) );
	/* begin checkLiteral:forInstruction: */
	_anInstruction6 = genoperandoperand(MoveCwR, _wordConstant, _r1);
	/* end checkLiteral:forInstruction: */
	/* end MoveCw:R: */
	/* begin MoveR:Xwr:R: */
	genoperandoperandoperand(MoveRXwrR, TempReg, _r2, _r1);
	/* end MoveR:Xwr:R: */
}
/*	230		11100110	i i i i i i i i	Push Temporary Variable #iiiiiiii */
/* SimpleStackBasedCogit>>#genLongPushTemporaryVariableBytecode */
static sqInt
genLongPushTemporaryVariableBytecode(void)
{
	return genPushTemporaryVariable(byte1);
}
/*	237		11101101	i i i i i i i i	Pop and Store Temporary Variable #iiiiiiii */
/* SimpleStackBasedCogit>>#genLongStoreAndPopTemporaryVariableBytecode */
static sqInt
genLongStoreAndPopTemporaryVariableBytecode(void)
{
	return genStorePopTemporaryVariable(1, byte1);
}
/*	234		11101010	i i i i i i i i	Store Temporary Variable #iiiiiiii */
/* SimpleStackBasedCogit>>#genLongStoreTemporaryVariableBytecode */
static sqInt
genLongStoreTemporaryVariableBytecode(void)
{
	return genStorePopTemporaryVariable(0, byte1);
}
/*	Compile the code for a probe of the first-level method cache for a perform 
	primtiive. The selector is assumed to be in Arg0Reg. Defer to 
	adjustArgumentsForPerform: to 
	adjust the arguments before the jump to the method. */
/* SimpleStackBasedCogit>>#genLookupForPerformNumArgs: */
static sqInt NoDbgRegParms
genLookupForPerformNumArgs(sqInt _numArgs)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _cacheBaseReg;
	AbstractInstruction *_itsAHit;
	AbstractInstruction *_jumpClassMiss;
	AbstractInstruction *_jumpInterpret;
	AbstractInstruction *_jumpSelectorMiss;
	sqInt _offset;
	sqInt _quickConstant;
	sqInt _reg;

	genGetInlineCacheClassTagFrominto(ReceiverResultReg, SendNumArgsReg);
	_cacheBaseReg = NoReg;
	if (!(isWithinMwOffsetRange(backEnd, methodCacheAddress()))) {
		/* begin MoveCq:R: */
		_quickConstant = ((sqInt) (methodCacheAddress()) );
		_reg = (_cacheBaseReg = Extra0Reg);
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _quickConstant, _reg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveCq:R: */
	}
	_jumpSelectorMiss = compilePerformMethodCacheProbeForwithShiftbaseRegOrNone(Arg0Reg, 0, _cacheBaseReg);
	/* begin JumpNonZero: */
	_jumpClassMiss = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	/* begin MoveMw:r:R: */
	_offset = ((_cacheBaseReg == NoReg)
		 ? ((usqInt) (methodCacheAddress()) ) + ((sqInt) (((usqInt) MethodCacheMethod ) << (shiftForWord())) )
		 : ((sqInt) (((usqInt) MethodCacheMethod ) << (shiftForWord())) ));
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperandoperand(MoveMwrR, _offset, ClassReg, SendNumArgsReg);
	_itsAHit = _anInstruction2;
	/* end checkQuickConstant:forInstruction: */
	/* end MoveMw:r:R: */
	genLoadSlotsourceRegdestReg(HeaderIndex, SendNumArgsReg, ClassReg);
	_jumpInterpret = genJumpImmediate(ClassReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(AddCqR, cmNoCheckEntryOffset, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	adjustArgumentsForPerform(_numArgs);
	/* begin JumpR: */
	genoperand(JumpR, ClassReg);
	/* end JumpR: */
	jmpTarget(_jumpSelectorMiss, jmpTarget(_jumpClassMiss, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	_jumpSelectorMiss = compilePerformMethodCacheProbeForwithShiftbaseRegOrNone(Arg0Reg, 1, _cacheBaseReg);
	/* begin JumpZero: */
	genConditionalBranchoperand(JumpZero, ((sqInt) _itsAHit ));
	/* end JumpZero: */
	jmpTarget(_jumpSelectorMiss, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	_jumpSelectorMiss = compilePerformMethodCacheProbeForwithShiftbaseRegOrNone(Arg0Reg, 2, _cacheBaseReg);
	/* begin JumpZero: */
	genConditionalBranchoperand(JumpZero, ((sqInt) _itsAHit ));
	/* end JumpZero: */
	jmpTarget(_jumpSelectorMiss, jmpTarget(_jumpInterpret, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return 0;
}
/*	If the objectMemory allows it, generates a quick constant move, else 
	generates a word constant move */
/* SimpleStackBasedCogit>>#genMoveConstant:R: */
static AbstractInstruction * NoDbgRegParms
genMoveConstantR(sqInt _constant, sqInt _reg)
{
	AbstractInstruction *_anInstruction;

	return ((shouldAnnotateObjectReference(_constant))
		 ? annotateobjRef(checkLiteralforInstruction(_constant, genoperandoperand(MoveCwR, _constant, _reg)), _constant)
		 : (/* begin checkQuickConstant:forInstruction: */ (_anInstruction = genoperandoperand(MoveCqR, _constant, _reg)), _anInstruction /* end checkQuickConstant:forInstruction: */));
}
/* SimpleStackBasedCogit>>#genMustBeBooleanTrampolineFor:called: */
static sqInt NoDbgRegParms
genMustBeBooleanTrampolineForcalled(sqInt _boolean, char *_trampolineName)
{
	AbstractInstruction *_anInstruction;

	zeroOpcodeIndex();
	assert(!(shouldAnnotateObjectReference(_boolean)));
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(AddCqR, _boolean, TempReg);
	/* end checkQuickConstant:forInstruction: */
	return genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(ceSendMustBeBoolean, _trampolineName, 1, TempReg, null, null, null, 0, 1, NoReg, 1);
}
/*	Implement 28-bit hashMultiply for SmallInteger and LargePositiveInteger 
	receivers.  */
/* SimpleStackBasedCogit>>#genPrimitiveHashMultiply */
static sqInt
genPrimitiveHashMultiply(void)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction * _jmpFailImm;
	AbstractInstruction * _jmpFailNonImm;
	AbstractInstruction * _jmpNotSmallInt;
	AbstractInstruction * _reenter;

	_jmpNotSmallInt = genJumpNotSmallInteger(ReceiverResultReg);
	genConvertSmallIntegerToIntegerInReg(ReceiverResultReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperand(MoveCqR, HashMultiplyConstant, TempReg);
	_reenter = _anInstruction;
	/* end checkQuickConstant:forInstruction: */
	/* begin MulR:R: */
	genMulRR(backEnd, TempReg, ReceiverResultReg);
	/* end MulR:R: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(AndCqR, HashMultiplyMask, ReceiverResultReg);
	/* end checkQuickConstant:forInstruction: */
	genConvertIntegerToSmallIntegerInReg(ReceiverResultReg);
	/* begin RetN: */
	genoperand(RetN, 0);
	/* end RetN: */
	jmpTarget(_jmpNotSmallInt, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	_jmpFailImm = genJumpImmediate(ReceiverResultReg);
	genGetCompactClassIndexNonImmOfinto(ReceiverResultReg, ClassReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction3 = genoperandoperand(CmpCqR, ClassLargePositiveIntegerCompactIndex, ClassReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpNonZero: */
	_jmpFailNonImm = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	genLoadSlotsourceRegdestReg(0, ReceiverResultReg, ReceiverResultReg);
	/* begin Jump: */
	genoperand(Jump, ((sqInt) _reenter ));
	/* end Jump: */
	jmpTarget(_jmpFailImm, jmpTarget(_jmpFailNonImm, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return 0;
}
/*	Generate the substitute return code for an external or FFI primitive call. 
	On success simply return, extracting numArgs from newMethod. 
	On primitive failure call ceActivateFailingPrimitiveMethod: newMethod. */
/* SimpleStackBasedCogit>>#genPrimReturnEnterCogCodeEnilopmart: */
static void NoDbgRegParms
genPrimReturnEnterCogCodeEnilopmart(sqInt _profiling)
{
	sqInt literal;
	sqInt _address3;
	sqInt _address6;
	sqInt _address7;
	sqInt _address8;
	sqInt _address9;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction10;
	AbstractInstruction *_anInstruction11;
	AbstractInstruction *_anInstruction13;
	AbstractInstruction *_anInstruction14;
	AbstractInstruction *_anInstruction15;
	AbstractInstruction *_anInstruction16;
	AbstractInstruction *_anInstruction17;
	AbstractInstruction *_anInstruction19;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction9;
	sqInt _callTarget;
	AbstractInstruction *_continuePostSample;
	AbstractInstruction *_jmpFail;
	AbstractInstruction *_jmpSample;
	sqInt _quickConstant;
	sqInt _reg;

	_continuePostSample = ((AbstractInstruction *) 0 );
	_jmpSample = ((AbstractInstruction *) 0 );
	zeroOpcodeIndex();
	{
		/* begin MoveCq:R: */
		_quickConstant = varBaseAddress();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _quickConstant, VarBaseReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveCq:R: */
	}
	if (_profiling) {
		{
			/* begin MoveAw:R: */
			_address3 = nextProfileTickAddress();
			/* begin checkLiteral:forInstruction: */
			_anInstruction4 = genoperandoperand(MoveAwR, _address3, TempReg);
			/* end checkLiteral:forInstruction: */
			/* end MoveAw:R: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction5 = genoperandoperand(CmpCqR, 0, TempReg);
			/* end checkQuickConstant:forInstruction: */
		}
		/* begin JumpNonZero: */
		_jmpSample = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		/* begin Label */
		_continuePostSample = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
		/* end Label */
	}
	maybeCompileAllocFillerCheck();
	/* begin MoveAw:R: */
	_address7 = primFailCodeAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction14 = genoperandoperand(MoveAwR, _address7, TempReg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	flag("ask concrete code gen if move sets condition codes?");
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction15 = genoperandoperand(CmpCqR, 0, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpNonZero: */
	_jmpFail = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	{
		/* begin MoveAw:R: */
		_address6 = instructionPointerAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction9 = genoperandoperand(MoveAwR, _address6, ClassReg);
		/* end checkLiteral:forInstruction: */
		/* end MoveAw:R: */
		genLoadStackPointers(backEnd);
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction10 = genoperandoperandoperand(MoveMwrR, 0, SPReg, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction11 = genoperandoperandoperand(MoveRMwr, ClassReg, 0, SPReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin RetN: */
		genoperand(RetN, 0);
		/* end RetN: */
	}
	jmpTarget(_jmpFail, gMoveAwR(newMethodAddress(), SendNumArgsReg));
	/* begin MoveAw:R: */
	_address8 = cStackPointerAddress();
	/* begin checkLiteral:forInstruction: */
	_anInstruction16 = genoperandoperand(MoveAwR, _address8, SPReg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	compileCallFornumArgsargargargargresultRegregsToSave(ceActivateFailingPrimitiveMethod, 1, SendNumArgsReg, null, null, null, NoReg, 0);
	/* begin MoveAw:R: */
	_address9 = instructionPointerAddress();
	_reg = ClassReg;
	/* begin checkLiteral:forInstruction: */
	_anInstruction17 = genoperandoperand(MoveAwR, _address9, _reg);
	/* end checkLiteral:forInstruction: */
	/* end MoveAw:R: */
	genLoadStackPointers(backEnd);
	{
		/* begin checkQuickConstant:forInstruction: */
		literal = BytesPerWord;
		_anInstruction13 = genoperandoperandoperand(MoveMwrR, BytesPerWord, SPReg, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin PushR: */
		genoperand(PushR, ClassReg);
		/* end PushR: */
	}
	/* begin RetN: */
	genoperand(RetN, BytesPerWord);
	/* end RetN: */
	if (_profiling) {
		jmpTarget(_jmpSample, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
		/* begin saveAndRestoreLinkRegAround: */
		{
			/* begin CallFullRT: */
			_callTarget = (usqIntptr_t)ceCheckProfileTick;
			{
				/* begin checkLiteral:forInstruction: */
				_anInstruction19 = genoperand(CallFull, _callTarget);
				/* end checkLiteral:forInstruction: */
			}
			/* end CallFullRT: */
		}
		/* end saveAndRestoreLinkRegAround: */
		/* begin Jump: */
		genoperand(Jump, ((sqInt) _continuePostSample ));
		/* end Jump: */
	}
}
/* SimpleStackBasedCogit>>#genPushConstantFalseBytecode */
static sqInt
genPushConstantFalseBytecode(void)
{
	return genPushLiteral(falseObject());
}
/* SimpleStackBasedCogit>>#genPushConstantNilBytecode */
static sqInt
genPushConstantNilBytecode(void)
{
	return genPushLiteral(nilObject());
}
/*	79			01001111		Push 1 */
/* SimpleStackBasedCogit>>#genPushConstantOneBytecode */
static sqInt
genPushConstantOneBytecode(void)
{
	return genPushLiteral(((((usqInt) 1 ) << 3) | 1));
}
/* SimpleStackBasedCogit>>#genPushConstantTrueBytecode */
static sqInt
genPushConstantTrueBytecode(void)
{
	return genPushLiteral(trueObject());
}
/*	78			01001110		Push 0 */
/* SimpleStackBasedCogit>>#genPushConstantZeroBytecode */
static sqInt
genPushConstantZeroBytecode(void)
{
	return genPushLiteral(((((usqInt) 0 ) << 3) | 1));
}
/* SimpleStackBasedCogit>>#genPushLiteralConstantBytecode */
static sqInt
genPushLiteralConstantBytecode(void)
{
	return genPushLiteralIndex(byte0 & 0x1F);
}
/*	16-31		0001 i i i i		Push Literal Variable #iiii */
/* SimpleStackBasedCogit>>#genPushLiteralVariable16CasesBytecode */
static sqInt
genPushLiteralVariable16CasesBytecode(void)
{
	return genPushLiteralVariable(byte0 & 15);
}
/* SimpleStackBasedCogit>>#genPushQuickIntegerConstantBytecode */
static sqInt
genPushQuickIntegerConstantBytecode(void)
{
	return genPushLiteral(((((usqInt) (byte0 - 117) ) << 3) | 1));
}
/* SimpleStackBasedCogit>>#genPushReceiverVariableBytecode */
static sqInt
genPushReceiverVariableBytecode(void)
{
	return genPushReceiverVariable(byte0 & 15);
}
/* SimpleStackBasedCogit>>#genPushTemporaryVariableBytecode */
static sqInt
genPushTemporaryVariableBytecode(void)
{
	return genPushTemporaryVariable(byte0 & 15);
}
/*	because selected by CoInterpreter>>quickPrimitiveGeneratorFor: */
/* SimpleStackBasedCogit>>#genQuickReturnConst */
sqInt
genQuickReturnConst(void)
{
	AbstractInstruction *_anInstruction;
	sqInt _constant;

	_constant = quickPrimitiveConstantFor(primitiveIndex);
	/* begin genMoveConstant:R: */
	if (shouldAnnotateObjectReference(_constant)) {
		annotateobjRef(checkLiteralforInstruction(_constant, genoperandoperand(MoveCwR, _constant, ReceiverResultReg)), _constant);
	} else {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _constant, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* end genMoveConstant:R: */
	genUpArrowReturn();
	return UnfailingPrimitive;
}
/*	because selected by CoInterpreter>>quickPrimitiveGeneratorFor: */
/* SimpleStackBasedCogit>>#genQuickReturnInstVar */
sqInt
genQuickReturnInstVar(void)
{
	sqInt _index;

	_index = quickPrimitiveInstVarIndexFor(primitiveIndex);
	genLoadSlotsourceRegdestReg(_index, ReceiverResultReg, ReceiverResultReg);
	genUpArrowReturn();
	return UnfailingPrimitive;
}
/*	because selected by CoInterpreter>>quickPrimitiveGeneratorFor: */
/* SimpleStackBasedCogit>>#genQuickReturnSelf */
sqInt
genQuickReturnSelf(void)
{
	genUpArrowReturn();
	return UnfailingPrimitive;
}
/* SimpleStackBasedCogit>>#genReturnFalse */
static sqInt
genReturnFalse(void)
{
	AbstractInstruction *_anInstruction;
	sqInt _constant;

	/* begin genMoveFalseR: */
	/* begin genMoveConstant:R: */
	_constant = falseObject();
	if (shouldAnnotateObjectReference(_constant)) {
		annotateobjRef(checkLiteralforInstruction(_constant, genoperandoperand(MoveCwR, _constant, ReceiverResultReg)), _constant);
	} else {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _constant, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* end genMoveConstant:R: */
	/* end genMoveFalseR: */
	return genUpArrowReturn();
}
/* SimpleStackBasedCogit>>#genReturnNil */
static sqInt
genReturnNil(void)
{
	AbstractInstruction *_anInstruction;
	sqInt _constant;

	/* begin genMoveNilR: */
	/* begin genMoveConstant:R: */
	_constant = nilObject();
	if (shouldAnnotateObjectReference(_constant)) {
		annotateobjRef(checkLiteralforInstruction(_constant, genoperandoperand(MoveCwR, _constant, ReceiverResultReg)), _constant);
	} else {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _constant, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* end genMoveConstant:R: */
	/* end genMoveNilR: */
	return genUpArrowReturn();
}
/* SimpleStackBasedCogit>>#genReturnNilFromBlock */
static sqInt
genReturnNilFromBlock(void)
{
	AbstractInstruction *_anInstruction;
	sqInt _constant;

	assert(inBlock > 0);
	/* begin genMoveNilR: */
	/* begin genMoveConstant:R: */
	_constant = nilObject();
	if (shouldAnnotateObjectReference(_constant)) {
		annotateobjRef(checkLiteralforInstruction(_constant, genoperandoperand(MoveCwR, _constant, ReceiverResultReg)), _constant);
	} else {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _constant, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* end genMoveConstant:R: */
	/* end genMoveNilR: */
	return genBlockReturn();
}
/* SimpleStackBasedCogit>>#genReturnTrue */
static sqInt
genReturnTrue(void)
{
	AbstractInstruction *_anInstruction;
	sqInt _constant;

	/* begin genMoveTrueR: */
	/* begin genMoveConstant:R: */
	_constant = trueObject();
	if (shouldAnnotateObjectReference(_constant)) {
		annotateobjRef(checkLiteralforInstruction(_constant, genoperandoperand(MoveCwR, _constant, ReceiverResultReg)), _constant);
	} else {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _constant, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* end genMoveConstant:R: */
	/* end genMoveTrueR: */
	return genUpArrowReturn();
}
/* SimpleStackBasedCogit>>#genSendLiteralSelector0ArgsBytecode */
static sqInt
genSendLiteralSelector0ArgsBytecode(void)
{
	return genSendnumArgs(byte0 & 15, 0);
}
/* SimpleStackBasedCogit>>#genSendLiteralSelector1ArgBytecode */
static sqInt
genSendLiteralSelector1ArgBytecode(void)
{
	return genSendnumArgs(byte0 & 15, 1);
}
/* SimpleStackBasedCogit>>#genSendLiteralSelector2ArgsBytecode */
static sqInt
genSendLiteralSelector2ArgsBytecode(void)
{
	return genSendnumArgs(byte0 & 15, 2);
}
/* SimpleStackBasedCogit>>#genShortJumpIfFalse */
static sqInt
genShortJumpIfFalse(void)
{
	sqInt _distance;
	sqInt _target;

	_distance = v3ShortForwardBranchDistance(generatorAt(byte0), bytecodePC, 0, methodObj);
	_target = (_distance + 1) + bytecodePC;
	return genJumpIfto(falseObject(), _target);
}
/* SimpleStackBasedCogit>>#genShortJumpIfTrue */
static sqInt
genShortJumpIfTrue(void)
{
	sqInt _distance;
	sqInt _target;

	_distance = v3ShortForwardBranchDistance(generatorAt(byte0), bytecodePC, 0, methodObj);
	_target = (_distance + 1) + bytecodePC;
	return genJumpIfto(trueObject(), _target);
}
/* SimpleStackBasedCogit>>#genShortUnconditionalJump */
static sqInt
genShortUnconditionalJump(void)
{
	sqInt _distance;
	sqInt _target;

	_distance = v3ShortForwardBranchDistance(generatorAt(byte0), bytecodePC, 0, methodObj);
	_target = (_distance + 1) + bytecodePC;
	return genJumpTo(_target);
}
/* SimpleStackBasedCogit>>#genSpecialSelectorEqualsEquals */
static sqInt
genSpecialSelectorEqualsEquals(void)
{
	return genInlinedIdenticalOrNotIf(0);
}
/* SimpleStackBasedCogit>>#genSpecialSelectorNotEqualsEquals */
static sqInt
genSpecialSelectorNotEqualsEquals(void)
{
	return genInlinedIdenticalOrNotIf(1);
}
/* SimpleStackBasedCogit>>#genSpecialSelectorSend */
static sqInt
genSpecialSelectorSend(void)
{
	sqInt _index;
	sqInt _numArgs;

	_index = byte0 - FirstSpecialSelector;
	_numArgs = specialSelectorNumArgs(_index);
	return genSendnumArgs(-_index - 1, _numArgs);
}
/* SimpleStackBasedCogit>>#genStoreAndPopReceiverVariableBytecode */
static sqInt
genStoreAndPopReceiverVariableBytecode(void)
{
	return genStorePopReceiverVariableneedsStoreCheckneedsImmutabilityCheck(1, byte0 & 7, ((((ssTop())->type)) != SSConstant) || ((isNonImmediate(((ssTop())->constant))) && (shouldAnnotateObjectReference(((ssTop())->constant)))), 1);
}
/* SimpleStackBasedCogit>>#genStoreAndPopRemoteTempLongBytecode */
static sqInt
genStoreAndPopRemoteTempLongBytecode(void)
{
	return genStorePopRemoteTempAtneedsStoreCheck(1, byte1, byte2, ((((ssTop())->type)) != SSConstant) || ((isNonImmediate(((ssTop())->constant))) && (shouldAnnotateObjectReference(((ssTop())->constant)))));
}
/* SimpleStackBasedCogit>>#genStoreAndPopTemporaryVariableBytecode */
static sqInt
genStoreAndPopTemporaryVariableBytecode(void)
{
	return genStorePopTemporaryVariable(1, byte0 & 7);
}
/* SimpleStackBasedCogit>>#genStoreRemoteTempLongBytecode */
static sqInt
genStoreRemoteTempLongBytecode(void)
{
	return genStorePopRemoteTempAtneedsStoreCheck(0, byte1, byte2, ((((ssTop())->type)) != SSConstant) || ((isNonImmediate(((ssTop())->constant))) && (shouldAnnotateObjectReference(((ssTop())->constant)))));
}
/*	SistaV1: *	217		Trap */
/* SimpleStackBasedCogit>>#genUnconditionalTrapBytecode */
static sqInt
genUnconditionalTrapBytecode(void)
{
	return EncounteredUnknownBytecode;
}
/*	Collect the branch and send data for cogMethod, storing it into arrayObj. */
/* SimpleStackBasedCogit>>#mapPCDataFor:into: */
sqInt
mapPCDataForinto(CogMethod *_cogMethod, sqInt _arrayObj)
{
	sqInt _aMethodObj;
	sqInt _annotation;
	sqInt _bcpc;
	sqInt _byte;
	BytecodeDescriptor *_descriptor;
	sqInt _distance;
	sqInt _endbcpc;
	sqInt _errCode;
	CogMethod *_homeMethod;
	sqInt _isBackwardBranch;
	usqInt _isInBlock;
	sqInt _latestContinuation;
	usqInt _map;
	sqInt _mapByte;
	usqInt _mcpc;
	sqInt _nExts;
	sqInt _nextBcpc;
	sqInt _result;
	sqInt _startbcpc;
	sqInt _targetPC;

	introspectionDataIndex = 0;
	introspectionData = _arrayObj;
	if (((_cogMethod->stackCheckOffset)) == 0) {
		assert(introspectionDataIndex == 0);
		if ((_cogMethod->cpicHasMNUCaseOrCMIsFullBlock)) {
			{
				storePointerUncheckedofObjectwithValue(0, introspectionData, nilObject());
				storePointerUncheckedofObjectwithValue(1, introspectionData, ((((usqInt) cbNoSwitchEntryOffset ) << 3) | 1));
				storePointerUncheckedofObjectwithValue(2, introspectionData, nilObject());
				storePointerUncheckedofObjectwithValue(3, introspectionData, ((((usqInt) cbEntryOffset ) << 3) | 1));
			}
		}
 else {
			{
				storePointerUncheckedofObjectwithValue(0, introspectionData, nilObject());
				storePointerUncheckedofObjectwithValue(1, introspectionData, ((((usqInt) cmEntryOffset ) << 3) | 1));
				storePointerUncheckedofObjectwithValue(2, introspectionData, nilObject());
				storePointerUncheckedofObjectwithValue(3, introspectionData, ((((usqInt) cmNoCheckEntryOffset ) << 3) | 1));
			}
		}
		return 4;
	}
	/* begin mapFor:bcpc:performUntil:arg: */
	_startbcpc = startPCOfMethod((_cogMethod->methodObject));
	assert(((_cogMethod->stackCheckOffset)) > 0);
	_mcpc = ((usqInt) _cogMethod ) + ((_cogMethod->stackCheckOffset));
	_result = pcDataForAnnotationMcpcBcpcMethod(null, 0 + ((sqInt) (((usqInt) HasBytecodePC ) << 1) ), ((char *) _mcpc ), _startbcpc, ((void *) _cogMethod ));
	if (_result != 0) {
		_errCode = _result;
		goto l3;
	}
	_bcpc = _startbcpc;
	_isInBlock = (_cogMethod->cpicHasMNUCaseOrCMIsFullBlock);
	_homeMethod = ((CogMethod *) _cogMethod );
	assert(_startbcpc == (startPCOfMethodHeader((_homeMethod->methodHeader))));
	_map = (((usqInt) _homeMethod ) + ((_homeMethod->blockSize))) - 1;
	_annotation = ((usqInt) (byteAt(_map)) ) >> AnnotationShift;
	assert((_annotation == IsAbsPCReference) || ((_annotation == IsObjectReference) || ((_annotation == IsRelativeCall) || (_annotation == IsDisplacementX2N))));
	_latestContinuation = _startbcpc;
	_aMethodObj = (_homeMethod->methodObject);
	_endbcpc = (numBytesOf(_aMethodObj)) - 1;
	_bcpc += deltaToSkipPrimAndErrorStoreInheader(_aMethodObj, (_homeMethod->methodHeader));
	_nExts = 0;
	{
		enumeratingCogMethod = _homeMethod;
	}
	while ((((usqInt) (byteAt(_map)) ) >> AnnotationShift) != HasBytecodePC) {
		_map -= 1;
	}
	_map -= 1;
	while (((_mapByte = byteAt(_map))) != MapEnd) {
		if (_mapByte >= FirstAnnotation) {
			_annotation = ((usqInt) _mapByte ) >> AnnotationShift;
			_mcpc += _mapByte & DisplacementMask;
			if (_annotation >= HasBytecodePC) {
				if ((_annotation == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
					_annotation += _mapByte & DisplacementMask;
					_map -= 1;
				}
				while (1) {
					_byte = fetchByteofObject(_bcpc, _aMethodObj);
					_descriptor = generatorAt(_byte);
					if (_isInBlock) {
						if (_bcpc >= _endbcpc) {
							_errCode = 0;
							goto l3;
						}
					} else {
						if (((_descriptor->isReturn)) && (_bcpc >= _latestContinuation)) {
							_errCode = 0;
							goto l3;
						}
						if (isBranch(_descriptor)) {
							/* begin latestContinuationPCFor:at:exts:in: */
							_distance = ((_descriptor->spanFunction))(_descriptor, _bcpc, _nExts, _aMethodObj);
							_targetPC = (_bcpc + ((_descriptor->numBytes))) + (((_distance < 0) ? 0 : _distance));
							/* end latestContinuationPCFor:at:exts:in: */
							_latestContinuation = ((_latestContinuation < _targetPC) ? _targetPC : _latestContinuation);
						}
					}
					_nextBcpc = _bcpc + ((_descriptor->numBytes));
					if (((_descriptor->isMapped)) || (_isInBlock && ((_descriptor->isMappedInBlock)))) 
						break;
					_bcpc = _nextBcpc;
					_nExts = (((_descriptor->isExtension))
						 ? _nExts + 1
						 : 0);
				}
				_isBackwardBranch = (isBranch(_descriptor)) && ((assert(((_descriptor->spanFunction)) != null), (((_descriptor->spanFunction))(_descriptor, _bcpc, _nExts, _aMethodObj)) < 0));
				_result = pcDataForAnnotationMcpcBcpcMethod(_descriptor, ((_isBackwardBranch)
					 ? ((sqInt) (((usqInt) _annotation ) << 1) ) + 1
					 : ((sqInt) (((usqInt) _annotation ) << 1) )), ((char *) _mcpc ), ((_isBackwardBranch)
					 ? _bcpc - (2 * _nExts)
					 : _bcpc), ((void *) _cogMethod ));
				if (_result != 0) {
					_errCode = _result;
					goto l3;
				}
				_bcpc = _nextBcpc;
				_nExts = (((_descriptor->isExtension))
					 ? _nExts + 1
					 : 0);
			}
		} else {
			assert(((((usqInt) _mapByte ) >> AnnotationShift) == IsDisplacementX2N) || ((((usqInt) _mapByte ) >> AnnotationShift) == IsAnnotationExtension));
			if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
				_mcpc += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
			}
		}
		_map -= 1;
	}
	_errCode = 0;
	l3:
	;
	/* end mapFor:bcpc:performUntil:arg: */
	if (_errCode != 0) {
		assert(_errCode == PrimErrNoMemory);
		return -1;
	}
	return introspectionDataIndex;
}
/*	If allocCheckFiller is true, words in newSpace from freeStart to 
	scavengeThreshold are filled with their address, and after each call of a 
	plugin primitive, the VM checks 
	that freeStart points to a word containing the value of freeStart. This is 
	a simple 
	check for primitives overwriting the ends of an object. */
/* SimpleStackBasedCogit>>#maybeCompileAllocFillerCheck */
static void
maybeCompileAllocFillerCheck(void)
{
	sqInt _address;
	sqInt _address2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_jmpOk;

	if (getCheckAllocFiller()) {
		/* begin MoveAw:R: */
		_address = freeStartAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction = genoperandoperand(MoveAwR, _address, ClassReg);
		/* end checkLiteral:forInstruction: */
		/* end MoveAw:R: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperandoperand(MoveMwrR, 0, ClassReg, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, ClassReg, TempReg);
		/* end CmpR:R: */
		/* begin JumpZero: */
		_jmpOk = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
		/* end JumpZero: */
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperand(MoveCqR, PrimErrWritePastObject, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin MoveR:Aw: */
		_address2 = primFailCodeAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction4 = genoperandoperand(MoveRAw, TempReg, _address2);
		/* end checkLiteral:forInstruction: */
		/* end MoveR:Aw: */
		jmpTarget(_jmpOk, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
}
/* SimpleStackBasedCogit>>#numSpecialSelectors */
static sqInt
numSpecialSelectors(void)
{
	return NumSpecialSelectors;
}
/* SimpleStackBasedCogit>>#pcDataFor:Annotation:Mcpc:Bcpc:Method: */
static sqInt NoDbgRegParms
pcDataForAnnotationMcpcBcpcMethod(BytecodeDescriptor *_descriptor, sqInt _isBackwardBranchAndAnnotation, char *_mcpc, sqInt _bcpc, void *_cogMethodArg)
{
	sqInt _actualBcpc;
	sqInt _actualMcpc;

	if (!_descriptor) {
		assert(introspectionDataIndex == 0);
		if (((((CogMethod *) _cogMethodArg ))->cpicHasMNUCaseOrCMIsFullBlock)) {
			{
				storePointerUncheckedofObjectwithValue(introspectionDataIndex, introspectionData, nilObject());
				storePointerUncheckedofObjectwithValue(introspectionDataIndex + 1, introspectionData, ((((usqInt) cbNoSwitchEntryOffset ) << 3) | 1));
				storePointerUncheckedofObjectwithValue(introspectionDataIndex + 2, introspectionData, nilObject());
				storePointerUncheckedofObjectwithValue(introspectionDataIndex + 3, introspectionData, ((((usqInt) cbEntryOffset ) << 3) | 1));
			}
		}
 else {
			{
				storePointerUncheckedofObjectwithValue(introspectionDataIndex, introspectionData, nilObject());
				storePointerUncheckedofObjectwithValue(introspectionDataIndex + 1, introspectionData, ((((usqInt) cmEntryOffset ) << 3) | 1));
				storePointerUncheckedofObjectwithValue(introspectionDataIndex + 2, introspectionData, nilObject());
				storePointerUncheckedofObjectwithValue(introspectionDataIndex + 3, introspectionData, ((((usqInt) cmNoCheckEntryOffset ) << 3) | 1));
			}
		}
		{
			storePointerUncheckedofObjectwithValue(introspectionDataIndex + 4, introspectionData, ((((usqInt) (_bcpc + 1) ) << 3) | 1));
			storePointerUncheckedofObjectwithValue(introspectionDataIndex + 5, introspectionData, (((((((CogMethod *) _cogMethodArg ))->stackCheckOffset)) << 3) | 1));
		}
		introspectionDataIndex += 6;
		return 0;
	}
	if ((((usqInt) _isBackwardBranchAndAnnotation ) >> 1) >= HasBytecodePC) {
		_actualBcpc = ((_isBackwardBranchAndAnnotation & 1)
			 ? _bcpc + 1
			 : (_bcpc + ((_descriptor->numBytes))) + 1);
		_actualMcpc = ((usqInt) _mcpc ) - ((usqInt) _cogMethodArg );
		{
			storePointerUncheckedofObjectwithValue(introspectionDataIndex, introspectionData, ((((usqInt) _actualBcpc ) << 3) | 1));
			storePointerUncheckedofObjectwithValue(introspectionDataIndex + 1, introspectionData, ((((usqInt) _actualMcpc ) << 3) | 1));
		}
		introspectionDataIndex += 2;
	}
	return 0;
}
/*	If there is a generator for the current primitive then answer it; 
	otherwise answer nil. */
/* SimpleStackBasedCogit>>#primitiveDescriptor */
static PrimitiveDescriptor *
primitiveDescriptor(void)
{
	static PrimitiveDescriptor primitiveGeneratorTable[MaxCompiledPrimitiveIndex+1] = {
	{ 0, -1, 0 },
	{ genPrimitiveAdd, 1, 0 },
	{ genPrimitiveSubtract, 1, 0 },
	{ genPrimitiveLessThan, 1, 0 },
	{ genPrimitiveGreaterThan, 1, 0 },
	{ genPrimitiveLessOrEqual, 1, 0 },
	{ genPrimitiveGreaterOrEqual, 1, 0 },
	{ genPrimitiveEqual, 1, 0 },
	{ genPrimitiveNotEqual, 1, 0 },
	{ genPrimitiveMultiply, 1, 0 },
	{ genPrimitiveDivide, 1, 0 },
	{ genPrimitiveMod, 1, 0 },
	{ genPrimitiveDiv, 1, 0 },
	{ genPrimitiveQuo, 1, 0 },
	{ genPrimitiveBitAnd, 1, 0 },
	{ genPrimitiveBitOr, 1, 0 },
	{ genPrimitiveBitXor, 1, 0 },
	{ genPrimitiveBitShift, 1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genPrimitiveAsFloat, 0, 0 },
	{ genPrimitiveFloatAdd, 1, 0 },
	{ genPrimitiveFloatSubtract, 1, 0 },
	{ genPrimitiveFloatLessThan, 1, 0 },
	{ genPrimitiveFloatGreaterThan, 1, 0 },
	{ genPrimitiveFloatLessOrEqual, 1, 0 },
	{ genPrimitiveFloatGreaterOrEqual, 1, 0 },
	{ genPrimitiveFloatEqual, 1, 0 },
	{ genPrimitiveFloatNotEqual, 1, 0 },
	{ genPrimitiveFloatMultiply, 1, 0 },
	{ genPrimitiveFloatDivide, 1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genPrimitiveFloatSquareRoot, 0, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genPrimitiveAt, 1, 0 },
	{ genPrimitiveAtPut, 2, 0 },
	{ genPrimitiveSize, 0, 0 },
	{ genPrimitiveStringAt, 1, 0 },
	{ genPrimitiveStringAtPut, 2, 0 },
	{ genFastPrimFail, -1, 0 },
	{ genFastPrimFail, -1, 0 },
	{ genFastPrimFail, -1, 0 },
	{ genPrimitiveObjectAt, 1, 0 },
	{ 0, -1, 0 },
	{ genPrimitiveNew, 0, 0 },
	{ genPrimitiveNewWithArg, 1, 0 },
	{ 0, -1, 0 },
	{ genNonImplementedPrimitive, -1, 1 },
	{ 0, -1, 0 },
	{ genPrimitiveIdentityHash, 0, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genPrimitiveNewMethod, 2, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genPrimitivePerform, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genPrimitiveStringReplace, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genPrimitiveIdentical, 1, 0 },
	{ genPrimitiveClass, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genNonImplementedPrimitive, -1, 1 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genNonImplementedPrimitive, -1, 1 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genPrimitiveShallowCopy, 0, 1 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genPrimitiveStringCompareWith, 1, 0 },
	{ genPrimitiveHashMultiply, 0, 0 },
	{ genNonImplementedPrimitive, -1, 1 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genPrimitiveIntegerAt, 1, 0 },
	{ genPrimitiveIntegerAtPut, 2, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genPrimitiveNotIdentical, 1, 0 },
	{ genPrimitiveAsCharacter, -1, 0 },
	{ genPrimitiveImmediateAsInteger, 0, 0 },
	{ 0, -1, 0 },
	{ genNonImplementedPrimitive, -1, 1 },
	{ 0, -1, 0 },
	{ genPrimitiveIdentityHash, 0, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genFastPrimFail, -1, 0 },
	{ genFastPrimFail, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genPrimitiveFullClosureValue, -1, 0 },
	{ 0, -1, 0 },
	{ genPrimitiveFullClosureValue, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genNonImplementedPrimitive, -1, 1 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genPrimitiveFormat, 0, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genPrimitiveSmallFloatAdd, 1, 0 },
	{ genPrimitiveSmallFloatSubtract, 1, 0 },
	{ genPrimitiveSmallFloatLessThan, 1, 0 },
	{ genPrimitiveSmallFloatGreaterThan, 1, 0 },
	{ genPrimitiveSmallFloatLessOrEqual, 1, 0 },
	{ genPrimitiveSmallFloatGreaterOrEqual, 1, 0 },
	{ genPrimitiveSmallFloatEqual, 1, 0 },
	{ genPrimitiveSmallFloatNotEqual, 1, 0 },
	{ genPrimitiveSmallFloatMultiply, 1, 0 },
	{ genPrimitiveSmallFloatDivide, 1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genPrimitiveSmallFloatSquareRoot, 0, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ 0, -1, 0 },
	{ genPrimitiveLoadBoolean8FromBytes, -1, 0 },
	{ genPrimitiveLoadUInt8FromBytes, -1, 0 },
	{ genPrimitiveLoadInt8FromBytes, -1, 0 },
	{ genPrimitiveLoadUInt16FromBytes, -1, 0 },
	{ genPrimitiveLoadInt16FromBytes, -1, 0 },
	{ genPrimitiveLoadUInt32FromBytes, -1, 0 },
	{ genPrimitiveLoadInt32FromBytes, -1, 0 },
	{ genPrimitiveLoadUInt64FromBytes, -1, 0 },
	{ genPrimitiveLoadInt64FromBytes, -1, 0 },
	{ genPrimitiveLoadPointerFromBytes, -1, 0 },
	{ genPrimitiveLoadChar8FromBytes, -1, 0 },
	{ genPrimitiveLoadChar16FromBytes, -1, 0 },
	{ genPrimitiveLoadChar32FromBytes, -1, 0 },
	{ genPrimitiveLoadFloat32FromBytes, -1, 0 },
	{ genPrimitiveLoadFloat64FromBytes, -1, 0 },
	{ genPrimitiveStoreBoolean8IntoBytes, -1, 0 },
	{ genPrimitiveStoreUInt8IntoBytes, -1, 0 },
	{ genPrimitiveStoreInt8IntoBytes, -1, 0 },
	{ genPrimitiveStoreUInt16IntoBytes, -1, 0 },
	{ genPrimitiveStoreInt16IntoBytes, -1, 0 },
	{ genPrimitiveStoreUInt32IntoBytes, -1, 0 },
	{ genPrimitiveStoreInt32IntoBytes, -1, 0 },
	{ genPrimitiveStoreUInt64IntoBytes, -1, 0 },
	{ genPrimitiveStoreInt64IntoBytes, -1, 0 },
	{ genPrimitiveStorePointerIntoBytes, -1, 0 },
	{ genPrimitiveStoreChar8IntoBytes, -1, 0 },
	{ genPrimitiveStoreChar16IntoBytes, -1, 0 },
	{ genPrimitiveStoreChar32IntoBytes, -1, 0 },
	{ genPrimitiveStoreFloat32IntoBytes, -1, 0 },
	{ genPrimitiveStoreFloat64IntoBytes, -1, 0 },
	{ genPrimitiveLoadBoolean8FromExternalAddress, -1, 0 },
	{ genPrimitiveLoadUInt8FromExternalAddress, -1, 0 },
	{ genPrimitiveLoadInt8FromExternalAddress, -1, 0 },
	{ genPrimitiveLoadUInt16FromExternalAddress, -1, 0 },
	{ genPrimitiveLoadInt16FromExternalAddress, -1, 0 },
	{ genPrimitiveLoadUInt32FromExternalAddress, -1, 0 },
	{ genPrimitiveLoadInt32FromExternalAddress, -1, 0 },
	{ genPrimitiveLoadUInt64FromExternalAddress, -1, 0 },
	{ genPrimitiveLoadInt64FromExternalAddress, -1, 0 },
	{ genPrimitiveLoadPointerFromExternalAddress, -1, 0 },
	{ genPrimitiveLoadChar8FromExternalAddress, -1, 0 },
	{ genPrimitiveLoadChar16FromExternalAddress, -1, 0 },
	{ genPrimitiveLoadChar32FromExternalAddress, -1, 0 },
	{ genPrimitiveLoadFloat32FromExternalAddress, -1, 0 },
	{ genPrimitiveLoadFloat64FromExternalAddress, -1, 0 },
	{ genPrimitiveStoreBoolean8IntoExternalAddress, -1, 0 },
	{ genPrimitiveStoreUInt8IntoExternalAddress, -1, 0 },
	{ genPrimitiveStoreInt8IntoExternalAddress, -1, 0 },
	{ genPrimitiveStoreUInt16IntoExternalAddress, -1, 0 },
	{ genPrimitiveStoreInt16IntoExternalAddress, -1, 0 },
	{ genPrimitiveStoreUInt32IntoExternalAddress, -1, 0 },
	{ genPrimitiveStoreInt32IntoExternalAddress, -1, 0 },
	{ genPrimitiveStoreUInt64IntoExternalAddress, -1, 0 },
	{ genPrimitiveStoreInt64IntoExternalAddress, -1, 0 },
	{ genPrimitiveStorePointerIntoExternalAddress, -1, 0 },
	{ genPrimitiveStoreChar8IntoExternalAddress, -1, 0 },
	{ genPrimitiveStoreChar16IntoExternalAddress, -1, 0 },
	{ genPrimitiveStoreChar32IntoExternalAddress, -1, 0 },
	{ genPrimitiveStoreFloat32IntoExternalAddress, -1, 0 },
	{ genPrimitiveStoreFloat64IntoExternalAddress, -1, 0 }
};
	PrimitiveDescriptor *_aPrimitiveDescriptor;

	if (isQuickPrimitiveIndex(primitiveIndex)) {
		_aPrimitiveDescriptor = &(primitiveGeneratorTable[0]);
		(_aPrimitiveDescriptor->primitiveGenerator = quickPrimitiveGeneratorFor(primitiveIndex));
		return _aPrimitiveDescriptor;
	}
	if ((primitiveIndex >= 1) && (primitiveIndex <= MaxCompiledPrimitiveIndex)) {
		return &(primitiveGeneratorTable[primitiveIndex]);
	}
	_aPrimitiveDescriptor = &(primitiveGeneratorTable[0]);
	(_aPrimitiveDescriptor->primitiveGenerator = null);
	(_aPrimitiveDescriptor->primNumArgs = -1);
	(_aPrimitiveDescriptor->primMayCallBack = 0);
	return _aPrimitiveDescriptor;
}
/*	Answer any special requirements of the given primitive. Spur always needs 
	to set 
	primitiveFunctionPointer and newMethod so primitives can retry on failure 
	due to forwarders. */
/* SimpleStackBasedCogit>>#primitivePropertyFlags:primitiveDescriptor: */
static sqInt NoDbgRegParms
primitivePropertyFlagsprimitiveDescriptor(sqInt _primIndex, CogPrimitiveDescriptor *_aPrimitiveDescriptor)
{
	sqInt _baseFlags;

	if (_primIndex == PrimNumberHashMultiply) {
		return PrimCallOnSmalltalkStack;
	}
	_baseFlags = PrimCallNeedsPrimitiveFunction + PrimCallNeedsNewMethod;
	if (hasProfileSemaphore()) {
		_baseFlags = _baseFlags | PrimCallCollectsProfileSamples;
	}
	if ((_aPrimitiveDescriptor->primMayCallBack)) {
		_baseFlags = _baseFlags | PrimCallMayCallBack;
		if (hasCheckAllocFiller()) {
			_baseFlags = _baseFlags | CheckAllocationFillerAfterPrimCall;
		}
	}
	return _baseFlags;
}
/* SimpleStackBasedCogit>>#recordCallOffsetIn: */
void
recordCallOffsetIn(CogMethod *_cogMethod)
{
	sqInt _offset;
	sqInt *_offsetTable;

	_offset = ((primSetFunctionLabel->address)) - ((sqInt) _cogMethod );
	if ((externalSetPrimOffsets[(_cogMethod->cmNumArgs)]) == null) {
		externalSetPrimOffsets[(_cogMethod->cmNumArgs)] = _offset;
	} else {
		assert((externalSetPrimOffsets[(_cogMethod->cmNumArgs)]) == _offset);
	}
	_offsetTable = ((isJump(primInvokeInstruction))
		 ? externalPrimJumpOffsets
		 : externalPrimCallOffsets);
	_offset = (((primInvokeInstruction->address)) + ((primInvokeInstruction->machineCodeSize))) - ((sqInt) _cogMethod );
	if ((_offsetTable[(_cogMethod->cmNumArgs)]) == null) {
		_offsetTable[(_cogMethod->cmNumArgs)] = _offset;
	} else {
		assert((_offsetTable[(_cogMethod->cmNumArgs)]) == _offset);
	}
}
/* SimpleStackBasedCogit>>#rewritePrimInvocationIn:to: */
void
rewritePrimInvocationInto(CogMethod *_cogMethod, void (*_primFunctionPointer)(void))
{
	usqInt _address;
	sqInt _extent;
	sqInt _flags;
	sqInt _primIndex;

	/* begin enableCodeZoneWriteDuring:flushingCacheWith: */
	/* begin enableCodeZoneWrite */
	if (jitCodeZoneWriteEnabled) {
		error("Code zone writing is not reentrant");
	}
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(0);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryNotExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 1;
	/* end enableCodeZoneWrite */
	{
		assert(((_cogMethod->cmType)) == CMMethod);
		_primIndex = (primitiveIndex = primitiveIndexOfMethodheader((_cogMethod->methodObject), (_cogMethod->methodHeader)));
		_flags = primitivePropertyFlagsprimitiveDescriptor(_primIndex, primitiveDescriptor());
		if (_flags & PrimCallNeedsPrimitiveFunction) {
			storeLiteralbeforeFollowingAddress(backEnd, ((usqInt) _primFunctionPointer ), ((usqInt) _cogMethod ) + (externalSetPrimOffsets[(_cogMethod->cmNumArgs)]));
		}
		if (_flags & PrimCallMayCallBack) {
			_address = ((usqInt) _cogMethod ) + (externalPrimJumpOffsets[(_cogMethod->cmNumArgs)]);
			_extent = rewriteJumpFullAttarget(backEnd, _address, ((usqInt) _primFunctionPointer ));
		}
 else {
			_address = ((usqInt) _cogMethod ) + (externalPrimCallOffsets[(_cogMethod->cmNumArgs)]);
			_extent = rewriteCallFullAttarget(backEnd, _address, ((usqInt) _primFunctionPointer ));
		}
	}
	/* begin disableCodeZoneWrite */
	
#  if READ_ONLY_CODE_ZONE
	{
		
#    if __APPLE__
		{
			pthread_jit_write_protect_np(1);
		}
#    else /* __APPLE__ */
		{
			sqMakeMemoryExecutableFromTo(codeStart(), codeEnd());
		}
#    endif /* __APPLE__ */
	}
#  endif /* READ_ONLY_CODE_ZONE */
	jitCodeZoneWriteEnabled = 0;
	/* end disableCodeZoneWrite */
	{
		flushICacheFromto(((usqInt) _cogMethod ) + cmNoCheckEntryOffset, ((usqInt) _address ) + _extent);
	}
	/* end enableCodeZoneWriteDuring:flushingCacheWith: */
}
/*	Answers if the code is installed in a class instantiating objects with the 
	format. Used in primitive  
	generation to make a quick path based on where the method is installed. 
	This method cannot 
	be used as a guarantee as there can be false positive, it's just a 
	heuristic. Tries to interpret the last literal of the method as a behavior 
	(more than 3 fields, 3rd field a Smi). 
	If it can be interpreted as a behavior, answers if instSpec matches the 
	format, else answers false. */
/* SimpleStackBasedCogit>>#seemsToBeInstantiating: */
static sqInt NoDbgRegParms
seemsToBeInstantiating(sqInt _format)
{
	return maybeMethodClassOfseemsToBeInstantiating(methodObj, _format);
}
/*	N.B. This serves for both BlueBook/V3 and V4 short jumps. */
/* SimpleStackBasedCogit>>#v3:ShortForward:Branch:Distance: */
static sqInt NoDbgRegParms
v3ShortForwardBranchDistance(BytecodeDescriptor *descriptor, sqInt _pc, sqInt _nExts, sqInt _aMethodObj)
{
	assert(_nExts == 0);
	return ((fetchByteofObject(_pc, _aMethodObj)) & 7) + 1;
}
/*	242		11110010	i i i i i i i i	Jump i i i i i i i i (+ Extend B * 256, 
	where bbbbbbbb = sddddddd, e.g. -32768 = i=0, a=0, s=1)243		11110011	i i i i i i i i	Pop and Jump 0n True i i i i i i i i (+ 
	Extend A * 256)244		11110100	i i i i i i i i	Pop and Jump 0n False i i i i i i i i (+ 
	Extend A * 256) */
/* SimpleStackBasedCogit>>#v4:LongForward:Branch:Distance: */
static sqInt NoDbgRegParms
v4LongForwardBranchDistance(BytecodeDescriptor *descriptor, sqInt _pc, sqInt _nExts, sqInt _aMethodObj)
{
	sqInt _byte;
	sqInt _extAValue;
	sqInt _extBValue;
	sqInt _extBValue2;
	sqInt _extByte;
	sqInt _pc2;

	assert(_nExts >= 0);
	/* begin parseV4Exts:priorTo:in:into: */
	_extAValue = (_extBValue2 = 0);
	_pc2 = (_pc - _nExts) - _nExts;
	while (_pc2 < _pc) {
		_byte = fetchByteofObject(_pc2, _aMethodObj);
		_pc2 += 1;
		_extByte = fetchByteofObject(_pc2, _aMethodObj);
		_pc2 += 1;
		assert((_byte == 224) || (_byte == 225));
		if (_byte == 224) {
			_extAValue = (((usqInt) _extAValue ) << 8) + _extByte;
		} else {
			_extBValue2 = (((_extBValue2 == 0) && (_extByte > 0x7F))
				 ? _extByte - 256
				 : (((usqInt) _extBValue2 ) << 8) + _extByte);
		}
	}
	{
		_extBValue = _extBValue2;
	}
	/* end parseV4Exts:priorTo:in:into: */
	return (fetchByteofObject(_pc + 1, _aMethodObj)) + ((sqInt) (((usqInt) _extBValue ) << 8) );
}
/*	242		11110010	i i i i i i i i	Jump i i i i i i i i (+ Extend B * 256, 
	where bbbbbbbb = sddddddd, e.g. -32768 = i=0, a=0, s=1) */
/* SimpleStackBasedCogit>>#v4:Long:Branch:Distance: */
static sqInt NoDbgRegParms
v4LongBranchDistance(BytecodeDescriptor *descriptor, sqInt _pc, sqInt _nExts, sqInt _aMethodObj)
{
	sqInt _byte;
	sqInt _extAValue;
	sqInt _extBValue;
	sqInt _extBValue2;
	sqInt _extByte;
	sqInt _pc2;

	assert(_nExts >= 0);
	/* begin parseV4Exts:priorTo:in:into: */
	_extAValue = (_extBValue2 = 0);
	_pc2 = (_pc - _nExts) - _nExts;
	while (_pc2 < _pc) {
		_byte = fetchByteofObject(_pc2, _aMethodObj);
		_pc2 += 1;
		_extByte = fetchByteofObject(_pc2, _aMethodObj);
		_pc2 += 1;
		assert((_byte == 224) || (_byte == 225));
		if (_byte == 224) {
			_extAValue = (((usqInt) _extAValue ) << 8) + _extByte;
		} else {
			_extBValue2 = (((_extBValue2 == 0) && (_extByte > 0x7F))
				 ? _extByte - 256
				 : (((usqInt) _extBValue2 ) << 8) + _extByte);
		}
	}
	{
		_extBValue = _extBValue2;
	}
	/* end parseV4Exts:priorTo:in:into: */
	return (fetchByteofObject(_pc + 1, _aMethodObj)) + ((sqInt) (((usqInt) _extBValue ) << 8) );
}
/* SimpleStackBasedCogit>>#voidCogCompiledCode */
void
voidCogCompiledCode(void)
{
	sqInt _i;

	clearCogCompiledCode();
	for (_i = 0; _i <= MaxNumArgs; _i += 1) {
		externalPrimJumpOffsets[_i] = null;
		externalPrimCallOffsets[_i] = null;
		externalSetPrimOffsets[_i] = null;
	}
}
/*	e.g.	Receiver				Receiver	or	Receiver				Receiver	(RISC) 
	Selector/Arg0	=>		Arg1			Selector/Arg0	=>		Arg1 
	Arg1					Arg2			Arg1					Arg2 
	Arg2					Arg3			Arg2			sp->	Arg3 
	Arg3			sp->	retpc	sp->	Arg3 
	sp->	retpcGenerate code to adjust the possibly stacked arguments immediately 
	before jumping to a method looked up by a perform primitive. */
/* StackToRegisterMappingCogit>>#adjustArgumentsForPerform: */
static void NoDbgRegParms
adjustArgumentsForPerform(sqInt _numArgs)
{
	sqInt literal10;
	sqInt literal11;
	sqInt literal3;
	sqInt literal4;
	sqInt literal6;
	AbstractInstruction *_anInstruction10;
	AbstractInstruction *_anInstruction14;
	AbstractInstruction *_anInstruction15;
	AbstractInstruction *_anInstruction16;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction8;
	AbstractInstruction *_anInstruction9;

	assert((numRegArgs()) <= 2);
	assert(_numArgs >= 1);
	if (_numArgs <= 2) {
		if (_numArgs == 2) {
			/* begin MoveR:R: */
			genoperandoperand(MoveRR, Arg1Reg, Arg0Reg);
			/* end MoveR:R: */
		}
		return;
	}
	if ((2 + 1) == _numArgs) {
		{
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction8 = genoperandoperandoperand(MoveMwrR, 0, SPReg, TempReg);
			/* end checkQuickConstant:forInstruction: */
			{
				/* begin checkQuickConstant:forInstruction: */
				literal3 = BytesPerWord;
				_anInstruction5 = genoperandoperandoperand(MoveMwrR, BytesPerWord, SPReg, Arg1Reg);
				/* end checkQuickConstant:forInstruction: */
				/* begin checkQuickConstant:forInstruction: */
				literal4 = BytesPerWord * 2;
				_anInstruction6 = genoperandoperandoperand(MoveMwrR, BytesPerWord * 2, SPReg, Arg0Reg);
				/* end checkQuickConstant:forInstruction: */
			}
			/* begin checkQuickConstant:forInstruction: */
			literal6 = (_numArgs + 1) * BytesPerWord;
			_anInstruction9 = genoperandoperand(AddCqR, (_numArgs + 1) * BytesPerWord, SPReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction10 = genoperandoperandoperand(MoveRMwr, TempReg, 0, SPReg);
			/* end checkQuickConstant:forInstruction: */
		}
		return;
	}
	{
		sqInt _index;

		{
			for (_index = _numArgs - 1; _index >= 1; _index += -1) {
				/* begin checkQuickConstant:forInstruction: */
				literal10 = _index * BytesPerWord;
				_anInstruction14 = genoperandoperandoperand(MoveMwrR, _index * BytesPerWord, SPReg, TempReg);
				/* end checkQuickConstant:forInstruction: */
				/* begin checkQuickConstant:forInstruction: */
				literal11 = (_index + 1) * BytesPerWord;
				_anInstruction15 = genoperandoperandoperand(MoveRMwr, TempReg, (_index + 1) * BytesPerWord, SPReg);
				/* end checkQuickConstant:forInstruction: */
			}
			/* begin PopR: */
			genoperand(PopR, TempReg);
			/* end PopR: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction16 = genoperandoperandoperand(MoveRMwr, TempReg, 0, SPReg);
			/* end checkQuickConstant:forInstruction: */
		}
	}
}
/*	If the stack entry is already in a register not conflicting with regMask, 
	answers it, 
	else allocate a new register not conflicting with reg mask */
/* StackToRegisterMappingCogit>>#allocateRegForStackEntryAt:notConflictingWith: */
static signed char NoDbgRegParms
allocateRegForStackEntryAtnotConflictingWith(sqInt _index, sqInt _regMask)
{
	sqInt _mask;
	CogSimStackEntry *_stackEntry;

	_stackEntry = ssValue(_index);
	_mask = registerMaskOrNone(_stackEntry);
	if ((_mask != 0) && ((_mask & _regMask) == 0)) {
		flag("TODO");
		return registerOrNone(_stackEntry);
	}
	return allocateRegNotConflictingWith(_regMask);
}
/*	if there's a free register, use it */
/* StackToRegisterMappingCogit>>#allocateRegNotConflictingWith: */
static sqInt NoDbgRegParms
allocateRegNotConflictingWith(sqInt _regMask)
{
	sqInt _reg;

	_reg = availableRegisterOrNoneFor(backEnd, (liveRegisters()) | _regMask);
	if (_reg == NoReg) {
		_reg = freeAnyRegNotConflictingWith(_regMask);
	}
	if (_reg == ReceiverResultReg) {
		voidReceiverResultRegContainsSelf();
	}
	return _reg;
}
/*	If the stack entry is already in a register not conflicting with regMask, 
	answers it, 
	else allocate a new register not conflicting with reg mask */
/* StackToRegisterMappingCogit>>#allocateVectorRegForStackEntryAt:notConflictingWith: */

#if FEATURE_JIT_SIMD
static signed char NoDbgRegParms
allocateVectorRegForStackEntryAtnotConflictingWith(sqInt _index, sqInt _regMask)
{
	sqInt _mask;
	CogSimStackEntry *_stackEntry;

	_stackEntry = ssValue(_index);
	_mask = registerMaskOrNone(_stackEntry);
	if ((_mask != 0) && ((_mask & _regMask) == 0)) {
		flag("TODO");
		return registerOrNone(_stackEntry);
	}
	return allocateVectorRegNotConflictingWith(_regMask);
}
#endif /* FEATURE_JIT_SIMD */
/*	if there's a free register, use it */
/* StackToRegisterMappingCogit>>#allocateVectorRegNotConflictingWith: */

#if FEATURE_JIT_SIMD
static sqInt NoDbgRegParms
allocateVectorRegNotConflictingWith(sqInt _regMask)
{
	sqInt _reg;

	_reg = availableVectorRegisterOrNoneFor(backEnd, (liveVectorRegisters()) | _regMask);
	return _reg;
}
#endif /* FEATURE_JIT_SIMD */
/* StackToRegisterMappingCogit>>#anyReferencesToRegister:inTopNItems: */
static sqInt NoDbgRegParms
anyReferencesToRegisterinTopNItems(sqInt _reg, sqInt _n)
{
	sqInt _i;
	sqInt _regMask;

	/* begin registerMaskFor: */
	_regMask = 1ULL << _reg;
	/* end registerMaskFor: */
	for (_i = simStackPtr; _i >= ((simStackPtr - _n) + 1); _i += -1) {
		if ((registerMask(simStackAt(_i))) & _regMask) {
			return 1;
		}
	}
	return 0;
}
/*	This is a static version of ceCallCogCodePopReceiverArg0Regs 
	for break-pointing when debugging in C.This exists only for break-pointing. */
/* StackToRegisterMappingCogit>>#callCogCodePopReceiverArg0Regs */
void
callCogCodePopReceiverArg0Regs(void)
{
	realCECallCogCodePopReceiverArg0Regs();
}
/*	This is a static version of ceCallCogCodePopReceiverArg1Arg0Regs 
	for break-pointing when debugging in C.This exists only for break-pointing. */
/* StackToRegisterMappingCogit>>#callCogCodePopReceiverArg1Arg0Regs */
void
callCogCodePopReceiverArg1Arg0Regs(void)
{
	realCECallCogCodePopReceiverArg1Arg0Regs();
}
/*	Loop over bytecodes, dispatching to the generator for each bytecode, 
	handling fixups in due course. */
/* StackToRegisterMappingCogit>>#compileAbstractInstructionsFrom:through: */
static sqInt NoDbgRegParms
compileAbstractInstructionsFromthrough(sqInt _start, sqInt _end)
{
	sqInt generateBranchAround;
	BytecodeDescriptor *_descriptor;
	BytecodeFixup *_fixup;
	sqInt _nExts;
	sqInt _nextOpcodeIndex;
	sqInt _result;

	bytecodePC = _start;
	_nExts = (_result = 0);
	_descriptor = null;
	deadCode = 0;
	while (1) {
		mergeWithFixupIfRequired((_fixup = fixupAt(bytecodePC)));
		_descriptor = loadBytesAndGetDescriptor();
		_nextOpcodeIndex = opcodeIndex;
		_result = ((deadCode)
			 ? mapDeadDescriptorIfNeeded(_descriptor)
			 : ((_descriptor->generator))());
		if (_result == 0) {
			/* begin assertExtsAreConsumed: */
			if (!((_descriptor->isExtension))) {
				assert((extA == 0) && ((extB == 0) && (numExtB == 0)));
			}
			/* end assertExtsAreConsumed: */
		}
		/* begin patchFixupTargetIfNeeded:nextOpcodeIndex: */
		if ((((usqInt) ((_fixup->targetInstruction)) ) >= NeedsNonMergeFixupFlag) && (((usqInt) ((_fixup->targetInstruction)) ) <= NeedsMergeFixupFlag)) {
			if (opcodeIndex == _nextOpcodeIndex) {
				/* begin Label */
				genoperandoperand(Label, (labelCounter += 1), bytecodePC);
				/* end Label */
			}
			(_fixup->targetInstruction = abstractInstructionAt(_nextOpcodeIndex));
		}
		/* end patchFixupTargetIfNeeded:nextOpcodeIndex: */
		/* begin maybeDumpLiterals: */
		if (((isBranch(_descriptor)) && (!(((_descriptor->isBranchTrue)) || ((_descriptor->isBranchFalse))))) || ((_descriptor->isReturn))) {
			/* begin dumpLiterals: */
			generateBranchAround = !(((isBranch(_descriptor)) && (!(((_descriptor->isBranchTrue)) || ((_descriptor->isBranchFalse))))) || ((_descriptor->isReturn)));
			/* end dumpLiterals: */
		}
		/* end maybeDumpLiterals: */
		/* begin nextBytecodePCFor:exts: */
		/* begin nextBytecodePCFor:at:exts:in: */
		bytecodePC += (_descriptor->numBytes);
		/* end nextBytecodePCFor:at:exts:in: */
		/* end nextBytecodePCFor:exts: */
		if (!((_result == 0) && (bytecodePC <= _end))) 
			break;
		_nExts = (((_descriptor->isExtension))
			 ? _nExts + 1
			 : 0);
	}
	/* begin checkEnoughOpcodes */
	if (opcodeIndex > numAbstractOpcodes) {
		error("Cog JIT internal error. Too many abstract opcodes.  Num opcodes heuristic is too optimistic.");
	}
	/* end checkEnoughOpcodes */
	return _result;
}
/* StackToRegisterMappingCogit>>#compileCogFullBlockMethod: */
static CogMethod * NoDbgRegParms
compileCogFullBlockMethod(sqInt _numCopied)
{
	sqInt _numberOfAbstractOpcodes;

	methodOrBlockNumTemps = tempCountOf(methodObj);
	{
		sqInt _numBytecodes;
		sqInt _result;
		sqInt _successScan;

		hasYoungReferent = isYoungObject(getMemoryMap(), methodObj);
		methodOrBlockNumArgs = argumentCountOf(methodObj);
		inBlock = InFullBlock;
		postCompileHook = null;
		maxLitIndex = -1;
		initialPC = startPCOfMethod(methodObj);
		endPC = numBytesOf(methodObj);
		_numBytecodes = (endPC - initialPC) + 1;
		primitiveIndex = 0;
		/* begin allocateOpcodes:bytecodes:ifFail: */
		_numberOfAbstractOpcodes = (_numBytecodes + 10) * 15;
		if (_numberOfAbstractOpcodes > MaxNumberOfAbstractOpcodes) {
			{
				return ((CogMethod *) MethodTooBig );
			}
			goto l2;
		}
		ensureAndClearAbstractOpcodes(_numberOfAbstractOpcodes);
		zeroOpcodeIndexForNewOpcodes();
		labelCounter = 0;
		l2:
		;
		/* end allocateOpcodes:bytecodes:ifFail: */
		flag("TODO");
		if (((_successScan = scanMethod())) < 0) {
			return ((CogMethod *) _successScan );
		}
		(methodLabel->dependent = null);
		if (((_result = compileEntireFullBlockMethod(_numCopied))) < 0) {
			return ((CogMethod *) _result );
		}
		return generateCogFullBlock();
	}
	return 0;
}
/* StackToRegisterMappingCogit>>#compileCogMethod: */
static CogMethod * NoDbgRegParms
compileCogMethod(sqInt _selector)
{
	sqInt _numberOfAbstractOpcodes;

	methodOrBlockNumTemps = tempCountOf(methodObj);
	{
		int _extra;
		sqInt _numBytecodes;
		sqInt _result;
		sqInt _successScan;

		hasYoungReferent = (isYoungObject(getMemoryMap(), methodObj)) || (isYoung(_selector));
		methodOrBlockNumArgs = argumentCountOf(methodObj);
		inBlock = 0;
		postCompileHook = null;
		maxLitIndex = -1;
		_extra = (((((primitiveIndex = primitiveIndexOf(methodObj))) > 0) && (!(isQuickPrimitiveIndex(primitiveIndex))))
			 ? 30
			 : 10);
		initialPC = startPCOfMethod(methodObj);
		endPC = ((isQuickPrimitiveIndex(primitiveIndex))
			 ? initialPC - 1
			 : numBytesOf(methodObj));
		_numBytecodes = (endPC - initialPC) + 1;
		/* begin allocateOpcodes:bytecodes:ifFail: */
		_numberOfAbstractOpcodes = (_numBytecodes + _extra) * 15;
		if (_numberOfAbstractOpcodes > MaxNumberOfAbstractOpcodes) {
			{
				return ((CogMethod *) MethodTooBig );
			}
			goto l2;
		}
		ensureAndClearAbstractOpcodes(_numberOfAbstractOpcodes);
		zeroOpcodeIndexForNewOpcodes();
		labelCounter = 0;
		l2:
		;
		/* end allocateOpcodes:bytecodes:ifFail: */
		if (((_successScan = scanMethod())) < 0) {
			return ((CogMethod *) _successScan );
		}
		if (methodFoundInvalidPostScan()) {
			return ((CogMethod *) ShouldNotJIT );
		}
		(methodLabel->dependent = null);
		if (((_result = compileEntireMethod())) < 0) {
			return ((CogMethod *) _result );
		}
		return generateCogMethod(_selector);
	}
	return 0;
}
/*	Compile the abstract instructions for the entire method, including blocks.Compile the abstract instructions for the entire method, including blocks. */
/* StackToRegisterMappingCogit>>#compileEntireMethod */
static sqInt
compileEntireMethod(void)
{
	regArgsHaveBeenPushed = 0;
	{
		sqInt _result;

		/* begin preenMethodLabel */
		/* begin setLabelOffset: */
		((((AbstractInstruction *) methodLabel ))->operands)[1] = 0;
		/* end setLabelOffset: */
		/* end preenMethodLabel */
		compileAbort();
		compileEntry();
		if (((_result = compilePrimitive())) < 0) {
			return _result;
		}
		compileFrameBuild();
		/* begin compileMethodBody */
		if (endPC < initialPC) {
			return 0;
		}
		return compileAbstractInstructionsFromthrough(initialPC + (deltaToSkipPrimAndErrorStoreInheader(methodObj, methodHeader)), endPC);
		/* end compileMethodBody */
	}
	return 0;
}
/*	Build a frame for a CogMethod activation. See CoInterpreter 
	class>>initializeFrameIndices. receiver (in ReceiverResultReg) 
	arg0 
	... 
	argN 
	caller's saved ip/this stackPage (for a base frame) 
	fp->	saved fp 
	method 
	context (uninitialized?) 
	receiver 
	first temp 
	... 
	sp->	Nth temp 
	If there is a primitive and an error code the Nth temp is the error code. 
	Ensure SendNumArgsReg is set early on (incidentally to nilObj) because 
	it is the flag determining whether context switch is allowed on 
	stack-overflow. Build a frame for a CogMethod activation. See CoInterpreter 
	class>>initializeFrameIndices. Override to push the register receiver and 
	register arguments, if any. */
/* StackToRegisterMappingCogit>>#compileFrameBuild */
static void
compileFrameBuild(void)
{
	sqInt _address;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _constant;
	sqInt _iLimit;

	
#  if IMMUTABILITY
	{
		if (useTwoPaths) {
			compileTwoPathFrameBuild();
			return;
		}
	}
#  endif /* IMMUTABILITY */
	if (!needsFrame) {
		if (useTwoPaths) {
			compileTwoPathFramelessInit();
		}
		initSimStackForFramelessMethod(initialPC);
		return;
	}
	assert(!useTwoPaths);
	genPushRegisterArgs();
	{
		sqInt _i;
		AbstractInstruction *_jumpSkip;

		if (!needsFrame) {
			return;
		}
		/* begin PushR: */
		genoperand(PushR, FPReg);
		/* end PushR: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, SPReg, FPReg);
		/* end MoveR:R: */
		addDependent(methodLabel, annotateAbsolutePCRef(checkLiteralforInstruction(((sqInt) methodLabel ), genoperand(PushCw, ((sqInt) methodLabel )))));
		/* begin genMoveNilR: */
		/* begin genMoveConstant:R: */
		_constant = nilObject();
		if (shouldAnnotateObjectReference(_constant)) {
			annotateobjRef(checkLiteralforInstruction(_constant, genoperandoperand(MoveCwR, _constant, SendNumArgsReg)), _constant);
		} else {
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperandoperand(MoveCqR, _constant, SendNumArgsReg);
			/* end checkQuickConstant:forInstruction: */
		}
		/* end genMoveConstant:R: */
		/* end genMoveNilR: */
		/* begin PushR: */
		genoperand(PushR, SendNumArgsReg);
		/* end PushR: */
		/* begin PushR: */
		genoperand(PushR, ReceiverResultReg);
		/* end PushR: */
		for (_i = methodOrBlockNumArgs + 1, _iLimit = temporaryCountOfMethodHeader(methodHeader); _i <= _iLimit; _i += 1) {
			/* begin PushR: */
			genoperand(PushR, SendNumArgsReg);
			/* end PushR: */
		}
		if (((primitiveIndexOfMethodheader(methodObj, methodHeader)) > 0) && ((longStoreBytecodeForHeader(methodHeader)) == (fetchByteofObject((startPCOfMethod(methodObj)) + (sizeOfCallPrimitiveBytecode(methodHeader)), methodObj)))) {
			compileGetErrorCode();
		}
		/* begin MoveAw:R: */
		_address = stackLimitAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction3 = genoperandoperand(MoveAwR, _address, TempReg);
		/* end checkLiteral:forInstruction: */
		/* end MoveAw:R: */
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, TempReg, SPReg);
		/* end CmpR:R: */
		if (canContextSwitchIfActivatingheader(methodObj, methodHeader)) {
			/* begin JumpBelow: */
			genConditionalBranchoperand(JumpBelow, ((sqInt) stackOverflowCall ));
			/* end JumpBelow: */
			/* begin Label */
			stackCheckLabel = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
			/* end Label */
		} else {
			/* begin JumpAboveOrEqual: */
			_jumpSkip = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
			/* end JumpAboveOrEqual: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction2 = genoperandoperand(MoveCqR, 0, SendNumArgsReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin Jump: */
			genoperand(Jump, ((sqInt) stackOverflowCall ));
			/* end Jump: */
			jmpTarget(_jumpSkip, (stackCheckLabel = genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
		}
		/* begin annotateBytecode: */
		(stackCheckLabel->annotation = HasBytecodePC);
		/* end annotateBytecode: */
	}
	initSimStackForFramefulMethod(initialPC);
}
/*	Make sure ReceiverResultReg holds the receiver, loaded from the closure, 
	which is what is initially in ReceiverResultReg. Make sure ReceiverResultReg holds the receiver, loaded from 
	the closure, which is what is initially in ReceiverResultReg */
/* StackToRegisterMappingCogit>>#compileFullBlockFramelessEntry: */
static void NoDbgRegParms
compileFullBlockFramelessEntry(sqInt numCopied)
{
	initSimStackForFramelessBlock(initialPC);
	{
		flag("TODO");
		genLoadSlotsourceRegdestReg(FullClosureReceiverIndex, ReceiverResultReg, Arg0Reg);
		genEnsureOopInRegNotForwardedscratchRegupdatingSlotin(Arg0Reg, TempReg, FullClosureReceiverIndex, ReceiverResultReg);
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg0Reg, ReceiverResultReg);
		/* end MoveR:R: */
	}
}
/*	Build a frame for a block activation. See CoInterpreter 
	class>>initializeFrameIndices. closure (in ReceiverResultReg) 
	arg0 
	... 
	argN 
	caller's saved ip/this stackPage (for a base frame) 
	fp->	saved fp 
	method 
	context (uninitialized?) 
	receiver 
	first temp 
	... 
	sp->	Nth temp 
	Avoid use of SendNumArgsReg which is the flag determining whether 
	context switch is allowed on stack-overflow. */
/* StackToRegisterMappingCogit>>#compileFullBlockMethodFrameBuild: */
static void NoDbgRegParms
compileFullBlockMethodFrameBuild(sqInt _numCopied)
{
	AbstractInstruction *_abstractInstruction;
	sqInt _address;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	sqInt _constant;
	sqInt _iLimit;

	if (useTwoPaths) {
		useTwoPaths = 0;
		
#    if IMMUTABILITY
		{
			needsFrame = 1;
		}
#    endif /* IMMUTABILITY */
	}
	if (!needsFrame) {
		assert(_numCopied == 0);
		compileFullBlockFramelessEntry(_numCopied);
		initSimStackForFramelessBlock(initialPC);
		return;
	}
	{
		sqInt _i;

		if (!needsFrame) {
			return;
		}
		/* begin PushR: */
		genoperand(PushR, FPReg);
		/* end PushR: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, SPReg, FPReg);
		/* end MoveR:R: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, ReceiverResultReg, ClassReg);
		/* end MoveR:R: */
		{
			addDependent(methodLabel, annotateAbsolutePCRef(checkLiteralforInstruction(((sqInt) methodLabel ), genoperand(PushCw, ((sqInt) methodLabel )))));
			/* begin setLabelOffset: */
			((((AbstractInstruction *) methodLabel ))->operands)[1] = MFMethodFlagIsBlockFlag;
			/* end setLabelOffset: */
		}
		/* begin genMoveNilR: */
		/* begin genMoveConstant:R: */
		_constant = nilObject();
		if (shouldAnnotateObjectReference(_constant)) {
			annotateobjRef(checkLiteralforInstruction(_constant, genoperandoperand(MoveCwR, _constant, SendNumArgsReg)), _constant);
		} else {
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperandoperand(MoveCqR, _constant, SendNumArgsReg);
			/* end checkQuickConstant:forInstruction: */
		}
		/* end genMoveConstant:R: */
		/* end genMoveNilR: */
		/* begin PushR: */
		genoperand(PushR, SendNumArgsReg);
		/* end PushR: */
		flag("TODO");
		genLoadSlotsourceRegdestReg(FullClosureReceiverIndex, ClassReg, Arg0Reg);
		genEnsureOopInRegNotForwardedscratchRegupdatingSlotin(Arg0Reg, TempReg, FullClosureReceiverIndex, ReceiverResultReg);
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, Arg0Reg, ReceiverResultReg);
		/* end MoveR:R: */
		/* begin PushR: */
		genoperand(PushR, ReceiverResultReg);
		/* end PushR: */
		for (_i = 0; _i < _numCopied; _i += 1) {
			genLoadSlotsourceRegdestReg(_i + FullClosureFirstCopiedValueIndex, ClassReg, TempReg);
			/* begin PushR: */
			genoperand(PushR, TempReg);
			/* end PushR: */
		}
		for (_i = (methodOrBlockNumArgs + _numCopied) + 1, _iLimit = temporaryCountOfMethodHeader(methodHeader); _i <= _iLimit; _i += 1) {
			/* begin PushR: */
			genoperand(PushR, SendNumArgsReg);
			/* end PushR: */
		}
		/* begin MoveAw:R: */
		_address = stackLimitAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction2 = genoperandoperand(MoveAwR, _address, TempReg);
		/* end checkLiteral:forInstruction: */
		/* end MoveAw:R: */
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, TempReg, SPReg);
		/* end CmpR:R: */
		/* begin JumpBelow: */
		genConditionalBranchoperand(JumpBelow, ((sqInt) stackOverflowCall ));
		/* end JumpBelow: */
		/* begin annotateBytecode: */
		_abstractInstruction = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
		(_abstractInstruction->annotation = HasBytecodePC);
		stackCheckLabel = _abstractInstruction;
		/* end annotateBytecode: */
	}
	initSimStackForFramefulMethod(initialPC);
}
/*	Build a frame for a CogMethod activation. See CoInterpreter 
	class>>initializeFrameIndices. receiver (in ReceiverResultReg) 
	arg0 
	... 
	argN 
	caller's saved ip/this stackPage (for a base frame) 
	fp->	saved fp 
	method 
	context (uninitialized?) 
	receiver 
	first temp 
	... 
	sp->	Nth temp 
	If there is a primitive and an error code the Nth temp is the error code. 
	Ensure SendNumArgsReg is set early on (incidentally to nilObj) because 
	it is the flag determining whether context switch is allowed on 
	stack-overflow. We are in a method where the frame is needed *only* for instance variable 
	store, typically a setter method. 
	This case has 20% overhead with Immutability compared to setter without 
	immutability because of the stack 
	frame creation. We compile two path, one where the object is immutable, 
	one where it isn't. At the beginning  
	of the frame build, we take one path or the other depending on the 
	receiver mutability. 
	 
	Note: this specific case happens only where there are only instance 
	variabel stores. We could do something 
	similar for literal variable stores, but we don't as it's too uncommon. */
/* StackToRegisterMappingCogit>>#compileTwoPathFrameBuild */

#if IMMUTABILITY
static void
compileTwoPathFrameBuild(void)
{
	sqInt _address;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	sqInt _constant;
	sqInt _iLimit;
	AbstractInstruction * _jumpImmutable;
	AbstractInstruction * _jumpOld;
	sqInt _quickConstant;

	assert(useTwoPaths);
	_jumpImmutable = genJumpImmutablescratchReg(ReceiverResultReg, TempReg);
	{
		/* begin CmpCq:R: */
		_quickConstant = storeCheckBoundary();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, _quickConstant, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpAboveOrEqual: */
		_jumpOld = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
		/* end JumpAboveOrEqual: */
	}
	assert(!needsFrame);
	initSimStackForFramelessMethod(initialPC);
	/* begin compileMethodBody */
	if (endPC < initialPC) {
		goto l15;
	}
	compileAbstractInstructionsFromthrough(initialPC + (deltaToSkipPrimAndErrorStoreInheader(methodObj, methodHeader)), endPC);
	l15:
	;
	/* end compileMethodBody */
	useTwoPaths = 0;
	needsFrame = 1;
	jmpTarget(_jumpOld, jmpTarget(_jumpImmutable, genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	genPushRegisterArgs();
	{
		sqInt _i;
		AbstractInstruction *_jumpSkip;

		if (!needsFrame) {
			return;
		}
		/* begin PushR: */
		genoperand(PushR, FPReg);
		/* end PushR: */
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, SPReg, FPReg);
		/* end MoveR:R: */
		addDependent(methodLabel, annotateAbsolutePCRef(checkLiteralforInstruction(((sqInt) methodLabel ), genoperand(PushCw, ((sqInt) methodLabel )))));
		/* begin genMoveNilR: */
		/* begin genMoveConstant:R: */
		_constant = nilObject();
		if (shouldAnnotateObjectReference(_constant)) {
			annotateobjRef(checkLiteralforInstruction(_constant, genoperandoperand(MoveCwR, _constant, SendNumArgsReg)), _constant);
		} else {
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction2 = genoperandoperand(MoveCqR, _constant, SendNumArgsReg);
			/* end checkQuickConstant:forInstruction: */
		}
		/* end genMoveConstant:R: */
		/* end genMoveNilR: */
		/* begin PushR: */
		genoperand(PushR, SendNumArgsReg);
		/* end PushR: */
		/* begin PushR: */
		genoperand(PushR, ReceiverResultReg);
		/* end PushR: */
		for (_i = methodOrBlockNumArgs + 1, _iLimit = temporaryCountOfMethodHeader(methodHeader); _i <= _iLimit; _i += 1) {
			/* begin PushR: */
			genoperand(PushR, SendNumArgsReg);
			/* end PushR: */
		}
		if (((primitiveIndexOfMethodheader(methodObj, methodHeader)) > 0) && ((longStoreBytecodeForHeader(methodHeader)) == (fetchByteofObject((startPCOfMethod(methodObj)) + (sizeOfCallPrimitiveBytecode(methodHeader)), methodObj)))) {
			compileGetErrorCode();
		}
		/* begin MoveAw:R: */
		_address = stackLimitAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction4 = genoperandoperand(MoveAwR, _address, TempReg);
		/* end checkLiteral:forInstruction: */
		/* end MoveAw:R: */
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, TempReg, SPReg);
		/* end CmpR:R: */
		if (canContextSwitchIfActivatingheader(methodObj, methodHeader)) {
			/* begin JumpBelow: */
			genConditionalBranchoperand(JumpBelow, ((sqInt) stackOverflowCall ));
			/* end JumpBelow: */
			/* begin Label */
			stackCheckLabel = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
			/* end Label */
		} else {
			/* begin JumpAboveOrEqual: */
			_jumpSkip = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
			/* end JumpAboveOrEqual: */
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction3 = genoperandoperand(MoveCqR, 0, SendNumArgsReg);
			/* end checkQuickConstant:forInstruction: */
			/* begin Jump: */
			genoperand(Jump, ((sqInt) stackOverflowCall ));
			/* end Jump: */
			jmpTarget(_jumpSkip, (stackCheckLabel = genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
		}
		/* begin annotateBytecode: */
		(stackCheckLabel->annotation = HasBytecodePC);
		/* end annotateBytecode: */
	}
	initSimStackForFramefulMethod(initialPC);
}
#endif /* IMMUTABILITY */
/*	We are in a frameless method with at least two inst var stores. We compile 
	two paths, 
	one where the object is in new space, and one where it isn't. At the 
	beginning  
	of the method, we take one path or the other depending on the receiver 
	being in newSpace. */
/* StackToRegisterMappingCogit>>#compileTwoPathFramelessInit */
static void
compileTwoPathFramelessInit(void)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction * _jumpOld;
	sqInt _quickConstant;

	assert(!IMMUTABILITY);
	assert(!needsFrame);
	assert(useTwoPaths);
	{
		/* begin CmpCq:R: */
		_quickConstant = storeCheckBoundary();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, _quickConstant, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpAboveOrEqual: */
		_jumpOld = genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) 0 ));
		/* end JumpAboveOrEqual: */
	}
	initSimStackForFramelessMethod(initialPC);
	/* begin compileMethodBody */
	if (endPC < initialPC) {
		goto l2;
	}
	compileAbstractInstructionsFromthrough(initialPC + (deltaToSkipPrimAndErrorStoreInheader(methodObj, methodHeader)), endPC);
	l2:
	;
	/* end compileMethodBody */
	useTwoPaths = 0;
	jmpTarget(_jumpOld, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
}
/* StackToRegisterMappingCogit>>#cPICMissTrampolineFor: */
static sqInt NoDbgRegParms
cPICMissTrampolineFor(sqInt _numArgs)
{
	return picMissTrampolines[((_numArgs < (2 + 1)) ? _numArgs : 2 + 1)];
}
/* StackToRegisterMappingCogit>>#duplicateTopBytecode */
static sqInt
duplicateTopBytecode(void)
{
	SimStackEntry _desc;

	/* begin ssTopDescriptor */
	_desc = simStack[simStackPtr];
	/* end ssTopDescriptor */
	return ssPushDesc(_desc);
}
/* StackToRegisterMappingCogit>>#ensureFixupAt: */
static BytecodeFixup * NoDbgRegParms
ensureFixupAt(sqInt _targetPC)
{
	return ensureFixupAtwithStackPointer(_targetPC, simStackPtr);
}
/*	Make sure there's a flagged fixup at the target pc in fixups. 
	Initially a fixup's target is just a flag. Later on it is replaced with a 
	proper instruction. */
/* StackToRegisterMappingCogit>>#ensureFixupAt:withStackPointer: */
static BytecodeFixup * NoDbgRegParms
ensureFixupAtwithStackPointer(sqInt _targetPC, sqInt _aStackPointer)
{
	BytecodeFixup *_fixup;

	/* begin fixupAt: */
	_fixup = fixupAtIndex(_targetPC - initialPC);
	/* end fixupAt: */
	if (((usqInt) ((_fixup->targetInstruction)) ) <= NeedsNonMergeFixupFlag) {
		/* begin becomeMergeFixup */
		(_fixup->targetInstruction) = ((AbstractInstruction *) NeedsMergeFixupFlag );
		/* end becomeMergeFixup */
		(_fixup->simStackPtr = _aStackPointer);
	} else {
		if ((_fixup->isTargetOfBackwardBranch)) {
			(_fixup->simStackPtr = _aStackPointer);
		} else {
			assert(((_fixup->simStackPtr)) == _aStackPointer);
		}
	}
	/* begin recordBcpc: */
	/* end recordBcpc: */
	return _fixup;
}
/*	Make sure there's a flagged fixup at the target pc in fixups. 
	Initially a fixup's target is just a flag. Later on it is replaced with a 
	proper instruction. */
/* StackToRegisterMappingCogit>>#ensureNonMergeFixupAt: */
static BytecodeFixup * NoDbgRegParms
ensureNonMergeFixupAt(sqInt _targetPC)
{
	BytecodeFixup *_fixup;

	/* begin fixupAt: */
	_fixup = fixupAtIndex(_targetPC - initialPC);
	/* end fixupAt: */
	if (((_fixup->targetInstruction)) == 0) {
		/* begin becomeNonMergeFixup */
		(_fixup->targetInstruction) = ((AbstractInstruction *) NeedsNonMergeFixupFlag );
		/* end becomeNonMergeFixup */
	}
	/* begin recordBcpc: */
	/* end recordBcpc: */
	return _fixup;
}
/* StackToRegisterMappingCogit>>#ensureReceiverResultRegContainsSelf */
static void
ensureReceiverResultRegContainsSelf(void)
{
	if (needsFrame) {
		if (!((((simSelf())->liveRegister)) == ReceiverResultReg)) {
			/* begin ssAllocateRequiredReg: */
			ssAllocateRequiredRegMaskupThrough(1U << ReceiverResultReg, simStackPtr);
			/* end ssAllocateRequiredReg: */
			/* begin putSelfInReceiverResultReg */
			copyToReg(simSelf(), ReceiverResultReg);
			/* end putSelfInReceiverResultReg */
			((simSelf())->liveRegister = ReceiverResultReg);
		}
	} else {
		assert(((((simSelf())->type)) == SSRegister) && (((((simSelf())->registerr)) == ReceiverResultReg) && (receiverIsInReceiverResultReg())));
	}
}
/* StackToRegisterMappingCogit>>#evaluate:at: */
static void NoDbgRegParms
evaluateat(BytecodeDescriptor *_descriptor, sqInt _pc)
{
	byte0 = fetchByteofObject(_pc, methodObj);
	assert(_descriptor == (generatorAt(byte0)));
	loadSubsequentBytesForDescriptorat(_descriptor, _pc);
	((_descriptor->generator))();
}
/*	Attempt to follow a branch to a pc. Handle branches to unconditional jumps 
	and branches to push: aBoolean; conditional branch pairs. If the branch 
	cannot be 
	followed answer targetBytecodePC. It is not possible to follow jumps to 
	conditional branches because the stack changes depth. That following is 
	left to the genJumpIf:to: 
	clients. */
/* StackToRegisterMappingCogit>>#eventualTargetOf: */
static sqInt NoDbgRegParms
eventualTargetOf(sqInt _targetBytecodePC)
{
	int _cond;
	sqInt _currentTarget;
	BytecodeDescriptor *_descriptor;
	int _nExts;
	sqInt _nextPC;
	sqInt _span;

	_cond = 0;
	_nextPC = (_currentTarget = _targetBytecodePC);
	while (1) {
		_nExts = 0;
		while (1) {
			/* begin generatorForPC: */
			_descriptor = generatorAt(fetchByteofObject(_nextPC, methodObj));
			/* end generatorForPC: */
			if ((_descriptor->isReturn)) {
				return _currentTarget;
			}
			if (!((_descriptor->isExtension))) 
				break;
			_nExts += 1;
			_nextPC += (_descriptor->numBytes);
		}
		if ((isBranch(_descriptor)) && (!(((_descriptor->isBranchTrue)) || ((_descriptor->isBranchFalse))))) {
			/* begin spanFor:at:exts:in: */
			_span = ((_descriptor->spanFunction))(_descriptor, _nextPC, _nExts, methodObj);
			/* end spanFor:at:exts:in: */
			if (_span < 0) {
				return _currentTarget;
			}
			_nextPC = (_nextPC + ((_descriptor->numBytes))) + _span;
		} else {
			if (((_descriptor->generator)) == genPushConstantTrueBytecode) {
				_cond = 1;
			} else {
				if (((_descriptor->generator)) == genPushConstantFalseBytecode) {
					_cond = 0;
				} else {
					return _currentTarget;
				}
			}
			if (((fixupAt(_nextPC))->isTargetOfBackwardBranch)) {
				return _currentTarget;
			}
			_nextPC = eventualTargetOf(_nextPC + ((_descriptor->numBytes)));
			_nExts = 0;
			while (1) {
				/* begin generatorForPC: */
				_descriptor = generatorAt(fetchByteofObject(_nextPC, methodObj));
				/* end generatorForPC: */
				if ((_descriptor->isReturn)) {
					return _currentTarget;
				}
				if (!((_descriptor->isExtension))) 
					break;
				_nExts += 1;
				_nextPC += (_descriptor->numBytes);
			}
			if (!(isBranch(_descriptor))) {
				return _currentTarget;
			}
			if ((isBranch(_descriptor)) && (!(((_descriptor->isBranchTrue)) || ((_descriptor->isBranchFalse))))) {
				return _currentTarget;
			}
			_nextPC = ((_cond == ((_descriptor->isBranchTrue)))
				 ? (_nextPC + ((_descriptor->numBytes))) + (((_descriptor->spanFunction))(_descriptor, _nextPC, _nExts, methodObj))
				 : _nextPC + ((_descriptor->numBytes)));
		}
		_currentTarget = _nextPC;
	}
	return 0;
}
/*	Spill the closest register on stack not conflicting with regMask.  
	Assertion Failure if regMask has already all the registers */
/* StackToRegisterMappingCogit>>#freeAnyRegNotConflictingWith: */
static sqInt NoDbgRegParms
freeAnyRegNotConflictingWith(sqInt _regMask)
{
	CogSimStackEntry *_desc;
	sqInt _index;
	sqInt _reg;

	assert(needsFrame);
	_reg = NoReg;
	_index = ((simSpillBase < 0) ? 0 : simSpillBase);
	while ((_reg == NoReg) && (_index < simStackPtr)) {
		_desc = simStackAt(_index);
		if (((_desc->type)) == SSRegister) {
			if (!(_regMask & (1ULL << ((_desc->registerr))))) {
				_reg = (_desc->registerr);
			}
		}
		_index += 1;
	}
	assert(!(_reg == NoReg));
	/* begin ssAllocateRequiredReg: */
	ssAllocateRequiredRegMaskupThrough(1ULL << _reg, simStackPtr);
	/* end ssAllocateRequiredReg: */
	return _reg;
}
/* StackToRegisterMappingCogit>>#genAddFloat32Vector */

#if FEATURE_JIT_SIMD
static sqInt
genAddFloat32Vector(void)
{
	signed char _array1Reg;
	signed char _array2Reg;
	sqInt _sumReg;

	_array2Reg = allocateVectorRegForStackEntryAtnotConflictingWith(0, 0);
	_array1Reg = allocateVectorRegForStackEntryAtnotConflictingWith(1, 1ULL << _array2Reg);
	_sumReg = _array1Reg;
	ssPopTopToVectorReg(_array2Reg);
	ssPopTopToVectorReg(_array1Reg);
	gFaddSRvRvRv(32, _array1Reg, _array2Reg, _sumReg);
	ssPushVectorRegister(_sumReg);
	return 0;
}
#endif /* FEATURE_JIT_SIMD */
/* StackToRegisterMappingCogit>>#genAddFloat64Vector */

#if FEATURE_JIT_SIMD
static sqInt
genAddFloat64Vector(void)
{
	signed char _array1Reg;
	signed char _array2Reg;
	sqInt _sumReg;

	_array2Reg = allocateVectorRegForStackEntryAtnotConflictingWith(0, 0);
	_array1Reg = allocateVectorRegForStackEntryAtnotConflictingWith(1, 1ULL << _array2Reg);
	_sumReg = _array1Reg;
	ssPopTopToVectorReg(_array2Reg);
	ssPopTopToVectorReg(_array1Reg);
	gFaddSRvRvRv(64, _array1Reg, _array2Reg, _sumReg);
	ssPushVectorRegister(_sumReg);
	return 0;
}
#endif /* FEATURE_JIT_SIMD */
/*	Return from block, assuming result already loaded into ReceiverResultReg.Return from block, assuming result already loaded into ReceiverResultReg. */
/* StackToRegisterMappingCogit>>#genBlockReturn */
static sqInt
genBlockReturn(void)
{
	{
		if (needsFrame) {
			/* begin MoveR:R: */
			genoperandoperand(MoveRR, FPReg, SPReg);
			/* end MoveR:R: */
			/* begin PopR: */
			genoperand(PopR, FPReg);
			/* end PopR: */
		}
		/* begin RetN: */
		genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
		/* end RetN: */
	}
	deadCode = 1;
	return 0;
}
/*	SistaV1:	236		11101100	iiiiiiii		callMappedInlinedPrimitive */
/* StackToRegisterMappingCogit>>#genCallMappedInlinedPrimitive */
static sqInt
genCallMappedInlinedPrimitive(void)
{
	return genMappedInlinePrimitive(byte1);
}
/*	Generate special versions of the ceCallCogCodePopReceiverAndClassRegs 
	enilopmart that also pop register args from the stack to undo the pushing 
	of register args in the abort/miss trampolines. */
/* StackToRegisterMappingCogit>>#genCallPICEnilopmartNumArgs: */
static void (*genCallPICEnilopmartNumArgs(sqInt _numArgs))(void)

{
	AbstractInstruction *_anInstruction;
	sqInt _endAddress;
	sqInt _enilopmart;
	sqInt _quickConstant;
	sqInt _reg;
	sqInt _size;

	zeroOpcodeIndex();
	{
		/* begin MoveCq:R: */
		_quickConstant = varBaseAddress();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _quickConstant, VarBaseReg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveCq:R: */
	}
	genLoadStackPointers(backEnd);
	/* begin PopR: */
	genoperand(PopR, ClassReg);
	/* end PopR: */
	/* begin PopR: */
	genoperand(PopR, TempReg);
	/* end PopR: */
	/* begin PopR: */
	_reg = SendNumArgsReg;
	genoperand(PopR, _reg);
	/* end PopR: */
	if (_numArgs > 0) {
		if (_numArgs > 1) {
			/* begin PopR: */
			genoperand(PopR, Arg1Reg);
			/* end PopR: */
			assert((numRegArgs()) == 2);
		}
		/* begin PopR: */
		genoperand(PopR, Arg0Reg);
		/* end PopR: */
	}
	/* begin PopR: */
	genoperand(PopR, ReceiverResultReg);
	/* end PopR: */
	{
		/* begin PushR: */
		genoperand(PushR, SendNumArgsReg);
		/* end PushR: */
	}
	/* begin JumpR: */
	genoperand(JumpR, TempReg);
	/* end JumpR: */
	computeMaximumSizes();
	_size = generateInstructionsAt(methodZoneBase);
	_endAddress = outputInstructionsAt(methodZoneBase);
	assert((methodZoneBase + _size) == _endAddress);
	_enilopmart = methodZoneBase;
	methodZoneBase = alignUptoRoutineBoundary(_endAddress);
	stopsFromto(backEnd, _endAddress, methodZoneBase - 1);
	recordGeneratedRunTimeaddress(trampolineNamenumRegArgs("ceCallPIC", _numArgs), _enilopmart);
	return ((void (*)(void)) _enilopmart );
}
/*	SistaV1: 248		11111000 iiiiiiii		mjjjjjjj		Call Primitive #iiiiiiii + 
	(jjjjjjj * 256) m=1 means inlined primitive, no hard return after 
	execution. See EncoderForSistaV1's class comment and 
	StackInterpreter>>#inlinePrimitiveBytecode:  */
/* StackToRegisterMappingCogit>>#genCallPrimitiveBytecode */
static sqInt
genCallPrimitiveBytecode(void)
{
	sqInt _prim;
	sqInt _primSet;

	if (byte2 < 128) {
		return ((bytecodePC == initialPC)
			 ? 0
			 : EncounteredUnknownBytecode);
	}
	_prim = ((sqInt) (((usqInt) (byte2 - 128) ) << 8) ) + byte1;
	_primSet = (((usqInt) _prim ) >> 13) & 3;
	_prim = _prim & 0x1FFF;
	return EncounteredUnknownBytecode;
}
/*	Override to push the register receiver and register arguments, if any. */
/* StackToRegisterMappingCogit>>#genExternalizePointersForPrimitiveCall */
static sqInt
genExternalizePointersForPrimitiveCall(void)
{
	sqInt _address3;
	sqInt _address4;
	sqInt _address5;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;

	genPushRegisterArgs();
	{
		/* begin MoveR:Aw: */
		_address5 = framePointerAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction5 = genoperandoperand(MoveRAw, FPReg, _address5);
		/* end checkLiteral:forInstruction: */
		/* end MoveR:Aw: */
		{
			/* begin PopR: */
			genoperand(PopR, TempReg);
			/* end PopR: */
			/* begin MoveR:Aw: */
			_address3 = instructionPointerAddress();
			/* begin checkLiteral:forInstruction: */
			_anInstruction3 = genoperandoperand(MoveRAw, TempReg, _address3);
			/* end checkLiteral:forInstruction: */
			/* end MoveR:Aw: */
			/* begin MoveR:Aw: */
			_address4 = stackPointerAddress();
			/* begin checkLiteral:forInstruction: */
			_anInstruction4 = genoperandoperand(MoveRAw, SPReg, _address4);
			/* end checkLiteral:forInstruction: */
			/* end MoveR:Aw: */
		}
		return 0;
	}
	return 0;
}
/*	Full Block creation compilation. The block's actual code will be compiled 
	separatedly. *	255		11111111	xxxxxxxx	siyyyyyy	push Closure Compiled block literal 
	index xxxxxxxx (+ Extend A * 256) numCopied yyyyyy receiverOnStack: s = 1 
	ignoreOuterContext: i = 1 */
/* StackToRegisterMappingCogit>>#genExtPushFullClosureBytecode */
static sqInt
genExtPushFullClosureBytecode(void)
{
	sqInt _compiledBlock;
	sqInt _i;
	int _ignoreContext;
	sqInt _numCopied;
	int _receiverIsOnStack;
	sqInt _reg;

	assert(needsFrame);
	_compiledBlock = getLiteral(byte1 + ((sqInt) (((usqInt) extA ) << 8) ));
	extA = 0;
	_numCopied = byte2 & ((1U << 6) - 1);
	_receiverIsOnStack = byte2 & (1U << 7);
	_ignoreContext = byte2 & (1U << 6);
	voidReceiverResultRegContainsSelf();
	/* begin ssAllocateCallReg:and:and: */
	ssAllocateRequiredRegMaskupThrough(CallerSavedRegisterMask | (((1U << ReceiverResultReg) | (1U << SendNumArgsReg)) | (1U << ClassReg)), simStackPtr);
	/* end ssAllocateCallReg:and:and: */
	genCreateFullClosurenumArgsnumCopiedignoreContextcontextNumArgslargeinBlock(_compiledBlock, argumentCountOf(_compiledBlock), _numCopied, _ignoreContext, methodOrBlockNumArgs, methodNeedsLargeContext(methodObj), inBlock);
	for (_i = 1; _i <= _numCopied; _i += 1) {
		_reg = ssStorePoptoPreferredReg(1, TempReg);
		genStoreSourceRegslotIndexintoNewObjectInDestReg(_reg, (FullClosureFirstCopiedValueIndex + _numCopied) - _i, ReceiverResultReg);
	}
	if (_receiverIsOnStack) {
		_reg = ssStorePoptoPreferredReg(1, TempReg);
	} else {
		copyToReg(simSelf(), (_reg = TempReg));
	}
	genStoreSourceRegslotIndexintoNewObjectInDestReg(_reg, FullClosureReceiverIndex, ReceiverResultReg);
	ssPushRegister(ReceiverResultReg);
	return 0;
}
/*	Enilopmarts transfer control from C into machine code (backwards 
	trampolines). Enilopmarts transfer control from C into machine code (backwards 
	trampolines). Override to add version for generic and PIC-specific entry 
	with reg args. */
/* StackToRegisterMappingCogit>>#generateEnilopmarts */
static void
generateEnilopmarts(void)
{
	{
		
#    if Debug
		{
			/* begin genEnilopmartFor:forCall:called: */
			realCEEnterCogCodePopReceiverReg = genEnilopmartForandandforCallcalled(ReceiverResultReg, NoReg, NoReg, 0, "realCEEnterCogCodePopReceiverReg");
			/* end genEnilopmartFor:forCall:called: */
			ceEnterCogCodePopReceiverReg = enterCogCodePopReceiver;
			/* begin genEnilopmartFor:forCall:called: */
			realCECallCogCodePopReceiverReg = genEnilopmartForandandforCallcalled(ReceiverResultReg, NoReg, NoReg, 1, "realCEEnterCogCodePopReceiverReg");
			/* end genEnilopmartFor:forCall:called: */
			ceCallCogCodePopReceiverReg = callCogCodePopReceiver;
			/* begin genEnilopmartFor:and:forCall:called: */
			realCECallCogCodePopReceiverAndClassRegs = genEnilopmartForandandforCallcalled(ReceiverResultReg, ClassReg, NoReg, 1, "realCECallCogCodePopReceiverAndClassRegs");
			/* end genEnilopmartFor:and:forCall:called: */
			ceCallCogCodePopReceiverAndClassRegs = callCogCodePopReceiverAndClassRegs;
		}
#    else /* Debug */
		{
			/* begin genEnilopmartFor:forCall:called: */
			ceEnterCogCodePopReceiverReg = genEnilopmartForandandforCallcalled(ReceiverResultReg, NoReg, NoReg, 0, "ceEnterCogCodePopReceiverReg");
			/* end genEnilopmartFor:forCall:called: */
			/* begin genEnilopmartFor:forCall:called: */
			ceCallCogCodePopReceiverReg = genEnilopmartForandandforCallcalled(ReceiverResultReg, NoReg, NoReg, 1, "ceCallCogCodePopReceiverReg");
			/* end genEnilopmartFor:forCall:called: */
			/* begin genEnilopmartFor:and:forCall:called: */
			ceCallCogCodePopReceiverAndClassRegs = genEnilopmartForandandforCallcalled(ReceiverResultReg, ClassReg, NoReg, 1, "ceCallCogCodePopReceiverAndClassRegs");
			/* end genEnilopmartFor:and:forCall:called: */
		}
#    endif /* Debug */
		genPrimReturnEnterCogCodeEnilopmart(0);
		cePrimReturnEnterCogCode = methodZoneBase;
		outputInstructionsForGeneratedRuntimeAt(cePrimReturnEnterCogCode);
		recordGeneratedRunTimeaddress("cePrimReturnEnterCogCode", cePrimReturnEnterCogCode);
		genPrimReturnEnterCogCodeEnilopmart(1);
		cePrimReturnEnterCogCodeProfiling = methodZoneBase;
		outputInstructionsForGeneratedRuntimeAt(cePrimReturnEnterCogCodeProfiling);
		recordGeneratedRunTimeaddress("cePrimReturnEnterCogCodeProfiling", cePrimReturnEnterCogCodeProfiling);
	}
	
#  if Debug
	{
		/* begin genEnilopmartFor:and:forCall:called: */
		realCECallCogCodePopReceiverArg0Regs = genEnilopmartForandandforCallcalled(ReceiverResultReg, Arg0Reg, NoReg, 1, "realCECallCogCodePopReceiverArg0Regs");
		/* end genEnilopmartFor:and:forCall:called: */
		ceCallCogCodePopReceiverArg0Regs = callCogCodePopReceiverArg0Regs;
		realCECallCogCodePopReceiverArg1Arg0Regs = genEnilopmartForandandforCallcalled(ReceiverResultReg, Arg0Reg, Arg1Reg, 1, "realCECallCogCodePopReceiverArg1Arg0Regs");
		ceCallCogCodePopReceiverArg1Arg0Regs = callCogCodePopReceiverArg1Arg0Regs;
	}
#  else /* Debug */
	{
		/* begin genEnilopmartFor:and:forCall:called: */
		ceCallCogCodePopReceiverArg0Regs = genEnilopmartForandandforCallcalled(ReceiverResultReg, Arg0Reg, NoReg, 1, "ceCallCogCodePopReceiverArg0Regs");
		/* end genEnilopmartFor:and:forCall:called: */
		ceCallCogCodePopReceiverArg1Arg0Regs = genEnilopmartForandandforCallcalled(ReceiverResultReg, Arg0Reg, Arg1Reg, 1, "ceCallCogCodePopReceiverArg1Arg0Regs");
	}
#  endif /* Debug */
	ceCall0ArgsPIC = genCallPICEnilopmartNumArgs(0);
	{
		ceCall1ArgsPIC = genCallPICEnilopmartNumArgs(1);
		{
			ceCall2ArgsPIC = genCallPICEnilopmartNumArgs(2);
			assert((numRegArgs()) == 2);
		}
	}
}
/*	Size pc-dependent instructions and assign eventual addresses to all 
	instructions. Answer the size of the code. 
	Compute forward branches based on virtual address (abstract code starts at 
	0), assuming that any branches branched over are long. 
	Compute backward branches based on actual address. 
	Reuse the fixups array to record the pc-dependent instructions that need 
	to have 
	their code generation postponed until after the others. 
	 
	Override to andd handling for null branches (branches to the immediately 
	following instruction) occasioned by StackToRegisterMapping's following of 
	jumps.  */
/* StackToRegisterMappingCogit>>#generateInstructionsAt: */
static sqInt NoDbgRegParms
generateInstructionsAt(sqInt _eventualAbsoluteAddress)
{
	sqInt _absoluteAddress;
	AbstractInstruction *_abstractInstruction;
	BytecodeFixup *_fixup;
	sqInt _i;
	sqInt _j;
	int _pcDependentIndex;

	_absoluteAddress = _eventualAbsoluteAddress;
	_pcDependentIndex = 0;
	for (_i = 0; _i < opcodeIndex; _i += 1) {
		_abstractInstruction = abstractInstructionAt(_i);
		if (isPCDependent(_abstractInstruction)) {
			sizePCDependentInstructionAt(_abstractInstruction, _absoluteAddress);
			if ((isJump(_abstractInstruction)) && ((((_i + 1) < opcodeIndex) && (((AbstractInstruction *) ((_abstractInstruction->operands)[0]) ) == (abstractInstructionAt(_i + 1)))) || (((_i + 2) < opcodeIndex) && ((((AbstractInstruction *) ((_abstractInstruction->operands)[0]) ) == (abstractInstructionAt(_i + 2))) && ((((abstractInstructionAt(_i + 1))->opcode)) == Nop))))) {
				{
					(_abstractInstruction->opcode = Nop);
					concretizeAt(_abstractInstruction, _absoluteAddress);
				}
			} else {
				_fixup = fixupAtIndex(_pcDependentIndex);
				_pcDependentIndex += 1;
				(_fixup->instructionIndex = _i);
			}
			_absoluteAddress += (_abstractInstruction->machineCodeSize);
		} else {
			_absoluteAddress = concretizeAt(_abstractInstruction, _absoluteAddress);
		}
	}
	for (_j = 0; _j < _pcDependentIndex; _j += 1) {
		_fixup = fixupAtIndex(_j);
		_abstractInstruction = abstractInstructionAt((_fixup->instructionIndex));
		concretizeAt(_abstractInstruction, (_abstractInstruction->address));
	}
	return _absoluteAddress - _eventualAbsoluteAddress;
}
/*	Generate the run-time entries for the various method and PIC entry misses 
	and aborts. 
	Read the class-side method trampolines for documentation on the various 
	trampolines  */
/* StackToRegisterMappingCogit>>#generateMissAbortTrampolines */
static void
generateMissAbortTrampolines(void)
{
	sqInt _iLimit;
	sqInt _numArgs;

	for (_numArgs = 0, _iLimit = 2 + 1; _numArgs <= _iLimit; _numArgs += 1) {
		methodAbortTrampolines[_numArgs] = genMethodAbortTrampolineFor(_numArgs);
	}
	for (_numArgs = 0, _iLimit = 2 + 1; _numArgs <= _iLimit; _numArgs += 1) {
		picAbortTrampolines[_numArgs] = genPICAbortTrampolineFor(_numArgs);
	}
	for (_numArgs = 0, _iLimit = 2 + 1; _numArgs <= _iLimit; _numArgs += 1) {
		picMissTrampolines[_numArgs] = genPICMissTrampolineFor(_numArgs);
	}
	ceReapAndResetErrorCodeTrampoline = genTrampolineForcalledarg(ceReapAndResetErrorCodeFor, "ceReapAndResetErrorCodeTrampoline", ClassReg);
}
/*	Override to generate code to push the register arg(s) for <= numRegArg 
	arity sends. */
/* StackToRegisterMappingCogit>>#generateSendTrampolines */
static void
generateSendTrampolines(void)
{
	sqInt _numArgs;

	for (_numArgs = 0; _numArgs < NumSendTrampolines; _numArgs += 1) {
		ordinarySendTrampolines[_numArgs] = genSendTrampolineFornumArgscalledargargargarg(ceSendsupertonumArgs, _numArgs, trampolineNamenumArgs("ceSend", _numArgs), ClassReg, trampolineArgConstant(0), ReceiverResultReg, ((_numArgs <= (NumSendTrampolines - 2))
			 ? (/* begin trampolineArgConstant: */ assert(_numArgs >= 0), -2 - _numArgs /* end trampolineArgConstant: */)
			 : SendNumArgsReg));
	}
	{
		for (_numArgs = 0; _numArgs < NumSendTrampolines; _numArgs += 1) {
			generateSuperSendTrampolineTonamednumArgsin(ceSendabovetonumArgs, "ceDirectedSuperSend", _numArgs, directedSuperSendTrampolines);
			generateSuperSendTrampolineTonamednumArgsin(ceSendaboveClassBindingtonumArgs, "ceDirectedSuperBindingSend", _numArgs, directedSuperBindingSendTrampolines);
		}
	}
	for (_numArgs = 0; _numArgs < NumSendTrampolines; _numArgs += 1) {
		superSendTrampolines[_numArgs] = genSendTrampolineFornumArgscalledargargargarg(ceSendsupertonumArgs, _numArgs, trampolineNamenumArgs("ceSuperSend", _numArgs), ClassReg, trampolineArgConstant(1), ReceiverResultReg, ((_numArgs <= (NumSendTrampolines - 2))
			 ? (/* begin trampolineArgConstant: */ assert(_numArgs >= 0), -2 - _numArgs /* end trampolineArgConstant: */)
			 : SendNumArgsReg));
	}
	firstSend = ordinarySendTrampolines[0];
	lastSend = superSendTrampolines[NumSendTrampolines - 1];
}
/* StackToRegisterMappingCogit>>#generateSuperSendTrampolineTo:named:numArgs:in: */
static sqInt NoDbgRegParms
generateSuperSendTrampolineTonamednumArgsin(sqInt _function, sqInt _name, sqInt _numArgs, sqInt *_table)
{
	sqInt _trampoline;

	_trampoline = genSendTrampolineFornumArgscalledargargargarg(_function, _numArgs, trampolineNamenumArgs(_name, _numArgs), ClassReg, TempReg, ReceiverResultReg, ((_numArgs <= (NumSendTrampolines - 2))
		 ? (/* begin trampolineArgConstant: */ assert(_numArgs >= 0), -2 - _numArgs /* end trampolineArgConstant: */)
		 : SendNumArgsReg));
	_table[_numArgs] = _trampoline;
	return _trampoline;
}
/*	Generate trampolines for tracing. In the simulator we can save a lot of 
	time and avoid noise instructions in the lastNInstructions log by 
	short-cutting these 
	trampolines, but we need them in the real vm. */
/* StackToRegisterMappingCogit>>#generateTracingTrampolines */
static void
generateTracingTrampolines(void)
{
	sqInt ceTraceBlockActivationTrampoline;

	ceTraceLinkedSendTrampoline = genTrampolineForcalledargregsToSave(ceTraceLinkedSend, "ceTraceLinkedSendTrampoline", ReceiverResultReg, CallerSavedRegisterMask);
	ceTraceBlockActivationTrampoline = genTrampolineForcalledregsToSave(ceTraceBlockActivation, "ceTraceBlockActivationTrampoline", CallerSavedRegisterMask);
	ceTraceStoreTrampoline = genTrampolineForcalledargargregsToSave(ceTraceStoreOfinto, "ceTraceStoreTrampoline", TempReg, ReceiverResultReg, CallerSavedRegisterMask);
}
/* StackToRegisterMappingCogit>>#genForwardersInlinedIdenticalOrNotIf: */
static sqInt NoDbgRegParms
genForwardersInlinedIdenticalOrNotIf(sqInt _orNot)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	int _argIsConstant;
	sqInt _argReg;
	sqInt _argReg2;
	sqInt _argumentConstant;
	BytecodeDescriptor *_branchDescriptor;
	BytecodeDescriptor *_branchDescriptor2;
	BytecodeFixup * _fixup;
	void *_jumpTarget;
	void *_jumpTarget2;
	AbstractInstruction *_label;
	int _nExts;
	sqInt _nextPC;
	sqInt _nextPC2;
	sqInt _postBranchPC;
	sqInt _postBranchPC2;
	BytecodeDescriptor *_primDescriptor;
	int _rcvrIsConstant;
	sqInt _rcvrReg;
	sqInt _rcvrReg2;
	sqInt _receiverConstant;
	sqInt _reg;
	sqInt _rNext2;
	sqInt _rTop2;
	sqInt _targetBytecodePC;
	sqInt _targetBytecodePC2;
	sqInt _topRegistersMask;
	int _unforwardArg;
	int _unforwardRcvr;

	/* begin extractMaybeBranchDescriptorInto: */
	_primDescriptor = generatorAt(byte0);
	_nextPC2 = bytecodePC + ((_primDescriptor->numBytes));
	_nExts = 0;
	while (1) {
		while (1) {
			/* begin generatorForPC: */
			_branchDescriptor2 = generatorAt(fetchByteofObject(_nextPC2, methodObj));
			/* end generatorForPC: */
			if (!((_branchDescriptor2->isExtension))) 
				break;
			_nExts += 1;
			_nextPC2 += (_branchDescriptor2->numBytes);
		}
		/* begin isUnconditionalBranch */
		/* end isUnconditionalBranch */
		if (!((isBranch(_branchDescriptor2)) && (!(((_branchDescriptor2->isBranchTrue)) || ((_branchDescriptor2->isBranchFalse)))))) 
			break;
		_nextPC2 = eventualTargetOf((_nextPC2 + ((_branchDescriptor2->numBytes))) + (((_branchDescriptor2->spanFunction))(_branchDescriptor2, _nextPC2, _nExts, methodObj)));
	}
	_targetBytecodePC2 = (_postBranchPC2 = 0);
	if (((_branchDescriptor2->isBranchTrue)) || ((_branchDescriptor2->isBranchFalse))) {
		_targetBytecodePC2 = eventualTargetOf((_nextPC2 + ((_branchDescriptor2->numBytes))) + (((_branchDescriptor2->spanFunction))(_branchDescriptor2, _nextPC2, _nExts, methodObj)));
		_postBranchPC2 = eventualTargetOf(_nextPC2 + ((_branchDescriptor2->numBytes)));
	} else {
		_nextPC2 = bytecodePC + ((_primDescriptor->numBytes));
	}
	{
		_branchDescriptor = _branchDescriptor2;
		_nextPC = _nextPC2;
		_postBranchPC = _postBranchPC2;
		_targetBytecodePC = _targetBytecodePC2;
	}
	/* end extractMaybeBranchDescriptorInto: */
	_unforwardRcvr = !(isUnannotatableConstant(ssValue(1)));
	_unforwardArg = !(isUnannotatableConstant(ssTop()));
	/* begin allocateEqualsEqualsRegistersArgNeedsReg:rcvrNeedsReg:into: */
	assert(_unforwardArg || _unforwardRcvr);
	_argReg2 = (_rcvrReg2 = NoReg);
	if (_unforwardArg) {
		if (_unforwardRcvr) {
			/* begin allocateRegForStackTopTwoEntriesInto: */
			_topRegistersMask = 0;
			_rTop2 = (_rNext2 = NoReg);
			if ((registerOrNone(ssTop())) != NoReg) {
				_rTop2 = registerOrNone(ssTop());
			}
			if ((registerOrNone(ssValue(1))) != NoReg) {
				/* begin registerMaskFor: */
				_reg = (_rNext2 = registerOrNone(ssValue(1)));
				_topRegistersMask = 1ULL << _reg;
				/* end registerMaskFor: */
			}
			if (_rTop2 == NoReg) {
				_rTop2 = allocateRegNotConflictingWith(_topRegistersMask);
			}
			if (_rNext2 == NoReg) {
				_rNext2 = allocateRegNotConflictingWith(1ULL << _rTop2);
			}
			assert(!((_rTop2 == NoReg) || (_rNext2 == NoReg)));
			{
				_argReg2 = _rTop2;
				_rcvrReg2 = _rNext2;
			}
			/* end allocateRegForStackTopTwoEntriesInto: */
			copyToReg(ssTop(), _argReg2);
			copyToReg(ssValue(1), _rcvrReg2);
		} else {
			/* begin allocateRegForStackEntryAt: */
			_argReg2 = allocateRegForStackEntryAtnotConflictingWith(0, 0);
			/* end allocateRegForStackEntryAt: */
			copyToReg(ssTop(), _argReg2);
		}
	} else {
		assert(_unforwardRcvr);
		assert(!(((ssTop())->spilled)));
		/* begin allocateRegForStackEntryAt: */
		_rcvrReg2 = allocateRegForStackEntryAtnotConflictingWith(1, 0);
		/* end allocateRegForStackEntryAt: */
		copyToReg(ssValue(1), _rcvrReg2);
	}
	assert(!(_unforwardArg && (_argReg2 == NoReg)));
	assert(!(_unforwardRcvr && (_rcvrReg2 == NoReg)));
	{
		_rcvrReg = _rcvrReg2;
		_argReg = _argReg2;
	}
	/* end allocateEqualsEqualsRegistersArgNeedsReg:rcvrNeedsReg:into: */
	if (!(((_branchDescriptor->isBranchTrue)) || ((_branchDescriptor->isBranchFalse)))) {
		return genIdenticalNoBranchArgIsConstantrcvrIsConstantargRegrcvrRegorNotIf(!_unforwardArg, !_unforwardRcvr, _argReg, _rcvrReg, _orNot);
	}
	ssFlushStackExceptTop(2);
	_argIsConstant = !_unforwardArg;
	_rcvrIsConstant = !_unforwardRcvr;
	_receiverConstant = ((_rcvrIsConstant)
		 ? ((ssValue(1))->constant)
		 : 0);
	_argumentConstant = ((_argIsConstant)
		 ? ((ssTop())->constant)
		 : 0);
	ssPop(2);
	/* begin Label */
	_label = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
	/* end Label */
	assert((_argReg != NoReg) || (_rcvrReg != NoReg));
	if (_argIsConstant) {
		/* begin genCmpConstant:R: */
		if (shouldAnnotateObjectReference(_argumentConstant)) {
			annotateobjRef(checkLiteralforInstruction(_argumentConstant, genoperandoperand(CmpCwR, _argumentConstant, _rcvrReg)), _argumentConstant);
		} else {
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperandoperand(CmpCqR, _argumentConstant, _rcvrReg);
			/* end checkQuickConstant:forInstruction: */
		}
		/* end genCmpConstant:R: */
	} else {
		if (_rcvrIsConstant) {
			/* begin genCmpConstant:R: */
			if (shouldAnnotateObjectReference(_receiverConstant)) {
				annotateobjRef(checkLiteralforInstruction(_receiverConstant, genoperandoperand(CmpCwR, _receiverConstant, _argReg)), _receiverConstant);
			} else {
				/* begin checkQuickConstant:forInstruction: */
				_anInstruction2 = genoperandoperand(CmpCqR, _receiverConstant, _argReg);
				/* end checkQuickConstant:forInstruction: */
			}
			/* end genCmpConstant:R: */
		} else {
			/* begin CmpR:R: */
			genoperandoperand(CmpRR, _argReg, _rcvrReg);
			/* end CmpR:R: */
		}
	}
	if ((((fixupAt(_nextPC))->targetInstruction)) == 0) {
		deadCode = 1;
		ensureFixupAt(_targetBytecodePC);
		ensureFixupAt(_postBranchPC);
	} else {
		assert(!deadCode);
	}
	assert(_unforwardArg || _unforwardRcvr);
	if (_orNot == ((_branchDescriptor->isBranchTrue))) {
		_fixup = ensureNonMergeFixupAt(_targetBytecodePC);
		/* begin JumpZero: */
		_jumpTarget2 = ensureNonMergeFixupAt(_postBranchPC);
		genConditionalBranchoperand(JumpZero, ((sqInt) _jumpTarget2 ));
		/* end JumpZero: */
	} else {
		_fixup = ensureNonMergeFixupAt(_postBranchPC);
		/* begin JumpZero: */
		_jumpTarget = ensureNonMergeFixupAt(_targetBytecodePC);
		genConditionalBranchoperand(JumpZero, ((sqInt) _jumpTarget ));
		/* end JumpZero: */
	}
	if (_unforwardArg && _unforwardRcvr) {
		/* begin genEnsureOopInRegNotForwarded:scratchReg:jumpBackTo: */
		genEnsureOopInRegNotForwardedscratchRegifForwarderifNotForwarder(_argReg, TempReg, _label, 0);
		/* end genEnsureOopInRegNotForwarded:scratchReg:jumpBackTo: */
	}
	genEnsureOopInRegNotForwardedscratchRegifForwarderifNotForwarder(((_unforwardRcvr)
		 ? _rcvrReg
		 : _argReg), TempReg, _label, _fixup);
	if (!deadCode) {
		ssPushConstant(trueObject());
	}
	return 0;
}
/*	Generates the machine code for #== in the case where the instruction is 
	not followed by a branch */
/* StackToRegisterMappingCogit>>#genIdenticalNoBranchArgIsConstant:rcvrIsConstant:argReg:rcvrReg:orNotIf: */
static sqInt NoDbgRegParms
genIdenticalNoBranchArgIsConstantrcvrIsConstantargRegrcvrRegorNotIf(sqInt _argIsConstant, sqInt _rcvrIsConstant, sqInt _argReg, sqInt _rcvrRegOrNone, sqInt _orNot)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	CogSimStackEntry * _argumentStackSlot;
	sqInt _constant;
	sqInt _constant2;
	sqInt _constant3;
	sqInt _constant4;
	sqInt _constant5;
	sqInt _constant6;
	AbstractInstruction *_jumpEqual;
	AbstractInstruction *_jumpNotEqual;
	AbstractInstruction *_label;
	CogSimStackEntry * _receiverStackSlot;
	sqInt _resultReg;

	_receiverStackSlot = ssValue(1);
	_argumentStackSlot = ssTop();
	ssPop(2);
	/* begin Label */
	_label = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
	/* end Label */
	assert((_argReg != NoReg) || (_rcvrRegOrNone != NoReg));
	if (_argIsConstant) {
		/* begin genCmpConstant:R: */
		_constant = (_argumentStackSlot->constant);
		if (shouldAnnotateObjectReference(_constant)) {
			annotateobjRef(checkLiteralforInstruction(_constant, genoperandoperand(CmpCwR, _constant, _rcvrRegOrNone)), _constant);
		} else {
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction = genoperandoperand(CmpCqR, _constant, _rcvrRegOrNone);
			/* end checkQuickConstant:forInstruction: */
		}
		/* end genCmpConstant:R: */
	} else {
		if (_rcvrIsConstant) {
			/* begin genCmpConstant:R: */
			_constant2 = (_receiverStackSlot->constant);
			if (shouldAnnotateObjectReference(_constant2)) {
				annotateobjRef(checkLiteralforInstruction(_constant2, genoperandoperand(CmpCwR, _constant2, _argReg)), _constant2);
			} else {
				/* begin checkQuickConstant:forInstruction: */
				_anInstruction2 = genoperandoperand(CmpCqR, _constant2, _argReg);
				/* end checkQuickConstant:forInstruction: */
			}
			/* end genCmpConstant:R: */
		} else {
			/* begin CmpR:R: */
			genoperandoperand(CmpRR, _argReg, _rcvrRegOrNone);
			/* end CmpR:R: */
		}
	}
	_resultReg = ((_rcvrRegOrNone == NoReg)
		 ? _argReg
		 : _rcvrRegOrNone);
	/* begin JumpZero: */
	_jumpEqual = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	if (!_argIsConstant) {
		/* begin genEnsureOopInRegNotForwarded:scratchReg:jumpBackTo: */
		genEnsureOopInRegNotForwardedscratchRegifForwarderifNotForwarder(_argReg, TempReg, _label, 0);
		/* end genEnsureOopInRegNotForwarded:scratchReg:jumpBackTo: */
	}
	if (!_rcvrIsConstant) {
		/* begin genEnsureOopInRegNotForwarded:scratchReg:jumpBackTo: */
		genEnsureOopInRegNotForwardedscratchRegifForwarderifNotForwarder(_rcvrRegOrNone, TempReg, _label, 0);
		/* end genEnsureOopInRegNotForwarded:scratchReg:jumpBackTo: */
	}
	if (_orNot) {
		/* begin genMoveTrueR: */
		/* begin genMoveConstant:R: */
		_constant4 = trueObject();
		if (shouldAnnotateObjectReference(_constant4)) {
			annotateobjRef(checkLiteralforInstruction(_constant4, genoperandoperand(MoveCwR, _constant4, _resultReg)), _constant4);
		} else {
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction4 = genoperandoperand(MoveCqR, _constant4, _resultReg);
			/* end checkQuickConstant:forInstruction: */
		}
		/* end genMoveConstant:R: */
		/* end genMoveTrueR: */
	} else {
		/* begin genMoveFalseR: */
		/* begin genMoveConstant:R: */
		_constant3 = falseObject();
		if (shouldAnnotateObjectReference(_constant3)) {
			annotateobjRef(checkLiteralforInstruction(_constant3, genoperandoperand(MoveCwR, _constant3, _resultReg)), _constant3);
		} else {
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction3 = genoperandoperand(MoveCqR, _constant3, _resultReg);
			/* end checkQuickConstant:forInstruction: */
		}
		/* end genMoveConstant:R: */
		/* end genMoveFalseR: */
	}
	/* begin Jump: */
	_jumpNotEqual = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jumpEqual, ((_orNot)
		 ? (/* begin genMoveFalseR: */ /* begin genMoveConstant:R: */ (_constant6 = falseObject()), ((shouldAnnotateObjectReference(_constant6))
			 ? annotateobjRef(checkLiteralforInstruction(_constant6, genoperandoperand(MoveCwR, _constant6, _resultReg)), _constant6)
			 : (/* begin checkQuickConstant:forInstruction: */ (_anInstruction6 = genoperandoperand(MoveCqR, _constant6, _resultReg)), _anInstruction6 /* end checkQuickConstant:forInstruction: */)) /* end genMoveConstant:R: */ /* end genMoveFalseR: */)
		 : (/* begin genMoveTrueR: */ /* begin genMoveConstant:R: */ (_constant5 = trueObject()), ((shouldAnnotateObjectReference(_constant5))
			 ? annotateobjRef(checkLiteralforInstruction(_constant5, genoperandoperand(MoveCwR, _constant5, _resultReg)), _constant5)
			 : (/* begin checkQuickConstant:forInstruction: */ (_anInstruction5 = genoperandoperand(MoveCqR, _constant5, _resultReg)), _anInstruction5 /* end checkQuickConstant:forInstruction: */)) /* end genMoveConstant:R: */ /* end genMoveTrueR: */)));
	jmpTarget(_jumpNotEqual, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	ssPushRegister(_resultReg);
	return 0;
}
/*	Decompose code generation for #== into a common constant-folding version, 
	followed by a double dispatch throguh the objectRepresentation to a 
	version that doesn't deal with forwarders and a version that does. */
/* StackToRegisterMappingCogit>>#genInlinedIdenticalOrNotIf: */
static sqInt NoDbgRegParms
genInlinedIdenticalOrNotIf(sqInt _orNot)
{
	BytecodeDescriptor *_primDescriptor;
	sqInt _result;

	_primDescriptor = generatorAt(byte0);
	if ((isUnannotatableConstant(ssTop())) && (isUnannotatableConstant(ssValue(1)))) {
		assert(!((_primDescriptor->isMapped)));
		_result = ((((_orNot)
			 ? (((ssTop())->constant)) != (((ssValue(1))->constant))
			 : (((ssTop())->constant)) == (((ssValue(1))->constant))))
			 ? trueObject()
			 : falseObject());
		ssPop(2);
		return ssPushConstant(_result);
	}
	/* begin genInlinedIdenticalOrNotIfGuts: */
	return genForwardersInlinedIdenticalOrNotIf(_orNot);
	/* end genInlinedIdenticalOrNotIfGuts: */
}
/* StackToRegisterMappingCogit>>#genJumpBackTo: */
static sqInt NoDbgRegParms
genJumpBackTo(sqInt _targetBytecodePC)
{
	AbstractInstruction *_abstractInstruction;
	AbstractInstruction *_abstractInstruction2;
	sqInt _address;
	AbstractInstruction *_anInstruction;
	void *_jumpTarget;
	void *_jumpTarget2;

	ssFlushStack();
	deadCode = 1;
	{
		/* begin MoveAw:R: */
		_address = stackLimitAddress();
		/* begin checkLiteral:forInstruction: */
		_anInstruction = genoperandoperand(MoveAwR, _address, TempReg);
		/* end checkLiteral:forInstruction: */
		/* end MoveAw:R: */
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, TempReg, SPReg);
		/* end CmpR:R: */
		/* begin JumpAboveOrEqual: */
		/* begin fixupAt: */
		_jumpTarget = fixupAtIndex(_targetBytecodePC - initialPC);
		/* end fixupAt: */
		genConditionalBranchoperand(JumpAboveOrEqual, ((sqInt) _jumpTarget ));
		/* end JumpAboveOrEqual: */
		/* begin CallRT: */
		/* begin annotateCall: */
		_abstractInstruction = genoperand(Call, ceCheckForInterruptTrampoline);
		(_abstractInstruction->annotation = IsRelativeCall);
		/* end annotateCall: */
		/* end CallRT: */
		/* begin annotateBytecode: */
		_abstractInstruction2 = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
		(_abstractInstruction2->annotation = HasBytecodePC);
		/* end annotateBytecode: */
		/* begin Jump: */
		/* begin fixupAt: */
		_jumpTarget2 = fixupAtIndex(_targetBytecodePC - initialPC);
		/* end fixupAt: */
		genoperand(Jump, ((sqInt) _jumpTarget2 ));
		/* end Jump: */
		return 0;
	}
	return 0;
}
/* StackToRegisterMappingCogit>>#genJumpIf:to: */
static sqInt NoDbgRegParms
genJumpIfto(sqInt _boolean, sqInt _targetBytecodePC)
{
	AbstractInstruction *_abstractInstruction;
	AbstractInstruction *_abstractInstruction2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	CogSimStackEntry *_desc;
	sqInt _eventualTarget;
	BytecodeFixup *_fixup;
	void *_jumpTarget;
	AbstractInstruction *_ok;
	sqInt _quickConstant;

	_eventualTarget = eventualTargetOf(_targetBytecodePC);
	ssFlushStackExceptTop(1);
	_desc = ssTop();
	if ((((_desc->type)) == SSConstant) && ((((_desc->constant)) == (trueObject())) || (((_desc->constant)) == (falseObject())))) {
		ssPop(1);
		_fixup = ensureFixupAt(_eventualTarget);
		/* begin annotateBytecode: */
		_abstractInstruction = ((AbstractInstruction *) (((((_desc->constant)) == _boolean)
			 ? (/* begin Jump: */ genoperand(Jump, ((sqInt) _fixup )) /* end Jump: */)
			 : ((prevInstIsPCAnnotated())
				 ? (/* begin Nop */ gen(Nop) /* end Nop */)
				 : (/* begin Label */ genoperandoperand(Label, (labelCounter += 1), bytecodePC) /* end Label */)))) );
		(_abstractInstruction->annotation = HasBytecodePC);
		/* end annotateBytecode: */
		extA = 0;
		return 0;
	}
	ssPopTopToReg(TempReg);
	assert((objectAfter(falseObject())) == (trueObject()));
	/* begin genSubConstant:R: */
	if (shouldAnnotateObjectReference(_boolean)) {
		annotateobjRef(checkLiteralforInstruction(_boolean, genoperandoperand(SubCwR, _boolean, TempReg)), TempReg);
	} else {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(SubCqR, _boolean, TempReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* end genSubConstant:R: */
	/* begin JumpZero: */
	_jumpTarget = ensureFixupAt(_eventualTarget);
	genConditionalBranchoperand(JumpZero, ((sqInt) _jumpTarget ));
	/* end JumpZero: */
	if (extA & 1) {
		extA = 0;
		/* begin annotateBytecode: */
		_abstractInstruction2 = lastOpcode();
		(_abstractInstruction2->annotation = HasBytecodePC);
		/* end annotateBytecode: */
		return 0;
	}
	extA = 0;
	/* begin CmpCq:R: */
	_quickConstant = ((_boolean == (falseObject()))
		 ? (trueObject()) - (falseObject())
		 : (falseObject()) - (trueObject()));
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
	/* end checkQuickConstant:forInstruction: */
	/* end CmpCq:R: */
	/* begin JumpZero: */
	_ok = genConditionalBranchoperand(JumpZero, ((sqInt) 0 ));
	/* end JumpZero: */
	genCallMustBeBooleanFor(_boolean);
	jmpTarget(_ok, annotateBytecode(genoperandoperand(Label, (labelCounter += 1), bytecodePC)));
	return 0;
}
/* StackToRegisterMappingCogit>>#genJumpTo: */
static sqInt NoDbgRegParms
genJumpTo(sqInt _targetBytecodePC)
{
	sqInt _eventualTarget;
	BytecodeFixup * _fixup;
	BytecodeDescriptor * _generator;

	_eventualTarget = eventualTargetOf(_targetBytecodePC);
	if ((_eventualTarget > bytecodePC) && (((simStackPtr >= methodOrBlockNumArgs) && (stackEntryIsBoolean(ssTop()))) && (((((_generator = generatorForPC(_eventualTarget)))->isBranchTrue)) || ((((_generator = generatorForPC(_eventualTarget)))->isBranchFalse))))) {
		_eventualTarget = (_eventualTarget + ((_generator->numBytes))) + (((((_generator->isBranchTrue)) == ((((ssTop())->constant)) == (trueObject())))
			 ? (/* begin spanFor:at:exts:in: */ ((_generator->spanFunction))(_generator, _eventualTarget, 0, methodObj) /* end spanFor:at:exts:in: */)
			 : 0));
		ssFlushStackExceptTop(1);
		_fixup = ensureFixupAtwithStackPointer(_eventualTarget, simStackPtr - 1);
	} else {
		ssFlushStack();
		_fixup = ensureFixupAt(_eventualTarget);
	}
	deadCode = 1;
	/* begin Jump: */
	genoperand(Jump, ((sqInt) _fixup ));
	/* end Jump: */
	return 0;
}
/* StackToRegisterMappingCogit>>#genMappedInlinePrimitive: */
static sqInt NoDbgRegParms
genMappedInlinePrimitive(sqInt _primIndex)
{
	AbstractInstruction *_abstractInstruction;
	sqInt _result;

	
#  if FEATURE_JIT_SIMD
	{
		switch (_primIndex) {
			case 0:
			{
				_result = genAddFloat64Vector();
			}
			break;
			case 1:
			{
				_result = genPushFloat64ArrayToRegister();
			}
			break;
			case 2:
			{
				_result = genStoreFloat64RegisterIntoArray();
			}
			break;
			case 3:
			{
				_result = genAddFloat32Vector();
			}
			break;
			case 4:
			{
				_result = genPushFloat32ArrayToRegister();
			}
			break;
			case 5:
			{
				_result = genStoreFloat32RegisterIntoArray();
			}
			break;
			case 6:
			{
				_result = genSubFloat64Vector();
			}
			break;
			default:
			{
				_result = EncounteredUnknownBytecode;
			}
		}
		/* begin annotateBytecode: */
		_abstractInstruction = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
		(_abstractInstruction->annotation = HasBytecodePC);
		/* end annotateBytecode: */
		return _result;
	}
#  else /* FEATURE_JIT_SIMD */
	{
		error("VM built without SIMD support");
	}
#  endif /* FEATURE_JIT_SIMD */
	return 0;
}
/* StackToRegisterMappingCogit>>#genMarshalledSend:numArgs:sendTable: */
static sqInt NoDbgRegParms
genMarshalledSendnumArgssendTable(sqInt _selectorIndex, sqInt _numArgs, sqInt *_sendTable)
{
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	sqInt _annotation;

	assert(needsFrame);
	/* begin annotationForSendTable: */
	if (_sendTable == ordinarySendTrampolines) {
		_annotation = IsSendCall;
		goto l3;
	}
	{
		if (_sendTable == directedSuperSendTrampolines) {
			_annotation = IsDirectedSuperSend;
			goto l3;
		}
		if (_sendTable == directedSuperBindingSendTrampolines) {
			_annotation = IsDirectedSuperBindingSend;
			goto l3;
		}
	}
	assert(_sendTable == superSendTrampolines);
	_annotation = IsSuperSend;
	l3:
	;
	/* end annotationForSendTable: */
	if ((_annotation == IsSuperSend) || ((_annotation >= IsDirectedSuperSend) && (_annotation <= IsDirectedSuperBindingSend))) {
		genEnsureOopInRegNotForwardedscratchReg(ReceiverResultReg, TempReg);
	}
	if (_numArgs >= (NumSendTrampolines - 1)) {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _numArgs, SendNumArgsReg);
		/* end checkQuickConstant:forInstruction: */
	}
	if ((_annotation >= IsDirectedSuperSend) && (_annotation <= IsDirectedSuperBindingSend)) {
		/* begin genMoveConstant:R: */
		if (shouldAnnotateObjectReference(tempOop)) {
			annotateobjRef(checkLiteralforInstruction(tempOop, genoperandoperand(MoveCwR, tempOop, TempReg)), tempOop);
		} else {
			/* begin checkQuickConstant:forInstruction: */
			_anInstruction2 = genoperandoperand(MoveCqR, tempOop, TempReg);
			/* end checkQuickConstant:forInstruction: */
		}
		/* end genMoveConstant:R: */
	}
	genLoadInlineCacheWithSelector(_selectorIndex);
	((genoperand(Call, _sendTable[((_numArgs < (NumSendTrampolines - 1)) ? _numArgs : NumSendTrampolines - 1)]))->annotation = _annotation);
	/* begin voidReceiverOptStatus */
	((simSelf())->liveRegister = NoReg);
	/* end voidReceiverOptStatus */
	return ssPushRegister(ReceiverResultReg);
}
/*	Generate the abort for a method. This abort performs either a call of 
	ceSICMiss: to handle a single-in-line cache miss or a call of 
	ceStackOverflow: to handle a 
	stack overflow. It distinguishes the two by testing ResultReceiverReg. If 
	the register is zero then this is a stack-overflow because a) the receiver 
	has already 
	been pushed and so can be set to zero before calling the abort, and b) the 
	receiver must always contain an object (and hence be non-zero) on SIC 
	miss.  */
/* StackToRegisterMappingCogit>>#genMethodAbortTrampolineFor: */
static sqInt NoDbgRegParms
genMethodAbortTrampolineFor(sqInt _numArgs)
{
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_jumpSICMiss;

	zeroOpcodeIndex();
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(CmpCqR, 0, ReceiverResultReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin JumpNonZero: */
	_jumpSICMiss = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
	/* end JumpNonZero: */
	compileTrampolineFornumArgsargargargargregsToSavepushLinkRegresultReg(ceStackOverflow, 1, SendNumArgsReg, null, null, null, 0, 0, NoReg);
	jmpTarget(_jumpSICMiss, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	genPushRegisterArgsForAbortMissNumArgs(backEnd, _numArgs);
	return genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(ceSICMiss, trampolineNamenumRegArgs("ceMethodAbort", _numArgs), 1, ReceiverResultReg, null, null, null, 0, 0, NoReg, 1);
}
/*	Generate the abort for a PIC. This abort performs either a call of 
	ceInterpretMethodFromPIC:receiver: to handle invoking an uncogged 
	target or a call of ceMNUFromPICMNUMethod:receiver: to handle an 
	MNU dispatch in a closed PIC. It distinguishes the two by testing 
	ClassReg. If the register is zero then this is an MNU. */
/* StackToRegisterMappingCogit>>#genPICAbortTrampolineFor: */
static sqInt NoDbgRegParms
genPICAbortTrampolineFor(sqInt _numArgs)
{
	zeroOpcodeIndex();
	genPushRegisterArgsForAbortMissNumArgs(backEnd, _numArgs);
	return genInnerPICAbortTrampoline(trampolineNamenumRegArgs("cePICAbort", _numArgs));
}
/* StackToRegisterMappingCogit>>#genPICMissTrampolineFor: */
static sqInt NoDbgRegParms
genPICMissTrampolineFor(sqInt _numArgs)
{
	sqInt _startAddress;

	_startAddress = methodZoneBase;
	zeroOpcodeIndex();
	genPushRegisterArgsForNumArgsscratchReg(backEnd, _numArgs, SendNumArgsReg);
	genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(ceCPICMissreceiver, trampolineNamenumRegArgs("cePICMiss", _numArgs), 2, ClassReg, ReceiverResultReg, null, null, 0, 1, NoReg, 1);
	return _startAddress;
}
/* StackToRegisterMappingCogit>>#genPopStackBytecode */
static sqInt
genPopStackBytecode(void)
{
	ssPop(1);
	return 0;
}
/*	Check the argument count. Fail if wrong. 
	Get the method from the outerContext and see if it is cogged. If so, jump 
	to the 
	block entry or the no-context-switch entry, as appropriate, and we're 
	done. If not, 
	invoke the interpreter primitive.Override to push the register args first. */
/* StackToRegisterMappingCogit>>#genPrimitiveFullClosureValue */
static sqInt
genPrimitiveFullClosureValue(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	sqInt _quickConstant;
	sqInt _quickConstant2;

	genPushRegisterArgs();
	{
		AbstractInstruction *_jumpBCMethod;
		AbstractInstruction *_jumpFail4;
		AbstractInstruction *_jumpFailImmediateMethod;
		AbstractInstruction *_jumpFailNArgs;
		void (*_primitiveRoutine)(void);
		sqInt _result;

		genLoadSlotsourceRegdestReg(FullClosureNumArgsIndex, ReceiverResultReg, TempReg);
		/* begin checkQuickConstant:forInstruction: */
		literal = ((((usqInt) methodOrBlockNumArgs ) << 3) | 1);
		_anInstruction = genoperandoperand(CmpCqR, ((((usqInt) methodOrBlockNumArgs ) << 3) | 1), TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin JumpNonZero: */
		_jumpFailNArgs = genConditionalBranchoperand(JumpNonZero, ((sqInt) 0 ));
		/* end JumpNonZero: */
		genLoadSlotsourceRegdestReg(FullClosureCompiledBlockIndex, ReceiverResultReg, SendNumArgsReg);
		_jumpFailImmediateMethod = genJumpImmediate(SendNumArgsReg);
		genGetFormatOfinto(SendNumArgsReg, TempReg);
		/* begin CmpCq:R: */
		_quickConstant = firstCompiledMethodFormat();
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperand(CmpCqR, _quickConstant, TempReg);
		/* end checkQuickConstant:forInstruction: */
		/* end CmpCq:R: */
		/* begin JumpLess: */
		_jumpFail4 = genConditionalBranchoperand(JumpLess, ((sqInt) 0 ));
		/* end JumpLess: */
		genLoadSlotsourceRegdestReg(HeaderIndex, SendNumArgsReg, ClassReg);
		_jumpBCMethod = genJumpImmediate(ClassReg);
		_primitiveRoutine = functionPointerForCompiledMethodprimitiveIndex(methodObj, primitiveIndex);
		/* begin AddCq:R: */
		_quickConstant2 = ((_primitiveRoutine == primitiveFullClosureValueNoContextSwitch)
			 ? fullBlockNoContextSwitchEntryOffset()
			 : fullBlockEntryOffset());
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction3 = genoperandoperand(AddCqR, _quickConstant2, ClassReg);
		/* end checkQuickConstant:forInstruction: */
		/* end AddCq:R: */
		/* begin JumpR: */
		genoperand(JumpR, ClassReg);
		/* end JumpR: */
		jmpTarget(_jumpBCMethod, jmpTarget(_jumpFailImmediateMethod, jmpTarget(_jumpFail4, genoperandoperand(Label, (labelCounter += 1), bytecodePC))));
		if (((_result = compileInterpreterPrimitiveflags(_primitiveRoutine, primitivePropertyFlagsprimitiveDescriptor(primitiveIndex, primitiveDescriptor())))) < 0) {
			return _result;
		}
		jmpTarget(_jumpFailNArgs, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
		return CompletePrimitive;
	}
	return 0;
}
/*	Generate an in-line perform primitive. The lookup code requires the 
	selector to be in Arg0Reg. 
	adjustArgumentsForPerform: adjusts the arguments once 
	genLookupForPerformNumArgs: has generated the code for the lookup. */
/* StackToRegisterMappingCogit>>#genPrimitivePerform */
static sqInt
genPrimitivePerform(void)
{
	AbstractInstruction *_anInstruction;
	sqInt _offset;

	if (methodOrBlockNumArgs > 2) {
		/* begin MoveMw:r:R: */
		_offset = methodOrBlockNumArgs * BytesPerWord;
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperandoperand(MoveMwrR, _offset, SPReg, Arg0Reg);
		/* end checkQuickConstant:forInstruction: */
		/* end MoveMw:r:R: */
	}
	return genLookupForPerformNumArgs(methodOrBlockNumArgs);
}
/* StackToRegisterMappingCogit>>#genPushActiveContextBytecode */
static sqInt
genPushActiveContextBytecode(void)
{
	assert(needsFrame);
	voidReceiverResultRegContainsSelf();
	{
		/* begin ssAllocateCallReg:and:and: */
		ssAllocateRequiredRegMaskupThrough(CallerSavedRegisterMask | (((1U << ReceiverResultReg) | (1U << SendNumArgsReg)) | (1U << ClassReg)), simStackPtr);
		/* end ssAllocateCallReg:and:and: */
	}
	genGetActiveContextNumArgslargeinBlock(methodOrBlockNumArgs, methodNeedsLargeContext(methodObj), inBlock);
	return ssPushRegister(ReceiverResultReg);
}
/* StackToRegisterMappingCogit>>#genPushFloat32ArrayToRegister */

#if FEATURE_JIT_SIMD
static sqInt
genPushFloat32ArrayToRegister(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	signed char _arrayReg;
	signed char _indexReg;
	sqInt _vectorReg;

	_arrayReg = allocateRegForStackEntryAtnotConflictingWith(0, 0);
	_indexReg = allocateRegForStackEntryAtnotConflictingWith(1, 1ULL << _arrayReg);
	ssPopTopToReg(_arrayReg);
	ssPopTopToReg(_indexReg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction = genoperandoperand(AddCqR, BaseHeaderSize, _arrayReg);
	/* end checkQuickConstant:forInstruction: */
	assert(BytesPerWord == 8);
	/* begin LogicalShiftRightCq:R: */
	genoperandoperand(LogicalShiftRightCqR, 1, _indexReg);
	/* end LogicalShiftRightCq:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, _indexReg, _arrayReg);
	/* end AddR:R: */
	_vectorReg = allocateVectorRegNotConflictingWith(0);
	gLd1SVrRMw(32, _vectorReg, _arrayReg, 0);
	ssPushVectorRegister(_vectorReg);
	return 0;
}
#endif /* FEATURE_JIT_SIMD */
/* StackToRegisterMappingCogit>>#genPushFloat64ArrayToRegister */

#if FEATURE_JIT_SIMD
static sqInt
genPushFloat64ArrayToRegister(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	signed char _arrayReg;
	signed char _indexReg;
	sqInt _vectorReg;

	_arrayReg = allocateRegForStackEntryAtnotConflictingWith(0, 0);
	_indexReg = allocateRegForStackEntryAtnotConflictingWith(1, 1ULL << _arrayReg);
	ssPopTopToReg(_arrayReg);
	ssPopTopToReg(_indexReg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction = genoperandoperand(AddCqR, BaseHeaderSize, _arrayReg);
	/* end checkQuickConstant:forInstruction: */
	assert(BytesPerWord == 8);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(SubCqR, 1, _indexReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, _indexReg, _arrayReg);
	/* end AddR:R: */
	_vectorReg = allocateVectorRegNotConflictingWith(0);
	gLd1SVrRMw(64, _vectorReg, _arrayReg, 0);
	ssPushVectorRegister(_vectorReg);
	return 0;
}
#endif /* FEATURE_JIT_SIMD */
/*	<SmallInteger>Override to avoid the BytecodeSetHasDirectedSuperSend check, which is 
	unnecessary here given the simulation stack. */
/* StackToRegisterMappingCogit>>#genPushLiteralIndex: */
static sqInt NoDbgRegParms
genPushLiteralIndex(sqInt _literalIndex)
{
	sqInt _literal;

	_literal = getLiteral(_literalIndex);
	return genPushLiteral(_literal);
}
/* StackToRegisterMappingCogit>>#genPushLiteralVariable: */
static sqInt NoDbgRegParms
genPushLiteralVariable(sqInt _literalIndex)
{
	AbstractInstruction *_anInstruction;
	sqInt _association;
	sqInt _bcpc;
	BytecodeDescriptor *_descriptor2;
	sqInt _eB;
	sqInt _freeReg;
	sqInt _savedB0;
	sqInt _savedB1;
	sqInt _savedB2;
	sqInt _savedB3;
	sqInt _savedEA;
	sqInt _savedEB;
	sqInt _savedNEB;

	_association = getLiteral(_literalIndex);
	{
		assert(!directedSendUsesBinding);
		/* begin nextDescriptorExtensionsAndNextPCInto: */
		_descriptor2 = generatorAt(byte0);
		_savedB0 = byte0;
		_savedB1 = byte1;
		_savedB2 = byte2;
		_savedB3 = byte3;
		_savedEA = extA;
		_savedEB = extB;
		_savedNEB = numExtB;
		_bcpc = bytecodePC + ((_descriptor2->numBytes));
		do {
			if (_bcpc > endPC) {
				{
				}
				goto l2;
			}
			byte0 = fetchByteofObject(_bcpc, methodObj);
			_descriptor2 = generatorAt(byte0);
			loadSubsequentBytesForDescriptorat(_descriptor2, _bcpc);
			if (!((_descriptor2->isExtension))) {
				_eB = extB;
				extA = _savedEA;
				extB = _savedEB;
				numExtB = _savedNEB;
				byte0 = _savedB0;
				byte1 = _savedB1;
				byte2 = _savedB2;
				byte3 = _savedB3;
				{
					if ((_descriptor2 != null) && ((((_descriptor2->generator)) == genExtSendSuperBytecode) && (_eB >= 64))) {
						ssPushConstant(_association);
						directedSendUsesBinding = 1;
						return 0;
					}
				}
				goto l2;
			}
			((_descriptor2->generator))();
			_bcpc += (_descriptor2->numBytes);
		} while (1);
		l2:
		;
		/* end nextDescriptorExtensionsAndNextPCInto: */
	}
	_freeReg = allocateRegNotConflictingWith(0);
	/* begin genMoveConstant:R: */
	if (shouldAnnotateObjectReference(_association)) {
		annotateobjRef(checkLiteralforInstruction(_association, genoperandoperand(MoveCwR, _association, TempReg)), _association);
	} else {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _association, TempReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* end genMoveConstant:R: */
	genEnsureObjInRegNotForwardedscratchReg(TempReg, _freeReg);
	genLoadSlotsourceRegdestReg(ValueIndex, TempReg, _freeReg);
	ssPushRegister(_freeReg);
	return 0;
}
/* StackToRegisterMappingCogit>>#genPushLiteral: */
static sqInt NoDbgRegParms
genPushLiteral(sqInt _literal)
{
	return ssPushConstant(_literal);
}
/* StackToRegisterMappingCogit>>#genPushMaybeContextReceiverVariable: */
static sqInt NoDbgRegParms
genPushMaybeContextReceiverVariable(sqInt _slotIndex)
{
	AbstractInstruction *_abstractInstruction;
	AbstractInstruction *_abstractInstruction2;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_jmpDone;
	AbstractInstruction *_jmpSingle;

	/* begin ssAllocateCallReg:and: */
	ssAllocateRequiredRegMaskupThrough(CallerSavedRegisterMask | ((1U << ReceiverResultReg) | (1U << SendNumArgsReg)), simStackPtr);
	/* end ssAllocateCallReg:and: */
	ensureReceiverResultRegContainsSelf();
	/* begin genPushMaybeContextSlotIndex: */
	assert(needsFrame);
	if (CallerSavedRegisterMask & (1U << ReceiverResultReg)) {
		voidReceiverResultRegContainsSelf();
	}
	if (_slotIndex == InstructionPointerIndex) {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _slotIndex, SendNumArgsReg);
		/* end checkQuickConstant:forInstruction: */
		/* begin CallRT: */
		/* begin annotateCall: */
		_abstractInstruction = genoperand(Call, ceFetchContextInstVarTrampoline);
		(_abstractInstruction->annotation = IsRelativeCall);
		/* end annotateCall: */
		/* end CallRT: */
		return ssPushRegister(SendNumArgsReg);
	}
	genLoadSlotsourceRegdestReg(SenderIndex, ReceiverResultReg, TempReg);
	/* begin genJumpNotSmallIntegerInScratchReg: */
	_jmpSingle = genJumpNotSmallInteger(TempReg);
	/* end genJumpNotSmallIntegerInScratchReg: */
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(MoveCqR, _slotIndex, SendNumArgsReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin CallRT: */
	/* begin annotateCall: */
	_abstractInstruction2 = genoperand(Call, ceFetchContextInstVarTrampoline);
	(_abstractInstruction2->annotation = IsRelativeCall);
	/* end annotateCall: */
	/* end CallRT: */
	/* begin Jump: */
	_jmpDone = genoperand(Jump, ((sqInt) 0 ));
	/* end Jump: */
	jmpTarget(_jmpSingle, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	genLoadSlotsourceRegdestReg(_slotIndex, ReceiverResultReg, SendNumArgsReg);
	jmpTarget(_jmpDone, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return ssPushRegister(SendNumArgsReg);
	/* end genPushMaybeContextSlotIndex: */
}
/* StackToRegisterMappingCogit>>#genPushNewArrayBytecode */
static sqInt
genPushNewArrayBytecode(void)
{
	sqInt _i;
	int _popValues;
	sqInt _size;

	assert(needsFrame);
	voidReceiverResultRegContainsSelf();
	if ((_popValues = byte1 > 0x7F)) {
		ssFlushStack();
	} else {
		/* begin ssAllocateCallReg:and: */
		ssAllocateRequiredRegMaskupThrough(CallerSavedRegisterMask | ((1U << SendNumArgsReg) | (1U << ReceiverResultReg)), simStackPtr);
		/* end ssAllocateCallReg:and: */
	}
	_size = byte1 & 0x7F;
	if (!_popValues) {
		if (tryCollapseTempVectorInitializationOfSize(_size)) {
			return 0;
		}
	}
	genNewArrayOfSizeinitialized(_size, !_popValues);
	if (_popValues) {
		for (_i = _size - 1; _i >= 0; _i += -1) {
			ssPopTopToReg(TempReg);
			genStoreSourceRegslotIndexintoNewObjectInDestReg(TempReg, _i, ReceiverResultReg);
		}
	}
	return ssPushRegister(ReceiverResultReg);
}
/* StackToRegisterMappingCogit>>#genPushReceiverBytecode */
static sqInt
genPushReceiverBytecode(void)
{
	if ((((simSelf())->liveRegister)) == ReceiverResultReg) {
		return ssPushRegister(ReceiverResultReg);
	}
	return ssPushDesc(ssSelfDescriptor());
}
/* StackToRegisterMappingCogit>>#genPushReceiverVariable: */
static sqInt NoDbgRegParms
genPushReceiverVariable(sqInt _index)
{
	ensureReceiverResultRegContainsSelf();
	return ssPushBaseoffset(ReceiverResultReg, slotOffsetOfInstVarIndex(_index));
}
/*	Ensure that the register args are pushed before the retpc for methods with 
	arity <= self numRegArgs.This won't be as clumsy on a RISC. But putting the receiver and 
	args above the return address means the CoInterpreter has a 
	single machine-code frame format which saves us a lot of work. */
/* StackToRegisterMappingCogit>>#genPushRegisterArgs */
static void
genPushRegisterArgs(void)
{
	if (!(regArgsHaveBeenPushed || (methodOrBlockNumArgs > 2))) {
		genPushRegisterArgsForNumArgsscratchReg(backEnd, methodOrBlockNumArgs, SendNumArgsReg);
		regArgsHaveBeenPushed = 1;
	}
}
/* StackToRegisterMappingCogit>>#genPushRemoteTempLongBytecode */
static sqInt
genPushRemoteTempLongBytecode(void)
{
	AbstractInstruction *_anInstruction;
	sqInt _offset;
	sqInt _regMask;
	sqInt _remoteTempReg;
	sqInt _tempVectReg;

	_tempVectReg = allocateRegNotConflictingWith(0);
	/* begin MoveMw:r:R: */
	_offset = frameOffsetOfTemporary(byte2);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperandoperand(MoveMwrR, _offset, FPReg, _tempVectReg);
	/* end checkQuickConstant:forInstruction: */
	/* end MoveMw:r:R: */
	/* begin availableRegOrNoneNotConflictingWith: */
	_regMask = 1ULL << _tempVectReg;
	_remoteTempReg = availableRegisterOrNoneFor(backEnd, (liveRegisters()) | _regMask);
	/* end availableRegOrNoneNotConflictingWith: */
	if (_remoteTempReg == NoReg) {
		_remoteTempReg = _tempVectReg;
	}
	genLoadSlotsourceRegdestReg(byte1, _tempVectReg, _remoteTempReg);
	return ssPushRegister(_remoteTempReg);
}
/*	If a frameless method (not a block), only argument temps can be accessed. 
	This is assured by the use of needsFrameIfMod16GENumArgs: in pushTemp. */
/* StackToRegisterMappingCogit>>#genPushTemporaryVariable: */
static sqInt NoDbgRegParms
genPushTemporaryVariable(sqInt _index)
{
	assert((inBlock > 0) || (needsFrame || (_index < methodOrBlockNumArgs)));
	return ssPushDesc(simStack[_index + 1]);
}
/*	In a frameless method ReceiverResultReg already contains self. 
	In a frameful method, ReceiverResultReg /may/ contain self. */
/* StackToRegisterMappingCogit>>#genReturnReceiver */
static sqInt
genReturnReceiver(void)
{
	if (needsFrame) {
		if (!((((simSelf())->liveRegister)) == ReceiverResultReg)) {
			/* begin putSelfInReceiverResultReg */
			copyToReg(simSelf(), ReceiverResultReg);
			/* end putSelfInReceiverResultReg */
		}
	}
	return genUpArrowReturn();
}
/* StackToRegisterMappingCogit>>#genReturnTopFromBlock */
static sqInt
genReturnTopFromBlock(void)
{
	assert(inBlock > 0);
	ssPopTopToReg(ReceiverResultReg);
	return genBlockReturn();
}
/* StackToRegisterMappingCogit>>#genReturnTopFromMethod */
static sqInt
genReturnTopFromMethod(void)
{
	ssPopTopToReg(ReceiverResultReg);
	return genUpArrowReturn();
}
/* StackToRegisterMappingCogit>>#genSendDirectedSuper:numArgs: */
static sqInt NoDbgRegParms
genSendDirectedSupernumArgs(sqInt _selectorIndex, sqInt _numArgs)
{
	sqInt _result;

	assert((((ssTop())->type)) == SSConstant);
	tempOop = ((ssTop())->constant);
	ssPop(1);
	marshallSendArguments(_numArgs);
	_result = genMarshalledSendnumArgssendTable(_selectorIndex, _numArgs, ((directedSendUsesBinding)
		 ? directedSuperBindingSendTrampolines
		 : directedSuperSendTrampolines));
	directedSendUsesBinding = 0;
	return _result;
}
/* StackToRegisterMappingCogit>>#genSendSuper:numArgs: */
static sqInt NoDbgRegParms
genSendSupernumArgs(sqInt _selectorIndex, sqInt _numArgs)
{
	marshallSendArguments(_numArgs);
	return genMarshalledSendnumArgssendTable(_selectorIndex, _numArgs, superSendTrampolines);
}
/*	Generate a trampoline with four arguments. 
	Hack: a negative value indicates an abstract register, a non-negative 
	value indicates a constant. */
/* StackToRegisterMappingCogit>>#genSendTrampolineFor:numArgs:called:arg:arg:arg:arg: */
static sqInt NoDbgRegParms
genSendTrampolineFornumArgscalledargargargarg(void *_aRoutine, sqInt _numArgs, char *_aString, sqInt _regOrConst0, sqInt _regOrConst1, sqInt _regOrConst2, sqInt _regOrConst3)
{
	sqInt _routine;
	sqInt _startAddress;

	_startAddress = methodZoneBase;
	zeroOpcodeIndex();
	genPushRegisterArgsForNumArgsscratchReg(backEnd, _numArgs, SendNumArgsReg);
	{
		/* begin selectorIndexDereferenceRoutine */
		_routine = ceDereferenceSelectorIndex;
		/* end selectorIndexDereferenceRoutine */
		if (!(_routine == null)) {
			/* begin Call: */
			genoperand(Call, _routine);
			/* end Call: */
		}
	}
	genTrampolineForcallednumArgsargargargargregsToSavepushLinkRegresultRegappendOpcodes(_aRoutine, _aString, 4, _regOrConst0, _regOrConst1, _regOrConst2, _regOrConst3, 0, 1, NoReg, 1);
	return _startAddress;
}
/* StackToRegisterMappingCogit>>#genSend:numArgs: */
static sqInt NoDbgRegParms
genSendnumArgs(sqInt _selectorIndex, sqInt _numArgs)
{
	marshallSendArguments(_numArgs);
	return genMarshalledSendnumArgssendTable(_selectorIndex, _numArgs, ordinarySendTrampolines);
}
/* StackToRegisterMappingCogit>>#genSpecialSelectorArithmetic */
static sqInt
genSpecialSelectorArithmetic(void)
{
	AbstractInstruction *_abstractInstruction;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_anInstruction3;
	AbstractInstruction *_anInstruction4;
	AbstractInstruction *_anInstruction5;
	AbstractInstruction *_anInstruction6;
	AbstractInstruction *_anInstruction7;
	AbstractInstruction *_anInstruction8;
	sqInt _argInt;
	int _argIsConst;
	sqInt _argIsInt;
	sqInt _index;
	AbstractInstruction *_jumpContinue;
	AbstractInstruction *_jumpNotSmallInts;
	BytecodeDescriptor *_primDescriptor;
	sqInt _rcvrInt;
	int _rcvrIsConst;
	sqInt _rcvrIsInt;
	sqInt _result;

	_primDescriptor = generatorAt(byte0);
	_argIsInt = (((_argIsConst = (((ssTop())->type)) == SSConstant)) && (((((_argInt = ((ssTop())->constant))) & 7) == 1))) || ((mclassIsSmallInteger()) && (isSameEntryAs(ssTop(), simSelf())));
	_rcvrIsInt = (((_rcvrIsConst = (((ssValue(1))->type)) == SSConstant)) && (((((_rcvrInt = ((ssValue(1))->constant))) & 7) == 1))) || ((mclassIsSmallInteger()) && (isSameEntryAs(ssValue(1), simSelf())));
	if (_argIsInt && (_argIsConst && (_rcvrIsInt && _rcvrIsConst))) {
		_rcvrInt = _rcvrInt >> 3;
		_argInt = _argInt >> 3;
		switch ((_primDescriptor->opcode)) {
			case AddRR:
			{
				_result = _rcvrInt + _argInt;
			}
			break;
			case SubRR:
			{
				_result = _rcvrInt - _argInt;
			}
			break;
			case AndRR:
			{
				_result = _rcvrInt & _argInt;
			}
			break;
			case OrRR:
			{
				_result = _rcvrInt | _argInt;
			}
			break;
			default:
			error("Case not found and no otherwise clause");
		}
		if (isIntegerValue(_result)) {
			return (ssPop(2), ssPushAnnotatedConstant(((((usqInt) _result ) << 3) | 1)));
		}
		return genSpecialSelectorSend();
	}
	if ((_rcvrIsConst && !_rcvrIsInt) || (_argIsConst && !_argIsInt)) {
		return genSpecialSelectorSend();
	}
	if (!(_argIsInt || _rcvrIsInt)) {
		return genSpecialSelectorSend();
	}
	if (_argIsConst) {
		ssFlushStackExceptTop(2);
		ssPop(1);
		ssPopTopToReg(ReceiverResultReg);
	} else {
		marshallSendArguments(1);
	}
	_jumpNotSmallInts = ((!(_rcvrIsInt && _argIsInt))
		 ? ((_argIsInt)
			 ? genJumpNotSmallInteger(ReceiverResultReg)
			 : ((_rcvrIsInt)
				 ? genJumpNotSmallInteger(Arg0Reg)
				 : (/* begin genJumpNotSmallIntegersIn:and:scratch: */ (/* begin MoveR:R: */ genoperandoperand(MoveRR, ReceiverResultReg, TempReg) /* end MoveR:R: */, /* begin AndR:R: */ genoperandoperand(AndRR, Arg0Reg, TempReg) /* end AndR:R: */), genJumpNotSmallInteger(TempReg) /* end genJumpNotSmallIntegersIn:and:scratch: */)))
		 : 0);
	switch ((_primDescriptor->opcode)) {
		case AddRR:
		{
			if (_argIsConst) {
				/* begin checkQuickConstant:forInstruction: */
				_anInstruction = genoperandoperand(AddCqR, _argInt - ConstZero, ReceiverResultReg);
				/* end checkQuickConstant:forInstruction: */
				/* begin JumpNoOverflow: */
				_jumpContinue = genConditionalBranchoperand(JumpNoOverflow, ((sqInt) 0 ));
				/* end JumpNoOverflow: */
				/* begin checkQuickConstant:forInstruction: */
				_anInstruction2 = genoperandoperand(SubCqR, _argInt - ConstZero, ReceiverResultReg);
				/* end checkQuickConstant:forInstruction: */
			} else {
				genRemoveSmallIntegerTagsInScratchReg(ReceiverResultReg);
				/* begin AddR:R: */
				genoperandoperand(AddRR, Arg0Reg, ReceiverResultReg);
				/* end AddR:R: */
				/* begin JumpNoOverflow: */
				_jumpContinue = genConditionalBranchoperand(JumpNoOverflow, ((sqInt) 0 ));
				/* end JumpNoOverflow: */
				if (_rcvrIsInt && _rcvrIsConst) {
					/* begin checkQuickConstant:forInstruction: */
					_anInstruction3 = genoperandoperand(MoveCqR, _rcvrInt, ReceiverResultReg);
					/* end checkQuickConstant:forInstruction: */
				} else {
					/* begin SubR:R: */
					genoperandoperand(SubRR, Arg0Reg, ReceiverResultReg);
					/* end SubR:R: */
					genSetSmallIntegerTagsIn(ReceiverResultReg);
				}
			}
		}
		break;
		case SubRR:
		{
			if (_argIsConst) {
				/* begin checkQuickConstant:forInstruction: */
				_anInstruction4 = genoperandoperand(SubCqR, _argInt - ConstZero, ReceiverResultReg);
				/* end checkQuickConstant:forInstruction: */
				/* begin JumpNoOverflow: */
				_jumpContinue = genConditionalBranchoperand(JumpNoOverflow, ((sqInt) 0 ));
				/* end JumpNoOverflow: */
				/* begin checkQuickConstant:forInstruction: */
				_anInstruction5 = genoperandoperand(AddCqR, _argInt - ConstZero, ReceiverResultReg);
				/* end checkQuickConstant:forInstruction: */
			} else {
				genRemoveSmallIntegerTagsInScratchReg(Arg0Reg);
				/* begin SubR:R: */
				genoperandoperand(SubRR, Arg0Reg, ReceiverResultReg);
				/* end SubR:R: */
				/* begin JumpNoOverflow: */
				_jumpContinue = genConditionalBranchoperand(JumpNoOverflow, ((sqInt) 0 ));
				/* end JumpNoOverflow: */
				/* begin AddR:R: */
				genoperandoperand(AddRR, Arg0Reg, ReceiverResultReg);
				/* end AddR:R: */
				genSetSmallIntegerTagsIn(Arg0Reg);
			}
		}
		break;
		case AndRR:
		{
			if (_argIsConst) {
				/* begin checkQuickConstant:forInstruction: */
				_anInstruction6 = genoperandoperand(AndCqR, _argInt, ReceiverResultReg);
				/* end checkQuickConstant:forInstruction: */
			} else {
				/* begin AndR:R: */
				genoperandoperand(AndRR, Arg0Reg, ReceiverResultReg);
				/* end AndR:R: */
			}
			_jumpContinue = ((_jumpNotSmallInts)
				 ? (/* begin Jump: */ genoperand(Jump, ((sqInt) 0 )) /* end Jump: */)
				 : 0);
		}
		break;
		case OrRR:
		{
			if (_argIsConst) {
				/* begin checkQuickConstant:forInstruction: */
				_anInstruction7 = genoperandoperand(OrCqR, _argInt, ReceiverResultReg);
				/* end checkQuickConstant:forInstruction: */
			} else {
				/* begin OrR:R: */
				genoperandoperand(OrRR, Arg0Reg, ReceiverResultReg);
				/* end OrR:R: */
			}
			_jumpContinue = ((_jumpNotSmallInts)
				 ? (/* begin Jump: */ genoperand(Jump, ((sqInt) 0 )) /* end Jump: */)
				 : 0);
		}
		break;
		default:
		error("Case not found and no otherwise clause");
	}
	if (_jumpNotSmallInts == null) {
		if (!_jumpContinue) {
			/* begin annotateInstructionForBytecode */
			/* begin annotateBytecode: */
			_abstractInstruction = ((AbstractInstruction *) (((prevInstIsPCAnnotated())
				 ? (/* begin Nop */ gen(Nop) /* end Nop */)
				 : (/* begin Label */ genoperandoperand(Label, (labelCounter += 1), bytecodePC) /* end Label */))) );
			(_abstractInstruction->annotation = HasBytecodePC);
			/* end annotateBytecode: */
			/* end annotateInstructionForBytecode */
			ssPushRegister(ReceiverResultReg);
			return 0;
		}
	} else {
		jmpTarget(_jumpNotSmallInts, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	}
	if (_argIsConst) {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction8 = genoperandoperand(MoveCqR, _argInt, Arg0Reg);
		/* end checkQuickConstant:forInstruction: */
	}
	_index = byte0 - FirstSpecialSelector;
	genMarshalledSendnumArgssendTable(-_index - 1, 1, ordinarySendTrampolines);
	jmpTarget(_jumpContinue, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	return 0;
}
/* StackToRegisterMappingCogit>>#genSpecialSelectorClass */
static sqInt
genSpecialSelectorClass(void)
{
	sqInt _requiredReg1;
	sqInt _topReg;

	_topReg = registerOrNone(ssTop());
	if ((_topReg == NoReg) || (_topReg == ClassReg)) {
		/* begin ssAllocateRequiredReg:and:upThrough: */
		_requiredReg1 = (_topReg = SendNumArgsReg);
		ssAllocateRequiredRegMaskupThrough((1ULL << _requiredReg1) | (1U << ClassReg), simStackPtr - 1);
		/* end ssAllocateRequiredReg:and:upThrough: */
	} else {
		/* begin ssAllocateRequiredReg:upThrough: */
		ssAllocateRequiredRegMaskupThrough(1U << ClassReg, simStackPtr - 1);
		/* end ssAllocateRequiredReg:upThrough: */
	}
	ssPopTopToReg(_topReg);
	genGetClassObjectOfintoscratchReginstRegIsReceiver(_topReg, ClassReg, TempReg, 0);
	return ssPushRegister(ClassReg);
}
/* StackToRegisterMappingCogit>>#genSpecialSelectorComparison */
static sqInt
genSpecialSelectorComparison(void)
{
	AbstractInstruction *_abstractInstruction;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	sqInt _argInt;
	sqInt _argIsIntConst;
	BytecodeDescriptor *_branchDescriptor;
	BytecodeDescriptor *_branchDescriptor2;
	sqInt _index;
	sqInt _inlineCAB;
	AbstractInstruction *_jumpNotSmallInts;
	void *_jumpTarget;
	int _nExts;
	sqInt _nextPC2;
	sqInt _postBranchPC;
	sqInt _postBranchPC2;
	BytecodeDescriptor *_primDescriptor;
	BytecodeDescriptor *_primDescriptor2;
	int _rcvrIsConst;
	sqInt _rcvrIsInt;
	sqInt _targetBytecodePC;
	sqInt _targetPC;

	ssFlushStackExceptTop(2);
	_primDescriptor = generatorAt(byte0);
	_argIsIntConst = ((((ssTop())->type)) == SSConstant) && (((((_argInt = ((ssTop())->constant))) & 7) == 1));
	_rcvrIsInt = (((_rcvrIsConst = (((ssValue(1))->type)) == SSConstant)) && ((((((ssValue(1))->constant)) & 7) == 1))) || ((mclassIsSmallInteger()) && (isSameEntryAs(ssValue(1), simSelf())));
	if (_argIsIntConst && (_rcvrIsInt && _rcvrIsConst)) {
		return genStaticallyResolvedSpecialSelectorComparison();
	}
	/* begin extractMaybeBranchDescriptorInto: */
	_primDescriptor2 = generatorAt(byte0);
	_nextPC2 = bytecodePC + ((_primDescriptor2->numBytes));
	_nExts = 0;
	while (1) {
		while (1) {
			/* begin generatorForPC: */
			_branchDescriptor2 = generatorAt(fetchByteofObject(_nextPC2, methodObj));
			/* end generatorForPC: */
			if (!((_branchDescriptor2->isExtension))) 
				break;
			_nExts += 1;
			_nextPC2 += (_branchDescriptor2->numBytes);
		}
		/* begin isUnconditionalBranch */
		/* end isUnconditionalBranch */
		if (!((isBranch(_branchDescriptor2)) && (!(((_branchDescriptor2->isBranchTrue)) || ((_branchDescriptor2->isBranchFalse)))))) 
			break;
		_nextPC2 = eventualTargetOf((_nextPC2 + ((_branchDescriptor2->numBytes))) + (((_branchDescriptor2->spanFunction))(_branchDescriptor2, _nextPC2, _nExts, methodObj)));
	}
	_targetBytecodePC = (_postBranchPC2 = 0);
	if (((_branchDescriptor2->isBranchTrue)) || ((_branchDescriptor2->isBranchFalse))) {
		_targetBytecodePC = eventualTargetOf((_nextPC2 + ((_branchDescriptor2->numBytes))) + (((_branchDescriptor2->spanFunction))(_branchDescriptor2, _nextPC2, _nExts, methodObj)));
		_postBranchPC2 = eventualTargetOf(_nextPC2 + ((_branchDescriptor2->numBytes)));
	} else {
		_nextPC2 = bytecodePC + ((_primDescriptor2->numBytes));
	}
	{
		_branchDescriptor = _branchDescriptor2;
		_postBranchPC = _postBranchPC2;
		_targetPC = _targetBytecodePC;
	}
	/* end extractMaybeBranchDescriptorInto: */
	_inlineCAB = ((_branchDescriptor->isBranchTrue)) || ((_branchDescriptor->isBranchFalse));
	if (_inlineCAB && ((((_primDescriptor->opcode)) == JumpZero) || (((_primDescriptor->opcode)) == JumpNonZero))) {
		_inlineCAB = _argIsIntConst || _rcvrIsInt;
	}
	if (!_inlineCAB) {
		return genSpecialSelectorSend();
	}
	if (_argIsIntConst) {
		ssPop(1);
		ssPopTopToReg(ReceiverResultReg);
	} else {
		marshallSendArguments(1);
	}
	_jumpNotSmallInts = null;
	if (!(_rcvrIsInt && _argIsIntConst)) {
		if (_argIsIntConst) {
			_jumpNotSmallInts = genJumpNotSmallInteger(ReceiverResultReg);
		} else {
			if (_rcvrIsInt) {
				_jumpNotSmallInts = genJumpNotSmallInteger(Arg0Reg);
			} else {
				/* begin genJumpNotSmallIntegersIn:and:scratch: */
				{
					/* begin MoveR:R: */
					genoperandoperand(MoveRR, ReceiverResultReg, TempReg);
					/* end MoveR:R: */
					/* begin AndR:R: */
					genoperandoperand(AndRR, Arg0Reg, TempReg);
					/* end AndR:R: */
				}
				_jumpNotSmallInts = genJumpNotSmallInteger(TempReg);
				/* end genJumpNotSmallIntegersIn:and:scratch: */
			}
		}
	}
	if (_argIsIntConst) {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(CmpCqR, _argInt, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
	} else {
		/* begin CmpR:R: */
		genoperandoperand(CmpRR, Arg0Reg, ReceiverResultReg);
		/* end CmpR:R: */
	}
	genConditionalBranchoperand((((_branchDescriptor->isBranchTrue))
		 ? (_primDescriptor->opcode)
		 : inverseBranchFor((_primDescriptor->opcode))), ((usqInt) (ensureNonMergeFixupAt(_targetPC)) ));
	/* begin Jump: */
	_jumpTarget = ensureNonMergeFixupAt(_postBranchPC);
	genoperand(Jump, ((sqInt) _jumpTarget ));
	/* end Jump: */
	if (!_jumpNotSmallInts) {
		/* begin annotateInstructionForBytecode */
		/* begin annotateBytecode: */
		_abstractInstruction = ((AbstractInstruction *) (((prevInstIsPCAnnotated())
			 ? (/* begin Nop */ gen(Nop) /* end Nop */)
			 : (/* begin Label */ genoperandoperand(Label, (labelCounter += 1), bytecodePC) /* end Label */))) );
		(_abstractInstruction->annotation = HasBytecodePC);
		/* end annotateBytecode: */
		/* end annotateInstructionForBytecode */
		ensureFixupAt(_postBranchPC);
		ensureFixupAt(_targetPC);
		deadCode = 1;
		return 0;
	}
	jmpTarget(_jumpNotSmallInts, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	if (_argIsIntConst) {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction2 = genoperandoperand(MoveCqR, _argInt, Arg0Reg);
		/* end checkQuickConstant:forInstruction: */
	}
	_index = byte0 - FirstSpecialSelector;
	return genMarshalledSendnumArgssendTable(-_index - 1, 1, ordinarySendTrampolines);
}
/*	Assumes both operands are ints */
/* StackToRegisterMappingCogit>>#genStaticallyResolvedSpecialSelectorComparison */
static sqInt
genStaticallyResolvedSpecialSelectorComparison(void)
{
	sqInt _argInt;
	BytecodeDescriptor *_primDescriptor;
	sqInt _rcvrInt;
	int _result;

	_primDescriptor = generatorAt(byte0);
	_argInt = ((ssTop())->constant);
	_rcvrInt = ((ssValue(1))->constant);
	switch ((_primDescriptor->opcode)) {
		case JumpLess:
		{
			_result = _rcvrInt < _argInt;
		}
		break;
		case JumpLessOrEqual:
		{
			_result = _rcvrInt <= _argInt;
		}
		break;
		case JumpGreater:
		{
			_result = _rcvrInt > _argInt;
		}
		break;
		case JumpGreaterOrEqual:
		{
			_result = _rcvrInt >= _argInt;
		}
		break;
		case JumpZero:
		{
			_result = _rcvrInt == _argInt;
		}
		break;
		case JumpNonZero:
		{
			_result = _rcvrInt != _argInt;
		}
		break;
		default:
		error("Case not found and no otherwise clause");
	}
	ssPop(2);
	return ssPushAnnotatedConstant(((_result)
		 ? trueObject()
		 : falseObject()));
}
/* StackToRegisterMappingCogit>>#genStoreFloat32RegisterIntoArray */

#if FEATURE_JIT_SIMD
static sqInt
genStoreFloat32RegisterIntoArray(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	signed char _arrayReg;
	signed char _indexReg;
	signed char _vectorReg;

	_arrayReg = allocateRegForStackEntryAtnotConflictingWith(0, 0);
	_indexReg = allocateRegForStackEntryAtnotConflictingWith(1, 1ULL << _arrayReg);
	ssPopTopToReg(_arrayReg);
	ssPopTopToReg(_indexReg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction = genoperandoperand(AddCqR, BaseHeaderSize, _arrayReg);
	/* end checkQuickConstant:forInstruction: */
	assert(BytesPerWord == 8);
	/* begin LogicalShiftRightCq:R: */
	genoperandoperand(LogicalShiftRightCqR, 1, _indexReg);
	/* end LogicalShiftRightCq:R: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, _indexReg, _arrayReg);
	/* end AddR:R: */
	_vectorReg = allocateVectorRegForStackEntryAtnotConflictingWith(0, 0);
	ssPopTopToVectorReg(_vectorReg);
	gSt1SVrRMw(32, _vectorReg, _arrayReg, 0);
	ssPushRegister(_arrayReg);
	return 0;
}
#endif /* FEATURE_JIT_SIMD */
/* StackToRegisterMappingCogit>>#genStoreFloat64RegisterIntoArray */

#if FEATURE_JIT_SIMD
static sqInt
genStoreFloat64RegisterIntoArray(void)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	signed char _arrayReg;
	signed char _indexReg;
	signed char _vectorReg;

	_arrayReg = allocateRegForStackEntryAtnotConflictingWith(0, 0);
	_indexReg = allocateRegForStackEntryAtnotConflictingWith(1, 1ULL << _arrayReg);
	ssPopTopToReg(_arrayReg);
	ssPopTopToReg(_indexReg);
	/* begin checkQuickConstant:forInstruction: */
	literal = BaseHeaderSize;
	_anInstruction = genoperandoperand(AddCqR, BaseHeaderSize, _arrayReg);
	/* end checkQuickConstant:forInstruction: */
	assert(BytesPerWord == 8);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(SubCqR, 1, _indexReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin AddR:R: */
	genoperandoperand(AddRR, _indexReg, _arrayReg);
	/* end AddR:R: */
	_vectorReg = allocateVectorRegForStackEntryAtnotConflictingWith(0, 0);
	ssPopTopToVectorReg(_vectorReg);
	gSt1SVrRMw(64, _vectorReg, _arrayReg, 0);
	ssPushRegister(_arrayReg);
	return 0;
}
#endif /* FEATURE_JIT_SIMD */
/*	We need a frame because the association has to be in ReceiverResultReg for 
	the various trampolines 
	and ReceiverResultReg holds only the receiver in frameless methods. */
/* StackToRegisterMappingCogit>>#genStorePop:LiteralVariable:needsStoreCheck:needsImmutabilityCheck: */
static sqInt NoDbgRegParms
genStorePopLiteralVariableneedsStoreCheckneedsImmutabilityCheck(sqInt _popBoolean, sqInt _litVarIndex, sqInt _needsStoreCheck, sqInt _needsImmCheck)
{
	AbstractInstruction *_anInstruction;
	sqInt _association;
	signed char _topReg;

	assert(needsFrame);
	/* begin genLoadLiteralVariable:in: */
	_association = getLiteral(_litVarIndex);
	{
		voidReceiverResultRegContainsSelf();
	}
	/* begin ssAllocateRequiredReg: */
	ssAllocateRequiredRegMaskupThrough(1U << ReceiverResultReg, simStackPtr);
	/* end ssAllocateRequiredReg: */
	/* begin genMoveConstant:R: */
	if (shouldAnnotateObjectReference(_association)) {
		annotateobjRef(checkLiteralforInstruction(_association, genoperandoperand(MoveCwR, _association, ReceiverResultReg)), _association);
	} else {
		/* begin checkQuickConstant:forInstruction: */
		_anInstruction = genoperandoperand(MoveCqR, _association, ReceiverResultReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* end genMoveConstant:R: */
	genEnsureObjInRegNotForwardedscratchReg(ReceiverResultReg, TempReg);
	/* end genLoadLiteralVariable:in: */
	/* begin genGenericStorePop:slotIndex:destReg:needsStoreCheck:needsRestoreRcvr:needsImmutabilityCheck: */
	
#  if IMMUTABILITY
	{
		if (_needsImmCheck) {
			/* begin ssAllocateRequiredReg:upThrough: */
			ssAllocateRequiredRegMaskupThrough(1U << ClassReg, simStackPtr - 1);
			/* end ssAllocateRequiredReg:upThrough: */
			ssStoreAndReplacePoptoReg(_popBoolean, ClassReg);
			ssFlushStack();
			return genStoreWithImmutabilityCheckSourceRegslotIndexdestRegscratchRegneedsStoreCheckneedRestoreRcvr(ClassReg, ValueIndex, ReceiverResultReg, TempReg, _needsStoreCheck, 0);
		}
	}
#  endif /* IMMUTABILITY */
	_topReg = allocateRegForStackEntryAtnotConflictingWith(0, 1U << ReceiverResultReg);
	ssPopandCopyReg(_popBoolean, _topReg);
	return genStoreSourceRegslotIndexdestRegscratchReginFrameneedsStoreCheck(_topReg, ValueIndex, ReceiverResultReg, TempReg, needsFrame, _needsStoreCheck);
	/* end genGenericStorePop:slotIndex:destReg:needsStoreCheck:needsRestoreRcvr:needsImmutabilityCheck: */
}
/*	The reason we need a frame here is that assigning to an inst var of a 
	context may 
	involve wholesale reorganization of stack pages, and the only way to 
	preserve the 
	execution state of an activation in that case is if it has a frame. */
/* StackToRegisterMappingCogit>>#genStorePop:MaybeContextReceiverVariable:needsStoreCheck:needsImmutabilityCheck: */
static sqInt NoDbgRegParms
genStorePopMaybeContextReceiverVariableneedsStoreCheckneedsImmutabilityCheck(sqInt _popBoolean, sqInt _slotIndex, sqInt _needsStoreCheck, sqInt _needsImmCheck)
{
	AbstractInstruction *_abstractInstruction;
	AbstractInstruction *_abstractInstruction2;
	AbstractInstruction *_abstractInstruction3;
	AbstractInstruction *_abstractInstruction4;
	AbstractInstruction *_anInstruction;
	AbstractInstruction *_anInstruction2;
	AbstractInstruction *_immutabilityFailure;
	AbstractInstruction *_mutableJump;

	_immutabilityFailure = ((AbstractInstruction *) 0 );
	assert(needsFrame);
	ssFlushUpThroughReceiverVariable(_slotIndex);
	ensureReceiverResultRegContainsSelf();
	/* begin genGenericStorePop:MaybeContextSlotIndex:needsStoreCheck:needsRestoreRcvr:needsImmutabilityCheck: */
	assert(needsFrame);
	/* begin ssAllocateCallReg: */
	ssAllocateRequiredRegMaskupThrough(CallerSavedRegisterMask | (1U << SendNumArgsReg), simStackPtr);
	/* end ssAllocateCallReg: */
	/* begin ssAllocateCallReg:upThrough: */
	ssAllocateRequiredRegMaskupThrough(CallerSavedRegisterMask | (1U << ClassReg), simStackPtr - 1);
	/* end ssAllocateCallReg:upThrough: */
	ssStoreAndReplacePoptoReg(_popBoolean, ClassReg);
	ssFlushStack();
	
#  if IMMUTABILITY
	{
		if (_needsImmCheck) {
			_mutableJump = genJumpMutablescratchReg(ReceiverResultReg, TempReg);
			/* begin genStoreTrampolineCall: */
			assert(IMMUTABILITY);
			if (_slotIndex >= (NumStoreTrampolines - 1)) {
				/* begin checkQuickConstant:forInstruction: */
				_anInstruction = genoperandoperand(MoveCqR, _slotIndex, TempReg);
				/* end checkQuickConstant:forInstruction: */
				/* begin CallRT: */
				/* begin annotateCall: */
				_abstractInstruction4 = genoperand(Call, ceStoreTrampolines[NumStoreTrampolines - 1]);
				(_abstractInstruction4->annotation = IsRelativeCall);
				/* end annotateCall: */
				/* end CallRT: */
			} else {
				/* begin CallRT: */
				/* begin annotateCall: */
				_abstractInstruction2 = genoperand(Call, ceStoreTrampolines[_slotIndex]);
				(_abstractInstruction2->annotation = IsRelativeCall);
				/* end annotateCall: */
				/* end CallRT: */
			}
			/* begin annotateBytecode: */
			_abstractInstruction3 = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
			(_abstractInstruction3->annotation = HasBytecodePC);
			/* end annotateBytecode: */
			/* end genStoreTrampolineCall: */
			{
				/* begin putSelfInReceiverResultReg */
				copyToReg(simSelf(), ReceiverResultReg);
				/* end putSelfInReceiverResultReg */
			}
			/* begin Jump: */
			_immutabilityFailure = genoperand(Jump, ((sqInt) 0 ));
			/* end Jump: */
			jmpTarget(_mutableJump, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
		}
	}
#  endif /* IMMUTABILITY */
	genLoadSlotsourceRegdestReg(SenderIndex, ReceiverResultReg, TempReg);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction2 = genoperandoperand(MoveCqR, _slotIndex, SendNumArgsReg);
	/* end checkQuickConstant:forInstruction: */
	/* begin CallRT: */
	/* begin annotateCall: */
	_abstractInstruction = genoperand(Call, ceStoreContextInstVarTrampoline);
	(_abstractInstruction->annotation = IsRelativeCall);
	/* end annotateCall: */
	/* end CallRT: */
	
#  if IMMUTABILITY
	{
		if (_needsImmCheck) {
			jmpTarget(_immutabilityFailure, genoperandoperand(Label, (labelCounter += 1), bytecodePC));
		}
	}
#  endif /* IMMUTABILITY */
	return 0;
	/* end genGenericStorePop:MaybeContextSlotIndex:needsStoreCheck:needsRestoreRcvr:needsImmutabilityCheck: */
}
/* StackToRegisterMappingCogit>>#genStorePop:ReceiverVariable:needsStoreCheck:needsImmutabilityCheck: */
static sqInt NoDbgRegParms
genStorePopReceiverVariableneedsStoreCheckneedsImmutabilityCheck(sqInt _popBoolean, sqInt _slotIndex, sqInt _needsStoreCheck, sqInt _needsImmCheck)
{
	sqInt _needsImmCheck2;
	sqInt _needsStoreCheck2;
	signed char _topReg;

	ssFlushUpThroughReceiverVariable(_slotIndex);
	ensureReceiverResultRegContainsSelf();
	/* begin genGenericStorePop:slotIndex:destReg:needsStoreCheck:needsRestoreRcvr:needsImmutabilityCheck: */
	_needsStoreCheck2 = !useTwoPaths && _needsStoreCheck;
	_needsImmCheck2 = _needsImmCheck && !useTwoPaths;
	
#  if IMMUTABILITY
	{
		if (_needsImmCheck2) {
			/* begin ssAllocateRequiredReg:upThrough: */
			ssAllocateRequiredRegMaskupThrough(1U << ClassReg, simStackPtr - 1);
			/* end ssAllocateRequiredReg:upThrough: */
			ssStoreAndReplacePoptoReg(_popBoolean, ClassReg);
			ssFlushStack();
			return genStoreWithImmutabilityCheckSourceRegslotIndexdestRegscratchRegneedsStoreCheckneedRestoreRcvr(ClassReg, _slotIndex, ReceiverResultReg, TempReg, _needsStoreCheck2, 1);
		}
	}
#  endif /* IMMUTABILITY */
	_topReg = allocateRegForStackEntryAtnotConflictingWith(0, 1U << ReceiverResultReg);
	ssPopandCopyReg(_popBoolean, _topReg);
	return genStoreSourceRegslotIndexdestRegscratchReginFrameneedsStoreCheck(_topReg, _slotIndex, ReceiverResultReg, TempReg, needsFrame, _needsStoreCheck2);
	/* end genGenericStorePop:slotIndex:destReg:needsStoreCheck:needsRestoreRcvr:needsImmutabilityCheck: */
}
/*	The only reason we assert needsFrame here is that in a frameless method 
	ReceiverResultReg must and does contain only self, but the ceStoreCheck 
	trampoline expects the target of the store to be in ReceiverResultReg. So 
	in a frameless method we would have a conflict between the receiver and 
	the temote temp store, unless we we smart enough to realise that 
	ReceiverResultReg was unused after the literal variable store, unlikely 
	given that methods return self by default. */
/* StackToRegisterMappingCogit>>#genStorePop:RemoteTemp:At:needsStoreCheck: */
static sqInt NoDbgRegParms
genStorePopRemoteTempAtneedsStoreCheck(sqInt _popBoolean, sqInt _slotIndex, sqInt _remoteTempIndex, sqInt _needsStoreCheck)
{
	AbstractInstruction *_anInstruction;
	sqInt _offset;
	signed char _topReg;

	assert(needsFrame);
	/* begin ssAllocateRequiredReg: */
	ssAllocateRequiredRegMaskupThrough(1U << ReceiverResultReg, simStackPtr);
	/* end ssAllocateRequiredReg: */
	voidReceiverResultRegContainsSelf();
	/* begin MoveMw:r:R: */
	_offset = frameOffsetOfTemporary(_remoteTempIndex);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperandoperand(MoveMwrR, _offset, FPReg, ReceiverResultReg);
	/* end checkQuickConstant:forInstruction: */
	/* end MoveMw:r:R: */
	/* begin genGenericStorePop:slotIndex:destReg:needsStoreCheck:needsRestoreRcvr:needsImmutabilityCheck: */
	
#  if IMMUTABILITY
	{
	}
#  endif /* IMMUTABILITY */
	_topReg = allocateRegForStackEntryAtnotConflictingWith(0, 1U << ReceiverResultReg);
	ssPopandCopyReg(_popBoolean, _topReg);
	return genStoreSourceRegslotIndexdestRegscratchReginFrameneedsStoreCheck(_topReg, _slotIndex, ReceiverResultReg, TempReg, needsFrame, _needsStoreCheck);
	/* end genGenericStorePop:slotIndex:destReg:needsStoreCheck:needsRestoreRcvr:needsImmutabilityCheck: */
}
/* StackToRegisterMappingCogit>>#genStorePop:TemporaryVariable: */
static sqInt NoDbgRegParms
genStorePopTemporaryVariable(sqInt _popBoolean, sqInt _tempIndex)
{
	AbstractInstruction *_anInstruction;
	sqInt _offset;
	sqInt _reg;

	ssFlushUpThroughTemporaryVariable(_tempIndex);
	_reg = ssStorePoptoPreferredReg(_popBoolean, TempReg);
	/* begin MoveR:Mw:r: */
	_offset = frameOffsetOfTemporary(_tempIndex);
	/* begin checkQuickConstant:forInstruction: */
	_anInstruction = genoperandoperandoperand(MoveRMwr, _reg, _offset, FPReg);
	/* end checkQuickConstant:forInstruction: */
	/* end MoveR:Mw:r: */
	((simStackAt(_tempIndex + 1))->bcptr = bytecodePC);
	return 0;
}
/* StackToRegisterMappingCogit>>#genSubFloat64Vector */

#if FEATURE_JIT_SIMD
static sqInt
genSubFloat64Vector(void)
{
	signed char _array1Reg;
	signed char _array2Reg;
	sqInt _subReg;

	_array1Reg = allocateVectorRegForStackEntryAtnotConflictingWith(0, 0);
	_array2Reg = allocateVectorRegForStackEntryAtnotConflictingWith(1, 1ULL << _array1Reg);
	_subReg = _array2Reg;
	ssPopTopToVectorReg(_array1Reg);
	ssPopTopToVectorReg(_array2Reg);
	gFsubSRvRvRv(64, _array2Reg, _array1Reg, _subReg);
	ssPushVectorRegister(_subReg);
	return 0;
}
#endif /* FEATURE_JIT_SIMD */
/*	Generate a method return from within a method or a block. 
	Frameless method activation looks like 
	CISCs (x86): 
	receiver 
	args 
	sp->	ret pc. 
	RISCs (ARM): 
	receiver 
	args 
	ret pc in LR. 
	A fully framed activation is described in CoInterpreter 
	class>initializeFrameIndices. Return pops receiver and arguments off the 
	stack. Callee pushes the result. */
/* StackToRegisterMappingCogit>>#genUpArrowReturn */
static sqInt
genUpArrowReturn(void)
{
	AbstractInstruction *_abstractInstruction;
	AbstractInstruction *_abstractInstruction2;
	sqInt _offset;

	deadCode = 1;
	if (inBlock > 0) {
		assert(needsFrame);
		ssFlushStack();
		/* begin CallRT: */
		/* begin annotateCall: */
		_abstractInstruction = genoperand(Call, ceNonLocalReturnTrampoline);
		(_abstractInstruction->annotation = IsRelativeCall);
		/* end annotateCall: */
		/* end CallRT: */
		/* begin annotateBytecode: */
		_abstractInstruction2 = genoperandoperand(Label, (labelCounter += 1), bytecodePC);
		(_abstractInstruction2->annotation = HasBytecodePC);
		/* end annotateBytecode: */
		return 0;
	}
	if (
#    if IMMUTABILITY
			needsFrame && !useTwoPaths
#    else /* IMMUTABILITY */
			needsFrame
#    endif /* IMMUTABILITY */
			) {
		/* begin MoveR:R: */
		genoperandoperand(MoveRR, FPReg, SPReg);
		/* end MoveR:R: */
		/* begin PopR: */
		genoperand(PopR, FPReg);
		/* end PopR: */
		/* begin RetN: */
		genoperand(RetN, (methodOrBlockNumArgs + 1) * BytesPerWord);
		/* end RetN: */
	} else {
		/* begin RetN: */
		_offset = (((methodOrBlockNumArgs > 2) || regArgsHaveBeenPushed)
			 ? (methodOrBlockNumArgs + 1) * BytesPerWord
			 : 0);
		genoperand(RetN, _offset);
		/* end RetN: */
	}
	return 0;
}
/* StackToRegisterMappingCogit>>#initSimStackForFramefulMethod: */
static void NoDbgRegParms
initSimStackForFramefulMethod(sqInt _startpc)
{
	CogSimStackEntry * cascade0;
	CogSimStackEntry *_desc;
	sqInt _i;

	simStackPtr = methodOrBlockNumTemps;
	simSpillBase = methodOrBlockNumTemps + 1;
	{
		cascade0 = simSelf();
		(cascade0->type = SSBaseOffset);
		(cascade0->spilled = 1);
		(cascade0->registerr = FPReg);
		(cascade0->offset = FoxMFReceiver);
		(cascade0->liveRegister = NoReg);
	}
	for (_i = 1; _i <= methodOrBlockNumArgs; _i += 1) {
		_desc = simStackAt(_i);
		{
			(_desc->type = SSBaseOffset);
			(_desc->spilled = 1);
			(_desc->registerr = FPReg);
			(_desc->offset = FoxCallerSavedIP + (((methodOrBlockNumArgs - _i) + 1) * BytesPerWord));
			(_desc->bcptr = _startpc);
		}
	}
	for (_i = methodOrBlockNumArgs + 1; _i <= simStackPtr; _i += 1) {
		_desc = simStackAt(_i);
		{
			(_desc->type = SSBaseOffset);
			(_desc->spilled = 1);
			(_desc->registerr = FPReg);
			(_desc->offset = FoxMFReceiver - ((_i - methodOrBlockNumArgs) * BytesPerWord));
			(_desc->bcptr = _startpc);
		}
	}
}
/*	The register receiver (the closure itself) and args are pushed by the 
	closure value primitive(s) 
	and hence a frameless block has all arguments and copied values pushed to 
	the stack. However, 
	the method receiver (self) is put in the ReceiverResultReg by the block 
	entry.  */
/* StackToRegisterMappingCogit>>#initSimStackForFramelessBlock: */
static void NoDbgRegParms
initSimStackForFramelessBlock(sqInt _startpc)
{
	CogSimStackEntry * cascade0;
	CogSimStackEntry *_desc;
	sqInt _i;

	{
		cascade0 = simSelf();
		(cascade0->type = SSRegister);
		(cascade0->spilled = 0);
		(cascade0->registerr = ReceiverResultReg);
		(cascade0->liveRegister = ReceiverResultReg);
	}
	assert(methodOrBlockNumTemps >= methodOrBlockNumArgs);
	for (_i = 1; _i <= methodOrBlockNumTemps; _i += 1) {
		_desc = simStackAt(_i);
		{
			(_desc->type = SSBaseOffset);
			(_desc->spilled = 1);
			(_desc->registerr = SPReg);
			(_desc->offset = ((methodOrBlockNumArgs + 1) - _i) * BytesPerWord);
			(_desc->bcptr = _startpc);
		}
	}
	simStackPtr = methodOrBlockNumTemps;
	simSpillBase = methodOrBlockNumTemps + 1;
}
/* StackToRegisterMappingCogit>>#initSimStackForFramelessMethod: */
static void NoDbgRegParms
initSimStackForFramelessMethod(sqInt _startpc)
{
	CogSimStackEntry * cascade0;
	CogSimStackEntry *_desc;
	sqInt _i;

	{
		cascade0 = simSelf();
		(cascade0->type = SSRegister);
		(cascade0->spilled = 0);
		(cascade0->registerr = ReceiverResultReg);
		(cascade0->liveRegister = ReceiverResultReg);
	}
	assert(methodOrBlockNumTemps == methodOrBlockNumArgs);
	assert((numRegArgs()) <= 2);
	if ((methodOrBlockNumArgs >= 1) && (methodOrBlockNumArgs <= 2)) {
		_desc = simStackAt(1);
		{
			(_desc->type = SSRegister);
			(_desc->spilled = 0);
			(_desc->registerr = Arg0Reg);
			(_desc->bcptr = _startpc);
		}
		if (methodOrBlockNumArgs > 1) {
			_desc = simStackAt(2);
			{
				(_desc->type = SSRegister);
				(_desc->spilled = 0);
				(_desc->registerr = Arg1Reg);
				(_desc->bcptr = _startpc);
			}
		}
	} else {
		for (_i = 1; _i <= methodOrBlockNumArgs; _i += 1) {
			_desc = simStackAt(_i);
			{
				(_desc->type = SSBaseOffset);
				(_desc->registerr = SPReg);
				(_desc->spilled = 1);
				(_desc->offset = ((methodOrBlockNumArgs + 1) - _i) * BytesPerWord);
				(_desc->bcptr = _startpc);
			}
		}
	}
	simStackPtr = methodOrBlockNumArgs;
	simSpillBase = methodOrBlockNumArgs + 1;
}
/* StackToRegisterMappingCogit>>#liveRegisters */
static sqInt
liveRegisters(void)
{
	sqInt _i;
	sqInt _regsSet;

	if (needsFrame) {
		_regsSet = 0;
	} else {
		/* begin registerMaskFor: */
		_regsSet = 1U << ReceiverResultReg;
		/* end registerMaskFor: */
		if ((methodOrBlockNumArgs <= 2) && (methodOrBlockNumArgs > 0)) {
			_regsSet = _regsSet | (1U << Arg0Reg);
			if (methodOrBlockNumArgs > 1) {
				_regsSet = _regsSet | (1U << Arg1Reg);
			}
		}
	}
	for (_i = ((simSpillBase < 0) ? 0 : simSpillBase); _i <= simStackPtr; _i += 1) {
		_regsSet = _regsSet | (registerMask(simStackAt(_i)));
	}
	return _regsSet;
}
/* StackToRegisterMappingCogit>>#liveVectorRegisters */
static sqInt
liveVectorRegisters(void)
{
	sqInt _i;
	int _regsSet;
	CogSimStackEntry * _ssEntry;

	_regsSet = 0;
	for (_i = ((simSpillBase < 0) ? 0 : simSpillBase); _i <= simStackPtr; _i += 1) {
		_ssEntry = simStackAt(_i);
		if (((_ssEntry->type)) == SSVectorRegister) {
			_regsSet = _regsSet | (registerMask(_ssEntry));
		}
	}
	return _regsSet;
}
/*	insert nops for dead code that is mapped so that bc  
	to mc mapping is not many to one */
/* StackToRegisterMappingCogit>>#mapDeadDescriptorIfNeeded: */
static sqInt NoDbgRegParms
mapDeadDescriptorIfNeeded(BytecodeDescriptor *_descriptor)
{
	AbstractInstruction *_abstractInstruction;

	flag("annotateInstruction");
	if (((_descriptor->isMapped)) || ((inBlock > 0) && ((_descriptor->isMappedInBlock)))) {
		/* begin annotateBytecode: */
		_abstractInstruction = gen(Nop);
		(_abstractInstruction->annotation = HasBytecodePC);
		/* end annotateBytecode: */
	}
	return 0;
}
/*	Spill everything on the simulated stack that needs spilling (that below 
	receiver and arguments). 
	Marshall receiver and arguments to stack and/or registers depending on arg 
	count. If the args don't fit in registers push receiver and args (spill 
	everything), but still assign 
	the receiver to ReceiverResultReg. */
/* StackToRegisterMappingCogit>>#marshallSendArguments: */
static void NoDbgRegParms
marshallSendArguments(sqInt _numArgs)
{
	CogSimStackEntry * cascade0;
	sqInt _anyRefs;
	sqInt _numSpilled;

	ssFlushStackExceptTop(_numArgs + 1);
	if (_numArgs > 2) {
		_numSpilled = numberOfSpillsInTopNItems(_numArgs + 1);
		_anyRefs = anyReferencesToRegisterinTopNItems(ReceiverResultReg, _numArgs + 1);
		if ((_numSpilled > 0) || _anyRefs) {
			ssFlushStack();
			copyToReg(simStackAt(simStackPtr - _numArgs), ReceiverResultReg);
		} else {
			{
				cascade0 = simStackAt(simStackPtr - _numArgs);
				copyToReg(cascade0, ReceiverResultReg);
				(cascade0->type = SSRegister);
				(cascade0->registerr = ReceiverResultReg);
			}
			ssFlushStack();
		}
		{
			ssPoppopSpilled(_numArgs + 1, 0);
			return;
		}
	} else {
		if (_numArgs > 0) {
			if (_numArgs > 1) {
				/* begin ssAllocateRequiredReg:upThrough: */
				ssAllocateRequiredRegMaskupThrough(1U << Arg0Reg, simStackPtr - 2);
				/* end ssAllocateRequiredReg:upThrough: */
				/* begin ssAllocateRequiredReg:upThrough: */
				ssAllocateRequiredRegMaskupThrough(1U << Arg1Reg, simStackPtr - 1);
				/* end ssAllocateRequiredReg:upThrough: */
			} else {
				/* begin ssAllocateRequiredReg:upThrough: */
				ssAllocateRequiredRegMaskupThrough(1U << Arg0Reg, simStackPtr - 1);
				/* end ssAllocateRequiredReg:upThrough: */
			}
		}
		if (_numArgs > 1) {
			copyToReg(simStackAt(simStackPtr), Arg1Reg);
		}
		if (_numArgs > 0) {
			copyToReg(simStackAt((simStackPtr - _numArgs) + 1), Arg0Reg);
		}
		copyToReg(simStackAt(simStackPtr - _numArgs), ReceiverResultReg);
		ssPop(_numArgs + 1);
	}
}
/*	If this bytecode has a fixup, some kind of merge needs to be done. There 
	are 4 cases: 
	1) the bytecode has no fixup (fixup isNotAFixup) 
	do nothing 
	2) the bytecode has a non merge fixup 
	the fixup has needsNonMergeFixup. 
	The code generating non merge fixup (currently only special selector code) 
	is responsible 
	for the merge so no need to do it. 
	We set deadCode to false as the instruction can be reached from jumps. 
	3) the bytecode has a merge fixup, but execution flow *cannot* fall 
	through to the merge point. 
	the fixup has needsMergeFixup and deadCode = true. 
	ignores the current simStack as it does not mean anything  
	restores the simStack to the state the jumps to the merge point expects it 
	to be. 
	4) the bytecode has a merge fixup and execution flow *can* fall through to 
	the merge point. 
	the fixup has needsMergeFixup and deadCode = false. 
	flushes the stack to the stack pointer so the fall through execution path 
	simStack is  
	in the state the merge point expects it to be.  
	restores the simStack to the state the jumps to the merge point expects it 
	to be. 
	 
	In addition, if this is a backjump merge point, we patch the fixup to hold 
	the current simStackPtr  
	for later assertions. */
/* StackToRegisterMappingCogit>>#mergeWithFixupIfRequired: */
static sqInt NoDbgRegParms
mergeWithFixupIfRequired(BytecodeFixup *_fixup)
{
	CogSimStackEntry * cascade0;
	sqInt _i;

	/* begin assertCorrectSimStackPtr */
	assert(simSpillBase >= methodOrBlockNumTemps);
	if (needsFrame && (simSpillBase > 0)) {
		assert((((simStackAt(simSpillBase - 1))->spilled)) == 1);
		assert((simSpillBase > simStackPtr) || ((((simStackAt(simSpillBase))->spilled)) == 0));
	}
	/* end assertCorrectSimStackPtr */
	if (((_fixup->targetInstruction)) == 0) {
		return 0;
	}
	if (((usqInt) ((_fixup->targetInstruction)) ) == NeedsNonMergeFixupFlag) {
		deadCode = 0;
		return 0;
	}
	assert(isMergeFixup(_fixup));
	if (deadCode) {
		assert(((_fixup->simStackPtr)) >= methodOrBlockNumTemps);
		simStackPtr = (_fixup->simStackPtr);
	} else {
		ssFlushStack();
	}
	deadCode = 0;
	if ((_fixup->isTargetOfBackwardBranch)) {
		(_fixup->simStackPtr = simStackPtr);
	}
	(_fixup->targetInstruction = genoperandoperand(Label, (labelCounter += 1), bytecodePC));
	assert(simStackPtr == ((_fixup->simStackPtr)));
	/* begin restoreSimStackAtMergePoint: */
	/* begin voidReceiverOptStatus */
	((simSelf())->liveRegister = NoReg);
	/* end voidReceiverOptStatus */
	for (_i = methodOrBlockNumTemps + 1; _i <= simStackPtr; _i += 1) {
		cascade0 = simStackAt(_i);
		(cascade0->type = SSSpill);
		(cascade0->offset = FoxMFReceiver - ((_i - methodOrBlockNumArgs) * BytesPerOop));
		(cascade0->registerr = FPReg);
		(cascade0->spilled = 1);
	}
	simSpillBase = simStackPtr + 1;
	/* end restoreSimStackAtMergePoint: */
	return 0;
}
/* StackToRegisterMappingCogit>>#methodAbortTrampolineFor: */
static sqInt NoDbgRegParms
methodAbortTrampolineFor(sqInt _numArgs)
{
	return methodAbortTrampolines[((_numArgs < (2 + 1)) ? _numArgs : 2 + 1)];
}
/*	This is a hook for subclasses to filter out methods they can't deal with.Frameless methods with local temporaries cause problems, 
	mostly in asserts, and yet they matter not at all for performance. 
	Shun them. */
/* StackToRegisterMappingCogit>>#methodFoundInvalidPostScan */
static sqInt
methodFoundInvalidPostScan(void)
{
	if (!needsFrame) {
		return methodOrBlockNumTemps > methodOrBlockNumArgs;
	}
	{
		return 0;
	}
	return 0;
}
/* StackToRegisterMappingCogit>>#needsFrameIfMod16GENumArgs: */
static sqInt NoDbgRegParms
needsFrameIfMod16GENumArgs(sqInt stackDelta)
{
	return (byte0 % 16) >= methodOrBlockNumArgs;
}
/*	As of August 2013, the code generator can't deal with spills in frameless 
	methods (the 
	issue is to do with the stack offset to get at an argument, which is 
	changed when there's a spill). 
	In e.g. TextColor>>#dominates: other ^other class == self class the second 
	send of class 
	needs also rto allocate a register that the first one used, but the first 
	one's register can't be 
	spilled. So avoid this by only allowing class to be sent if the stack 
	contains a single element. */
/* StackToRegisterMappingCogit>>#needsFrameIfStackGreaterThanOne: */
static sqInt NoDbgRegParms
needsFrameIfStackGreaterThanOne(sqInt _stackDelta)
{
	return _stackDelta > 1;
}
/* StackToRegisterMappingCogit>>#numberOfSpillsInTopNItems: */
static sqInt NoDbgRegParms
numberOfSpillsInTopNItems(sqInt _n)
{
	sqInt _i;

	for (_i = simStackPtr; _i >= ((simStackPtr - _n) + 1); _i += -1) {
		if ((((simStackAt(_i))->type)) == SSSpill) {
			return _n - (simStackPtr - _i);
		}
	}
	return 0;
}
/* StackToRegisterMappingCogit>>#picAbortTrampolineFor: */
static sqInt NoDbgRegParms
picAbortTrampolineFor(sqInt _numArgs)
{
	return picAbortTrampolines[((_numArgs < (2 + 1)) ? _numArgs : 2 + 1)];
}
/*	Populate tuple (which must be large enough) with the ClosedPIC's target 
	method class pairs. 
	The first entry in tuple contains the bytecode pc for the send, so skip 
	the tuple's first field. */
/* StackToRegisterMappingCogit>>#populate:withPICInfoFor:firstCacheTag: */
static void NoDbgRegParms
populatewithPICInfoForfirstCacheTag(sqInt _tuple, CogMethod *_cPIC, sqInt _firstCacheTag)
{
	usqInt _cacheTag;
	sqInt _classOop;
	sqInt _entryPoint;
	sqInt _i;
	sqInt _picCaseMachineCodePC;
	CogMethod *_targetMethod;
	sqInt _value;

	for (_i = 1; _i <= ((_cPIC->cPICNumCases)); _i += 1) {
		_picCaseMachineCodePC = addressOfEndOfCaseinCPIC(_i, _cPIC);
		_cacheTag = ((_i == 1)
			 ? _firstCacheTag
			 : literal32BeforeFollowingAddress(backEnd, _picCaseMachineCodePC - (jumpLongConditionalByteSize(backEnd))));
		_classOop = classForInlineCacheTag(_cacheTag);
		storePointerofObjectwithValue((_i * 2) - 1, _tuple, _classOop);
		if (_i == 1) {
			_entryPoint = jumpLongTargetBeforeFollowingAddress(backEnd, _picCaseMachineCodePC);
		} else {
			/* begin jumpLongConditionalTargetBeforeFollowingAddress: */
			_entryPoint = jumpLongTargetBeforeFollowingAddress(((AbstractInstruction *) backEnd ), _picCaseMachineCodePC);
			/* end jumpLongConditionalTargetBeforeFollowingAddress: */
		}
		if ((((usqInt) _cPIC ) <= ((usqInt) _entryPoint )) && ((((usqInt) _cPIC ) + ((_cPIC->blockSize))) >= ((usqInt) _entryPoint ))) {
			_value = splObj(SelectorDoesNotUnderstand);
		} else {
			_targetMethod = ((CogMethod *) (_entryPoint - cmNoCheckEntryOffset) );
			assert(((_targetMethod->cmType)) == CMMethod);
			_value = (_targetMethod->methodObject);
		}
		storePointerofObjectwithValue(_i * 2, _tuple, _value);
	}
}
/* StackToRegisterMappingCogit>>#prevInstIsPCAnnotated */
static sqInt
prevInstIsPCAnnotated(void)
{
	sqInt _prevIndex;
	AbstractInstruction *_prevInst;

	if (!(opcodeIndex > 0)) {
		return 0;
	}
	_prevIndex = opcodeIndex - 1;
	while (1) {
		if (_prevIndex <= 0) {
			return 0;
		}
		_prevInst = abstractInstructionAt(_prevIndex);
		if (isPCMappedAnnotation(((!((_prevInst->annotation)))
			 ? 0
			 : (_prevInst->annotation)))) {
			return 1;
		}
		if (!(((_prevInst->opcode)) == Label)) 
			break;
		_prevIndex -= 1;
	}
	return 0;
}
/*	Undefined by now, do nothing */
/* StackToRegisterMappingCogit>>#profilingDataForCounter:at: */
static sqInt NoDbgRegParms
profilingDataForCounterat(sqInt counter, sqInt bcpc)
{
	return 0;
}
/*	Answer a tuple with the send data for a linked send to cogMethod. 
	If the target is a CogMethod (monomorphic send) answer 
	{ bytecode pc, inline cache class, target method } 
	If the target is an open PIC (megamorphic send) answer 
	{ bytecode pc, nil, send selector } 
	If the target is a closed PIC (polymorphic send) answer 
	{ bytecode pc, first class, target method, second class, second target 
	method, ... } */
/* StackToRegisterMappingCogit>>#profilingDataForSendTo:methodClassIfSuper:at:bcpc: */
static sqInt NoDbgRegParms
profilingDataForSendTomethodClassIfSuperatbcpc(CogMethod *_cogCodeSendTarget, sqInt _methodClassOrNil, char *_sendMcpc, sqInt _sendBcpc)
{
	sqInt _class;
	sqInt _tuple;

	_tuple = eeInstantiateClassIndexformatnumSlots(ClassArrayCompactIndex, arrayFormat(), ((((_cogCodeSendTarget->cmType)) == CMPolymorphicIC)
		 ? (2 * ((_cogCodeSendTarget->cPICNumCases))) + 1
		 : 3));
	if (_tuple == 0) {
		return 0;
	}
	storePointerUncheckedofObjectwithValue(0, _tuple, ((((usqInt) _sendBcpc ) << 3) | 1));
	if (((_cogCodeSendTarget->cmType)) == CMMethod) {
		_class = ((!_methodClassOrNil)
			 ? classForInlineCacheTag(inlineCacheTagAt(backEnd, ((usqInt) _sendMcpc )))
			 : _methodClassOrNil);
		{
			storePointerofObjectwithValue(1, _tuple, _class);
			storePointerofObjectwithValue(2, _tuple, (_cogCodeSendTarget->methodObject));
		}
		return _tuple;
	}
	if (((_cogCodeSendTarget->cmType)) == CMPolymorphicIC) {
		populatewithPICInfoForfirstCacheTag(_tuple, _cogCodeSendTarget, inlineCacheTagAt(backEnd, ((usqInt) _sendMcpc )));
		return _tuple;
	}
	if (((_cogCodeSendTarget->cmType)) == CMMegamorphicIC) {
		{
			storePointerUncheckedofObjectwithValue(1, _tuple, nilObject());
			storePointerofObjectwithValue(2, _tuple, (_cogCodeSendTarget->selector));
		}
		return _tuple;
	}
	error("invalid method type");
	return 0;
}
/*	N.B. Counters are always 32-bits, having two 16-bit halves for the reached 
	and taken counts. */
/* StackToRegisterMappingCogit>>#profilingDataFor:Annotation:Mcpc:Bcpc:Method: */
static sqInt NoDbgRegParms
profilingDataForAnnotationMcpcBcpcMethod(BytecodeDescriptor *_descriptor, sqInt _isBackwardBranchAndAnnotation, char *_mcpc, sqInt _bcpc, void *_cogMethodArg)
{
	sqInt _annotation;
	sqInt _association;
	unsigned int _counter;
	usqInt * _counters;
	sqInt _entryPoint;
	sqInt _methodClassIfSuper;
	sqInt _offset2;
	sqInt *_sendTable2;
	CogMethod * _targetCogCode2;
	sqInt _tuple;

	if (!_descriptor) {
		return 0;
	}
	if (isBranch(_descriptor)) {
		if (((_descriptor->isBranchTrue)) || ((_descriptor->isBranchFalse))) {
			_counters = ((usqInt *) 0 );
			if (_counters == 0) {
				return 0;
			}
			_counter = _counters[counterIndex];
			_tuple = profilingDataForCounterat(_counter, _bcpc + 1);
			if (_tuple == 0) {
				return PrimErrNoMemory;
			}
			storePointerofObjectwithValue(introspectionDataIndex, introspectionData, _tuple);
			introspectionDataIndex += 1;
			counterIndex += 1;
		}
		return 0;
	}
	_annotation = ((usqInt) _isBackwardBranchAndAnnotation ) >> 1;
	if (!((_annotation >= IsSendCall) && (((_entryPoint = callTargetFromReturnAddress(backEnd, ((usqInt) _mcpc ))), _entryPoint > methodZoneBase)))) {
		return 0;
	}
	/* begin targetMethodAndSendTableFor:annotation:into: */
	/* begin offsetAndSendTableFor:annotation:into: */
	if (_annotation == IsSendCall) {
		_offset2 = cmEntryOffset;
		_sendTable2 = ordinarySendTrampolines;
	} else {
		if (_annotation == IsDirectedSuperSend) {
			_offset2 = cmNoCheckEntryOffset;
			_sendTable2 = directedSuperSendTrampolines;
		} else {
			if (_annotation == IsDirectedSuperBindingSend) {
				_offset2 = cmNoCheckEntryOffset;
				_sendTable2 = directedSuperBindingSendTrampolines;
			} else {
				assert(_annotation == IsSuperSend);
				_offset2 = cmNoCheckEntryOffset;
				_sendTable2 = superSendTrampolines;
			}
		}
	}
	{
		_targetCogCode2 = ((CogMethod *) (_entryPoint - _offset2) );
		{
			_methodClassIfSuper = null;
			if (_sendTable2 == superSendTrampolines) {
				_methodClassIfSuper = methodClassOf(((((CogMethod *) _cogMethodArg ))->methodObject));
			}
			if (_sendTable2 == directedSuperSendTrampolines) {
				_association = literalBeforeInlineCacheTagAt(backEnd, ((usqInt) _mcpc ));
				_methodClassIfSuper = valueOfAssociation(_association);
			}
			_tuple = profilingDataForSendTomethodClassIfSuperatbcpc(_targetCogCode2, _methodClassIfSuper, _mcpc, _bcpc + 1);
		}
	}
	/* end offsetAndSendTableFor:annotation:into: */
	/* end targetMethodAndSendTableFor:annotation:into: */
	if (_tuple == 0) {
		return PrimErrNoMemory;
	}
	storePointerofObjectwithValue(introspectionDataIndex, introspectionData, _tuple);
	introspectionDataIndex += 1;
	return 0;
}
/*	Collect the branch and send data for cogMethod, storing it into arrayObj.If the method is frameless, it has no message sends. No need to continue. */
/* StackToRegisterMappingCogit>>#profilingDataFor:into: */
sqInt
profilingDataForinto(CogMethod *_cogMethod, sqInt _arrayObj)
{
	sqInt _aMethodObj;
	sqInt _annotation;
	sqInt _bcpc;
	sqInt _byte;
	CogMethod *_cogMethod2;
	BytecodeDescriptor *_descriptor;
	sqInt _distance;
	sqInt _endbcpc;
	sqInt _errCode;
	CogMethod *_homeMethod;
	sqInt _isBackwardBranch;
	usqInt _isInBlock;
	sqInt _latestContinuation;
	usqInt _map;
	sqInt _mapByte;
	usqInt _mcpc;
	sqInt _nExts;
	sqInt _nextBcpc;
	sqInt _result;
	sqInt _startbcpc;
	sqInt _targetPC;

	if (((_cogMethod->stackCheckOffset)) == 0) {
		return 0;
	}
	introspectionDataIndex = (counterIndex = 0);
	introspectionData = _arrayObj;
	/* begin mapFor:bcpc:performUntil:arg: */
	_cogMethod2 = ((CogMethod *) _cogMethod );
	_startbcpc = startPCOfMethod((_cogMethod->methodObject));
	assert(((_cogMethod2->stackCheckOffset)) > 0);
	_mcpc = ((usqInt) _cogMethod2 ) + ((_cogMethod2->stackCheckOffset));
	_result = profilingDataForAnnotationMcpcBcpcMethod(null, 0 + ((sqInt) (((usqInt) HasBytecodePC ) << 1) ), ((char *) _mcpc ), _startbcpc, ((void *) _cogMethod ));
	if (_result != 0) {
		_errCode = _result;
		goto l3;
	}
	_bcpc = _startbcpc;
	_isInBlock = (_cogMethod2->cpicHasMNUCaseOrCMIsFullBlock);
	_homeMethod = ((CogMethod *) _cogMethod2 );
	assert(_startbcpc == (startPCOfMethodHeader((_homeMethod->methodHeader))));
	_map = (((usqInt) _homeMethod ) + ((_homeMethod->blockSize))) - 1;
	_annotation = ((usqInt) (byteAt(_map)) ) >> AnnotationShift;
	assert((_annotation == IsAbsPCReference) || ((_annotation == IsObjectReference) || ((_annotation == IsRelativeCall) || (_annotation == IsDisplacementX2N))));
	_latestContinuation = _startbcpc;
	_aMethodObj = (_homeMethod->methodObject);
	_endbcpc = (numBytesOf(_aMethodObj)) - 1;
	_bcpc += deltaToSkipPrimAndErrorStoreInheader(_aMethodObj, (_homeMethod->methodHeader));
	_nExts = 0;
	{
		enumeratingCogMethod = _homeMethod;
	}
	while ((((usqInt) (byteAt(_map)) ) >> AnnotationShift) != HasBytecodePC) {
		_map -= 1;
	}
	_map -= 1;
	while (((_mapByte = byteAt(_map))) != MapEnd) {
		if (_mapByte >= FirstAnnotation) {
			_annotation = ((usqInt) _mapByte ) >> AnnotationShift;
			_mcpc += _mapByte & DisplacementMask;
			if (_annotation >= HasBytecodePC) {
				if ((_annotation == IsSendCall) && ((((usqInt) ((_mapByte = byteAt(_map - 1))) ) >> AnnotationShift) == IsAnnotationExtension)) {
					_annotation += _mapByte & DisplacementMask;
					_map -= 1;
				}
				while (1) {
					_byte = fetchByteofObject(_bcpc, _aMethodObj);
					_descriptor = generatorAt(_byte);
					if (_isInBlock) {
						if (_bcpc >= _endbcpc) {
							_errCode = 0;
							goto l3;
						}
					} else {
						if (((_descriptor->isReturn)) && (_bcpc >= _latestContinuation)) {
							_errCode = 0;
							goto l3;
						}
						if (isBranch(_descriptor)) {
							/* begin latestContinuationPCFor:at:exts:in: */
							_distance = ((_descriptor->spanFunction))(_descriptor, _bcpc, _nExts, _aMethodObj);
							_targetPC = (_bcpc + ((_descriptor->numBytes))) + (((_distance < 0) ? 0 : _distance));
							/* end latestContinuationPCFor:at:exts:in: */
							_latestContinuation = ((_latestContinuation < _targetPC) ? _targetPC : _latestContinuation);
						}
					}
					_nextBcpc = _bcpc + ((_descriptor->numBytes));
					if (((_descriptor->isMapped)) || (_isInBlock && ((_descriptor->isMappedInBlock)))) 
						break;
					_bcpc = _nextBcpc;
					_nExts = (((_descriptor->isExtension))
						 ? _nExts + 1
						 : 0);
				}
				_isBackwardBranch = (isBranch(_descriptor)) && ((assert(((_descriptor->spanFunction)) != null), (((_descriptor->spanFunction))(_descriptor, _bcpc, _nExts, _aMethodObj)) < 0));
				_result = profilingDataForAnnotationMcpcBcpcMethod(_descriptor, ((_isBackwardBranch)
					 ? ((sqInt) (((usqInt) _annotation ) << 1) ) + 1
					 : ((sqInt) (((usqInt) _annotation ) << 1) )), ((char *) _mcpc ), ((_isBackwardBranch)
					 ? _bcpc - (2 * _nExts)
					 : _bcpc), ((void *) _cogMethod ));
				if (_result != 0) {
					_errCode = _result;
					goto l3;
				}
				_bcpc = _nextBcpc;
				_nExts = (((_descriptor->isExtension))
					 ? _nExts + 1
					 : 0);
			}
		} else {
			assert(((((usqInt) _mapByte ) >> AnnotationShift) == IsDisplacementX2N) || ((((usqInt) _mapByte ) >> AnnotationShift) == IsAnnotationExtension));
			if (_mapByte < ((sqInt) (((usqInt) IsAnnotationExtension ) << AnnotationShift) )) {
				_mcpc += ((sqInt) (((usqInt) (_mapByte - DisplacementX2N) ) << AnnotationShift) );
			}
		}
		_map -= 1;
	}
	_errCode = 0;
	l3:
	;
	/* end mapFor:bcpc:performUntil:arg: */
	if (_errCode != 0) {
		assert(_errCode == PrimErrNoMemory);
		return -1;
	}
	return introspectionDataIndex;
}
/*	Used to mark ReceiverResultReg as dead or not containing simSelf. 
	Used when the simStack has already been flushed, e.g. for sends. */
/* StackToRegisterMappingCogit>>#receiverIsInReceiverResultReg */
static sqInt
receiverIsInReceiverResultReg(void)
{
	return (((simSelf())->liveRegister)) == ReceiverResultReg;
}
/*	Scan the method (and all embedded blocks) to determine 
	- what the last bytecode is; extra bytes at the end of a method are used 
	to encode things like source pointers or temp names 
	- if the method needs a frame or not 
	- what are the targets of any backward branches */
/* StackToRegisterMappingCogit>>#scanMethod */
static sqInt
scanMethod(void)
{
	BytecodeDescriptor *_descriptor;
	sqInt _distance;
	BytecodeFixup * _fixup;
	sqInt _framelessStackDelta;
	sqInt _latestContinuation;
	sqInt _nExts;
	sqInt _pc;
	int _seenInstVarStore;
	sqInt _targetPC;

	needsFrame = (useTwoPaths = (_seenInstVarStore = 0));
	if ((primitiveIndex > 0) && (isQuickPrimitiveIndex(primitiveIndex))) {
		return 0;
	}
	_pc = (_latestContinuation = initialPC);
	_framelessStackDelta = (_nExts = (extA = (numExtB = (extB = 0))));
	while (_pc <= endPC) {
		byte0 = fetchByteofObject(_pc, methodObj);
		_descriptor = generatorAt(byte0);
		if ((_descriptor->isExtension)) {
			if (((_descriptor->opcode)) == Nop) {
				return EncounteredUnknownBytecode;
			}
			loadSubsequentBytesForDescriptorat(_descriptor, _pc);
			((_descriptor->generator))();
		}
		if (((_descriptor->isReturn)) && (_pc >= _latestContinuation)) {
			endPC = _pc;
		}
		if (!needsFrame) {
			if ((((_descriptor->needsFrameFunction)) == null) || (((_descriptor->needsFrameFunction))(_framelessStackDelta))) {
				
#        if IMMUTABILITY
				{
					if ((_descriptor->is1ByteInstVarStore)) {
						useTwoPaths = 1;
					} else {
						needsFrame = 1;
						useTwoPaths = 0;
					}
				}
#        else /* IMMUTABILITY */
				{
					needsFrame = 1;
					useTwoPaths = 0;
				}
#        endif /* IMMUTABILITY */
			} else {
				_framelessStackDelta += (_descriptor->stackDelta);
				
#        if IMMUTABILITY
				{
				}
#        else /* IMMUTABILITY */
				{
					if ((_descriptor->is1ByteInstVarStore)) {
						if (_seenInstVarStore) {
							useTwoPaths = 1;
						} else {
							_seenInstVarStore = 1;
						}
					}
				}
#        endif /* IMMUTABILITY */
			}
		}
		if (isBranch(_descriptor)) {
			/* begin spanFor:at:exts:in: */
			_distance = ((_descriptor->spanFunction))(_descriptor, _pc, _nExts, methodObj);
			/* end spanFor:at:exts:in: */
			_targetPC = (_pc + ((_descriptor->numBytes))) + _distance;
			if ((assert(((_descriptor->spanFunction)) != null), (((_descriptor->spanFunction))(_descriptor, _pc, _nExts, methodObj)) < 0)) {
				/* begin initializeFixupAt: */
				/* begin fixupAt: */
				_fixup = fixupAtIndex(_targetPC - initialPC);
				/* end fixupAt: */
				/* begin initializeFixup: */
				{
					(_fixup->simStackPtr = simStackPtr);
					/* begin becomeMergeFixup */
					(_fixup->targetInstruction) = ((AbstractInstruction *) NeedsMergeFixupFlag );
					/* end becomeMergeFixup */
					/* begin setIsBackwardBranchFixup */
					(_fixup->isTargetOfBackwardBranch) = 1;
					/* end setIsBackwardBranchFixup */
				}
				/* end initializeFixup: */
				/* end initializeFixupAt: */
			} else {
				_latestContinuation = ((_latestContinuation < _targetPC) ? _targetPC : _latestContinuation);
			}
		}
		/* begin maybeDealWithUnsafeJumpForDescriptor:pc:latestContinuation: */
		/* end maybeDealWithUnsafeJumpForDescriptor:pc:latestContinuation: */
		_pc += (_descriptor->numBytes);
		_nExts = (((_descriptor->isExtension))
			 ? _nExts + 1
			 : (extA = (numExtB = (extB = 0))));
	}
	return 0;
}
/*	230		11100110	iiiiiiii		PushNClosureTemps iiiiiiii */
/* StackToRegisterMappingCogit>>#sistaV1PushNilSize:numInitialNils: */
static sqInt NoDbgRegParms
sistaV1PushNilSizenumInitialNils(sqInt aMethodObj, sqInt _numInitialNils)
{
	return _numInitialNils;
}
/* StackToRegisterMappingCogit>>#sistaV1:Num:Push:Nils: */
static sqInt NoDbgRegParms
sistaV1NumPushNils(BytecodeDescriptor *_descriptor, sqInt pc, sqInt nExts, sqInt aMethodObj)
{
	return ((((_descriptor->generator)) == genPushConstantNilBytecode)
		 ? 1
		 : 0);
}
/* StackToRegisterMappingCogit>>#ssAllocateRequiredRegMask:upThrough: */
static void NoDbgRegParms
ssAllocateRequiredRegMaskupThrough(sqInt _requiredRegsMask, sqInt _stackPtr)
{
	sqInt _i;
	sqInt _i2;
	sqInt _lastRequired;
	sqInt _liveRegs;

	_lastRequired = -1;
	/* begin registerMaskFor:and: */
	_liveRegs = (1U << FPReg) | (1U << SPReg);
	/* end registerMaskFor:and: */
	for (_i = ((simSpillBase < 0) ? 0 : simSpillBase); _i <= _stackPtr; _i += 1) {
		_liveRegs = _liveRegs | (registerMask(simStackAt(_i)));
		if ((registerMask(simStackAt(_i))) & _requiredRegsMask) {
			_lastRequired = _i;
		}
	}
	if (_liveRegs & _requiredRegsMask) {
		/* begin ssFlushTo: */
		assert(tempsValidAndVolatileEntriesSpilled());
		if (simSpillBase <= _lastRequired) {
			for (_i2 = ((((((((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase)) < simStackPtr) ? ((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase) : simStackPtr)) < _lastRequired) ? (((((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase)) < simStackPtr) ? ((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase) : simStackPtr) : _lastRequired); _i2 <= _lastRequired; _i2 += 1) {
				assert(needsFrame);
				ensureSpilledAtfrom(simStackAt(_i2), frameOffsetOfTemporary(_i2 - 1), FPReg);
			}
			simSpillBase = _lastRequired + 1;
		}
		/* end ssFlushTo: */
		assert(!((liveRegisters()) & _requiredRegsMask));
	}
}
/* StackToRegisterMappingCogit>>#ssFlushStack */
static void
ssFlushStack(void)
{
	ssFlushStackExceptTop(0);
}
/* StackToRegisterMappingCogit>>#ssFlushStackExceptTop: */
static void NoDbgRegParms
ssFlushStackExceptTop(sqInt _n)
{
	sqInt _i;

	/* begin ssFlushTo: */
	assert(tempsValidAndVolatileEntriesSpilled());
	if (simSpillBase <= (simStackPtr - _n)) {
		for (_i = ((((((((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase)) < simStackPtr) ? ((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase) : simStackPtr)) < (simStackPtr - _n)) ? (((((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase)) < simStackPtr) ? ((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase) : simStackPtr) : simStackPtr - _n); _i <= (simStackPtr - _n); _i += 1) {
			assert(needsFrame);
			ensureSpilledAtfrom(simStackAt(_i), frameOffsetOfTemporary(_i - 1), FPReg);
		}
		simSpillBase = (simStackPtr - _n) + 1;
	}
	/* end ssFlushTo: */
}
/*	Any occurrences on the stack of the value being stored (which is the top 
	of stack) 
	must be flushed, and hence any values colder than them stack. */
/* StackToRegisterMappingCogit>>#ssFlushUpThroughReceiverVariable: */
static void NoDbgRegParms
ssFlushUpThroughReceiverVariable(sqInt _slotIndex)
{
	sqInt _i;
	sqInt _index;

	/* begin ssFlushUpThrough: */
	assert(simSpillBase >= 0);
	for (_index = simStackPtr - 1; _index >= simSpillBase; _index += -1) {
		if (((((simStackAt(_index))->type)) == SSBaseOffset) && (((((simStackAt(_index))->registerr)) == ReceiverResultReg) && ((((simStackAt(_index))->offset)) == (slotOffsetOfInstVarIndex(_slotIndex))))) {
			/* begin ssFlushTo: */
			assert(tempsValidAndVolatileEntriesSpilled());
			if (simSpillBase <= _index) {
				for (_i = ((((((((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase)) < simStackPtr) ? ((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase) : simStackPtr)) < _index) ? (((((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase)) < simStackPtr) ? ((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase) : simStackPtr) : _index); _i <= _index; _i += 1) {
					assert(needsFrame);
					ensureSpilledAtfrom(simStackAt(_i), frameOffsetOfTemporary(_i - 1), FPReg);
				}
				simSpillBase = _index + 1;
			}
			/* end ssFlushTo: */
			goto l2;
		}
	}
	l2:
	;
	/* end ssFlushUpThrough: */
}
/*	Any occurrences on the stack of the value being stored (which is the top 
	of stack) 
	must be flushed, and hence any values colder than them stack. */
/* StackToRegisterMappingCogit>>#ssFlushUpThroughTemporaryVariable: */
static void NoDbgRegParms
ssFlushUpThroughTemporaryVariable(sqInt _tempIndex)
{
	sqInt _i;
	sqInt _index;
	sqInt _offset;

	_offset = ((simStackAt(_tempIndex + 1))->offset);
	assert(_offset == (frameOffsetOfTemporary(_tempIndex)));
	/* begin ssFlushUpThrough: */
	assert(simSpillBase >= 0);
	for (_index = simStackPtr - 1; _index >= simSpillBase; _index += -1) {
		if (((((simStackAt(_index))->type)) == SSBaseOffset) && (((((simStackAt(_index))->registerr)) == FPReg) && ((((simStackAt(_index))->offset)) == _offset))) {
			/* begin ssFlushTo: */
			assert(tempsValidAndVolatileEntriesSpilled());
			if (simSpillBase <= _index) {
				for (_i = ((((((((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase)) < simStackPtr) ? ((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase) : simStackPtr)) < _index) ? (((((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase)) < simStackPtr) ? ((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase) : simStackPtr) : _index); _i <= _index; _i += 1) {
					assert(needsFrame);
					ensureSpilledAtfrom(simStackAt(_i), frameOffsetOfTemporary(_i - 1), FPReg);
				}
				simSpillBase = _index + 1;
			}
			/* end ssFlushTo: */
			goto l2;
		}
	}
	l2:
	;
	/* end ssFlushUpThrough: */
}
/*	Peephole optimisation: generate always a single instruction. 
	If the top is spilled, generate just a pop instruction. Otherwise a 
	copy/load  */
/* StackToRegisterMappingCogit>>#ssPopTopToReg: */
static void NoDbgRegParms
ssPopTopToReg(sqInt _aRegister)
{
	if (((ssTop())->spilled)) {
		/* begin PopR: */
		genoperand(PopR, _aRegister);
		/* end PopR: */
	} else {
		copyToReg(ssTop(), _aRegister);
	}
	ssPoppopSpilled(1, 0);
}
/* StackToRegisterMappingCogit>>#ssPopTopToVectorReg: */
static void NoDbgRegParms
ssPopTopToVectorReg(sqInt _aVectorRegister)
{
	moveToVectorReg(ssTop(), _aVectorRegister);
	ssPop(1);
}
/* StackToRegisterMappingCogit>>#ssPop: */
static void NoDbgRegParms
ssPop(sqInt _n)
{
	ssPoppopSpilled(_n, 1);
}
/*	Store or pop the top simulated stack entry to a register. 
	N.B.: popToReg: and storeToReg: does not generate anything if  
	it moves a register to the same register. */
/* StackToRegisterMappingCogit>>#ssPop:andCopyReg: */
static void NoDbgRegParms
ssPopandCopyReg(sqInt _popBoolean, sqInt _reg)
{
	if (_popBoolean) {
		ssPopTopToReg(_reg);
	}
 else {
		copyToReg(ssTop(), _reg);
	}
}
/* StackToRegisterMappingCogit>>#ssPop:popSpilled: */
static void NoDbgRegParms
ssPoppopSpilled(sqInt _n, sqInt _popSpilled)
{
	sqInt literal;
	AbstractInstruction *_anInstruction;
	sqInt _i;
	sqInt _spilledToPop;

	assert(((simStackPtr - _n) >= methodOrBlockNumTemps) || (!needsFrame && ((simStackPtr - _n) >= 0)));
	simStackPtr -= _n;
	_spilledToPop = (simSpillBase - 1) - simStackPtr;
	if (_popSpilled && (_spilledToPop > 0)) {
		/* begin checkQuickConstant:forInstruction: */
		literal = _spilledToPop * BytesPerWord;
		_anInstruction = genoperandoperand(AddCqR, _spilledToPop * BytesPerWord, SPReg);
		/* end checkQuickConstant:forInstruction: */
	}
	/* begin updateSimSpillBase */
	assert((simSpillBase > methodOrBlockNumTemps) && (simStackPtr >= methodOrBlockNumTemps));
	if (simSpillBase > simStackPtr) {
		simSpillBase = simStackPtr + 1;
		while (((simSpillBase - 1) > methodOrBlockNumTemps) && (!(((simStackAt(simSpillBase - 1))->spilled)))) {
			simSpillBase -= 1;
		}
	} else {
		while ((((simStackAt(simSpillBase))->spilled)) && (simSpillBase <= simStackPtr)) {
			simSpillBase += 1;
		}
	}
	for (_i = methodOrBlockNumTemps + 1; _i <= ((((simSpillBase - 1) < simStackPtr) ? simSpillBase - 1 : simStackPtr)); _i += 1) {
		assert((((simStackAt(_i))->spilled)) == 1);
	}
	assert((simSpillBase > simStackPtr) || ((((simStackAt(simSpillBase))->spilled)) == 0));
	/* end updateSimSpillBase */
}
/* StackToRegisterMappingCogit>>#ssPushAnnotatedConstant: */
static sqInt NoDbgRegParms
ssPushAnnotatedConstant(sqInt _literal)
{
	AbstractInstruction *_abstractInstruction;

	ssPushConstant(_literal);
	/* begin annotateInstructionForBytecode */
	/* begin annotateBytecode: */
	_abstractInstruction = ((AbstractInstruction *) (((prevInstIsPCAnnotated())
		 ? (/* begin Nop */ gen(Nop) /* end Nop */)
		 : (/* begin Label */ genoperandoperand(Label, (labelCounter += 1), bytecodePC) /* end Label */))) );
	(_abstractInstruction->annotation = HasBytecodePC);
	/* end annotateBytecode: */
	/* end annotateInstructionForBytecode */
	return 0;
}
/* StackToRegisterMappingCogit>>#ssPushBase:offset: */
static sqInt NoDbgRegParms
ssPushBaseoffset(sqInt _reg, sqInt _offset)
{
	CogSimStackEntry * cascade0;
	sqInt _i;

	ssPush(1);
	{
		cascade0 = ssTop();
		(cascade0->type = SSBaseOffset);
		(cascade0->spilled = 0);
		(cascade0->registerr = _reg);
		(cascade0->offset = _offset);
		(cascade0->bcptr = bytecodePC);
	}
	/* begin updateSimSpillBase */
	assert((simSpillBase > methodOrBlockNumTemps) && (simStackPtr >= methodOrBlockNumTemps));
	if (simSpillBase > simStackPtr) {
		simSpillBase = simStackPtr + 1;
		while (((simSpillBase - 1) > methodOrBlockNumTemps) && (!(((simStackAt(simSpillBase - 1))->spilled)))) {
			simSpillBase -= 1;
		}
	} else {
		while ((((simStackAt(simSpillBase))->spilled)) && (simSpillBase <= simStackPtr)) {
			simSpillBase += 1;
		}
	}
	for (_i = methodOrBlockNumTemps + 1; _i <= ((((simSpillBase - 1) < simStackPtr) ? simSpillBase - 1 : simStackPtr)); _i += 1) {
		assert((((simStackAt(_i))->spilled)) == 1);
	}
	assert((simSpillBase > simStackPtr) || ((((simStackAt(simSpillBase))->spilled)) == 0));
	/* end updateSimSpillBase */
	return 0;
}
/* StackToRegisterMappingCogit>>#ssPushConstant: */
static sqInt NoDbgRegParms
ssPushConstant(sqInt _literal)
{
	CogSimStackEntry * cascade0;
	sqInt _i;

	ssPush(1);
	{
		cascade0 = ssTop();
		(cascade0->type = SSConstant);
		(cascade0->spilled = 0);
		(cascade0->constant = _literal);
		(cascade0->bcptr = bytecodePC);
	}
	/* begin updateSimSpillBase */
	assert((simSpillBase > methodOrBlockNumTemps) && (simStackPtr >= methodOrBlockNumTemps));
	if (simSpillBase > simStackPtr) {
		simSpillBase = simStackPtr + 1;
		while (((simSpillBase - 1) > methodOrBlockNumTemps) && (!(((simStackAt(simSpillBase - 1))->spilled)))) {
			simSpillBase -= 1;
		}
	} else {
		while ((((simStackAt(simSpillBase))->spilled)) && (simSpillBase <= simStackPtr)) {
			simSpillBase += 1;
		}
	}
	for (_i = methodOrBlockNumTemps + 1; _i <= ((((simSpillBase - 1) < simStackPtr) ? simSpillBase - 1 : simStackPtr)); _i += 1) {
		assert((((simStackAt(_i))->spilled)) == 1);
	}
	assert((simSpillBase > simStackPtr) || ((((simStackAt(simSpillBase))->spilled)) == 0));
	/* end updateSimSpillBase */
	return 0;
}
/* StackToRegisterMappingCogit>>#ssPushDesc: */
static sqInt NoDbgRegParms
ssPushDesc(SimStackEntry _simStackEntry)
{
	sqInt _i;

	{
		if (((_simStackEntry.type)) == SSSpill) {
			(_simStackEntry.type = SSBaseOffset);
		}
		{
			(_simStackEntry.spilled = 0);
			(_simStackEntry.bcptr = bytecodePC);
		}
		simStack[(simStackPtr += 1)] = _simStackEntry;
	}
	/* begin updateSimSpillBase */
	assert((simSpillBase > methodOrBlockNumTemps) && (simStackPtr >= methodOrBlockNumTemps));
	if (simSpillBase > simStackPtr) {
		simSpillBase = simStackPtr + 1;
		while (((simSpillBase - 1) > methodOrBlockNumTemps) && (!(((simStackAt(simSpillBase - 1))->spilled)))) {
			simSpillBase -= 1;
		}
	} else {
		while ((((simStackAt(simSpillBase))->spilled)) && (simSpillBase <= simStackPtr)) {
			simSpillBase += 1;
		}
	}
	for (_i = methodOrBlockNumTemps + 1; _i <= ((((simSpillBase - 1) < simStackPtr) ? simSpillBase - 1 : simStackPtr)); _i += 1) {
		assert((((simStackAt(_i))->spilled)) == 1);
	}
	assert((simSpillBase > simStackPtr) || ((((simStackAt(simSpillBase))->spilled)) == 0));
	/* end updateSimSpillBase */
	return 0;
}
/* StackToRegisterMappingCogit>>#ssPushRegister: */
static sqInt NoDbgRegParms
ssPushRegister(sqInt _reg)
{
	CogSimStackEntry * cascade0;
	sqInt _i;

	ssPush(1);
	{
		cascade0 = ssTop();
		(cascade0->type = SSRegister);
		(cascade0->spilled = 0);
		(cascade0->registerr = _reg);
		(cascade0->bcptr = bytecodePC);
	}
	/* begin updateSimSpillBase */
	assert((simSpillBase > methodOrBlockNumTemps) && (simStackPtr >= methodOrBlockNumTemps));
	if (simSpillBase > simStackPtr) {
		simSpillBase = simStackPtr + 1;
		while (((simSpillBase - 1) > methodOrBlockNumTemps) && (!(((simStackAt(simSpillBase - 1))->spilled)))) {
			simSpillBase -= 1;
		}
	} else {
		while ((((simStackAt(simSpillBase))->spilled)) && (simSpillBase <= simStackPtr)) {
			simSpillBase += 1;
		}
	}
	for (_i = methodOrBlockNumTemps + 1; _i <= ((((simSpillBase - 1) < simStackPtr) ? simSpillBase - 1 : simStackPtr)); _i += 1) {
		assert((((simStackAt(_i))->spilled)) == 1);
	}
	assert((simSpillBase > simStackPtr) || ((((simStackAt(simSpillBase))->spilled)) == 0));
	/* end updateSimSpillBase */
	return 0;
}
/* StackToRegisterMappingCogit>>#ssPushVectorRegister: */
static sqInt NoDbgRegParms
ssPushVectorRegister(sqInt _reg)
{
	CogSimStackEntry * cascade0;
	sqInt _i;

	ssPush(1);
	{
		cascade0 = ssTop();
		(cascade0->type = SSVectorRegister);
		(cascade0->spilled = 0);
		(cascade0->registerr = _reg);
		(cascade0->bcptr = bytecodePC);
	}
	ssTop();
	/* begin updateSimSpillBase */
	assert((simSpillBase > methodOrBlockNumTemps) && (simStackPtr >= methodOrBlockNumTemps));
	if (simSpillBase > simStackPtr) {
		simSpillBase = simStackPtr + 1;
		while (((simSpillBase - 1) > methodOrBlockNumTemps) && (!(((simStackAt(simSpillBase - 1))->spilled)))) {
			simSpillBase -= 1;
		}
	} else {
		while ((((simStackAt(simSpillBase))->spilled)) && (simSpillBase <= simStackPtr)) {
			simSpillBase += 1;
		}
	}
	for (_i = methodOrBlockNumTemps + 1; _i <= ((((simSpillBase - 1) < simStackPtr) ? simSpillBase - 1 : simStackPtr)); _i += 1) {
		assert((((simStackAt(_i))->spilled)) == 1);
	}
	assert((simSpillBase > simStackPtr) || ((((simStackAt(simSpillBase))->spilled)) == 0));
	/* end updateSimSpillBase */
	return 0;
}
/* StackToRegisterMappingCogit>>#ssPush: */
static void NoDbgRegParms
ssPush(sqInt _n)
{
	simStackPtr += _n;
}
/* StackToRegisterMappingCogit>>#ssSelfDescriptor */
static SimStackEntry
ssSelfDescriptor(void)
{
	return simStack[0];
}
/*	In addition to ssStorePop:toReg:, if this is a store and not 
	a popInto I change the simulated stack to use the register  
	for the top value */
/* StackToRegisterMappingCogit>>#ssStoreAndReplacePop:toReg: */
static void NoDbgRegParms
ssStoreAndReplacePoptoReg(sqInt _popBoolean, sqInt _reg)
{
	char _topSpilled;

	_topSpilled = ((ssTop())->spilled);
	ssPopandCopyReg(_popBoolean || _topSpilled, _reg);
	if (!_popBoolean) {
		if (!_topSpilled) {
			ssPoppopSpilled(1, 0);
		}
		ssPushRegister(_reg);
	}
}
/*	Store or pop the top simulated stack entry to a register. 
	Use preferredReg if the entry is not itself a register. 
	Answer the actual register the result ends up in. */
/* StackToRegisterMappingCogit>>#ssStorePop:toPreferredReg: */
static sqInt NoDbgRegParms
ssStorePoptoPreferredReg(sqInt _popBoolean, sqInt _preferredReg)
{
	sqInt _actualReg;

	_actualReg = _preferredReg;
	if ((((ssTop())->type)) == SSRegister) {
		assert(!(((ssTop())->spilled)));
		_actualReg = ((ssTop())->registerr);
	}
	ssPopandCopyReg(_popBoolean, _actualReg);
	return _actualReg;
}
/* StackToRegisterMappingCogit>>#ssTop */
static CogSimStackEntry *
ssTop(void)
{
	return simStackAt(simStackPtr);
}
/* StackToRegisterMappingCogit>>#ssValue: */
static CogSimStackEntry * NoDbgRegParms
ssValue(sqInt _n)
{
	return simStackAt(simStackPtr - _n);
}
/* StackToRegisterMappingCogit>>#stackEntryIsBoolean: */
static sqInt NoDbgRegParms
stackEntryIsBoolean(CogSimStackEntry *_simStackEntry)
{
	return (((_simStackEntry->type)) == SSConstant) && ((((_simStackEntry->constant)) == (trueObject())) || (((_simStackEntry->constant)) == (falseObject())));
}
/*	Answer if the stack is valid up to, but not including, simSpillBase. */
/* StackToRegisterMappingCogit>>#tempsValidAndVolatileEntriesSpilled */
static sqInt
tempsValidAndVolatileEntriesSpilled(void)
{
	sqInt _i;

	for (_i = 1; _i <= methodOrBlockNumTemps; _i += 1) {
		if (!((((simStackAt(_i))->type)) == SSBaseOffset)) {
			return 0;
		}
	}
	for (_i = methodOrBlockNumTemps + 1; _i < simSpillBase; _i += 1) {
		if (!(((simStackAt(_i))->spilled))) {
			return 0;
		}
	}
	return 1;
}
/*	If the sequence of bytecodes is 
	push: (Array new: 1) 
	popIntoTemp: tempIndex 
	pushConstant: const or pushTemp: n 
	popIntoTemp: 0 inVectorAt: tempIndex 
	collapse this into 
	tempAt: tempIndex put: {const or temp} 
	and answer true, otherwise answer false. 
	One might think that we should look for a sequence of more than 
	one pushes and pops but this is extremely rare. 
	Exclude pushRcvr: n to avoid potential complications with context inst 
	vars.  */
/* StackToRegisterMappingCogit>>#tryCollapseTempVectorInitializationOfSize: */
static sqInt NoDbgRegParms
tryCollapseTempVectorInitializationOfSize(sqInt _slots)
{
	sqInt _pc;
	sqInt _pc2;
	sqInt _pc3;
	BytecodeDescriptor *_pushArrayDesc;
	BytecodeDescriptor *_pushValueDesc;
	sqInt _reg;
	sqInt _remoteTempIndex;
	BytecodeDescriptor *_storeArrayDesc;
	BytecodeDescriptor *_storeValueDesc;
	sqInt _tempIndex;

	if (_slots != 1) {
		return 0;
	}
	/* begin generatorForPC: */
	_pushArrayDesc = generatorAt(fetchByteofObject(bytecodePC, methodObj));
	/* end generatorForPC: */
	assert(((_pushArrayDesc->generator)) == genPushNewArrayBytecode);
	/* begin generatorForPC: */
	_pc = bytecodePC + ((_pushArrayDesc->numBytes));
	_storeArrayDesc = generatorAt(fetchByteofObject(_pc, methodObj));
	/* end generatorForPC: */
	if (((_storeArrayDesc->generator)) == genStoreAndPopTemporaryVariableBytecode) {
		_tempIndex = (fetchByteofObject(bytecodePC + ((_pushArrayDesc->numBytes)), methodObj)) & 7;
	} else {
		if (!(((_storeArrayDesc->generator)) == genLongStoreAndPopTemporaryVariableBytecode)) {
			return 0;
		}
		_tempIndex = fetchByteofObject((bytecodePC + ((_pushArrayDesc->numBytes))) + 1, methodObj);
	}
	/* begin generatorForPC: */
	_pc2 = (bytecodePC + ((_pushArrayDesc->numBytes))) + ((_storeArrayDesc->numBytes));
	_pushValueDesc = generatorAt(fetchByteofObject(_pc2, methodObj));
	/* end generatorForPC: */
	if (!((((_pushValueDesc->generator)) == genPushLiteralConstantBytecode) || ((((_pushValueDesc->generator)) == genPushQuickIntegerConstantBytecode) || (((_pushValueDesc->generator)) == genPushTemporaryVariableBytecode)))) {
		return 0;
	}
	/* begin generatorForPC: */
	_pc3 = ((bytecodePC + ((_pushArrayDesc->numBytes))) + ((_storeArrayDesc->numBytes))) + ((_pushValueDesc->numBytes));
	_storeValueDesc = generatorAt(fetchByteofObject(_pc3, methodObj));
	/* end generatorForPC: */
	_remoteTempIndex = fetchByteofObject((((bytecodePC + ((_pushArrayDesc->numBytes))) + ((_storeArrayDesc->numBytes))) + ((_pushValueDesc->numBytes))) + 2, methodObj);
	if (!((((_storeValueDesc->generator)) == genStoreAndPopRemoteTempLongBytecode) && (_tempIndex == _remoteTempIndex))) {
		return 0;
	}
	genNewArrayOfSizeinitialized(1, 0);
	evaluateat(_pushValueDesc, (bytecodePC + ((_pushArrayDesc->numBytes))) + ((_storeArrayDesc->numBytes)));
	_reg = ssStorePoptoPreferredReg(1, TempReg);
	genStoreSourceRegslotIndexintoNewObjectInDestReg(_reg, 0, ReceiverResultReg);
	ssPushRegister(ReceiverResultReg);
	evaluateat(_storeArrayDesc, bytecodePC + ((_pushArrayDesc->numBytes)));
	bytecodePC = ((bytecodePC + ((_storeArrayDesc->numBytes))) + ((_pushValueDesc->numBytes))) + ((_storeValueDesc->numBytes));
	return 1;
}
/* StackToRegisterMappingCogit>>#violatesEnsureSpilledSpillAssert */
static sqInt
violatesEnsureSpilledSpillAssert(void)
{
	return 1;
}
/*	Used when ReceiverResultReg is allocated for other than simSelf, and 
	there may be references to ReceiverResultReg which need to be spilled. */
/* StackToRegisterMappingCogit>>#voidReceiverResultRegContainsSelf */
static void
voidReceiverResultRegContainsSelf(void)
{
	sqInt _i;
	sqInt _i2;
	sqInt _spillIndex;

	/* begin voidReceiverOptStatus */
	((simSelf())->liveRegister = NoReg);
	/* end voidReceiverOptStatus */
	_spillIndex = 0;
	for (_i = (((methodOrBlockNumTemps + 1) < simSpillBase) ? simSpillBase : methodOrBlockNumTemps + 1); _i <= simStackPtr; _i += 1) {
		if ((registerOrNone(simStackAt(_i))) == ReceiverResultReg) {
			_spillIndex = _i;
		}
	}
	if (_spillIndex > 0) {
		/* begin ssFlushTo: */
		assert(tempsValidAndVolatileEntriesSpilled());
		if (simSpillBase <= _spillIndex) {
			for (_i2 = ((((((((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase)) < simStackPtr) ? ((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase) : simStackPtr)) < _spillIndex) ? (((((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase)) < simStackPtr) ? ((simSpillBase < (methodOrBlockNumTemps + 1)) ? methodOrBlockNumTemps + 1 : simSpillBase) : simStackPtr) : _spillIndex); _i2 <= _spillIndex; _i2 += 1) {
				assert(needsFrame);
				ensureSpilledAtfrom(simStackAt(_i2), frameOffsetOfTemporary(_i2 - 1), FPReg);
			}
			simSpillBase = _spillIndex + 1;
		}
		/* end ssFlushTo: */
	}
}
