/*
 * This is a machine-generated file. Please do not edit it by hand.
 *
 * This file contains low-level information about the
 * internals of a particular version and configuration
 * of SBCL. It is used by the C compiler to create a runtime
 * support environment, an executable program in the host
 * operating system's native format, which can then be used to
 * load and run 'core' files, which are basically programs
 * in SBCL's own format.
 */
#ifndef SBCL_GENESIS_SBCL
#define SBCL_GENESIS_SBCL
#define LISP_FEATURE_64_BIT
#define LISP_FEATURE_ALIEN_CALLBACKS
#define LISP_FEATURE_ANSI_CL
#define LISP_FEATURE_ANSI_COMPLIANT_LOAD_TRUENAME
#define LISP_FEATURE_ARM64
#define LISP_FEATURE_CALL_SYMBOL
#define LISP_FEATURE_COMMON_LISP
#define LISP_FEATURE_COMPACT_SYMBOL
#define LISP_FEATURE_COMPARE_AND_SWAP_VOPS
#define LISP_FEATURE_ELF
#define LISP_FEATURE_FP_AND_PC_STANDARD_SAVE
#define LISP_FEATURE_GCC_TLS
#define LISP_FEATURE_GENCGC
#define LISP_FEATURE_GENERATIONAL
#define LISP_FEATURE_IEEE_FLOATING_POINT
#define LISP_FEATURE_LINUX
#define LISP_FEATURE_LITTLE_ENDIAN
#define LISP_FEATURE_NO_CONTINUE_UNWIND
#define LISP_FEATURE_OS_PROVIDES_BLKSIZE_T
#define LISP_FEATURE_OS_PROVIDES_CLOSE_RANGE_WRAPPER
#define LISP_FEATURE_OS_PROVIDES_DLADDR
#define LISP_FEATURE_OS_PROVIDES_DLOPEN
#define LISP_FEATURE_OS_PROVIDES_GETPROTOBY_R
#define LISP_FEATURE_OS_PROVIDES_POLL
#define LISP_FEATURE_OS_PROVIDES_POSIX_SPAWN
#define LISP_FEATURE_OS_PROVIDES_SUSECONDS_T
#define LISP_FEATURE_PACKAGE_LOCAL_NICKNAMES
#define LISP_FEATURE_ROUND_FLOAT
#define LISP_FEATURE_SBCL
#define LISP_FEATURE_SB_AFTER_XC_CORE
#define LISP_FEATURE_SB_CORE_COMPRESSION
#define LISP_FEATURE_SB_DOC
#define LISP_FEATURE_SB_EVAL
#define LISP_FEATURE_SB_FUTEX
#define LISP_FEATURE_SB_LDB
#define LISP_FEATURE_SB_PACKAGE_LOCKS
#define LISP_FEATURE_SB_SOURCE_LOCATIONS
#define LISP_FEATURE_SB_THREAD
#define LISP_FEATURE_SB_UNICODE
#define LISP_FEATURE_SB_XREF_FOR_INTERNALS
#define LISP_FEATURE_SOFT_CARD_MARKS
#define LISP_FEATURE_SYSTEM_TLABS
#define LISP_FEATURE_UNBIND_IN_UNWIND
#define LISP_FEATURE_UNDEFINED_FUN_RESTARTS
#define LISP_FEATURE_UNIX
#define LISP_FEATURE_UNWIND_TO_FRAME_AND_CALL_VOP
#define LISP_FEATURE_USE_CONS_REGION
#define LISP_FEATURE_USE_SYS_MMAP

#define SBCL_TARGET_ARCHITECTURE_STRING "arm64"
#define SBCL_VERSION_STRING "2.5.4"
#define CORE_MAGIC 0x5342434C
#ifndef __ASSEMBLER__

#define LISPOBJ(x) ((lispobj)x)

#else /* __ASSEMBLER__ */

#define LISPOBJ(thing) thing

#endif /* __ASSEMBLER__ */


