'use strict'
var nqp = require("nqp-runtime");

nqp.libpath([{module: module, prefix:'./'}, {module: module, prefix:'nqp-js-on-js/'}]);

nqp.execname("/home/pmurias/rakudo/perl6-js");
const HLL=nqp.getHLL("nqp");
var wval0,
wval1,
wval2,
wval3,
wval4;
var cuid1 = new nqp.CodeRef("<mainline>","1"),
cuid2 = new nqp.CodeRef("","2"),
cuid3 = new nqp.CodeRef("MAIN","3"),
cuid4 = new nqp.CodeRef("hll-config","4"),
cuid5 = new nqp.CodeRef("","5"),
cuids = [cuid1,cuid2,cuid3,cuid4,cuid5];
cuid1.setInfo(null,/*async*/ function cuid1(caller_ctx,_NAMED) {
var TMP1,
TMP2,
TMP3,
TMP4,
TMP5,
TMP6,
TMP7,
TMP8,
TMP9,
TMP10;
var p6$____lowered__lex__4$local = nqp.Null,
p6$ctxsave$local = nqp.Null,
p6$____lowered__lex__5$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["$comp"] = nqp.Null;
if (_NAMED !== null) {nqp.noNamed(_NAMED)}
p6$____lowered__lex__5$local = nqp.slurpyPos(HLL, arguments, 2);
TMP1 = cuid3.closureCtx(ctx1);
TMP2 = cuid4.closureCtx(ctx1);
(ctx1["&MAIN"] = TMP1);
(ctx1["&hll-config"] = TMP2);
TMP3 = (p6$ctxsave$local = (ctx1.lookupDynamic("$\u002ACTXSAVE")));
;
if ((/*await*/ (/*await*/ new nqp.NQPInt(((p6$ctxsave$local === nqp.Null) ? 1 : 0)).$$decont(ctx1)).$$toBool(ctx1))) {
} else {
TMP4 = (/*await*/ (/*await*/ p6$ctxsave$local.$$decont(ctx1)).$$can(ctx1,"ctxsave"));
if ((/*await*/ (/*await*/ new nqp.NQPInt(TMP4).$$decont(ctx1)).$$toBool(ctx1))) {
/*await*/ (/*await*/ p6$ctxsave$local.$$decont(ctx1))["ctxsave"](ctx1,null,p6$ctxsave$local);
} else {
}
}
nqp.extraRuntime('perl6', "/home/pmurias/rakudo/src/vm/js/perl6-runtime");
TMP5 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ wval2.$$decont(ctx1))["new"](ctx1,null,wval2)));
(ctx1["$comp"] = TMP5);
/*await*/ (/*await*/ ctx1["$comp"].$$decont(ctx1))["language"](ctx1,null,ctx1["$comp"],new nqp.NativeStrArg("perl6"));
/*await*/ (/*await*/ ctx1["$comp"].$$decont(ctx1))["parsegrammar"](ctx1,null,ctx1["$comp"],wval3);
/*await*/ (/*await*/ ctx1["$comp"].$$decont(ctx1))["parseactions"](ctx1,null,ctx1["$comp"],wval4);
/*await*/ (/*await*/ ctx1["$comp"].$$decont(ctx1))["addstage"](ctx1,{"before":new nqp.NativeStrArg("ast")},ctx1["$comp"],new nqp.NativeStrArg("syntaxcheck"));
/*await*/ (/*await*/ ctx1["$comp"].$$decont(ctx1))["addstage"](ctx1,{"after":new nqp.NativeStrArg("ast")},ctx1["$comp"],new nqp.NativeStrArg("optimize"));
TMP6 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ ctx1["$comp"].$$decont(ctx1))["config"](ctx1,null,ctx1["$comp"])));
/*await*/ (/*await*/ ctx1["&hll-config"].$$decont(ctx1)).$$call(ctx1,null,TMP6);
TMP7 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ ctx1["$comp"].$$decont(ctx1))["config"](ctx1,null,ctx1["$comp"])));
nqp.op.bindhllsym("perl6","$COMPILER_CONFIG",TMP7);
TMP8 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ ctx1["$comp"].$$decont(ctx1))["commandline_options"](ctx1,null,ctx1["$comp"])));
TMP9 = (p6$____lowered__lex__4$local = (TMP8));
;
/*await*/ (/*await*/ p6$____lowered__lex__4$local.$$decont(ctx1))["push"](ctx1,null,p6$____lowered__lex__4$local,new nqp.NativeStrArg("parsetrace"));
/*await*/ (/*await*/ p6$____lowered__lex__4$local.$$decont(ctx1))["push"](ctx1,null,p6$____lowered__lex__4$local,new nqp.NativeStrArg("setting=s"));
/*await*/ (/*await*/ p6$____lowered__lex__4$local.$$decont(ctx1))["push"](ctx1,null,p6$____lowered__lex__4$local,new nqp.NativeStrArg("n"));
/*await*/ (/*await*/ p6$____lowered__lex__4$local.$$decont(ctx1))["push"](ctx1,null,p6$____lowered__lex__4$local,new nqp.NativeStrArg("p"));
/*await*/ (/*await*/ p6$____lowered__lex__4$local.$$decont(ctx1))["push"](ctx1,null,p6$____lowered__lex__4$local,new nqp.NativeStrArg("doc=s?"));
/*await*/ (/*await*/ p6$____lowered__lex__4$local.$$decont(ctx1))["push"](ctx1,null,p6$____lowered__lex__4$local,new nqp.NativeStrArg("optimize=s?"));
/*await*/ (/*await*/ p6$____lowered__lex__4$local.$$decont(ctx1))["push"](ctx1,null,p6$____lowered__lex__4$local,new nqp.NativeStrArg("c"));
/*await*/ (/*await*/ p6$____lowered__lex__4$local.$$decont(ctx1))["push"](ctx1,null,p6$____lowered__lex__4$local,new nqp.NativeStrArg("I=s"));
/*await*/ (/*await*/ p6$____lowered__lex__4$local.$$decont(ctx1))["push"](ctx1,null,p6$____lowered__lex__4$local,new nqp.NativeStrArg("M=s"));
/*await*/ (/*await*/ p6$____lowered__lex__4$local.$$decont(ctx1))["push"](ctx1,null,p6$____lowered__lex__4$local,new nqp.NativeStrArg("nqp-lib=s"));
/*await*/ (/*await*/ p6$____lowered__lex__4$local.$$decont(ctx1))["push"](ctx1,null,p6$____lowered__lex__4$local,new nqp.NativeStrArg("beautify"));
TMP10 = nqp.list(HLL,[]);
nqp.op.bindhllsym("perl6","@END_PHASERS",TMP10);
nqp.op.bindhllsym("perl6","$!ARGITER",new nqp.NQPInt((0)));
if ((/*await*/ (/*await*/ p6$____lowered__lex__5$local.$$decont(ctx1)).$$toBool(ctx1))) {
/*await*/ (/*await*/ ctx1["&MAIN"].$$decont(ctx1)).$$apply([ctx1,null].concat((p6$____lowered__lex__5$local).$$flatArgs()));
} else {
}
return nqp.Null;
},{"GLOBALish": 0,"$?PACKAGE": 0,"EXPORT": 0,"$comp": 0,"&MAIN": 0,"&hll-config": 0},{"GLOBALish":0,"$?PACKAGE":0,"EXPORT":1},null,-1);
cuid2.setInfo(cuid3,null,{},null,null,1315);
cuid3.setInfo(cuid1,/*async*/ function cuid3(caller_ctx,_NAMED) {
var TMP1,
TMP2,
TMP3;
var 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);
TMP2 = cuid2.closure(/*async*/ function cuid2(caller_ctx,_NAMED,param4) {
var TMP1;
var p6$____lowered__lex__1$local;
var ctx3 = new nqp.Ctx(caller_ctx, ctx2, 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__1$local = nqp.arg(HLL, param4);
TMP1 = (/*await*/ nqp.retval(HLL, /*await*/ (/*await*/ p6$____lowered__lex__1$local.$$decont(ctx3)).$$call(ctx3,null)));
return TMP1;
});
/*await*/ (/*await*/ ctx1["$comp"].$$decont(ctx2))["command_line"](ctx2,{"encoding":new nqp.NativeStrArg("utf8"),"transcode":new nqp.NativeStrArg("ascii iso-8859-1")},ctx1["$comp"],p6$____lowered__lex__2$local);
if ((/*await*/ (/*await*/ nqp.op.gethllsym("perl6","&THE_END").$$decont(ctx2)).$$toBool(ctx2))) {
TMP3 = /*await*/ TMP2.$$call(ctx2,null,nqp.op.gethllsym("perl6","&THE_END"));
TMP1 = TMP3;
} else {
TMP1 = nqp.op.gethllsym("perl6","&THE_END");
}
return TMP1;
},{},null,null,1094);
cuid4.setInfo(cuid1,/*async*/ function cuid4(caller_ctx,_NAMED,param6) {
var TMP1;
var p6$____lowered__lex__3$local;
var ctx5 = 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__3$local = nqp.arg(HLL, param6);
p6$____lowered__lex__3$local.$$bindkey("implementation",new nqp.NQPStr("Rakudo"));
p6$____lowered__lex__3$local.$$bindkey("version",new nqp.NQPStr("2018.03-1432-g499b21927"));
p6$____lowered__lex__3$local.$$bindkey("release-number",new nqp.NQPStr(""));
p6$____lowered__lex__3$local.$$bindkey("codename",new nqp.NQPStr(""));
p6$____lowered__lex__3$local.$$bindkey("build-date",new nqp.NQPStr("2018-09-26T18:34:44Z"));
p6$____lowered__lex__3$local.$$bindkey("language_version",new nqp.NQPStr("6.c"));
p6$____lowered__lex__3$local.$$bindkey("prefix",new nqp.NQPStr(""));
p6$____lowered__lex__3$local.$$bindkey("libdir",new nqp.NQPStr(""));
TMP1 = p6$____lowered__lex__3$local.$$bindkey("source-digest",new nqp.NQPStr("de36918d32f8e0d8206bacf7b9a1b93d083fd680"));
return TMP1;
},{},null,null,1409);
cuid5.setInfo(null,/*async*/ function cuid5(caller_ctx,_NAMED) {
var TMP1;
var p6$ARGS$local;
var ctx7 = 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(ctx7)).$$apply([ctx7,null].concat((p6$ARGS$local).$$flatArgs()))));
return TMP1;
},{},null,null,-1);
module.exports = 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))["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))["load_module"](ctxWithPath,null,nqp.op.gethllsym("nqp", "ModuleLoader"),new nqp.NativeStrArg("NQPP6QRegex"));
/*await*/ (/*await*/ nqp.op.gethllsym("nqp", "ModuleLoader").$$decont(ctxWithPath))["load_module"](ctxWithPath,null,nqp.op.gethllsym("nqp", "ModuleLoader"),new nqp.NativeStrArg("Perl6::Grammar"));
/*await*/ (/*await*/ nqp.op.gethllsym("nqp", "ModuleLoader").$$decont(ctxWithPath))["load_module"](ctxWithPath,null,nqp.op.gethllsym("nqp", "ModuleLoader"),new nqp.NativeStrArg("Perl6::Actions"));
/*await*/ (/*await*/ nqp.op.gethllsym("nqp", "ModuleLoader").$$decont(ctxWithPath))["load_module"](ctxWithPath,null,nqp.op.gethllsym("nqp", "ModuleLoader"),new nqp.NativeStrArg("Perl6::Compiler"));
var p6$conflicts$local = nqp.Null;
var sh = nqp.createArray([nqp.null_s,"P6opaque","Chunk","D7D22A8323C07C0E38636F371FE18292E990C521-1","gen/js/stage1/QASTCompiler.nqp","DWIMYNameMangling","HLL","JavaScriptBackend","99CD1E1EE86CA9641A27F6CE84DCC630D6ED521C-1","gen/js/stage2/NQPHLL.nqp","NQPMatch","5C4B1DDBE1BDE9E9C54058D1298C7D604133702E-1","gen/js/stage2/QRegex.nqp","NQPMatchRole","NQPRegex","NQPRegexMethod","QAST","QASTWithMatch","QRegex","RegexCompiler","SerializeOnce","Shim","Perl6","STDActions","0BA9010A3CDD853D9B32726E8A71A68A06B0CB83-0","gen/js/Perl6-Actions.nqp","startstops","097AE0D16E2D800758A2C5144CED62C2A25E851F-0","src/Perl6/Grammar.nqp","startstop","stop","STD","DEFAULT","__6MODEL_CORE__","core SC","GLOBALish","EXPORT","Actions","Backend","CommandLine","Compiler","Grammar","World","BVal","A2DFB234EBD3CCFD43A19AC7FBE58855DBB59658-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","FE3C3244DE1479AA7C3D18C77B8C2372DC6D3E1C-1","gen/js/stage2/NQPP6QRegex.nqp","P6Regex","P5Regex","Pod","68C40BAD237BDEED959CCCA42B187979BED6EF30-0","src/Perl6/Pod.nqp","QActions","RegexActions","P5RegexActions","ModuleLoaderVMConfig","AC9CD69425F7FD7B5B18BA201C0ED623D9FDED59-0","gen/js/ModuleLoader.nqp","ModuleLoader","FFAC09D5BF228124786C05BF77E87B0F1ABB2F36-0","src/Perl6/World.nqp","QGrammar","RegexGrammar","P5RegexGrammar","D70D18297C199B46F3F3C3E56C97E36977FF256D-0","gen/js/Perl6-Optimizer.nqp","D6CCE63DE989A7527A2E811FB8713B81B1476047-0","src/Perl6/Compiler.nqp","8D94B36983B990F01F2D2937B2AF1DD7B89FBCF9-1","gen/js/stage2/NQPP5QRegex.nqp"]);
var sc = nqp.op.createsc("8762EC02603DABDF7A2D4948914E13F0A45BDC3E-0");
var code_refs = nqp.createArray([]);
p6$conflicts$local = nqp.list(HLL, []);
nqp.op.deserialize(HLL, "FAAAAFAAAAAOAAAAwAAAAAgAAAAgAQAAywMAABAAAABLBAAAewQAAAAAAAB7BAAAAAAAAHsEAAB7BAAAAAAAAHsEAAAAAAAAQDdABAAAAAADAAAABAAAAAgAAAAJAAAACwAAAAwAAAAYAAAAGQ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IwoADgKQACMAUA4CoAAjADAOAKgYICjgQPgYGBgoCAgIGBgIAAAAAAAAAAAAEAAAAAAAAAAgAAAAAAAAAAAGCAAAAAAAMAAAAGAAAABAAAAAYAAAAFAAAABgAAAAYAAAAGAAAAAABggAYAAAAAAGCADAAAAAAAYIASAAAAAABggBgAAAAAAGCAHgAAAAcAAAAkAAAAAABggCQAAAAAAGCAKgAAACMAB4EKgSQAB4EKgSAAB4EKgQYAB4EKgRAAB4EKgRIAB4EKgRYAB4EKgUwAB4EKgQ==",sc,sh,code_refs,p6$conflicts$local,cuids,function() {wval0 = nqp.wval("8762EC02603DABDF7A2D4948914E13F0A45BDC3E-0",0)
wval1 = nqp.wval("8762EC02603DABDF7A2D4948914E13F0A45BDC3E-0",1)
wval2 = nqp.wval("D6CCE63DE989A7527A2E811FB8713B81B1476047-0",3)
wval3 = nqp.wval("097AE0D16E2D800758A2C5144CED62C2A25E851F-0",70)
wval4 = nqp.wval("0BA9010A3CDD853D9B32726E8A71A68A06B0CB83-0",8)
});
nqp.op.scsetdesc(sc,"gen/js/main.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 = cuid5.closureCtx(null);
nqp.setCodeRefHLL(cuids, HLL, __filename);
/*await*/ TMP5.$$apply([nqp.loaderCtx, null].concat(nqp.args(module)));
});
//# sourceMappingURL=rakudo.js.map
