// Lean compiler output
// Module: Lean.Elab.Config
// Imports: Init Lean.Meta.Basic
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
LEAN_EXPORT lean_object* l_Lean_Elab_Term_setElabConfig(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Term_setElabConfig(lean_object* x_1) {
_start:
{
uint8_t x_2; 
x_2 = !lean_is_exclusive(x_1);
if (x_2 == 0)
{
uint8_t x_3; uint8_t x_4; 
x_3 = 1;
x_4 = 0;
lean_ctor_set_uint8(x_1, 0, x_3);
lean_ctor_set_uint8(x_1, 1, x_3);
lean_ctor_set_uint8(x_1, 2, x_4);
lean_ctor_set_uint8(x_1, 3, x_4);
return x_1;
}
else
{
uint8_t x_5; uint8_t x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; 
x_5 = lean_ctor_get_uint8(x_1, 4);
x_6 = lean_ctor_get_uint8(x_1, 5);
x_7 = lean_ctor_get_uint8(x_1, 6);
x_8 = lean_ctor_get_uint8(x_1, 7);
x_9 = lean_ctor_get_uint8(x_1, 8);
x_10 = lean_ctor_get_uint8(x_1, 9);
x_11 = lean_ctor_get_uint8(x_1, 10);
x_12 = lean_ctor_get_uint8(x_1, 11);
x_13 = lean_ctor_get_uint8(x_1, 12);
x_14 = lean_ctor_get_uint8(x_1, 13);
lean_dec(x_1);
x_15 = 1;
x_16 = 0;
x_17 = lean_alloc_ctor(0, 0, 14);
lean_ctor_set_uint8(x_17, 0, x_15);
lean_ctor_set_uint8(x_17, 1, x_15);
lean_ctor_set_uint8(x_17, 2, x_16);
lean_ctor_set_uint8(x_17, 3, x_16);
lean_ctor_set_uint8(x_17, 4, x_5);
lean_ctor_set_uint8(x_17, 5, x_6);
lean_ctor_set_uint8(x_17, 6, x_7);
lean_ctor_set_uint8(x_17, 7, x_8);
lean_ctor_set_uint8(x_17, 8, x_9);
lean_ctor_set_uint8(x_17, 9, x_10);
lean_ctor_set_uint8(x_17, 10, x_11);
lean_ctor_set_uint8(x_17, 11, x_12);
lean_ctor_set_uint8(x_17, 12, x_13);
lean_ctor_set_uint8(x_17, 13, x_14);
return x_17;
}
}
}
lean_object* initialize_Init(lean_object*);
lean_object* initialize_Lean_Meta_Basic(lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Elab_Config(lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Init(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Meta_Basic(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