#define FIXNUM_TAG_MASK 1 /* 0x1 */
#define N_FIXNUM_TAG_BITS 1 /* 0x1 */
#define N_LOWTAG_BITS 4 /* 0x4 */
#define DSD_RAW_TYPE_MASK 7 /* 0x7 */
#define ARRAY_RANK_POSITION 8 /* 0x8 */
#define N_WIDETAG_BITS 8 /* 0x8 */
#define N_WORD_BYTES 8 /* 0x8 */
#define LOWTAG_MASK 15 /* 0xF */
#define ARRAY_FLAGS_POSITION 16 /* 0x10 */
#define NIL_VALUE_OFFSET 23 /* 0x17 */
#define N_WORD_BITS 64 /* 0x40 */
#define WIDETAG_MASK 255 /* 0xFF */
#define INSTANCE_LENGTH_MASK 16383 /* 0x3FFF */
#define SHORT_HEADER_MAX_WORDS 32767 /* 0x7FFF */
#define MAXIMUM_BIGNUM_LENGTH 4294967295 /* 0xFFFFFFFF */

#define EVEN_FIXNUM_LOWTAG 0 /* 0x0 */
#define OTHER_IMMEDIATE_0_LOWTAG 1 /* 0x1 */
#define PAD0_LOWTAG 2 /* 0x2 */
#define INSTANCE_POINTER_LOWTAG 3 /* 0x3 */
#define PAD1_LOWTAG 4 /* 0x4 */
#define OTHER_IMMEDIATE_1_LOWTAG 5 /* 0x5 */
#define PAD2_LOWTAG 6 /* 0x6 */
#define LIST_POINTER_LOWTAG 7 /* 0x7 */
#define ODD_FIXNUM_LOWTAG 8 /* 0x8 */
#define OTHER_IMMEDIATE_2_LOWTAG 9 /* 0x9 */
#define PAD3_LOWTAG 10 /* 0xA */
#define FUN_POINTER_LOWTAG 11 /* 0xB */
#define PAD4_LOWTAG 12 /* 0xC */
#define OTHER_IMMEDIATE_3_LOWTAG 13 /* 0xD */
#define PAD5_LOWTAG 14 /* 0xE */
#define OTHER_POINTER_LOWTAG 15 /* 0xF */

#define PACKED_DEBUG_FUN_ARG_DELETED 0 /* 0x0 */
#define PACKED_DEBUG_FUN_RETURNS_STANDARD 0 /* 0x0 */
#define PACKED_DEBUG_FUN_ARG_SUPPLIED_P 1 /* 0x1 */
#define PACKED_DEBUG_FUN_RETURNS_SPECIFIED 1 /* 0x1 */
#define PACKED_DEBUG_FUN_VARIABLES_BIT 1 /* 0x1 */
#define PACKED_DEBUG_FUN_ARG_OPTIONAL 2 /* 0x2 */
#define PACKED_DEBUG_FUN_BLOCKS_BIT 2 /* 0x2 */
#define PACKED_DEBUG_FUN_RETURNS_FIXED 2 /* 0x2 */
#define PACKED_DEBUG_FUN_ARG_REST 3 /* 0x3 */
#define PACKED_DEBUG_FUN_ARG_MORE 4 /* 0x4 */
#define PACKED_DEBUG_FUN_NON_MINIMAL_ARGUMENTS_BIT 4 /* 0x4 */
#define PACKED_DEBUG_FUN_KEY_ARG_KEYWORD 5 /* 0x5 */
#define PACKED_DEBUG_FUN_KEY_ARG_PACKAGED 6 /* 0x6 */
#define PACKED_DEBUG_FUN_KEY_ARG_UNINTERNED 7 /* 0x7 */
#define PACKED_DEBUG_FUN_ARG_INDEX_OFFSET 8 /* 0x8 */
#define PACKED_DEBUG_FUN_TLF_NUMBER_BIT 8 /* 0x8 */
#define PACKED_DEBUG_FUN_CLOSURE_SAVE_LOC_BIT 16 /* 0x10 */
#define PACKED_DEBUG_FUN_BSP_SAVE_LOC_BIT 32 /* 0x20 */
#define PACKED_DEBUG_FUN_PREVIOUS_NAME 64 /* 0x40 */

