#include "run-time.h"

/* Typedefs for referenced classes */

typedef struct {
  D wrapper;
  D instanceQ_iep_;
  D debug_name_;
  D class_implementation_class_;
  D class_subtype_bit_;
  D class_module_;
} _KLclassGVKd;

#define  define__KLmm_wrapperGVKi(nrepeated) \
  typedef struct { \
    D wrapper; \
    D mm_wrapper_implementation_class_; \
    D mm_wrapper_subtype_mask_; \
    DWORD mm_wrapper_fixed_part_; \
    DWORD mm_wrapper_variable_part_; \
    D mm_wrapper_number_patterns_; \
    DWORD mm_wrapper_pattern_element_[nrepeated+1]; \
  } _KLmm_wrapperGVKi_##nrepeated;
define__KLmm_wrapperGVKi(1);
define__KLmm_wrapperGVKi(0);

typedef struct {
  D wrapper;
} _KLobjectGVKd;

typedef struct {
  D wrapper;
} _KLunboundGVKe;

typedef struct {
  D wrapper;
} _KLbooleanGVKd;

typedef struct {
  D wrapper;
  D symbol_name_;
} _KLsymbolGVKd;

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    D wrapper; \
    D size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(3);
define__KLbyte_stringGVKd(6);


/* Typedefs for defined classes */


/* Referenced object declarations */

extern _KLclassGVKd KLclassGVKd;
extern _KLmm_wrapperGVKi_0 KLclassGVKdW;
extern _KLclassGVKd KLmm_wrapperGVKi;
extern _KLmm_wrapperGVKi_1 KLmm_wrapperGVKiW;
extern _KLclassGVKd KLobjectGVKd;
extern _KLmm_wrapperGVKi_0 KLobjectGVKdW;
extern _KLunboundGVKe KPunboundVKi;
extern _KLclassGVKd KLunboundGVKe;
extern _KLmm_wrapperGVKi_0 KLunboundGVKeW;
extern _KLbooleanGVKd KPtrueVKi;
extern _KLclassGVKd KLbooleanGVKd;
extern _KLmm_wrapperGVKi_0 KLbooleanGVKdW;
extern _KLbooleanGVKd KPfalseVKi;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;

/* Defined object declarations */

static _KLsymbolGVKd KJdarwin_;
static _KLbyte_stringGVKd_6 K1;
static _KLsymbolGVKd KJx86_;
static _KLbyte_stringGVKd_3 K3;

/* Indirection variables */

static D IKJdarwin_ = &KJdarwin_;
static D IKJx86_ = &KJx86_;

/* Variables */

D Darchitecture_little_endianQYoperating_systemVsystem = &KPtrueVKi;
D Dmachine_nameYoperating_systemVsystem = &KJx86_;
D Dos_nameYoperating_systemVsystem = &KJdarwin_;

/* Objects */

static _KLsymbolGVKd KJdarwin_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K1
};

static _KLbyte_stringGVKd_6 K1 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 25,
  "darwin"
};

static _KLsymbolGVKd KJx86_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K3
};

static _KLbyte_stringGVKd_3 K3 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 13,
  "x86"
};

/* Code */


/* SYSTEM INIT CODE */

void _Init_system__X_x86_darwin_operating_system_for_system () {
  extern D KPresolve_symbolVKiI(D);
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJdarwin_);
    if (T0 != &KJdarwin_) {
      Dos_nameYoperating_systemVsystem = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJx86_);
    if (T0 != &KJx86_) {
      Dmachine_nameYoperating_systemVsystem = T0;
    }
  }
  return;
}

/* USER INIT CODE */

void _Init_system__X_x86_darwin_operating_system_for_user () {
  return;
}


/* eof */
