'use strict';
const body = function(nqp, isMain) {
nqp.libpath([{module: module, prefix:'./'}, {module: module, prefix:'nqp-js-on-js/'}]);

const HLL=nqp.getHLL("nqp");
var wval0,
wval1,
wval2,
wval3,
wval4,
wval5,
wval6,
wval7,
wval8,
wval9,
wval10,
wval11,
wval12,
wval13,
wval14,
wval15,
wval16,
wval17,
wval18,
wval19;
var cuid1 = new nqp.CodeRef("vm_search_paths","1"),
cuid2 = new nqp.CodeRef("find_setting","2"),
cuid3 = new nqp.CodeRef("file-extension","3"),
cuid4 = new nqp.CodeRef("","4"),
cuid5 = new nqp.CodeRef("register_language_module_loader","5"),
cuid6 = new nqp.CodeRef("register_absolute_path_func","6"),
cuid7 = new nqp.CodeRef("absolute_path","7"),
cuid8 = new nqp.CodeRef("ctxsave","8"),
cuid9 = new nqp.CodeRef("search_path","9"),
cuid10 = new nqp.CodeRef("load_module","10"),
cuid11 = new nqp.CodeRef("merge_globals","11"),
cuid12 = new nqp.CodeRef("merge_globals_lexically","12"),
cuid13 = new nqp.CodeRef("load_setting","13"),
cuid14 = new nqp.CodeRef("resolve_repossession_conflicts","14"),
cuid15 = new nqp.CodeRef("<mainline>","15"),
cuid16 = new nqp.CodeRef("DEBUG","16"),
cuid17 = new nqp.CodeRef("is_stub","17"),
cuid18 = new nqp.CodeRef("stash_hash","18"),
cuid19 = new nqp.CodeRef("","19"),
cuid20 = new nqp.CodeRef("","20"),
cuid21 = new nqp.CodeRef("","21"),
cuid22 = new nqp.CodeRef("","22"),
cuid23 = new nqp.CodeRef("","23"),
cuids = [cuid1,cuid2,cuid3,cuid4,cuid5,cuid6,cuid7,cuid8,cuid9,cuid10,cuid11,cuid12,cuid13,cuid14,cuid15,cuid16,cuid17,cuid18,cuid19,cuid20,cuid21,cuid22,cuid23];
cuid1.setInfo(cuid4,/*async*/ function cuid1(caller_ctx,_NAMED,param5) {
var TMP1,
TMP2;
var p6$____lowered__lex__5$local = nqp.Null,
p6$____lowered__lex__4$local;
var ctx4 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 3) nqp.tooManyPos(arguments.length, 3);if (arguments.length < 3) nqp.tooFewPos(arguments.length, 3);p6$____lowered__lex__4$local = nqp.arg(HLL, param5);
TMP1 = nqp.list(HLL,[]);
TMP2 = (p6$____lowered__lex__5$local = (TMP1));
;
return p6$____lowered__lex__5$local;
},{},null,null,180);
cuid2.setInfo(cuid4,/*async*/ function cuid2(caller_ctx,_NAMED,param7,param8) {
var p6$____lowered__lex__6$local,
p6$____lowered__lex__7$local;
var ctx6 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 4) nqp.tooManyPos(arguments.length, 4);if (arguments.length < 4) nqp.tooFewPos(arguments.length, 4);p6$____lowered__lex__6$local = nqp.arg(HLL, param7);
p6$____lowered__lex__7$local = nqp.arg(HLL, param8);
return ((/*await*/ nqp.toStr(p6$____lowered__lex__7$local, ctx6)) + ".setting.js");
},{},null,null,311);
cuid3.setInfo(cuid4,/*async*/ function cuid3(caller_ctx,_NAMED,param10) {
var p6$____lowered__lex__8$local;
var ctx9 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 3) nqp.tooManyPos(arguments.length, 3);if (arguments.length < 3) nqp.tooFewPos(arguments.length, 3);p6$____lowered__lex__8$local = nqp.arg(HLL, param10);
return ".js";
},{},null,null,387);
cuid4.setInfo(cuid15,/*async*/ function cuid4(caller_ctx,_NAMED,param11) {
var TMP1,
TMP2,
TMP3;
var ctx3 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
ctx3["$?PACKAGE"] = wval3;
ctx3["$?ROLE"] = wval3;
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 3) nqp.tooManyPos(arguments.length, 3);if (arguments.length < 3) nqp.tooFewPos(arguments.length, 3);ctx3["$?CLASS"] = nqp.arg(HLL, param11);
TMP1 = cuid1.captureCtx(ctx3);
TMP2 = cuid2.captureCtx(ctx3);
TMP3 = cuid3.captureCtx(ctx3);
return new nqp.CurLexpad({"$?CLASS": function() {return ctx3["$?CLASS"]},"$?PACKAGE": function() {return ctx3["$?PACKAGE"]},"$?ROLE": function() {return ctx3["$?ROLE"]}}, {"$?CLASS": function(value) {ctx3["$?CLASS"] = value},"$?PACKAGE": function(value) {ctx3["$?PACKAGE"] = value},"$?ROLE": function(value) {ctx3["$?ROLE"] = value}});
},{"$?CLASS": 0,"$?PACKAGE": 0,"$?ROLE": 0},{"$?PACKAGE":3,"$?ROLE":3},null,149);
cuid5.setInfo(cuid22,/*async*/ function cuid5(caller_ctx,_NAMED,param18,param19,param20) {
var TMP1,
TMP2;
var p6$____lowered__lex__12$local,
p6$____lowered__lex__14$local,
p6$____lowered__lex__13$local,
p6$____lowered__lex__15$local,
p6$____lowered__lex__15$local;
let ctx12 = this.getOuterCtx();
var ctx17 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
if (_NAMED !== null) {nqp.checkNamed({"force": true}, _NAMED)}
if (arguments.length > 5) nqp.tooManyPos(arguments.length, 5);if (arguments.length < 5) nqp.tooFewPos(arguments.length, 5);p6$____lowered__lex__12$local = nqp.arg(HLL, param18);
p6$____lowered__lex__14$local = nqp.arg(HLL, param19);
p6$____lowered__lex__13$local = nqp.arg(HLL, param20);
if (_NAMED !== null && _NAMED.hasOwnProperty("force")) {
p6$____lowered__lex__15$local = nqp.arg(HLL, _NAMED["force"]);
} else {
p6$____lowered__lex__15$local = wval2;
}
if ((/*await*/ (/*await*/ new nqp.NQPInt(((!(/*await*/ (/*await*/ p6$____lowered__lex__15$local.$$decont(ctx17)).$$toBool(ctx17))) ? 1 : 0)).$$decont(ctx17)).$$toBool(ctx17))) {
TMP1 = new nqp.NQPInt((ctx12["%language_module_loaders"].$$existskey((/*await*/ nqp.toStr(p6$____lowered__lex__14$local, ctx17))) ? 1 : 0));
} else {
TMP1 = new nqp.NQPInt(((!(/*await*/ (/*await*/ p6$____lowered__lex__15$local.$$decont(ctx17)).$$toBool(ctx17))) ? 1 : 0));
}
if ((/*await*/ (/*await*/ TMP1.$$decont(ctx17)).$$toBool(ctx17))) {
(/*await*/ ctx17.die(("Language loader already registered for " + (/*await*/ nqp.toStr(p6$____lowered__lex__14$local, ctx17)))));
} else {
}
TMP2 = ctx12["%language_module_loaders"].$$bindkey((/*await*/ nqp.toStr(p6$____lowered__lex__14$local, ctx17)),p6$____lowered__lex__13$local);
return TMP2;
},{},null,null,1234);
cuid6.setInfo(cuid22,/*async*/ function cuid6(caller_ctx,_NAMED,param22,param23) {
var TMP1;
var p6$____lowered__lex__16$local,
p6$____lowered__lex__17$local;
let ctx12 = this.getOuterCtx();
var ctx21 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 4) nqp.tooManyPos(arguments.length, 4);if (arguments.length < 4) nqp.tooFewPos(arguments.length, 4);p6$____lowered__lex__16$local = nqp.arg(HLL, param22);
p6$____lowered__lex__17$local = nqp.arg(HLL, param23);
TMP1 = (ctx12["$absolute_path_func"] = p6$____lowered__lex__17$local);
return TMP1;
},{},null,null,1482);
cuid7.setInfo(cuid22,/*async*/ function cuid7(caller_ctx,_NAMED,param25,param26) {
var TMP1,
TMP2;
var p6$____lowered__lex__18$local,
p6$____lowered__lex__19$local;
let ctx12 = this.getOuterCtx();
var ctx24 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 4) nqp.tooManyPos(arguments.length, 4);if (arguments.length < 4) nqp.tooFewPos(arguments.length, 4);p6$____lowered__lex__18$local = nqp.arg(HLL, param25);
p6$____lowered__lex__19$local = nqp.arg(HLL, param26);
if ((/*await*/ (/*await*/ ctx12["$absolute_path_func"].$$decont(ctx24)).$$toBool(ctx24))) {
TMP2 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ ctx12["$absolute_path_func"].$$decont(ctx24)).$$call(ctx24,null,p6$____lowered__lex__19$local)));
TMP1 = TMP2;
} else {
TMP1 = p6$____lowered__lex__19$local;
}
return TMP1;
},{},null,null,1561);
cuid8.setInfo(cuid22,/*async*/ function cuid8(caller_ctx,_NAMED,param28) {
var TMP1;
var p6$self6;
var ctx27 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 3) nqp.tooManyPos(arguments.length, 3);if (arguments.length < 3) nqp.tooFewPos(arguments.length, 3);p6$self6 = nqp.arg(HLL, param28);
ctx27.bindDynamic("$\u002AMAIN_CTX",nqp.op.ctxcaller(ctx27));
TMP1 = ctx27.bindDynamic("$\u002ACTXSAVE",new nqp.NQPInt((0)));
return TMP1;
},{},null,null,1659);
cuid9.setInfo(cuid22,/*async*/ function cuid9(caller_ctx,_NAMED,param30) {
var TMP1;
var p6$____lowered__lex__20$local;
var ctx29 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 3) nqp.tooManyPos(arguments.length, 3);if (arguments.length < 3) nqp.tooFewPos(arguments.length, 3);p6$____lowered__lex__20$local = nqp.arg(HLL, param30);
TMP1 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ (/*await*/ p6$____lowered__lex__20$local.$$decont(ctx29)).$$decont(ctx29))["p6$vm_search_paths"](ctx29,null,(/*await*/ p6$____lowered__lex__20$local.$$decont(ctx29)))));
return TMP1;
},{},null,null,1767);
cuid10.setInfo(cuid22,/*async*/ function cuid10(caller_ctx,_NAMED,param33,param34,param35) {
var TMP1,
TMP2,
TMP3,
TMP4,
TMP5,
TMP6,
TMP7,
TMP8,
TMP9,
TMP10,
TMP11,
TMP12,
TMP13,
TMP14,
TMP15,
TMP16,
TMP17,
TMP18;
var p6$defined__1$local = nqp.Null,
p6$____lowered__lex__27$local = nqp.Null,
p6$self7,
p6$____lowered__lex__30$local,
p6$____lowered__lex__28$local,
p6$_AT_GLOBALish8,
p6$____lowered__lex__31$local,
p6$____lowered__lex__31$local,
p6$____lowered__lex__32$local,
p6$____lowered__lex__32$local,
p6$____lowered__lex__29$local,
p6$____lowered__lex__29$local;
let ctx1 = this.getOuterCtx().$$outer;
let ctx12 = this.getOuterCtx();
var ctx31 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
if (_NAMED !== null) {nqp.checkNamed({"line": true,"file": true,"chosen": true}, _NAMED)}
if (arguments.length < 5) nqp.tooFewPos(arguments.length, 5);p6$self7 = nqp.arg(HLL, param33);
p6$____lowered__lex__30$local = nqp.arg(HLL, param34);
p6$____lowered__lex__28$local = nqp.arg(HLL, param35);
p6$_AT_GLOBALish8 = nqp.slurpyPos(HLL, arguments, 5);
if (_NAMED !== null && _NAMED.hasOwnProperty("line")) {
p6$____lowered__lex__31$local = nqp.arg(HLL, _NAMED["line"]);
} else {
p6$____lowered__lex__31$local = wval2;
}
if (_NAMED !== null && _NAMED.hasOwnProperty("file")) {
p6$____lowered__lex__32$local = nqp.arg(HLL, _NAMED["file"]);
} else {
p6$____lowered__lex__32$local = wval2;
}
if (_NAMED !== null && _NAMED.hasOwnProperty("chosen")) {
p6$____lowered__lex__29$local = nqp.arg(HLL, _NAMED["chosen"]);
} else {
TMP18 = nqp.hash();
p6$____lowered__lex__29$local = TMP18;
}
TMP1 = cuid19.closure(/*async*/ function cuid19(caller_ctx,_NAMED) {
var TMP1,
TMP2,
TMP3,
TMP4,
TMP5,
TMP6,
TMP7,
TMP8,
TMP9,
TMP10,
TMP11,
TMP12,
TMP13,
TMP14,
TMP15,
TMP16,
TMP17,
TMP18,
TMP19,
TMP20,
TMP21,
TMP22,
TMP23,
TMP24,
TMP25,
TMP26,
TMP27;
var p6$____lowered__lex__23$local = nqp.Null,
p6$____lowered__lex__25$local = nqp.Null,
p6$____lowered__lex__22$local = nqp.Null,
p6$____lowered__lex__24$local = nqp.Null,
p6$____lowered__lex__26$local = nqp.Null,
p6$lowered__for__it____2$local = nqp.Null,
p6$____lowered__lex__21$local = nqp.Null;
var ctx32 = new nqp.Ctx(caller_ctx, ctx31, this);
ctx32["%\u002ACOMPILING"] = nqp.Null;
ctx32["$\u002ACTXSAVE"] = nqp.Null;
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 2) nqp.tooManyPos(arguments.length, 2);(ctx32["$\u002AMAIN_CTX"] = wval2);
TMP1 = (p6$____lowered__lex__24$local = (wval2));
;
TMP2 = nqp.op.gethllsym("perl6","GLOBAL");
if (TMP2 === nqp.Null) {
TMP2 = wval2;
}
TMP3 = (p6$____lowered__lex__23$local = (TMP2));
;
TMP4 = nqp.hash();
ctx32.bindDynamic("%\u002ACOMPILING",TMP4);
ctx32.bindDynamic("$\u002ACTXSAVE",(/*await*/ p6$self7.$$decont(ctx32)));
if (ctx32.lookupDynamic("$\u002AMAIN_CTX") === nqp.Null) {
if ((/*await*/ wval0.$$decont(ctx32)).$$STable.WHO.$$atkey("$MAIN_CTX") === nqp.Null) {
TMP6 = wval2;
} else {
TMP6 = (/*await*/ wval0.$$decont(ctx32)).$$STable.WHO.$$atkey("$MAIN_CTX");
}
TMP5 = TMP6;
if (TMP5 === nqp.Null) {
(/*await*/ ctx32.die("Contextual $\u002AMAIN_CTX not found"));
TMP5 = nqp.Null;
}
TMP7 = TMP5;
} else {
TMP7 = ctx32.lookupDynamic("$\u002AMAIN_CTX");
}
TMP8 = (/*await*/ nqp.retval_s(ctx32, /*await*/ (/*await*/ (/*await*/ p6$self7.$$decont(ctx32)).$$decont(ctx32))["p6$file-extension"](ctx32,null,(/*await*/ p6$self7.$$decont(ctx32)))));
TMP9 = (p6$____lowered__lex__25$local = (new nqp.NQPStr(("Perl6/BOOTSTRAP" + TMP8))));
;
TMP10 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ (/*await*/ p6$self7.$$decont(ctx32)).$$decont(ctx32))["p6$search_path"](ctx32,null,(/*await*/ p6$self7.$$decont(ctx32)))));
TMP11 = (p6$____lowered__lex__22$local = (TMP10));
;
TMP12 = p6$____lowered__lex__22$local.$$iterator();
TMP13 = (p6$lowered__for__it____2$local = (TMP12));
;
loop_label_2: for (;;) {
TMP14 = ctx32;if (! (/*await*/ (/*await*/ p6$lowered__for__it____2$local.$$decont(TMP14)).$$toBool(TMP14))) {break;}
TMP15 = p6$lowered__for__it____2$local.$$shift();
TMP16 = (p6$____lowered__lex__21$local = (TMP15));
;
TMP17 = nqp.op.stat((((/*await*/ nqp.toStr(p6$____lowered__lex__21$local, TMP14)) + "/") + (/*await*/ nqp.toStr(p6$____lowered__lex__25$local, TMP14))),(0));
if ((/*await*/ (/*await*/ new nqp.NQPInt(TMP17).$$decont(TMP14)).$$toBool(TMP14))) {
TMP18 = (p6$____lowered__lex__25$local = (new nqp.NQPStr((((/*await*/ nqp.toStr(p6$____lowered__lex__21$local, TMP14)) + "/") + (/*await*/ nqp.toStr(p6$____lowered__lex__25$local, TMP14))))));
;
break loop_label_2;
} else {
}
}if ((/*await*/ (/*await*/ new nqp.NQPInt((ctx12["%modules_loaded"].$$existskey((/*await*/ nqp.toStr(p6$____lowered__lex__25$local, ctx32))) ? 1 : 0)).$$decont(ctx32)).$$toBool(ctx32))) {
if (ctx12["%modules_loaded"].$$atkey((/*await*/ nqp.toStr(p6$____lowered__lex__25$local, ctx32))) === nqp.Null) {
TMP19 = wval2;
} else {
TMP19 = ctx12["%modules_loaded"].$$atkey((/*await*/ nqp.toStr(p6$____lowered__lex__25$local, ctx32)));
}
/*await*/ ctx32.throwpayloadlex((32), nqp.op.ctxlexpad(TMP19));
} else {
}
(/*await*/ nqp.op.loadbytecode(ctx32,(/*await*/ nqp.toStr(p6$____lowered__lex__25$local, ctx32))));
if (ctx32.lookupDynamic("$\u002AMAIN_CTX") === nqp.Null) {
if ((/*await*/ wval0.$$decont(ctx32)).$$STable.WHO.$$atkey("$MAIN_CTX") === nqp.Null) {
TMP21 = wval2;
} else {
TMP21 = (/*await*/ wval0.$$decont(ctx32)).$$STable.WHO.$$atkey("$MAIN_CTX");
}
TMP20 = TMP21;
if (TMP20 === nqp.Null) {
(/*await*/ ctx32.die("Contextual $\u002AMAIN_CTX not found"));
TMP20 = nqp.Null;
}
TMP22 = TMP20;
} else {
TMP22 = ctx32.lookupDynamic("$\u002AMAIN_CTX");
}
TMP23 = (p6$____lowered__lex__24$local = (TMP22));
;
ctx12["%modules_loaded"].$$bindkey((/*await*/ nqp.toStr(p6$____lowered__lex__25$local, ctx32)),TMP23);
nqp.op.bindhllsym("perl6","GLOBAL",p6$____lowered__lex__23$local);
TMP24 = (p6$____lowered__lex__26$local = (nqp.op.ctxlexpad(p6$____lowered__lex__24$local)));
;
if ((/*await*/ (/*await*/ new nqp.NQPNum((/*await*/ nqp.toNum(p6$_AT_GLOBALish8, ctx32))).$$decont(ctx32)).$$toBool(ctx32))) {
if (p6$____lowered__lex__26$local.$$atkey("GLOBALish") === nqp.Null) {
TMP25 = wval2;
} else {
TMP25 = p6$____lowered__lex__26$local.$$atkey("GLOBALish");
}
if ((/*await*/ (/*await*/ new nqp.NQPInt(((TMP25 === nqp.Null) ? 1 : 0)).$$decont(ctx32)).$$toBool(ctx32))) {
} else {
if (p6$_AT_GLOBALish8.$$atpos((0)) === nqp.Null) {
TMP26 = wval2;
} else {
TMP26 = p6$_AT_GLOBALish8.$$atpos((0));
}
if (p6$____lowered__lex__26$local.$$atkey("GLOBALish") === nqp.Null) {
TMP27 = wval2;
} else {
TMP27 = p6$____lowered__lex__26$local.$$atkey("GLOBALish");
}
/*await*/ (/*await*/ (/*await*/ p6$self7.$$decont(ctx32)).$$decont(ctx32))["p6$merge_globals"](ctx32,null,(/*await*/ p6$self7.$$decont(ctx32)),(/*await*/ TMP26.$$decont(ctx32)).$$STable.WHO,(/*await*/ TMP27.$$decont(ctx32)).$$STable.WHO);
}
} else {
}
/*await*/ ctx32.throwpayloadlex((32), p6$____lowered__lex__26$local);
return nqp.Null;
});
TMP16 = {};
ctx31.$$unwind = TMP16;
ctx31.$$RETURN = /*async*/ function($$ctx) {
TMP17 = $$ctx.$$lastexpayload();
};
try {if ((/*await*/ (/*await*/ ctx1["$DEBUG"].$$decont(ctx31)).$$toBool(ctx31))) {
/*await*/ (/*await*/ ctx1["&DEBUG"].$$decont(ctx31)).$$call(ctx31,null,new nqp.NativeStrArg(("going to load " + (/*await*/ nqp.toStr(p6$____lowered__lex__30$local, ctx31)))));
} else {
}
if ((/*await*/ (/*await*/ new nqp.NQPInt((((/*await*/ nqp.toStr(p6$____lowered__lex__30$local, ctx31)) == "Perl6::BOOTSTRAP") ? 1 : 0)).$$decont(ctx31)).$$toBool(ctx31))) {
/*await*/ TMP1.$$call(ctx31,null);
} else {
}
if (p6$____lowered__lex__28$local.$$atkey("from") === nqp.Null) {
TMP2 = wval2;
} else {
TMP2 = p6$____lowered__lex__28$local.$$atkey("from");
}
TMP3 = (p6$defined__1$local = (TMP2));
;
if ((/*await*/ (/*await*/ new nqp.NQPInt(nqp.op.defined((/*await*/ p6$defined__1$local.$$decont(ctx31)))).$$decont(ctx31)).$$toBool(ctx31))) {
TMP4 = (/*await*/ nqp.toStr(p6$defined__1$local, ctx31));
} else {
TMP4 = "NQP";
}
if ((/*await*/ (/*await*/ new nqp.NQPInt((ctx12["%language_module_loaders"].$$existskey(TMP4) ? 1 : 0)).$$decont(ctx31)).$$toBool(ctx31))) {
if ((/*await*/ (/*await*/ new nqp.NQPInt((((/*await*/ nqp.toStr(p6$____lowered__lex__28$local.$$atkey("from"), ctx31)) == "NQP") ? 1 : 0)).$$decont(ctx31)).$$toBool(ctx31))) {
if ((/*await*/ (/*await*/ new nqp.NQPNum((/*await*/ nqp.toNum(p6$_AT_GLOBALish8, ctx31))).$$decont(ctx31)).$$toBool(ctx31))) {
TMP6 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ nqp.knowhow.$$decont(ctx31))["p6$new_type"](ctx31,{"name":new nqp.NativeStrArg("GLOBALish")},nqp.knowhow)));
TMP7 = (p6$____lowered__lex__27$local = (TMP6));
;
if (p6$_AT_GLOBALish8.$$atpos((0)) === nqp.Null) {
TMP8 = wval2;
} else {
TMP8 = p6$_AT_GLOBALish8.$$atpos((0));
}
TMP9 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ (/*await*/ TMP8.$$decont(ctx31)).$$STable.WHO.$$decont(ctx31))["p6$FLATTENABLE_HASH"](ctx31,null,(/*await*/ TMP8.$$decont(ctx31)).$$STable.WHO)));
((/*await*/ p6$____lowered__lex__27$local.$$decont(ctx31)).$$STable.WHO = TMP9, (/*await*/ p6$____lowered__lex__27$local.$$decont(ctx31)));
if (ctx12["%language_module_loaders"].$$atkey("NQP") === nqp.Null) {
TMP10 = wval2;
} else {
TMP10 = ctx12["%language_module_loaders"].$$atkey("NQP");
}
TMP11 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ TMP10.$$decont(ctx31))["p6$load_module"](ctx31,null,TMP10,p6$____lowered__lex__30$local,p6$____lowered__lex__27$local)));
return TMP11;
} else {
if (ctx12["%language_module_loaders"].$$atkey("NQP") === nqp.Null) {
TMP12 = wval2;
} else {
TMP12 = ctx12["%language_module_loaders"].$$atkey("NQP");
}
TMP13 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ TMP12.$$decont(ctx31))["p6$load_module"](ctx31,null,TMP12,p6$____lowered__lex__30$local)));
return TMP13;
}
} else {
}
if (ctx12["%language_module_loaders"].$$atkey((/*await*/ nqp.toStr(p6$____lowered__lex__28$local.$$atkey("from"), ctx31))) === nqp.Null) {
TMP14 = wval2;
} else {
TMP14 = ctx12["%language_module_loaders"].$$atkey((/*await*/ nqp.toStr(p6$____lowered__lex__28$local.$$atkey("from"), ctx31)));
}
TMP15 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ TMP14.$$decont(ctx31))["p6$load_module"].apply(TMP14.$$decont(ctx31),[ctx31,{"line":p6$____lowered__lex__31$local,"file":p6$____lowered__lex__32$local},TMP14,p6$____lowered__lex__30$local,p6$____lowered__lex__28$local].concat((p6$_AT_GLOBALish8).$$flatArgs()))));
return TMP15;
TMP5 = nqp.Null;
} else {
(/*await*/ ctx31.die(("Do not know how to load code from " + (/*await*/ nqp.toStr(p6$____lowered__lex__28$local.$$atkey("from"), ctx31)))));
TMP5 = nqp.Null;
}
TMP17 = TMP5;
} catch (e) {if (e === TMP16) {} else {throw e}}return TMP17;
},{},null,null,1890);
cuid11.setInfo(cuid22,/*async*/ function cuid11(caller_ctx,_NAMED,param37,param38,param39) {
var TMP1,
TMP2,
TMP3,
TMP4,
TMP5,
TMP6,
TMP7,
TMP8,
TMP9,
TMP10,
TMP11,
TMP12,
TMP13,
TMP14,
TMP15,
TMP16,
TMP17,
TMP18,
TMP19,
TMP20,
TMP21,
TMP22,
TMP23,
TMP24,
TMP25,
TMP26,
TMP27,
TMP28,
TMP29,
TMP30,
TMP31,
TMP32,
TMP33,
TMP34,
TMP35,
TMP36;
var p6$____lowered__lex__39$local = nqp.Null,
p6$lowered__for__it____3$local = nqp.Null,
p6$____lowered__lex__33$local = nqp.Null,
p6$lowered__for__it____4$local = nqp.Null,
p6$____lowered__lex__37$local = nqp.Null,
p6$____lowered__lex__36$local = nqp.Null,
p6$____lowered__lex__35$local = nqp.Null,
p6$____lowered__lex__34$local = nqp.Null,
p6$____lowered__lex__38$local,
p6$____lowered__lex__40$local,
p6$____lowered__lex__41$local;
let ctx12 = this.getOuterCtx();
var ctx36 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 5) nqp.tooManyPos(arguments.length, 5);if (arguments.length < 5) nqp.tooFewPos(arguments.length, 5);p6$____lowered__lex__38$local = nqp.arg(HLL, param37);
p6$____lowered__lex__40$local = nqp.arg(HLL, param38);
p6$____lowered__lex__41$local = nqp.arg(HLL, param39);
TMP1 = nqp.hash();
TMP2 = (p6$____lowered__lex__39$local = (TMP1));
;
TMP3 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ ctx12["&stash_hash"].$$decont(ctx36)).$$call(ctx36,null,p6$____lowered__lex__40$local)));
TMP4 = TMP3.$$iterator();
TMP5 = (p6$lowered__for__it____3$local = (TMP4));
;
loop_label_3: for (;;) {
TMP6 = ctx36;if (! (/*await*/ (/*await*/ p6$lowered__for__it____3$local.$$decont(TMP6)).$$toBool(TMP6))) {break;}
TMP7 = p6$lowered__for__it____3$local.$$shift();
TMP8 = (p6$____lowered__lex__33$local = (TMP7));
;
TMP9 = (/*await*/ nqp.retval_s(TMP6, /*await*/ (/*await*/ p6$____lowered__lex__33$local.$$decont(TMP6))["p6$key"](TMP6,null,p6$____lowered__lex__33$local)));
p6$____lowered__lex__39$local.$$bindkey(TMP9,new nqp.NQPInt((1)));
}TMP10 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ ctx12["&stash_hash"].$$decont(ctx36)).$$call(ctx36,null,p6$____lowered__lex__41$local)));
TMP11 = TMP10.$$iterator();
TMP12 = (p6$lowered__for__it____4$local = (TMP11));
;
loop_label_4: for (;;) {
TMP13 = ctx36;if (! (/*await*/ (/*await*/ p6$lowered__for__it____4$local.$$decont(TMP13)).$$toBool(TMP13))) {break;}
TMP14 = p6$lowered__for__it____4$local.$$shift();
TMP15 = (p6$____lowered__lex__37$local = (TMP14));
;
TMP16 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__37$local.$$decont(TMP13))["p6$key"](TMP13,null,p6$____lowered__lex__37$local)));
TMP17 = (p6$____lowered__lex__36$local = (TMP16));
;
if ((/*await*/ (/*await*/ new nqp.NQPInt(((!(/*await*/ (/*await*/ p6$____lowered__lex__39$local.$$atkey((/*await*/ nqp.toStr(p6$____lowered__lex__36$local, TMP13))).$$decont(TMP13)).$$toBool(TMP13))) ? 1 : 0)).$$decont(TMP13)).$$toBool(TMP13))) {
TMP18 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__37$local.$$decont(TMP13))["p6$value"](TMP13,null,p6$____lowered__lex__37$local)));
p6$____lowered__lex__40$local.$$bindkey((/*await*/ nqp.toStr(p6$____lowered__lex__36$local, TMP13)),TMP18);
} else {
if (p6$____lowered__lex__40$local.$$atkey((/*await*/ nqp.toStr(p6$____lowered__lex__36$local, TMP13))) === nqp.Null) {
TMP19 = wval2;
} else {
TMP19 = p6$____lowered__lex__40$local.$$atkey((/*await*/ nqp.toStr(p6$____lowered__lex__36$local, TMP13)));
}
TMP20 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__37$local.$$decont(TMP13))["p6$value"](TMP13,null,p6$____lowered__lex__37$local)));
if ((/*await*/ (/*await*/ new nqp.NQPInt((((/*await*/ TMP19.$$decont(TMP13)) === (/*await*/ TMP20.$$decont(TMP13))) ? 1 : 0)).$$decont(TMP13)).$$toBool(TMP13))) {
} else {
TMP21 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__37$local.$$decont(TMP13))["p6$value"](TMP13,null,p6$____lowered__lex__37$local)));
TMP22 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ ctx12["&is_stub"].$$decont(TMP13)).$$call(TMP13,null,(/*await*/ TMP21.$$decont(TMP13)).$$STable.HOW)));
TMP23 = (p6$____lowered__lex__35$local = (TMP22));
;
if (p6$____lowered__lex__40$local.$$atkey((/*await*/ nqp.toStr(p6$____lowered__lex__36$local, TMP13))) === nqp.Null) {
TMP24 = wval2;
} else {
TMP24 = p6$____lowered__lex__40$local.$$atkey((/*await*/ nqp.toStr(p6$____lowered__lex__36$local, TMP13)));
}
TMP25 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ ctx12["&is_stub"].$$decont(TMP13)).$$call(TMP13,null,(/*await*/ TMP24.$$decont(TMP13)).$$STable.HOW)));
TMP26 = (p6$____lowered__lex__34$local = (TMP25));
;
if ((/*await*/ (/*await*/ p6$____lowered__lex__35$local.$$decont(TMP13)).$$toBool(TMP13))) {
TMP27 = p6$____lowered__lex__34$local;
} else {
TMP27 = p6$____lowered__lex__35$local;
}
if ((/*await*/ (/*await*/ TMP27.$$decont(TMP13)).$$toBool(TMP13))) {
if (p6$____lowered__lex__40$local.$$atkey((/*await*/ nqp.toStr(p6$____lowered__lex__36$local, TMP13))) === nqp.Null) {
TMP28 = wval2;
} else {
TMP28 = p6$____lowered__lex__40$local.$$atkey((/*await*/ nqp.toStr(p6$____lowered__lex__36$local, TMP13)));
}
TMP29 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__37$local.$$decont(TMP13))["p6$value"](TMP13,null,p6$____lowered__lex__37$local)));
/*await*/ (/*await*/ (/*await*/ p6$____lowered__lex__38$local.$$decont(TMP13)).$$decont(TMP13))["p6$merge_globals"](TMP13,null,(/*await*/ p6$____lowered__lex__38$local.$$decont(TMP13)),(/*await*/ TMP28.$$decont(TMP13)).$$STable.WHO,(/*await*/ TMP29.$$decont(TMP13)).$$STable.WHO);
} else {
if ((/*await*/ (/*await*/ p6$____lowered__lex__35$local.$$decont(TMP13)).$$toBool(TMP13))) {
if (p6$____lowered__lex__40$local.$$atkey((/*await*/ nqp.toStr(p6$____lowered__lex__36$local, TMP13))) === nqp.Null) {
TMP30 = wval2;
} else {
TMP30 = p6$____lowered__lex__40$local.$$atkey((/*await*/ nqp.toStr(p6$____lowered__lex__36$local, TMP13)));
}
TMP31 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__37$local.$$decont(TMP13))["p6$value"](TMP13,null,p6$____lowered__lex__37$local)));
/*await*/ (/*await*/ (/*await*/ p6$____lowered__lex__38$local.$$decont(TMP13)).$$decont(TMP13))["p6$merge_globals"](TMP13,null,(/*await*/ p6$____lowered__lex__38$local.$$decont(TMP13)),(/*await*/ TMP30.$$decont(TMP13)).$$STable.WHO,(/*await*/ TMP31.$$decont(TMP13)).$$STable.WHO);
} else {
if ((/*await*/ (/*await*/ p6$____lowered__lex__34$local.$$decont(TMP13)).$$toBool(TMP13))) {
TMP32 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__37$local.$$decont(TMP13))["p6$value"](TMP13,null,p6$____lowered__lex__37$local)));
if (p6$____lowered__lex__40$local.$$atkey((/*await*/ nqp.toStr(p6$____lowered__lex__36$local, TMP13))) === nqp.Null) {
TMP33 = wval2;
} else {
TMP33 = p6$____lowered__lex__40$local.$$atkey((/*await*/ nqp.toStr(p6$____lowered__lex__36$local, TMP13)));
}
/*await*/ (/*await*/ (/*await*/ p6$____lowered__lex__38$local.$$decont(TMP13)).$$decont(TMP13))["p6$merge_globals"](TMP13,null,(/*await*/ p6$____lowered__lex__38$local.$$decont(TMP13)),(/*await*/ TMP32.$$decont(TMP13)).$$STable.WHO,(/*await*/ TMP33.$$decont(TMP13)).$$STable.WHO);
TMP34 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__37$local.$$decont(TMP13))["p6$value"](TMP13,null,p6$____lowered__lex__37$local)));
p6$____lowered__lex__40$local.$$bindkey((/*await*/ nqp.toStr(p6$____lowered__lex__36$local, TMP13)),TMP34);
} else {
TMP35 = (/*await*/ nqp.retval_s(TMP13, /*await*/ (/*await*/ p6$____lowered__lex__37$local.$$decont(TMP13))["p6$key"](TMP13,null,p6$____lowered__lex__37$local)));
if ((/*await*/ (/*await*/ new nqp.NQPInt(nqp.op.eqat(TMP35,"&",(0))).$$decont(TMP13)).$$toBool(TMP13))) {
TMP36 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__37$local.$$decont(TMP13))["p6$value"](TMP13,null,p6$____lowered__lex__37$local)));
p6$____lowered__lex__40$local.$$bindkey((/*await*/ nqp.toStr(p6$____lowered__lex__36$local, TMP13)),TMP36);
} else {
(/*await*/ TMP13.die(("P6M Merging GLOBAL symbols failed: duplicate definition of symbol " + (/*await*/ nqp.toStr(p6$____lowered__lex__36$local, TMP13)))));
}
}
}
}
}
}
}return nqp.Null;
},{},null,null,4603);
cuid12.setInfo(cuid22,/*async*/ function cuid12(caller_ctx,_NAMED,param42,param43,param44,param45) {
var TMP1,
TMP2,
TMP3,
TMP4,
TMP5,
TMP6,
TMP7,
TMP8,
TMP9,
TMP10,
TMP11,
TMP12,
TMP13,
TMP14,
TMP15,
TMP16,
TMP17,
TMP18,
TMP19,
TMP20,
TMP21,
TMP22,
TMP23,
TMP24,
TMP25,
TMP26,
TMP27,
TMP28,
TMP29,
TMP30,
TMP31,
TMP32,
TMP33,
TMP34,
TMP35,
TMP36,
TMP37,
TMP38,
TMP39,
TMP40,
TMP41,
TMP42,
TMP43,
TMP44,
TMP45,
TMP46,
TMP47,
TMP48;
var p6$____lowered__lex__50$local = nqp.Null,
p6$lowered__for__it____5$local = nqp.Null,
p6$____lowered__lex__42$local = nqp.Null,
p6$lowered__for__it____6$local = nqp.Null,
p6$____lowered__lex__48$local = nqp.Null,
p6$____lowered__lex__46$local = nqp.Null,
p6$____lowered__lex__47$local = nqp.Null,
p6$____lowered__lex__45$local = nqp.Null,
p6$____lowered__lex__44$local = nqp.Null,
p6$____lowered__lex__43$local = nqp.Null,
p6$____lowered__lex__49$local,
p6$____lowered__lex__51$local,
p6$____lowered__lex__52$local,
p6$____lowered__lex__53$local;
let ctx12 = this.getOuterCtx();
var ctx40 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 6) nqp.tooManyPos(arguments.length, 6);if (arguments.length < 6) nqp.tooFewPos(arguments.length, 6);p6$____lowered__lex__49$local = nqp.arg(HLL, param42);
p6$____lowered__lex__51$local = nqp.arg(HLL, param43);
p6$____lowered__lex__52$local = nqp.arg(HLL, param44);
p6$____lowered__lex__53$local = nqp.arg(HLL, param45);
TMP1 = nqp.hash();
TMP2 = (p6$____lowered__lex__50$local = (TMP1));
;
TMP3 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__52$local.$$decont(ctx40))["p6$symtable"](ctx40,null,p6$____lowered__lex__52$local)));
TMP4 = TMP3.$$iterator();
TMP5 = (p6$lowered__for__it____5$local = (TMP4));
;
loop_label_5: for (;;) {
TMP6 = ctx40;if (! (/*await*/ (/*await*/ p6$lowered__for__it____5$local.$$decont(TMP6)).$$toBool(TMP6))) {break;}
TMP7 = p6$lowered__for__it____5$local.$$shift();
TMP8 = (p6$____lowered__lex__42$local = (TMP7));
;
TMP9 = (/*await*/ nqp.retval_s(TMP6, /*await*/ (/*await*/ p6$____lowered__lex__42$local.$$decont(TMP6))["p6$key"](TMP6,null,p6$____lowered__lex__42$local)));
TMP10 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__42$local.$$decont(TMP6))["p6$value"](TMP6,null,p6$____lowered__lex__42$local)));
if (TMP10.$$atkey("value") === nqp.Null) {
TMP11 = wval2;
} else {
TMP11 = TMP10.$$atkey("value");
}
p6$____lowered__lex__50$local.$$bindkey(TMP9,TMP11);
}TMP12 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ ctx12["&stash_hash"].$$decont(ctx40)).$$call(ctx40,null,p6$____lowered__lex__53$local)));
TMP13 = TMP12.$$iterator();
TMP14 = (p6$lowered__for__it____6$local = (TMP13));
;
loop_label_6: for (;;) {
TMP15 = ctx40;if (! (/*await*/ (/*await*/ p6$lowered__for__it____6$local.$$decont(TMP15)).$$toBool(TMP15))) {break;}
TMP16 = p6$lowered__for__it____6$local.$$shift();
TMP17 = (p6$____lowered__lex__48$local = (TMP16));
;
TMP18 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__48$local.$$decont(TMP15))["p6$key"](TMP15,null,p6$____lowered__lex__48$local)));
TMP19 = (p6$____lowered__lex__46$local = (TMP18));
;
TMP20 = (p6$____lowered__lex__47$local = (new nqp.NQPInt((0))));
;
if ((/*await*/ (/*await*/ new nqp.NQPInt(((!p6$____lowered__lex__50$local.$$existskey((/*await*/ nqp.toStr(p6$____lowered__lex__46$local, TMP15)))) ? 1 : 0)).$$decont(TMP15)).$$toBool(TMP15))) {
var ctx41 = new nqp.CtxJustHandler(TMP15, TMP15, TMP15.$$callThis);
ctx41.$$CATCH = /*async*/ function($$sourceCtx) {
$$sourceCtx.$$catchHandlerOuter = TMP15;
return wval2;
};
TMP21 = {};
ctx41.$$unwind = TMP21;
try {TMP22 = nqp.list(HLL,[p6$____lowered__lex__46$local]);
TMP23 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__51$local.$$decont(ctx41))["p6$find_symbol"](ctx41,null,p6$____lowered__lex__51$local,TMP22)));
p6$____lowered__lex__50$local.$$bindkey((/*await*/ nqp.toStr(p6$____lowered__lex__46$local, ctx41)),TMP23);
TMP24 = (p6$____lowered__lex__47$local = (new nqp.NQPInt((1))));
;
} catch (e) {if (e === TMP21) {} else if (e instanceof nqp.NQPException) {
/*await*/ ctx41.catchException(e)
} else if (e instanceof TypeError) {
/*await*/ ctx41.catchException(nqp.wrapException(e));
} else {
throw e;
}
}
} else {
}
if ((/*await*/ (/*await*/ new nqp.NQPInt(((!p6$____lowered__lex__50$local.$$existskey((/*await*/ nqp.toStr(p6$____lowered__lex__46$local, TMP15)))) ? 1 : 0)).$$decont(TMP15)).$$toBool(TMP15))) {
TMP25 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__48$local.$$decont(TMP15))["p6$value"](TMP15,null,p6$____lowered__lex__48$local)));
/*await*/ (/*await*/ p6$____lowered__lex__52$local.$$decont(TMP15))["p6$symbol"](TMP15,{"scope":new nqp.NativeStrArg("lexical"),"value":TMP25},p6$____lowered__lex__52$local,p6$____lowered__lex__46$local);
if (p6$____lowered__lex__52$local.$$atpos((0)) === nqp.Null) {
TMP26 = wval2;
} else {
TMP26 = p6$____lowered__lex__52$local.$$atpos((0));
}
TMP27 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__48$local.$$decont(TMP15))["p6$value"](TMP15,null,p6$____lowered__lex__48$local)));
TMP28 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ wval5.$$decont(TMP15))["p6$new"](TMP15,{"scope":new nqp.NativeStrArg("lexical"),"name":p6$____lowered__lex__46$local,"decl":new nqp.NativeStrArg("static"),"value":TMP27},wval5)));
/*await*/ (/*await*/ TMP26.$$decont(TMP15))["p6$push"](TMP15,null,TMP26,TMP28);
TMP29 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__48$local.$$decont(TMP15))["p6$value"](TMP15,null,p6$____lowered__lex__48$local)));
/*await*/ (/*await*/ p6$____lowered__lex__51$local.$$decont(TMP15))["p6$add_object_if_no_sc"](TMP15,null,p6$____lowered__lex__51$local,TMP29);
} else {
TMP30 = (/*await*/ nqp.retval_s(TMP15, /*await*/ (/*await*/ p6$____lowered__lex__48$local.$$decont(TMP15))["p6$key"](TMP15,null,p6$____lowered__lex__48$local)));
if (p6$____lowered__lex__50$local.$$atkey(TMP30) === nqp.Null) {
TMP31 = wval2;
} else {
TMP31 = p6$____lowered__lex__50$local.$$atkey(TMP30);
}
TMP32 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__48$local.$$decont(TMP15))["p6$value"](TMP15,null,p6$____lowered__lex__48$local)));
if ((/*await*/ (/*await*/ new nqp.NQPInt((((/*await*/ TMP31.$$decont(TMP15)) === (/*await*/ TMP32.$$decont(TMP15))) ? 1 : 0)).$$decont(TMP15)).$$toBool(TMP15))) {
} else {
TMP33 = (/*await*/ nqp.retval_s(TMP15, /*await*/ (/*await*/ p6$____lowered__lex__48$local.$$decont(TMP15))["p6$key"](TMP15,null,p6$____lowered__lex__48$local)));
if (p6$____lowered__lex__50$local.$$atkey(TMP33) === nqp.Null) {
TMP34 = wval2;
} else {
TMP34 = p6$____lowered__lex__50$local.$$atkey(TMP33);
}
TMP35 = (p6$____lowered__lex__45$local = (TMP34));
;
TMP36 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__48$local.$$decont(TMP15))["p6$value"](TMP15,null,p6$____lowered__lex__48$local)));
TMP37 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ ctx12["&is_stub"].$$decont(TMP15)).$$call(TMP15,null,(/*await*/ TMP36.$$decont(TMP15)).$$STable.HOW)));
TMP38 = (p6$____lowered__lex__44$local = (TMP37));
;
TMP39 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ ctx12["&is_stub"].$$decont(TMP15)).$$call(TMP15,null,(/*await*/ p6$____lowered__lex__45$local.$$decont(TMP15)).$$STable.HOW)));
TMP40 = (p6$____lowered__lex__43$local = (TMP39));
;
if ((/*await*/ (/*await*/ p6$____lowered__lex__44$local.$$decont(TMP15)).$$toBool(TMP15))) {
TMP41 = p6$____lowered__lex__43$local;
} else {
TMP41 = p6$____lowered__lex__44$local;
}
if ((/*await*/ (/*await*/ TMP41.$$decont(TMP15)).$$toBool(TMP15))) {
TMP42 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__48$local.$$decont(TMP15))["p6$value"](TMP15,null,p6$____lowered__lex__48$local)));
/*await*/ (/*await*/ (/*await*/ p6$____lowered__lex__49$local.$$decont(TMP15)).$$decont(TMP15))["p6$merge_globals"](TMP15,null,(/*await*/ p6$____lowered__lex__49$local.$$decont(TMP15)),(/*await*/ p6$____lowered__lex__45$local.$$decont(TMP15)).$$STable.WHO,(/*await*/ TMP42.$$decont(TMP15)).$$STable.WHO);
} else {
if ((/*await*/ (/*await*/ p6$____lowered__lex__44$local.$$decont(TMP15)).$$toBool(TMP15))) {
TMP43 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__48$local.$$decont(TMP15))["p6$value"](TMP15,null,p6$____lowered__lex__48$local)));
/*await*/ (/*await*/ (/*await*/ p6$____lowered__lex__49$local.$$decont(TMP15)).$$decont(TMP15))["p6$merge_globals"](TMP15,null,(/*await*/ p6$____lowered__lex__49$local.$$decont(TMP15)),(/*await*/ p6$____lowered__lex__45$local.$$decont(TMP15)).$$STable.WHO,(/*await*/ TMP43.$$decont(TMP15)).$$STable.WHO);
} else {
if ((/*await*/ (/*await*/ p6$____lowered__lex__43$local.$$decont(TMP15)).$$toBool(TMP15))) {
TMP44 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__48$local.$$decont(TMP15))["p6$value"](TMP15,null,p6$____lowered__lex__48$local)));
/*await*/ (/*await*/ (/*await*/ p6$____lowered__lex__49$local.$$decont(TMP15)).$$decont(TMP15))["p6$merge_globals"](TMP15,null,(/*await*/ p6$____lowered__lex__49$local.$$decont(TMP15)),(/*await*/ TMP44.$$decont(TMP15)).$$STable.WHO,(/*await*/ p6$____lowered__lex__45$local.$$decont(TMP15)).$$STable.WHO);
TMP45 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__48$local.$$decont(TMP15))["p6$value"](TMP15,null,p6$____lowered__lex__48$local)));
/*await*/ (/*await*/ p6$____lowered__lex__52$local.$$decont(TMP15))["p6$symbol"](TMP15,{"scope":new nqp.NativeStrArg("lexical"),"value":TMP45},p6$____lowered__lex__52$local,p6$____lowered__lex__46$local);
} else {
TMP46 = (/*await*/ nqp.retval_s(TMP15, /*await*/ (/*await*/ p6$____lowered__lex__48$local.$$decont(TMP15))["p6$key"](TMP15,null,p6$____lowered__lex__48$local)));
if ((/*await*/ (/*await*/ new nqp.NQPInt(nqp.op.eqat(TMP46,"&",(0))).$$decont(TMP15)).$$toBool(TMP15))) {
TMP47 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__48$local.$$decont(TMP15))["p6$value"](TMP15,null,p6$____lowered__lex__48$local)));
/*await*/ (/*await*/ p6$____lowered__lex__52$local.$$decont(TMP15))["p6$symbol"](TMP15,{"scope":new nqp.NativeStrArg("lexical"),"value":TMP47},p6$____lowered__lex__52$local,p6$____lowered__lex__46$local);
} else {
if ((/*await*/ (/*await*/ p6$____lowered__lex__47$local.$$decont(TMP15)).$$toBool(TMP15))) {
TMP48 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__48$local.$$decont(TMP15))["p6$value"](TMP15,null,p6$____lowered__lex__48$local)));
/*await*/ (/*await*/ p6$____lowered__lex__52$local.$$decont(TMP15))["p6$symbol"](TMP15,{"scope":new nqp.NativeStrArg("lexical"),"value":TMP48},p6$____lowered__lex__52$local,p6$____lowered__lex__46$local);
} else {
(/*await*/ TMP15.die(("P6M Merging GLOBAL symbols failed: duplicate definition of symbol " + (/*await*/ nqp.toStr(p6$____lowered__lex__46$local, TMP15)))));
}
}
}
}
}
}
}
}return nqp.Null;
},{},null,null,6708);
cuid13.setInfo(cuid22,/*async*/ function cuid13(caller_ctx,_NAMED,param48,param49) {
var TMP1,
TMP2,
TMP3,
TMP4,
TMP5,
TMP6;
var p6$____lowered__lex__56$local = nqp.Null,
p6$self9,
p6$$setting__name10;
let ctx12 = this.getOuterCtx();
let ctx1 = this.getOuterCtx().$$outer;
var ctx46 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 4) nqp.tooManyPos(arguments.length, 4);if (arguments.length < 4) nqp.tooFewPos(arguments.length, 4);p6$self9 = nqp.arg(HLL, param48);
p6$$setting__name10 = nqp.arg(HLL, param49);
TMP4 = cuid20.closure(/*async*/ function cuid20(caller_ctx,_NAMED) {
var TMP1,
TMP2,
TMP3,
TMP4,
TMP5,
TMP6,
TMP7,
TMP8,
TMP9,
TMP10,
TMP11,
TMP12,
TMP13;
var p6$____lowered__lex__55$local = nqp.Null,
p6$____lowered__lex__54$local = nqp.Null;
var ctx47 = new nqp.Ctx(caller_ctx, ctx46, this);
ctx47["$\u002ACTXSAVE"] = nqp.Null;
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 2) nqp.tooManyPos(arguments.length, 2);(ctx47["$\u002AMAIN_CTX"] = wval2);
if ((/*await*/ (/*await*/ ctx1["$DEBUG"].$$decont(ctx47)).$$toBool(ctx47))) {
/*await*/ (/*await*/ ctx1["&DEBUG"].$$decont(ctx47)).$$call(ctx47,null,new nqp.NativeStrArg(("Loading settings " + (/*await*/ nqp.toStr(p6$$setting__name10, ctx47)))));
} else {
}
TMP1 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ (/*await*/ p6$self9.$$decont(ctx47)).$$decont(ctx47))["p6$find_setting"](ctx47,null,(/*await*/ p6$self9.$$decont(ctx47)),p6$$setting__name10)));
TMP2 = (p6$____lowered__lex__55$local = (TMP1));
;
ctx47.bindDynamic("$\u002ACTXSAVE",(/*await*/ p6$self9.$$decont(ctx47)));
if (ctx47.lookupDynamic("$\u002AMAIN_CTX") === nqp.Null) {
if ((/*await*/ wval0.$$decont(ctx47)).$$STable.WHO.$$atkey("$MAIN_CTX") === nqp.Null) {
TMP4 = wval2;
} else {
TMP4 = (/*await*/ wval0.$$decont(ctx47)).$$STable.WHO.$$atkey("$MAIN_CTX");
}
TMP3 = TMP4;
if (TMP3 === nqp.Null) {
(/*await*/ ctx47.die("Contextual $\u002AMAIN_CTX not found"));
TMP3 = nqp.Null;
}
TMP5 = TMP3;
} else {
TMP5 = ctx47.lookupDynamic("$\u002AMAIN_CTX");
}
TMP6 = nqp.op.gethllsym("perl6","GLOBAL");
if (TMP6 === nqp.Null) {
TMP6 = wval2;
}
TMP7 = (p6$____lowered__lex__54$local = (TMP6));
;
nqp.op.scwbdisable();
(/*await*/ nqp.op.loadbytecode(ctx47,(/*await*/ nqp.toStr(p6$____lowered__lex__55$local, ctx47))));
nqp.op.scwbenable();
nqp.op.bindhllsym("perl6","GLOBAL",p6$____lowered__lex__54$local);
if (ctx47.lookupDynamic("$\u002AMAIN_CTX") === nqp.Null) {
if ((/*await*/ wval0.$$decont(ctx47)).$$STable.WHO.$$atkey("$MAIN_CTX") === nqp.Null) {
TMP9 = wval2;
} else {
TMP9 = (/*await*/ wval0.$$decont(ctx47)).$$STable.WHO.$$atkey("$MAIN_CTX");
}
TMP8 = TMP9;
if (TMP8 === nqp.Null) {
(/*await*/ ctx47.die("Contextual $\u002AMAIN_CTX not found"));
TMP8 = nqp.Null;
}
TMP10 = TMP8;
} else {
TMP10 = ctx47.lookupDynamic("$\u002AMAIN_CTX");
}
if ((/*await*/ (/*await*/ new nqp.NQPInt(nqp.op.defined((/*await*/ TMP10.$$decont(ctx47)))).$$decont(ctx47)).$$toBool(ctx47))) {
} else {
(/*await*/ ctx47.die((("Unable to load setting " + (/*await*/ nqp.toStr(p6$$setting__name10, ctx47))) + "; maybe it is missing a YOU_ARE_HERE?")));
}
if (ctx47.lookupDynamic("$\u002AMAIN_CTX") === nqp.Null) {
if ((/*await*/ wval0.$$decont(ctx47)).$$STable.WHO.$$atkey("$MAIN_CTX") === nqp.Null) {
TMP12 = wval2;
} else {
TMP12 = (/*await*/ wval0.$$decont(ctx47)).$$STable.WHO.$$atkey("$MAIN_CTX");
}
TMP11 = TMP12;
if (TMP11 === nqp.Null) {
(/*await*/ ctx47.die("Contextual $\u002AMAIN_CTX not found"));
TMP11 = nqp.Null;
}
TMP13 = TMP11;
} else {
TMP13 = ctx47.lookupDynamic("$\u002AMAIN_CTX");
}
ctx12["%settings_loaded"].$$bindkey((/*await*/ nqp.toStr(p6$$setting__name10, ctx47)),TMP13);
if ((/*await*/ (/*await*/ ctx1["$DEBUG"].$$decont(ctx47)).$$toBool(ctx47))) {
/*await*/ (/*await*/ ctx1["&DEBUG"].$$decont(ctx47)).$$call(ctx47,null,new nqp.NativeStrArg((("Settings " + (/*await*/ nqp.toStr(p6$$setting__name10, ctx47))) + " loaded")));
} else {
}
return nqp.Null;
});
TMP1 = (p6$____lowered__lex__56$local = (wval2));
;
if ((/*await*/ (/*await*/ new nqp.NQPInt((((/*await*/ nqp.toStr(p6$$setting__name10, ctx46)) != "NULL") ? 1 : 0)).$$decont(ctx46)).$$toBool(ctx46))) {
if ((/*await*/ (/*await*/ new nqp.NQPInt((((/*await*/ nqp.toStr(p6$$setting__name10, ctx46)) == "NULL.d") ? 1 : 0)).$$decont(ctx46)).$$toBool(ctx46))) {
TMP2 = (p6$$setting__name10 = (new nqp.NQPStr("CORE")));
;
} else {
}
if (ctx12["%settings_loaded"].$$atkey((/*await*/ nqp.toStr(p6$$setting__name10, ctx46))) === nqp.Null) {
TMP3 = wval2;
} else {
TMP3 = ctx12["%settings_loaded"].$$atkey((/*await*/ nqp.toStr(p6$$setting__name10, ctx46)));
}
if ((/*await*/ (/*await*/ new nqp.NQPInt(nqp.op.defined((/*await*/ TMP3.$$decont(ctx46)))).$$decont(ctx46)).$$toBool(ctx46))) {
} else {
/*await*/ TMP4.$$call(ctx46,null);
}
if (ctx12["%settings_loaded"].$$atkey((/*await*/ nqp.toStr(p6$$setting__name10, ctx46))) === nqp.Null) {
TMP5 = wval2;
} else {
TMP5 = ctx12["%settings_loaded"].$$atkey((/*await*/ nqp.toStr(p6$$setting__name10, ctx46)));
}
TMP6 = (p6$____lowered__lex__56$local = (TMP5));
;
} else {
}
return p6$____lowered__lex__56$local;
return nqp.Null;
},{},null,null,9609);
cuid14.setInfo(cuid22,/*async*/ function cuid14(caller_ctx,_NAMED,param54,param55) {
var TMP1,
TMP2,
TMP3,
TMP4;
var p6$____lowered__lex__60$local,
p6$____lowered__lex__61$local;
var ctx50 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 4) nqp.tooManyPos(arguments.length, 4);if (arguments.length < 4) nqp.tooFewPos(arguments.length, 4);p6$____lowered__lex__60$local = nqp.arg(HLL, param54);
p6$____lowered__lex__61$local = nqp.arg(HLL, param55);
TMP4 = cuid21.closure(/*async*/ function cuid21(caller_ctx,_NAMED,param52,param53) {
var TMP1,
TMP2,
TMP3,
TMP4,
TMP5,
TMP6,
TMP7,
TMP8,
TMP9,
TMP10,
TMP11,
TMP12;
var p6$lowered__for__it____7$local = nqp.Null,
p6$____lowered__lex__57$local = nqp.Null,
p6$____lowered__lex__58$local,
p6$____lowered__lex__59$local;
var ctx51 = new nqp.Ctx(caller_ctx, ctx50, this);
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 4) nqp.tooManyPos(arguments.length, 4);if (arguments.length < 4) nqp.tooFewPos(arguments.length, 4);p6$____lowered__lex__58$local = nqp.arg(HLL, param52);
p6$____lowered__lex__59$local = nqp.arg(HLL, param53);
TMP1 = (/*await*/ nqp.retval_s(ctx51, /*await*/ (/*await*/ (/*await*/ p6$____lowered__lex__58$local.$$decont(ctx51)).$$STable.HOW.$$decont(ctx51))["p6$name"](ctx51,null,(/*await*/ p6$____lowered__lex__58$local.$$decont(ctx51)).$$STable.HOW,p6$____lowered__lex__58$local)));
if ((/*await*/ (/*await*/ new nqp.NQPInt(((TMP1 == "Stash") ? 1 : 0)).$$decont(ctx51)).$$toBool(ctx51))) {
TMP2 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__58$local.$$decont(ctx51))["p6$FLATTENABLE_HASH"](ctx51,null,p6$____lowered__lex__58$local)));
TMP3 = TMP2.$$iterator();
TMP4 = (p6$lowered__for__it____7$local = (TMP3));
;
loop_label_7: for (;;) {
TMP5 = ctx51;if (! (/*await*/ (/*await*/ p6$lowered__for__it____7$local.$$decont(TMP5)).$$toBool(TMP5))) {break;}
TMP6 = p6$lowered__for__it____7$local.$$shift();
TMP7 = (p6$____lowered__lex__57$local = (TMP6));
;
TMP8 = (/*await*/ nqp.retval_s(TMP5, /*await*/ (/*await*/ p6$____lowered__lex__57$local.$$decont(TMP5))["p6$key"](TMP5,null,p6$____lowered__lex__57$local)));
if ((/*await*/ (/*await*/ new nqp.NQPInt(((!p6$____lowered__lex__59$local.$$existskey(TMP8)) ? 1 : 0)).$$decont(TMP5)).$$toBool(TMP5))) {
TMP9 = new nqp.NQPInt(((!p6$____lowered__lex__59$local.$$existskey(TMP8)) ? 1 : 0));
} else {
TMP10 = (/*await*/ nqp.retval_s(TMP5, /*await*/ (/*await*/ p6$____lowered__lex__57$local.$$decont(TMP5))["p6$key"](TMP5,null,p6$____lowered__lex__57$local)));
TMP9 = new nqp.NQPInt(nqp.op.eqat(TMP10,"&",(0)));
}
if ((/*await*/ (/*await*/ TMP9.$$decont(TMP5)).$$toBool(TMP5))) {
TMP11 = (/*await*/ nqp.retval_s(TMP5, /*await*/ (/*await*/ p6$____lowered__lex__57$local.$$decont(TMP5))["p6$key"](TMP5,null,p6$____lowered__lex__57$local)));
TMP12 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__57$local.$$decont(TMP5))["p6$value"](TMP5,null,p6$____lowered__lex__57$local)));
p6$____lowered__lex__59$local.$$bindkey(TMP11,TMP12);
} else {
}
}} else {
}
return nqp.Null;
});
TMP1 = p6$____lowered__lex__61$local.$$iterator();
 while (TMP1.$$idx < TMP1.$$target) {
TMP2 = TMP1.$$shift();
TMP3 = TMP1.$$shift();
/*await*/ TMP4.$$call(ctx50,null,TMP2,TMP3);
}
return null;
},{},null,null,11084);
cuid15.setInfo(null,/*async*/ function cuid15(caller_ctx,_NAMED) {
var TMP1,
TMP2,
TMP3,
TMP4,
TMP5,
TMP6,
TMP7;
var p6$ctxsave$local = nqp.Null;
var ctx1 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
ctx1.$$hll = nqp.getHLL("nqp");
ctx1["GLOBALish"] = wval0;
ctx1["$?PACKAGE"] = wval0;
ctx1["EXPORT"] = wval1;
ctx1["$rakudo-module-debug"] = nqp.Null;
ctx1["$DEBUG"] = nqp.Null;
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
ctx1["@ARGS"] = nqp.slurpyPos(HLL, arguments, 2);
TMP1 = cuid16.closureCtx(ctx1);
TMP7 = cuid22.closure(/*async*/ function cuid22(caller_ctx,_NAMED) {
var TMP1,
TMP2,
TMP3,
TMP4,
TMP5,
TMP6,
TMP7,
TMP8,
TMP9,
TMP10,
TMP11,
TMP12,
TMP13,
TMP14,
TMP15;
var ctx12 = new nqp.Ctx(caller_ctx, ctx1, this);
ctx12["$?PACKAGE"] = wval4;
ctx12["$?CLASS"] = wval4;
ctx12["%language_module_loaders"] = nqp.Null;
ctx12["$stub_how"] = nqp.Null;
ctx12["$nqp_stub_how"] = nqp.Null;
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 2) nqp.tooManyPos(arguments.length, 2);TMP3 = cuid17.closureCtx(ctx12);
TMP4 = cuid18.closureCtx(ctx12);
TMP6 = cuid5.captureCtx(ctx12);
TMP7 = cuid6.captureCtx(ctx12);
TMP8 = cuid7.captureCtx(ctx12);
TMP9 = cuid8.captureCtx(ctx12);
TMP10 = cuid9.captureCtx(ctx12);
TMP11 = cuid10.captureCtx(ctx12);
TMP12 = cuid11.captureCtx(ctx12);
TMP13 = cuid12.captureCtx(ctx12);
TMP14 = cuid13.captureCtx(ctx12);
TMP15 = cuid14.captureCtx(ctx12);
TMP1 = nqp.hash();
(ctx12["%modules_loaded"] = TMP1);
TMP2 = nqp.hash();
(ctx12["%settings_loaded"] = TMP2);
(ctx12["$absolute_path_func"] = wval2);
(ctx12["&is_stub"] = TMP3);
(ctx12["&stash_hash"] = TMP4);
TMP5 = nqp.hash();
TMP5.content.set("NQP", nqp.op.gethllsym("nqp","ModuleLoader"));
(ctx12["%language_module_loaders"] = TMP5);
(ctx12["$stub_how"] = new nqp.NQPStr("Perl6::Metamodel::PackageHOW"));
(ctx12["$nqp_stub_how"] = new nqp.NQPStr("KnowHOW"));
return nqp.Null;
}).setOuter(ctx1);
TMP4 = cuid4.captureCtx(ctx1);
(ctx1["$debug-radix"] = wval2);
(ctx1["&DEBUG"] = TMP1);
TMP2 = (p6$ctxsave$local = (ctx1.lookupDynamic("$\u002ACTXSAVE")));
;
if ((/*await*/ (/*await*/ new nqp.NQPInt(((p6$ctxsave$local === nqp.Null) ? 1 : 0)).$$decont(ctx1)).$$toBool(ctx1))) {
} else {
TMP3 = (/*await*/ (/*await*/ p6$ctxsave$local.$$decont(ctx1)).$$can(ctx1,"ctxsave"));
if ((/*await*/ (/*await*/ new nqp.NQPInt(TMP3).$$decont(ctx1)).$$toBool(ctx1))) {
/*await*/ (/*await*/ p6$ctxsave$local.$$decont(ctx1))["p6$ctxsave"](ctx1,null,p6$ctxsave$local);
} else {
}
}
TMP5 = nqp.op.getenvhash();
(ctx1["$rakudo-module-debug"] = TMP5.$$atkey("RAKUDO_MODULE_DEBUG"));
(ctx1["$debug-radix"] = nqp.op.radix(HLL,(10),(/*await*/ nqp.toStr(ctx1["$rakudo-module-debug"], ctx1)),(0),(0)));
if ((/*await*/ (/*await*/ new nqp.NQPInt((((/*await*/ nqp.toNum(ctx1["$debug-radix"].$$atpos((2)), ctx1)) != (-1)) ? 1 : 0)).$$decont(ctx1)).$$toBool(ctx1))) {
TMP6 = new nqp.NQPInt(((/*await*/ (/*await*/ ctx1["$debug-radix"].$$atpos((0)).$$decont(ctx1)).$$toBool(ctx1)) ? 1 : 0));
} else {
TMP6 = new nqp.NQPInt(((/*await*/ nqp.toStr(ctx1["$rakudo-module-debug"], ctx1)).length ? 1 : 0));
}
(ctx1["$DEBUG"] = TMP6);
/*await*/ TMP7.$$call(ctx1,null);
nqp.op.bindhllsym("perl6","ModuleLoader",wval4);
return nqp.Null;
},{"@ARGS": 0,"GLOBALish": 0,"$?PACKAGE": 0,"EXPORT": 0,"$rakudo-module-debug": 0,"$debug-radix": 0,"$DEBUG": 0,"&DEBUG": 0},{"GLOBALish":0,"$?PACKAGE":0,"EXPORT":1},null,-1);
cuid16.setInfo(cuid15,/*async*/ function cuid16(caller_ctx,_NAMED) {
var TMP1,
TMP2,
TMP3,
TMP4,
TMP5,
TMP6,
TMP7;
var p6$____lowered__lex__3$local = nqp.Null,
p6$lowered__for__it____1$local = nqp.Null,
p6$____lowered__lex__1$local = nqp.Null,
p6$____lowered__lex__2$local;
let ctx1 = this.getOuterCtx();
var ctx2 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
p6$____lowered__lex__2$local = nqp.slurpyPos(HLL, arguments, 2);
TMP1 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ ctx2.lookup("&stderr").$$decont(ctx2)).$$call(ctx2,null)));
TMP2 = (p6$____lowered__lex__3$local = (TMP1));
;
/*await*/ (/*await*/ p6$____lowered__lex__3$local.$$decont(ctx2))["p6$print"](ctx2,null,p6$____lowered__lex__3$local,new nqp.NativeStrArg((((" " + (/*await*/ nqp.toStr(ctx1["$rakudo-module-debug"], ctx2))) + " ".repeat(((((/*await*/ nqp.toNum(ctx1["$rakudo-module-debug"], ctx2)) - (1)) * (4))|0))) + " RMD: ")));
TMP3 = p6$____lowered__lex__2$local.$$iterator();
TMP4 = (p6$lowered__for__it____1$local = (TMP3));
;
loop_label_1: for (;;) {
TMP5 = ctx2;if (! (/*await*/ (/*await*/ p6$lowered__for__it____1$local.$$decont(TMP5)).$$toBool(TMP5))) {break;}
TMP6 = p6$lowered__for__it____1$local.$$shift();
TMP7 = (p6$____lowered__lex__1$local = (TMP6));
;
/*await*/ (/*await*/ p6$____lowered__lex__3$local.$$decont(TMP5))["p6$print"](TMP5,null,p6$____lowered__lex__3$local,p6$____lowered__lex__1$local);
}/*await*/ (/*await*/ p6$____lowered__lex__3$local.$$decont(ctx2))["p6$print"](ctx2,null,p6$____lowered__lex__3$local,new nqp.NativeStrArg("\n"));
return (1);
},{},null,null,725);
cuid17.setInfo(cuid22,/*async*/ function cuid17(caller_ctx,_NAMED,param14) {
var TMP1,
TMP2,
TMP3;
var p6$____lowered__lex__9$local;
let ctx12 = this.getOuterCtx();
var ctx13 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 3) nqp.tooManyPos(arguments.length, 3);if (arguments.length < 3) nqp.tooFewPos(arguments.length, 3);p6$____lowered__lex__9$local = nqp.arg(HLL, param14);
TMP1 = (/*await*/ nqp.retval_s(ctx13, /*await*/ (/*await*/ (/*await*/ p6$____lowered__lex__9$local.$$decont(ctx13)).$$STable.HOW.$$decont(ctx13))["p6$name"](ctx13,null,(/*await*/ p6$____lowered__lex__9$local.$$decont(ctx13)).$$STable.HOW,p6$____lowered__lex__9$local)));
if ((/*await*/ (/*await*/ new nqp.NQPInt(((TMP1 == (/*await*/ nqp.toStr(ctx12["$stub_how"], ctx13))) ? 1 : 0)).$$decont(ctx13)).$$toBool(ctx13))) {
TMP2 = new nqp.NQPInt(((TMP1 == (/*await*/ nqp.toStr(ctx12["$stub_how"], ctx13))) ? 1 : 0));
} else {
TMP3 = (/*await*/ nqp.retval_s(ctx13, /*await*/ (/*await*/ (/*await*/ p6$____lowered__lex__9$local.$$decont(ctx13)).$$STable.HOW.$$decont(ctx13))["p6$name"](ctx13,null,(/*await*/ p6$____lowered__lex__9$local.$$decont(ctx13)).$$STable.HOW,p6$____lowered__lex__9$local)));
TMP2 = ((TMP3 == (/*await*/ nqp.toStr(ctx12["$nqp_stub_how"], ctx13))) ? 1 : 0);
}
return TMP2;
},{},null,null,4471);
cuid18.setInfo(cuid22,/*async*/ function cuid18(caller_ctx,_NAMED,param16) {
var TMP1,
TMP2,
TMP3;
var p6$____lowered__lex__11$local = nqp.Null,
p6$____lowered__lex__10$local;
var ctx15 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 3) nqp.tooManyPos(arguments.length, 3);if (arguments.length < 3) nqp.tooFewPos(arguments.length, 3);p6$____lowered__lex__10$local = nqp.arg(HLL, param16);
TMP1 = (p6$____lowered__lex__11$local = (p6$____lowered__lex__10$local));
;
if ((/*await*/ (/*await*/ new nqp.NQPInt(nqp.op.ishash((/*await*/ p6$____lowered__lex__11$local.$$decont(ctx15)))).$$decont(ctx15)).$$toBool(ctx15))) {
} else {
TMP2 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__11$local.$$decont(ctx15))["p6$FLATTENABLE_HASH"](ctx15,null,p6$____lowered__lex__11$local)));
TMP3 = (p6$____lowered__lex__11$local = (TMP2));
;
}
return p6$____lowered__lex__11$local;
},{},null,null,11729);
cuid19.setInfo(cuid10,null,{"%\u002ACOMPILING": 0,"$\u002ACTXSAVE": 0,"$\u002AMAIN_CTX": 0},null,null,1993);
cuid20.setInfo(cuid13,null,{"$\u002ACTXSAVE": 0,"$\u002AMAIN_CTX": 0},null,null,9943);
cuid21.setInfo(cuid14,null,{},null,null,11128);
cuid22.setInfo(cuid15,null,{"$?PACKAGE": 0,"$?CLASS": 0,"%modules_loaded": 0,"%settings_loaded": 0,"$absolute_path_func": 0,"%language_module_loaders": 0,"$stub_how": 0,"$nqp_stub_how": 0,"&is_stub": 0,"&stash_hash": 0},{"$?PACKAGE":8,"$?CLASS":8},null,978);
cuid23.setInfo(null,/*async*/ function cuid23(caller_ctx,_NAMED) {
var TMP1;
var p6$ARGS$local;
var ctx56 = new nqp.Ctx(caller_ctx, this.getOuterCtx(), this);
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
p6$ARGS$local = nqp.slurpyPos(HLL, arguments, 2);
TMP1 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ cuid15.$$decont(ctx56)).$$apply([ctx56,null].concat((p6$ARGS$local).$$flatArgs()))));
return TMP1;
},{},null,null,-1);
return nqp.run(/*async*/ function() {
var ctxWithPath = new nqp.Ctx(null, null, null);
ctxWithPath['$*LOADBYTECODE_FROM'] = module;
TMP1 = nqp.op.gethllsym("nqp", "ModuleLoader");
if (TMP1 === nqp.Null) {
TMP2 = (/*await*/ nqp.op.loadbytecode(ctxWithPath,"ModuleLoader"));
TMP1 = new nqp.NQPStr(TMP2);
}
TMP3 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ nqp.op.gethllsym("nqp", "ModuleLoader").$$decont(ctxWithPath))["p6$load_setting"](ctxWithPath,null,nqp.op.gethllsym("nqp", "ModuleLoader"),new nqp.NativeStrArg("NQPCORE"))));
nqp.op.forceouterctx(cuid15,TMP3);
/*await*/ (/*await*/ nqp.op.gethllsym("nqp", "ModuleLoader").$$decont(ctxWithPath))["p6$load_module"](ctxWithPath,null,nqp.op.gethllsym("nqp", "ModuleLoader"),new nqp.NativeStrArg("NQPP6QRegex"));
var p6$conflicts$local = nqp.Null;
var sh = nqp.createArray([nqp.null_s,"P6opaque","Chunk","0D83D75ACBEB6862C4EB0E82D6C39CBF7D9F5E6F-1","gen/js/stage1/QASTCompiler.nqp","DWIMYNameMangling","HLL","JavaScriptBackend","A556F01CEBA4B509451D49C7ADE9B9425F57CD2C-1","gen/js/stage2/NQPHLL.nqp","NQPMatch","615B293879CCF0EE98FFCDF51CBE8140F41ECBAB-1","gen/js/stage2/QRegex.nqp","NQPMatchRole","NQPRegex","NQPRegexMethod","QAST","QASTWithMatch","QRegex","RegexCompiler","SerializeOnce","SerializedBytes","Shim","Perl6","DEFAULT","Uninstantiable","ACCEPTS","DA082EEEC94AA41A9652CCD5015E6620D741CDE8-1","gen/js/stage2/NQPCORE.setting.nqp","BUILDALL","CREATE","NOT-ACCEPTS","bless","defined","isa","new","register_language_module_loader","register_absolute_path_func","absolute_path","ctxsave","search_path","load_module","merge_globals","merge_globals_lexically","load_setting","resolve_repossession_conflicts","vm_search_paths","find_setting","file-extension","__6MODEL_CORE__","core SC","GLOBALish","EXPORT","ED2E607CE9B04F94FF92049CAA1699F6DEAE3994-1","gen/js/stage2/nqpmo.nqp","Perl6::ModuleLoaderVMConfig","Perl6::ModuleLoader","Actions","Backend","CommandLine","Compiler","Grammar","World","BVal","7102272061A8C409B55EB6DDE41EA00A0FC6BD1C-1","gen/js/stage2/QASTNode.nqp","Block","Children","CompUnit","CompileTimeValue","CompilerJS","IVal","InlinePlaceholder","NVal","Node","NodeList","Op","OperationsJS","ParamTypeCheck","Regex","RegexCursorType","SVal","SpecialArg","Stmt","Stmts","Unquote","VM","Var","VarWithFallback","WVal","Want","NFA","Optimizer","5EC3891A7256BD53FB5CF669DB377DDD00619ABA-1","gen/js/stage2/NQPP6QRegex.nqp","P6Regex","ModuleLoaderVMConfig","ModuleLoader","$?CLASS","$?PACKAGE","$?ROLE"]);
var sc = nqp.op.createsc("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0");
var code_refs = nqp.createArray([cuid1,cuid2,cuid3,cuid4,cuid5,cuid6,cuid7,cuid8,cuid9,cuid10,cuid11,cuid12,cuid13,cuid14]);
p6$conflicts$local = nqp.list(HLL, []);
nqp.op.deserialize(HLL, "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",sc,sh,code_refs,p6$conflicts$local,cuids,function() {wval0 = nqp.wval("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0",0)
wval1 = nqp.wval("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0",1)
wval2 = nqp.wval("DA082EEEC94AA41A9652CCD5015E6620D741CDE8-1",37)
wval3 = nqp.wval("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0",3)
wval4 = nqp.wval("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0",8)
wval5 = nqp.wval("7102272061A8C409B55EB6DDE41EA00A0FC6BD1C-1",119)
wval6 = nqp.wval("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0",4)
wval7 = nqp.wval("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0",5)
wval8 = nqp.wval("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0",6)
wval9 = nqp.wval("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0",7)
wval10 = nqp.wval("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0",9)
wval11 = nqp.wval("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0",10)
wval12 = nqp.wval("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0",11)
wval13 = nqp.wval("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0",12)
wval14 = nqp.wval("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0",13)
wval15 = nqp.wval("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0",14)
wval16 = nqp.wval("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0",15)
wval17 = nqp.wval("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0",16)
wval18 = nqp.wval("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0",17)
wval19 = nqp.wval("30B17F76AEE0591F6D6A17CCE8FBAE8A9CAFB363-0",18)
});
nqp.op.scsetdesc(sc,"gen/js/ModuleLoader.nqp");
if ((/*await*/ (/*await*/ new nqp.NQPInt(p6$conflicts$local.$$elems()).$$decont(null)).$$toBool(null))) {
(/*await*/ null.die("Repossession conflicts occurred during deserialization"));
} else {
}
cuid1.setCodeObj(wval6);
cuid2.setCodeObj(wval7);
cuid3.setCodeObj(wval8);
cuid4.setCodeObj(wval9);
cuid5.setCodeObj(wval10);
cuid6.setCodeObj(wval11);
cuid7.setCodeObj(wval12);
cuid8.setCodeObj(wval13);
cuid9.setCodeObj(wval14);
cuid10.setCodeObj(wval15);
cuid11.setCodeObj(wval16);
cuid12.setCodeObj(wval17);
cuid13.setCodeObj(wval18);
cuid14.setCodeObj(wval19);
var TMP1,
TMP2,
TMP3,
TMP4,
TMP5;
TMP4 = cuid15.closureCtx(null);
TMP5 = cuid23.closureCtx(null);
nqp.setCodeRefHLL(cuids, HLL, __filename, "gen/js/ModuleLoader.nqp");
/*await*/ TMP5.$$apply([nqp.loaderCtx, null].concat(nqp.args(isMain)));
}, isMain);
};
if (require.main === module) {body(require("nqp-runtime"), true);} else {module.exports = body;};//# sourceMappingURL=Perl6-ModuleLoader.js.map