#define WORD_SHIFT 3 /* 0x3 */
#define DSD_INDEX_SHIFT 8 /* 0x8 */
#define UNBOUND_MARKER_WIDETAG 9 /* 0x9 */
#define INSTANCE_LENGTH_SHIFT 10 /* 0xA */
#define BIGNUM_WIDETAG 17 /* 0x11 */
#define RATIO_WIDETAG 21 /* 0x15 */
#define SINGLE_FLOAT_WIDETAG 25 /* 0x19 */
#define DOUBLE_FLOAT_WIDETAG 29 /* 0x1D */
#define FLOAT_SIGN_SHIFT 31 /* 0x1F */
#define CODE_HEADER_SIZE_SHIFT 32 /* 0x20 */
#define COMPLEX_RATIONAL_WIDETAG 33 /* 0x21 */
#define COMPLEX_SINGLE_FLOAT_WIDETAG 37 /* 0x25 */
#define COMPLEX_DOUBLE_FLOAT_WIDETAG 41 /* 0x29 */
#define SYMBOL_WIDETAG 45 /* 0x2D */
#define SAP_WIDETAG 49 /* 0x31 */
#define CODE_HEADER_WIDETAG 53 /* 0x35 */
#define INSTANCE_WIDETAG 57 /* 0x39 */
#define FUNCALLABLE_INSTANCE_WIDETAG 61 /* 0x3D */
#define SIMPLE_FUN_WIDETAG 65 /* 0x41 */
#define CLOSURE_WIDETAG 69 /* 0x45 */
#define VALUE_CELL_WIDETAG 77 /* 0x4D */
#define CHARACTER_WIDETAG 81 /* 0x51 */
#define WEAK_POINTER_WIDETAG 89 /* 0x59 */
#define FDEFN_WIDETAG 93 /* 0x5D */
#define FILLER_WIDETAG 109 /* 0x6D */
#define SIMPLE_ARRAY_WIDETAG 129 /* 0x81 */
#define SIMPLE_ARRAY_NIL_WIDETAG 133 /* 0x85 */
#define SIMPLE_VECTOR_WIDETAG 137 /* 0x89 */
#define SIMPLE_BIT_VECTOR_WIDETAG 141 /* 0x8D */
#define SIMPLE_ARRAY_UNSIGNED_BYTE_2_WIDETAG 145 /* 0x91 */
#define SIMPLE_ARRAY_UNSIGNED_BYTE_4_WIDETAG 149 /* 0x95 */
#define SIMPLE_ARRAY_UNSIGNED_BYTE_7_WIDETAG 153 /* 0x99 */
#define SIMPLE_ARRAY_UNSIGNED_BYTE_8_WIDETAG 157 /* 0x9D */
#define SIMPLE_ARRAY_UNSIGNED_BYTE_15_WIDETAG 161 /* 0xA1 */
#define SIMPLE_ARRAY_UNSIGNED_BYTE_16_WIDETAG 165 /* 0xA5 */
#define SIMPLE_ARRAY_UNSIGNED_BYTE_31_WIDETAG 169 /* 0xA9 */
#define SIMPLE_ARRAY_UNSIGNED_BYTE_32_WIDETAG 173 /* 0xAD */
#define SIMPLE_ARRAY_UNSIGNED_FIXNUM_WIDETAG 177 /* 0xB1 */
#define SIMPLE_ARRAY_UNSIGNED_BYTE_63_WIDETAG 181 /* 0xB5 */
#define SIMPLE_ARRAY_UNSIGNED_BYTE_64_WIDETAG 185 /* 0xB9 */
#define SIMPLE_ARRAY_SIGNED_BYTE_8_WIDETAG 189 /* 0xBD */
#define SIMPLE_ARRAY_SIGNED_BYTE_16_WIDETAG 193 /* 0xC1 */
#define SIMPLE_ARRAY_SIGNED_BYTE_32_WIDETAG 197 /* 0xC5 */
#define SIMPLE_ARRAY_FIXNUM_WIDETAG 201 /* 0xC9 */
#define SIMPLE_ARRAY_SIGNED_BYTE_64_WIDETAG 205 /* 0xCD */
#define SIMPLE_ARRAY_SINGLE_FLOAT_WIDETAG 209 /* 0xD1 */
#define SIMPLE_ARRAY_DOUBLE_FLOAT_WIDETAG 213 /* 0xD5 */
#define SIMPLE_ARRAY_COMPLEX_SINGLE_FLOAT_WIDETAG 217 /* 0xD9 */
#define SIMPLE_ARRAY_COMPLEX_DOUBLE_FLOAT_WIDETAG 221 /* 0xDD */
#define SIMPLE_BASE_STRING_WIDETAG 225 /* 0xE1 */
#define SIMPLE_CHARACTER_STRING_WIDETAG 229 /* 0xE5 */
#define COMPLEX_BASE_STRING_WIDETAG 233 /* 0xE9 */
#define COMPLEX_CHARACTER_STRING_WIDETAG 237 /* 0xED */
#define COMPLEX_BIT_VECTOR_WIDETAG 241 /* 0xF1 */
#define COMPLEX_VECTOR_WIDETAG 245 /* 0xF5 */
#define COMPLEX_ARRAY_WIDETAG 249 /* 0xF9 */
#ifdef RETURN_PC_WIDETAG
#define embedded_obj_p(tag) (tag==RETURN_PC_WIDETAG || tag==SIMPLE_FUN_WIDETAG)
#else
#define embedded_obj_p(tag) (tag==SIMPLE_FUN_WIDETAG)
#endif

