#!/usr/bin/env node
'use strict';
const body = function(nqp, isMain) {

nqp.execname("perl6-js");
const HLL=nqp.getHLL("nqp");
var wval0,
wval1,
wval2,
wval3;
var cuid1 = new nqp.CodeRef("<mainline>","1"),
cuid2 = new nqp.CodeRef("","2"),
cuid3 = new nqp.CodeRef("","3"),
cuids = [cuid1,cuid2,cuid3];
cuid1.setInfo(null,/*async*/ function cuid1(caller_ctx,_NAMED) {
var TMP1,
TMP2,
TMP3;
var p6$ctxsave$local = nqp.Null,
p6$____lowered__lex__1$local;
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["EXPORTHOW"] = wval2;
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
p6$____lowered__lex__1$local = nqp.slurpyPos(HLL, arguments, 2);
TMP3 = cuid2.closure(/*async*/ function cuid2(caller_ctx,_NAMED) {
var ctx2 = new nqp.Ctx(caller_ctx, ctx1, this);
ctx2["$?PACKAGE"] = wval2;
ctx2["$?CLASS"] = wval2;
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
if (arguments.length > 2) nqp.tooManyPos(arguments.length, 2);return nqp.Null;
});
TMP1 = (p6$ctxsave$local = (ctx1.lookupDynamic("$\u002ACTXSAVE")));
;
if ((/*await*/ (/*await*/ new nqp.NQPInt(((p6$ctxsave$local === nqp.Null) ? 1 : 0)).$$decont(ctx1)).$$toBool(ctx1))) {
} else {
TMP2 = (/*await*/ (/*await*/ p6$ctxsave$local.$$decont(ctx1)).$$can(ctx1,"ctxsave"));
if ((/*await*/ (/*await*/ new nqp.NQPInt(TMP2).$$decont(ctx1)).$$toBool(ctx1))) {
/*await*/ (/*await*/ p6$ctxsave$local.$$decont(ctx1))["p6$ctxsave"](ctx1,null,p6$ctxsave$local);
} else {
}
}
/*await*/ TMP3.$$call(ctx1,null);
return nqp.Null;
},{"GLOBALish": 0,"$?PACKAGE": 0,"EXPORT": 0,"EXPORTHOW": 0},{"GLOBALish":0,"$?PACKAGE":0,"EXPORT":1,"EXPORTHOW":3},null,-1);
cuid2.setInfo(cuid1,null,{"$?PACKAGE": 0,"$?CLASS": 0},{"$?PACKAGE":3,"$?CLASS":3},null,339);
cuid3.setInfo(null,/*async*/ function cuid3(caller_ctx,_NAMED) {
var TMP1;
var p6$ARGS$local;
var ctx3 = 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*/ cuid1.$$decont(ctx3)).$$apply([ctx3,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(cuid1,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","55E6B749F722B203C7A7F92A573AA80FA348A068-1","/home/pmurias/kudo/nqp/gen/js/stage1/QASTCompiler.nqp","DWIMYNameMangling","HLL","JavaScriptBackend","1ECDA6197B47632CEE0C2030738927395EE0E570-1","/home/pmurias/kudo/nqp/gen/js/stage2/NQPHLL.nqp","NQPMatch","F39C373EA89314B7335379E2A140CA5CE656A331-1","/home/pmurias/kudo/nqp/gen/js/stage2/QRegex.nqp","NQPMatchRole","NQPRegex","NQPRegexMethod","QAST","QASTWithMatch","QRegex","RegexCompiler","SerializeOnce","SerializedBytes","Shim","DEFAULT","Uninstantiable","__6MODEL_CORE__","core SC","GLOBALish","EXPORT","74E51161537B870F4081B08F992CF899DFD16B74-1","/home/pmurias/kudo/nqp/gen/js/stage2/nqpmo.nqp","EXPORTHOW","Actions","Backend","CommandLine","Compiler","Grammar","World","BVal","4B4F1B925D57CF3E794541B119D3989E13100D4A-1","/home/pmurias/kudo/nqp/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","051457A441581CF5E88F123F312358D06F7E8713-1","/home/pmurias/kudo/nqp/gen/js/stage2/NQPP6QRegex.nqp","P6Regex"]);
var sc = nqp.op.createsc("F95797A5AB70F277F95086388EFC511010EEB436-0");
var code_refs = nqp.createArray([]);
p6$conflicts$local = nqp.list(HLL, []);
nqp.op.deserialize(HLL, "FQAAAFAAAAAHAAAAiAAAAAcAAADcAAAA0wIAAA4AAABDAwAAbAMAAAAAAABsAwAAAAAAAGwDAABsAwAAAAAAAGwDAAAAAAAAGCY1BAAAAAADAAAABAAAAAgAAAAJAAAACwAAAAwAAAAZAAAAGgAAAB0AAAAeAAAAJwAAACgAAABEAAAARQAAAAEAAAAAAAAAbQAAAAEAAAB3AAAAiAAAAAEAAACSAAAAnwAAABgAAACpAAAAvQAAAAEAAAC9AAAA9AAAAAEAAAD+AAAAwQEAAAEAAADLAQAA7QEAAIWBCpACAAIwHgAQBQACMBsAEAYAAoYHAAIwEAAgCgACMJIAMA0AAjAuADAOAAIwnwAwDwACMJkAMBAAAocRAAIwDAAgEgACiBMAAjCvABAUAAIwBAAQFQACMAMAEBYAAjBcARAKgYICgQQPgYGBgYKAgICBgYCAiYIKghcAAoMKgYICggQPgYGBgYKAgICBgYCAioMKgQqBggKDBA+BgYGBgoCAgIGBgICLhAqBCoGBBA+KRVhQT1JUSE9XgYyGCocgAAIwdAAgIQACMNIDICIAAjDTAyAjAAIwmwAgJAACMC4AICUAAjDhACAKgYIChgQPgYGBgYKAgICBgYCAjYcKmyYAAjBkAGApAAIwpwBgKgACMA4AYCsAAjC8AGAsAAIwAwBgLQACMNkAEC4AAjBPAGAvAAIwyQBgMAACMFYAYDEAAjAaAGAyAAIwPABgMwACMIoAYDQAAjAqABA1AAIwiABgNgACMEMAYDcAAjA+AGA4AAIwXQBgOQACMAkAYDoAAjCgAGA7AAIwmQBgPAACMLgAYD0AAjCUAGA+AAIwdwBgPwACMIUAYEAAAjBpAGBBAAIwcABgCoGCAocED4GBgYGCgICAgYGAgI6ICoRCAAIwAwAwQwACMPQAcEYAAjDoBHAKgYICiAQPgYGBgYKAgICBgYCAAAAAAAAAAAABAAAAAAAAAAIAAAAAAAAAAwAAAAAAAAAAAECAAAAAAAQAAAAGAAAABQAAAAYAAAAGAAAABgAAAAAAQIAGAAAAAABAgAwAAAAKAFCAEgAAAAAAQIAXAAAAAABAgB0AAAAAAECAIwAAABsAB4EKgRwAB4EKgRcAB4EKgQYfAASCBgAHgQqBEAAHgQqBEgAHgQqB",sc,sh,code_refs,p6$conflicts$local,cuids,function() {wval0 = nqp.wval("F95797A5AB70F277F95086388EFC511010EEB436-0",0)
wval1 = nqp.wval("F95797A5AB70F277F95086388EFC511010EEB436-0",1)
wval2 = nqp.wval("F95797A5AB70F277F95086388EFC511010EEB436-0",3)
wval3 = nqp.wval("7763CDD4E0CCF9D5700BBBCABFE4E1B0054B1F39-1",44)
});
nqp.op.scsetdesc(sc,"gen/js/BOOTSTRAP/v6d.nqp");
if ((/*await*/ (/*await*/ new nqp.NQPInt(p6$conflicts$local.$$elems()).$$decont(null)).$$toBool(null))) {
(/*await*/ null.die("Repossession conflicts occurred during deserialization"));
} else {
}
var TMP1,
TMP2,
TMP3,
TMP4,
TMP5;
TMP4 = cuid1.closureCtx(null);
TMP5 = cuid3.closureCtx(null);
nqp.setCodeRefHLL(cuids, HLL, __filename, "gen/js/BOOTSTRAP/v6d.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=v6d.js.map