#define PACKAGE_ID_NONE 0 /* 0x0 */
#define PACKAGE_ID_LISP 1 /* 0x1 */
#define PACKAGE_ID_KEYWORD 2 /* 0x2 */
#define PACKAGE_ID_USER 3 /* 0x3 */
#define PACKAGE_ID_KERNEL 4 /* 0x4 */

#define flag_VectorWeak 1 /* 0x1 */
#define flag_VectorAddrHashing 2 /* 0x2 */
#define flag_VectorHashing 4 /* 0x4 */
#define flag_PseudoAtomic 7 /* 0x7 */
#define flag_DeflatedCoreSpaceId 8 /* 0x8 */
#define flag_StableHashRequired 8 /* 0x8 */
#define flag_HashSlotPresent 9 /* 0x9 */
#define flag_PseudoAtomicInterrupted 30064771072 /* 0x700000000 */

#define trap_Halt 8 /* 0x8 */
#define trap_PendingInterrupt 9 /* 0x9 */
#define trap_Cerror 10 /* 0xA */
#define trap_Breakpoint 11 /* 0xB */
#define trap_FunEndBreakpoint 12 /* 0xC */
#define trap_AfterBreakpoint 13 /* 0xD */
#define trap_SingleStepAround 14 /* 0xE */
#define trap_SingleStepBefore 15 /* 0xF */
#define trap_InvalidArgCount 16 /* 0x10 */
#define trap_Error 17 /* 0x11 */

#define VECTOR_SHAREABLE_NONSTD 16 /* 0x10 */
#define VECTOR_SHAREABLE 32 /* 0x20 */

#define sc_DescriptorReg 0 /* 0x0 */
#define sc_AnyReg 1 /* 0x1 */
#define sc_SignedReg 2 /* 0x2 */
#define sc_Constant 3 /* 0x3 */
#define sc_Immediate 4 /* 0x4 */
#define sc_ControlStack 5 /* 0x5 */
#define sc_SignedStack 7 /* 0x7 */
#define sc_UnsignedStack 8 /* 0x8 */
#define sc_CharacterStack 9 /* 0x9 */
#define sc_SapStack 10 /* 0xA */
#define sc_SingleStack 11 /* 0xB */
#define sc_DoubleStack 12 /* 0xC */
#define sc_ComplexSingleStack 13 /* 0xD */
#define sc_ComplexDoubleStack 14 /* 0xE */
#define sc_CharacterReg 15 /* 0xF */
#define sc_SapReg 16 /* 0x10 */
#define sc_UnsignedReg 17 /* 0x11 */
#define sc_NonDescriptorReg 18 /* 0x12 */
#define sc_SingleReg 21 /* 0x15 */
#define sc_DoubleReg 22 /* 0x16 */
#define sc_ComplexSingleReg 23 /* 0x17 */
#define sc_ComplexDoubleReg 24 /* 0x18 */
#define sc_CatchBlock 25 /* 0x19 */
#define sc_Zero 27 /* 0x1B */

#define BINDING_SIZE 2 /* 0x2 */
#define COMPLEX_SINGLE_FLOAT_SIZE 2 /* 0x2 */
#define CONS_SIZE 2 /* 0x2 */
#define DOUBLE_FLOAT_SIZE 2 /* 0x2 */
#define SAP_SIZE 2 /* 0x2 */
#define VALUE_CELL_SIZE 2 /* 0x2 */
#define WEAK_POINTER_SIZE 2 /* 0x2 */
#define COMPLEX_SIZE 3 /* 0x3 */
#define RATIO_SIZE 3 /* 0x3 */
#define COMPLEX_DOUBLE_FLOAT_SIZE 4 /* 0x4 */
#define FDEFN_SIZE 4 /* 0x4 */
#define SYMBOL_SIZE 6 /* 0x6 */
#define UNWIND_BLOCK_SIZE 7 /* 0x7 */
#define CATCH_BLOCK_SIZE 8 /* 0x8 */
#define MAX_INTERRUPTS 8 /* 0x8 */
#define ALIEN_LINKAGE_TABLE_ENTRY_SIZE 16 /* 0x10 */
#define LARGE_OBJECT_SIZE 262144 /* 0x40000 */
#define ALIEN_LINKAGE_SPACE_SIZE 1048576 /* 0x100000 */
#define STATIC_SPACE_SIZE 1048576 /* 0x100000 */

#define GENCGC_ALLOC_GRANULARITY 0LU /* 0x0 */
#define INSTANCE_DATA_START 1LU /* 0x1 */
#define NIL_SYMBOL_SLOTS_OFFSET 8LU /* 0x8 */
#define STATIC_SPACE_OBJECTS_OFFSET 64LU /* 0x40 */
#define STRICTLY_BOXED_FLAG 512LU /* 0x200 */
#define GENCGC_CARD_BYTES 2048LU /* 0x800 */
#define GENCGC_PAGE_BYTES 65536LU /* 0x10000 */
#define VECTOR_ALLOC_MIXED_REGION_BIT 268435456LU /* 0x10000000 */
#define MAGIC_HASH_VECTOR_VALUE 3221225471LU /* 0xBFFFFFFF */
#define ALIEN_LINKAGE_SPACE_START 12616466432LU /* 0x2F0000000 */
#define STATIC_SPACE_START 12617515008LU /* 0x2F0100000 */

#define END_CORE_ENTRY_TYPE_CODE 3840 /* 0xF00 */
#define BUILD_ID_CORE_ENTRY_TYPE_CODE 3860 /* 0xF14 */
#define DIRECTORY_CORE_ENTRY_TYPE_CODE 3861 /* 0xF15 */
#define INITIAL_FUN_CORE_ENTRY_TYPE_CODE 3863 /* 0xF17 */
#define PAGE_TABLE_CORE_ENTRY_TYPE_CODE 3880 /* 0xF28 */
#define ALIEN_LINKAGE_TABLE_CORE_ENTRY_TYPE_CODE 3881 /* 0xF29 */
#define LISP_LINKAGE_SPACE_CORE_ENTRY_TYPE_CODE 3882 /* 0xF2A */
#define STATIC_CONSTANTS_CORE_ENTRY_TYPE_CODE 3883 /* 0xF2B */

#define DYNAMIC_CORE_SPACE_ID 1 /* 0x1 */
#define STATIC_CORE_SPACE_ID 2 /* 0x2 */
#define READ_ONLY_CORE_SPACE_ID 3 /* 0x3 */
#define IMMOBILE_FIXEDOBJ_CORE_SPACE_ID 4 /* 0x4 */
#define STATIC_CODE_CORE_SPACE_ID 4 /* 0x4 */
#define IMMOBILE_TEXT_CORE_SPACE_ID 5 /* 0x5 */
#define PERMGEN_CORE_SPACE_ID 6 /* 0x6 */
#define DEFLATED_CORE_SPACE_ID_FLAG 8 /* 0x8 */
#define ALIEN_LINKAGE_TABLE_CORE_SPACE_ID 101 /* 0x65 */
#define THREAD_STRUCT_CORE_SPACE_ID 102 /* 0x66 */

#define HIGHEST_NORMAL_GENERATION 5 /* 0x5 */
#define PSEUDO_STATIC_GENERATION 6 /* 0x6 */

#define BACKEND_PAGE_BYTES 65536
#define MAX_CONSES_PER_PAGE 4095
#define GC_STRATEGY_ID 1
#define GENCGC_PAGE_SHIFT 16
#define GENCGC_CARD_SHIFT 11
#define CARDS_PER_PAGE 32
#ifndef DEFAULT_DYNAMIC_SPACE_SIZE
#define DEFAULT_DYNAMIC_SPACE_SIZE 1073741824 /* 0x40000000 */
#endif

#define UNKNOWN_ERROR 0
#define UNDEFINED_FUN_ERROR 1
#define UNDEFINED_ALIEN_FUN_ERROR 2
#define UNINITIALIZED_MEMORY_ERROR 3
#define INVALID_ARG_COUNT_ERROR 4
#define LOCAL_INVALID_ARG_COUNT_ERROR 5
#define BOGUS_ARG_TO_VALUES_LIST_ERROR 6
#define UNBOUND_SYMBOL_ERROR 7
#define INVALID_UNWIND_ERROR 8
#define UNSEEN_THROW_TAG_ERROR 9
#define DIVISION_BY_ZERO_ERROR 10
#define OBJECT_NOT_TYPE_ERROR 11
#define CHECK_TYPE_ERROR 12
#define ECASE_FAILURE_ERROR 13
#define ETYPECASE_FAILURE_ERROR 14
#define ODD_KEY_ARGS_ERROR 15
#define UNKNOWN_KEY_ARG_ERROR 16
#define INVALID_ARRAY_INDEX_ERROR 17
#define INVALID_VECTOR_INDEX_ERROR 18
#define UNINITIALIZED_ELEMENT_ERROR 19
#define NIL_FUN_RETURNED_ERROR 20
#define NIL_ARRAY_ACCESSED_ERROR 21
#define LAYOUT_INVALID_ERROR 22
#define TLS_EXHAUSTED_ERROR 23
#define STACK_ALLOCATED_OBJECT_OVERFLOWS_STACK_ERROR 24
#define UNREACHABLE_ERROR 25
#define FAILED_AVER_ERROR 26
#define MUL_OVERFLOW_ERROR 27
#define ADD_SUB_OVERFLOW_ERROR 28
#define SIGNED_UNSIGNED_ADD_OVERFLOW_ERROR 29
#define ADD_OVERFLOW2_ERROR 30
#define SUB_OVERFLOW2_ERROR 31
#define MUL_OVERFLOW2_ERROR 32
#define ASH_OVERFLOW2_ERROR 33
#define NEGATE_OVERFLOW_ERROR 34
#define FILL_POINTER_ERROR 35
#define MPRINT_ERROR 36
#define OP_NOT_TYPE2_ERROR 37

#define FLOAT_TRAPS_BYTE_POSITION 8 /* 0x8 */
#define FLOAT_TRAPS_BYTE_MASK 0xFF00 /* 65280 */
#define FLOAT_EXCEPTIONS_BYTE_POSITION 0 /* 0x0 */
#define FLOAT_EXCEPTIONS_BYTE_MASK 0xFF /* 255 */
#define FLOAT_STICKY_BITS_POSITION 0 /* 0x0 */
#define FLOAT_STICKY_BITS_MASK 0xFF /* 255 */
#define FLOAT_ROUNDING_MODE_POSITION 22 /* 0x16 */
#define FLOAT_ROUNDING_MODE_MASK 0xC00000 /* 12582912 */
#define PACKED_DEBUG_FUN_RETURNS_BYTE_POSITION 5 /* 0x5 */
#define PACKED_DEBUG_FUN_RETURNS_BYTE_MASK 0x60 /* 96 */
#endif
