From 9d27d6818f83308c4853e3d8870d5b88a374453f Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Sun, 7 Aug 2016 10:38:34 -0700 Subject: add drop and tee expressions --- src/binaryen-c.cpp | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) (limited to 'src/binaryen-c.cpp') diff --git a/src/binaryen-c.cpp b/src/binaryen-c.cpp index 83c626eb1..71c6cad80 100644 --- a/src/binaryen-c.cpp +++ b/src/binaryen-c.cpp @@ -488,6 +488,21 @@ BinaryenExpressionRef BinaryenSetLocal(BinaryenModuleRef module, BinaryenIndex i ret->index = index; ret->value = (Expression*)value; + ret->setTee(false); + ret->finalize(); + return static_cast(ret); +} +BinaryenExpressionRef BinaryenTeeLocal(BinaryenModuleRef module, BinaryenIndex index, BinaryenExpressionRef value) { + auto* ret = ((Module*)module)->allocator.alloc(); + + if (tracing) { + auto id = noteExpression(ret); + std::cout << " expressions[" << id << "] = BinaryenTeeLocal(the_module, " << index << ", expressions[" << expressions[value] << "]);\n"; + } + + ret->index = index; + ret->value = (Expression*)value; + ret->setTee(true); ret->finalize(); return static_cast(ret); } @@ -508,12 +523,12 @@ BinaryenExpressionRef BinaryenLoad(BinaryenModuleRef module, uint32_t bytes, int ret->finalize(); return static_cast(ret); } -BinaryenExpressionRef BinaryenStore(BinaryenModuleRef module, uint32_t bytes, uint32_t offset, uint32_t align, BinaryenExpressionRef ptr, BinaryenExpressionRef value) { +BinaryenExpressionRef BinaryenStore(BinaryenModuleRef module, uint32_t bytes, uint32_t offset, uint32_t align, BinaryenExpressionRef ptr, BinaryenExpressionRef value, BinaryenType type) { auto* ret = ((Module*)module)->allocator.alloc(); if (tracing) { auto id = noteExpression(ret); - std::cout << " expressions[" << id << "] = BinaryenStore(the_module, " << bytes << ", " << offset << ", " << align << ", expressions[" << expressions[ptr] << "], expressions[" << expressions[value] << "]);\n"; + std::cout << " expressions[" << id << "] = BinaryenStore(the_module, " << bytes << ", " << offset << ", " << align << ", expressions[" << expressions[ptr] << "], expressions[" << expressions[value] << "], " << type << ");\n"; } ret->bytes = bytes; @@ -521,6 +536,7 @@ BinaryenExpressionRef BinaryenStore(BinaryenModuleRef module, uint32_t bytes, ui ret->align = align ? align : bytes; ret->ptr = (Expression*)ptr; ret->value = (Expression*)value; + ret->valueType = WasmType(type); ret->finalize(); return static_cast(ret); } @@ -584,6 +600,18 @@ BinaryenExpressionRef BinaryenSelect(BinaryenModuleRef module, BinaryenExpressio ret->finalize(); return static_cast(ret); } +BinaryenExpressionRef BinaryenDrop(BinaryenModuleRef module, BinaryenExpressionRef value) { + auto* ret = ((Module*)module)->allocator.alloc(); + + if (tracing) { + auto id = noteExpression(ret); + std::cout << " expressions[" << id << "] = BinaryenDrop(the_module, expressions[" << expressions[value] << "]);\n"; + } + + ret->value = (Expression*)value; + ret->finalize(); + return static_cast(ret); +} BinaryenExpressionRef BinaryenReturn(BinaryenModuleRef module, BinaryenExpressionRef value) { auto* ret = Builder(*((Module*)module)).makeReturn((Expression*)value); @@ -829,6 +857,17 @@ void BinaryenModuleOptimize(BinaryenModuleRef module) { passRunner.run(); } +void BinaryenModuleAutoDrop(BinaryenModuleRef module) { + if (tracing) { + std::cout << " BinaryenModuleAutoDrop(the_module);\n"; + } + + Module* wasm = (Module*)module; + PassRunner passRunner(wasm); + passRunner.add(); + passRunner.run(); +} + size_t BinaryenModuleWrite(BinaryenModuleRef module, char* output, size_t outputSize) { if (tracing) { std::cout << " // BinaryenModuleWrite\n"; -- cgit v1.2.3 From f30d9f6cde023b29409f73aba68f472c06c3b11c Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 3 Aug 2016 12:12:24 -0700 Subject: loops no longer have an out label and other upstream loop updates --- src/asm2wasm.h | 34 +- src/ast_utils.h | 11 +- src/binaryen-c.cpp | 9 +- src/binaryen-c.h | 3 +- src/cfg/Relooper.cpp | 2 +- src/cfg/cfg-traversal.h | 14 +- src/passes/DeadCodeElimination.cpp | 8 +- src/passes/NameManager.cpp | 3 +- src/passes/Print.cpp | 16 +- src/passes/RemoveUnusedNames.cpp | 28 +- src/s2wasm.h | 7 +- src/wasm-binary.h | 11 +- src/wasm-builder.h | 20 +- src/wasm-interpreter.h | 3 +- src/wasm-s-parser.h | 20 +- src/wasm-validator.h | 14 +- src/wasm.cpp | 10 +- src/wasm.h | 2 +- test/emcc_O2_hello_world.fromasm | 2358 +-- test/emcc_O2_hello_world.fromasm.imprecise | 2358 +-- test/emcc_O2_hello_world.fromasm.imprecise.no-opts | 2896 +-- test/emcc_O2_hello_world.fromasm.no-opts | 2896 +-- test/emcc_hello_world.fromasm | 11546 ++++++------ test/emcc_hello_world.fromasm.imprecise | 11546 ++++++------ test/emcc_hello_world.fromasm.imprecise.no-opts | 18802 ++++++++++--------- test/emcc_hello_world.fromasm.no-opts | 18802 ++++++++++--------- test/example/c-api-kitchen-sink.c | 5 +- test/example/c-api-kitchen-sink.txt | 226 +- test/example/c-api-kitchen-sink.txt.txt | 61 +- test/memorygrowth.fromasm | 2368 +-- test/memorygrowth.fromasm.imprecise | 2368 +-- test/memorygrowth.fromasm.imprecise.no-opts | 2918 +-- test/memorygrowth.fromasm.no-opts | 2918 +-- test/passes/coalesce-locals-learning.txt | 214 +- test/passes/coalesce-locals-learning.wast | 214 +- test/passes/coalesce-locals.txt | 194 +- test/passes/coalesce-locals.wast | 194 +- test/passes/dce.txt | 12 +- test/passes/dce.wast | 8 +- test/passes/duplicate-function-elimination.txt | 2 +- test/passes/duplicate-function-elimination.wast | 4 +- test/passes/nm.txt | 2 +- test/passes/nm.wast | 2 +- test/passes/precompute.txt | 2 +- test/passes/precompute.wast | 2 +- test/passes/remove-unused-names.txt | 45 +- test/passes/remove-unused-names.wast | 35 +- test/passes/simplify-locals.txt | 2 +- test/passes/simplify-locals.wast | 2 +- test/passes/vacuum.wast | 6 +- test/unit.fromasm | 84 +- test/unit.fromasm.imprecise | 84 +- test/unit.fromasm.imprecise.no-opts | 140 +- test/unit.fromasm.no-opts | 140 +- test/unit.wast | 10 +- test/unit.wast.fromBinary | 12 +- 56 files changed, 42381 insertions(+), 41312 deletions(-) (limited to 'src/binaryen-c.cpp') diff --git a/src/asm2wasm.h b/src/asm2wasm.h index 857145937..2d0d1300e 100644 --- a/src/asm2wasm.h +++ b/src/asm2wasm.h @@ -1478,8 +1478,7 @@ Function* Asm2WasmBuilder::processFunction(Ref ast) { out = getNextId("while-out"); in = getNextId("while-in"); } - ret->out = out; - ret->in = in; + ret->name = in; breakStack.push_back(out); continueStack.push_back(in); if (forever) { @@ -1497,9 +1496,9 @@ Function* Asm2WasmBuilder::processFunction(Ref ast) { ret->body = body; } // loops do not automatically loop, add a branch back - Block* block = blockify(ret->body); + Block* block = builder.blockifyWithName(ret->body, out); auto continuer = allocator.alloc(); - continuer->name = ret->in; + continuer->name = ret->name; block->list.push_back(continuer); ret->body = block; continueStack.pop_back(); @@ -1536,13 +1535,12 @@ Function* Asm2WasmBuilder::processFunction(Ref ast) { } else { auto loop = allocator.alloc(); loop->body = child; - loop->out = stop; - loop->in = more; - return loop; + loop->name = more; + return builder.blockifyWithName(loop, stop); } } // general do-while loop - auto ret = allocator.alloc(); + auto loop = allocator.alloc(); IString out, in; if (!parentLabel.isNull()) { out = getBreakLabelName(parentLabel); @@ -1552,20 +1550,18 @@ Function* Asm2WasmBuilder::processFunction(Ref ast) { out = getNextId("do-out"); in = getNextId("do-in"); } - ret->out = out; - ret->in = in; + loop->name = in; breakStack.push_back(out); continueStack.push_back(in); - ret->body = process(ast[2]); + loop->body = process(ast[2]); continueStack.pop_back(); breakStack.pop_back(); Break *continuer = allocator.alloc(); continuer->name = in; continuer->condition = process(ast[1]); - Block *block = blockify(ret->body); - block->list.push_back(continuer); - ret->body = block; - return ret; + Block *block = builder.blockifyWithName(loop->body, out, continuer); + loop->body = block; + return loop; } else if (what == FOR) { Ref finit = ast[1], fcond = ast[2], @@ -1581,8 +1577,7 @@ Function* Asm2WasmBuilder::processFunction(Ref ast) { out = getNextId("for-out"); in = getNextId("for-in"); } - ret->out = out; - ret->in = in; + ret->name = in; breakStack.push_back(out); continueStack.push_back(in); Break *breakOut = allocator.alloc(); @@ -1597,10 +1592,9 @@ Function* Asm2WasmBuilder::processFunction(Ref ast) { body->finalize(); ret->body = body; // loops do not automatically loop, add a branch back - Block* block = blockify(ret->body); auto continuer = allocator.alloc(); - continuer->name = ret->in; - block->list.push_back(continuer); + continuer->name = ret->name; + Block* block = builder.blockifyWithName(ret->body, out, continuer); ret->body = block; continueStack.pop_back(); breakStack.pop_back(); diff --git a/src/ast_utils.h b/src/ast_utils.h index 17f5490a9..30e1d9a36 100644 --- a/src/ast_utils.h +++ b/src/ast_utils.h @@ -148,8 +148,7 @@ struct EffectAnalyzer : public PostWalkername.is()) breakNames.erase(curr->name); // these were internal breaks } void visitLoop(Loop* curr) { - if (curr->in.is()) breakNames.erase(curr->in); // these were internal breaks - if (curr->out.is()) breakNames.erase(curr->out); // these were internal breaks + if (curr->name.is()) breakNames.erase(curr->name); // these were internal breaks } void visitCall(Call *curr) { calls = true; } @@ -245,7 +244,7 @@ struct ExpressionManipulator { return builder.makeIf(copy(curr->condition), copy(curr->ifTrue), copy(curr->ifFalse)); } Expression* visitLoop(Loop *curr) { - return builder.makeLoop(curr->out, curr->in, copy(curr->body)); + return builder.makeLoop(curr->name, copy(curr->body)); } Expression* visitBreak(Break *curr) { return builder.makeBreak(curr->name, copy(curr->value), copy(curr->condition)); @@ -438,8 +437,7 @@ struct ExpressionAnalyzer { break; } case Expression::Id::LoopId: { - if (!noteNames(left->cast()->out, right->cast()->out)) return false; - if (!noteNames(left->cast()->in, right->cast()->in)) return false; + if (!noteNames(left->cast()->name, right->cast()->name)) return false; PUSH(Loop, body); break; } @@ -655,8 +653,7 @@ struct ExpressionAnalyzer { break; } case Expression::Id::LoopId: { - noteName(curr->cast()->out); - noteName(curr->cast()->in); + noteName(curr->cast()->name); PUSH(Loop, body); break; } diff --git a/src/binaryen-c.cpp b/src/binaryen-c.cpp index 71c6cad80..8703237d5 100644 --- a/src/binaryen-c.cpp +++ b/src/binaryen-c.cpp @@ -338,16 +338,13 @@ BinaryenExpressionRef BinaryenIf(BinaryenModuleRef module, BinaryenExpressionRef return static_cast(ret); } -BinaryenExpressionRef BinaryenLoop(BinaryenModuleRef module, const char* out, const char* in, BinaryenExpressionRef body) { - if (out && !in) abort(); - auto* ret = Builder(*((Module*)module)).makeLoop(out ? Name(out) : Name(), in ? Name(in) : Name(), (Expression*)body); +BinaryenExpressionRef BinaryenLoop(BinaryenModuleRef module, const char* name, BinaryenExpressionRef body) { + auto* ret = Builder(*((Module*)module)).makeLoop(name ? Name(name) : Name(), (Expression*)body); if (tracing) { auto id = noteExpression(ret); std::cout << " expressions[" << id << "] = BinaryenLoop(the_module, "; - traceNameOrNULL(out); - std::cout << ", "; - traceNameOrNULL(in); + traceNameOrNULL(name); std::cout << ", expressions[" << expressions[body] << "]);\n"; } diff --git a/src/binaryen-c.h b/src/binaryen-c.h index 7ca5cd6c7..5d7520a77 100644 --- a/src/binaryen-c.h +++ b/src/binaryen-c.h @@ -265,8 +265,7 @@ typedef void* BinaryenExpressionRef; BinaryenExpressionRef BinaryenBlock(BinaryenModuleRef module, const char* name, BinaryenExpressionRef* children, BinaryenIndex numChildren); // If: ifFalse can be NULL BinaryenExpressionRef BinaryenIf(BinaryenModuleRef module, BinaryenExpressionRef condition, BinaryenExpressionRef ifTrue, BinaryenExpressionRef ifFalse); -// Loop: both out and in can be NULL, or just out can be NULL -BinaryenExpressionRef BinaryenLoop(BinaryenModuleRef module, const char* out, const char* in, BinaryenExpressionRef body); +BinaryenExpressionRef BinaryenLoop(BinaryenModuleRef module, const char* in, BinaryenExpressionRef body); // Break: value and condition can be NULL BinaryenExpressionRef BinaryenBreak(BinaryenModuleRef module, const char* name, BinaryenExpressionRef condition, BinaryenExpressionRef value); // Switch: value can be NULL diff --git a/src/cfg/Relooper.cpp b/src/cfg/Relooper.cpp index e75adbce5..8a5337ed0 100644 --- a/src/cfg/Relooper.cpp +++ b/src/cfg/Relooper.cpp @@ -383,7 +383,7 @@ wasm::Expression* MultipleShape::Render(RelooperBuilder& Builder, bool InLoop) { // LoopShape wasm::Expression* LoopShape::Render(RelooperBuilder& Builder, bool InLoop) { - wasm::Expression* Ret = Builder.makeLoop(wasm::Name(), Builder.getShapeContinueName(Id), Inner->Render(Builder, true)); + wasm::Expression* Ret = Builder.makeLoop(Builder.getShapeContinueName(Id), Inner->Render(Builder, true)); Ret = HandleFollowupMultiples(Ret, this, Builder, InLoop); if (Next) { Ret = Builder.makeSequence(Ret, Next->Render(Builder, InLoop)); diff --git a/src/cfg/cfg-traversal.h b/src/cfg/cfg-traversal.h index d690de4aa..2b96fc67a 100644 --- a/src/cfg/cfg-traversal.h +++ b/src/cfg/cfg-traversal.h @@ -130,23 +130,15 @@ struct CFGWalker : public PostWalker { auto* last = self->currBasicBlock; doStartBasicBlock(self, currp); self->link(last, self->currBasicBlock); // fallthrough - // branches to the new one auto* curr = (*currp)->cast(); - if (curr->out.is()) { - auto& origins = self->branches[curr->out]; - for (auto* origin : origins) { - self->link(origin, self->currBasicBlock); - } - self->branches.erase(curr->out); - } // branches to the top of the loop - if (curr->in.is()) { + if (curr->name.is()) { auto* loopStart = self->loopStack.back(); - auto& origins = self->branches[curr->in]; + auto& origins = self->branches[curr->name]; for (auto* origin : origins) { self->link(origin, loopStart); } - self->branches.erase(curr->in); + self->branches.erase(curr->name); } self->loopStack.pop_back(); } diff --git a/src/passes/DeadCodeElimination.cpp b/src/passes/DeadCodeElimination.cpp index 866b3cb73..b30b8ffbd 100644 --- a/src/passes/DeadCodeElimination.cpp +++ b/src/passes/DeadCodeElimination.cpp @@ -132,12 +132,8 @@ struct DeadCodeElimination : public WalkerPassin.is()) { - reachableBreaks.erase(curr->in); - } - if (curr->out.is()) { - reachable = reachable || reachableBreaks.count(curr->out); - reachableBreaks.erase(curr->out); + if (curr->name.is()) { + reachableBreaks.erase(curr->name); } if (isDead(curr->body)) { replaceCurrent(curr->body); diff --git a/src/passes/NameManager.cpp b/src/passes/NameManager.cpp index df8b34557..9f0198c2f 100644 --- a/src/passes/NameManager.cpp +++ b/src/passes/NameManager.cpp @@ -37,8 +37,7 @@ void NameManager::visitBlock(Block* curr) { names.insert(curr->name); } void NameManager::visitLoop(Loop* curr) { - names.insert(curr->out); - names.insert(curr->in); + names.insert(curr->name); } void NameManager::visitBreak(Break* curr) { names.insert(curr->name); diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index e54468c41..4fb9274c7 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -64,7 +64,9 @@ struct PrintSExpression : public Visitor { } void printFullLine(Expression *expression) { !minify && doIndent(o, indent); - //o << "[" << printWasmType(expression->type) << "] "; // debugging tool +#ifdef DEBUG_TYPES + o << "[" << printWasmType(expression->type) << "] "; +#endif visit(expression); o << maybeNewLine; } @@ -152,12 +154,8 @@ struct PrintSExpression : public Visitor { } void visitLoop(Loop *curr) { printOpening(o, "loop"); - if (curr->out.is()) { - o << ' ' << curr->out; - assert(curr->in.is()); // if just one is printed, it must be the in - } - if (curr->in.is()) { - o << ' ' << curr->in; + if (curr->name.is()) { + o << ' ' << curr->name; } incIndent(); auto block = curr->body->dynCast(); @@ -734,7 +732,9 @@ Pass *createFullPrinterPass() { std::ostream& WasmPrinter::printExpression(Expression* expression, std::ostream& o, bool minify) { PrintSExpression print(o); print.setMinify(minify); - //o << "[" << printWasmType(expression->type) << "] "; // debugging tool +#ifdef DEBUG_TYPES + o << "[" << printWasmType(expression->type) << "] "; +#endif print.visit(expression); return o; } diff --git a/src/passes/RemoveUnusedNames.cpp b/src/passes/RemoveUnusedNames.cpp index 9c6743479..8e24f9549 100644 --- a/src/passes/RemoveUnusedNames.cpp +++ b/src/passes/RemoveUnusedNames.cpp @@ -76,34 +76,12 @@ struct RemoveUnusedNames : public WalkerPassname); - if (curr->name.is() && curr->list.size() == 1) { - auto* child = curr->list[0]->dynCast(); - if (child && !child->out.is()) { - // we have just one child, this loop, and it lacks an out label. So this block's name is doing just that! - child->out = curr->name; - replaceCurrent(child); - } - } } void visitLoop(Loop *curr) { - handleBreakTarget(curr->in); - // Loops can have just 'in', but cannot have just 'out' - auto out = curr->out; - handleBreakTarget(curr->out); - if (curr->out.is() && !curr->in.is()) { - auto* block = getModule()->allocator.alloc(); - block->name = out; - block->list.push_back(curr->body); - replaceCurrent(block); - } - if (curr->in.is() && !curr->out.is()) { - auto* child = curr->body->dynCast(); - if (child && child->name.is()) { - // we have just one child, this block, and we lack an out label. So we can take the block's! - curr->out = child->name; - child->name = Name(); - } + handleBreakTarget(curr->name); + if (!curr->name.is()) { + replaceCurrent(curr->body); } } diff --git a/src/s2wasm.h b/src/s2wasm.h index 5226ceda3..8c04f7891 100644 --- a/src/s2wasm.h +++ b/src/s2wasm.h @@ -1064,7 +1064,7 @@ class S2WasmBuilder { if (target->is()) { return target->cast()->name; } else { - return target->cast()->in; + return target->cast()->name; } }; // fixups @@ -1099,10 +1099,9 @@ class S2WasmBuilder { } else if (match("loop")) { auto curr = allocator->alloc(); addToBlock(curr); - curr->in = getNextLabel(); - curr->out = getNextLabel(); + curr->name = getNextLabel(); auto block = allocator->alloc(); - block->name = curr->out; // temporary, fake - this way, on bstack we have the right label at the right offset for a br + block->name = getNextLabel(); curr->body = block; loopBlocks.push_back(block); bstack.push_back(block); diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 791a0459b..373465296 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -875,11 +875,9 @@ public: void visitLoop(Loop *curr) { if (debug) std::cerr << "zz node: Loop" << std::endl; o << int8_t(BinaryConsts::Loop); - breakStack.push_back(curr->out); - breakStack.push_back(curr->in); + breakStack.push_back(curr->name); recursePossibleBlockContents(curr->body); breakStack.pop_back(); - breakStack.pop_back(); o << int8_t(BinaryConsts::End); } @@ -1841,13 +1839,10 @@ public: } void visitLoop(Loop *curr) { if (debug) std::cerr << "zz node: Loop" << std::endl; - curr->out = getNextLabel(); - curr->in = getNextLabel(); - breakStack.push_back(curr->out); - breakStack.push_back(curr->in); + curr->name = getNextLabel(); + breakStack.push_back(curr->name); curr->body = getMaybeBlock(); breakStack.pop_back(); - breakStack.pop_back(); curr->finalize(); } diff --git a/src/wasm-builder.h b/src/wasm-builder.h index 3cba351a2..e68fd5ef2 100644 --- a/src/wasm-builder.h +++ b/src/wasm-builder.h @@ -82,9 +82,9 @@ public: ret->finalize(); return ret; } - Loop* makeLoop(Name out, Name in, Expression* body) { + Loop* makeLoop(Name name, Expression* body) { auto* ret = allocator.alloc(); - ret->out = out; ret->in = in; ret->body = body; + ret->name = name; ret->body = body; ret->finalize(); return ret; } @@ -265,7 +265,21 @@ public: if (!block) block = makeBlock(any); if (append) { block->list.push_back(append); - block->finalize(); + block->finalize(); // TODO: move out of if + } + return block; + } + + // ensure a node is a block, if it isn't already, and optionally append to the block + // this variant sets a name for the block, so it will not reuse a block already named + Block* blockifyWithName(Expression* any, Name name, Expression* append = nullptr) { + Block* block = nullptr; + if (any) block = any->dynCast(); + if (!block || block->name.is()) block = makeBlock(any); + block->name = name; + if (append) { + block->list.push_back(append); + block->finalize(); // TODO: move out of if } return block; } diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h index 77cbd8aab..247d34500 100644 --- a/src/wasm-interpreter.h +++ b/src/wasm-interpreter.h @@ -170,8 +170,7 @@ public: while (1) { Flow flow = visit(curr->body); if (flow.breaking()) { - if (flow.breakTo == curr->in) continue; // lol - flow.clearIf(curr->out); + if (flow.breakTo == curr->name) continue; // lol } return flow; // loop does not loop automatically, only continue achieves that } diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h index 49fd52ef0..28975c7e3 100644 --- a/src/wasm-s-parser.h +++ b/src/wasm-s-parser.h @@ -1171,24 +1171,28 @@ private: Expression* makeLoop(Element& s) { auto ret = allocator.alloc(); size_t i = 1; + Name out; if (s.size() > i + 1 && s[i]->isStr() && s[i + 1]->isStr()) { // out can only be named if both are - ret->out = s[i]->str(); + out = s[i]->str(); i++; - } else { - ret->out = getPrefixedName("loop-out"); } if (s.size() > i && s[i]->isStr()) { - ret->in = s[i]->str(); + ret->name = s[i]->str(); i++; } else { - ret->in = getPrefixedName("loop-in"); + ret->name = getPrefixedName("loop-in"); } - labelStack.push_back(ret->out); - labelStack.push_back(ret->in); + labelStack.push_back(ret->name); ret->body = makeMaybeBlock(s, i); labelStack.pop_back(); - labelStack.pop_back(); ret->finalize(); + if (out.is()) { + auto* block = allocator.alloc(); + block->name = out; + block->list.push_back(ret); + block->finalize(); + return block; + } return ret; } diff --git a/src/wasm-validator.h b/src/wasm-validator.h index ca89270e9..5844dafcd 100644 --- a/src/wasm-validator.h +++ b/src/wasm-validator.h @@ -89,16 +89,16 @@ public: static void visitPreLoop(WasmValidator* self, Expression** currp) { auto* curr = (*currp)->cast(); - if (curr->in.is()) self->breakTargets[curr->in].push_back(curr); - if (curr->out.is()) self->breakTargets[curr->out].push_back(curr); + if (curr->name.is()) self->breakTargets[curr->name].push_back(curr); } void visitLoop(Loop *curr) { - if (curr->in.is()) { - breakTargets[curr->in].pop_back(); - } - if (curr->out.is()) { - breakTargets[curr->out].pop_back(); + if (curr->name.is()) { + breakTargets[curr->name].pop_back(); + if (breakInfos.count(curr) > 0) { + auto& info = breakInfos[curr]; + shouldBeEqual(info.arity, Index(0), curr, "breaks to a loop cannot pass a value"); + } } } diff --git a/src/wasm.cpp b/src/wasm.cpp index 8cfdee759..f6486eb50 100644 --- a/src/wasm.cpp +++ b/src/wasm.cpp @@ -120,7 +120,7 @@ struct TypeSeeker : public PostWalker> { void visitLoop(Loop* curr) { if (curr == target) { types.push_back(curr->body->type); - } else if (curr->in == targetName || curr->out == targetName) { + } else if (curr->name == targetName) { types.clear(); // ignore all breaks til now, they were captured by someone with the same name } } @@ -162,13 +162,7 @@ void Block::finalize() { } void Loop::finalize() { - if (!out.is()) { - type = body->type; - return; - } - - TypeSeeker seeker(this, this->out); - type = mergeTypes(seeker.types); + type = body->type; } } // namespace wasm diff --git a/src/wasm.h b/src/wasm.h index ee3e12910..de86ebba0 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -1001,7 +1001,7 @@ public: Loop() {} Loop(MixedArena& allocator) {} - Name out, in; + Name name; Expression *body; // set the type of a loop if you already know it diff --git a/test/emcc_O2_hello_world.fromasm b/test/emcc_O2_hello_world.fromasm index 5f36a6209..31e1ff280 100644 --- a/test/emcc_O2_hello_world.fromasm +++ b/test/emcc_O2_hello_world.fromasm @@ -757,70 +757,72 @@ (set_local $1 (get_local $8) ) - (loop $while-out$23 $while-in$24 - (if - (tee_local $8 - (i32.load offset=16 - (get_local $5) - ) - ) - (set_local $7 - (get_local $8) - ) + (loop $while-in$24 + (block $while-out$23 (if - (tee_local $10 - (i32.load offset=20 + (tee_local $8 + (i32.load offset=16 (get_local $5) ) ) (set_local $7 - (get_local $10) + (get_local $8) ) - (block + (if + (tee_local $10 + (i32.load offset=20 + (get_local $5) + ) + ) (set_local $7 - (get_local $2) + (get_local $10) ) - (set_local $4 - (get_local $1) + (block + (set_local $7 + (get_local $2) + ) + (set_local $4 + (get_local $1) + ) + (br $while-out$23) ) - (br $while-out$23) ) ) - ) - (set_local $10 - (i32.lt_u - (tee_local $8 - (i32.sub - (i32.and - (i32.load offset=4 - (get_local $7) + (set_local $10 + (i32.lt_u + (tee_local $8 + (i32.sub + (i32.and + (i32.load offset=4 + (get_local $7) + ) + (i32.const -8) ) - (i32.const -8) + (get_local $0) ) - (get_local $0) ) + (get_local $2) ) - (get_local $2) ) - ) - (set_local $2 - (select - (get_local $8) - (get_local $2) - (get_local $10) + (set_local $2 + (select + (get_local $8) + (get_local $2) + (get_local $10) + ) ) - ) - (set_local $5 - (get_local $7) - ) - (set_local $1 - (select + (set_local $5 (get_local $7) - (get_local $1) - (get_local $10) ) + (set_local $1 + (select + (get_local $7) + (get_local $1) + (get_local $10) + ) + ) + (br $while-in$24) ) - (br $while-in$24) ) (if (i32.lt_u @@ -901,50 +903,52 @@ ) ) ) - (loop $while-out$27 $while-in$28 - (if - (tee_local $19 - (i32.load - (tee_local $16 - (i32.add - (get_local $8) - (i32.const 20) + (loop $while-in$28 + (block $while-out$27 + (if + (tee_local $19 + (i32.load + (tee_local $16 + (i32.add + (get_local $8) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $8 - (get_local $19) - ) - (set_local $10 - (get_local $16) + (block + (set_local $8 + (get_local $19) + ) + (set_local $10 + (get_local $16) + ) + (br $while-in$28) ) - (br $while-in$28) ) - ) - (if - (tee_local $19 - (i32.load - (tee_local $16 - (i32.add - (get_local $8) - (i32.const 16) + (if + (tee_local $19 + (i32.load + (tee_local $16 + (i32.add + (get_local $8) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $8 - (get_local $19) - ) - (set_local $10 - (get_local $16) + (block + (set_local $8 + (get_local $19) + ) + (set_local $10 + (get_local $16) + ) ) + (br $while-out$27) ) - (br $while-out$27) + (br $while-in$28) ) - (br $while-in$28) ) (if (i32.lt_u @@ -1530,131 +1534,133 @@ (set_local $4 (i32.const 0) ) - (loop $while-out$3 $while-in$4 - (if - (i32.lt_u - (tee_local $5 - (i32.sub - (tee_local $18 - (i32.and - (i32.load offset=4 - (get_local $19) + (loop $while-in$4 + (block $while-out$3 + (if + (i32.lt_u + (tee_local $5 + (i32.sub + (tee_local $18 + (i32.and + (i32.load offset=4 + (get_local $19) + ) + (i32.const -8) ) - (i32.const -8) ) + (get_local $2) ) - (get_local $2) ) + (get_local $9) ) - (get_local $9) - ) - (if - (i32.eq - (get_local $18) - (get_local $2) - ) - (block - (set_local $27 - (get_local $5) - ) - (set_local $25 - (get_local $19) + (if + (i32.eq + (get_local $18) + (get_local $2) ) - (set_local $29 - (get_local $19) + (block + (set_local $27 + (get_local $5) + ) + (set_local $25 + (get_local $19) + ) + (set_local $29 + (get_local $19) + ) + (set_local $9 + (i32.const 90) + ) + (br $label$break$L123) ) - (set_local $9 - (i32.const 90) + (block + (set_local $9 + (get_local $5) + ) + (set_local $4 + (get_local $19) + ) ) - (br $label$break$L123) ) - (block - (set_local $9 - (get_local $5) + ) + (set_local $18 + (select + (get_local $8) + (tee_local $5 + (i32.load offset=20 + (get_local $19) + ) ) - (set_local $4 - (get_local $19) + (i32.or + (i32.eq + (get_local $5) + (i32.const 0) + ) + (i32.eq + (get_local $5) + (tee_local $19 + (i32.load + (i32.add + (i32.add + (get_local $19) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (i32.const 2) + ) + ) + ) + ) + ) ) ) ) - ) - (set_local $18 - (select - (get_local $8) + (if (tee_local $5 - (i32.load offset=20 + (i32.eq (get_local $19) + (i32.const 0) ) ) - (i32.or - (i32.eq - (get_local $5) - (i32.const 0) + (block + (set_local $33 + (get_local $9) ) - (i32.eq - (get_local $5) - (tee_local $19 - (i32.load - (i32.add - (i32.add - (get_local $19) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (i32.const 2) - ) + (set_local $34 + (get_local $18) + ) + (set_local $30 + (get_local $4) + ) + (set_local $9 + (i32.const 86) + ) + (br $while-out$3) + ) + (block + (set_local $8 + (get_local $18) + ) + (set_local $1 + (i32.shl + (get_local $1) + (i32.xor + (i32.and + (get_local $5) + (i32.const 1) ) + (i32.const 1) ) ) ) ) ) + (br $while-in$4) ) - (if - (tee_local $5 - (i32.eq - (get_local $19) - (i32.const 0) - ) - ) - (block - (set_local $33 - (get_local $9) - ) - (set_local $34 - (get_local $18) - ) - (set_local $30 - (get_local $4) - ) - (set_local $9 - (i32.const 86) - ) - (br $while-out$3) - ) - (block - (set_local $8 - (get_local $18) - ) - (set_local $1 - (i32.shl - (get_local $1) - (i32.xor - (i32.and - (get_local $5) - (i32.const 1) - ) - (i32.const 1) - ) - ) - ) - ) - ) - (br $while-in$4) ) ) (block @@ -1848,84 +1854,86 @@ (get_local $9) (i32.const 90) ) - (loop $while-out$5 $while-in$6 - (set_local $9 - (i32.const 0) - ) - (set_local $1 - (i32.lt_u - (tee_local $4 - (i32.sub - (i32.and - (i32.load offset=4 - (get_local $25) + (loop $while-in$6 + (block $while-out$5 + (set_local $9 + (i32.const 0) + ) + (set_local $1 + (i32.lt_u + (tee_local $4 + (i32.sub + (i32.and + (i32.load offset=4 + (get_local $25) + ) + (i32.const -8) ) - (i32.const -8) + (get_local $2) ) - (get_local $2) ) - ) - (get_local $27) - ) - ) - (set_local $5 - (select - (get_local $4) - (get_local $27) - (get_local $1) - ) - ) - (set_local $4 - (select - (get_local $25) - (get_local $29) - (get_local $1) - ) - ) - (if - (tee_local $1 - (i32.load offset=16 - (get_local $25) + (get_local $27) ) ) - (block - (set_local $27 - (get_local $5) - ) - (set_local $25 - (get_local $1) - ) - (set_local $29 + (set_local $5 + (select (get_local $4) + (get_local $27) + (get_local $1) ) - (br $while-in$6) ) - ) - (if - (tee_local $25 - (i32.load offset=20 + (set_local $4 + (select (get_local $25) + (get_local $29) + (get_local $1) ) ) - (block - (set_local $27 - (get_local $5) + (if + (tee_local $1 + (i32.load offset=16 + (get_local $25) + ) ) - (set_local $29 - (get_local $4) + (block + (set_local $27 + (get_local $5) + ) + (set_local $25 + (get_local $1) + ) + (set_local $29 + (get_local $4) + ) + (br $while-in$6) ) ) - (block - (set_local $6 - (get_local $5) + (if + (tee_local $25 + (i32.load offset=20 + (get_local $25) + ) ) - (set_local $12 - (get_local $4) + (block + (set_local $27 + (get_local $5) + ) + (set_local $29 + (get_local $4) + ) + ) + (block + (set_local $6 + (get_local $5) + ) + (set_local $12 + (get_local $4) + ) + (br $while-out$5) ) - (br $while-out$5) ) + (br $while-in$6) ) - (br $while-in$6) ) ) (if @@ -2025,50 +2033,52 @@ ) ) ) - (loop $while-out$9 $while-in$10 - (if - (tee_local $16 - (i32.load - (tee_local $0 - (i32.add - (get_local $8) - (i32.const 20) + (loop $while-in$10 + (block $while-out$9 + (if + (tee_local $16 + (i32.load + (tee_local $0 + (i32.add + (get_local $8) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $8 - (get_local $16) - ) - (set_local $7 - (get_local $0) + (block + (set_local $8 + (get_local $16) + ) + (set_local $7 + (get_local $0) + ) + (br $while-in$10) ) - (br $while-in$10) ) - ) - (if - (tee_local $16 - (i32.load - (tee_local $0 - (i32.add - (get_local $8) - (i32.const 16) + (if + (tee_local $16 + (i32.load + (tee_local $0 + (i32.add + (get_local $8) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $8 - (get_local $16) - ) - (set_local $7 - (get_local $0) + (block + (set_local $8 + (get_local $16) + ) + (set_local $7 + (get_local $0) + ) ) + (br $while-out$9) ) - (br $while-out$9) + (br $while-in$10) ) - (br $while-in$10) ) (if (i32.lt_u @@ -2620,72 +2630,74 @@ (get_local $5) ) ) - (loop $while-out$17 $while-in$18 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $1) + (loop $while-in$18 + (block $while-out$17 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $1) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $6) - ) - (block - (set_local $15 - (get_local $1) + (get_local $6) ) - (set_local $9 - (i32.const 148) + (block + (set_local $15 + (get_local $1) + ) + (set_local $9 + (i32.const 148) + ) + (br $while-out$17) ) - (br $while-out$17) ) - ) - (if - (tee_local $0 - (i32.load - (tee_local $5 - (i32.add + (if + (tee_local $0 + (i32.load + (tee_local $5 (i32.add - (get_local $1) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $7) - (i32.const 31) + (i32.add + (get_local $1) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $7) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $7 - (i32.shl - (get_local $7) - (i32.const 1) + (block + (set_local $7 + (i32.shl + (get_local $7) + (i32.const 1) + ) + ) + (set_local $1 + (get_local $0) ) ) - (set_local $1 - (get_local $0) - ) - ) - (block - (set_local $23 - (get_local $5) - ) - (set_local $21 - (get_local $1) - ) - (set_local $9 - (i32.const 145) + (block + (set_local $23 + (get_local $5) + ) + (set_local $21 + (get_local $1) + ) + (set_local $9 + (i32.const 145) + ) + (br $while-out$17) ) - (br $while-out$17) ) + (br $while-in$18) ) - (br $while-in$18) ) (if (i32.eq @@ -3154,59 +3166,61 @@ (set_local $14 (i32.const 624) ) - (loop $while-out$37 $while-in$38 - (if + (loop $while-in$38 + (block $while-out$37 (if - (i32.le_u - (tee_local $26 - (i32.load - (get_local $14) - ) - ) - (get_local $8) - ) - (i32.gt_u - (i32.add - (get_local $26) - (i32.load - (tee_local $11 - (i32.add - (get_local $14) - (i32.const 4) - ) + (if + (i32.le_u + (tee_local $26 + (i32.load + (get_local $14) ) ) + (get_local $8) ) - (get_local $8) - ) - (i32.const 0) - ) - (block - (set_local $5 - (get_local $14) - ) - (set_local $7 - (get_local $11) + (i32.gt_u + (i32.add + (get_local $26) + (i32.load + (tee_local $11 + (i32.add + (get_local $14) + (i32.const 4) + ) + ) + ) + ) + (get_local $8) + ) + (i32.const 0) ) - (br $while-out$37) - ) - ) - (if - (i32.eqz - (tee_local $14 - (i32.load offset=8 + (block + (set_local $5 (get_local $14) ) + (set_local $7 + (get_local $11) + ) + (br $while-out$37) ) ) - (block - (set_local $9 - (i32.const 173) + (if + (i32.eqz + (tee_local $14 + (i32.load offset=8 + (get_local $14) + ) + ) + ) + (block + (set_local $9 + (i32.const 173) + ) + (br $label$break$L259) ) - (br $label$break$L259) ) + (br $while-in$38) ) - (br $while-in$38) ) (if (i32.lt_u @@ -3621,55 +3635,57 @@ (set_local $3 (i32.const 624) ) - (loop $do-out$48 $do-in$49 - (if - (i32.eq - (get_local $20) - (i32.add - (tee_local $6 - (i32.load - (get_local $3) + (loop $do-in$49 + (block $do-out$48 + (if + (i32.eq + (get_local $20) + (i32.add + (tee_local $6 + (i32.load + (get_local $3) + ) ) - ) - (tee_local $12 - (i32.load - (tee_local $17 - (i32.add - (get_local $3) - (i32.const 4) + (tee_local $12 + (i32.load + (tee_local $17 + (i32.add + (get_local $3) + (i32.const 4) + ) ) ) ) ) ) - ) - (block - (set_local $47 - (get_local $6) - ) - (set_local $48 - (get_local $17) - ) - (set_local $49 - (get_local $12) - ) - (set_local $50 - (get_local $3) - ) - (set_local $9 - (i32.const 203) + (block + (set_local $47 + (get_local $6) + ) + (set_local $48 + (get_local $17) + ) + (set_local $49 + (get_local $12) + ) + (set_local $50 + (get_local $3) + ) + (set_local $9 + (i32.const 203) + ) + (br $do-out$48) ) - (br $do-out$48) ) - ) - (br_if $do-in$49 - (i32.ne - (tee_local $3 - (i32.load offset=8 - (get_local $3) + (br_if $do-in$49 + (i32.ne + (tee_local $3 + (i32.load offset=8 + (get_local $3) + ) ) + (i32.const 0) ) - (i32.const 0) ) ) ) @@ -3811,43 +3827,45 @@ (set_local $3 (i32.const 624) ) - (loop $while-out$50 $while-in$51 - (if - (i32.eq - (i32.load - (get_local $3) - ) - (get_local $17) - ) - (block - (set_local $51 - (get_local $3) - ) - (set_local $41 - (get_local $3) - ) - (set_local $9 - (i32.const 211) + (loop $while-in$51 + (block $while-out$50 + (if + (i32.eq + (i32.load + (get_local $3) + ) + (get_local $17) ) - (br $while-out$50) - ) - ) - (if - (i32.eqz - (tee_local $3 - (i32.load offset=8 + (block + (set_local $51 + (get_local $3) + ) + (set_local $41 (get_local $3) ) + (set_local $9 + (i32.const 211) + ) + (br $while-out$50) ) ) - (block - (set_local $28 - (i32.const 624) + (if + (i32.eqz + (tee_local $3 + (i32.load offset=8 + (get_local $3) + ) + ) + ) + (block + (set_local $28 + (i32.const 624) + ) + (br $while-out$50) ) - (br $while-out$50) ) + (br $while-in$51) ) - (br $while-in$51) ) (if (i32.eq @@ -4097,50 +4115,52 @@ ) ) ) - (loop $while-out$61 $while-in$62 - (if - (tee_local $8 - (i32.load - (tee_local $2 - (i32.add - (get_local $14) - (i32.const 20) + (loop $while-in$62 + (block $while-out$61 + (if + (tee_local $8 + (i32.load + (tee_local $2 + (i32.add + (get_local $14) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $14 - (get_local $8) - ) - (set_local $11 - (get_local $2) + (block + (set_local $14 + (get_local $8) + ) + (set_local $11 + (get_local $2) + ) + (br $while-in$62) ) - (br $while-in$62) ) - ) - (if - (tee_local $8 - (i32.load - (tee_local $2 - (i32.add - (get_local $14) - (i32.const 16) + (if + (tee_local $8 + (i32.load + (tee_local $2 + (i32.add + (get_local $14) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $14 - (get_local $8) - ) - (set_local $11 - (get_local $2) + (block + (set_local $14 + (get_local $8) + ) + (set_local $11 + (get_local $2) + ) ) + (br $while-out$61) ) - (br $while-out$61) + (br $while-in$62) ) - (br $while-in$62) ) (if (i32.lt_u @@ -4839,72 +4859,74 @@ (get_local $2) ) ) - (loop $while-out$71 $while-in$72 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $1) + (loop $while-in$72 + (block $while-out$71 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $1) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $15) - ) - (block - (set_local $36 - (get_local $1) + (get_local $15) ) - (set_local $9 - (i32.const 281) + (block + (set_local $36 + (get_local $1) + ) + (set_local $9 + (i32.const 281) + ) + (br $while-out$71) ) - (br $while-out$71) ) - ) - (if - (tee_local $7 - (i32.load - (tee_local $2 - (i32.add + (if + (tee_local $7 + (i32.load + (tee_local $2 (i32.add - (get_local $1) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $14) - (i32.const 31) + (i32.add + (get_local $1) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $14) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $14 - (i32.shl - (get_local $14) - (i32.const 1) + (block + (set_local $14 + (i32.shl + (get_local $14) + (i32.const 1) + ) + ) + (set_local $1 + (get_local $7) ) ) - (set_local $1 - (get_local $7) - ) - ) - (block - (set_local $44 - (get_local $2) - ) - (set_local $52 - (get_local $1) - ) - (set_local $9 - (i32.const 278) + (block + (set_local $44 + (get_local $2) + ) + (set_local $52 + (get_local $1) + ) + (set_local $9 + (i32.const 278) + ) + (br $while-out$71) ) - (br $while-out$71) ) + (br $while-in$72) ) - (br $while-in$72) ) (if (i32.eq @@ -5029,43 +5051,45 @@ ) ) ) - (loop $while-out$73 $while-in$74 - (if + (loop $while-in$74 + (block $while-out$73 (if - (i32.le_u - (tee_local $3 - (i32.load - (get_local $28) - ) - ) - (get_local $13) - ) - (i32.gt_u - (tee_local $15 - (i32.add - (get_local $3) - (i32.load offset=4 + (if + (i32.le_u + (tee_local $3 + (i32.load (get_local $28) ) ) + (get_local $13) ) - (get_local $13) - ) - (i32.const 0) - ) - (block - (set_local $5 - (get_local $15) + (i32.gt_u + (tee_local $15 + (i32.add + (get_local $3) + (i32.load offset=4 + (get_local $28) + ) + ) + ) + (get_local $13) + ) + (i32.const 0) + ) + (block + (set_local $5 + (get_local $15) + ) + (br $while-out$73) ) - (br $while-out$73) ) - ) - (set_local $28 - (i32.load offset=8 - (get_local $28) + (set_local $28 + (i32.load offset=8 + (get_local $28) + ) ) + (br $while-in$74) ) - (br $while-in$74) ) (set_local $15 (i32.add @@ -5575,72 +5599,74 @@ (get_local $6) ) ) - (loop $while-out$77 $while-in$78 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $1) + (loop $while-in$78 + (block $while-out$77 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $1) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $3) - ) - (block - (set_local $38 - (get_local $1) + (get_local $3) ) - (set_local $9 - (i32.const 307) + (block + (set_local $38 + (get_local $1) + ) + (set_local $9 + (i32.const 307) + ) + (br $while-out$77) ) - (br $while-out$77) ) - ) - (if - (tee_local $7 - (i32.load - (tee_local $6 - (i32.add + (if + (tee_local $7 + (i32.load + (tee_local $6 (i32.add - (get_local $1) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $2) - (i32.const 31) + (i32.add + (get_local $1) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $2 - (i32.shl - (get_local $2) - (i32.const 1) + (block + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (set_local $1 + (get_local $7) ) ) - (set_local $1 - (get_local $7) - ) - ) - (block - (set_local $46 - (get_local $6) - ) - (set_local $53 - (get_local $1) - ) - (set_local $9 - (i32.const 304) + (block + (set_local $46 + (get_local $6) + ) + (set_local $53 + (get_local $1) + ) + (set_local $9 + (i32.const 304) + ) + (br $while-out$77) ) - (br $while-out$77) ) + (br $while-in$78) ) - (br $while-in$78) ) (if (i32.eq @@ -6318,58 +6344,60 @@ ) ) ) - (loop $while-out$4 $while-in$5 - (if - (tee_local $11 - (i32.load - (tee_local $5 - (i32.add - (get_local $1) - (i32.const 20) + (loop $while-in$5 + (block $while-out$4 + (if + (tee_local $11 + (i32.load + (tee_local $5 + (i32.add + (get_local $1) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $1 - (get_local $11) - ) - (set_local $6 - (get_local $5) + (block + (set_local $1 + (get_local $11) + ) + (set_local $6 + (get_local $5) + ) + (br $while-in$5) ) - (br $while-in$5) ) - ) - (if - (tee_local $11 - (i32.load - (tee_local $5 - (i32.add - (get_local $1) - (i32.const 16) + (if + (tee_local $11 + (i32.load + (tee_local $5 + (i32.add + (get_local $1) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $1 - (get_local $11) - ) - (set_local $6 - (get_local $5) - ) - ) - (block - (set_local $5 - (get_local $1) + (block + (set_local $1 + (get_local $11) + ) + (set_local $6 + (get_local $5) + ) ) - (set_local $10 - (get_local $6) + (block + (set_local $5 + (get_local $1) + ) + (set_local $10 + (get_local $6) + ) + (br $while-out$4) ) - (br $while-out$4) ) + (br $while-in$5) ) - (br $while-in$5) ) (if (i32.lt_u @@ -6870,50 +6898,52 @@ ) ) ) - (loop $while-out$12 $while-in$13 - (if - (tee_local $11 - (i32.load - (tee_local $1 - (i32.add - (get_local $0) - (i32.const 20) + (loop $while-in$13 + (block $while-out$12 + (if + (tee_local $11 + (i32.load + (tee_local $1 + (i32.add + (get_local $0) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $0 - (get_local $11) - ) - (set_local $6 - (get_local $1) + (block + (set_local $0 + (get_local $11) + ) + (set_local $6 + (get_local $1) + ) + (br $while-in$13) ) - (br $while-in$13) ) - ) - (if - (tee_local $11 - (i32.load - (tee_local $1 - (i32.add - (get_local $0) - (i32.const 16) + (if + (tee_local $11 + (i32.load + (tee_local $1 + (i32.add + (get_local $0) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $0 - (get_local $11) - ) - (set_local $6 - (get_local $1) + (block + (set_local $0 + (get_local $11) + ) + (set_local $6 + (get_local $1) + ) ) + (br $while-out$12) ) - (br $while-out$12) + (br $while-in$13) ) - (br $while-in$13) ) (if (i32.lt_u @@ -7568,72 +7598,74 @@ (get_local $3) ) ) - (loop $while-out$18 $while-in$19 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $1) + (loop $while-in$19 + (block $while-out$18 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $1) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $0) - ) - (block - (set_local $17 - (get_local $1) + (get_local $0) ) - (set_local $0 - (i32.const 130) + (block + (set_local $17 + (get_local $1) + ) + (set_local $0 + (i32.const 130) + ) + (br $while-out$18) ) - (br $while-out$18) ) - ) - (if - (tee_local $7 - (i32.load - (tee_local $16 - (i32.add + (if + (tee_local $7 + (i32.load + (tee_local $16 (i32.add - (get_local $1) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $13) - (i32.const 31) + (i32.add + (get_local $1) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $13) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $13 - (i32.shl - (get_local $13) - (i32.const 1) + (block + (set_local $13 + (i32.shl + (get_local $13) + (i32.const 1) + ) + ) + (set_local $1 + (get_local $7) ) ) - (set_local $1 - (get_local $7) - ) - ) - (block - (set_local $18 - (get_local $16) - ) - (set_local $19 - (get_local $1) - ) - (set_local $0 - (i32.const 127) + (block + (set_local $18 + (get_local $16) + ) + (set_local $19 + (get_local $1) + ) + (set_local $0 + (i32.const 127) + ) + (br $while-out$18) ) - (br $while-out$18) ) + (br $while-in$19) ) - (br $while-in$19) ) (if (i32.eq @@ -7767,22 +7799,24 @@ (i32.const 632) ) ) - (loop $while-out$20 $while-in$21 - (if - (tee_local $2 - (i32.load - (get_local $0) + (loop $while-in$21 + (block $while-out$20 + (if + (tee_local $2 + (i32.load + (get_local $0) + ) ) - ) - (set_local $0 - (i32.add - (get_local $2) - (i32.const 8) + (set_local $0 + (i32.add + (get_local $2) + (i32.const 8) + ) ) + (br $while-out$20) ) - (br $while-out$20) + (br $while-in$21) ) - (br $while-in$21) ) (i32.store (i32.const 208) @@ -7895,209 +7929,211 @@ (get_local $2) ) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eq - (get_local $5) - (tee_local $6 - (if - (i32.load - (i32.const 8) - ) - (block - (call_import $_pthread_cleanup_push - (i32.const 4) - (get_local $0) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eq + (get_local $5) + (tee_local $6 + (if + (i32.load + (i32.const 8) ) - (i32.store - (get_local $13) - (i32.load - (get_local $1) + (block + (call_import $_pthread_cleanup_push + (i32.const 4) + (get_local $0) ) - ) - (i32.store offset=4 - (get_local $13) - (get_local $4) - ) - (i32.store offset=8 - (get_local $13) - (get_local $3) - ) - (set_local $10 - (call $___syscall_ret - (call_import $___syscall146 - (i32.const 146) - (get_local $13) + (i32.store + (get_local $13) + (i32.load + (get_local $1) ) ) - ) - (call_import $_pthread_cleanup_pop - (i32.const 0) - ) - (get_local $10) - ) - (block - (i32.store - (get_local $12) - (i32.load - (get_local $1) + (i32.store offset=4 + (get_local $13) + (get_local $4) ) + (i32.store offset=8 + (get_local $13) + (get_local $3) + ) + (set_local $10 + (call $___syscall_ret + (call_import $___syscall146 + (i32.const 146) + (get_local $13) + ) + ) + ) + (call_import $_pthread_cleanup_pop + (i32.const 0) + ) + (get_local $10) ) - (i32.store offset=4 - (get_local $12) - (get_local $4) - ) - (i32.store offset=8 - (get_local $12) - (get_local $3) - ) - (call $___syscall_ret - (call_import $___syscall146 - (i32.const 146) + (block + (i32.store + (get_local $12) + (i32.load + (get_local $1) + ) + ) + (i32.store offset=4 (get_local $12) + (get_local $4) + ) + (i32.store offset=8 + (get_local $12) + (get_local $3) + ) + (call $___syscall_ret + (call_import $___syscall146 + (i32.const 146) + (get_local $12) + ) ) ) ) ) ) - ) - (block - (set_local $1 - (i32.const 6) + (block + (set_local $1 + (i32.const 6) + ) + (br $while-out$0) ) - (br $while-out$0) - ) - ) - (if - (i32.lt_s - (get_local $6) - (i32.const 0) ) - (block - (set_local $17 - (get_local $4) - ) - (set_local $18 - (get_local $3) + (if + (i32.lt_s + (get_local $6) + (i32.const 0) ) - (set_local $1 - (i32.const 8) + (block + (set_local $17 + (get_local $4) + ) + (set_local $18 + (get_local $3) + ) + (set_local $1 + (i32.const 8) + ) + (br $while-out$0) ) - (br $while-out$0) ) - ) - (set_local $10 - (i32.sub - (get_local $5) - (get_local $6) - ) - ) - (set_local $3 - (if - (i32.le_u + (set_local $10 + (i32.sub + (get_local $5) (get_local $6) - (tee_local $5 - (i32.load offset=4 - (get_local $4) - ) - ) ) + ) + (set_local $3 (if - (i32.eq - (get_local $3) - (i32.const 2) + (i32.le_u + (get_local $6) + (tee_local $5 + (i32.load offset=4 + (get_local $4) + ) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const 2) + ) + (block + (i32.store + (get_local $9) + (i32.add + (i32.load + (get_local $9) + ) + (get_local $6) + ) + ) + (set_local $7 + (get_local $4) + ) + (set_local $15 + (i32.const 2) + ) + (get_local $5) + ) + (block + (set_local $7 + (get_local $4) + ) + (set_local $15 + (get_local $3) + ) + (get_local $5) + ) ) (block (i32.store (get_local $9) - (i32.add + (tee_local $7 (i32.load - (get_local $9) + (get_local $8) ) - (get_local $6) ) ) - (set_local $7 - (get_local $4) + (i32.store + (get_local $14) + (get_local $7) ) - (set_local $15 - (i32.const 2) + (set_local $6 + (i32.sub + (get_local $6) + (get_local $5) + ) ) - (get_local $5) - ) - (block (set_local $7 - (get_local $4) + (i32.add + (get_local $4) + (i32.const 8) + ) ) (set_local $15 - (get_local $3) - ) - (get_local $5) - ) - ) - (block - (i32.store - (get_local $9) - (tee_local $7 - (i32.load - (get_local $8) + (i32.add + (get_local $3) + (i32.const -1) ) ) - ) - (i32.store - (get_local $14) - (get_local $7) - ) - (set_local $6 - (i32.sub - (get_local $6) - (get_local $5) - ) - ) - (set_local $7 - (i32.add + (i32.load offset=12 (get_local $4) - (i32.const 8) ) ) - (set_local $15 - (i32.add - (get_local $3) - (i32.const -1) - ) - ) - (i32.load offset=12 - (get_local $4) + ) + ) + (i32.store + (get_local $7) + (i32.add + (i32.load + (get_local $7) ) + (get_local $6) ) ) - ) - (i32.store - (get_local $7) - (i32.add - (i32.load - (get_local $7) + (i32.store offset=4 + (get_local $7) + (i32.sub + (get_local $3) + (get_local $6) ) - (get_local $6) ) - ) - (i32.store offset=4 - (get_local $7) - (i32.sub - (get_local $3) - (get_local $6) + (set_local $4 + (get_local $7) ) + (set_local $3 + (get_local $15) + ) + (set_local $5 + (get_local $10) + ) + (br $while-in$1) ) - (set_local $4 - (get_local $7) - ) - (set_local $3 - (get_local $15) - ) - (set_local $5 - (get_local $10) - ) - (br $while-in$1) ) (if (i32.eq @@ -8287,49 +8323,51 @@ (set_local $3 (get_local $1) ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (get_local $3) - ) - (block - (set_local $2 - (get_local $0) - ) - (set_local $3 - (i32.const 0) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (get_local $3) ) - (br $label$break$L10 - (get_local $1) + (block + (set_local $2 + (get_local $0) + ) + (set_local $3 + (i32.const 0) + ) + (br $label$break$L10 + (get_local $1) + ) ) ) - ) - (if - (i32.eq - (i32.load8_s - (i32.add - (get_local $0) - (tee_local $7 - (i32.add - (get_local $3) - (i32.const -1) + (if + (i32.eq + (i32.load8_s + (i32.add + (get_local $0) + (tee_local $7 + (i32.add + (get_local $3) + (i32.const -1) + ) ) ) ) + (i32.const 10) ) - (i32.const 10) - ) - (block - (set_local $4 - (get_local $3) + (block + (set_local $4 + (get_local $3) + ) + (br $while-out$2) + ) + (set_local $3 + (get_local $7) ) - (br $while-out$2) - ) - (set_local $3 - (get_local $7) ) + (br $while-in$3) ) - (br $while-in$3) ) (if (i32.lt_u @@ -8483,62 +8521,64 @@ (set_local $2 (get_local $0) ) - (loop $while-out$2 $while-in$3 - (set_local $0 - (if - (i32.gt_s - (i32.load offset=76 + (loop $while-in$3 + (block $while-out$2 + (set_local $0 + (if + (i32.gt_s + (i32.load offset=76 + (get_local $1) + ) + (i32.const -1) + ) + (call $___lockfile (get_local $1) ) - (i32.const -1) - ) - (call $___lockfile - (get_local $1) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $2 - (if - (i32.gt_u - (i32.load offset=20 - (get_local $1) - ) - (i32.load offset=28 - (get_local $1) + (set_local $2 + (if + (i32.gt_u + (i32.load offset=20 + (get_local $1) + ) + (i32.load offset=28 + (get_local $1) + ) ) - ) - (i32.or - (call $___fflush_unlocked - (get_local $1) + (i32.or + (call $___fflush_unlocked + (get_local $1) + ) + (get_local $2) ) (get_local $2) ) - (get_local $2) ) - ) - (if - (get_local $0) - (call $___unlockfile - (get_local $1) + (if + (get_local $0) + (call $___unlockfile + (get_local $1) + ) ) - ) - (if - (i32.eqz - (tee_local $1 - (i32.load offset=56 - (get_local $1) + (if + (i32.eqz + (tee_local $1 + (i32.load offset=56 + (get_local $1) + ) ) ) - ) - (block - (set_local $0 - (get_local $2) + (block + (set_local $0 + (get_local $2) + ) + (br $while-out$2) ) - (br $while-out$2) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) @@ -8568,45 +8608,47 @@ (set_local $4 (get_local $3) ) - (loop $while-out$1 $while-in$2 - (if - (i32.eqz - (i32.load8_s - (get_local $0) + (loop $while-in$2 + (block $while-out$1 + (if + (i32.eqz + (i32.load8_s + (get_local $0) + ) ) - ) - (block - (set_local $5 - (get_local $4) + (block + (set_local $5 + (get_local $4) + ) + (br $label$break$L1) ) - (br $label$break$L1) ) - ) - (if - (i32.eqz - (i32.and - (tee_local $4 - (tee_local $0 - (i32.add - (get_local $0) - (i32.const 1) + (if + (i32.eqz + (i32.and + (tee_local $4 + (tee_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) ) + (i32.const 3) ) - (i32.const 3) - ) - ) - (block - (set_local $2 - (get_local $0) ) - (set_local $1 - (i32.const 4) + (block + (set_local $2 + (get_local $0) + ) + (set_local $1 + (i32.const 4) + ) + (br $while-out$1) ) - (br $while-out$1) ) + (br $while-in$2) ) - (br $while-in$2) ) ) (block @@ -8628,34 +8670,36 @@ (set_local $1 (get_local $2) ) - (loop $while-out$3 $while-in$4 - (if - (i32.and - (i32.xor - (i32.and - (tee_local $2 - (i32.load - (get_local $1) + (loop $while-in$4 + (block $while-out$3 + (if + (i32.and + (i32.xor + (i32.and + (tee_local $2 + (i32.load + (get_local $1) + ) ) + (i32.const -2139062144) ) (i32.const -2139062144) ) - (i32.const -2139062144) - ) - (i32.add - (get_local $2) - (i32.const -16843009) + (i32.add + (get_local $2) + (i32.const -16843009) + ) ) - ) - (br $while-out$3) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 4) + (br $while-out$3) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 4) + ) ) ) + (br $while-in$4) ) - (br $while-in$4) ) (if (i32.shr_s @@ -8672,22 +8716,24 @@ (set_local $2 (get_local $1) ) - (loop $while-out$5 $while-in$6 - (if - (i32.load8_s - (tee_local $1 - (i32.add - (get_local $2) - (i32.const 1) + (loop $while-in$6 + (block $while-out$5 + (if + (i32.load8_s + (tee_local $1 + (i32.add + (get_local $2) + (i32.const 1) + ) ) ) + (set_local $2 + (get_local $1) + ) + (br $while-out$5) ) - (set_local $2 - (get_local $1) - ) - (br $while-out$5) + (br $while-in$6) ) - (br $while-in$6) ) ) ) @@ -9011,116 +9057,122 @@ ) ) (block - (loop $while-out$0 $while-in$1 - (br_if $while-out$0 - (i32.eqz - (i32.and - (get_local $0) - (i32.const 3) + (loop $while-in$1 + (block $while-out$0 + (br_if $while-out$0 + (i32.eqz + (i32.and + (get_local $0) + (i32.const 3) + ) ) ) - ) - (if - (i32.eqz - (get_local $2) - ) - (return - (get_local $3) - ) - ) - (i32.store8 - (get_local $0) - (i32.load8_s - (get_local $1) + (if + (i32.eqz + (get_local $2) + ) + (return + (get_local $3) + ) ) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (i32.load8_s + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) ) - ) - (br $while-in$1) - ) - (loop $while-out$2 $while-in$3 - (br_if $while-out$2 - (i32.lt_s - (get_local $2) - (i32.const 4) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) ) + (br $while-in$1) ) - (i32.store - (get_local $0) - (i32.load - (get_local $1) + ) + (loop $while-in$3 + (block $while-out$2 + (br_if $while-out$2 + (i32.lt_s + (get_local $2) + (i32.const 4) + ) ) - ) - (set_local $0 - (i32.add + (i32.store (get_local $0) - (i32.const 4) + (i32.load + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 4) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 4) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 4) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 4) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 4) + ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (br_if $while-out$4 - (i32.le_s - (get_local $2) - (i32.const 0) - ) - ) - (i32.store8 - (get_local $0) - (i32.load8_s - (get_local $1) + (loop $while-in$5 + (block $while-out$4 + (br_if $while-out$4 + (i32.le_s + (get_local $2) + (i32.const 0) + ) ) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (i32.load8_s + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) + ) + (br $while-in$5) ) - (br $while-in$5) ) (get_local $3) ) @@ -9193,66 +9245,72 @@ (get_local $3) ) ) - (loop $while-out$0 $while-in$1 - (br_if $while-out$0 - (i32.ge_s - (get_local $0) - (get_local $3) + (loop $while-in$1 + (block $while-out$0 + (br_if $while-out$0 + (i32.ge_s + (get_local $0) + (get_local $3) + ) ) - ) - (i32.store8 - (get_local $0) - (get_local $1) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (get_local $1) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) + (br $while-in$1) ) - (br $while-in$1) ) ) ) - (loop $while-out$2 $while-in$3 - (br_if $while-out$2 - (i32.ge_s - (get_local $0) - (get_local $6) + (loop $while-in$3 + (block $while-out$2 + (br_if $while-out$2 + (i32.ge_s + (get_local $0) + (get_local $6) + ) ) - ) - (i32.store - (get_local $0) - (get_local $5) - ) - (set_local $0 - (i32.add + (i32.store (get_local $0) - (i32.const 4) + (get_local $5) ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 4) + ) + ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (br_if $while-out$4 - (i32.ge_s - (get_local $0) - (get_local $4) + (loop $while-in$5 + (block $while-out$4 + (br_if $while-out$4 + (i32.ge_s + (get_local $0) + (get_local $4) + ) ) - ) - (i32.store8 - (get_local $0) - (get_local $1) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (get_local $1) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) + (br $while-in$5) ) - (br $while-in$5) ) (i32.sub (get_local $0) diff --git a/test/emcc_O2_hello_world.fromasm.imprecise b/test/emcc_O2_hello_world.fromasm.imprecise index a79d63e05..0b3963290 100644 --- a/test/emcc_O2_hello_world.fromasm.imprecise +++ b/test/emcc_O2_hello_world.fromasm.imprecise @@ -756,70 +756,72 @@ (set_local $1 (get_local $8) ) - (loop $while-out$23 $while-in$24 - (if - (tee_local $8 - (i32.load offset=16 - (get_local $5) - ) - ) - (set_local $7 - (get_local $8) - ) + (loop $while-in$24 + (block $while-out$23 (if - (tee_local $10 - (i32.load offset=20 + (tee_local $8 + (i32.load offset=16 (get_local $5) ) ) (set_local $7 - (get_local $10) + (get_local $8) ) - (block + (if + (tee_local $10 + (i32.load offset=20 + (get_local $5) + ) + ) (set_local $7 - (get_local $2) + (get_local $10) ) - (set_local $4 - (get_local $1) + (block + (set_local $7 + (get_local $2) + ) + (set_local $4 + (get_local $1) + ) + (br $while-out$23) ) - (br $while-out$23) ) ) - ) - (set_local $10 - (i32.lt_u - (tee_local $8 - (i32.sub - (i32.and - (i32.load offset=4 - (get_local $7) + (set_local $10 + (i32.lt_u + (tee_local $8 + (i32.sub + (i32.and + (i32.load offset=4 + (get_local $7) + ) + (i32.const -8) ) - (i32.const -8) + (get_local $0) ) - (get_local $0) ) + (get_local $2) ) - (get_local $2) ) - ) - (set_local $2 - (select - (get_local $8) - (get_local $2) - (get_local $10) + (set_local $2 + (select + (get_local $8) + (get_local $2) + (get_local $10) + ) ) - ) - (set_local $5 - (get_local $7) - ) - (set_local $1 - (select + (set_local $5 (get_local $7) - (get_local $1) - (get_local $10) ) + (set_local $1 + (select + (get_local $7) + (get_local $1) + (get_local $10) + ) + ) + (br $while-in$24) ) - (br $while-in$24) ) (if (i32.lt_u @@ -900,50 +902,52 @@ ) ) ) - (loop $while-out$27 $while-in$28 - (if - (tee_local $19 - (i32.load - (tee_local $16 - (i32.add - (get_local $8) - (i32.const 20) + (loop $while-in$28 + (block $while-out$27 + (if + (tee_local $19 + (i32.load + (tee_local $16 + (i32.add + (get_local $8) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $8 - (get_local $19) - ) - (set_local $10 - (get_local $16) + (block + (set_local $8 + (get_local $19) + ) + (set_local $10 + (get_local $16) + ) + (br $while-in$28) ) - (br $while-in$28) ) - ) - (if - (tee_local $19 - (i32.load - (tee_local $16 - (i32.add - (get_local $8) - (i32.const 16) + (if + (tee_local $19 + (i32.load + (tee_local $16 + (i32.add + (get_local $8) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $8 - (get_local $19) - ) - (set_local $10 - (get_local $16) + (block + (set_local $8 + (get_local $19) + ) + (set_local $10 + (get_local $16) + ) ) + (br $while-out$27) ) - (br $while-out$27) + (br $while-in$28) ) - (br $while-in$28) ) (if (i32.lt_u @@ -1529,131 +1533,133 @@ (set_local $4 (i32.const 0) ) - (loop $while-out$3 $while-in$4 - (if - (i32.lt_u - (tee_local $5 - (i32.sub - (tee_local $18 - (i32.and - (i32.load offset=4 - (get_local $19) + (loop $while-in$4 + (block $while-out$3 + (if + (i32.lt_u + (tee_local $5 + (i32.sub + (tee_local $18 + (i32.and + (i32.load offset=4 + (get_local $19) + ) + (i32.const -8) ) - (i32.const -8) ) + (get_local $2) ) - (get_local $2) ) + (get_local $9) ) - (get_local $9) - ) - (if - (i32.eq - (get_local $18) - (get_local $2) - ) - (block - (set_local $27 - (get_local $5) - ) - (set_local $25 - (get_local $19) + (if + (i32.eq + (get_local $18) + (get_local $2) ) - (set_local $29 - (get_local $19) + (block + (set_local $27 + (get_local $5) + ) + (set_local $25 + (get_local $19) + ) + (set_local $29 + (get_local $19) + ) + (set_local $9 + (i32.const 90) + ) + (br $label$break$L123) ) - (set_local $9 - (i32.const 90) + (block + (set_local $9 + (get_local $5) + ) + (set_local $4 + (get_local $19) + ) ) - (br $label$break$L123) ) - (block - (set_local $9 - (get_local $5) + ) + (set_local $18 + (select + (get_local $8) + (tee_local $5 + (i32.load offset=20 + (get_local $19) + ) ) - (set_local $4 - (get_local $19) + (i32.or + (i32.eq + (get_local $5) + (i32.const 0) + ) + (i32.eq + (get_local $5) + (tee_local $19 + (i32.load + (i32.add + (i32.add + (get_local $19) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (i32.const 2) + ) + ) + ) + ) + ) ) ) ) - ) - (set_local $18 - (select - (get_local $8) + (if (tee_local $5 - (i32.load offset=20 + (i32.eq (get_local $19) + (i32.const 0) ) ) - (i32.or - (i32.eq - (get_local $5) - (i32.const 0) + (block + (set_local $33 + (get_local $9) ) - (i32.eq - (get_local $5) - (tee_local $19 - (i32.load - (i32.add - (i32.add - (get_local $19) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (i32.const 2) - ) + (set_local $34 + (get_local $18) + ) + (set_local $30 + (get_local $4) + ) + (set_local $9 + (i32.const 86) + ) + (br $while-out$3) + ) + (block + (set_local $8 + (get_local $18) + ) + (set_local $1 + (i32.shl + (get_local $1) + (i32.xor + (i32.and + (get_local $5) + (i32.const 1) ) + (i32.const 1) ) ) ) ) ) + (br $while-in$4) ) - (if - (tee_local $5 - (i32.eq - (get_local $19) - (i32.const 0) - ) - ) - (block - (set_local $33 - (get_local $9) - ) - (set_local $34 - (get_local $18) - ) - (set_local $30 - (get_local $4) - ) - (set_local $9 - (i32.const 86) - ) - (br $while-out$3) - ) - (block - (set_local $8 - (get_local $18) - ) - (set_local $1 - (i32.shl - (get_local $1) - (i32.xor - (i32.and - (get_local $5) - (i32.const 1) - ) - (i32.const 1) - ) - ) - ) - ) - ) - (br $while-in$4) ) ) (block @@ -1847,84 +1853,86 @@ (get_local $9) (i32.const 90) ) - (loop $while-out$5 $while-in$6 - (set_local $9 - (i32.const 0) - ) - (set_local $1 - (i32.lt_u - (tee_local $4 - (i32.sub - (i32.and - (i32.load offset=4 - (get_local $25) + (loop $while-in$6 + (block $while-out$5 + (set_local $9 + (i32.const 0) + ) + (set_local $1 + (i32.lt_u + (tee_local $4 + (i32.sub + (i32.and + (i32.load offset=4 + (get_local $25) + ) + (i32.const -8) ) - (i32.const -8) + (get_local $2) ) - (get_local $2) ) - ) - (get_local $27) - ) - ) - (set_local $5 - (select - (get_local $4) - (get_local $27) - (get_local $1) - ) - ) - (set_local $4 - (select - (get_local $25) - (get_local $29) - (get_local $1) - ) - ) - (if - (tee_local $1 - (i32.load offset=16 - (get_local $25) + (get_local $27) ) ) - (block - (set_local $27 - (get_local $5) - ) - (set_local $25 - (get_local $1) - ) - (set_local $29 + (set_local $5 + (select (get_local $4) + (get_local $27) + (get_local $1) ) - (br $while-in$6) ) - ) - (if - (tee_local $25 - (i32.load offset=20 + (set_local $4 + (select (get_local $25) + (get_local $29) + (get_local $1) ) ) - (block - (set_local $27 - (get_local $5) + (if + (tee_local $1 + (i32.load offset=16 + (get_local $25) + ) ) - (set_local $29 - (get_local $4) + (block + (set_local $27 + (get_local $5) + ) + (set_local $25 + (get_local $1) + ) + (set_local $29 + (get_local $4) + ) + (br $while-in$6) ) ) - (block - (set_local $6 - (get_local $5) + (if + (tee_local $25 + (i32.load offset=20 + (get_local $25) + ) ) - (set_local $12 - (get_local $4) + (block + (set_local $27 + (get_local $5) + ) + (set_local $29 + (get_local $4) + ) + ) + (block + (set_local $6 + (get_local $5) + ) + (set_local $12 + (get_local $4) + ) + (br $while-out$5) ) - (br $while-out$5) ) + (br $while-in$6) ) - (br $while-in$6) ) ) (if @@ -2024,50 +2032,52 @@ ) ) ) - (loop $while-out$9 $while-in$10 - (if - (tee_local $16 - (i32.load - (tee_local $0 - (i32.add - (get_local $8) - (i32.const 20) + (loop $while-in$10 + (block $while-out$9 + (if + (tee_local $16 + (i32.load + (tee_local $0 + (i32.add + (get_local $8) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $8 - (get_local $16) - ) - (set_local $7 - (get_local $0) + (block + (set_local $8 + (get_local $16) + ) + (set_local $7 + (get_local $0) + ) + (br $while-in$10) ) - (br $while-in$10) ) - ) - (if - (tee_local $16 - (i32.load - (tee_local $0 - (i32.add - (get_local $8) - (i32.const 16) + (if + (tee_local $16 + (i32.load + (tee_local $0 + (i32.add + (get_local $8) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $8 - (get_local $16) - ) - (set_local $7 - (get_local $0) + (block + (set_local $8 + (get_local $16) + ) + (set_local $7 + (get_local $0) + ) ) + (br $while-out$9) ) - (br $while-out$9) + (br $while-in$10) ) - (br $while-in$10) ) (if (i32.lt_u @@ -2619,72 +2629,74 @@ (get_local $5) ) ) - (loop $while-out$17 $while-in$18 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $1) + (loop $while-in$18 + (block $while-out$17 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $1) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $6) - ) - (block - (set_local $15 - (get_local $1) + (get_local $6) ) - (set_local $9 - (i32.const 148) + (block + (set_local $15 + (get_local $1) + ) + (set_local $9 + (i32.const 148) + ) + (br $while-out$17) ) - (br $while-out$17) ) - ) - (if - (tee_local $0 - (i32.load - (tee_local $5 - (i32.add + (if + (tee_local $0 + (i32.load + (tee_local $5 (i32.add - (get_local $1) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $7) - (i32.const 31) + (i32.add + (get_local $1) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $7) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $7 - (i32.shl - (get_local $7) - (i32.const 1) + (block + (set_local $7 + (i32.shl + (get_local $7) + (i32.const 1) + ) + ) + (set_local $1 + (get_local $0) ) ) - (set_local $1 - (get_local $0) - ) - ) - (block - (set_local $23 - (get_local $5) - ) - (set_local $21 - (get_local $1) - ) - (set_local $9 - (i32.const 145) + (block + (set_local $23 + (get_local $5) + ) + (set_local $21 + (get_local $1) + ) + (set_local $9 + (i32.const 145) + ) + (br $while-out$17) ) - (br $while-out$17) ) + (br $while-in$18) ) - (br $while-in$18) ) (if (i32.eq @@ -3153,59 +3165,61 @@ (set_local $14 (i32.const 624) ) - (loop $while-out$37 $while-in$38 - (if + (loop $while-in$38 + (block $while-out$37 (if - (i32.le_u - (tee_local $26 - (i32.load - (get_local $14) - ) - ) - (get_local $8) - ) - (i32.gt_u - (i32.add - (get_local $26) - (i32.load - (tee_local $11 - (i32.add - (get_local $14) - (i32.const 4) - ) + (if + (i32.le_u + (tee_local $26 + (i32.load + (get_local $14) ) ) + (get_local $8) ) - (get_local $8) - ) - (i32.const 0) - ) - (block - (set_local $5 - (get_local $14) - ) - (set_local $7 - (get_local $11) + (i32.gt_u + (i32.add + (get_local $26) + (i32.load + (tee_local $11 + (i32.add + (get_local $14) + (i32.const 4) + ) + ) + ) + ) + (get_local $8) + ) + (i32.const 0) ) - (br $while-out$37) - ) - ) - (if - (i32.eqz - (tee_local $14 - (i32.load offset=8 + (block + (set_local $5 (get_local $14) ) + (set_local $7 + (get_local $11) + ) + (br $while-out$37) ) ) - (block - (set_local $9 - (i32.const 173) + (if + (i32.eqz + (tee_local $14 + (i32.load offset=8 + (get_local $14) + ) + ) + ) + (block + (set_local $9 + (i32.const 173) + ) + (br $label$break$L259) ) - (br $label$break$L259) ) + (br $while-in$38) ) - (br $while-in$38) ) (if (i32.lt_u @@ -3620,55 +3634,57 @@ (set_local $3 (i32.const 624) ) - (loop $do-out$48 $do-in$49 - (if - (i32.eq - (get_local $20) - (i32.add - (tee_local $6 - (i32.load - (get_local $3) + (loop $do-in$49 + (block $do-out$48 + (if + (i32.eq + (get_local $20) + (i32.add + (tee_local $6 + (i32.load + (get_local $3) + ) ) - ) - (tee_local $12 - (i32.load - (tee_local $17 - (i32.add - (get_local $3) - (i32.const 4) + (tee_local $12 + (i32.load + (tee_local $17 + (i32.add + (get_local $3) + (i32.const 4) + ) ) ) ) ) ) - ) - (block - (set_local $47 - (get_local $6) - ) - (set_local $48 - (get_local $17) - ) - (set_local $49 - (get_local $12) - ) - (set_local $50 - (get_local $3) - ) - (set_local $9 - (i32.const 203) + (block + (set_local $47 + (get_local $6) + ) + (set_local $48 + (get_local $17) + ) + (set_local $49 + (get_local $12) + ) + (set_local $50 + (get_local $3) + ) + (set_local $9 + (i32.const 203) + ) + (br $do-out$48) ) - (br $do-out$48) ) - ) - (br_if $do-in$49 - (i32.ne - (tee_local $3 - (i32.load offset=8 - (get_local $3) + (br_if $do-in$49 + (i32.ne + (tee_local $3 + (i32.load offset=8 + (get_local $3) + ) ) + (i32.const 0) ) - (i32.const 0) ) ) ) @@ -3810,43 +3826,45 @@ (set_local $3 (i32.const 624) ) - (loop $while-out$50 $while-in$51 - (if - (i32.eq - (i32.load - (get_local $3) - ) - (get_local $17) - ) - (block - (set_local $51 - (get_local $3) - ) - (set_local $41 - (get_local $3) - ) - (set_local $9 - (i32.const 211) + (loop $while-in$51 + (block $while-out$50 + (if + (i32.eq + (i32.load + (get_local $3) + ) + (get_local $17) ) - (br $while-out$50) - ) - ) - (if - (i32.eqz - (tee_local $3 - (i32.load offset=8 + (block + (set_local $51 + (get_local $3) + ) + (set_local $41 (get_local $3) ) + (set_local $9 + (i32.const 211) + ) + (br $while-out$50) ) ) - (block - (set_local $28 - (i32.const 624) + (if + (i32.eqz + (tee_local $3 + (i32.load offset=8 + (get_local $3) + ) + ) + ) + (block + (set_local $28 + (i32.const 624) + ) + (br $while-out$50) ) - (br $while-out$50) ) + (br $while-in$51) ) - (br $while-in$51) ) (if (i32.eq @@ -4096,50 +4114,52 @@ ) ) ) - (loop $while-out$61 $while-in$62 - (if - (tee_local $8 - (i32.load - (tee_local $2 - (i32.add - (get_local $14) - (i32.const 20) + (loop $while-in$62 + (block $while-out$61 + (if + (tee_local $8 + (i32.load + (tee_local $2 + (i32.add + (get_local $14) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $14 - (get_local $8) - ) - (set_local $11 - (get_local $2) + (block + (set_local $14 + (get_local $8) + ) + (set_local $11 + (get_local $2) + ) + (br $while-in$62) ) - (br $while-in$62) ) - ) - (if - (tee_local $8 - (i32.load - (tee_local $2 - (i32.add - (get_local $14) - (i32.const 16) + (if + (tee_local $8 + (i32.load + (tee_local $2 + (i32.add + (get_local $14) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $14 - (get_local $8) - ) - (set_local $11 - (get_local $2) + (block + (set_local $14 + (get_local $8) + ) + (set_local $11 + (get_local $2) + ) ) + (br $while-out$61) ) - (br $while-out$61) + (br $while-in$62) ) - (br $while-in$62) ) (if (i32.lt_u @@ -4838,72 +4858,74 @@ (get_local $2) ) ) - (loop $while-out$71 $while-in$72 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $1) + (loop $while-in$72 + (block $while-out$71 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $1) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $15) - ) - (block - (set_local $36 - (get_local $1) + (get_local $15) ) - (set_local $9 - (i32.const 281) + (block + (set_local $36 + (get_local $1) + ) + (set_local $9 + (i32.const 281) + ) + (br $while-out$71) ) - (br $while-out$71) ) - ) - (if - (tee_local $7 - (i32.load - (tee_local $2 - (i32.add + (if + (tee_local $7 + (i32.load + (tee_local $2 (i32.add - (get_local $1) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $14) - (i32.const 31) + (i32.add + (get_local $1) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $14) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $14 - (i32.shl - (get_local $14) - (i32.const 1) + (block + (set_local $14 + (i32.shl + (get_local $14) + (i32.const 1) + ) + ) + (set_local $1 + (get_local $7) ) ) - (set_local $1 - (get_local $7) - ) - ) - (block - (set_local $44 - (get_local $2) - ) - (set_local $52 - (get_local $1) - ) - (set_local $9 - (i32.const 278) + (block + (set_local $44 + (get_local $2) + ) + (set_local $52 + (get_local $1) + ) + (set_local $9 + (i32.const 278) + ) + (br $while-out$71) ) - (br $while-out$71) ) + (br $while-in$72) ) - (br $while-in$72) ) (if (i32.eq @@ -5028,43 +5050,45 @@ ) ) ) - (loop $while-out$73 $while-in$74 - (if + (loop $while-in$74 + (block $while-out$73 (if - (i32.le_u - (tee_local $3 - (i32.load - (get_local $28) - ) - ) - (get_local $13) - ) - (i32.gt_u - (tee_local $15 - (i32.add - (get_local $3) - (i32.load offset=4 + (if + (i32.le_u + (tee_local $3 + (i32.load (get_local $28) ) ) + (get_local $13) ) - (get_local $13) - ) - (i32.const 0) - ) - (block - (set_local $5 - (get_local $15) + (i32.gt_u + (tee_local $15 + (i32.add + (get_local $3) + (i32.load offset=4 + (get_local $28) + ) + ) + ) + (get_local $13) + ) + (i32.const 0) + ) + (block + (set_local $5 + (get_local $15) + ) + (br $while-out$73) ) - (br $while-out$73) ) - ) - (set_local $28 - (i32.load offset=8 - (get_local $28) + (set_local $28 + (i32.load offset=8 + (get_local $28) + ) ) + (br $while-in$74) ) - (br $while-in$74) ) (set_local $15 (i32.add @@ -5574,72 +5598,74 @@ (get_local $6) ) ) - (loop $while-out$77 $while-in$78 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $1) + (loop $while-in$78 + (block $while-out$77 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $1) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $3) - ) - (block - (set_local $38 - (get_local $1) + (get_local $3) ) - (set_local $9 - (i32.const 307) + (block + (set_local $38 + (get_local $1) + ) + (set_local $9 + (i32.const 307) + ) + (br $while-out$77) ) - (br $while-out$77) ) - ) - (if - (tee_local $7 - (i32.load - (tee_local $6 - (i32.add + (if + (tee_local $7 + (i32.load + (tee_local $6 (i32.add - (get_local $1) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $2) - (i32.const 31) + (i32.add + (get_local $1) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $2 - (i32.shl - (get_local $2) - (i32.const 1) + (block + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (set_local $1 + (get_local $7) ) ) - (set_local $1 - (get_local $7) - ) - ) - (block - (set_local $46 - (get_local $6) - ) - (set_local $53 - (get_local $1) - ) - (set_local $9 - (i32.const 304) + (block + (set_local $46 + (get_local $6) + ) + (set_local $53 + (get_local $1) + ) + (set_local $9 + (i32.const 304) + ) + (br $while-out$77) ) - (br $while-out$77) ) + (br $while-in$78) ) - (br $while-in$78) ) (if (i32.eq @@ -6317,58 +6343,60 @@ ) ) ) - (loop $while-out$4 $while-in$5 - (if - (tee_local $11 - (i32.load - (tee_local $5 - (i32.add - (get_local $1) - (i32.const 20) + (loop $while-in$5 + (block $while-out$4 + (if + (tee_local $11 + (i32.load + (tee_local $5 + (i32.add + (get_local $1) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $1 - (get_local $11) - ) - (set_local $6 - (get_local $5) + (block + (set_local $1 + (get_local $11) + ) + (set_local $6 + (get_local $5) + ) + (br $while-in$5) ) - (br $while-in$5) ) - ) - (if - (tee_local $11 - (i32.load - (tee_local $5 - (i32.add - (get_local $1) - (i32.const 16) + (if + (tee_local $11 + (i32.load + (tee_local $5 + (i32.add + (get_local $1) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $1 - (get_local $11) - ) - (set_local $6 - (get_local $5) - ) - ) - (block - (set_local $5 - (get_local $1) + (block + (set_local $1 + (get_local $11) + ) + (set_local $6 + (get_local $5) + ) ) - (set_local $10 - (get_local $6) + (block + (set_local $5 + (get_local $1) + ) + (set_local $10 + (get_local $6) + ) + (br $while-out$4) ) - (br $while-out$4) ) + (br $while-in$5) ) - (br $while-in$5) ) (if (i32.lt_u @@ -6869,50 +6897,52 @@ ) ) ) - (loop $while-out$12 $while-in$13 - (if - (tee_local $11 - (i32.load - (tee_local $1 - (i32.add - (get_local $0) - (i32.const 20) + (loop $while-in$13 + (block $while-out$12 + (if + (tee_local $11 + (i32.load + (tee_local $1 + (i32.add + (get_local $0) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $0 - (get_local $11) - ) - (set_local $6 - (get_local $1) + (block + (set_local $0 + (get_local $11) + ) + (set_local $6 + (get_local $1) + ) + (br $while-in$13) ) - (br $while-in$13) ) - ) - (if - (tee_local $11 - (i32.load - (tee_local $1 - (i32.add - (get_local $0) - (i32.const 16) + (if + (tee_local $11 + (i32.load + (tee_local $1 + (i32.add + (get_local $0) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $0 - (get_local $11) - ) - (set_local $6 - (get_local $1) + (block + (set_local $0 + (get_local $11) + ) + (set_local $6 + (get_local $1) + ) ) + (br $while-out$12) ) - (br $while-out$12) + (br $while-in$13) ) - (br $while-in$13) ) (if (i32.lt_u @@ -7567,72 +7597,74 @@ (get_local $3) ) ) - (loop $while-out$18 $while-in$19 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $1) + (loop $while-in$19 + (block $while-out$18 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $1) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $0) - ) - (block - (set_local $17 - (get_local $1) + (get_local $0) ) - (set_local $0 - (i32.const 130) + (block + (set_local $17 + (get_local $1) + ) + (set_local $0 + (i32.const 130) + ) + (br $while-out$18) ) - (br $while-out$18) ) - ) - (if - (tee_local $7 - (i32.load - (tee_local $16 - (i32.add + (if + (tee_local $7 + (i32.load + (tee_local $16 (i32.add - (get_local $1) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $13) - (i32.const 31) + (i32.add + (get_local $1) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $13) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $13 - (i32.shl - (get_local $13) - (i32.const 1) + (block + (set_local $13 + (i32.shl + (get_local $13) + (i32.const 1) + ) + ) + (set_local $1 + (get_local $7) ) ) - (set_local $1 - (get_local $7) - ) - ) - (block - (set_local $18 - (get_local $16) - ) - (set_local $19 - (get_local $1) - ) - (set_local $0 - (i32.const 127) + (block + (set_local $18 + (get_local $16) + ) + (set_local $19 + (get_local $1) + ) + (set_local $0 + (i32.const 127) + ) + (br $while-out$18) ) - (br $while-out$18) ) + (br $while-in$19) ) - (br $while-in$19) ) (if (i32.eq @@ -7766,22 +7798,24 @@ (i32.const 632) ) ) - (loop $while-out$20 $while-in$21 - (if - (tee_local $2 - (i32.load - (get_local $0) + (loop $while-in$21 + (block $while-out$20 + (if + (tee_local $2 + (i32.load + (get_local $0) + ) ) - ) - (set_local $0 - (i32.add - (get_local $2) - (i32.const 8) + (set_local $0 + (i32.add + (get_local $2) + (i32.const 8) + ) ) + (br $while-out$20) ) - (br $while-out$20) + (br $while-in$21) ) - (br $while-in$21) ) (i32.store (i32.const 208) @@ -7894,209 +7928,211 @@ (get_local $2) ) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eq - (get_local $5) - (tee_local $6 - (if - (i32.load - (i32.const 8) - ) - (block - (call_import $_pthread_cleanup_push - (i32.const 4) - (get_local $0) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eq + (get_local $5) + (tee_local $6 + (if + (i32.load + (i32.const 8) ) - (i32.store - (get_local $13) - (i32.load - (get_local $1) + (block + (call_import $_pthread_cleanup_push + (i32.const 4) + (get_local $0) ) - ) - (i32.store offset=4 - (get_local $13) - (get_local $4) - ) - (i32.store offset=8 - (get_local $13) - (get_local $3) - ) - (set_local $10 - (call $___syscall_ret - (call_import $___syscall146 - (i32.const 146) - (get_local $13) + (i32.store + (get_local $13) + (i32.load + (get_local $1) ) ) - ) - (call_import $_pthread_cleanup_pop - (i32.const 0) - ) - (get_local $10) - ) - (block - (i32.store - (get_local $12) - (i32.load - (get_local $1) + (i32.store offset=4 + (get_local $13) + (get_local $4) ) + (i32.store offset=8 + (get_local $13) + (get_local $3) + ) + (set_local $10 + (call $___syscall_ret + (call_import $___syscall146 + (i32.const 146) + (get_local $13) + ) + ) + ) + (call_import $_pthread_cleanup_pop + (i32.const 0) + ) + (get_local $10) ) - (i32.store offset=4 - (get_local $12) - (get_local $4) - ) - (i32.store offset=8 - (get_local $12) - (get_local $3) - ) - (call $___syscall_ret - (call_import $___syscall146 - (i32.const 146) + (block + (i32.store + (get_local $12) + (i32.load + (get_local $1) + ) + ) + (i32.store offset=4 (get_local $12) + (get_local $4) + ) + (i32.store offset=8 + (get_local $12) + (get_local $3) + ) + (call $___syscall_ret + (call_import $___syscall146 + (i32.const 146) + (get_local $12) + ) ) ) ) ) ) - ) - (block - (set_local $1 - (i32.const 6) + (block + (set_local $1 + (i32.const 6) + ) + (br $while-out$0) ) - (br $while-out$0) - ) - ) - (if - (i32.lt_s - (get_local $6) - (i32.const 0) ) - (block - (set_local $17 - (get_local $4) - ) - (set_local $18 - (get_local $3) + (if + (i32.lt_s + (get_local $6) + (i32.const 0) ) - (set_local $1 - (i32.const 8) + (block + (set_local $17 + (get_local $4) + ) + (set_local $18 + (get_local $3) + ) + (set_local $1 + (i32.const 8) + ) + (br $while-out$0) ) - (br $while-out$0) ) - ) - (set_local $10 - (i32.sub - (get_local $5) - (get_local $6) - ) - ) - (set_local $3 - (if - (i32.le_u + (set_local $10 + (i32.sub + (get_local $5) (get_local $6) - (tee_local $5 - (i32.load offset=4 - (get_local $4) - ) - ) ) + ) + (set_local $3 (if - (i32.eq - (get_local $3) - (i32.const 2) + (i32.le_u + (get_local $6) + (tee_local $5 + (i32.load offset=4 + (get_local $4) + ) + ) + ) + (if + (i32.eq + (get_local $3) + (i32.const 2) + ) + (block + (i32.store + (get_local $9) + (i32.add + (i32.load + (get_local $9) + ) + (get_local $6) + ) + ) + (set_local $7 + (get_local $4) + ) + (set_local $15 + (i32.const 2) + ) + (get_local $5) + ) + (block + (set_local $7 + (get_local $4) + ) + (set_local $15 + (get_local $3) + ) + (get_local $5) + ) ) (block (i32.store (get_local $9) - (i32.add + (tee_local $7 (i32.load - (get_local $9) + (get_local $8) ) - (get_local $6) ) ) - (set_local $7 - (get_local $4) + (i32.store + (get_local $14) + (get_local $7) ) - (set_local $15 - (i32.const 2) + (set_local $6 + (i32.sub + (get_local $6) + (get_local $5) + ) ) - (get_local $5) - ) - (block (set_local $7 - (get_local $4) + (i32.add + (get_local $4) + (i32.const 8) + ) ) (set_local $15 - (get_local $3) - ) - (get_local $5) - ) - ) - (block - (i32.store - (get_local $9) - (tee_local $7 - (i32.load - (get_local $8) + (i32.add + (get_local $3) + (i32.const -1) ) ) - ) - (i32.store - (get_local $14) - (get_local $7) - ) - (set_local $6 - (i32.sub - (get_local $6) - (get_local $5) - ) - ) - (set_local $7 - (i32.add + (i32.load offset=12 (get_local $4) - (i32.const 8) ) ) - (set_local $15 - (i32.add - (get_local $3) - (i32.const -1) - ) - ) - (i32.load offset=12 - (get_local $4) + ) + ) + (i32.store + (get_local $7) + (i32.add + (i32.load + (get_local $7) ) + (get_local $6) ) ) - ) - (i32.store - (get_local $7) - (i32.add - (i32.load - (get_local $7) + (i32.store offset=4 + (get_local $7) + (i32.sub + (get_local $3) + (get_local $6) ) - (get_local $6) ) - ) - (i32.store offset=4 - (get_local $7) - (i32.sub - (get_local $3) - (get_local $6) + (set_local $4 + (get_local $7) ) + (set_local $3 + (get_local $15) + ) + (set_local $5 + (get_local $10) + ) + (br $while-in$1) ) - (set_local $4 - (get_local $7) - ) - (set_local $3 - (get_local $15) - ) - (set_local $5 - (get_local $10) - ) - (br $while-in$1) ) (if (i32.eq @@ -8286,49 +8322,51 @@ (set_local $3 (get_local $1) ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (get_local $3) - ) - (block - (set_local $2 - (get_local $0) - ) - (set_local $3 - (i32.const 0) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (get_local $3) ) - (br $label$break$L10 - (get_local $1) + (block + (set_local $2 + (get_local $0) + ) + (set_local $3 + (i32.const 0) + ) + (br $label$break$L10 + (get_local $1) + ) ) ) - ) - (if - (i32.eq - (i32.load8_s - (i32.add - (get_local $0) - (tee_local $7 - (i32.add - (get_local $3) - (i32.const -1) + (if + (i32.eq + (i32.load8_s + (i32.add + (get_local $0) + (tee_local $7 + (i32.add + (get_local $3) + (i32.const -1) + ) ) ) ) + (i32.const 10) ) - (i32.const 10) - ) - (block - (set_local $4 - (get_local $3) + (block + (set_local $4 + (get_local $3) + ) + (br $while-out$2) + ) + (set_local $3 + (get_local $7) ) - (br $while-out$2) - ) - (set_local $3 - (get_local $7) ) + (br $while-in$3) ) - (br $while-in$3) ) (if (i32.lt_u @@ -8482,62 +8520,64 @@ (set_local $2 (get_local $0) ) - (loop $while-out$2 $while-in$3 - (set_local $0 - (if - (i32.gt_s - (i32.load offset=76 + (loop $while-in$3 + (block $while-out$2 + (set_local $0 + (if + (i32.gt_s + (i32.load offset=76 + (get_local $1) + ) + (i32.const -1) + ) + (call $___lockfile (get_local $1) ) - (i32.const -1) - ) - (call $___lockfile - (get_local $1) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $2 - (if - (i32.gt_u - (i32.load offset=20 - (get_local $1) - ) - (i32.load offset=28 - (get_local $1) + (set_local $2 + (if + (i32.gt_u + (i32.load offset=20 + (get_local $1) + ) + (i32.load offset=28 + (get_local $1) + ) ) - ) - (i32.or - (call $___fflush_unlocked - (get_local $1) + (i32.or + (call $___fflush_unlocked + (get_local $1) + ) + (get_local $2) ) (get_local $2) ) - (get_local $2) ) - ) - (if - (get_local $0) - (call $___unlockfile - (get_local $1) + (if + (get_local $0) + (call $___unlockfile + (get_local $1) + ) ) - ) - (if - (i32.eqz - (tee_local $1 - (i32.load offset=56 - (get_local $1) + (if + (i32.eqz + (tee_local $1 + (i32.load offset=56 + (get_local $1) + ) ) ) - ) - (block - (set_local $0 - (get_local $2) + (block + (set_local $0 + (get_local $2) + ) + (br $while-out$2) ) - (br $while-out$2) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) @@ -8567,45 +8607,47 @@ (set_local $4 (get_local $3) ) - (loop $while-out$1 $while-in$2 - (if - (i32.eqz - (i32.load8_s - (get_local $0) + (loop $while-in$2 + (block $while-out$1 + (if + (i32.eqz + (i32.load8_s + (get_local $0) + ) ) - ) - (block - (set_local $5 - (get_local $4) + (block + (set_local $5 + (get_local $4) + ) + (br $label$break$L1) ) - (br $label$break$L1) ) - ) - (if - (i32.eqz - (i32.and - (tee_local $4 - (tee_local $0 - (i32.add - (get_local $0) - (i32.const 1) + (if + (i32.eqz + (i32.and + (tee_local $4 + (tee_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) ) + (i32.const 3) ) - (i32.const 3) - ) - ) - (block - (set_local $2 - (get_local $0) ) - (set_local $1 - (i32.const 4) + (block + (set_local $2 + (get_local $0) + ) + (set_local $1 + (i32.const 4) + ) + (br $while-out$1) ) - (br $while-out$1) ) + (br $while-in$2) ) - (br $while-in$2) ) ) (block @@ -8627,34 +8669,36 @@ (set_local $1 (get_local $2) ) - (loop $while-out$3 $while-in$4 - (if - (i32.and - (i32.xor - (i32.and - (tee_local $2 - (i32.load - (get_local $1) + (loop $while-in$4 + (block $while-out$3 + (if + (i32.and + (i32.xor + (i32.and + (tee_local $2 + (i32.load + (get_local $1) + ) ) + (i32.const -2139062144) ) (i32.const -2139062144) ) - (i32.const -2139062144) - ) - (i32.add - (get_local $2) - (i32.const -16843009) + (i32.add + (get_local $2) + (i32.const -16843009) + ) ) - ) - (br $while-out$3) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 4) + (br $while-out$3) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 4) + ) ) ) + (br $while-in$4) ) - (br $while-in$4) ) (if (i32.shr_s @@ -8671,22 +8715,24 @@ (set_local $2 (get_local $1) ) - (loop $while-out$5 $while-in$6 - (if - (i32.load8_s - (tee_local $1 - (i32.add - (get_local $2) - (i32.const 1) + (loop $while-in$6 + (block $while-out$5 + (if + (i32.load8_s + (tee_local $1 + (i32.add + (get_local $2) + (i32.const 1) + ) ) ) + (set_local $2 + (get_local $1) + ) + (br $while-out$5) ) - (set_local $2 - (get_local $1) - ) - (br $while-out$5) + (br $while-in$6) ) - (br $while-in$6) ) ) ) @@ -9010,116 +9056,122 @@ ) ) (block - (loop $while-out$0 $while-in$1 - (br_if $while-out$0 - (i32.eqz - (i32.and - (get_local $0) - (i32.const 3) + (loop $while-in$1 + (block $while-out$0 + (br_if $while-out$0 + (i32.eqz + (i32.and + (get_local $0) + (i32.const 3) + ) ) ) - ) - (if - (i32.eqz - (get_local $2) - ) - (return - (get_local $3) - ) - ) - (i32.store8 - (get_local $0) - (i32.load8_s - (get_local $1) + (if + (i32.eqz + (get_local $2) + ) + (return + (get_local $3) + ) ) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (i32.load8_s + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) ) - ) - (br $while-in$1) - ) - (loop $while-out$2 $while-in$3 - (br_if $while-out$2 - (i32.lt_s - (get_local $2) - (i32.const 4) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) ) + (br $while-in$1) ) - (i32.store - (get_local $0) - (i32.load - (get_local $1) + ) + (loop $while-in$3 + (block $while-out$2 + (br_if $while-out$2 + (i32.lt_s + (get_local $2) + (i32.const 4) + ) ) - ) - (set_local $0 - (i32.add + (i32.store (get_local $0) - (i32.const 4) + (i32.load + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 4) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 4) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 4) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 4) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 4) + ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (br_if $while-out$4 - (i32.le_s - (get_local $2) - (i32.const 0) - ) - ) - (i32.store8 - (get_local $0) - (i32.load8_s - (get_local $1) + (loop $while-in$5 + (block $while-out$4 + (br_if $while-out$4 + (i32.le_s + (get_local $2) + (i32.const 0) + ) ) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (i32.load8_s + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) + ) + (br $while-in$5) ) - (br $while-in$5) ) (get_local $3) ) @@ -9192,66 +9244,72 @@ (get_local $3) ) ) - (loop $while-out$0 $while-in$1 - (br_if $while-out$0 - (i32.ge_s - (get_local $0) - (get_local $3) + (loop $while-in$1 + (block $while-out$0 + (br_if $while-out$0 + (i32.ge_s + (get_local $0) + (get_local $3) + ) ) - ) - (i32.store8 - (get_local $0) - (get_local $1) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (get_local $1) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) + (br $while-in$1) ) - (br $while-in$1) ) ) ) - (loop $while-out$2 $while-in$3 - (br_if $while-out$2 - (i32.ge_s - (get_local $0) - (get_local $6) + (loop $while-in$3 + (block $while-out$2 + (br_if $while-out$2 + (i32.ge_s + (get_local $0) + (get_local $6) + ) ) - ) - (i32.store - (get_local $0) - (get_local $5) - ) - (set_local $0 - (i32.add + (i32.store (get_local $0) - (i32.const 4) + (get_local $5) ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 4) + ) + ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (br_if $while-out$4 - (i32.ge_s - (get_local $0) - (get_local $4) + (loop $while-in$5 + (block $while-out$4 + (br_if $while-out$4 + (i32.ge_s + (get_local $0) + (get_local $4) + ) ) - ) - (i32.store8 - (get_local $0) - (get_local $1) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (get_local $1) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) + (br $while-in$5) ) - (br $while-in$5) ) (i32.sub (get_local $0) diff --git a/test/emcc_O2_hello_world.fromasm.imprecise.no-opts b/test/emcc_O2_hello_world.fromasm.imprecise.no-opts index 5c70bf1c4..af4655d11 100644 --- a/test/emcc_O2_hello_world.fromasm.imprecise.no-opts +++ b/test/emcc_O2_hello_world.fromasm.imprecise.no-opts @@ -880,88 +880,90 @@ (set_local $i7 (get_local $i10) ) - (loop $while-out$23 $while-in$24 - (set_local $i10 - (i32.load - (i32.add - (get_local $i3) - (i32.const 16) + (loop $while-in$24 + (block $while-out$23 + (set_local $i10 + (i32.load + (i32.add + (get_local $i3) + (i32.const 16) + ) ) ) - ) - (if - (i32.eqz - (get_local $i10) - ) - (block - (set_local $i15 - (i32.load - (i32.add - (get_local $i3) - (i32.const 20) - ) - ) + (if + (i32.eqz + (get_local $i10) ) - (if - (i32.eqz - (get_local $i15) + (block + (set_local $i15 + (i32.load + (i32.add + (get_local $i3) + (i32.const 20) + ) + ) ) - (block - (set_local $i21 - (get_local $i5) + (if + (i32.eqz + (get_local $i15) ) - (set_local $i22 - (get_local $i7) + (block + (set_local $i21 + (get_local $i5) + ) + (set_local $i22 + (get_local $i7) + ) + (br $while-out$23) + ) + (set_local $i23 + (get_local $i15) ) - (br $while-out$23) - ) - (set_local $i23 - (get_local $i15) ) ) + (set_local $i23 + (get_local $i10) + ) ) - (set_local $i23 - (get_local $i10) - ) - ) - (set_local $i10 - (i32.sub - (i32.and - (i32.load - (i32.add - (get_local $i23) - (i32.const 4) + (set_local $i10 + (i32.sub + (i32.and + (i32.load + (i32.add + (get_local $i23) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) + (get_local $i2) ) - (get_local $i2) ) - ) - (set_local $i15 - (i32.lt_u - (get_local $i10) - (get_local $i5) + (set_local $i15 + (i32.lt_u + (get_local $i10) + (get_local $i5) + ) ) - ) - (set_local $i5 - (if - (get_local $i15) - (get_local $i10) - (get_local $i5) + (set_local $i5 + (if + (get_local $i15) + (get_local $i10) + (get_local $i5) + ) ) - ) - (set_local $i3 - (get_local $i23) - ) - (set_local $i7 - (if - (get_local $i15) + (set_local $i3 (get_local $i23) - (get_local $i7) ) + (set_local $i7 + (if + (get_local $i15) + (get_local $i23) + (get_local $i7) + ) + ) + (br $while-in$24) ) - (br $while-in$24) ) (set_local $i7 (i32.load @@ -1067,64 +1069,66 @@ ) ) ) - (loop $while-out$27 $while-in$28 - (set_local $i14 - (i32.add - (get_local $i25) - (i32.const 20) - ) - ) - (set_local $i17 - (i32.load - (get_local $i14) - ) - ) - (if - (get_local $i17) - (block - (set_local $i25 - (get_local $i17) + (loop $while-in$28 + (block $while-out$27 + (set_local $i14 + (i32.add + (get_local $i25) + (i32.const 20) ) - (set_local $i26 + ) + (set_local $i17 + (i32.load (get_local $i14) ) - (br $while-in$28) - ) - ) - (set_local $i14 - (i32.add - (get_local $i25) - (i32.const 16) - ) - ) - (set_local $i17 - (i32.load - (get_local $i14) ) - ) - (if - (i32.eqz + (if (get_local $i17) + (block + (set_local $i25 + (get_local $i17) + ) + (set_local $i26 + (get_local $i14) + ) + (br $while-in$28) + ) ) - (block - (set_local $i27 + (set_local $i14 + (i32.add (get_local $i25) + (i32.const 16) ) - (set_local $i28 - (get_local $i26) + ) + (set_local $i17 + (i32.load + (get_local $i14) ) - (br $while-out$27) ) - (block - (set_local $i25 + (if + (i32.eqz (get_local $i17) ) - (set_local $i26 - (get_local $i14) + (block + (set_local $i27 + (get_local $i25) + ) + (set_local $i28 + (get_local $i26) + ) + (br $while-out$27) + ) + (block + (set_local $i25 + (get_local $i17) + ) + (set_local $i26 + (get_local $i14) + ) ) ) + (br $while-in$28) ) - (br $while-in$28) ) (if (i32.lt_u @@ -1829,156 +1833,158 @@ (set_local $i8 (i32.const 0) ) - (loop $while-out$3 $while-in$4 - (set_local $i16 - (i32.and - (i32.load - (i32.add - (get_local $i17) - (i32.const 4) + (loop $while-in$4 + (block $while-out$3 + (set_local $i16 + (i32.and + (i32.load + (i32.add + (get_local $i17) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) - ) - ) - (set_local $i9 - (i32.sub - (get_local $i16) - (get_local $i5) - ) - ) - (if - (i32.lt_u - (get_local $i9) - (get_local $i12) ) - (if - (i32.eq + (set_local $i9 + (i32.sub (get_local $i16) (get_local $i5) ) - (block - (set_local $i37 - (get_local $i9) - ) - (set_local $i38 - (get_local $i17) + ) + (if + (i32.lt_u + (get_local $i9) + (get_local $i12) + ) + (if + (i32.eq + (get_local $i16) + (get_local $i5) ) - (set_local $i39 - (get_local $i17) + (block + (set_local $i37 + (get_local $i9) + ) + (set_local $i38 + (get_local $i17) + ) + (set_local $i39 + (get_local $i17) + ) + (set_local $i36 + (i32.const 90) + ) + (br $label$break$L123) ) - (set_local $i36 - (i32.const 90) + (block + (set_local $i40 + (get_local $i9) + ) + (set_local $i41 + (get_local $i17) + ) ) - (br $label$break$L123) ) (block (set_local $i40 - (get_local $i9) + (get_local $i12) ) (set_local $i41 - (get_local $i17) + (get_local $i8) ) ) ) - (block - (set_local $i40 - (get_local $i12) - ) - (set_local $i41 - (get_local $i8) - ) - ) - ) - (set_local $i9 - (i32.load - (i32.add - (get_local $i17) - (i32.const 20) - ) - ) - ) - (set_local $i17 - (i32.load - (i32.add + (set_local $i9 + (i32.load (i32.add (get_local $i17) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $i7) - (i32.const 31) - ) - (i32.const 2) + (i32.const 20) ) ) ) - ) - (set_local $i16 - (if - (i32.or - (i32.eq - (get_local $i9) - (i32.const 0) - ) - (i32.eq - (get_local $i9) - (get_local $i17) + (set_local $i17 + (i32.load + (i32.add + (i32.add + (get_local $i17) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $i7) + (i32.const 31) + ) + (i32.const 2) + ) ) ) - (get_local $i10) - (get_local $i9) ) - ) - (set_local $i9 - (i32.eq - (get_local $i17) - (i32.const 0) - ) - ) - (if - (get_local $i9) - (block - (set_local $i33 - (get_local $i40) - ) - (set_local $i34 - (get_local $i16) - ) - (set_local $i35 - (get_local $i41) - ) - (set_local $i36 - (i32.const 86) + (set_local $i16 + (if + (i32.or + (i32.eq + (get_local $i9) + (i32.const 0) + ) + (i32.eq + (get_local $i9) + (get_local $i17) + ) + ) + (get_local $i10) + (get_local $i9) ) - (br $while-out$3) ) - (block - (set_local $i12 - (get_local $i40) + (set_local $i9 + (i32.eq + (get_local $i17) + (i32.const 0) ) - (set_local $i10 - (get_local $i16) + ) + (if + (get_local $i9) + (block + (set_local $i33 + (get_local $i40) + ) + (set_local $i34 + (get_local $i16) + ) + (set_local $i35 + (get_local $i41) + ) + (set_local $i36 + (i32.const 86) + ) + (br $while-out$3) ) - (set_local $i7 - (i32.shl - (get_local $i7) - (i32.xor - (i32.and - (get_local $i9) + (block + (set_local $i12 + (get_local $i40) + ) + (set_local $i10 + (get_local $i16) + ) + (set_local $i7 + (i32.shl + (get_local $i7) + (i32.xor + (i32.and + (get_local $i9) + (i32.const 1) + ) (i32.const 1) ) - (i32.const 1) ) ) - ) - (set_local $i8 - (get_local $i41) + (set_local $i8 + (get_local $i41) + ) ) ) + (br $while-in$4) ) - (br $while-in$4) ) ) ) @@ -2179,104 +2185,106 @@ (get_local $i36) (i32.const 90) ) - (loop $while-out$5 $while-in$6 - (set_local $i36 - (i32.const 0) - ) - (set_local $i8 - (i32.sub - (i32.and - (i32.load - (i32.add - (get_local $i38) - (i32.const 4) + (loop $while-in$6 + (block $while-out$5 + (set_local $i36 + (i32.const 0) + ) + (set_local $i8 + (i32.sub + (i32.and + (i32.load + (i32.add + (get_local $i38) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) + (get_local $i5) ) - (get_local $i5) - ) - ) - (set_local $i7 - (i32.lt_u - (get_local $i8) - (get_local $i37) - ) - ) - (set_local $i3 - (if - (get_local $i7) - (get_local $i8) - (get_local $i37) - ) - ) - (set_local $i8 - (if - (get_local $i7) - (get_local $i38) - (get_local $i39) ) - ) - (set_local $i7 - (i32.load - (i32.add - (get_local $i38) - (i32.const 16) + (set_local $i7 + (i32.lt_u + (get_local $i8) + (get_local $i37) ) ) - ) - (if - (get_local $i7) - (block - (set_local $i37 - (get_local $i3) - ) - (set_local $i38 + (set_local $i3 + (if (get_local $i7) - ) - (set_local $i39 (get_local $i8) + (get_local $i37) ) - (set_local $i36 - (i32.const 90) - ) - (br $while-in$6) ) - ) - (set_local $i38 - (i32.load - (i32.add + (set_local $i8 + (if + (get_local $i7) (get_local $i38) - (i32.const 20) + (get_local $i39) ) ) - ) - (if - (i32.eqz - (get_local $i38) + (set_local $i7 + (i32.load + (i32.add + (get_local $i38) + (i32.const 16) + ) + ) ) - (block - (set_local $i43 - (get_local $i3) + (if + (get_local $i7) + (block + (set_local $i37 + (get_local $i3) + ) + (set_local $i38 + (get_local $i7) + ) + (set_local $i39 + (get_local $i8) + ) + (set_local $i36 + (i32.const 90) + ) + (br $while-in$6) ) - (set_local $i44 - (get_local $i8) + ) + (set_local $i38 + (i32.load + (i32.add + (get_local $i38) + (i32.const 20) + ) ) - (br $while-out$5) ) - (block - (set_local $i37 - (get_local $i3) + (if + (i32.eqz + (get_local $i38) ) - (set_local $i39 - (get_local $i8) + (block + (set_local $i43 + (get_local $i3) + ) + (set_local $i44 + (get_local $i8) + ) + (br $while-out$5) ) - (set_local $i36 - (i32.const 90) + (block + (set_local $i37 + (get_local $i3) + ) + (set_local $i39 + (get_local $i8) + ) + (set_local $i36 + (i32.const 90) + ) ) ) + (br $while-in$6) ) - (br $while-in$6) ) ) (if @@ -2401,66 +2409,68 @@ ) ) ) - (loop $while-out$9 $while-in$10 - (set_local $i2 - (i32.add - (get_local $i46) - (i32.const 20) - ) - ) - (set_local $i14 - (i32.load - (get_local $i2) - ) - ) - (if - (get_local $i14) - (block - (set_local $i46 - (get_local $i14) + (loop $while-in$10 + (block $while-out$9 + (set_local $i2 + (i32.add + (get_local $i46) + (i32.const 20) ) - (set_local $i47 + ) + (set_local $i14 + (i32.load (get_local $i2) ) - (br $while-in$10) ) - ) - (set_local $i2 - (i32.add - (get_local $i46) - (i32.const 16) - ) - ) - (set_local $i14 - (i32.load - (get_local $i2) - ) - ) - (if - (i32.eqz + (if (get_local $i14) + (block + (set_local $i46 + (get_local $i14) + ) + (set_local $i47 + (get_local $i2) + ) + (br $while-in$10) + ) ) - (block - (set_local $i48 + (set_local $i2 + (i32.add (get_local $i46) + (i32.const 16) ) - (set_local $i49 - (get_local $i47) - ) - (br $while-out$9) ) - (block - (set_local $i46 - (get_local $i14) - ) - (set_local $i47 + (set_local $i14 + (i32.load (get_local $i2) ) ) - ) - (br $while-in$10) - ) - (if + (if + (i32.eqz + (get_local $i14) + ) + (block + (set_local $i48 + (get_local $i46) + ) + (set_local $i49 + (get_local $i47) + ) + (br $while-out$9) + ) + (block + (set_local $i46 + (get_local $i14) + ) + (set_local $i47 + (get_local $i2) + ) + ) + ) + (br $while-in$10) + ) + ) + (if (i32.lt_u (get_local $i49) (get_local $i15) @@ -3109,79 +3119,81 @@ (get_local $i3) ) ) - (loop $while-out$17 $while-in$18 - (if - (i32.eq - (i32.and - (i32.load - (i32.add - (get_local $i7) - (i32.const 4) + (loop $while-in$18 + (block $while-out$17 + (if + (i32.eq + (i32.and + (i32.load + (i32.add + (get_local $i7) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $i43) - ) - (block - (set_local $i53 - (get_local $i7) + (get_local $i43) ) - (set_local $i36 - (i32.const 148) + (block + (set_local $i53 + (get_local $i7) + ) + (set_local $i36 + (i32.const 148) + ) + (br $while-out$17) ) - (br $while-out$17) ) - ) - (set_local $i3 - (i32.add + (set_local $i3 (i32.add - (get_local $i7) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $i4) - (i32.const 31) + (i32.add + (get_local $i7) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $i4) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (set_local $i2 - (i32.load - (get_local $i3) - ) - ) - (if - (i32.eqz - (get_local $i2) - ) - (block - (set_local $i54 + (set_local $i2 + (i32.load (get_local $i3) ) - (set_local $i55 - (get_local $i7) - ) - (set_local $i36 - (i32.const 145) - ) - (br $while-out$17) ) - (block - (set_local $i4 - (i32.shl - (get_local $i4) - (i32.const 1) + (if + (i32.eqz + (get_local $i2) + ) + (block + (set_local $i54 + (get_local $i3) ) + (set_local $i55 + (get_local $i7) + ) + (set_local $i36 + (i32.const 145) + ) + (br $while-out$17) ) - (set_local $i7 - (get_local $i2) + (block + (set_local $i4 + (i32.shl + (get_local $i4) + (i32.const 1) + ) + ) + (set_local $i7 + (get_local $i2) + ) ) ) + (br $while-in$18) ) - (br $while-in$18) ) (if (i32.eq @@ -3736,67 +3748,69 @@ (set_local $i50 (i32.const 624) ) - (loop $while-out$37 $while-in$38 - (set_local $i51 - (i32.load - (get_local $i50) + (loop $while-in$38 + (block $while-out$37 + (set_local $i51 + (i32.load + (get_local $i50) + ) ) - ) - (if (if - (i32.le_u - (get_local $i51) - (get_local $i52) - ) - (block - (set_local $i45 - (i32.add - (get_local $i50) - (i32.const 4) - ) + (if + (i32.le_u + (get_local $i51) + (get_local $i52) ) - (i32.gt_u - (i32.add - (get_local $i51) - (i32.load - (get_local $i45) + (block + (set_local $i45 + (i32.add + (get_local $i50) + (i32.const 4) ) ) - (get_local $i52) + (i32.gt_u + (i32.add + (get_local $i51) + (i32.load + (get_local $i45) + ) + ) + (get_local $i52) + ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $i56 - (get_local $i50) + (block + (set_local $i56 + (get_local $i50) + ) + (set_local $i57 + (get_local $i45) + ) + (br $while-out$37) ) - (set_local $i57 - (get_local $i45) + ) + (set_local $i50 + (i32.load + (i32.add + (get_local $i50) + (i32.const 8) + ) ) - (br $while-out$37) ) - ) - (set_local $i50 - (i32.load - (i32.add + (if + (i32.eqz (get_local $i50) - (i32.const 8) ) - ) - ) - (if - (i32.eqz - (get_local $i50) - ) - (block - (set_local $i36 - (i32.const 173) + (block + (set_local $i36 + (i32.const 173) + ) + (br $label$break$L259) ) - (br $label$break$L259) ) + (br $while-in$38) ) - (br $while-in$38) ) (set_local $i50 (i32.and @@ -4269,64 +4283,66 @@ (set_local $i63 (i32.const 624) ) - (loop $do-out$48 $do-in$49 - (set_local $i43 - (i32.load - (get_local $i63) - ) - ) - (set_local $i61 - (i32.add - (get_local $i63) - (i32.const 4) - ) - ) - (set_local $i44 - (i32.load - (get_local $i61) + (loop $do-in$49 + (block $do-out$48 + (set_local $i43 + (i32.load + (get_local $i63) + ) ) - ) - (if - (i32.eq - (get_local $i58) + (set_local $i61 (i32.add - (get_local $i43) - (get_local $i44) + (get_local $i63) + (i32.const 4) ) ) - (block - (set_local $i64 - (get_local $i43) - ) - (set_local $i65 + (set_local $i44 + (i32.load (get_local $i61) ) - (set_local $i66 - (get_local $i44) + ) + (if + (i32.eq + (get_local $i58) + (i32.add + (get_local $i43) + (get_local $i44) + ) ) - (set_local $i67 - (get_local $i63) + (block + (set_local $i64 + (get_local $i43) + ) + (set_local $i65 + (get_local $i61) + ) + (set_local $i66 + (get_local $i44) + ) + (set_local $i67 + (get_local $i63) + ) + (set_local $i36 + (i32.const 203) + ) + (br $do-out$48) ) - (set_local $i36 - (i32.const 203) + ) + (set_local $i63 + (i32.load + (i32.add + (get_local $i63) + (i32.const 8) + ) ) - (br $do-out$48) ) - ) - (set_local $i63 - (i32.load - (i32.add + (br_if $do-in$49 + (i32.ne (get_local $i63) - (i32.const 8) + (i32.const 0) ) ) ) - (br_if $do-in$49 - (i32.ne - (get_local $i63) - (i32.const 0) - ) - ) ) (if (if @@ -4480,47 +4496,49 @@ (set_local $i63 (i32.const 624) ) - (loop $while-out$50 $while-in$51 - (if - (i32.eq - (i32.load - (get_local $i63) + (loop $while-in$51 + (block $while-out$50 + (if + (i32.eq + (i32.load + (get_local $i63) + ) + (get_local $i61) ) - (get_local $i61) - ) - (block - (set_local $i69 - (get_local $i63) - ) - (set_local $i70 - (get_local $i63) + (block + (set_local $i69 + (get_local $i63) + ) + (set_local $i70 + (get_local $i63) + ) + (set_local $i36 + (i32.const 211) + ) + (br $while-out$50) ) - (set_local $i36 - (i32.const 211) + ) + (set_local $i63 + (i32.load + (i32.add + (get_local $i63) + (i32.const 8) + ) ) - (br $while-out$50) ) - ) - (set_local $i63 - (i32.load - (i32.add + (if + (i32.eqz (get_local $i63) - (i32.const 8) ) - ) - ) - (if - (i32.eqz - (get_local $i63) - ) - (block - (set_local $i71 - (i32.const 624) + (block + (set_local $i71 + (i32.const 624) + ) + (br $while-out$50) ) - (br $while-out$50) ) + (br $while-in$51) ) - (br $while-in$51) ) (if (i32.eq @@ -4806,64 +4824,66 @@ ) ) ) - (loop $while-out$61 $while-in$62 - (set_local $i5 - (i32.add - (get_local $i73) - (i32.const 20) - ) - ) - (set_local $i52 - (i32.load - (get_local $i5) - ) - ) - (if - (get_local $i52) - (block - (set_local $i73 - (get_local $i52) + (loop $while-in$62 + (block $while-out$61 + (set_local $i5 + (i32.add + (get_local $i73) + (i32.const 20) ) - (set_local $i74 + ) + (set_local $i52 + (i32.load (get_local $i5) ) - (br $while-in$62) ) - ) - (set_local $i5 - (i32.add - (get_local $i73) - (i32.const 16) - ) - ) - (set_local $i52 - (i32.load - (get_local $i5) - ) - ) - (if - (i32.eqz + (if (get_local $i52) + (block + (set_local $i73 + (get_local $i52) + ) + (set_local $i74 + (get_local $i5) + ) + (br $while-in$62) + ) ) - (block - (set_local $i75 + (set_local $i5 + (i32.add (get_local $i73) + (i32.const 16) ) - (set_local $i76 - (get_local $i74) + ) + (set_local $i52 + (i32.load + (get_local $i5) ) - (br $while-out$61) ) - (block - (set_local $i73 + (if + (i32.eqz (get_local $i52) ) - (set_local $i74 - (get_local $i5) + (block + (set_local $i75 + (get_local $i73) + ) + (set_local $i76 + (get_local $i74) + ) + (br $while-out$61) + ) + (block + (set_local $i73 + (get_local $i52) + ) + (set_local $i74 + (get_local $i5) + ) ) ) + (br $while-in$62) ) - (br $while-in$62) ) (if (i32.lt_u @@ -5692,79 +5712,81 @@ (get_local $i5) ) ) - (loop $while-out$71 $while-in$72 - (if - (i32.eq - (i32.and - (i32.load - (i32.add - (get_local $i62) - (i32.const 4) + (loop $while-in$72 + (block $while-out$71 + (if + (i32.eq + (i32.and + (i32.load + (i32.add + (get_local $i62) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $i79) - ) - (block - (set_local $i83 - (get_local $i62) + (get_local $i79) ) - (set_local $i36 - (i32.const 281) + (block + (set_local $i83 + (get_local $i62) + ) + (set_local $i36 + (i32.const 281) + ) + (br $while-out$71) ) - (br $while-out$71) ) - ) - (set_local $i5 - (i32.add + (set_local $i5 (i32.add - (get_local $i62) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $i50) - (i32.const 31) + (i32.add + (get_local $i62) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $i50) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (set_local $i57 - (i32.load - (get_local $i5) - ) - ) - (if - (i32.eqz - (get_local $i57) - ) - (block - (set_local $i84 + (set_local $i57 + (i32.load (get_local $i5) ) - (set_local $i85 - (get_local $i62) - ) - (set_local $i36 - (i32.const 278) - ) - (br $while-out$71) ) - (block - (set_local $i50 - (i32.shl - (get_local $i50) - (i32.const 1) + (if + (i32.eqz + (get_local $i57) + ) + (block + (set_local $i84 + (get_local $i5) ) + (set_local $i85 + (get_local $i62) + ) + (set_local $i36 + (i32.const 278) + ) + (br $while-out$71) ) - (set_local $i62 - (get_local $i57) + (block + (set_local $i50 + (i32.shl + (get_local $i50) + (i32.const 1) + ) + ) + (set_local $i62 + (get_local $i57) + ) ) ) + (br $while-in$72) ) - (br $while-in$72) ) (if (i32.eq @@ -5927,53 +5949,55 @@ ) ) ) - (loop $while-out$73 $while-in$74 - (set_local $i63 - (i32.load - (get_local $i71) + (loop $while-in$74 + (block $while-out$73 + (set_local $i63 + (i32.load + (get_local $i71) + ) ) - ) - (if (if - (i32.le_u - (get_local $i63) - (get_local $i60) - ) - (block - (set_local $i53 - (i32.add - (get_local $i63) - (i32.load - (i32.add - (get_local $i71) - (i32.const 4) + (if + (i32.le_u + (get_local $i63) + (get_local $i60) + ) + (block + (set_local $i53 + (i32.add + (get_local $i63) + (i32.load + (i32.add + (get_local $i71) + (i32.const 4) + ) ) ) ) + (i32.gt_u + (get_local $i53) + (get_local $i60) + ) ) - (i32.gt_u + (i32.const 0) + ) + (block + (set_local $i86 (get_local $i53) - (get_local $i60) ) + (br $while-out$73) ) - (i32.const 0) - ) - (block - (set_local $i86 - (get_local $i53) - ) - (br $while-out$73) ) - ) - (set_local $i71 - (i32.load - (i32.add - (get_local $i71) - (i32.const 8) + (set_local $i71 + (i32.load + (i32.add + (get_local $i71) + (i32.const 8) + ) ) ) + (br $while-in$74) ) - (br $while-in$74) ) (set_local $i44 (i32.add @@ -6170,24 +6194,26 @@ (i32.const 24) ) ) - (loop $do-out$75 $do-in$76 - (set_local $i63 - (i32.add - (get_local $i63) - (i32.const 4) - ) - ) - (i32.store - (get_local $i63) - (i32.const 7) - ) - (br_if $do-in$76 - (i32.lt_u + (loop $do-in$76 + (block $do-out$75 + (set_local $i63 (i32.add (get_local $i63) (i32.const 4) ) - (get_local $i86) + ) + (i32.store + (get_local $i63) + (i32.const 7) + ) + (br_if $do-in$76 + (i32.lt_u + (i32.add + (get_local $i63) + (i32.const 4) + ) + (get_local $i86) + ) ) ) ) @@ -6558,79 +6584,81 @@ (get_local $i43) ) ) - (loop $while-out$77 $while-in$78 - (if - (i32.eq - (i32.and - (i32.load - (i32.add - (get_local $i62) - (i32.const 4) + (loop $while-in$78 + (block $while-out$77 + (if + (i32.eq + (i32.and + (i32.load + (i32.add + (get_local $i62) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) + (get_local $i63) ) - (get_local $i63) - ) - (block - (set_local $i90 - (get_local $i62) - ) - (set_local $i36 - (i32.const 307) + (block + (set_local $i90 + (get_local $i62) + ) + (set_local $i36 + (i32.const 307) + ) + (br $while-out$77) ) - (br $while-out$77) ) - ) - (set_local $i43 - (i32.add + (set_local $i43 (i32.add - (get_local $i62) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $i5) - (i32.const 31) + (i32.add + (get_local $i62) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $i5) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (set_local $i57 - (i32.load - (get_local $i43) - ) - ) - (if - (i32.eqz - (get_local $i57) - ) - (block - (set_local $i91 + (set_local $i57 + (i32.load (get_local $i43) ) - (set_local $i92 - (get_local $i62) - ) - (set_local $i36 - (i32.const 304) - ) - (br $while-out$77) ) - (block - (set_local $i5 - (i32.shl - (get_local $i5) - (i32.const 1) + (if + (i32.eqz + (get_local $i57) + ) + (block + (set_local $i91 + (get_local $i43) + ) + (set_local $i92 + (get_local $i62) + ) + (set_local $i36 + (i32.const 304) ) + (br $while-out$77) ) - (set_local $i62 - (get_local $i57) + (block + (set_local $i5 + (i32.shl + (get_local $i5) + (i32.const 1) + ) + ) + (set_local $i62 + (get_local $i57) + ) ) ) + (br $while-in$78) ) - (br $while-in$78) ) (if (i32.eq @@ -6797,43 +6825,45 @@ (set_local $i5 (i32.const 0) ) - (loop $do-out$46 $do-in$47 - (set_local $i62 - (i32.add - (i32.const 216) - (i32.shl + (loop $do-in$47 + (block $do-out$46 + (set_local $i62 + (i32.add + (i32.const 216) (i32.shl - (get_local $i5) - (i32.const 1) + (i32.shl + (get_local $i5) + (i32.const 1) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (i32.store - (i32.add + (i32.store + (i32.add + (get_local $i62) + (i32.const 12) + ) (get_local $i62) - (i32.const 12) ) - (get_local $i62) - ) - (i32.store - (i32.add + (i32.store + (i32.add + (get_local $i62) + (i32.const 8) + ) (get_local $i62) - (i32.const 8) ) - (get_local $i62) - ) - (set_local $i5 - (i32.add - (get_local $i5) - (i32.const 1) + (set_local $i5 + (i32.add + (get_local $i5) + (i32.const 1) + ) ) - ) - (br_if $do-in$47 - (i32.ne - (get_local $i5) - (i32.const 32) + (br_if $do-in$47 + (i32.ne + (get_local $i5) + (i32.const 32) + ) ) ) ) @@ -7433,64 +7463,66 @@ ) ) ) - (loop $while-out$4 $while-in$5 - (set_local $i11 - (i32.add - (get_local $i19) - (i32.const 20) - ) - ) - (set_local $i16 - (i32.load - (get_local $i11) - ) - ) - (if - (get_local $i16) - (block - (set_local $i19 - (get_local $i16) + (loop $while-in$5 + (block $while-out$4 + (set_local $i11 + (i32.add + (get_local $i19) + (i32.const 20) ) - (set_local $i20 + ) + (set_local $i16 + (i32.load (get_local $i11) ) - (br $while-in$5) - ) - ) - (set_local $i11 - (i32.add - (get_local $i19) - (i32.const 16) - ) - ) - (set_local $i16 - (i32.load - (get_local $i11) ) - ) - (if - (i32.eqz + (if (get_local $i16) + (block + (set_local $i19 + (get_local $i16) + ) + (set_local $i20 + (get_local $i11) + ) + (br $while-in$5) + ) ) - (block - (set_local $i21 + (set_local $i11 + (i32.add (get_local $i19) + (i32.const 16) ) - (set_local $i22 - (get_local $i20) + ) + (set_local $i16 + (i32.load + (get_local $i11) ) - (br $while-out$4) ) - (block - (set_local $i19 + (if + (i32.eqz (get_local $i16) ) - (set_local $i20 - (get_local $i11) + (block + (set_local $i21 + (get_local $i19) + ) + (set_local $i22 + (get_local $i20) + ) + (br $while-out$4) + ) + (block + (set_local $i19 + (get_local $i16) + ) + (set_local $i20 + (get_local $i11) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (if (i32.lt_u @@ -8051,64 +8083,66 @@ ) ) ) - (loop $while-out$12 $while-in$13 - (set_local $i19 - (i32.add - (get_local $i24) - (i32.const 20) - ) - ) - (set_local $i15 - (i32.load - (get_local $i19) - ) - ) - (if - (get_local $i15) - (block - (set_local $i24 - (get_local $i15) + (loop $while-in$13 + (block $while-out$12 + (set_local $i19 + (i32.add + (get_local $i24) + (i32.const 20) ) - (set_local $i25 + ) + (set_local $i15 + (i32.load (get_local $i19) ) - (br $while-in$13) - ) - ) - (set_local $i19 - (i32.add - (get_local $i24) - (i32.const 16) - ) - ) - (set_local $i15 - (i32.load - (get_local $i19) ) - ) - (if - (i32.eqz + (if (get_local $i15) + (block + (set_local $i24 + (get_local $i15) + ) + (set_local $i25 + (get_local $i19) + ) + (br $while-in$13) + ) ) - (block - (set_local $i26 + (set_local $i19 + (i32.add (get_local $i24) + (i32.const 16) ) - (set_local $i27 - (get_local $i25) + ) + (set_local $i15 + (i32.load + (get_local $i19) ) - (br $while-out$12) ) - (block - (set_local $i24 + (if + (i32.eqz (get_local $i15) ) - (set_local $i25 - (get_local $i19) + (block + (set_local $i26 + (get_local $i24) + ) + (set_local $i27 + (get_local $i25) + ) + (br $while-out$12) + ) + (block + (set_local $i24 + (get_local $i15) + ) + (set_local $i25 + (get_local $i19) + ) ) ) + (br $while-in$13) ) - (br $while-in$13) ) (if (i32.lt_u @@ -8895,79 +8929,81 @@ (get_local $i5) ) ) - (loop $while-out$18 $while-in$19 - (if - (i32.eq - (i32.and - (i32.load - (i32.add - (get_local $i2) - (i32.const 4) - ) + (loop $while-in$19 + (block $while-out$18 + (if + (i32.eq + (i32.and + (i32.load + (i32.add + (get_local $i2) + (i32.const 4) + ) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $i29) - ) - (block - (set_local $i33 - (get_local $i2) + (get_local $i29) ) - (set_local $i34 - (i32.const 130) + (block + (set_local $i33 + (get_local $i2) + ) + (set_local $i34 + (i32.const 130) + ) + (br $while-out$18) ) - (br $while-out$18) ) - ) - (set_local $i28 - (i32.add + (set_local $i28 (i32.add - (get_local $i2) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $i31) - (i32.const 31) + (i32.add + (get_local $i2) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $i31) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (set_local $i13 - (i32.load - (get_local $i28) - ) - ) - (if - (i32.eqz - (get_local $i13) - ) - (block - (set_local $i35 + (set_local $i13 + (i32.load (get_local $i28) ) - (set_local $i36 - (get_local $i2) - ) - (set_local $i34 - (i32.const 127) - ) - (br $while-out$18) ) - (block - (set_local $i31 - (i32.shl - (get_local $i31) - (i32.const 1) + (if + (i32.eqz + (get_local $i13) + ) + (block + (set_local $i35 + (get_local $i28) ) + (set_local $i36 + (get_local $i2) + ) + (set_local $i34 + (i32.const 127) + ) + (br $while-out$18) ) - (set_local $i2 - (get_local $i13) + (block + (set_local $i31 + (i32.shl + (get_local $i31) + (i32.const 1) + ) + ) + (set_local $i2 + (get_local $i13) + ) ) ) + (br $while-in$19) ) - (br $while-in$19) ) (if (i32.eq @@ -9142,25 +9178,27 @@ ) (return) ) - (loop $while-out$20 $while-in$21 - (set_local $i12 - (i32.load - (get_local $i37) - ) - ) - (if - (i32.eqz - (get_local $i12) + (loop $while-in$21 + (block $while-out$20 + (set_local $i12 + (i32.load + (get_local $i37) + ) ) - (br $while-out$20) - (set_local $i37 - (i32.add + (if + (i32.eqz (get_local $i12) - (i32.const 8) + ) + (br $while-out$20) + (set_local $i37 + (i32.add + (get_local $i12) + (i32.const 8) + ) ) ) + (br $while-in$21) ) - (br $while-in$21) ) (i32.store (i32.const 208) @@ -9293,247 +9331,249 @@ (get_local $i3) ) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.load - (i32.const 8) - ) - ) - (block - (i32.store - (get_local $i5) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eqz (i32.load - (get_local $i2) + (i32.const 8) ) ) - (i32.store - (i32.add + (block + (i32.store (get_local $i5) - (i32.const 4) + (i32.load + (get_local $i2) + ) ) - (get_local $i12) - ) - (i32.store - (i32.add - (get_local $i5) - (i32.const 8) + (i32.store + (i32.add + (get_local $i5) + (i32.const 4) + ) + (get_local $i12) ) - (get_local $i7) - ) - (set_local $i14 - (call $___syscall_ret - (call_import $___syscall146 - (i32.const 146) + (i32.store + (i32.add (get_local $i5) + (i32.const 8) ) + (get_local $i7) ) - ) - ) - (block - (call_import $_pthread_cleanup_push - (i32.const 4) - (get_local $i1) - ) - (i32.store - (get_local $i6) - (i32.load - (get_local $i2) + (set_local $i14 + (call $___syscall_ret + (call_import $___syscall146 + (i32.const 146) + (get_local $i5) + ) + ) ) ) - (i32.store - (i32.add - (get_local $i6) + (block + (call_import $_pthread_cleanup_push (i32.const 4) + (get_local $i1) ) - (get_local $i12) - ) - (i32.store - (i32.add + (i32.store (get_local $i6) - (i32.const 8) + (i32.load + (get_local $i2) + ) ) - (get_local $i7) - ) - (set_local $i11 - (call $___syscall_ret - (call_import $___syscall146 - (i32.const 146) + (i32.store + (i32.add (get_local $i6) + (i32.const 4) ) + (get_local $i12) ) - ) - (call_import $_pthread_cleanup_pop - (i32.const 0) - ) - (set_local $i14 - (get_local $i11) - ) - ) - ) - (if - (i32.eq - (get_local $i13) - (get_local $i14) - ) - (block - (set_local $i15 - (i32.const 6) - ) - (br $while-out$0) - ) - ) - (if - (i32.lt_s - (get_local $i14) - (i32.const 0) - ) - (block - (set_local $i16 - (get_local $i12) - ) - (set_local $i17 - (get_local $i7) - ) - (set_local $i15 - (i32.const 8) - ) - (br $while-out$0) - ) - ) - (set_local $i11 - (i32.sub - (get_local $i13) - (get_local $i14) - ) - ) - (set_local $i18 - (i32.load - (i32.add - (get_local $i12) - (i32.const 4) - ) - ) - ) - (if - (i32.le_u - (get_local $i14) - (get_local $i18) - ) - (if - (i32.eq - (get_local $i7) - (i32.const 2) - ) - (block (i32.store - (get_local $i8) (i32.add - (i32.load - (get_local $i8) - ) - (get_local $i14) + (get_local $i6) + (i32.const 8) ) + (get_local $i7) ) - (set_local $i19 - (get_local $i18) - ) - (set_local $i20 - (get_local $i14) + (set_local $i11 + (call $___syscall_ret + (call_import $___syscall146 + (i32.const 146) + (get_local $i6) + ) + ) ) - (set_local $i21 - (get_local $i12) + (call_import $_pthread_cleanup_pop + (i32.const 0) ) - (set_local $i22 - (i32.const 2) + (set_local $i14 + (get_local $i11) ) ) + ) + (if + (i32.eq + (get_local $i13) + (get_local $i14) + ) (block - (set_local $i19 - (get_local $i18) - ) - (set_local $i20 - (get_local $i14) + (set_local $i15 + (i32.const 6) ) - (set_local $i21 + (br $while-out$0) + ) + ) + (if + (i32.lt_s + (get_local $i14) + (i32.const 0) + ) + (block + (set_local $i16 (get_local $i12) ) - (set_local $i22 + (set_local $i17 (get_local $i7) ) - ) - ) - (block - (set_local $i23 - (i32.load - (get_local $i9) + (set_local $i15 + (i32.const 8) ) + (br $while-out$0) ) - (i32.store - (get_local $i8) - (get_local $i23) + ) + (set_local $i11 + (i32.sub + (get_local $i13) + (get_local $i14) ) - (i32.store - (get_local $i10) - (get_local $i23) + ) + (set_local $i18 + (i32.load + (i32.add + (get_local $i12) + (i32.const 4) + ) ) - (set_local $i19 - (i32.load - (i32.add + ) + (if + (i32.le_u + (get_local $i14) + (get_local $i18) + ) + (if + (i32.eq + (get_local $i7) + (i32.const 2) + ) + (block + (i32.store + (get_local $i8) + (i32.add + (i32.load + (get_local $i8) + ) + (get_local $i14) + ) + ) + (set_local $i19 + (get_local $i18) + ) + (set_local $i20 + (get_local $i14) + ) + (set_local $i21 (get_local $i12) - (i32.const 12) + ) + (set_local $i22 + (i32.const 2) ) ) - ) - (set_local $i20 - (i32.sub - (get_local $i14) - (get_local $i18) + (block + (set_local $i19 + (get_local $i18) + ) + (set_local $i20 + (get_local $i14) + ) + (set_local $i21 + (get_local $i12) + ) + (set_local $i22 + (get_local $i7) + ) ) ) - (set_local $i21 - (i32.add - (get_local $i12) - (i32.const 8) + (block + (set_local $i23 + (i32.load + (get_local $i9) + ) + ) + (i32.store + (get_local $i8) + (get_local $i23) + ) + (i32.store + (get_local $i10) + (get_local $i23) + ) + (set_local $i19 + (i32.load + (i32.add + (get_local $i12) + (i32.const 12) + ) + ) + ) + (set_local $i20 + (i32.sub + (get_local $i14) + (get_local $i18) + ) + ) + (set_local $i21 + (i32.add + (get_local $i12) + (i32.const 8) + ) + ) + (set_local $i22 + (i32.add + (get_local $i7) + (i32.const -1) + ) ) ) - (set_local $i22 - (i32.add - (get_local $i7) - (i32.const -1) + ) + (i32.store + (get_local $i21) + (i32.add + (i32.load + (get_local $i21) ) + (get_local $i20) ) ) - ) - (i32.store - (get_local $i21) - (i32.add - (i32.load + (i32.store + (i32.add (get_local $i21) + (i32.const 4) + ) + (i32.sub + (get_local $i19) + (get_local $i20) ) - (get_local $i20) ) - ) - (i32.store - (i32.add + (set_local $i12 (get_local $i21) - (i32.const 4) ) - (i32.sub - (get_local $i19) - (get_local $i20) + (set_local $i7 + (get_local $i22) ) + (set_local $i13 + (get_local $i11) + ) + (br $while-in$1) ) - (set_local $i12 - (get_local $i21) - ) - (set_local $i7 - (get_local $i22) - ) - (set_local $i13 - (get_local $i11) - ) - (br $while-in$1) ) (if (i32.eq @@ -9761,54 +9801,56 @@ (set_local $i4 (get_local $i2) ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (get_local $i4) - ) - (block - (set_local $i10 - (get_local $i2) - ) - (set_local $i11 - (get_local $i1) - ) - (set_local $i12 - (get_local $i9) - ) - (set_local $i13 - (i32.const 0) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (get_local $i4) ) - (br $label$break$L10) - ) - ) - (set_local $i14 - (i32.add - (get_local $i4) - (i32.const -1) - ) - ) - (if - (i32.eq - (i32.load8_s - (i32.add + (block + (set_local $i10 + (get_local $i2) + ) + (set_local $i11 (get_local $i1) - (get_local $i14) ) + (set_local $i12 + (get_local $i9) + ) + (set_local $i13 + (i32.const 0) + ) + (br $label$break$L10) ) - (i32.const 10) ) - (block - (set_local $i15 + (set_local $i14 + (i32.add (get_local $i4) + (i32.const -1) ) - (br $while-out$2) ) - (set_local $i4 - (get_local $i14) + (if + (i32.eq + (i32.load8_s + (i32.add + (get_local $i1) + (get_local $i14) + ) + ) + (i32.const 10) + ) + (block + (set_local $i15 + (get_local $i4) + ) + (br $while-out$2) + ) + (set_local $i4 + (get_local $i14) + ) ) + (br $while-in$3) ) - (br $while-in$3) ) (if (i32.lt_u @@ -10003,82 +10045,84 @@ (set_local $i4 (get_local $i5) ) - (loop $while-out$2 $while-in$3 - (if - (i32.gt_s - (i32.load - (i32.add + (loop $while-in$3 + (block $while-out$2 + (if + (i32.gt_s + (i32.load + (i32.add + (get_local $i3) + (i32.const 76) + ) + ) + (i32.const -1) + ) + (set_local $i7 + (call $___lockfile (get_local $i3) - (i32.const 76) ) ) - (i32.const -1) - ) - (set_local $i7 - (call $___lockfile - (get_local $i3) + (set_local $i7 + (i32.const 0) ) ) - (set_local $i7 - (i32.const 0) - ) - ) - (if - (i32.gt_u - (i32.load - (i32.add - (get_local $i3) - (i32.const 20) + (if + (i32.gt_u + (i32.load + (i32.add + (get_local $i3) + (i32.const 20) + ) ) - ) - (i32.load - (i32.add - (get_local $i3) - (i32.const 28) + (i32.load + (i32.add + (get_local $i3) + (i32.const 28) + ) ) ) - ) - (set_local $i8 - (i32.or - (call $___fflush_unlocked - (get_local $i3) + (set_local $i8 + (i32.or + (call $___fflush_unlocked + (get_local $i3) + ) + (get_local $i4) ) + ) + (set_local $i8 (get_local $i4) ) ) - (set_local $i8 - (get_local $i4) - ) - ) - (if - (get_local $i7) - (call $___unlockfile - (get_local $i3) - ) - ) - (set_local $i3 - (i32.load - (i32.add + (if + (get_local $i7) + (call $___unlockfile (get_local $i3) - (i32.const 56) ) ) - ) - (if - (i32.eqz - (get_local $i3) + (set_local $i3 + (i32.load + (i32.add + (get_local $i3) + (i32.const 56) + ) + ) ) - (block - (set_local $i6 + (if + (i32.eqz + (get_local $i3) + ) + (block + (set_local $i6 + (get_local $i8) + ) + (br $while-out$2) + ) + (set_local $i4 (get_local $i8) ) - (br $while-out$2) - ) - (set_local $i4 - (get_local $i8) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) @@ -10132,50 +10176,52 @@ (set_local $i6 (get_local $i2) ) - (loop $while-out$1 $while-in$2 - (if - (i32.eqz - (i32.load8_s - (get_local $i5) + (loop $while-in$2 + (block $while-out$1 + (if + (i32.eqz + (i32.load8_s + (get_local $i5) + ) + ) + (block + (set_local $i7 + (get_local $i6) + ) + (br $label$break$L1) ) ) - (block - (set_local $i7 - (get_local $i6) + (set_local $i8 + (i32.add + (get_local $i5) + (i32.const 1) ) - (br $label$break$L1) ) - ) - (set_local $i8 - (i32.add - (get_local $i5) - (i32.const 1) + (set_local $i6 + (get_local $i8) ) - ) - (set_local $i6 - (get_local $i8) - ) - (if - (i32.eqz - (i32.and - (get_local $i6) - (i32.const 3) + (if + (i32.eqz + (i32.and + (get_local $i6) + (i32.const 3) + ) ) - ) - (block - (set_local $i3 - (get_local $i8) + (block + (set_local $i3 + (get_local $i8) + ) + (set_local $i4 + (i32.const 4) + ) + (br $while-out$1) ) - (set_local $i4 - (i32.const 4) + (set_local $i5 + (get_local $i8) ) - (br $while-out$1) - ) - (set_local $i5 - (get_local $i8) ) + (br $while-in$2) ) - (br $while-in$2) ) ) ) @@ -10189,45 +10235,47 @@ (set_local $i4 (get_local $i3) ) - (loop $while-out$3 $while-in$4 - (set_local $i3 - (i32.load - (get_local $i4) + (loop $while-in$4 + (block $while-out$3 + (set_local $i3 + (i32.load + (get_local $i4) + ) ) - ) - (if - (i32.eqz - (i32.and - (i32.xor - (i32.and - (get_local $i3) + (if + (i32.eqz + (i32.and + (i32.xor + (i32.and + (get_local $i3) + (i32.const -2139062144) + ) (i32.const -2139062144) ) - (i32.const -2139062144) + (i32.add + (get_local $i3) + (i32.const -16843009) + ) ) + ) + (set_local $i4 (i32.add - (get_local $i3) - (i32.const -16843009) + (get_local $i4) + (i32.const 4) ) ) - ) - (set_local $i4 - (i32.add - (get_local $i4) - (i32.const 4) - ) - ) - (block - (set_local $i9 - (get_local $i3) - ) - (set_local $i10 - (get_local $i4) + (block + (set_local $i9 + (get_local $i3) + ) + (set_local $i10 + (get_local $i4) + ) + (br $while-out$3) ) - (br $while-out$3) ) + (br $while-in$4) ) - (br $while-in$4) ) (if (i32.eqz @@ -10249,30 +10297,32 @@ (set_local $i9 (get_local $i10) ) - (loop $while-out$5 $while-in$6 - (set_local $i10 - (i32.add - (get_local $i9) - (i32.const 1) - ) - ) - (if - (i32.eqz - (i32.load8_s - (get_local $i10) + (loop $while-in$6 + (block $while-out$5 + (set_local $i10 + (i32.add + (get_local $i9) + (i32.const 1) ) ) - (block - (set_local $i11 + (if + (i32.eqz + (i32.load8_s + (get_local $i10) + ) + ) + (block + (set_local $i11 + (get_local $i10) + ) + (br $while-out$5) + ) + (set_local $i9 (get_local $i10) ) - (br $while-out$5) - ) - (set_local $i9 - (get_local $i10) ) + (br $while-in$6) ) - (br $while-in$6) ) ) ) @@ -10644,129 +10694,135 @@ ) ) (block - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.and - (get_local $i1) - (i32.const 3) - ) - ) - (br $while-out$0) - ) - (block + (loop $while-in$1 + (block $while-out$0 (if (i32.eqz - (get_local $i3) - ) - (return - (get_local $i4) + (i32.and + (get_local $i1) + (i32.const 3) + ) ) + (br $while-out$0) ) - (i32.store8 - (get_local $i1) - (i32.load8_s - (get_local $i2) + (block + (if + (i32.eqz + (get_local $i3) + ) + (return + (get_local $i4) + ) ) - ) - (set_local $i1 - (i32.add + (i32.store8 (get_local $i1) - (i32.const 1) + (i32.load8_s + (get_local $i2) + ) ) - ) - (set_local $i2 - (i32.add - (get_local $i2) - (i32.const 1) + (set_local $i1 + (i32.add + (get_local $i1) + (i32.const 1) + ) ) - ) - (set_local $i3 - (i32.sub - (get_local $i3) - (i32.const 1) + (set_local $i2 + (i32.add + (get_local $i2) + (i32.const 1) + ) ) - ) - ) - (br $while-in$1) - ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (i32.ge_s - (get_local $i3) - (i32.const 4) + (set_local $i3 + (i32.sub + (get_local $i3) + (i32.const 1) + ) ) ) - (br $while-out$2) + (br $while-in$1) ) - (block - (i32.store - (get_local $i1) - (i32.load - (get_local $i2) + ) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (i32.ge_s + (get_local $i3) + (i32.const 4) + ) ) + (br $while-out$2) ) - (set_local $i1 - (i32.add + (block + (i32.store (get_local $i1) - (i32.const 4) + (i32.load + (get_local $i2) + ) ) - ) - (set_local $i2 - (i32.add - (get_local $i2) - (i32.const 4) + (set_local $i1 + (i32.add + (get_local $i1) + (i32.const 4) + ) ) - ) - (set_local $i3 - (i32.sub - (get_local $i3) - (i32.const 4) + (set_local $i2 + (i32.add + (get_local $i2) + (i32.const 4) + ) + ) + (set_local $i3 + (i32.sub + (get_local $i3) + (i32.const 4) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (if - (i32.eqz - (i32.gt_s - (get_local $i3) - (i32.const 0) - ) - ) - (br $while-out$4) - ) - (block - (i32.store8 - (get_local $i1) - (i32.load8_s - (get_local $i2) + (loop $while-in$5 + (block $while-out$4 + (if + (i32.eqz + (i32.gt_s + (get_local $i3) + (i32.const 0) + ) ) + (br $while-out$4) ) - (set_local $i1 - (i32.add + (block + (i32.store8 (get_local $i1) - (i32.const 1) + (i32.load8_s + (get_local $i2) + ) ) - ) - (set_local $i2 - (i32.add - (get_local $i2) - (i32.const 1) + (set_local $i1 + (i32.add + (get_local $i1) + (i32.const 1) + ) ) - ) - (set_local $i3 - (i32.sub - (get_local $i3) - (i32.const 1) + (set_local $i2 + (i32.add + (get_local $i2) + (i32.const 1) + ) + ) + (set_local $i3 + (i32.sub + (get_local $i3) + (i32.const 1) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (return (get_local $i4) @@ -10846,81 +10902,87 @@ (get_local $i5) ) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.lt_s - (get_local $i1) - (get_local $i5) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eqz + (i32.lt_s + (get_local $i1) + (get_local $i5) + ) ) + (br $while-out$0) ) - (br $while-out$0) - ) - (block - (i32.store8 - (get_local $i1) - (get_local $i2) - ) - (set_local $i1 - (i32.add + (block + (i32.store8 (get_local $i1) - (i32.const 1) + (get_local $i2) + ) + (set_local $i1 + (i32.add + (get_local $i1) + (i32.const 1) + ) ) ) + (br $while-in$1) ) - (br $while-in$1) ) ) ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (i32.lt_s - (get_local $i1) - (get_local $i7) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (i32.lt_s + (get_local $i1) + (get_local $i7) + ) ) + (br $while-out$2) ) - (br $while-out$2) - ) - (block - (i32.store - (get_local $i1) - (get_local $i6) - ) - (set_local $i1 - (i32.add + (block + (i32.store (get_local $i1) - (i32.const 4) + (get_local $i6) + ) + (set_local $i1 + (i32.add + (get_local $i1) + (i32.const 4) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (if - (i32.eqz - (i32.lt_s - (get_local $i1) - (get_local $i4) + (loop $while-in$5 + (block $while-out$4 + (if + (i32.eqz + (i32.lt_s + (get_local $i1) + (get_local $i4) + ) ) + (br $while-out$4) ) - (br $while-out$4) - ) - (block - (i32.store8 - (get_local $i1) - (get_local $i2) - ) - (set_local $i1 - (i32.add + (block + (i32.store8 (get_local $i1) - (i32.const 1) + (get_local $i2) + ) + (set_local $i1 + (i32.add + (get_local $i1) + (i32.const 1) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (return (i32.sub diff --git a/test/emcc_O2_hello_world.fromasm.no-opts b/test/emcc_O2_hello_world.fromasm.no-opts index 69db3001b..648738c11 100644 --- a/test/emcc_O2_hello_world.fromasm.no-opts +++ b/test/emcc_O2_hello_world.fromasm.no-opts @@ -881,88 +881,90 @@ (set_local $i7 (get_local $i10) ) - (loop $while-out$23 $while-in$24 - (set_local $i10 - (i32.load - (i32.add - (get_local $i3) - (i32.const 16) + (loop $while-in$24 + (block $while-out$23 + (set_local $i10 + (i32.load + (i32.add + (get_local $i3) + (i32.const 16) + ) ) ) - ) - (if - (i32.eqz - (get_local $i10) - ) - (block - (set_local $i15 - (i32.load - (i32.add - (get_local $i3) - (i32.const 20) - ) - ) + (if + (i32.eqz + (get_local $i10) ) - (if - (i32.eqz - (get_local $i15) + (block + (set_local $i15 + (i32.load + (i32.add + (get_local $i3) + (i32.const 20) + ) + ) ) - (block - (set_local $i21 - (get_local $i5) + (if + (i32.eqz + (get_local $i15) ) - (set_local $i22 - (get_local $i7) + (block + (set_local $i21 + (get_local $i5) + ) + (set_local $i22 + (get_local $i7) + ) + (br $while-out$23) + ) + (set_local $i23 + (get_local $i15) ) - (br $while-out$23) - ) - (set_local $i23 - (get_local $i15) ) ) + (set_local $i23 + (get_local $i10) + ) ) - (set_local $i23 - (get_local $i10) - ) - ) - (set_local $i10 - (i32.sub - (i32.and - (i32.load - (i32.add - (get_local $i23) - (i32.const 4) + (set_local $i10 + (i32.sub + (i32.and + (i32.load + (i32.add + (get_local $i23) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) + (get_local $i2) ) - (get_local $i2) ) - ) - (set_local $i15 - (i32.lt_u - (get_local $i10) - (get_local $i5) + (set_local $i15 + (i32.lt_u + (get_local $i10) + (get_local $i5) + ) ) - ) - (set_local $i5 - (if - (get_local $i15) - (get_local $i10) - (get_local $i5) + (set_local $i5 + (if + (get_local $i15) + (get_local $i10) + (get_local $i5) + ) ) - ) - (set_local $i3 - (get_local $i23) - ) - (set_local $i7 - (if - (get_local $i15) + (set_local $i3 (get_local $i23) - (get_local $i7) ) + (set_local $i7 + (if + (get_local $i15) + (get_local $i23) + (get_local $i7) + ) + ) + (br $while-in$24) ) - (br $while-in$24) ) (set_local $i7 (i32.load @@ -1068,64 +1070,66 @@ ) ) ) - (loop $while-out$27 $while-in$28 - (set_local $i14 - (i32.add - (get_local $i25) - (i32.const 20) - ) - ) - (set_local $i17 - (i32.load - (get_local $i14) - ) - ) - (if - (get_local $i17) - (block - (set_local $i25 - (get_local $i17) + (loop $while-in$28 + (block $while-out$27 + (set_local $i14 + (i32.add + (get_local $i25) + (i32.const 20) ) - (set_local $i26 + ) + (set_local $i17 + (i32.load (get_local $i14) ) - (br $while-in$28) - ) - ) - (set_local $i14 - (i32.add - (get_local $i25) - (i32.const 16) - ) - ) - (set_local $i17 - (i32.load - (get_local $i14) ) - ) - (if - (i32.eqz + (if (get_local $i17) + (block + (set_local $i25 + (get_local $i17) + ) + (set_local $i26 + (get_local $i14) + ) + (br $while-in$28) + ) ) - (block - (set_local $i27 + (set_local $i14 + (i32.add (get_local $i25) + (i32.const 16) ) - (set_local $i28 - (get_local $i26) + ) + (set_local $i17 + (i32.load + (get_local $i14) ) - (br $while-out$27) ) - (block - (set_local $i25 + (if + (i32.eqz (get_local $i17) ) - (set_local $i26 - (get_local $i14) + (block + (set_local $i27 + (get_local $i25) + ) + (set_local $i28 + (get_local $i26) + ) + (br $while-out$27) + ) + (block + (set_local $i25 + (get_local $i17) + ) + (set_local $i26 + (get_local $i14) + ) ) ) + (br $while-in$28) ) - (br $while-in$28) ) (if (i32.lt_u @@ -1830,156 +1834,158 @@ (set_local $i8 (i32.const 0) ) - (loop $while-out$3 $while-in$4 - (set_local $i16 - (i32.and - (i32.load - (i32.add - (get_local $i17) - (i32.const 4) + (loop $while-in$4 + (block $while-out$3 + (set_local $i16 + (i32.and + (i32.load + (i32.add + (get_local $i17) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) - ) - ) - (set_local $i9 - (i32.sub - (get_local $i16) - (get_local $i5) - ) - ) - (if - (i32.lt_u - (get_local $i9) - (get_local $i12) ) - (if - (i32.eq + (set_local $i9 + (i32.sub (get_local $i16) (get_local $i5) ) - (block - (set_local $i37 - (get_local $i9) - ) - (set_local $i38 - (get_local $i17) + ) + (if + (i32.lt_u + (get_local $i9) + (get_local $i12) + ) + (if + (i32.eq + (get_local $i16) + (get_local $i5) ) - (set_local $i39 - (get_local $i17) + (block + (set_local $i37 + (get_local $i9) + ) + (set_local $i38 + (get_local $i17) + ) + (set_local $i39 + (get_local $i17) + ) + (set_local $i36 + (i32.const 90) + ) + (br $label$break$L123) ) - (set_local $i36 - (i32.const 90) + (block + (set_local $i40 + (get_local $i9) + ) + (set_local $i41 + (get_local $i17) + ) ) - (br $label$break$L123) ) (block (set_local $i40 - (get_local $i9) + (get_local $i12) ) (set_local $i41 - (get_local $i17) + (get_local $i8) ) ) ) - (block - (set_local $i40 - (get_local $i12) - ) - (set_local $i41 - (get_local $i8) - ) - ) - ) - (set_local $i9 - (i32.load - (i32.add - (get_local $i17) - (i32.const 20) - ) - ) - ) - (set_local $i17 - (i32.load - (i32.add + (set_local $i9 + (i32.load (i32.add (get_local $i17) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $i7) - (i32.const 31) - ) - (i32.const 2) + (i32.const 20) ) ) ) - ) - (set_local $i16 - (if - (i32.or - (i32.eq - (get_local $i9) - (i32.const 0) - ) - (i32.eq - (get_local $i9) - (get_local $i17) + (set_local $i17 + (i32.load + (i32.add + (i32.add + (get_local $i17) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $i7) + (i32.const 31) + ) + (i32.const 2) + ) ) ) - (get_local $i10) - (get_local $i9) ) - ) - (set_local $i9 - (i32.eq - (get_local $i17) - (i32.const 0) - ) - ) - (if - (get_local $i9) - (block - (set_local $i33 - (get_local $i40) - ) - (set_local $i34 - (get_local $i16) - ) - (set_local $i35 - (get_local $i41) - ) - (set_local $i36 - (i32.const 86) + (set_local $i16 + (if + (i32.or + (i32.eq + (get_local $i9) + (i32.const 0) + ) + (i32.eq + (get_local $i9) + (get_local $i17) + ) + ) + (get_local $i10) + (get_local $i9) ) - (br $while-out$3) ) - (block - (set_local $i12 - (get_local $i40) + (set_local $i9 + (i32.eq + (get_local $i17) + (i32.const 0) ) - (set_local $i10 - (get_local $i16) + ) + (if + (get_local $i9) + (block + (set_local $i33 + (get_local $i40) + ) + (set_local $i34 + (get_local $i16) + ) + (set_local $i35 + (get_local $i41) + ) + (set_local $i36 + (i32.const 86) + ) + (br $while-out$3) ) - (set_local $i7 - (i32.shl - (get_local $i7) - (i32.xor - (i32.and - (get_local $i9) + (block + (set_local $i12 + (get_local $i40) + ) + (set_local $i10 + (get_local $i16) + ) + (set_local $i7 + (i32.shl + (get_local $i7) + (i32.xor + (i32.and + (get_local $i9) + (i32.const 1) + ) (i32.const 1) ) - (i32.const 1) ) ) - ) - (set_local $i8 - (get_local $i41) + (set_local $i8 + (get_local $i41) + ) ) ) + (br $while-in$4) ) - (br $while-in$4) ) ) ) @@ -2180,104 +2186,106 @@ (get_local $i36) (i32.const 90) ) - (loop $while-out$5 $while-in$6 - (set_local $i36 - (i32.const 0) - ) - (set_local $i8 - (i32.sub - (i32.and - (i32.load - (i32.add - (get_local $i38) - (i32.const 4) + (loop $while-in$6 + (block $while-out$5 + (set_local $i36 + (i32.const 0) + ) + (set_local $i8 + (i32.sub + (i32.and + (i32.load + (i32.add + (get_local $i38) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) + (get_local $i5) ) - (get_local $i5) - ) - ) - (set_local $i7 - (i32.lt_u - (get_local $i8) - (get_local $i37) - ) - ) - (set_local $i3 - (if - (get_local $i7) - (get_local $i8) - (get_local $i37) - ) - ) - (set_local $i8 - (if - (get_local $i7) - (get_local $i38) - (get_local $i39) ) - ) - (set_local $i7 - (i32.load - (i32.add - (get_local $i38) - (i32.const 16) + (set_local $i7 + (i32.lt_u + (get_local $i8) + (get_local $i37) ) ) - ) - (if - (get_local $i7) - (block - (set_local $i37 - (get_local $i3) - ) - (set_local $i38 + (set_local $i3 + (if (get_local $i7) - ) - (set_local $i39 (get_local $i8) + (get_local $i37) ) - (set_local $i36 - (i32.const 90) - ) - (br $while-in$6) ) - ) - (set_local $i38 - (i32.load - (i32.add + (set_local $i8 + (if + (get_local $i7) (get_local $i38) - (i32.const 20) + (get_local $i39) ) ) - ) - (if - (i32.eqz - (get_local $i38) + (set_local $i7 + (i32.load + (i32.add + (get_local $i38) + (i32.const 16) + ) + ) ) - (block - (set_local $i43 - (get_local $i3) + (if + (get_local $i7) + (block + (set_local $i37 + (get_local $i3) + ) + (set_local $i38 + (get_local $i7) + ) + (set_local $i39 + (get_local $i8) + ) + (set_local $i36 + (i32.const 90) + ) + (br $while-in$6) ) - (set_local $i44 - (get_local $i8) + ) + (set_local $i38 + (i32.load + (i32.add + (get_local $i38) + (i32.const 20) + ) ) - (br $while-out$5) ) - (block - (set_local $i37 - (get_local $i3) + (if + (i32.eqz + (get_local $i38) ) - (set_local $i39 - (get_local $i8) + (block + (set_local $i43 + (get_local $i3) + ) + (set_local $i44 + (get_local $i8) + ) + (br $while-out$5) ) - (set_local $i36 - (i32.const 90) + (block + (set_local $i37 + (get_local $i3) + ) + (set_local $i39 + (get_local $i8) + ) + (set_local $i36 + (i32.const 90) + ) ) ) + (br $while-in$6) ) - (br $while-in$6) ) ) (if @@ -2402,66 +2410,68 @@ ) ) ) - (loop $while-out$9 $while-in$10 - (set_local $i2 - (i32.add - (get_local $i46) - (i32.const 20) - ) - ) - (set_local $i14 - (i32.load - (get_local $i2) - ) - ) - (if - (get_local $i14) - (block - (set_local $i46 - (get_local $i14) + (loop $while-in$10 + (block $while-out$9 + (set_local $i2 + (i32.add + (get_local $i46) + (i32.const 20) ) - (set_local $i47 + ) + (set_local $i14 + (i32.load (get_local $i2) ) - (br $while-in$10) ) - ) - (set_local $i2 - (i32.add - (get_local $i46) - (i32.const 16) - ) - ) - (set_local $i14 - (i32.load - (get_local $i2) - ) - ) - (if - (i32.eqz + (if (get_local $i14) + (block + (set_local $i46 + (get_local $i14) + ) + (set_local $i47 + (get_local $i2) + ) + (br $while-in$10) + ) ) - (block - (set_local $i48 + (set_local $i2 + (i32.add (get_local $i46) + (i32.const 16) ) - (set_local $i49 - (get_local $i47) - ) - (br $while-out$9) ) - (block - (set_local $i46 - (get_local $i14) - ) - (set_local $i47 + (set_local $i14 + (i32.load (get_local $i2) ) ) - ) - (br $while-in$10) - ) - (if + (if + (i32.eqz + (get_local $i14) + ) + (block + (set_local $i48 + (get_local $i46) + ) + (set_local $i49 + (get_local $i47) + ) + (br $while-out$9) + ) + (block + (set_local $i46 + (get_local $i14) + ) + (set_local $i47 + (get_local $i2) + ) + ) + ) + (br $while-in$10) + ) + ) + (if (i32.lt_u (get_local $i49) (get_local $i15) @@ -3110,79 +3120,81 @@ (get_local $i3) ) ) - (loop $while-out$17 $while-in$18 - (if - (i32.eq - (i32.and - (i32.load - (i32.add - (get_local $i7) - (i32.const 4) + (loop $while-in$18 + (block $while-out$17 + (if + (i32.eq + (i32.and + (i32.load + (i32.add + (get_local $i7) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $i43) - ) - (block - (set_local $i53 - (get_local $i7) + (get_local $i43) ) - (set_local $i36 - (i32.const 148) + (block + (set_local $i53 + (get_local $i7) + ) + (set_local $i36 + (i32.const 148) + ) + (br $while-out$17) ) - (br $while-out$17) ) - ) - (set_local $i3 - (i32.add + (set_local $i3 (i32.add - (get_local $i7) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $i4) - (i32.const 31) + (i32.add + (get_local $i7) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $i4) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (set_local $i2 - (i32.load - (get_local $i3) - ) - ) - (if - (i32.eqz - (get_local $i2) - ) - (block - (set_local $i54 + (set_local $i2 + (i32.load (get_local $i3) ) - (set_local $i55 - (get_local $i7) - ) - (set_local $i36 - (i32.const 145) - ) - (br $while-out$17) ) - (block - (set_local $i4 - (i32.shl - (get_local $i4) - (i32.const 1) + (if + (i32.eqz + (get_local $i2) + ) + (block + (set_local $i54 + (get_local $i3) ) + (set_local $i55 + (get_local $i7) + ) + (set_local $i36 + (i32.const 145) + ) + (br $while-out$17) ) - (set_local $i7 - (get_local $i2) + (block + (set_local $i4 + (i32.shl + (get_local $i4) + (i32.const 1) + ) + ) + (set_local $i7 + (get_local $i2) + ) ) ) + (br $while-in$18) ) - (br $while-in$18) ) (if (i32.eq @@ -3737,67 +3749,69 @@ (set_local $i50 (i32.const 624) ) - (loop $while-out$37 $while-in$38 - (set_local $i51 - (i32.load - (get_local $i50) + (loop $while-in$38 + (block $while-out$37 + (set_local $i51 + (i32.load + (get_local $i50) + ) ) - ) - (if (if - (i32.le_u - (get_local $i51) - (get_local $i52) - ) - (block - (set_local $i45 - (i32.add - (get_local $i50) - (i32.const 4) - ) + (if + (i32.le_u + (get_local $i51) + (get_local $i52) ) - (i32.gt_u - (i32.add - (get_local $i51) - (i32.load - (get_local $i45) + (block + (set_local $i45 + (i32.add + (get_local $i50) + (i32.const 4) ) ) - (get_local $i52) + (i32.gt_u + (i32.add + (get_local $i51) + (i32.load + (get_local $i45) + ) + ) + (get_local $i52) + ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $i56 - (get_local $i50) + (block + (set_local $i56 + (get_local $i50) + ) + (set_local $i57 + (get_local $i45) + ) + (br $while-out$37) ) - (set_local $i57 - (get_local $i45) + ) + (set_local $i50 + (i32.load + (i32.add + (get_local $i50) + (i32.const 8) + ) ) - (br $while-out$37) ) - ) - (set_local $i50 - (i32.load - (i32.add + (if + (i32.eqz (get_local $i50) - (i32.const 8) ) - ) - ) - (if - (i32.eqz - (get_local $i50) - ) - (block - (set_local $i36 - (i32.const 173) + (block + (set_local $i36 + (i32.const 173) + ) + (br $label$break$L259) ) - (br $label$break$L259) ) + (br $while-in$38) ) - (br $while-in$38) ) (set_local $i50 (i32.and @@ -4270,64 +4284,66 @@ (set_local $i63 (i32.const 624) ) - (loop $do-out$48 $do-in$49 - (set_local $i43 - (i32.load - (get_local $i63) - ) - ) - (set_local $i61 - (i32.add - (get_local $i63) - (i32.const 4) - ) - ) - (set_local $i44 - (i32.load - (get_local $i61) + (loop $do-in$49 + (block $do-out$48 + (set_local $i43 + (i32.load + (get_local $i63) + ) ) - ) - (if - (i32.eq - (get_local $i58) + (set_local $i61 (i32.add - (get_local $i43) - (get_local $i44) + (get_local $i63) + (i32.const 4) ) ) - (block - (set_local $i64 - (get_local $i43) - ) - (set_local $i65 + (set_local $i44 + (i32.load (get_local $i61) ) - (set_local $i66 - (get_local $i44) + ) + (if + (i32.eq + (get_local $i58) + (i32.add + (get_local $i43) + (get_local $i44) + ) ) - (set_local $i67 - (get_local $i63) + (block + (set_local $i64 + (get_local $i43) + ) + (set_local $i65 + (get_local $i61) + ) + (set_local $i66 + (get_local $i44) + ) + (set_local $i67 + (get_local $i63) + ) + (set_local $i36 + (i32.const 203) + ) + (br $do-out$48) ) - (set_local $i36 - (i32.const 203) + ) + (set_local $i63 + (i32.load + (i32.add + (get_local $i63) + (i32.const 8) + ) ) - (br $do-out$48) ) - ) - (set_local $i63 - (i32.load - (i32.add + (br_if $do-in$49 + (i32.ne (get_local $i63) - (i32.const 8) + (i32.const 0) ) ) ) - (br_if $do-in$49 - (i32.ne - (get_local $i63) - (i32.const 0) - ) - ) ) (if (if @@ -4481,47 +4497,49 @@ (set_local $i63 (i32.const 624) ) - (loop $while-out$50 $while-in$51 - (if - (i32.eq - (i32.load - (get_local $i63) + (loop $while-in$51 + (block $while-out$50 + (if + (i32.eq + (i32.load + (get_local $i63) + ) + (get_local $i61) ) - (get_local $i61) - ) - (block - (set_local $i69 - (get_local $i63) - ) - (set_local $i70 - (get_local $i63) + (block + (set_local $i69 + (get_local $i63) + ) + (set_local $i70 + (get_local $i63) + ) + (set_local $i36 + (i32.const 211) + ) + (br $while-out$50) ) - (set_local $i36 - (i32.const 211) + ) + (set_local $i63 + (i32.load + (i32.add + (get_local $i63) + (i32.const 8) + ) ) - (br $while-out$50) ) - ) - (set_local $i63 - (i32.load - (i32.add + (if + (i32.eqz (get_local $i63) - (i32.const 8) ) - ) - ) - (if - (i32.eqz - (get_local $i63) - ) - (block - (set_local $i71 - (i32.const 624) + (block + (set_local $i71 + (i32.const 624) + ) + (br $while-out$50) ) - (br $while-out$50) ) + (br $while-in$51) ) - (br $while-in$51) ) (if (i32.eq @@ -4807,64 +4825,66 @@ ) ) ) - (loop $while-out$61 $while-in$62 - (set_local $i5 - (i32.add - (get_local $i73) - (i32.const 20) - ) - ) - (set_local $i52 - (i32.load - (get_local $i5) - ) - ) - (if - (get_local $i52) - (block - (set_local $i73 - (get_local $i52) + (loop $while-in$62 + (block $while-out$61 + (set_local $i5 + (i32.add + (get_local $i73) + (i32.const 20) ) - (set_local $i74 + ) + (set_local $i52 + (i32.load (get_local $i5) ) - (br $while-in$62) ) - ) - (set_local $i5 - (i32.add - (get_local $i73) - (i32.const 16) - ) - ) - (set_local $i52 - (i32.load - (get_local $i5) - ) - ) - (if - (i32.eqz + (if (get_local $i52) + (block + (set_local $i73 + (get_local $i52) + ) + (set_local $i74 + (get_local $i5) + ) + (br $while-in$62) + ) ) - (block - (set_local $i75 + (set_local $i5 + (i32.add (get_local $i73) + (i32.const 16) ) - (set_local $i76 - (get_local $i74) + ) + (set_local $i52 + (i32.load + (get_local $i5) ) - (br $while-out$61) ) - (block - (set_local $i73 + (if + (i32.eqz (get_local $i52) ) - (set_local $i74 - (get_local $i5) + (block + (set_local $i75 + (get_local $i73) + ) + (set_local $i76 + (get_local $i74) + ) + (br $while-out$61) + ) + (block + (set_local $i73 + (get_local $i52) + ) + (set_local $i74 + (get_local $i5) + ) ) ) + (br $while-in$62) ) - (br $while-in$62) ) (if (i32.lt_u @@ -5693,79 +5713,81 @@ (get_local $i5) ) ) - (loop $while-out$71 $while-in$72 - (if - (i32.eq - (i32.and - (i32.load - (i32.add - (get_local $i62) - (i32.const 4) + (loop $while-in$72 + (block $while-out$71 + (if + (i32.eq + (i32.and + (i32.load + (i32.add + (get_local $i62) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $i79) - ) - (block - (set_local $i83 - (get_local $i62) + (get_local $i79) ) - (set_local $i36 - (i32.const 281) + (block + (set_local $i83 + (get_local $i62) + ) + (set_local $i36 + (i32.const 281) + ) + (br $while-out$71) ) - (br $while-out$71) ) - ) - (set_local $i5 - (i32.add + (set_local $i5 (i32.add - (get_local $i62) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $i50) - (i32.const 31) + (i32.add + (get_local $i62) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $i50) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (set_local $i57 - (i32.load - (get_local $i5) - ) - ) - (if - (i32.eqz - (get_local $i57) - ) - (block - (set_local $i84 + (set_local $i57 + (i32.load (get_local $i5) ) - (set_local $i85 - (get_local $i62) - ) - (set_local $i36 - (i32.const 278) - ) - (br $while-out$71) ) - (block - (set_local $i50 - (i32.shl - (get_local $i50) - (i32.const 1) + (if + (i32.eqz + (get_local $i57) + ) + (block + (set_local $i84 + (get_local $i5) ) + (set_local $i85 + (get_local $i62) + ) + (set_local $i36 + (i32.const 278) + ) + (br $while-out$71) ) - (set_local $i62 - (get_local $i57) + (block + (set_local $i50 + (i32.shl + (get_local $i50) + (i32.const 1) + ) + ) + (set_local $i62 + (get_local $i57) + ) ) ) + (br $while-in$72) ) - (br $while-in$72) ) (if (i32.eq @@ -5928,53 +5950,55 @@ ) ) ) - (loop $while-out$73 $while-in$74 - (set_local $i63 - (i32.load - (get_local $i71) + (loop $while-in$74 + (block $while-out$73 + (set_local $i63 + (i32.load + (get_local $i71) + ) ) - ) - (if (if - (i32.le_u - (get_local $i63) - (get_local $i60) - ) - (block - (set_local $i53 - (i32.add - (get_local $i63) - (i32.load - (i32.add - (get_local $i71) - (i32.const 4) + (if + (i32.le_u + (get_local $i63) + (get_local $i60) + ) + (block + (set_local $i53 + (i32.add + (get_local $i63) + (i32.load + (i32.add + (get_local $i71) + (i32.const 4) + ) ) ) ) + (i32.gt_u + (get_local $i53) + (get_local $i60) + ) ) - (i32.gt_u + (i32.const 0) + ) + (block + (set_local $i86 (get_local $i53) - (get_local $i60) ) + (br $while-out$73) ) - (i32.const 0) - ) - (block - (set_local $i86 - (get_local $i53) - ) - (br $while-out$73) ) - ) - (set_local $i71 - (i32.load - (i32.add - (get_local $i71) - (i32.const 8) + (set_local $i71 + (i32.load + (i32.add + (get_local $i71) + (i32.const 8) + ) ) ) + (br $while-in$74) ) - (br $while-in$74) ) (set_local $i44 (i32.add @@ -6171,24 +6195,26 @@ (i32.const 24) ) ) - (loop $do-out$75 $do-in$76 - (set_local $i63 - (i32.add - (get_local $i63) - (i32.const 4) - ) - ) - (i32.store - (get_local $i63) - (i32.const 7) - ) - (br_if $do-in$76 - (i32.lt_u + (loop $do-in$76 + (block $do-out$75 + (set_local $i63 (i32.add (get_local $i63) (i32.const 4) ) - (get_local $i86) + ) + (i32.store + (get_local $i63) + (i32.const 7) + ) + (br_if $do-in$76 + (i32.lt_u + (i32.add + (get_local $i63) + (i32.const 4) + ) + (get_local $i86) + ) ) ) ) @@ -6559,79 +6585,81 @@ (get_local $i43) ) ) - (loop $while-out$77 $while-in$78 - (if - (i32.eq - (i32.and - (i32.load - (i32.add - (get_local $i62) - (i32.const 4) + (loop $while-in$78 + (block $while-out$77 + (if + (i32.eq + (i32.and + (i32.load + (i32.add + (get_local $i62) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) + (get_local $i63) ) - (get_local $i63) - ) - (block - (set_local $i90 - (get_local $i62) - ) - (set_local $i36 - (i32.const 307) + (block + (set_local $i90 + (get_local $i62) + ) + (set_local $i36 + (i32.const 307) + ) + (br $while-out$77) ) - (br $while-out$77) ) - ) - (set_local $i43 - (i32.add + (set_local $i43 (i32.add - (get_local $i62) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $i5) - (i32.const 31) + (i32.add + (get_local $i62) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $i5) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (set_local $i57 - (i32.load - (get_local $i43) - ) - ) - (if - (i32.eqz - (get_local $i57) - ) - (block - (set_local $i91 + (set_local $i57 + (i32.load (get_local $i43) ) - (set_local $i92 - (get_local $i62) - ) - (set_local $i36 - (i32.const 304) - ) - (br $while-out$77) ) - (block - (set_local $i5 - (i32.shl - (get_local $i5) - (i32.const 1) + (if + (i32.eqz + (get_local $i57) + ) + (block + (set_local $i91 + (get_local $i43) + ) + (set_local $i92 + (get_local $i62) + ) + (set_local $i36 + (i32.const 304) ) + (br $while-out$77) ) - (set_local $i62 - (get_local $i57) + (block + (set_local $i5 + (i32.shl + (get_local $i5) + (i32.const 1) + ) + ) + (set_local $i62 + (get_local $i57) + ) ) ) + (br $while-in$78) ) - (br $while-in$78) ) (if (i32.eq @@ -6798,43 +6826,45 @@ (set_local $i5 (i32.const 0) ) - (loop $do-out$46 $do-in$47 - (set_local $i62 - (i32.add - (i32.const 216) - (i32.shl + (loop $do-in$47 + (block $do-out$46 + (set_local $i62 + (i32.add + (i32.const 216) (i32.shl - (get_local $i5) - (i32.const 1) + (i32.shl + (get_local $i5) + (i32.const 1) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (i32.store - (i32.add + (i32.store + (i32.add + (get_local $i62) + (i32.const 12) + ) (get_local $i62) - (i32.const 12) ) - (get_local $i62) - ) - (i32.store - (i32.add + (i32.store + (i32.add + (get_local $i62) + (i32.const 8) + ) (get_local $i62) - (i32.const 8) ) - (get_local $i62) - ) - (set_local $i5 - (i32.add - (get_local $i5) - (i32.const 1) + (set_local $i5 + (i32.add + (get_local $i5) + (i32.const 1) + ) ) - ) - (br_if $do-in$47 - (i32.ne - (get_local $i5) - (i32.const 32) + (br_if $do-in$47 + (i32.ne + (get_local $i5) + (i32.const 32) + ) ) ) ) @@ -7434,64 +7464,66 @@ ) ) ) - (loop $while-out$4 $while-in$5 - (set_local $i11 - (i32.add - (get_local $i19) - (i32.const 20) - ) - ) - (set_local $i16 - (i32.load - (get_local $i11) - ) - ) - (if - (get_local $i16) - (block - (set_local $i19 - (get_local $i16) + (loop $while-in$5 + (block $while-out$4 + (set_local $i11 + (i32.add + (get_local $i19) + (i32.const 20) ) - (set_local $i20 + ) + (set_local $i16 + (i32.load (get_local $i11) ) - (br $while-in$5) - ) - ) - (set_local $i11 - (i32.add - (get_local $i19) - (i32.const 16) - ) - ) - (set_local $i16 - (i32.load - (get_local $i11) ) - ) - (if - (i32.eqz + (if (get_local $i16) + (block + (set_local $i19 + (get_local $i16) + ) + (set_local $i20 + (get_local $i11) + ) + (br $while-in$5) + ) ) - (block - (set_local $i21 + (set_local $i11 + (i32.add (get_local $i19) + (i32.const 16) ) - (set_local $i22 - (get_local $i20) + ) + (set_local $i16 + (i32.load + (get_local $i11) ) - (br $while-out$4) ) - (block - (set_local $i19 + (if + (i32.eqz (get_local $i16) ) - (set_local $i20 - (get_local $i11) + (block + (set_local $i21 + (get_local $i19) + ) + (set_local $i22 + (get_local $i20) + ) + (br $while-out$4) + ) + (block + (set_local $i19 + (get_local $i16) + ) + (set_local $i20 + (get_local $i11) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (if (i32.lt_u @@ -8052,64 +8084,66 @@ ) ) ) - (loop $while-out$12 $while-in$13 - (set_local $i19 - (i32.add - (get_local $i24) - (i32.const 20) - ) - ) - (set_local $i15 - (i32.load - (get_local $i19) - ) - ) - (if - (get_local $i15) - (block - (set_local $i24 - (get_local $i15) + (loop $while-in$13 + (block $while-out$12 + (set_local $i19 + (i32.add + (get_local $i24) + (i32.const 20) ) - (set_local $i25 + ) + (set_local $i15 + (i32.load (get_local $i19) ) - (br $while-in$13) - ) - ) - (set_local $i19 - (i32.add - (get_local $i24) - (i32.const 16) - ) - ) - (set_local $i15 - (i32.load - (get_local $i19) ) - ) - (if - (i32.eqz + (if (get_local $i15) + (block + (set_local $i24 + (get_local $i15) + ) + (set_local $i25 + (get_local $i19) + ) + (br $while-in$13) + ) ) - (block - (set_local $i26 + (set_local $i19 + (i32.add (get_local $i24) + (i32.const 16) ) - (set_local $i27 - (get_local $i25) + ) + (set_local $i15 + (i32.load + (get_local $i19) ) - (br $while-out$12) ) - (block - (set_local $i24 + (if + (i32.eqz (get_local $i15) ) - (set_local $i25 - (get_local $i19) + (block + (set_local $i26 + (get_local $i24) + ) + (set_local $i27 + (get_local $i25) + ) + (br $while-out$12) + ) + (block + (set_local $i24 + (get_local $i15) + ) + (set_local $i25 + (get_local $i19) + ) ) ) + (br $while-in$13) ) - (br $while-in$13) ) (if (i32.lt_u @@ -8896,79 +8930,81 @@ (get_local $i5) ) ) - (loop $while-out$18 $while-in$19 - (if - (i32.eq - (i32.and - (i32.load - (i32.add - (get_local $i2) - (i32.const 4) - ) + (loop $while-in$19 + (block $while-out$18 + (if + (i32.eq + (i32.and + (i32.load + (i32.add + (get_local $i2) + (i32.const 4) + ) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $i29) - ) - (block - (set_local $i33 - (get_local $i2) + (get_local $i29) ) - (set_local $i34 - (i32.const 130) + (block + (set_local $i33 + (get_local $i2) + ) + (set_local $i34 + (i32.const 130) + ) + (br $while-out$18) ) - (br $while-out$18) ) - ) - (set_local $i28 - (i32.add + (set_local $i28 (i32.add - (get_local $i2) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $i31) - (i32.const 31) + (i32.add + (get_local $i2) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $i31) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (set_local $i13 - (i32.load - (get_local $i28) - ) - ) - (if - (i32.eqz - (get_local $i13) - ) - (block - (set_local $i35 + (set_local $i13 + (i32.load (get_local $i28) ) - (set_local $i36 - (get_local $i2) - ) - (set_local $i34 - (i32.const 127) - ) - (br $while-out$18) ) - (block - (set_local $i31 - (i32.shl - (get_local $i31) - (i32.const 1) + (if + (i32.eqz + (get_local $i13) + ) + (block + (set_local $i35 + (get_local $i28) ) + (set_local $i36 + (get_local $i2) + ) + (set_local $i34 + (i32.const 127) + ) + (br $while-out$18) ) - (set_local $i2 - (get_local $i13) + (block + (set_local $i31 + (i32.shl + (get_local $i31) + (i32.const 1) + ) + ) + (set_local $i2 + (get_local $i13) + ) ) ) + (br $while-in$19) ) - (br $while-in$19) ) (if (i32.eq @@ -9143,25 +9179,27 @@ ) (return) ) - (loop $while-out$20 $while-in$21 - (set_local $i12 - (i32.load - (get_local $i37) - ) - ) - (if - (i32.eqz - (get_local $i12) + (loop $while-in$21 + (block $while-out$20 + (set_local $i12 + (i32.load + (get_local $i37) + ) ) - (br $while-out$20) - (set_local $i37 - (i32.add + (if + (i32.eqz (get_local $i12) - (i32.const 8) + ) + (br $while-out$20) + (set_local $i37 + (i32.add + (get_local $i12) + (i32.const 8) + ) ) ) + (br $while-in$21) ) - (br $while-in$21) ) (i32.store (i32.const 208) @@ -9294,247 +9332,249 @@ (get_local $i3) ) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.load - (i32.const 8) - ) - ) - (block - (i32.store - (get_local $i5) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eqz (i32.load - (get_local $i2) + (i32.const 8) ) ) - (i32.store - (i32.add + (block + (i32.store (get_local $i5) - (i32.const 4) + (i32.load + (get_local $i2) + ) ) - (get_local $i12) - ) - (i32.store - (i32.add - (get_local $i5) - (i32.const 8) + (i32.store + (i32.add + (get_local $i5) + (i32.const 4) + ) + (get_local $i12) ) - (get_local $i7) - ) - (set_local $i14 - (call $___syscall_ret - (call_import $___syscall146 - (i32.const 146) + (i32.store + (i32.add (get_local $i5) + (i32.const 8) ) + (get_local $i7) ) - ) - ) - (block - (call_import $_pthread_cleanup_push - (i32.const 4) - (get_local $i1) - ) - (i32.store - (get_local $i6) - (i32.load - (get_local $i2) + (set_local $i14 + (call $___syscall_ret + (call_import $___syscall146 + (i32.const 146) + (get_local $i5) + ) + ) ) ) - (i32.store - (i32.add - (get_local $i6) + (block + (call_import $_pthread_cleanup_push (i32.const 4) + (get_local $i1) ) - (get_local $i12) - ) - (i32.store - (i32.add + (i32.store (get_local $i6) - (i32.const 8) + (i32.load + (get_local $i2) + ) ) - (get_local $i7) - ) - (set_local $i11 - (call $___syscall_ret - (call_import $___syscall146 - (i32.const 146) + (i32.store + (i32.add (get_local $i6) + (i32.const 4) ) + (get_local $i12) ) - ) - (call_import $_pthread_cleanup_pop - (i32.const 0) - ) - (set_local $i14 - (get_local $i11) - ) - ) - ) - (if - (i32.eq - (get_local $i13) - (get_local $i14) - ) - (block - (set_local $i15 - (i32.const 6) - ) - (br $while-out$0) - ) - ) - (if - (i32.lt_s - (get_local $i14) - (i32.const 0) - ) - (block - (set_local $i16 - (get_local $i12) - ) - (set_local $i17 - (get_local $i7) - ) - (set_local $i15 - (i32.const 8) - ) - (br $while-out$0) - ) - ) - (set_local $i11 - (i32.sub - (get_local $i13) - (get_local $i14) - ) - ) - (set_local $i18 - (i32.load - (i32.add - (get_local $i12) - (i32.const 4) - ) - ) - ) - (if - (i32.le_u - (get_local $i14) - (get_local $i18) - ) - (if - (i32.eq - (get_local $i7) - (i32.const 2) - ) - (block (i32.store - (get_local $i8) (i32.add - (i32.load - (get_local $i8) - ) - (get_local $i14) + (get_local $i6) + (i32.const 8) ) + (get_local $i7) ) - (set_local $i19 - (get_local $i18) - ) - (set_local $i20 - (get_local $i14) + (set_local $i11 + (call $___syscall_ret + (call_import $___syscall146 + (i32.const 146) + (get_local $i6) + ) + ) ) - (set_local $i21 - (get_local $i12) + (call_import $_pthread_cleanup_pop + (i32.const 0) ) - (set_local $i22 - (i32.const 2) + (set_local $i14 + (get_local $i11) ) ) + ) + (if + (i32.eq + (get_local $i13) + (get_local $i14) + ) (block - (set_local $i19 - (get_local $i18) - ) - (set_local $i20 - (get_local $i14) + (set_local $i15 + (i32.const 6) ) - (set_local $i21 + (br $while-out$0) + ) + ) + (if + (i32.lt_s + (get_local $i14) + (i32.const 0) + ) + (block + (set_local $i16 (get_local $i12) ) - (set_local $i22 + (set_local $i17 (get_local $i7) ) - ) - ) - (block - (set_local $i23 - (i32.load - (get_local $i9) + (set_local $i15 + (i32.const 8) ) + (br $while-out$0) ) - (i32.store - (get_local $i8) - (get_local $i23) + ) + (set_local $i11 + (i32.sub + (get_local $i13) + (get_local $i14) ) - (i32.store - (get_local $i10) - (get_local $i23) + ) + (set_local $i18 + (i32.load + (i32.add + (get_local $i12) + (i32.const 4) + ) ) - (set_local $i19 - (i32.load - (i32.add + ) + (if + (i32.le_u + (get_local $i14) + (get_local $i18) + ) + (if + (i32.eq + (get_local $i7) + (i32.const 2) + ) + (block + (i32.store + (get_local $i8) + (i32.add + (i32.load + (get_local $i8) + ) + (get_local $i14) + ) + ) + (set_local $i19 + (get_local $i18) + ) + (set_local $i20 + (get_local $i14) + ) + (set_local $i21 (get_local $i12) - (i32.const 12) + ) + (set_local $i22 + (i32.const 2) ) ) - ) - (set_local $i20 - (i32.sub - (get_local $i14) - (get_local $i18) + (block + (set_local $i19 + (get_local $i18) + ) + (set_local $i20 + (get_local $i14) + ) + (set_local $i21 + (get_local $i12) + ) + (set_local $i22 + (get_local $i7) + ) ) ) - (set_local $i21 - (i32.add - (get_local $i12) - (i32.const 8) + (block + (set_local $i23 + (i32.load + (get_local $i9) + ) + ) + (i32.store + (get_local $i8) + (get_local $i23) + ) + (i32.store + (get_local $i10) + (get_local $i23) + ) + (set_local $i19 + (i32.load + (i32.add + (get_local $i12) + (i32.const 12) + ) + ) + ) + (set_local $i20 + (i32.sub + (get_local $i14) + (get_local $i18) + ) + ) + (set_local $i21 + (i32.add + (get_local $i12) + (i32.const 8) + ) + ) + (set_local $i22 + (i32.add + (get_local $i7) + (i32.const -1) + ) ) ) - (set_local $i22 - (i32.add - (get_local $i7) - (i32.const -1) + ) + (i32.store + (get_local $i21) + (i32.add + (i32.load + (get_local $i21) ) + (get_local $i20) ) ) - ) - (i32.store - (get_local $i21) - (i32.add - (i32.load + (i32.store + (i32.add (get_local $i21) + (i32.const 4) + ) + (i32.sub + (get_local $i19) + (get_local $i20) ) - (get_local $i20) ) - ) - (i32.store - (i32.add + (set_local $i12 (get_local $i21) - (i32.const 4) ) - (i32.sub - (get_local $i19) - (get_local $i20) + (set_local $i7 + (get_local $i22) ) + (set_local $i13 + (get_local $i11) + ) + (br $while-in$1) ) - (set_local $i12 - (get_local $i21) - ) - (set_local $i7 - (get_local $i22) - ) - (set_local $i13 - (get_local $i11) - ) - (br $while-in$1) ) (if (i32.eq @@ -9762,54 +9802,56 @@ (set_local $i4 (get_local $i2) ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (get_local $i4) - ) - (block - (set_local $i10 - (get_local $i2) - ) - (set_local $i11 - (get_local $i1) - ) - (set_local $i12 - (get_local $i9) - ) - (set_local $i13 - (i32.const 0) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (get_local $i4) ) - (br $label$break$L10) - ) - ) - (set_local $i14 - (i32.add - (get_local $i4) - (i32.const -1) - ) - ) - (if - (i32.eq - (i32.load8_s - (i32.add + (block + (set_local $i10 + (get_local $i2) + ) + (set_local $i11 (get_local $i1) - (get_local $i14) ) + (set_local $i12 + (get_local $i9) + ) + (set_local $i13 + (i32.const 0) + ) + (br $label$break$L10) ) - (i32.const 10) ) - (block - (set_local $i15 + (set_local $i14 + (i32.add (get_local $i4) + (i32.const -1) ) - (br $while-out$2) ) - (set_local $i4 - (get_local $i14) + (if + (i32.eq + (i32.load8_s + (i32.add + (get_local $i1) + (get_local $i14) + ) + ) + (i32.const 10) + ) + (block + (set_local $i15 + (get_local $i4) + ) + (br $while-out$2) + ) + (set_local $i4 + (get_local $i14) + ) ) + (br $while-in$3) ) - (br $while-in$3) ) (if (i32.lt_u @@ -10004,82 +10046,84 @@ (set_local $i4 (get_local $i5) ) - (loop $while-out$2 $while-in$3 - (if - (i32.gt_s - (i32.load - (i32.add + (loop $while-in$3 + (block $while-out$2 + (if + (i32.gt_s + (i32.load + (i32.add + (get_local $i3) + (i32.const 76) + ) + ) + (i32.const -1) + ) + (set_local $i7 + (call $___lockfile (get_local $i3) - (i32.const 76) ) ) - (i32.const -1) - ) - (set_local $i7 - (call $___lockfile - (get_local $i3) + (set_local $i7 + (i32.const 0) ) ) - (set_local $i7 - (i32.const 0) - ) - ) - (if - (i32.gt_u - (i32.load - (i32.add - (get_local $i3) - (i32.const 20) + (if + (i32.gt_u + (i32.load + (i32.add + (get_local $i3) + (i32.const 20) + ) ) - ) - (i32.load - (i32.add - (get_local $i3) - (i32.const 28) + (i32.load + (i32.add + (get_local $i3) + (i32.const 28) + ) ) ) - ) - (set_local $i8 - (i32.or - (call $___fflush_unlocked - (get_local $i3) + (set_local $i8 + (i32.or + (call $___fflush_unlocked + (get_local $i3) + ) + (get_local $i4) ) + ) + (set_local $i8 (get_local $i4) ) ) - (set_local $i8 - (get_local $i4) - ) - ) - (if - (get_local $i7) - (call $___unlockfile - (get_local $i3) - ) - ) - (set_local $i3 - (i32.load - (i32.add + (if + (get_local $i7) + (call $___unlockfile (get_local $i3) - (i32.const 56) ) ) - ) - (if - (i32.eqz - (get_local $i3) + (set_local $i3 + (i32.load + (i32.add + (get_local $i3) + (i32.const 56) + ) + ) ) - (block - (set_local $i6 + (if + (i32.eqz + (get_local $i3) + ) + (block + (set_local $i6 + (get_local $i8) + ) + (br $while-out$2) + ) + (set_local $i4 (get_local $i8) ) - (br $while-out$2) - ) - (set_local $i4 - (get_local $i8) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) @@ -10133,50 +10177,52 @@ (set_local $i6 (get_local $i2) ) - (loop $while-out$1 $while-in$2 - (if - (i32.eqz - (i32.load8_s - (get_local $i5) + (loop $while-in$2 + (block $while-out$1 + (if + (i32.eqz + (i32.load8_s + (get_local $i5) + ) + ) + (block + (set_local $i7 + (get_local $i6) + ) + (br $label$break$L1) ) ) - (block - (set_local $i7 - (get_local $i6) + (set_local $i8 + (i32.add + (get_local $i5) + (i32.const 1) ) - (br $label$break$L1) ) - ) - (set_local $i8 - (i32.add - (get_local $i5) - (i32.const 1) + (set_local $i6 + (get_local $i8) ) - ) - (set_local $i6 - (get_local $i8) - ) - (if - (i32.eqz - (i32.and - (get_local $i6) - (i32.const 3) + (if + (i32.eqz + (i32.and + (get_local $i6) + (i32.const 3) + ) ) - ) - (block - (set_local $i3 - (get_local $i8) + (block + (set_local $i3 + (get_local $i8) + ) + (set_local $i4 + (i32.const 4) + ) + (br $while-out$1) ) - (set_local $i4 - (i32.const 4) + (set_local $i5 + (get_local $i8) ) - (br $while-out$1) - ) - (set_local $i5 - (get_local $i8) ) + (br $while-in$2) ) - (br $while-in$2) ) ) ) @@ -10190,45 +10236,47 @@ (set_local $i4 (get_local $i3) ) - (loop $while-out$3 $while-in$4 - (set_local $i3 - (i32.load - (get_local $i4) + (loop $while-in$4 + (block $while-out$3 + (set_local $i3 + (i32.load + (get_local $i4) + ) ) - ) - (if - (i32.eqz - (i32.and - (i32.xor - (i32.and - (get_local $i3) + (if + (i32.eqz + (i32.and + (i32.xor + (i32.and + (get_local $i3) + (i32.const -2139062144) + ) (i32.const -2139062144) ) - (i32.const -2139062144) + (i32.add + (get_local $i3) + (i32.const -16843009) + ) ) + ) + (set_local $i4 (i32.add - (get_local $i3) - (i32.const -16843009) + (get_local $i4) + (i32.const 4) ) ) - ) - (set_local $i4 - (i32.add - (get_local $i4) - (i32.const 4) - ) - ) - (block - (set_local $i9 - (get_local $i3) - ) - (set_local $i10 - (get_local $i4) + (block + (set_local $i9 + (get_local $i3) + ) + (set_local $i10 + (get_local $i4) + ) + (br $while-out$3) ) - (br $while-out$3) ) + (br $while-in$4) ) - (br $while-in$4) ) (if (i32.eqz @@ -10250,30 +10298,32 @@ (set_local $i9 (get_local $i10) ) - (loop $while-out$5 $while-in$6 - (set_local $i10 - (i32.add - (get_local $i9) - (i32.const 1) - ) - ) - (if - (i32.eqz - (i32.load8_s - (get_local $i10) + (loop $while-in$6 + (block $while-out$5 + (set_local $i10 + (i32.add + (get_local $i9) + (i32.const 1) ) ) - (block - (set_local $i11 + (if + (i32.eqz + (i32.load8_s + (get_local $i10) + ) + ) + (block + (set_local $i11 + (get_local $i10) + ) + (br $while-out$5) + ) + (set_local $i9 (get_local $i10) ) - (br $while-out$5) - ) - (set_local $i9 - (get_local $i10) ) + (br $while-in$6) ) - (br $while-in$6) ) ) ) @@ -10645,129 +10695,135 @@ ) ) (block - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.and - (get_local $i1) - (i32.const 3) - ) - ) - (br $while-out$0) - ) - (block + (loop $while-in$1 + (block $while-out$0 (if (i32.eqz - (get_local $i3) - ) - (return - (get_local $i4) + (i32.and + (get_local $i1) + (i32.const 3) + ) ) + (br $while-out$0) ) - (i32.store8 - (get_local $i1) - (i32.load8_s - (get_local $i2) + (block + (if + (i32.eqz + (get_local $i3) + ) + (return + (get_local $i4) + ) ) - ) - (set_local $i1 - (i32.add + (i32.store8 (get_local $i1) - (i32.const 1) + (i32.load8_s + (get_local $i2) + ) ) - ) - (set_local $i2 - (i32.add - (get_local $i2) - (i32.const 1) + (set_local $i1 + (i32.add + (get_local $i1) + (i32.const 1) + ) ) - ) - (set_local $i3 - (i32.sub - (get_local $i3) - (i32.const 1) + (set_local $i2 + (i32.add + (get_local $i2) + (i32.const 1) + ) ) - ) - ) - (br $while-in$1) - ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (i32.ge_s - (get_local $i3) - (i32.const 4) + (set_local $i3 + (i32.sub + (get_local $i3) + (i32.const 1) + ) ) ) - (br $while-out$2) + (br $while-in$1) ) - (block - (i32.store - (get_local $i1) - (i32.load - (get_local $i2) + ) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (i32.ge_s + (get_local $i3) + (i32.const 4) + ) ) + (br $while-out$2) ) - (set_local $i1 - (i32.add + (block + (i32.store (get_local $i1) - (i32.const 4) + (i32.load + (get_local $i2) + ) ) - ) - (set_local $i2 - (i32.add - (get_local $i2) - (i32.const 4) + (set_local $i1 + (i32.add + (get_local $i1) + (i32.const 4) + ) ) - ) - (set_local $i3 - (i32.sub - (get_local $i3) - (i32.const 4) + (set_local $i2 + (i32.add + (get_local $i2) + (i32.const 4) + ) + ) + (set_local $i3 + (i32.sub + (get_local $i3) + (i32.const 4) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (if - (i32.eqz - (i32.gt_s - (get_local $i3) - (i32.const 0) - ) - ) - (br $while-out$4) - ) - (block - (i32.store8 - (get_local $i1) - (i32.load8_s - (get_local $i2) + (loop $while-in$5 + (block $while-out$4 + (if + (i32.eqz + (i32.gt_s + (get_local $i3) + (i32.const 0) + ) ) + (br $while-out$4) ) - (set_local $i1 - (i32.add + (block + (i32.store8 (get_local $i1) - (i32.const 1) + (i32.load8_s + (get_local $i2) + ) ) - ) - (set_local $i2 - (i32.add - (get_local $i2) - (i32.const 1) + (set_local $i1 + (i32.add + (get_local $i1) + (i32.const 1) + ) ) - ) - (set_local $i3 - (i32.sub - (get_local $i3) - (i32.const 1) + (set_local $i2 + (i32.add + (get_local $i2) + (i32.const 1) + ) + ) + (set_local $i3 + (i32.sub + (get_local $i3) + (i32.const 1) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (return (get_local $i4) @@ -10847,81 +10903,87 @@ (get_local $i5) ) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.lt_s - (get_local $i1) - (get_local $i5) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eqz + (i32.lt_s + (get_local $i1) + (get_local $i5) + ) ) + (br $while-out$0) ) - (br $while-out$0) - ) - (block - (i32.store8 - (get_local $i1) - (get_local $i2) - ) - (set_local $i1 - (i32.add + (block + (i32.store8 (get_local $i1) - (i32.const 1) + (get_local $i2) + ) + (set_local $i1 + (i32.add + (get_local $i1) + (i32.const 1) + ) ) ) + (br $while-in$1) ) - (br $while-in$1) ) ) ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (i32.lt_s - (get_local $i1) - (get_local $i7) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (i32.lt_s + (get_local $i1) + (get_local $i7) + ) ) + (br $while-out$2) ) - (br $while-out$2) - ) - (block - (i32.store - (get_local $i1) - (get_local $i6) - ) - (set_local $i1 - (i32.add + (block + (i32.store (get_local $i1) - (i32.const 4) + (get_local $i6) + ) + (set_local $i1 + (i32.add + (get_local $i1) + (i32.const 4) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (if - (i32.eqz - (i32.lt_s - (get_local $i1) - (get_local $i4) + (loop $while-in$5 + (block $while-out$4 + (if + (i32.eqz + (i32.lt_s + (get_local $i1) + (get_local $i4) + ) ) + (br $while-out$4) ) - (br $while-out$4) - ) - (block - (i32.store8 - (get_local $i1) - (get_local $i2) - ) - (set_local $i1 - (i32.add + (block + (i32.store8 (get_local $i1) - (i32.const 1) + (get_local $i2) + ) + (set_local $i1 + (i32.add + (get_local $i1) + (i32.const 1) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (return (i32.sub diff --git a/test/emcc_hello_world.fromasm b/test/emcc_hello_world.fromasm index 3187c00a7..1475e4676 100644 --- a/test/emcc_hello_world.fromasm +++ b/test/emcc_hello_world.fromasm @@ -416,51 +416,53 @@ (set_local $1 (i32.const 0) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eq - (i32.and - (i32.load8_s offset=687 - (get_local $1) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eq + (i32.and + (i32.load8_s offset=687 + (get_local $1) + ) + (i32.const 255) ) - (i32.const 255) - ) - (get_local $0) - ) - (block - (set_local $4 - (get_local $1) - ) - (set_local $0 - (i32.const 2) + (get_local $0) ) - (br $while-out$0) - ) - ) - (if - (i32.eq - (tee_local $1 - (i32.add + (block + (set_local $4 (get_local $1) - (i32.const 1) ) + (set_local $0 + (i32.const 2) + ) + (br $while-out$0) ) - (i32.const 87) ) - (block - (set_local $3 + (if + (i32.eq + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) + ) (i32.const 87) ) - (set_local $2 - (i32.const 775) - ) - (set_local $0 - (i32.const 5) + (block + (set_local $3 + (i32.const 87) + ) + (set_local $2 + (i32.const 775) + ) + (set_local $0 + (i32.const 5) + ) + (br $while-out$0) ) - (br $while-out$0) ) + (br $while-in$1) ) - (br $while-in$1) ) (if (i32.eq @@ -493,65 +495,69 @@ (get_local $0) (i32.const 5) ) - (loop $while-out$2 $while-in$3 - (loop $while-out$4 $while-in$5 - (set_local $0 - (i32.add - (get_local $2) - (i32.const 1) + (loop $while-in$3 + (block $while-out$2 + (loop $while-in$5 + (block $while-out$4 + (set_local $0 + (i32.add + (get_local $2) + (i32.const 1) + ) + ) + (if + (i32.eq + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $2) + ) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const 0) + ) + (block + (set_local $1 + (get_local $0) + ) + (br $while-out$4) + ) + (set_local $2 + (get_local $0) + ) + ) + (br $while-in$5) ) ) (if (i32.eq - (i32.shr_s - (i32.shl - (i32.load8_s - (get_local $2) - ) - (i32.const 24) + (tee_local $0 + (i32.add + (get_local $3) + (i32.const -1) ) - (i32.const 24) ) (i32.const 0) ) (block - (set_local $1 - (get_local $0) + (set_local $5 + (get_local $1) ) - (br $while-out$4) - ) - (set_local $2 - (get_local $0) + (br $while-out$2) ) - ) - (br $while-in$5) - ) - (if - (i32.eq - (tee_local $0 - (i32.add - (get_local $3) - (i32.const -1) + (block + (set_local $3 + (get_local $0) + ) + (set_local $2 + (get_local $1) ) - ) - (i32.const 0) - ) - (block - (set_local $5 - (get_local $1) - ) - (br $while-out$2) - ) - (block - (set_local $3 - (get_local $0) - ) - (set_local $2 - (get_local $1) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) (get_local $5) @@ -843,69 +849,71 @@ (set_local $2 (get_local $0) ) - (loop $while-out$2 $while-in$3 - (set_local $0 - (if - (i32.gt_s - (i32.load offset=76 + (loop $while-in$3 + (block $while-out$2 + (set_local $0 + (if + (i32.gt_s + (i32.load offset=76 + (get_local $1) + ) + (i32.const -1) + ) + (call $___lockfile (get_local $1) ) - (i32.const -1) - ) - (call $___lockfile - (get_local $1) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $2 - (if - (i32.gt_u - (i32.load offset=20 - (get_local $1) - ) - (i32.load offset=28 - (get_local $1) + (set_local $2 + (if + (i32.gt_u + (i32.load offset=20 + (get_local $1) + ) + (i32.load offset=28 + (get_local $1) + ) ) - ) - (i32.or - (call $___fflush_unlocked - (get_local $1) + (i32.or + (call $___fflush_unlocked + (get_local $1) + ) + (get_local $2) ) (get_local $2) ) - (get_local $2) - ) - ) - (if - (i32.ne - (get_local $0) - (i32.const 0) ) - (call $___unlockfile - (get_local $1) + (if + (i32.ne + (get_local $0) + (i32.const 0) + ) + (call $___unlockfile + (get_local $1) + ) ) - ) - (if - (i32.eq - (tee_local $0 - (i32.load offset=56 - (get_local $1) + (if + (i32.eq + (tee_local $0 + (i32.load offset=56 + (get_local $1) + ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $0 - (get_local $2) + (block + (set_local $0 + (get_local $2) + ) + (br $while-out$2) + ) + (set_local $1 + (get_local $0) ) - (br $while-out$2) - ) - (set_local $1 - (get_local $0) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) @@ -1123,206 +1131,208 @@ (get_local $2) ) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eq - (get_local $3) - (tee_local $5 - (if - (i32.eq - (i32.load - (i32.const 16) - ) - (i32.const 0) - ) - (block - (i32.store - (get_local $9) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eq + (get_local $3) + (tee_local $5 + (if + (i32.eq (i32.load - (get_local $12) + (i32.const 16) ) + (i32.const 0) ) - (i32.store offset=4 - (get_local $9) - (get_local $4) - ) - (i32.store offset=8 - (get_local $9) - (get_local $6) - ) - (call $___syscall_ret - (call_import $___syscall146 - (i32.const 146) + (block + (i32.store (get_local $9) + (i32.load + (get_local $12) + ) + ) + (i32.store offset=4 + (get_local $9) + (get_local $4) + ) + (i32.store offset=8 + (get_local $9) + (get_local $6) ) - ) - ) - (block - (call_import $_pthread_cleanup_push - (i32.const 5) - (get_local $0) - ) - (i32.store - (get_local $10) - (i32.load - (get_local $12) - ) - ) - (i32.store offset=4 - (get_local $10) - (get_local $4) - ) - (i32.store offset=8 - (get_local $10) - (get_local $6) - ) - (set_local $1 (call $___syscall_ret (call_import $___syscall146 (i32.const 146) - (get_local $10) + (get_local $9) ) ) ) - (call_import $_pthread_cleanup_pop - (i32.const 0) + (block + (call_import $_pthread_cleanup_push + (i32.const 5) + (get_local $0) + ) + (i32.store + (get_local $10) + (i32.load + (get_local $12) + ) + ) + (i32.store offset=4 + (get_local $10) + (get_local $4) + ) + (i32.store offset=8 + (get_local $10) + (get_local $6) + ) + (set_local $1 + (call $___syscall_ret + (call_import $___syscall146 + (i32.const 146) + (get_local $10) + ) + ) + ) + (call_import $_pthread_cleanup_pop + (i32.const 0) + ) + (get_local $1) ) - (get_local $1) ) ) ) - ) - (block - (set_local $1 - (i32.const 6) - ) - (br $while-out$0) - ) - ) - (if - (i32.lt_s - (get_local $5) - (i32.const 0) - ) - (block - (set_local $15 - (get_local $4) - ) - (set_local $16 - (get_local $6) - ) - (set_local $1 - (i32.const 8) + (block + (set_local $1 + (i32.const 6) + ) + (br $while-out$0) ) - (br $while-out$0) - ) - ) - (set_local $17 - (i32.sub - (get_local $3) - (get_local $5) ) - ) - (set_local $1 (if - (i32.gt_u + (i32.lt_s (get_local $5) - (tee_local $1 - (i32.load offset=4 - (get_local $4) - ) - ) + (i32.const 0) ) (block - (i32.store - (get_local $7) - (tee_local $3 - (i32.load - (get_local $13) - ) - ) - ) - (i32.store - (get_local $11) - (get_local $3) - ) - (set_local $5 - (i32.sub - (get_local $5) - (get_local $1) - ) - ) - (set_local $3 - (i32.add - (get_local $4) - (i32.const 8) - ) + (set_local $15 + (get_local $4) ) - (set_local $6 - (i32.add - (get_local $6) - (i32.const -1) - ) + (set_local $16 + (get_local $6) ) - (i32.load offset=12 - (get_local $4) + (set_local $1 + (i32.const 8) ) + (br $while-out$0) + ) + ) + (set_local $17 + (i32.sub + (get_local $3) + (get_local $5) ) + ) + (set_local $1 (if - (i32.eq - (get_local $6) - (i32.const 2) + (i32.gt_u + (get_local $5) + (tee_local $1 + (i32.load offset=4 + (get_local $4) + ) + ) ) (block (i32.store (get_local $7) - (i32.add + (tee_local $3 (i32.load - (get_local $7) + (get_local $13) ) + ) + ) + (i32.store + (get_local $11) + (get_local $3) + ) + (set_local $5 + (i32.sub (get_local $5) + (get_local $1) ) ) (set_local $3 - (get_local $4) + (i32.add + (get_local $4) + (i32.const 8) + ) ) (set_local $6 - (i32.const 2) + (i32.add + (get_local $6) + (i32.const -1) + ) ) - (get_local $1) - ) - (block - (set_local $3 + (i32.load offset=12 (get_local $4) ) - (get_local $1) + ) + (if + (i32.eq + (get_local $6) + (i32.const 2) + ) + (block + (i32.store + (get_local $7) + (i32.add + (i32.load + (get_local $7) + ) + (get_local $5) + ) + ) + (set_local $3 + (get_local $4) + ) + (set_local $6 + (i32.const 2) + ) + (get_local $1) + ) + (block + (set_local $3 + (get_local $4) + ) + (get_local $1) + ) ) ) ) - ) - (i32.store - (get_local $3) - (i32.add - (i32.load - (get_local $3) + (i32.store + (get_local $3) + (i32.add + (i32.load + (get_local $3) + ) + (get_local $5) ) - (get_local $5) ) - ) - (i32.store offset=4 - (get_local $3) - (i32.sub - (get_local $1) - (get_local $5) + (i32.store offset=4 + (get_local $3) + (i32.sub + (get_local $1) + (get_local $5) + ) ) + (set_local $4 + (get_local $3) + ) + (set_local $3 + (get_local $17) + ) + (br $while-in$1) ) - (set_local $4 - (get_local $3) - ) - (set_local $3 - (get_local $17) - ) - (br $while-in$1) ) (if (i32.eq @@ -1850,48 +1860,50 @@ (set_local $3 (get_local $1) ) - (loop $while-out$2 $while-in$3 - (if - (i32.eq - (get_local $3) - (i32.const 0) - ) - (block - (set_local $2 + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eq + (get_local $3) (i32.const 0) ) - (br $label$break$L10 - (get_local $6) + (block + (set_local $2 + (i32.const 0) + ) + (br $label$break$L10 + (get_local $6) + ) ) ) - ) - (if - (i32.eq - (i32.shr_s - (i32.shl - (i32.load8_s - (i32.add - (get_local $0) - (tee_local $4 - (i32.add - (get_local $3) - (i32.const -1) + (if + (i32.eq + (i32.shr_s + (i32.shl + (i32.load8_s + (i32.add + (get_local $0) + (tee_local $4 + (i32.add + (get_local $3) + (i32.const -1) + ) ) ) ) + (i32.const 24) ) (i32.const 24) ) - (i32.const 24) + (i32.const 10) + ) + (br $while-out$2) + (set_local $3 + (get_local $4) ) - (i32.const 10) - ) - (br $while-out$2) - (set_local $3 - (get_local $4) ) + (br $while-in$3) ) - (br $while-in$3) ) (if (i32.lt_u @@ -2331,85 +2343,87 @@ (set_local $2 (get_local $0) ) - (loop $while-out$1 $while-in$2 - (if - (i32.eq - (i32.shr_s - (i32.shl - (i32.load8_s - (get_local $2) + (loop $while-in$2 + (block $while-out$1 + (if + (i32.eq + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $2) + ) + (i32.const 24) ) (i32.const 24) ) - (i32.const 24) - ) - (i32.shr_s - (i32.shl - (get_local $6) + (i32.shr_s + (i32.shl + (get_local $6) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) - ) - ) - (block - (set_local $4 - (get_local $3) - ) - (set_local $5 - (get_local $2) ) - (set_local $3 - (i32.const 6) + (block + (set_local $4 + (get_local $3) + ) + (set_local $5 + (get_local $2) + ) + (set_local $3 + (i32.const 6) + ) + (br $label$break$L1) ) - (br $label$break$L1) ) - ) - (if - (i32.and - (tee_local $3 - (i32.ne - (tee_local $0 - (i32.add - (get_local $3) - (i32.const -1) + (if + (i32.and + (tee_local $3 + (i32.ne + (tee_local $0 + (i32.add + (get_local $3) + (i32.const -1) + ) ) + (i32.const 0) ) - (i32.const 0) ) - ) - (i32.ne - (i32.and - (tee_local $2 - (i32.add - (get_local $2) - (i32.const 1) + (i32.ne + (i32.and + (tee_local $2 + (i32.add + (get_local $2) + (i32.const 1) + ) ) + (i32.const 3) ) - (i32.const 3) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $3 - (get_local $0) - ) - (block - (set_local $14 + (set_local $3 (get_local $0) ) - (set_local $11 - (get_local $2) - ) - (set_local $15 - (get_local $3) - ) - (set_local $3 - (i32.const 5) + (block + (set_local $14 + (get_local $0) + ) + (set_local $11 + (get_local $2) + ) + (set_local $15 + (get_local $3) + ) + (set_local $3 + (i32.const 5) + ) + (br $while-out$1) ) - (br $while-out$1) ) + (br $while-in$2) ) - (br $while-in$2) ) ) (block @@ -2508,69 +2522,71 @@ (i32.const 3) ) (block - (loop $while-out$5 $while-in$6 - (set_local $1 - (i32.add - (tee_local $6 - (i32.xor - (i32.load - (get_local $5) + (loop $while-in$6 + (block $while-out$5 + (set_local $1 + (i32.add + (tee_local $6 + (i32.xor + (i32.load + (get_local $5) + ) + (get_local $2) ) - (get_local $2) ) + (i32.const -16843009) ) - (i32.const -16843009) ) - ) - (if - (i32.ne - (i32.and - (i32.xor - (i32.and - (get_local $6) + (if + (i32.ne + (i32.and + (i32.xor + (i32.and + (get_local $6) + (i32.const -2139062144) + ) (i32.const -2139062144) ) - (i32.const -2139062144) + (get_local $1) ) - (get_local $1) + (i32.const 0) ) - (i32.const 0) - ) - (br $while-out$5) - ) - (set_local $1 - (i32.add - (get_local $5) - (i32.const 4) + (br $while-out$5) ) - ) - (if - (i32.gt_u - (tee_local $4 - (i32.add - (get_local $4) - (i32.const -4) - ) + (set_local $1 + (i32.add + (get_local $5) + (i32.const 4) ) - (i32.const 3) ) - (set_local $5 - (get_local $1) - ) - (block - (set_local $12 - (get_local $4) + (if + (i32.gt_u + (tee_local $4 + (i32.add + (get_local $4) + (i32.const -4) + ) + ) + (i32.const 3) ) - (set_local $13 + (set_local $5 (get_local $1) ) - (set_local $3 - (i32.const 11) + (block + (set_local $12 + (get_local $4) + ) + (set_local $13 + (get_local $1) + ) + (set_local $3 + (i32.const 11) + ) + (br $label$break$L11) ) - (br $label$break$L11) ) + (br $while-in$6) ) - (br $while-in$6) ) (set_local $10 (get_local $4) @@ -2621,71 +2637,73 @@ ) ) ) - (loop $while-out$7 $while-in$8 - (if - (i32.eq - (i32.shr_s - (i32.shl - (i32.load8_s - (get_local $9) + (loop $while-in$8 + (block $while-out$7 + (if + (i32.eq + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $9) + ) + (i32.const 24) ) (i32.const 24) ) - (i32.const 24) - ) - (i32.shr_s - (i32.shl - (get_local $0) + (i32.shr_s + (i32.shl + (get_local $0) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) - ) - ) - (block - (set_local $7 - (get_local $10) - ) - (set_local $8 - (get_local $9) ) - (br $label$break$L8) - ) - ) - (set_local $2 - (i32.add - (get_local $9) - (i32.const 1) - ) - ) - (if - (i32.eq - (tee_local $1 - (i32.add + (block + (set_local $7 (get_local $10) - (i32.const -1) ) + (set_local $8 + (get_local $9) + ) + (br $label$break$L8) ) - (i32.const 0) ) - (block - (set_local $7 - (i32.const 0) - ) - (set_local $8 - (get_local $2) + (set_local $2 + (i32.add + (get_local $9) + (i32.const 1) ) - (br $while-out$7) ) - (block - (set_local $10 - (get_local $1) + (if + (i32.eq + (tee_local $1 + (i32.add + (get_local $10) + (i32.const -1) + ) + ) + (i32.const 0) ) - (set_local $9 - (get_local $2) + (block + (set_local $7 + (i32.const 0) + ) + (set_local $8 + (get_local $2) + ) + (br $while-out$7) + ) + (block + (set_local $10 + (get_local $1) + ) + (set_local $9 + (get_local $2) + ) ) ) + (br $while-in$8) ) - (br $while-in$8) ) ) ) @@ -3105,631 +3123,325 @@ (set_local $8 (i32.const 0) ) - (loop $label$break$L1 $label$continue$L1 - (set_local $22 - (if - (i32.gt_s - (get_local $22) - (i32.const -1) - ) + (loop $label$continue$L1 + (block $label$break$L1 + (set_local $22 (if (i32.gt_s - (get_local $1) - (i32.sub - (i32.const 2147483647) - (get_local $22) - ) - ) - (block - (i32.store - (call $___errno_location) - (i32.const 75) - ) - (i32.const -1) - ) - (i32.add - (get_local $1) (get_local $22) + (i32.const -1) ) - ) - (get_local $22) - ) - ) - (if - (i32.eq - (i32.shr_s - (i32.shl - (tee_local $1 - (i32.load8_s - (get_local $20) + (if + (i32.gt_s + (get_local $1) + (i32.sub + (i32.const 2147483647) + (get_local $22) ) ) - (i32.const 24) + (block + (i32.store + (call $___errno_location) + (i32.const 75) + ) + (i32.const -1) + ) + (i32.add + (get_local $1) + (get_local $22) + ) ) - (i32.const 24) - ) - (i32.const 0) - ) - (block - (set_local $82 (get_local $22) ) - (set_local $83 - (get_local $8) - ) - (set_local $12 - (i32.const 242) - ) - (br $label$break$L1) ) - (set_local $5 - (get_local $20) - ) - ) - (loop $label$break$L9 $label$continue$L9 - (block $switch-default$5 - (block $switch-case$4 - (block $switch-case$3 - (br_table $switch-case$4 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-case$3 $switch-default$5 - (i32.sub - (i32.shr_s - (i32.shl - (get_local $1) - (i32.const 24) - ) - (i32.const 24) + (if + (i32.eq + (i32.shr_s + (i32.shl + (tee_local $1 + (i32.load8_s + (get_local $20) ) - (i32.const 0) ) + (i32.const 24) ) + (i32.const 24) ) - (set_local $54 - (get_local $5) + (i32.const 0) + ) + (block + (set_local $82 + (get_local $22) ) - (set_local $65 - (get_local $5) + (set_local $83 + (get_local $8) ) (set_local $12 - (i32.const 9) + (i32.const 242) ) - (br $label$break$L9) - ) - (set_local $41 - (get_local $5) - ) - (set_local $55 - (get_local $5) + (br $label$break$L1) ) - (br $label$break$L9) - ) - (set_local $1 - (i32.load8_s - (tee_local $5 - (i32.add - (get_local $5) - (i32.const 1) - ) - ) + (set_local $5 + (get_local $20) ) ) - (br $label$continue$L9) - ) - (block $label$break$L12 - (if - (i32.eq - (get_local $12) - (i32.const 9) - ) - (loop $while-out$7 $while-in$8 - (set_local $12 - (i32.const 0) - ) - (if - (i32.ne - (i32.shr_s - (i32.shl - (i32.load8_s offset=1 - (get_local $54) - ) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const 37) - ) - (block - (set_local $41 - (get_local $54) - ) - (set_local $55 - (get_local $65) - ) - (br $label$break$L12) - ) - ) - (set_local $5 - (i32.add - (get_local $65) - (i32.const 1) - ) - ) - (if - (i32.eq - (i32.shr_s - (i32.shl - (i32.load8_s - (tee_local $1 - (i32.add - (get_local $54) - (i32.const 2) + (loop $label$continue$L9 + (block $label$break$L9 + (block $switch-default$5 + (block $switch-case$4 + (block $switch-case$3 + (br_table $switch-case$4 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-case$3 $switch-default$5 + (i32.sub + (i32.shr_s + (i32.shl + (get_local $1) + (i32.const 24) ) + (i32.const 24) ) + (i32.const 0) ) - (i32.const 24) ) - (i32.const 24) ) - (i32.const 37) - ) - (block (set_local $54 - (get_local $1) + (get_local $5) ) (set_local $65 (get_local $5) ) - ) - (block - (set_local $41 - (get_local $1) - ) - (set_local $55 - (get_local $5) + (set_local $12 + (i32.const 9) ) - (br $while-out$7) + (br $label$break$L9) ) - ) - (br $while-in$8) - ) - ) - ) - (set_local $17 - (i32.sub - (get_local $55) - (get_local $20) - ) - ) - (if - (get_local $44) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) + (set_local $41 + (get_local $5) ) - (i32.const 32) - ) - (i32.const 0) - ) - (call $___fwritex - (get_local $20) - (get_local $17) - (get_local $0) - ) - ) - ) - (if - (i32.ne - (get_local $55) - (get_local $20) - ) - (block - (set_local $20 - (get_local $41) - ) - (set_local $1 - (get_local $17) - ) - (br $label$continue$L1) - ) - ) - (set_local $7 - (if - (i32.lt_u - (tee_local $6 - (i32.add - (i32.shr_s - (i32.shl - (tee_local $1 - (i32.load8_s - (tee_local $5 - (i32.add - (get_local $41) - (i32.const 1) - ) - ) - ) - ) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const -48) + (set_local $55 + (get_local $5) ) + (br $label$break$L9) ) - (i32.const 10) - ) - (block (set_local $1 (i32.load8_s (tee_local $5 - (select - (i32.add - (get_local $41) - (i32.const 3) - ) + (i32.add (get_local $5) - (tee_local $7 - (i32.eq - (i32.shr_s - (i32.shl - (i32.load8_s offset=2 - (get_local $41) - ) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const 36) - ) - ) + (i32.const 1) ) ) ) ) - (set_local $11 - (select - (i32.const 1) - (get_local $8) - (get_local $7) - ) - ) - (set_local $9 - (get_local $5) - ) - (select - (get_local $6) - (i32.const -1) - (get_local $7) - ) - ) - (block - (set_local $11 - (get_local $8) - ) - (set_local $9 - (get_local $5) - ) - (i32.const -1) + (br $label$continue$L9) ) ) - ) - (block $label$break$L25 - (if - (i32.eq - (i32.and - (tee_local $5 - (i32.shr_s - (i32.shl - (get_local $1) - (i32.const 24) - ) - (i32.const 24) - ) - ) - (i32.const -32) - ) - (i32.const 32) - ) - (block - (set_local $8 - (i32.const 0) + (block $label$break$L12 + (if + (i32.eq + (get_local $12) + (i32.const 9) ) - (loop $while-out$10 $while-in$11 - (if - (i32.eq - (i32.and - (i32.shl - (i32.const 1) - (i32.add - (get_local $5) - (i32.const -32) - ) - ) - (i32.const 75913) - ) + (loop $while-in$8 + (block $while-out$7 + (set_local $12 (i32.const 0) ) - (br $label$break$L25) - ) - (set_local $8 - (i32.or - (i32.shl - (i32.const 1) - (i32.add - (i32.shr_s - (i32.shl - (get_local $1) - (i32.const 24) + (if + (i32.ne + (i32.shr_s + (i32.shl + (i32.load8_s offset=1 + (get_local $54) ) (i32.const 24) ) - (i32.const -32) + (i32.const 24) ) + (i32.const 37) + ) + (block + (set_local $41 + (get_local $54) + ) + (set_local $55 + (get_local $65) + ) + (br $label$break$L12) ) - (get_local $8) ) - ) - (if - (i32.eq - (i32.and - (tee_local $5 - (i32.shr_s - (i32.shl + (set_local $5 + (i32.add + (get_local $65) + (i32.const 1) + ) + ) + (if + (i32.eq + (i32.shr_s + (i32.shl + (i32.load8_s (tee_local $1 - (i32.load8_s - (tee_local $6 - (i32.add - (get_local $9) - (i32.const 1) - ) - ) + (i32.add + (get_local $54) + (i32.const 2) ) ) - (i32.const 24) ) (i32.const 24) ) + (i32.const 24) ) - (i32.const -32) + (i32.const 37) ) - (i32.const 32) - ) - (set_local $9 - (get_local $6) - ) - (block - (set_local $9 - (get_local $6) + (block + (set_local $54 + (get_local $1) + ) + (set_local $65 + (get_local $5) + ) + ) + (block + (set_local $41 + (get_local $1) + ) + (set_local $55 + (get_local $5) + ) + (br $while-out$7) ) - (br $while-out$10) ) + (br $while-in$8) ) - (br $while-in$11) ) ) - (set_local $8 - (i32.const 0) + ) + (set_local $17 + (i32.sub + (get_local $55) + (get_local $20) ) ) - ) - (block $do-once$12 (if - (i32.eq - (i32.shr_s - (i32.shl - (get_local $1) - (i32.const 24) + (get_local $44) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 24) + (i32.const 0) + ) + (call $___fwritex + (get_local $20) + (get_local $17) + (get_local $0) ) - (i32.const 42) + ) + ) + (if + (i32.ne + (get_local $55) + (get_local $20) ) (block - (if - (i32.lt_u - (tee_local $1 - (i32.add - (i32.shr_s - (i32.shl + (set_local $20 + (get_local $41) + ) + (set_local $1 + (get_local $17) + ) + (br $label$continue$L1) + ) + ) + (set_local $7 + (if + (i32.lt_u + (tee_local $6 + (i32.add + (i32.shr_s + (i32.shl + (tee_local $1 (i32.load8_s - (tee_local $6 + (tee_local $5 (i32.add - (get_local $9) + (get_local $41) (i32.const 1) ) ) ) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const -48) - ) - ) - (i32.const 10) - ) - (if - (i32.eq - (i32.shr_s - (i32.shl - (i32.load8_s offset=2 - (get_local $9) ) (i32.const 24) ) (i32.const 24) ) - (i32.const 36) + (i32.const -48) ) - (block - (i32.store - (i32.add - (get_local $4) - (i32.shl - (get_local $1) - (i32.const 2) - ) - ) - (i32.const 10) - ) - (set_local $1 - (i32.load + ) + (i32.const 10) + ) + (block + (set_local $1 + (i32.load8_s + (tee_local $5 + (select (i32.add - (get_local $3) - (i32.shl - (i32.add - (i32.shr_s - (i32.shl - (i32.load8_s - (get_local $6) - ) - (i32.const 24) + (get_local $41) + (i32.const 3) + ) + (get_local $5) + (tee_local $7 + (i32.eq + (i32.shr_s + (i32.shl + (i32.load8_s offset=2 + (get_local $41) ) (i32.const 24) ) - (i32.const -48) + (i32.const 24) ) - (i32.const 3) + (i32.const 36) ) ) ) ) - (set_local $66 - (i32.const 1) - ) - (set_local $67 - (i32.add - (get_local $9) - (i32.const 3) - ) - ) - (set_local $56 - (get_local $1) - ) ) - (set_local $12 - (i32.const 24) + ) + (set_local $11 + (select + (i32.const 1) + (get_local $8) + (get_local $7) ) ) - (set_local $12 - (i32.const 24) + (set_local $9 + (get_local $5) ) - ) - (if - (i32.eq - (get_local $12) - (i32.const 24) - ) - (block - (set_local $12 - (i32.const 0) - ) - (if - (i32.ne - (get_local $11) - (i32.const 0) - ) - (block - (set_local $24 - (i32.const -1) - ) - (br $label$break$L1) - ) - ) - (if - (i32.eqz - (get_local $44) - ) - (block - (set_local $9 - (get_local $6) - ) - (set_local $21 - (i32.const 0) - ) - (set_local $16 - (i32.const 0) - ) - (br $do-once$12) - ) - ) - (set_local $5 - (i32.load - (tee_local $1 - (i32.and - (i32.add - (i32.load - (get_local $2) - ) - (i32.const 3) - ) - (i32.const -4) - ) - ) - ) - ) - (i32.store - (get_local $2) - (i32.add - (get_local $1) - (i32.const 4) - ) - ) - (set_local $66 - (i32.const 0) - ) - (set_local $67 - (get_local $6) - ) - (set_local $56 - (get_local $5) - ) + (select + (get_local $6) + (i32.const -1) + (get_local $7) ) ) - (set_local $8 - (if - (i32.lt_s - (get_local $56) - (i32.const 0) - ) - (block - (set_local $9 - (get_local $67) - ) - (set_local $21 - (get_local $66) - ) - (set_local $16 - (i32.sub - (i32.const 0) - (get_local $56) - ) - ) - (i32.or - (get_local $8) - (i32.const 8192) - ) - ) - (block - (set_local $9 - (get_local $67) - ) - (set_local $21 - (get_local $66) - ) - (set_local $16 - (get_local $56) - ) - (get_local $8) - ) + (block + (set_local $11 + (get_local $8) + ) + (set_local $9 + (get_local $5) ) + (i32.const -1) ) ) + ) + (block $label$break$L25 (if - (i32.lt_u - (tee_local $6 - (i32.add + (i32.eq + (i32.and + (tee_local $5 (i32.shr_s (i32.shl (get_local $1) @@ -3737,234 +3449,136 @@ ) (i32.const 24) ) - (i32.const -48) ) + (i32.const -32) ) - (i32.const 10) + (i32.const 32) ) (block - (set_local $1 - (get_local $9) - ) - (set_local $5 + (set_local $8 (i32.const 0) ) - (loop $while-out$14 $while-in$15 - (set_local $5 - (i32.add - (i32.mul - (get_local $5) - (i32.const 10) + (loop $while-in$11 + (block $while-out$10 + (if + (i32.eq + (i32.and + (i32.shl + (i32.const 1) + (i32.add + (get_local $5) + (i32.const -32) + ) + ) + (i32.const 75913) + ) + (i32.const 0) ) - (get_local $6) + (br $label$break$L25) ) - ) - (if - (i32.ge_u - (tee_local $6 - (i32.add - (i32.shr_s - (i32.shl - (i32.load8_s + (set_local $8 + (i32.or + (i32.shl + (i32.const 1) + (i32.add + (i32.shr_s + (i32.shl + (get_local $1) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const -32) + ) + ) + (get_local $8) + ) + ) + (if + (i32.eq + (i32.and + (tee_local $5 + (i32.shr_s + (i32.shl (tee_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (i32.load8_s + (tee_local $6 + (i32.add + (get_local $9) + (i32.const 1) + ) + ) ) ) + (i32.const 24) ) (i32.const 24) ) - (i32.const 24) ) - (i32.const -48) + (i32.const -32) ) + (i32.const 32) + ) + (set_local $9 + (get_local $6) + ) + (block + (set_local $9 + (get_local $6) + ) + (br $while-out$10) ) - (i32.const 10) - ) - (br $while-out$14) - ) - (br $while-in$15) - ) - (if - (i32.lt_s - (get_local $5) - (i32.const 0) - ) - (block - (set_local $24 - (i32.const -1) - ) - (br $label$break$L1) - ) - (block - (set_local $9 - (get_local $1) - ) - (set_local $21 - (get_local $11) - ) - (set_local $16 - (get_local $5) ) + (br $while-in$11) ) ) ) - (block - (set_local $21 - (get_local $11) - ) - (set_local $16 - (i32.const 0) - ) + (set_local $8 + (i32.const 0) ) ) ) - ) - (set_local $11 - (block $label$break$L46 + (block $do-once$12 (if (i32.eq (i32.shr_s (i32.shl - (i32.load8_s - (get_local $9) - ) + (get_local $1) (i32.const 24) ) (i32.const 24) ) - (i32.const 46) + (i32.const 42) ) (block (if - (i32.ne - (i32.shr_s - (i32.shl - (tee_local $1 - (i32.load8_s - (tee_local $5 - (i32.add - (get_local $9) - (i32.const 1) + (i32.lt_u + (tee_local $1 + (i32.add + (i32.shr_s + (i32.shl + (i32.load8_s + (tee_local $6 + (i32.add + (get_local $9) + (i32.const 1) + ) ) ) + (i32.const 24) ) + (i32.const 24) ) - (i32.const 24) + (i32.const -48) ) - (i32.const 24) ) - (i32.const 42) - ) - (block - (if - (i32.lt_u - (tee_local $6 - (i32.add - (i32.shr_s - (i32.shl - (get_local $1) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const -48) - ) - ) - (i32.const 10) - ) - (block - (set_local $1 - (get_local $5) - ) - (set_local $5 - (i32.const 0) - ) - ) - (block - (set_local $10 - (i32.const 0) - ) - (br $label$break$L46 - (get_local $5) - ) - ) - ) - (loop $while-in$18 - (set_local $5 - (i32.add - (i32.mul - (get_local $5) - (i32.const 10) - ) - (get_local $6) - ) - ) - (if - (i32.ge_u - (tee_local $6 - (i32.add - (i32.shr_s - (i32.shl - (i32.load8_s - (tee_local $1 - (i32.add - (get_local $1) - (i32.const 1) - ) - ) - ) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const -48) - ) - ) - (i32.const 10) - ) - (block - (set_local $10 - (get_local $5) - ) - (br $label$break$L46 - (get_local $1) - ) - ) - ) - (br $while-in$18) - ) - ) - ) - (if - (i32.lt_u - (tee_local $1 - (i32.add - (i32.shr_s - (i32.shl - (i32.load8_s - (tee_local $6 - (i32.add - (get_local $9) - (i32.const 2) - ) - ) - ) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const -48) - ) - ) - (i32.const 10) + (i32.const 10) ) (if (i32.eq (i32.shr_s (i32.shl - (i32.load8_s offset=3 + (i32.load8_s offset=2 (get_local $9) ) (i32.const 24) @@ -4006,33 +3620,65 @@ ) ) ) - (set_local $10 - (get_local $1) + (set_local $66 + (i32.const 1) ) - (br $label$break$L46 + (set_local $67 (i32.add (get_local $9) - (i32.const 4) + (i32.const 3) ) ) + (set_local $56 + (get_local $1) + ) ) + (set_local $12 + (i32.const 24) + ) + ) + (set_local $12 + (i32.const 24) ) ) (if - (i32.ne - (get_local $21) - (i32.const 0) + (i32.eq + (get_local $12) + (i32.const 24) ) (block - (set_local $24 - (i32.const -1) + (set_local $12 + (i32.const 0) + ) + (if + (i32.ne + (get_local $11) + (i32.const 0) + ) + (block + (set_local $24 + (i32.const -1) + ) + (br $label$break$L1) + ) + ) + (if + (i32.eqz + (get_local $44) + ) + (block + (set_local $9 + (get_local $6) + ) + (set_local $21 + (i32.const 0) + ) + (set_local $16 + (i32.const 0) + ) + (br $do-once$12) + ) ) - (br $label$break$L1) - ) - ) - (if - (get_local $44) - (block (set_local $5 (i32.load (tee_local $1 @@ -4055,131 +3701,489 @@ (i32.const 4) ) ) - (set_local $10 + (set_local $66 + (i32.const 0) + ) + (set_local $67 + (get_local $6) + ) + (set_local $56 (get_local $5) ) - (get_local $6) ) - (block - (set_local $10 + ) + (set_local $8 + (if + (i32.lt_s + (get_local $56) (i32.const 0) ) - (get_local $6) - ) - ) - ) - (block - (set_local $10 - (i32.const -1) - ) - (get_local $9) - ) - ) - ) - ) - (set_local $13 - (i32.const 0) - ) - (loop $while-out$19 $while-in$20 - (if - (i32.gt_u - (tee_local $1 - (i32.add - (i32.shr_s - (i32.shl - (i32.load8_s - (get_local $11) + (block + (set_local $9 + (get_local $67) + ) + (set_local $21 + (get_local $66) + ) + (set_local $16 + (i32.sub + (i32.const 0) + (get_local $56) + ) + ) + (i32.or + (get_local $8) + (i32.const 8192) ) - (i32.const 24) ) - (i32.const 24) + (block + (set_local $9 + (get_local $67) + ) + (set_local $21 + (get_local $66) + ) + (set_local $16 + (get_local $56) + ) + (get_local $8) + ) ) - (i32.const -65) ) ) - (i32.const 57) - ) - (block - (set_local $24 - (i32.const -1) - ) - (br $label$break$L1) - ) - ) - (set_local $9 - (i32.add - (get_local $11) - (i32.const 1) - ) - ) - (if - (i32.lt_u - (i32.add - (tee_local $5 - (i32.and - (tee_local $1 - (i32.load8_s - (i32.add - (i32.add - (i32.const 3611) - (i32.mul - (get_local $13) - (i32.const 58) - ) - ) + (if + (i32.lt_u + (tee_local $6 + (i32.add + (i32.shr_s + (i32.shl (get_local $1) + (i32.const 24) ) + (i32.const 24) ) + (i32.const -48) ) - (i32.const 255) ) + (i32.const 10) + ) + (block + (set_local $1 + (get_local $9) + ) + (set_local $5 + (i32.const 0) + ) + (loop $while-in$15 + (block $while-out$14 + (set_local $5 + (i32.add + (i32.mul + (get_local $5) + (i32.const 10) + ) + (get_local $6) + ) + ) + (if + (i32.ge_u + (tee_local $6 + (i32.add + (i32.shr_s + (i32.shl + (i32.load8_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) + ) + ) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const -48) + ) + ) + (i32.const 10) + ) + (br $while-out$14) + ) + (br $while-in$15) + ) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (block + (set_local $24 + (i32.const -1) + ) + (br $label$break$L1) + ) + (block + (set_local $9 + (get_local $1) + ) + (set_local $21 + (get_local $11) + ) + (set_local $16 + (get_local $5) + ) + ) + ) + ) + (block + (set_local $21 + (get_local $11) + ) + (set_local $16 + (i32.const 0) + ) + ) + ) + ) + ) + (set_local $11 + (block $label$break$L46 + (if + (i32.eq + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $9) + ) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const 46) + ) + (block + (if + (i32.ne + (i32.shr_s + (i32.shl + (tee_local $1 + (i32.load8_s + (tee_local $5 + (i32.add + (get_local $9) + (i32.const 1) + ) + ) + ) + ) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const 42) + ) + (block + (if + (i32.lt_u + (tee_local $6 + (i32.add + (i32.shr_s + (i32.shl + (get_local $1) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const -48) + ) + ) + (i32.const 10) + ) + (block + (set_local $1 + (get_local $5) + ) + (set_local $5 + (i32.const 0) + ) + ) + (block + (set_local $10 + (i32.const 0) + ) + (br $label$break$L46 + (get_local $5) + ) + ) + ) + (loop $while-in$18 + (set_local $5 + (i32.add + (i32.mul + (get_local $5) + (i32.const 10) + ) + (get_local $6) + ) + ) + (if + (i32.ge_u + (tee_local $6 + (i32.add + (i32.shr_s + (i32.shl + (i32.load8_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) + ) + ) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const -48) + ) + ) + (i32.const 10) + ) + (block + (set_local $10 + (get_local $5) + ) + (br $label$break$L46 + (get_local $1) + ) + ) + ) + (br $while-in$18) + ) + ) + ) + (if + (i32.lt_u + (tee_local $1 + (i32.add + (i32.shr_s + (i32.shl + (i32.load8_s + (tee_local $6 + (i32.add + (get_local $9) + (i32.const 2) + ) + ) + ) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const -48) + ) + ) + (i32.const 10) + ) + (if + (i32.eq + (i32.shr_s + (i32.shl + (i32.load8_s offset=3 + (get_local $9) + ) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const 36) + ) + (block + (i32.store + (i32.add + (get_local $4) + (i32.shl + (get_local $1) + (i32.const 2) + ) + ) + (i32.const 10) + ) + (set_local $1 + (i32.load + (i32.add + (get_local $3) + (i32.shl + (i32.add + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $6) + ) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const -48) + ) + (i32.const 3) + ) + ) + ) + ) + (set_local $10 + (get_local $1) + ) + (br $label$break$L46 + (i32.add + (get_local $9) + (i32.const 4) + ) + ) + ) + ) + ) + (if + (i32.ne + (get_local $21) + (i32.const 0) + ) + (block + (set_local $24 + (i32.const -1) + ) + (br $label$break$L1) + ) + ) + (if + (get_local $44) + (block + (set_local $5 + (i32.load + (tee_local $1 + (i32.and + (i32.add + (i32.load + (get_local $2) + ) + (i32.const 3) + ) + (i32.const -4) + ) + ) + ) + ) + (i32.store + (get_local $2) + (i32.add + (get_local $1) + (i32.const 4) + ) + ) + (set_local $10 + (get_local $5) + ) + (get_local $6) + ) + (block + (set_local $10 + (i32.const 0) + ) + (get_local $6) + ) + ) + ) + (block + (set_local $10 + (i32.const -1) + ) + (get_local $9) ) - (i32.const -1) - ) - (i32.const 8) - ) - (block - (set_local $11 - (get_local $9) - ) - (set_local $13 - (get_local $5) - ) - ) - (block - (set_local $6 - (get_local $5) - ) - (br $while-out$19) - ) - ) - (br $while-in$20) - ) - (if - (i32.eq - (i32.shr_s - (i32.shl - (get_local $1) - (i32.const 24) ) - (i32.const 24) ) + ) + (set_local $13 (i32.const 0) ) - (block - (set_local $24 - (i32.const -1) + (loop $while-in$20 + (block $while-out$19 + (if + (i32.gt_u + (tee_local $1 + (i32.add + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $11) + ) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const -65) + ) + ) + (i32.const 57) + ) + (block + (set_local $24 + (i32.const -1) + ) + (br $label$break$L1) + ) + ) + (set_local $9 + (i32.add + (get_local $11) + (i32.const 1) + ) + ) + (if + (i32.lt_u + (i32.add + (tee_local $5 + (i32.and + (tee_local $1 + (i32.load8_s + (i32.add + (i32.add + (i32.const 3611) + (i32.mul + (get_local $13) + (i32.const 58) + ) + ) + (get_local $1) + ) + ) + ) + (i32.const 255) + ) + ) + (i32.const -1) + ) + (i32.const 8) + ) + (block + (set_local $11 + (get_local $9) + ) + (set_local $13 + (get_local $5) + ) + ) + (block + (set_local $6 + (get_local $5) + ) + (br $while-out$19) + ) + ) + (br $while-in$20) ) - (br $label$break$L1) - ) - ) - (set_local $5 - (i32.gt_s - (get_local $7) - (i32.const -1) ) - ) - (block $do-once$21 (if (i32.eq (i32.shr_s @@ -4189,202 +4193,244 @@ ) (i32.const 24) ) - (i32.const 19) + (i32.const 0) + ) + (block + (set_local $24 + (i32.const -1) + ) + (br $label$break$L1) + ) + ) + (set_local $5 + (i32.gt_s + (get_local $7) + (i32.const -1) ) + ) + (block $do-once$21 (if - (get_local $5) - (block - (set_local $24 - (i32.const -1) + (i32.eq + (i32.shr_s + (i32.shl + (get_local $1) + (i32.const 24) + ) + (i32.const 24) ) - (br $label$break$L1) + (i32.const 19) ) - (set_local $12 - (i32.const 52) - ) - ) - (block (if (get_local $5) (block - (i32.store - (i32.add - (get_local $4) - (i32.shl - (get_local $7) - (i32.const 2) + (set_local $24 + (i32.const -1) + ) + (br $label$break$L1) + ) + (set_local $12 + (i32.const 52) + ) + ) + (block + (if + (get_local $5) + (block + (i32.store + (i32.add + (get_local $4) + (i32.shl + (get_local $7) + (i32.const 2) + ) ) + (get_local $6) ) - (get_local $6) - ) - (set_local $5 - (i32.load - (tee_local $1 - (i32.add - (get_local $3) - (i32.shl - (get_local $7) - (i32.const 3) + (set_local $5 + (i32.load + (tee_local $1 + (i32.add + (get_local $3) + (i32.shl + (get_local $7) + (i32.const 3) + ) ) ) ) ) - ) - (set_local $1 - (i32.load offset=4 + (set_local $1 + (i32.load offset=4 + (get_local $1) + ) + ) + (i32.store + (tee_local $7 + (get_local $19) + ) + (get_local $5) + ) + (i32.store offset=4 + (get_local $7) (get_local $1) ) - ) - (i32.store - (tee_local $7 - (get_local $19) + (set_local $12 + (i32.const 52) ) - (get_local $5) - ) - (i32.store offset=4 - (get_local $7) - (get_local $1) - ) - (set_local $12 - (i32.const 52) + (br $do-once$21) ) - (br $do-once$21) ) - ) - (if - (i32.eqz - (get_local $44) - ) - (block - (set_local $24 - (i32.const 0) + (if + (i32.eqz + (get_local $44) + ) + (block + (set_local $24 + (i32.const 0) + ) + (br $label$break$L1) ) - (br $label$break$L1) ) - ) - (call $_pop_arg_336 - (get_local $19) - (get_local $6) - (get_local $2) + (call $_pop_arg_336 + (get_local $19) + (get_local $6) + (get_local $2) + ) ) ) ) - ) - (if - (i32.eq - (get_local $12) - (i32.const 52) - ) - (block - (set_local $12 - (i32.const 0) + (if + (i32.eq + (get_local $12) + (i32.const 52) ) - (if - (i32.eqz - (get_local $44) + (block + (set_local $12 + (i32.const 0) ) - (block - (set_local $20 - (get_local $9) - ) - (set_local $1 - (get_local $17) + (if + (i32.eqz + (get_local $44) ) - (set_local $8 - (get_local $21) + (block + (set_local $20 + (get_local $9) + ) + (set_local $1 + (get_local $17) + ) + (set_local $8 + (get_local $21) + ) + (br $label$continue$L1) ) - (br $label$continue$L1) ) ) ) - ) - (set_local $5 - (i32.and - (i32.ne - (get_local $13) - (i32.const 0) - ) - (i32.eq - (i32.and - (tee_local $1 - (i32.shr_s - (i32.shl - (i32.load8_s - (get_local $11) + (set_local $5 + (i32.and + (i32.ne + (get_local $13) + (i32.const 0) + ) + (i32.eq + (i32.and + (tee_local $1 + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $11) + ) + (i32.const 24) ) (i32.const 24) ) - (i32.const 24) ) + (i32.const 15) ) - (i32.const 15) + (i32.const 3) ) - (i32.const 3) ) ) - ) - (set_local $18 - (select - (get_local $8) - (tee_local $7 - (i32.and - (get_local $8) - (i32.const -65537) + (set_local $18 + (select + (get_local $8) + (tee_local $7 + (i32.and + (get_local $8) + (i32.const -65537) + ) ) - ) - (i32.eq - (i32.and - (get_local $8) - (i32.const 8192) + (i32.eq + (i32.and + (get_local $8) + (i32.const 8192) + ) + (i32.const 0) ) - (i32.const 0) ) ) - ) - (block $switch$24 - (block $switch-default$127 - (block $switch-case$49 - (block $switch-case$48 - (block $switch-case$47 - (block $switch-case$46 - (block $switch-case$45 - (block $switch-case$44 - (block $switch-case$43 - (block $switch-case$41 - (block $switch-case$40 - (block $switch-case$36 - (block $switch-case$35 - (block $switch-case$34 - (br_table $switch-case$49 $switch-default$127 $switch-case$47 $switch-default$127 $switch-case$49 $switch-case$49 $switch-case$49 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$48 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$36 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$49 $switch-default$127 $switch-case$44 $switch-case$41 $switch-case$49 $switch-case$49 $switch-case$49 $switch-default$127 $switch-case$41 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$45 $switch-case$34 $switch-case$40 $switch-case$35 $switch-default$127 $switch-default$127 $switch-case$46 $switch-default$127 $switch-case$43 $switch-default$127 $switch-default$127 $switch-case$36 $switch-default$127 - (i32.sub - (tee_local $26 - (select - (i32.and + (block $switch$24 + (block $switch-default$127 + (block $switch-case$49 + (block $switch-case$48 + (block $switch-case$47 + (block $switch-case$46 + (block $switch-case$45 + (block $switch-case$44 + (block $switch-case$43 + (block $switch-case$41 + (block $switch-case$40 + (block $switch-case$36 + (block $switch-case$35 + (block $switch-case$34 + (br_table $switch-case$49 $switch-default$127 $switch-case$47 $switch-default$127 $switch-case$49 $switch-case$49 $switch-case$49 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$48 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$36 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$49 $switch-default$127 $switch-case$44 $switch-case$41 $switch-case$49 $switch-case$49 $switch-case$49 $switch-default$127 $switch-case$41 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$45 $switch-case$34 $switch-case$40 $switch-case$35 $switch-default$127 $switch-default$127 $switch-case$46 $switch-default$127 $switch-case$43 $switch-default$127 $switch-default$127 $switch-case$36 $switch-default$127 + (i32.sub + (tee_local $26 + (select + (i32.and + (get_local $1) + (i32.const -33) + ) (get_local $1) - (i32.const -33) + (get_local $5) ) - (get_local $1) - (get_local $5) ) + (i32.const 65) ) - (i32.const 65) ) ) - ) - (block $switch-default$33 - (block $switch-case$32 - (block $switch-case$31 - (block $switch-case$30 - (block $switch-case$29 - (block $switch-case$28 - (block $switch-case$27 - (block $switch-case$26 - (br_table $switch-case$26 $switch-case$27 $switch-case$28 $switch-case$29 $switch-case$30 $switch-default$33 $switch-case$31 $switch-case$32 $switch-default$33 - (i32.sub - (get_local $13) - (i32.const 0) + (block $switch-default$33 + (block $switch-case$32 + (block $switch-case$31 + (block $switch-case$30 + (block $switch-case$29 + (block $switch-case$28 + (block $switch-case$27 + (block $switch-case$26 + (br_table $switch-case$26 $switch-case$27 $switch-case$28 $switch-case$29 $switch-case$30 $switch-default$33 $switch-case$31 $switch-case$32 $switch-default$33 + (i32.sub + (get_local $13) + (i32.const 0) + ) ) ) + (i32.store + (i32.load + (get_local $19) + ) + (get_local $22) + ) + (set_local $20 + (get_local $9) + ) + (set_local $1 + (get_local $17) + ) + (set_local $8 + (get_local $21) + ) + (br $label$continue$L1) ) (i32.store (i32.load @@ -4404,11 +4450,26 @@ (br $label$continue$L1) ) (i32.store - (i32.load - (get_local $19) + (tee_local $1 + (i32.load + (get_local $19) + ) ) (get_local $22) ) + (i32.store offset=4 + (get_local $1) + (i32.shr_s + (i32.shl + (i32.lt_s + (get_local $22) + (i32.const 0) + ) + (i32.const 31) + ) + (i32.const 31) + ) + ) (set_local $20 (get_local $9) ) @@ -4420,25 +4481,13 @@ ) (br $label$continue$L1) ) - (i32.store - (tee_local $1 - (i32.load - (get_local $19) - ) + (i32.store16 + (i32.load + (get_local $19) ) - (get_local $22) - ) - (i32.store offset=4 - (get_local $1) - (i32.shr_s - (i32.shl - (i32.lt_s - (get_local $22) - (i32.const 0) - ) - (i32.const 31) - ) - (i32.const 31) + (i32.and + (get_local $22) + (i32.const 65535) ) ) (set_local $20 @@ -4452,13 +4501,13 @@ ) (br $label$continue$L1) ) - (i32.store16 + (i32.store8 (i32.load (get_local $19) ) (i32.and (get_local $22) - (i32.const 65535) + (i32.const 255) ) ) (set_local $20 @@ -4472,14 +4521,11 @@ ) (br $label$continue$L1) ) - (i32.store8 + (i32.store (i32.load (get_local $19) ) - (i32.and - (get_local $22) - (i32.const 255) - ) + (get_local $22) ) (set_local $20 (get_local $9) @@ -4493,11 +4539,26 @@ (br $label$continue$L1) ) (i32.store - (i32.load - (get_local $19) + (tee_local $1 + (i32.load + (get_local $19) + ) ) (get_local $22) ) + (i32.store offset=4 + (get_local $1) + (i32.shr_s + (i32.shl + (i32.lt_s + (get_local $22) + (i32.const 0) + ) + (i32.const 31) + ) + (i32.const 31) + ) + ) (set_local $20 (get_local $9) ) @@ -4509,27 +4570,6 @@ ) (br $label$continue$L1) ) - (i32.store - (tee_local $1 - (i32.load - (get_local $19) - ) - ) - (get_local $22) - ) - (i32.store offset=4 - (get_local $1) - (i32.shr_s - (i32.shl - (i32.lt_s - (get_local $22) - (i32.const 0) - ) - (i32.const 31) - ) - (i32.const 31) - ) - ) (set_local $20 (get_local $9) ) @@ -4541,372 +4581,385 @@ ) (br $label$continue$L1) ) - (set_local $20 - (get_local $9) + (set_local $46 + (i32.or + (get_local $18) + (i32.const 8) + ) ) - (set_local $1 - (get_local $17) + (set_local $57 + (select + (get_local $10) + (i32.const 8) + (i32.gt_u + (get_local $10) + (i32.const 8) + ) + ) ) - (set_local $8 - (get_local $21) + (set_local $68 + (i32.const 120) + ) + (set_local $12 + (i32.const 64) ) - (br $label$continue$L1) + (br $switch$24) ) (set_local $46 - (i32.or - (get_local $18) - (i32.const 8) - ) + (get_local $18) ) (set_local $57 - (select - (get_local $10) - (i32.const 8) - (i32.gt_u - (get_local $10) - (i32.const 8) - ) - ) + (get_local $10) ) (set_local $68 - (i32.const 120) + (get_local $26) ) (set_local $12 (i32.const 64) ) (br $switch$24) ) - (set_local $46 - (get_local $18) - ) - (set_local $57 - (get_local $10) - ) - (set_local $68 - (get_local $26) - ) - (set_local $12 - (i32.const 64) - ) - (br $switch$24) - ) - (if - (i32.and - (i32.eq - (tee_local $5 - (i32.load - (tee_local $1 - (get_local $19) - ) - ) - ) - (i32.const 0) - ) - (i32.eq - (tee_local $1 - (i32.load offset=4 - (get_local $1) - ) - ) - (i32.const 0) - ) - ) - (set_local $6 - (get_local $28) - ) - (block - (set_local $6 - (get_local $28) - ) - (loop $while-out$38 $while-in$39 - (i32.store8 - (tee_local $6 - (i32.add - (get_local $6) - (i32.const -1) + (if + (i32.and + (i32.eq + (tee_local $5 + (i32.load + (tee_local $1 + (get_local $19) + ) ) ) - (i32.and - (i32.or - (i32.and - (get_local $5) - (i32.const 7) - ) - (i32.const 48) + (i32.const 0) + ) + (i32.eq + (tee_local $1 + (i32.load offset=4 + (get_local $1) ) - (i32.const 255) ) + (i32.const 0) ) - (if - (i32.and - (i32.eq - (tee_local $5 - (call $_bitshift64Lshr - (get_local $5) - (get_local $1) - (i32.const 3) + ) + (set_local $6 + (get_local $28) + ) + (block + (set_local $6 + (get_local $28) + ) + (loop $while-in$39 + (block $while-out$38 + (i32.store8 + (tee_local $6 + (i32.add + (get_local $6) + (i32.const -1) ) ) - (i32.const 0) + (i32.and + (i32.or + (i32.and + (get_local $5) + (i32.const 7) + ) + (i32.const 48) + ) + (i32.const 255) + ) ) - (i32.eq - (tee_local $1 - (i32.load - (i32.const 168) + (if + (i32.and + (i32.eq + (tee_local $5 + (call $_bitshift64Lshr + (get_local $5) + (get_local $1) + (i32.const 3) + ) + ) + (i32.const 0) + ) + (i32.eq + (tee_local $1 + (i32.load + (i32.const 168) + ) + ) + (i32.const 0) ) ) - (i32.const 0) + (br $while-out$38) ) + (br $while-in$39) ) - (br $while-out$38) ) - (br $while-in$39) ) ) - ) - (set_local $58 - (if - (i32.eq - (i32.and - (get_local $18) - (i32.const 8) - ) - (i32.const 0) - ) - (block - (set_local $34 - (get_local $18) - ) - (set_local $32 - (get_local $10) - ) - (set_local $35 + (set_local $58 + (if + (i32.eq + (i32.and + (get_local $18) + (i32.const 8) + ) (i32.const 0) ) - (set_local $36 - (i32.const 4091) - ) - (set_local $12 - (i32.const 77) - ) - (get_local $6) - ) - (block - (set_local $5 - (i32.lt_s + (block + (set_local $34 + (get_local $18) + ) + (set_local $32 (get_local $10) - (tee_local $1 - (i32.add - (i32.sub - (get_local $71) - (get_local $6) + ) + (set_local $35 + (i32.const 0) + ) + (set_local $36 + (i32.const 4091) + ) + (set_local $12 + (i32.const 77) + ) + (get_local $6) + ) + (block + (set_local $5 + (i32.lt_s + (get_local $10) + (tee_local $1 + (i32.add + (i32.sub + (get_local $71) + (get_local $6) + ) + (i32.const 1) ) - (i32.const 1) ) ) ) - ) - (set_local $34 - (get_local $18) - ) - (set_local $32 - (select - (get_local $1) - (get_local $10) - (get_local $5) + (set_local $34 + (get_local $18) ) + (set_local $32 + (select + (get_local $1) + (get_local $10) + (get_local $5) + ) + ) + (set_local $35 + (i32.const 0) + ) + (set_local $36 + (i32.const 4091) + ) + (set_local $12 + (i32.const 77) + ) + (get_local $6) ) - (set_local $35 - (i32.const 0) - ) - (set_local $36 - (i32.const 4091) - ) - (set_local $12 - (i32.const 77) - ) - (get_local $6) - ) - ) - ) - (br $switch$24) - ) - (set_local $5 - (i32.load - (tee_local $1 - (get_local $19) - ) - ) - ) - (if - (i32.lt_s - (tee_local $33 - (i32.load offset=4 - (get_local $1) ) ) - (i32.const 0) + (br $switch$24) ) - (block - (set_local $1 - (call $_i64Subtract - (i32.const 0) - (i32.const 0) - (get_local $5) - (get_local $33) - ) - ) - (set_local $5 - (i32.load - (i32.const 168) - ) - ) - (i32.store - (tee_local $33 + (set_local $5 + (i32.load + (tee_local $1 (get_local $19) ) - (get_local $1) - ) - (i32.store offset=4 - (get_local $33) - (get_local $5) - ) - (set_local $33 - (get_local $1) - ) - (set_local $59 - (get_local $5) - ) - (set_local $60 - (i32.const 1) - ) - (set_local $61 - (i32.const 4091) ) - (set_local $12 - (i32.const 76) - ) - (br $switch$24) ) - ) - (set_local $33 (if - (i32.eq - (i32.and - (get_local $18) - (i32.const 2048) + (i32.lt_s + (tee_local $33 + (i32.load offset=4 + (get_local $1) + ) ) (i32.const 0) ) (block (set_local $1 - (select - (i32.const 4091) - (i32.const 4093) - (i32.eq - (tee_local $6 - (i32.and - (get_local $18) - (i32.const 1) - ) - ) - (i32.const 0) - ) + (call $_i64Subtract + (i32.const 0) + (i32.const 0) + (get_local $5) + (get_local $33) ) ) - (set_local $59 + (set_local $5 + (i32.load + (i32.const 168) + ) + ) + (i32.store + (tee_local $33 + (get_local $19) + ) + (get_local $1) + ) + (i32.store offset=4 (get_local $33) + (get_local $5) + ) + (set_local $33 + (get_local $1) + ) + (set_local $59 + (get_local $5) ) (set_local $60 - (get_local $6) + (i32.const 1) ) (set_local $61 - (get_local $1) + (i32.const 4091) + ) + (set_local $12 + (i32.const 76) + ) + (br $switch$24) + ) + ) + (set_local $33 + (if + (i32.eq + (i32.and + (get_local $18) + (i32.const 2048) + ) + (i32.const 0) + ) + (block + (set_local $1 + (select + (i32.const 4091) + (i32.const 4093) + (i32.eq + (tee_local $6 + (i32.and + (get_local $18) + (i32.const 1) + ) + ) + (i32.const 0) + ) + ) + ) + (set_local $59 + (get_local $33) + ) + (set_local $60 + (get_local $6) + ) + (set_local $61 + (get_local $1) + ) + (set_local $12 + (i32.const 76) + ) + (get_local $5) ) - (set_local $12 - (i32.const 76) + (block + (set_local $59 + (get_local $33) + ) + (set_local $60 + (i32.const 1) + ) + (set_local $61 + (i32.const 4092) + ) + (set_local $12 + (i32.const 76) + ) + (get_local $5) ) - (get_local $5) ) - (block - (set_local $59 - (get_local $33) - ) - (set_local $60 - (i32.const 1) - ) - (set_local $61 - (i32.const 4092) - ) - (set_local $12 - (i32.const 76) - ) - (get_local $5) + ) + (br $switch$24) + ) + (set_local $33 + (i32.load + (tee_local $1 + (get_local $19) ) ) ) + (set_local $59 + (i32.load offset=4 + (get_local $1) + ) + ) + (set_local $60 + (i32.const 0) + ) + (set_local $61 + (i32.const 4091) + ) + (set_local $12 + (i32.const 76) + ) (br $switch$24) ) - (set_local $33 + (set_local $1 (i32.load - (tee_local $1 - (get_local $19) - ) + (get_local $19) ) ) - (set_local $59 - (i32.load offset=4 + (i32.store8 + (get_local $72) + (i32.and (get_local $1) + (i32.const 255) ) ) - (set_local $60 + (set_local $47 + (get_local $72) + ) + (set_local $37 + (get_local $7) + ) + (set_local $42 + (i32.const 1) + ) + (set_local $43 (i32.const 0) ) - (set_local $61 + (set_local $48 (i32.const 4091) ) - (set_local $12 - (i32.const 76) + (set_local $49 + (get_local $28) ) (br $switch$24) ) - (set_local $1 - (i32.load - (get_local $19) - ) - ) - (i32.store8 - (get_local $72) - (i32.and - (get_local $1) - (i32.const 255) + (set_local $50 + (call $_strerror + (i32.load + (call $___errno_location) + ) ) ) - (set_local $47 - (get_local $72) - ) - (set_local $37 - (get_local $7) - ) - (set_local $42 - (i32.const 1) + (set_local $12 + (i32.const 82) ) - (set_local $43 + (br $switch$24) + ) + (set_local $5 + (i32.ne + (tee_local $1 + (i32.load + (get_local $19) + ) + ) (i32.const 0) ) - (set_local $48 - (i32.const 4091) - ) - (set_local $49 - (get_local $28) - ) - (br $switch$24) ) (set_local $50 - (call $_strerror - (i32.load - (call $___errno_location) - ) + (select + (get_local $1) + (i32.const 4101) + (get_local $5) ) ) (set_local $12 @@ -4914,1063 +4967,1091 @@ ) (br $switch$24) ) - (set_local $5 - (i32.ne - (tee_local $1 - (i32.load - (get_local $19) - ) - ) - (i32.const 0) + (set_local $1 + (i32.load + (get_local $19) ) ) - (set_local $50 - (select - (get_local $1) - (i32.const 4101) - (get_local $5) - ) + (i32.store + (get_local $73) + (get_local $1) ) - (set_local $12 - (i32.const 82) + (i32.store + (get_local $76) + (i32.const 0) ) - (br $switch$24) - ) - (set_local $1 - (i32.load + (i32.store (get_local $19) + (get_local $73) ) - ) - (i32.store - (get_local $73) - (get_local $1) - ) - (i32.store - (get_local $76) - (i32.const 0) - ) - (i32.store - (get_local $19) - (get_local $73) - ) - (set_local $69 - (i32.const -1) + (set_local $69 + (i32.const -1) + ) + (set_local $12 + (i32.const 86) + ) + (br $switch$24) ) (set_local $12 - (i32.const 86) - ) - (br $switch$24) - ) - (set_local $12 - (if - (i32.eq - (get_local $10) - (i32.const 0) - ) - (block - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $16) + (if + (i32.eq + (get_local $10) (i32.const 0) - (get_local $18) ) - (set_local $38 - (i32.const 0) + (block + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $16) + (i32.const 0) + (get_local $18) + ) + (set_local $38 + (i32.const 0) + ) + (i32.const 98) ) - (i32.const 98) - ) - (block - (set_local $69 - (get_local $10) + (block + (set_local $69 + (get_local $10) + ) + (i32.const 86) ) - (i32.const 86) ) ) + (br $switch$24) ) - (br $switch$24) - ) - (set_local $14 - (f64.load - (get_local $19) + (set_local $14 + (f64.load + (get_local $19) + ) ) - ) - (i32.store - (get_local $25) - (i32.const 0) - ) - (f64.store - (i32.load - (i32.const 24) + (i32.store + (get_local $25) + (i32.const 0) ) - (get_local $14) - ) - (set_local $51 - (if - (i32.lt_s - (i32.load offset=4 - (i32.load - (i32.const 24) - ) - ) - (i32.const 0) - ) - (block - (set_local $39 - (i32.const 4108) - ) - (set_local $14 - (f64.neg - (get_local $14) - ) - ) - (i32.const 1) + (f64.store + (i32.load + (i32.const 24) ) + (get_local $14) + ) + (set_local $51 (if - (i32.eq - (i32.and - (get_local $18) - (i32.const 2048) - ) - (i32.const 0) - ) - (block - (set_local $39 - (select - (i32.const 4109) - (i32.const 4114) - (i32.eq - (tee_local $1 - (i32.and - (get_local $18) - (i32.const 1) - ) - ) - (i32.const 0) - ) + (i32.lt_s + (i32.load offset=4 + (i32.load + (i32.const 24) ) ) - (get_local $1) - ) - (block - (set_local $39 - (i32.const 4111) - ) - (i32.const 1) - ) - ) - ) - ) - (f64.store - (i32.load - (i32.const 24) - ) - (get_local $14) - ) - (set_local $20 - (get_local $9) - ) - (set_local $1 - (block $do-once$56 - (if - (i32.or - (i32.lt_u - (tee_local $1 - (i32.and - (i32.load offset=4 - (i32.load - (i32.const 24) + (i32.const 0) + ) + (block + (set_local $39 + (i32.const 4108) + ) + (set_local $14 + (f64.neg + (get_local $14) + ) + ) + (i32.const 1) + ) + (if + (i32.eq + (i32.and + (get_local $18) + (i32.const 2048) + ) + (i32.const 0) + ) + (block + (set_local $39 + (select + (i32.const 4109) + (i32.const 4114) + (i32.eq + (tee_local $1 + (i32.and + (get_local $18) + (i32.const 1) + ) ) + (i32.const 0) ) - (i32.const 2146435072) ) ) - (i32.const 2146435072) + (get_local $1) ) - (i32.and - (i32.eq - (get_local $1) - (i32.const 2146435072) + (block + (set_local $39 + (i32.const 4111) ) - (i32.const 0) + (i32.const 1) ) ) - (block - (if - (tee_local $5 - (f64.ne - (tee_local $14 - (f64.mul - (call $_frexpl - (get_local $14) - (get_local $25) + ) + ) + (f64.store + (i32.load + (i32.const 24) + ) + (get_local $14) + ) + (set_local $20 + (get_local $9) + ) + (set_local $1 + (block $do-once$56 + (if + (i32.or + (i32.lt_u + (tee_local $1 + (i32.and + (i32.load offset=4 + (i32.load + (i32.const 24) ) - (f64.const 2) ) + (i32.const 2146435072) ) - (f64.const 0) ) + (i32.const 2146435072) ) - (i32.store - (get_local $25) - (i32.add - (i32.load - (get_local $25) - ) - (i32.const -1) + (i32.and + (i32.eq + (get_local $1) + (i32.const 2146435072) ) + (i32.const 0) ) ) - (if - (i32.eq - (tee_local $15 - (i32.or - (get_local $26) - (i32.const 32) - ) - ) - (i32.const 97) - ) - (block - (set_local $9 - (select - (get_local $39) - (i32.add - (get_local $39) - (i32.const 9) - ) - (i32.eq - (tee_local $6 - (i32.and - (get_local $26) - (i32.const 32) + (block + (if + (tee_local $5 + (f64.ne + (tee_local $14 + (f64.mul + (call $_frexpl + (get_local $14) + (get_local $25) ) + (f64.const 2) ) - (i32.const 0) ) + (f64.const 0) ) ) - (set_local $7 - (i32.or - (get_local $51) - (i32.const 2) + (i32.store + (get_local $25) + (i32.add + (i32.load + (get_local $25) + ) + (i32.const -1) ) ) - (set_local $14 - (if + ) + (if + (i32.eq + (tee_local $15 (i32.or - (i32.gt_u - (get_local $10) - (i32.const 11) + (get_local $26) + (i32.const 32) + ) + ) + (i32.const 97) + ) + (block + (set_local $9 + (select + (get_local $39) + (i32.add + (get_local $39) + (i32.const 9) ) (i32.eq - (tee_local $1 - (i32.sub - (i32.const 12) - (get_local $10) + (tee_local $6 + (i32.and + (get_local $26) + (i32.const 32) ) ) (i32.const 0) ) ) - (get_local $14) - (block - (set_local $30 - (f64.const 8) - ) - (loop $while-out$60 $while-in$61 - (set_local $30 - (f64.mul - (get_local $30) - (f64.const 16) - ) + ) + (set_local $7 + (i32.or + (get_local $51) + (i32.const 2) + ) + ) + (set_local $14 + (if + (i32.or + (i32.gt_u + (get_local $10) + (i32.const 11) ) - (if - (i32.eq - (tee_local $1 - (i32.add - (get_local $1) - (i32.const -1) - ) + (i32.eq + (tee_local $1 + (i32.sub + (i32.const 12) + (get_local $10) ) - (i32.const 0) ) - (br $while-out$60) + (i32.const 0) ) - (br $while-in$61) ) - (select - (f64.neg - (f64.add - (get_local $30) - (f64.sub - (f64.neg - (get_local $14) + (get_local $14) + (block + (set_local $30 + (f64.const 8) + ) + (loop $while-in$61 + (block $while-out$60 + (set_local $30 + (f64.mul + (get_local $30) + (f64.const 16) ) - (get_local $30) ) + (if + (i32.eq + (tee_local $1 + (i32.add + (get_local $1) + (i32.const -1) + ) + ) + (i32.const 0) + ) + (br $while-out$60) + ) + (br $while-in$61) ) ) - (f64.sub - (f64.add - (get_local $14) + (select + (f64.neg + (f64.add + (get_local $30) + (f64.sub + (f64.neg + (get_local $14) + ) + (get_local $30) + ) + ) + ) + (f64.sub + (f64.add + (get_local $14) + (get_local $30) + ) (get_local $30) ) - (get_local $30) - ) - (i32.eq - (i32.shr_s - (i32.shl - (i32.load8_s - (get_local $9) + (i32.eq + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $9) + ) + (i32.const 24) ) (i32.const 24) ) - (i32.const 24) + (i32.const 45) ) - (i32.const 45) ) ) ) ) - ) - (set_local $5 - (i32.lt_s - (tee_local $1 - (i32.load - (get_local $25) + (set_local $5 + (i32.lt_s + (tee_local $1 + (i32.load + (get_local $25) + ) ) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $5 - (i32.shr_s - (i32.shl - (i32.lt_s - (tee_local $8 - (select - (i32.sub - (i32.const 0) + (set_local $5 + (i32.shr_s + (i32.shl + (i32.lt_s + (tee_local $8 + (select + (i32.sub + (i32.const 0) + (get_local $1) + ) (get_local $1) + (get_local $5) ) - (get_local $1) - (get_local $5) ) + (i32.const 0) ) - (i32.const 0) + (i32.const 31) ) (i32.const 31) ) - (i32.const 31) ) - ) - (i32.store8 - (i32.add - (tee_local $5 - (if - (i32.eq - (tee_local $5 - (call $_fmt_u - (get_local $8) - (get_local $5) - (get_local $52) + (i32.store8 + (i32.add + (tee_local $5 + (if + (i32.eq + (tee_local $5 + (call $_fmt_u + (get_local $8) + (get_local $5) + (get_local $52) + ) ) + (get_local $52) ) - (get_local $52) - ) - (block - (i32.store8 + (block + (i32.store8 + (get_local $74) + (i32.const 48) + ) (get_local $74) - (i32.const 48) ) - (get_local $74) + (get_local $5) ) - (get_local $5) ) + (i32.const -1) ) - (i32.const -1) - ) - (i32.and - (i32.add - (i32.and - (i32.shr_s - (get_local $1) - (i32.const 31) + (i32.and + (i32.add + (i32.and + (i32.shr_s + (get_local $1) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) + (i32.const 43) ) - (i32.const 43) + (i32.const 255) ) - (i32.const 255) ) - ) - (i32.store8 - (tee_local $8 - (i32.add - (get_local $5) - (i32.const -2) + (i32.store8 + (tee_local $8 + (i32.add + (get_local $5) + (i32.const -2) + ) ) - ) - (i32.and - (i32.add - (get_local $26) - (i32.const 15) + (i32.and + (i32.add + (get_local $26) + (i32.const 15) + ) + (i32.const 255) ) - (i32.const 255) ) - ) - (set_local $5 - (i32.lt_s - (get_local $10) - (i32.const 1) + (set_local $5 + (i32.lt_s + (get_local $10) + (i32.const 1) + ) ) - ) - (set_local $13 - (i32.eq - (i32.and - (get_local $18) - (i32.const 8) + (set_local $13 + (i32.eq + (i32.and + (get_local $18) + (i32.const 8) + ) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $11 - (get_local $29) - ) - (loop $while-out$62 $while-in$63 - (i32.store8 - (get_local $11) - (i32.and - (i32.or + (set_local $11 + (get_local $29) + ) + (loop $while-in$63 + (block $while-out$62 + (i32.store8 + (get_local $11) (i32.and - (i32.load8_s - (i32.add - (tee_local $1 - (call_import $f64-to-int - (get_local $14) + (i32.or + (i32.and + (i32.load8_s + (i32.add + (tee_local $1 + (call_import $f64-to-int + (get_local $14) + ) + ) + (i32.const 4075) ) ) - (i32.const 4075) + (i32.const 255) ) + (get_local $6) ) (i32.const 255) ) - (get_local $6) ) - (i32.const 255) - ) - ) - (set_local $14 - (f64.mul - (f64.sub - (get_local $14) - (f64.convert_s/i32 - (get_local $1) + (set_local $14 + (f64.mul + (f64.sub + (get_local $14) + (f64.convert_s/i32 + (get_local $1) + ) + ) + (f64.const 16) ) ) - (f64.const 16) - ) - ) - (set_local $11 - (block $do-once$64 - (if - (i32.eq - (i32.sub - (tee_local $1 - (i32.add - (get_local $11) - (i32.const 1) + (set_local $11 + (block $do-once$64 + (if + (i32.eq + (i32.sub + (tee_local $1 + (i32.add + (get_local $11) + (i32.const 1) + ) + ) + (get_local $64) ) + (i32.const 1) ) - (get_local $64) - ) - (i32.const 1) - ) - (block - (br_if $do-once$64 - (get_local $1) - (i32.and - (get_local $13) - (i32.and - (get_local $5) - (f64.eq - (get_local $14) - (f64.const 0) + (block + (br_if $do-once$64 + (get_local $1) + (i32.and + (get_local $13) + (i32.and + (get_local $5) + (f64.eq + (get_local $14) + (f64.const 0) + ) + ) ) ) + (i32.store8 + (get_local $1) + (i32.const 46) + ) + (i32.add + (get_local $11) + (i32.const 2) + ) ) - ) - (i32.store8 (get_local $1) - (i32.const 46) ) - (i32.add + ) + ) + (if + (f64.eq + (get_local $14) + (f64.const 0) + ) + (block + (set_local $1 (get_local $11) - (i32.const 2) ) + (br $while-out$62) ) - (get_local $1) ) + (br $while-in$63) ) ) - (if - (f64.eq - (get_local $14) - (f64.const 0) - ) - (block - (set_local $1 - (get_local $11) + (set_local $5 + (i32.and + (i32.ne + (get_local $10) + (i32.const 0) ) - (br $while-out$62) - ) - ) - (br $while-in$63) - ) - (set_local $5 - (i32.and - (i32.ne - (get_local $10) - (i32.const 0) - ) - (i32.lt_s - (i32.add - (get_local $78) - (get_local $1) + (i32.lt_s + (i32.add + (get_local $78) + (get_local $1) + ) + (get_local $10) ) - (get_local $10) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $16) - (tee_local $5 - (i32.add - (tee_local $6 - (select - (i32.sub - (i32.add - (get_local $79) - (get_local $10) - ) - (get_local $8) - ) - (i32.add + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $16) + (tee_local $5 + (i32.add + (tee_local $6 + (select (i32.sub - (get_local $77) + (i32.add + (get_local $79) + (get_local $10) + ) (get_local $8) ) - (get_local $1) + (i32.add + (i32.sub + (get_local $77) + (get_local $8) + ) + (get_local $1) + ) + (get_local $5) ) - (get_local $5) ) + (get_local $7) ) - (get_local $7) - ) - ) - (get_local $18) - ) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) - ) - (i32.const 32) ) - (i32.const 0) - ) - (call $___fwritex - (get_local $9) - (get_local $7) - (get_local $0) - ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (get_local $16) - (get_local $5) - (i32.xor (get_local $18) - (i32.const 65536) - ) - ) - (set_local $1 - (i32.sub - (get_local $1) - (get_local $64) ) - ) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) + (i32.const 0) + ) + (call $___fwritex + (get_local $9) + (get_local $7) + (get_local $0) ) - (i32.const 0) ) - (call $___fwritex - (get_local $29) - (get_local $1) + (call $_pad (get_local $0) + (i32.const 48) + (get_local $16) + (get_local $5) + (i32.xor + (get_local $18) + (i32.const 65536) + ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (i32.sub - (get_local $6) - (i32.add + (set_local $1 + (i32.sub (get_local $1) - (tee_local $1 - (i32.sub - (get_local $40) - (get_local $8) + (get_local $64) + ) + ) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) ) + (i32.const 32) ) + (i32.const 0) + ) + (call $___fwritex + (get_local $29) + (get_local $1) + (get_local $0) ) ) - (i32.const 0) - (i32.const 0) - ) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) + (call $_pad + (get_local $0) + (i32.const 48) + (i32.sub + (get_local $6) + (i32.add + (get_local $1) + (tee_local $1 + (i32.sub + (get_local $40) + (get_local $8) + ) + ) ) - (i32.const 32) ) (i32.const 0) + (i32.const 0) ) - (call $___fwritex - (get_local $8) - (get_local $1) - (get_local $0) - ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $16) - (get_local $5) - (i32.xor - (get_local $18) - (i32.const 8192) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + (i32.const 0) + ) + (call $___fwritex + (get_local $8) + (get_local $1) + (get_local $0) + ) ) - ) - (br $do-once$56 - (select + (call $_pad + (get_local $0) + (i32.const 32) (get_local $16) (get_local $5) - (i32.lt_s - (get_local $5) + (i32.xor + (get_local $18) + (i32.const 8192) + ) + ) + (br $do-once$56 + (select (get_local $16) + (get_local $5) + (i32.lt_s + (get_local $5) + (get_local $16) + ) ) ) ) ) - ) - (set_local $1 - (select - (i32.const 6) - (get_local $10) - (i32.lt_s + (set_local $1 + (select + (i32.const 6) (get_local $10) - (i32.const 0) + (i32.lt_s + (get_local $10) + (i32.const 0) + ) ) ) - ) - (set_local $62 - (tee_local $9 - (select - (get_local $80) - (get_local $81) - (i32.lt_s - (if - (get_local $5) - (block - (i32.store - (get_local $25) - (tee_local $5 - (i32.add - (i32.load - (get_local $25) + (set_local $62 + (tee_local $9 + (select + (get_local $80) + (get_local $81) + (i32.lt_s + (if + (get_local $5) + (block + (i32.store + (get_local $25) + (tee_local $5 + (i32.add + (i32.load + (get_local $25) + ) + (i32.const -28) ) - (i32.const -28) ) ) - ) - (set_local $14 - (f64.mul - (get_local $14) - (f64.const 268435456) + (set_local $14 + (f64.mul + (get_local $14) + (f64.const 268435456) + ) ) + (get_local $5) + ) + (i32.load + (get_local $25) ) - (get_local $5) - ) - (i32.load - (get_local $25) ) + (i32.const 0) ) - (i32.const 0) - ) - ) - ) - ) - (set_local $7 - (get_local $9) - ) - (loop $while-out$66 $while-in$67 - (i32.store - (get_local $7) - (tee_local $5 - (call_import $f64-to-int - (get_local $14) ) ) ) (set_local $7 - (i32.add - (get_local $7) - (i32.const 4) - ) + (get_local $9) ) - (if - (f64.eq - (tee_local $14 - (f64.mul - (f64.sub + (loop $while-in$67 + (block $while-out$66 + (i32.store + (get_local $7) + (tee_local $5 + (call_import $f64-to-int (get_local $14) - (f64.convert_u/i32 - (get_local $5) - ) ) - (f64.const 1e9) ) ) - (f64.const 0) - ) - (block - (set_local $6 - (get_local $7) - ) - (br $while-out$66) - ) - ) - (br $while-in$67) - ) - (if - (i32.gt_s - (tee_local $5 - (i32.load - (get_local $25) + (set_local $7 + (i32.add + (get_local $7) + (i32.const 4) + ) ) - ) - (i32.const 0) - ) - (block - (set_local $8 - (get_local $9) - ) - (set_local $13 - (get_local $6) - ) - (loop $while-out$68 $while-in$69 - (set_local $11 - (select - (i32.const 29) - (get_local $5) - (i32.gt_s - (get_local $5) - (i32.const 29) + (if + (f64.eq + (tee_local $14 + (f64.mul + (f64.sub + (get_local $14) + (f64.convert_u/i32 + (get_local $5) + ) + ) + (f64.const 1e9) + ) ) + (f64.const 0) + ) + (block + (set_local $6 + (get_local $7) + ) + (br $while-out$66) + ) + ) + (br $while-in$67) + ) + ) + (if + (i32.gt_s + (tee_local $5 + (i32.load + (get_local $25) ) ) - (set_local $7 - (block $do-once$70 - (if - (i32.lt_u - (tee_local $7 - (i32.add - (get_local $13) - (i32.const -4) - ) + (i32.const 0) + ) + (block + (set_local $8 + (get_local $9) + ) + (set_local $13 + (get_local $6) + ) + (loop $while-in$69 + (block $while-out$68 + (set_local $11 + (select + (i32.const 29) + (get_local $5) + (i32.gt_s + (get_local $5) + (i32.const 29) ) - (get_local $8) ) - (get_local $8) - (block - (set_local $5 - (i32.const 0) - ) - (set_local $10 - (get_local $7) - ) - (loop $while-out$72 $while-in$73 - (set_local $6 - (call $___uremdi3 - (tee_local $5 - (call $_i64Add - (call $_bitshift64Shl - (i32.load - (get_local $10) + ) + (set_local $7 + (block $do-once$70 + (if + (i32.lt_u + (tee_local $7 + (i32.add + (get_local $13) + (i32.const -4) + ) + ) + (get_local $8) + ) + (get_local $8) + (block + (set_local $5 + (i32.const 0) + ) + (set_local $10 + (get_local $7) + ) + (loop $while-in$73 + (block $while-out$72 + (set_local $6 + (call $___uremdi3 + (tee_local $5 + (call $_i64Add + (call $_bitshift64Shl + (i32.load + (get_local $10) + ) + (i32.const 0) + (get_local $11) + ) + (i32.load + (i32.const 168) + ) + (get_local $5) + (i32.const 0) + ) ) + (tee_local $7 + (i32.load + (i32.const 168) + ) + ) + (i32.const 1000000000) (i32.const 0) - (get_local $11) ) - (i32.load - (i32.const 168) + ) + (i32.store + (get_local $10) + (get_local $6) + ) + (set_local $5 + (call $___udivdi3 + (get_local $5) + (get_local $7) + (i32.const 1000000000) + (i32.const 0) ) - (get_local $5) - (i32.const 0) ) - ) - (tee_local $7 - (i32.load - (i32.const 168) + (if + (i32.lt_u + (tee_local $7 + (i32.add + (get_local $10) + (i32.const -4) + ) + ) + (get_local $8) + ) + (br $while-out$72) + (set_local $10 + (get_local $7) + ) ) + (br $while-in$73) ) - (i32.const 1000000000) - (i32.const 0) ) - ) - (i32.store - (get_local $10) - (get_local $6) - ) - (set_local $5 - (call $___udivdi3 - (get_local $5) - (get_local $7) - (i32.const 1000000000) - (i32.const 0) + (br_if $do-once$70 + (get_local $8) + (i32.eq + (get_local $5) + (i32.const 0) + ) ) - ) - (if - (i32.lt_u + (i32.store (tee_local $7 (i32.add - (get_local $10) + (get_local $8) (i32.const -4) ) ) - (get_local $8) - ) - (br $while-out$72) - (set_local $10 - (get_local $7) + (get_local $5) ) + (get_local $7) ) - (br $while-in$73) ) - (br_if $do-once$70 - (get_local $8) - (i32.eq - (get_local $5) - (i32.const 0) + ) + ) + (loop $while-in$75 + (block $while-out$74 + (if + (i32.le_u + (get_local $13) + (get_local $7) ) + (br $while-out$74) ) - (i32.store - (tee_local $7 - (i32.add - (get_local $8) - (i32.const -4) + (if + (i32.eq + (i32.load + (tee_local $5 + (i32.add + (get_local $13) + (i32.const -4) + ) + ) ) + (i32.const 0) ) - (get_local $5) + (set_local $13 + (get_local $5) + ) + (br $while-out$74) ) - (get_local $7) + (br $while-in$75) ) ) - ) - ) - (loop $while-out$74 $while-in$75 - (if - (i32.le_u - (get_local $13) - (get_local $7) - ) - (br $while-out$74) - ) - (if - (i32.eq - (i32.load - (tee_local $5 - (i32.add - (get_local $13) - (i32.const -4) + (i32.store + (get_local $25) + (tee_local $5 + (i32.sub + (i32.load + (get_local $25) ) + (get_local $11) ) ) - (i32.const 0) ) - (set_local $13 - (get_local $5) - ) - (br $while-out$74) - ) - (br $while-in$75) - ) - (i32.store - (get_local $25) - (tee_local $5 - (i32.sub - (i32.load - (get_local $25) + (if + (i32.gt_s + (get_local $5) + (i32.const 0) ) - (get_local $11) - ) - ) - ) - (if - (i32.gt_s - (get_local $5) - (i32.const 0) - ) - (set_local $8 - (get_local $7) - ) - (block - (set_local $6 - (get_local $13) - ) - (br $while-out$68) - ) - ) - (br $while-in$69) - ) - ) - (set_local $7 - (get_local $9) - ) - ) - (if - (i32.lt_s - (get_local $5) - (i32.const 0) - ) - (block - (set_local $8 - (i32.add - (i32.and - (call_import $i32s-div - (i32.add - (get_local $1) - (i32.const 25) + (set_local $8 + (get_local $7) + ) + (block + (set_local $6 + (get_local $13) + ) + (br $while-out$68) ) - (i32.const 9) ) - (i32.const -1) + (br $while-in$69) ) - (i32.const 1) ) ) - (set_local $10 - (i32.eq - (get_local $15) - (i32.const 102) - ) + (set_local $7 + (get_local $9) ) - (set_local $23 - (get_local $6) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 0) ) - (loop $while-out$76 $while-in$77 - (set_local $5 - (i32.gt_s - (tee_local $6 - (i32.sub - (i32.const 0) - (get_local $5) + (block + (set_local $8 + (i32.add + (i32.and + (call_import $i32s-div + (i32.add + (get_local $1) + (i32.const 25) + ) + (i32.const 9) ) + (i32.const -1) ) - (i32.const 9) + (i32.const 1) ) ) - (set_local $13 - (select - (i32.const 9) - (get_local $6) - (get_local $5) + (set_local $10 + (i32.eq + (get_local $15) + (i32.const 102) ) ) - (set_local $11 - (block $do-once$78 - (if - (i32.lt_u - (get_local $7) - (get_local $23) - ) - (block - (set_local $70 - (i32.add - (i32.shl - (i32.const 1) - (get_local $13) - ) - (i32.const -1) + (set_local $23 + (get_local $6) + ) + (loop $while-in$77 + (block $while-out$76 + (set_local $5 + (i32.gt_s + (tee_local $6 + (i32.sub + (i32.const 0) + (get_local $5) ) ) - (set_local $27 - (i32.shr_u - (i32.const 1000000000) - (get_local $13) + (i32.const 9) + ) + ) + (set_local $13 + (select + (i32.const 9) + (get_local $6) + (get_local $5) + ) + ) + (set_local $11 + (block $do-once$78 + (if + (i32.lt_u + (get_local $7) + (get_local $23) ) - ) - (set_local $11 - (i32.const 0) - ) - (set_local $17 - (get_local $7) - ) - (loop $while-out$80 $while-in$81 - (set_local $6 - (i32.and - (tee_local $5 - (i32.load - (get_local $17) + (block + (set_local $70 + (i32.add + (i32.shl + (i32.const 1) + (get_local $13) ) + (i32.const -1) ) - (get_local $70) ) - ) - (i32.store - (get_local $17) - (i32.add + (set_local $27 (i32.shr_u - (get_local $5) + (i32.const 1000000000) (get_local $13) ) - (get_local $11) ) - ) - (set_local $11 - (i32.mul - (get_local $6) - (get_local $27) + (set_local $11 + (i32.const 0) ) - ) - (if - (i32.ge_u - (tee_local $17 - (i32.add + (set_local $17 + (get_local $7) + ) + (loop $while-in$81 + (block $while-out$80 + (set_local $6 + (i32.and + (tee_local $5 + (i32.load + (get_local $17) + ) + ) + (get_local $70) + ) + ) + (i32.store (get_local $17) + (i32.add + (i32.shr_u + (get_local $5) + (get_local $13) + ) + (get_local $11) + ) + ) + (set_local $11 + (i32.mul + (get_local $6) + (get_local $27) + ) + ) + (if + (i32.ge_u + (tee_local $17 + (i32.add + (get_local $17) + (i32.const 4) + ) + ) + (get_local $23) + ) + (br $while-out$80) + ) + (br $while-in$81) + ) + ) + (set_local $5 + (select + (i32.add + (get_local $7) (i32.const 4) ) + (get_local $7) + (i32.eq + (i32.load + (get_local $7) + ) + (i32.const 0) + ) + ) + ) + (if + (i32.eq + (get_local $11) + (i32.const 0) + ) + (br $do-once$78 + (get_local $5) ) + ) + (i32.store (get_local $23) + (get_local $11) ) - (br $while-out$80) + (set_local $23 + (i32.add + (get_local $23) + (i32.const 4) + ) + ) + (get_local $5) ) - (br $while-in$81) - ) - (set_local $5 (select (i32.add (get_local $7) @@ -5985,1237 +6066,1175 @@ ) ) ) - (if - (i32.eq - (get_local $11) - (i32.const 0) - ) - (br $do-once$78 - (get_local $5) - ) - ) - (i32.store - (get_local $23) - (get_local $11) - ) - (set_local $23 - (i32.add + ) + ) + (set_local $5 + (i32.gt_s + (i32.shr_s + (i32.sub (get_local $23) - (i32.const 4) + (tee_local $7 + (select + (get_local $9) + (get_local $11) + (get_local $10) + ) + ) ) + (i32.const 2) ) - (get_local $5) + (get_local $8) ) + ) + (set_local $6 (select (i32.add (get_local $7) - (i32.const 4) - ) - (get_local $7) - (i32.eq - (i32.load - (get_local $7) + (i32.shl + (get_local $8) + (i32.const 2) ) - (i32.const 0) ) + (get_local $23) + (get_local $5) ) ) - ) - ) - (set_local $5 - (i32.gt_s - (i32.shr_s - (i32.sub - (get_local $23) - (tee_local $7 - (select - (get_local $9) - (get_local $11) - (get_local $10) + (i32.store + (get_local $25) + (tee_local $5 + (i32.add + (i32.load + (get_local $25) ) + (get_local $13) ) ) - (i32.const 2) ) - (get_local $8) - ) - ) - (set_local $6 - (select - (i32.add - (get_local $7) - (i32.shl - (get_local $8) - (i32.const 2) + (if + (i32.lt_s + (get_local $5) + (i32.const 0) ) - ) - (get_local $23) - (get_local $5) - ) - ) - (i32.store - (get_local $25) - (tee_local $5 - (i32.add - (i32.load - (get_local $25) + (block + (set_local $7 + (get_local $11) + ) + (set_local $23 + (get_local $6) + ) ) - (get_local $13) - ) - ) - ) - (if - (i32.lt_s - (get_local $5) - (i32.const 0) - ) - (block - (set_local $7 - (get_local $11) - ) - (set_local $23 - (get_local $6) - ) - ) - (block - (set_local $7 - (get_local $11) - ) - (set_local $27 - (get_local $6) - ) - (br $while-out$76) - ) - ) - (br $while-in$77) - ) - ) - (set_local $27 - (get_local $6) - ) - ) - (block $do-once$82 - (if - (i32.lt_u - (get_local $7) - (get_local $27) - ) - (block - (set_local $6 - (i32.mul - (i32.shr_s - (i32.sub - (get_local $62) - (get_local $7) + (block + (set_local $7 + (get_local $11) + ) + (set_local $27 + (get_local $6) + ) + (br $while-out$76) ) - (i32.const 2) ) - (i32.const 9) + (br $while-in$77) ) ) - (if - (i32.lt_u - (tee_local $5 - (i32.load - (get_local $7) - ) - ) - (i32.const 10) - ) - (block - (set_local $13 - (get_local $6) - ) - (br $do-once$82) - ) - (set_local $8 - (i32.const 10) - ) + ) + (set_local $27 + (get_local $6) + ) + ) + (block $do-once$82 + (if + (i32.lt_u + (get_local $7) + (get_local $27) ) - (loop $while-out$84 $while-in$85 + (block (set_local $6 - (i32.add - (get_local $6) - (i32.const 1) + (i32.mul + (i32.shr_s + (i32.sub + (get_local $62) + (get_local $7) + ) + (i32.const 2) + ) + (i32.const 9) ) ) (if (i32.lt_u - (get_local $5) - (tee_local $8 - (i32.mul - (get_local $8) - (i32.const 10) + (tee_local $5 + (i32.load + (get_local $7) ) ) + (i32.const 10) ) (block (set_local $13 (get_local $6) ) - (br $while-out$84) + (br $do-once$82) + ) + (set_local $8 + (i32.const 10) + ) + ) + (loop $while-in$85 + (block $while-out$84 + (set_local $6 + (i32.add + (get_local $6) + (i32.const 1) + ) + ) + (if + (i32.lt_u + (get_local $5) + (tee_local $8 + (i32.mul + (get_local $8) + (i32.const 10) + ) + ) + ) + (block + (set_local $13 + (get_local $6) + ) + (br $while-out$84) + ) + ) + (br $while-in$85) ) ) - (br $while-in$85) ) - ) - (set_local $13 - (i32.const 0) + (set_local $13 + (i32.const 0) + ) ) ) - ) - (set_local $7 - (if - (i32.lt_s - (tee_local $5 - (i32.add - (i32.sub - (get_local $1) - (select - (get_local $13) - (i32.const 0) - (i32.ne - (get_local $15) - (i32.const 102) + (set_local $7 + (if + (i32.lt_s + (tee_local $5 + (i32.add + (i32.sub + (get_local $1) + (select + (get_local $13) + (i32.const 0) + (i32.ne + (get_local $15) + (i32.const 102) + ) ) ) - ) - (i32.shr_s - (i32.shl - (i32.and - (tee_local $70 - (i32.ne - (get_local $1) - (i32.const 0) + (i32.shr_s + (i32.shl + (i32.and + (tee_local $70 + (i32.ne + (get_local $1) + (i32.const 0) + ) ) - ) - (tee_local $8 - (i32.eq - (get_local $15) - (i32.const 103) + (tee_local $8 + (i32.eq + (get_local $15) + (i32.const 103) + ) ) ) + (i32.const 31) ) (i32.const 31) ) - (i32.const 31) ) ) - ) - (i32.add - (i32.mul - (i32.shr_s - (i32.sub - (get_local $27) - (get_local $62) + (i32.add + (i32.mul + (i32.shr_s + (i32.sub + (get_local $27) + (get_local $62) + ) + (i32.const 2) ) - (i32.const 2) + (i32.const 9) ) - (i32.const 9) + (i32.const -9) ) - (i32.const -9) ) - ) - (block - (set_local $6 - (i32.add + (block + (set_local $6 (i32.add - (get_local $9) - (i32.const 4) - ) - (i32.shl (i32.add - (i32.and - (call_import $i32s-div - (tee_local $5 - (i32.add - (get_local $5) - (i32.const 9216) + (get_local $9) + (i32.const 4) + ) + (i32.shl + (i32.add + (i32.and + (call_import $i32s-div + (tee_local $5 + (i32.add + (get_local $5) + (i32.const 9216) + ) ) + (i32.const 9) ) - (i32.const 9) + (i32.const -1) ) - (i32.const -1) + (i32.const -1024) ) - (i32.const -1024) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (if - (i32.lt_s - (tee_local $11 - (i32.add - (i32.and - (call_import $i32s-rem - (get_local $5) - (i32.const 9) + (if + (i32.lt_s + (tee_local $11 + (i32.add + (i32.and + (call_import $i32s-rem + (get_local $5) + (i32.const 9) + ) + (i32.const -1) ) - (i32.const -1) + (i32.const 1) ) - (i32.const 1) ) + (i32.const 9) ) - (i32.const 9) - ) - (block - (set_local $5 - (i32.const 10) - ) - (loop $while-out$86 $while-in$87 + (block (set_local $5 - (i32.mul - (get_local $5) - (i32.const 10) - ) + (i32.const 10) ) - (if - (i32.eq - (tee_local $11 - (i32.add - (get_local $11) - (i32.const 1) + (loop $while-in$87 + (block $while-out$86 + (set_local $5 + (i32.mul + (get_local $5) + (i32.const 10) ) ) - (i32.const 9) - ) - (block - (set_local $17 - (get_local $5) + (if + (i32.eq + (tee_local $11 + (i32.add + (get_local $11) + (i32.const 1) + ) + ) + (i32.const 9) + ) + (block + (set_local $17 + (get_local $5) + ) + (br $while-out$86) + ) ) - (br $while-out$86) + (br $while-in$87) ) ) - (br $while-in$87) + ) + (set_local $17 + (i32.const 10) ) ) - (set_local $17 - (i32.const 10) - ) - ) - (block $do-once$88 - (if - (i32.eqz - (i32.and - (tee_local $11 - (i32.eq - (i32.add - (get_local $6) - (i32.const 4) - ) - (get_local $27) - ) - ) - (i32.eq - (tee_local $15 - (i32.and - (call_import $i32u-rem - (tee_local $5 - (i32.load - (get_local $6) - ) - ) - (get_local $17) + (block $do-once$88 + (if + (i32.eqz + (i32.and + (tee_local $11 + (i32.eq + (i32.add + (get_local $6) + (i32.const 4) ) - (i32.const -1) + (get_local $27) ) ) - (i32.const 0) - ) - ) - ) - (block - (set_local $14 - (select - (f64.const 9007199254740992) - (f64.const 9007199254740994) (i32.eq - (i32.and + (tee_local $15 (i32.and - (call_import $i32u-div - (get_local $5) + (call_import $i32u-rem + (tee_local $5 + (i32.load + (get_local $6) + ) + ) (get_local $17) ) (i32.const -1) ) - (i32.const 1) ) (i32.const 0) ) ) ) - (set_local $30 - (if - (i32.lt_u - (get_local $15) - (tee_local $10 + (block + (set_local $14 + (select + (f64.const 9007199254740992) + (f64.const 9007199254740994) + (i32.eq (i32.and - (call_import $i32s-div - (get_local $17) - (i32.const 2) + (i32.and + (call_import $i32u-div + (get_local $5) + (get_local $17) + ) + (i32.const -1) ) - (i32.const -1) + (i32.const 1) ) + (i32.const 0) ) ) - (f64.const 0.5) - (select - (f64.const 1) - (f64.const 1.5) - (i32.and - (get_local $11) - (i32.eq - (get_local $15) - (get_local $10) + ) + (set_local $30 + (if + (i32.lt_u + (get_local $15) + (tee_local $10 + (i32.and + (call_import $i32s-div + (get_local $17) + (i32.const 2) + ) + (i32.const -1) + ) + ) + ) + (f64.const 0.5) + (select + (f64.const 1) + (f64.const 1.5) + (i32.and + (get_local $11) + (i32.eq + (get_local $15) + (get_local $10) + ) ) ) ) ) - ) - (set_local $14 - (block $do-once$90 - (if - (i32.eq - (get_local $51) - (i32.const 0) - ) - (get_local $14) - (block - (if - (i32.ne - (i32.shr_s - (i32.shl - (i32.load8_s - (get_local $39) + (set_local $14 + (block $do-once$90 + (if + (i32.eq + (get_local $51) + (i32.const 0) + ) + (get_local $14) + (block + (if + (i32.ne + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $39) + ) + (i32.const 24) ) (i32.const 24) ) - (i32.const 24) + (i32.const 45) + ) + (br $do-once$90 + (get_local $14) ) - (i32.const 45) ) - (br $do-once$90 - (get_local $14) + (set_local $30 + (f64.neg + (get_local $30) + ) ) - ) - (set_local $30 (f64.neg - (get_local $30) + (get_local $14) ) ) - (f64.neg - (get_local $14) - ) ) ) ) - ) - (i32.store - (get_local $6) - (tee_local $5 - (i32.sub - (get_local $5) - (get_local $15) + (i32.store + (get_local $6) + (tee_local $5 + (i32.sub + (get_local $5) + (get_local $15) + ) ) ) - ) - (if - (f64.eq - (f64.add + (if + (f64.eq + (f64.add + (get_local $14) + (get_local $30) + ) (get_local $14) - (get_local $30) ) - (get_local $14) + (br $do-once$88) ) - (br $do-once$88) - ) - (i32.store - (get_local $6) - (tee_local $5 - (i32.add - (get_local $5) - (get_local $17) + (i32.store + (get_local $6) + (tee_local $5 + (i32.add + (get_local $5) + (get_local $17) + ) ) ) - ) - (if - (i32.gt_u - (get_local $5) - (i32.const 999999999) - ) - (loop $while-out$92 $while-in$93 - (i32.store - (get_local $6) - (i32.const 0) + (if + (i32.gt_u + (get_local $5) + (i32.const 999999999) ) - (set_local $7 - (if - (i32.lt_u - (tee_local $6 - (i32.add - (get_local $6) - (i32.const -4) + (loop $while-in$93 + (block $while-out$92 + (i32.store + (get_local $6) + (i32.const 0) + ) + (set_local $7 + (if + (i32.lt_u + (tee_local $6 + (i32.add + (get_local $6) + (i32.const -4) + ) + ) + (get_local $7) + ) + (block + (i32.store + (tee_local $5 + (i32.add + (get_local $7) + (i32.const -4) + ) + ) + (i32.const 0) + ) + (get_local $5) ) + (get_local $7) ) - (get_local $7) ) - (block - (i32.store - (tee_local $5 - (i32.add - (get_local $7) - (i32.const -4) + (i32.store + (get_local $6) + (tee_local $5 + (i32.add + (i32.load + (get_local $6) ) + (i32.const 1) ) - (i32.const 0) ) - (get_local $5) ) - (get_local $7) - ) - ) - (i32.store - (get_local $6) - (tee_local $5 - (i32.add - (i32.load - (get_local $6) + (if + (i32.le_u + (get_local $5) + (i32.const 999999999) ) - (i32.const 1) + (br $while-out$92) ) + (br $while-in$93) ) ) - (if - (i32.le_u - (get_local $5) - (i32.const 999999999) - ) - (br $while-out$92) - ) - (br $while-in$93) - ) - ) - (set_local $11 - (i32.mul - (i32.shr_s - (i32.sub - (get_local $62) - (get_local $7) - ) - (i32.const 2) - ) - (i32.const 9) - ) - ) - (if - (i32.lt_u - (tee_local $5 - (i32.load - (get_local $7) - ) - ) - (i32.const 10) - ) - (block - (set_local $13 - (get_local $11) - ) - (br $do-once$88) ) - (set_local $10 - (i32.const 10) - ) - ) - (loop $while-out$94 $while-in$95 (set_local $11 - (i32.add - (get_local $11) - (i32.const 1) + (i32.mul + (i32.shr_s + (i32.sub + (get_local $62) + (get_local $7) + ) + (i32.const 2) + ) + (i32.const 9) ) ) (if (i32.lt_u - (get_local $5) - (tee_local $10 - (i32.mul - (get_local $10) - (i32.const 10) + (tee_local $5 + (i32.load + (get_local $7) ) ) + (i32.const 10) ) (block (set_local $13 (get_local $11) ) - (br $while-out$94) + (br $do-once$88) + ) + (set_local $10 + (i32.const 10) + ) + ) + (loop $while-in$95 + (block $while-out$94 + (set_local $11 + (i32.add + (get_local $11) + (i32.const 1) + ) + ) + (if + (i32.lt_u + (get_local $5) + (tee_local $10 + (i32.mul + (get_local $10) + (i32.const 10) + ) + ) + ) + (block + (set_local $13 + (get_local $11) + ) + (br $while-out$94) + ) + ) + (br $while-in$95) ) ) - (br $while-in$95) ) ) ) - ) - (set_local $6 - (i32.gt_u - (get_local $27) - (tee_local $5 - (i32.add - (get_local $6) - (i32.const 4) + (set_local $6 + (i32.gt_u + (get_local $27) + (tee_local $5 + (i32.add + (get_local $6) + (i32.const 4) + ) ) ) ) + (set_local $6 + (select + (get_local $5) + (get_local $27) + (get_local $6) + ) + ) + (get_local $7) ) - (set_local $6 - (select - (get_local $5) + (block + (set_local $6 (get_local $27) - (get_local $6) ) + (get_local $7) ) - (get_local $7) - ) - (block - (set_local $6 - (get_local $27) - ) - (get_local $7) ) ) - ) - (set_local $27 - (i32.sub - (i32.const 0) - (get_local $13) - ) - ) - (loop $while-out$96 $while-in$97 - (if - (i32.le_u - (get_local $6) - (get_local $7) - ) - (block - (set_local $11 - (i32.const 0) - ) - (set_local $23 - (get_local $6) - ) - (br $while-out$96) + (set_local $27 + (i32.sub + (i32.const 0) + (get_local $13) ) ) - (if - (i32.eq - (i32.load - (tee_local $5 - (i32.add + (loop $while-in$97 + (block $while-out$96 + (if + (i32.le_u + (get_local $6) + (get_local $7) + ) + (block + (set_local $11 + (i32.const 0) + ) + (set_local $23 (get_local $6) - (i32.const -4) ) + (br $while-out$96) ) ) - (i32.const 0) - ) - (set_local $6 - (get_local $5) - ) - (block - (set_local $11 - (i32.const 1) - ) - (set_local $23 - (get_local $6) + (if + (i32.eq + (i32.load + (tee_local $5 + (i32.add + (get_local $6) + (i32.const -4) + ) + ) + ) + (i32.const 0) + ) + (set_local $6 + (get_local $5) + ) + (block + (set_local $11 + (i32.const 1) + ) + (set_local $23 + (get_local $6) + ) + (br $while-out$96) + ) ) - (br $while-out$96) + (br $while-in$97) ) ) - (br $while-in$97) - ) - (set_local $8 - (block $do-once$98 - (if - (get_local $8) - (block - (set_local $8 - (if - (i32.and - (i32.gt_s - (tee_local $1 - (i32.add - (i32.xor - (i32.and - (get_local $70) + (set_local $8 + (block $do-once$98 + (if + (get_local $8) + (block + (set_local $8 + (if + (i32.and + (i32.gt_s + (tee_local $1 + (i32.add + (i32.xor + (i32.and + (get_local $70) + (i32.const 1) + ) (i32.const 1) ) - (i32.const 1) + (get_local $1) ) - (get_local $1) ) + (get_local $13) + ) + (i32.gt_s + (get_local $13) + (i32.const -5) ) - (get_local $13) - ) - (i32.gt_s - (get_local $13) - (i32.const -5) ) - ) - (block - (set_local $10 - (i32.add - (get_local $26) - (i32.const -1) + (block + (set_local $10 + (i32.add + (get_local $26) + (i32.const -1) + ) + ) + (i32.sub + (i32.add + (get_local $1) + (i32.const -1) + ) + (get_local $13) ) ) - (i32.sub + (block + (set_local $10 + (i32.add + (get_local $26) + (i32.const -2) + ) + ) (i32.add (get_local $1) (i32.const -1) ) - (get_local $13) ) ) - (block - (set_local $10 - (i32.add - (get_local $26) - (i32.const -2) + ) + (if + (i32.ne + (tee_local $1 + (i32.and + (get_local $18) + (i32.const 8) ) ) - (i32.add - (get_local $1) - (i32.const -1) - ) + (i32.const 0) ) - ) - ) - (if - (i32.ne - (tee_local $1 - (i32.and - (get_local $18) - (i32.const 8) + (block + (set_local $15 + (get_local $8) + ) + (set_local $26 + (get_local $10) + ) + (br $do-once$98 + (get_local $1) ) - ) - (i32.const 0) - ) - (block - (set_local $15 - (get_local $8) - ) - (set_local $26 - (get_local $10) - ) - (br $do-once$98 - (get_local $1) ) ) - ) - (block $do-once$100 - (if - (get_local $11) - (block - (if - (i32.eq - (tee_local $1 - (i32.load - (i32.add - (get_local $23) - (i32.const -4) + (block $do-once$100 + (if + (get_local $11) + (block + (if + (i32.eq + (tee_local $1 + (i32.load + (i32.add + (get_local $23) + (i32.const -4) + ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $6 - (i32.const 9) - ) - (br $do-once$100) - ) - ) - (if - (i32.eq - (i32.and - (call_import $i32u-rem - (get_local $1) - (i32.const 10) + (block + (set_local $6 + (i32.const 9) ) - (i32.const -1) + (br $do-once$100) ) - (i32.const 0) ) - (block - (set_local $5 - (i32.const 10) - ) - (set_local $6 + (if + (i32.eq + (i32.and + (call_import $i32u-rem + (get_local $1) + (i32.const 10) + ) + (i32.const -1) + ) (i32.const 0) ) - ) - (block - (set_local $6 - (i32.const 0) + (block + (set_local $5 + (i32.const 10) + ) + (set_local $6 + (i32.const 0) + ) ) - (br $do-once$100) - ) - ) - (loop $while-out$102 $while-in$103 - (set_local $6 - (i32.add - (get_local $6) - (i32.const 1) + (block + (set_local $6 + (i32.const 0) + ) + (br $do-once$100) ) ) - (if - (i32.ne - (i32.and - (call_import $i32u-rem - (get_local $1) - (tee_local $5 - (i32.mul - (get_local $5) - (i32.const 10) + (loop $while-in$103 + (block $while-out$102 + (set_local $6 + (i32.add + (get_local $6) + (i32.const 1) + ) + ) + (if + (i32.ne + (i32.and + (call_import $i32u-rem + (get_local $1) + (tee_local $5 + (i32.mul + (get_local $5) + (i32.const 10) + ) + ) ) + (i32.const -1) ) + (i32.const 0) ) - (i32.const -1) + (br $while-out$102) ) - (i32.const 0) + (br $while-in$103) ) - (br $while-out$102) ) - (br $while-in$103) ) - ) - (set_local $6 - (i32.const 9) + (set_local $6 + (i32.const 9) + ) ) ) - ) - (set_local $1 - (i32.add - (i32.mul - (i32.shr_s - (i32.sub - (get_local $23) - (get_local $62) + (set_local $1 + (i32.add + (i32.mul + (i32.shr_s + (i32.sub + (get_local $23) + (get_local $62) + ) + (i32.const 2) ) - (i32.const 2) + (i32.const 9) ) - (i32.const 9) + (i32.const -9) ) - (i32.const -9) ) - ) - (if - (i32.eq - (i32.or - (get_local $10) - (i32.const 32) + (if + (i32.eq + (i32.or + (get_local $10) + (i32.const 32) + ) + (i32.const 102) ) - (i32.const 102) - ) - (block - (set_local $1 - (i32.lt_s - (tee_local $5 - (i32.sub - (get_local $1) - (get_local $6) + (block + (set_local $1 + (i32.lt_s + (tee_local $5 + (i32.sub + (get_local $1) + (get_local $6) + ) ) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $5 - (i32.lt_s - (get_local $8) - (tee_local $1 - (select - (i32.const 0) - (get_local $5) - (get_local $1) + (set_local $5 + (i32.lt_s + (get_local $8) + (tee_local $1 + (select + (i32.const 0) + (get_local $5) + (get_local $1) + ) ) ) ) - ) - (set_local $15 - (select - (get_local $8) - (get_local $1) - (get_local $5) + (set_local $15 + (select + (get_local $8) + (get_local $1) + (get_local $5) + ) ) + (set_local $26 + (get_local $10) + ) + (i32.const 0) ) - (set_local $26 - (get_local $10) - ) - (i32.const 0) - ) - (block - (set_local $1 - (i32.lt_s - (tee_local $5 - (i32.sub - (i32.add - (get_local $1) - (get_local $13) + (block + (set_local $1 + (i32.lt_s + (tee_local $5 + (i32.sub + (i32.add + (get_local $1) + (get_local $13) + ) + (get_local $6) ) - (get_local $6) ) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $5 - (i32.lt_s - (get_local $8) - (tee_local $1 - (select - (i32.const 0) - (get_local $5) - (get_local $1) + (set_local $5 + (i32.lt_s + (get_local $8) + (tee_local $1 + (select + (i32.const 0) + (get_local $5) + (get_local $1) + ) ) ) ) - ) - (set_local $15 - (select - (get_local $8) - (get_local $1) - (get_local $5) + (set_local $15 + (select + (get_local $8) + (get_local $1) + (get_local $5) + ) ) + (set_local $26 + (get_local $10) + ) + (i32.const 0) ) - (set_local $26 - (get_local $10) - ) - (i32.const 0) ) ) - ) - (block - (set_local $15 - (get_local $1) - ) - (i32.and - (get_local $18) - (i32.const 8) + (block + (set_local $15 + (get_local $1) + ) + (i32.and + (get_local $18) + (i32.const 8) + ) ) ) ) ) - ) - (set_local $17 - (i32.and - (i32.ne - (tee_local $1 - (i32.or - (get_local $15) - (get_local $8) + (set_local $17 + (i32.and + (i32.ne + (tee_local $1 + (i32.or + (get_local $15) + (get_local $8) + ) ) + (i32.const 0) ) - (i32.const 0) + (i32.const 1) ) - (i32.const 1) ) - ) - (set_local $13 - (if - (tee_local $10 - (i32.eq - (i32.or - (get_local $26) - (i32.const 32) + (set_local $13 + (if + (tee_local $10 + (i32.eq + (i32.or + (get_local $26) + (i32.const 32) + ) + (i32.const 102) ) - (i32.const 102) ) - ) - (block - (set_local $6 - (select - (get_local $13) - (i32.const 0) - (i32.gt_s + (block + (set_local $6 + (select (get_local $13) (i32.const 0) - ) - ) - ) - (i32.const 0) - ) - (block - (set_local $5 - (i32.shr_s - (i32.shl - (i32.lt_s - (tee_local $6 - (select - (get_local $27) - (get_local $13) - (i32.lt_s - (get_local $13) - (i32.const 0) - ) - ) - ) + (i32.gt_s + (get_local $13) (i32.const 0) ) - (i32.const 31) ) - (i32.const 31) ) + (i32.const 0) ) - (if - (i32.lt_s - (i32.sub - (get_local $40) - (tee_local $5 - (call $_fmt_u - (get_local $6) - (get_local $5) - (get_local $52) + (block + (set_local $5 + (i32.shr_s + (i32.shl + (i32.lt_s + (tee_local $6 + (select + (get_local $27) + (get_local $13) + (i32.lt_s + (get_local $13) + (i32.const 0) + ) + ) + ) + (i32.const 0) ) + (i32.const 31) ) + (i32.const 31) ) - (i32.const 2) ) - (loop $while-out$104 $while-in$105 - (i32.store8 - (tee_local $5 - (i32.add - (get_local $5) - (i32.const -1) + (if + (i32.lt_s + (i32.sub + (get_local $40) + (tee_local $5 + (call $_fmt_u + (get_local $6) + (get_local $5) + (get_local $52) + ) ) ) - (i32.const 48) + (i32.const 2) ) - (if - (i32.ge_s - (i32.sub - (get_local $40) - (get_local $5) + (loop $while-in$105 + (block $while-out$104 + (i32.store8 + (tee_local $5 + (i32.add + (get_local $5) + (i32.const -1) + ) + ) + (i32.const 48) ) - (i32.const 2) + (if + (i32.ge_s + (i32.sub + (get_local $40) + (get_local $5) + ) + (i32.const 2) + ) + (br $while-out$104) + ) + (br $while-in$105) ) - (br $while-out$104) ) - (br $while-in$105) - ) - ) - (i32.store8 - (i32.add - (get_local $5) - (i32.const -1) ) - (i32.and + (i32.store8 (i32.add - (i32.and - (i32.shr_s - (get_local $13) - (i32.const 31) + (get_local $5) + (i32.const -1) + ) + (i32.and + (i32.add + (i32.and + (i32.shr_s + (get_local $13) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) + (i32.const 43) ) - (i32.const 43) + (i32.const 255) ) - (i32.const 255) ) - ) - (i32.store8 - (tee_local $5 - (i32.add - (get_local $5) - (i32.const -2) + (i32.store8 + (tee_local $5 + (i32.add + (get_local $5) + (i32.const -2) + ) + ) + (i32.and + (get_local $26) + (i32.const 255) ) ) - (i32.and - (get_local $26) - (i32.const 255) - ) - ) - (set_local $6 - (i32.sub - (get_local $40) - (get_local $5) + (set_local $6 + (i32.sub + (get_local $40) + (get_local $5) + ) ) + (get_local $5) ) - (get_local $5) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $16) - (tee_local $6 - (i32.add + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $16) + (tee_local $6 (i32.add (i32.add (i32.add - (get_local $51) - (i32.const 1) + (i32.add + (get_local $51) + (i32.const 1) + ) + (get_local $15) ) - (get_local $15) + (get_local $17) ) - (get_local $17) + (get_local $6) ) - (get_local $6) ) + (get_local $18) ) - (get_local $18) - ) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) + (i32.const 0) + ) + (call $___fwritex + (get_local $39) + (get_local $51) + (get_local $0) ) - (i32.const 0) ) - (call $___fwritex - (get_local $39) - (get_local $51) + (call $_pad (get_local $0) + (i32.const 48) + (get_local $16) + (get_local $6) + (i32.xor + (get_local $18) + (i32.const 65536) + ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (get_local $16) - (get_local $6) - (i32.xor - (get_local $18) - (i32.const 65536) - ) - ) - (block $do-once$106 - (if - (get_local $10) - (block - (set_local $7 - (tee_local $8 - (select - (get_local $9) - (get_local $7) - (i32.gt_u - (get_local $7) + (block $do-once$106 + (if + (get_local $10) + (block + (set_local $7 + (tee_local $8 + (select (get_local $9) - ) - ) - ) - ) - (loop $while-out$114 $while-in$115 - (set_local $5 - (call $_fmt_u - (i32.load (get_local $7) + (i32.gt_u + (get_local $7) + (get_local $9) + ) ) - (i32.const 0) - (get_local $45) ) ) - (block $do-once$116 - (if - (i32.eq - (get_local $7) - (get_local $8) - ) - (block - (if - (i32.ne - (get_local $5) - (get_local $45) + (loop $while-in$115 + (block $while-out$114 + (set_local $5 + (call $_fmt_u + (i32.load + (get_local $7) ) - (br $do-once$116) - ) - (i32.store8 - (get_local $53) - (i32.const 48) - ) - (set_local $5 - (get_local $53) + (i32.const 0) + (get_local $45) ) ) - (block + (block $do-once$116 (if - (i32.le_u - (get_local $5) - (get_local $29) + (i32.eq + (get_local $7) + (get_local $8) ) - (br $do-once$116) - ) - (loop $while-out$118 $while-in$119 - (i32.store8 - (tee_local $5 - (i32.add + (block + (if + (i32.ne (get_local $5) - (i32.const -1) + (get_local $45) ) + (br $do-once$116) ) - (i32.const 48) - ) - (if - (i32.le_u - (get_local $5) - (get_local $29) + (i32.store8 + (get_local $53) + (i32.const 48) + ) + (set_local $5 + (get_local $53) + ) + ) + (block + (if + (i32.le_u + (get_local $5) + (get_local $29) + ) + (br $do-once$116) + ) + (loop $while-in$119 + (block $while-out$118 + (i32.store8 + (tee_local $5 + (i32.add + (get_local $5) + (i32.const -1) + ) + ) + (i32.const 48) + ) + (if + (i32.le_u + (get_local $5) + (get_local $29) + ) + (br $while-out$118) + ) + (br $while-in$119) + ) ) - (br $while-out$118) ) - (br $while-in$119) - ) - ) - ) - ) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) - ) - (i32.const 32) - ) - (i32.const 0) - ) - (call $___fwritex - (get_local $5) - (i32.sub - (get_local $75) - (get_local $5) - ) - (get_local $0) - ) - ) - (if - (i32.gt_u - (tee_local $7 - (i32.add - (get_local $7) - (i32.const 4) ) ) - (get_local $9) - ) - (block - (set_local $5 - (get_local $7) - ) - (br $while-out$114) - ) - ) - (br $while-in$115) - ) - (block $do-once$120 - (if - (i32.ne - (get_local $1) - (i32.const 0) - ) - (block - (br_if $do-once$120 - (i32.ne + (if + (i32.eq (i32.and (i32.load (get_local $0) @@ -7224,159 +7243,76 @@ ) (i32.const 0) ) - ) - (call $___fwritex - (i32.const 4143) - (i32.const 1) - (get_local $0) - ) - ) - ) - ) - (if - (i32.and - (i32.gt_s - (get_local $15) - (i32.const 0) - ) - (i32.lt_u - (get_local $5) - (get_local $23) - ) - ) - (loop $while-out$122 $while-in$123 - (if - (i32.gt_u - (tee_local $1 - (call $_fmt_u - (i32.load - (get_local $5) - ) - (i32.const 0) - (get_local $45) + (call $___fwritex + (get_local $5) + (i32.sub + (get_local $75) + (get_local $5) ) + (get_local $0) ) - (get_local $29) ) - (loop $while-out$124 $while-in$125 - (i32.store8 - (tee_local $1 + (if + (i32.gt_u + (tee_local $7 (i32.add - (get_local $1) - (i32.const -1) + (get_local $7) + (i32.const 4) ) ) - (i32.const 48) + (get_local $9) ) - (if - (i32.le_u - (get_local $1) - (get_local $29) + (block + (set_local $5 + (get_local $7) ) - (br $while-out$124) + (br $while-out$114) ) - (br $while-in$125) ) + (br $while-in$115) ) + ) + (block $do-once$120 (if - (i32.eq - (i32.and - (i32.load - (get_local $0) - ) - (i32.const 32) - ) - (i32.const 0) - ) - (call $___fwritex + (i32.ne (get_local $1) - (select - (i32.const 9) - (get_local $15) - (i32.gt_s - (get_local $15) - (i32.const 9) - ) - ) - (get_local $0) - ) - ) - (set_local $1 - (i32.add - (get_local $15) - (i32.const -9) + (i32.const 0) ) - ) - (if - (i32.and - (i32.gt_s - (get_local $15) - (i32.const 9) - ) - (i32.lt_u - (tee_local $5 - (i32.add - (get_local $5) - (i32.const 4) + (block + (br_if $do-once$120 + (i32.ne + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) + (i32.const 0) ) - (get_local $23) ) - ) - (set_local $15 - (get_local $1) - ) - (block - (set_local $15 - (get_local $1) + (call $___fwritex + (i32.const 4143) + (i32.const 1) + (get_local $0) ) - (br $while-out$122) ) ) - (br $while-in$123) - ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (i32.add - (get_local $15) - (i32.const 9) - ) - (i32.const 9) - (i32.const 0) - ) - ) - (block - (set_local $11 - (select - (get_local $23) - (i32.add - (get_local $7) - (i32.const 4) - ) - (get_local $11) ) - ) - (if - (i32.gt_s - (get_local $15) - (i32.const -1) - ) - (block - (set_local $9 - (i32.eq - (get_local $8) + (if + (i32.and + (i32.gt_s + (get_local $15) (i32.const 0) ) + (i32.lt_u + (get_local $5) + (get_local $23) + ) ) - (set_local $5 - (get_local $7) - ) - (loop $while-out$108 $while-in$109 - (set_local $8 + (loop $while-in$123 + (block $while-out$122 (if - (i32.eq + (i32.gt_u (tee_local $1 (call $_fmt_u (i32.load @@ -7386,834 +7322,978 @@ (get_local $45) ) ) - (get_local $45) + (get_local $29) + ) + (loop $while-in$125 + (block $while-out$124 + (i32.store8 + (tee_local $1 + (i32.add + (get_local $1) + (i32.const -1) + ) + ) + (i32.const 48) + ) + (if + (i32.le_u + (get_local $1) + (get_local $29) + ) + (br $while-out$124) + ) + (br $while-in$125) + ) + ) + ) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + (i32.const 0) + ) + (call $___fwritex + (get_local $1) + (select + (i32.const 9) + (get_local $15) + (i32.gt_s + (get_local $15) + (i32.const 9) + ) + ) + (get_local $0) + ) + ) + (set_local $1 + (i32.add + (get_local $15) + (i32.const -9) + ) + ) + (if + (i32.and + (i32.gt_s + (get_local $15) + (i32.const 9) + ) + (i32.lt_u + (tee_local $5 + (i32.add + (get_local $5) + (i32.const 4) + ) + ) + (get_local $23) + ) + ) + (set_local $15 + (get_local $1) ) (block - (i32.store8 - (get_local $53) - (i32.const 48) + (set_local $15 + (get_local $1) ) - (get_local $53) + (br $while-out$122) ) - (get_local $1) + ) + (br $while-in$123) + ) + ) + ) + (call $_pad + (get_local $0) + (i32.const 48) + (i32.add + (get_local $15) + (i32.const 9) + ) + (i32.const 9) + (i32.const 0) + ) + ) + (block + (set_local $11 + (select + (get_local $23) + (i32.add + (get_local $7) + (i32.const 4) + ) + (get_local $11) + ) + ) + (if + (i32.gt_s + (get_local $15) + (i32.const -1) + ) + (block + (set_local $9 + (i32.eq + (get_local $8) + (i32.const 0) ) ) - (block $do-once$110 - (if - (i32.eq - (get_local $5) - (get_local $7) - ) - (block - (set_local $1 - (i32.add - (get_local $8) - (i32.const 1) - ) - ) + (set_local $5 + (get_local $7) + ) + (loop $while-in$109 + (block $while-out$108 + (set_local $8 (if (i32.eq - (i32.and - (i32.load - (get_local $0) + (tee_local $1 + (call $_fmt_u + (i32.load + (get_local $5) + ) + (i32.const 0) + (get_local $45) ) - (i32.const 32) - ) - (i32.const 0) - ) - (call $___fwritex - (get_local $8) - (i32.const 1) - (get_local $0) - ) - ) - (if - (i32.and - (get_local $9) - (i32.lt_s - (get_local $15) - (i32.const 1) ) + (get_local $45) ) - (br $do-once$110) - ) - (if - (i32.ne - (i32.and - (i32.load - (get_local $0) - ) - (i32.const 32) + (block + (i32.store8 + (get_local $53) + (i32.const 48) ) - (i32.const 0) + (get_local $53) ) - (br $do-once$110) - ) - (call $___fwritex - (i32.const 4143) - (i32.const 1) - (get_local $0) + (get_local $1) ) ) - (block + (block $do-once$110 (if - (i32.gt_u - (get_local $8) - (get_local $29) - ) - (set_local $1 - (get_local $8) + (i32.eq + (get_local $5) + (get_local $7) ) (block (set_local $1 - (get_local $8) - ) - (br $do-once$110) - ) - ) - (loop $while-out$112 $while-in$113 - (i32.store8 - (tee_local $1 (i32.add - (get_local $1) - (i32.const -1) + (get_local $8) + (i32.const 1) ) ) - (i32.const 48) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + (i32.const 0) + ) + (call $___fwritex + (get_local $8) + (i32.const 1) + (get_local $0) + ) + ) + (if + (i32.and + (get_local $9) + (i32.lt_s + (get_local $15) + (i32.const 1) + ) + ) + (br $do-once$110) + ) + (if + (i32.ne + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + (i32.const 0) + ) + (br $do-once$110) + ) + (call $___fwritex + (i32.const 4143) + (i32.const 1) + (get_local $0) + ) ) - (if - (i32.le_u - (get_local $1) - (get_local $29) + (block + (if + (i32.gt_u + (get_local $8) + (get_local $29) + ) + (set_local $1 + (get_local $8) + ) + (block + (set_local $1 + (get_local $8) + ) + (br $do-once$110) + ) + ) + (loop $while-in$113 + (block $while-out$112 + (i32.store8 + (tee_local $1 + (i32.add + (get_local $1) + (i32.const -1) + ) + ) + (i32.const 48) + ) + (if + (i32.le_u + (get_local $1) + (get_local $29) + ) + (br $while-out$112) + ) + (br $while-in$113) + ) ) - (br $while-out$112) ) - (br $while-in$113) - ) - ) - ) - ) - (set_local $8 - (i32.sub - (get_local $75) - (get_local $1) - ) - ) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) ) - (i32.const 32) ) - (i32.const 0) - ) - (call $___fwritex - (get_local $1) - (select - (get_local $8) - (get_local $15) - (i32.gt_s - (get_local $15) - (get_local $8) + (set_local $8 + (i32.sub + (get_local $75) + (get_local $1) ) ) - (get_local $0) - ) - ) - (if - (i32.eqz - (i32.and - (i32.lt_u - (tee_local $5 - (i32.add - (get_local $5) - (i32.const 4) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) ) + (i32.const 32) ) - (get_local $11) + (i32.const 0) ) - (i32.gt_s - (tee_local $15 - (i32.sub + (call $___fwritex + (get_local $1) + (select + (get_local $8) + (get_local $15) + (i32.gt_s (get_local $15) (get_local $8) ) ) - (i32.const -1) + (get_local $0) ) ) + (if + (i32.eqz + (i32.and + (i32.lt_u + (tee_local $5 + (i32.add + (get_local $5) + (i32.const 4) + ) + ) + (get_local $11) + ) + (i32.gt_s + (tee_local $15 + (i32.sub + (get_local $15) + (get_local $8) + ) + ) + (i32.const -1) + ) + ) + ) + (br $while-out$108) + ) + (br $while-in$109) ) - (br $while-out$108) ) - (br $while-in$109) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (i32.add - (get_local $15) + (call $_pad + (get_local $0) + (i32.const 48) + (i32.add + (get_local $15) + (i32.const 18) + ) (i32.const 18) + (i32.const 0) ) - (i32.const 18) - (i32.const 0) - ) - (br_if $do-once$106 - (i32.ne - (i32.and - (i32.load - (get_local $0) + (br_if $do-once$106 + (i32.ne + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) + (i32.const 0) ) - (i32.const 0) ) - ) - (call $___fwritex - (get_local $13) - (i32.sub - (get_local $40) + (call $___fwritex (get_local $13) - ) - (get_local $0) - ) - ) - ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $16) - (get_local $6) - (i32.xor - (get_local $18) - (i32.const 8192) + (i32.sub + (get_local $40) + (get_local $13) + ) + (get_local $0) + ) + ) + ) ) - ) - (select - (get_local $16) - (get_local $6) - (i32.lt_s + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $16) (get_local $6) + (i32.xor + (get_local $18) + (i32.const 8192) + ) + ) + (select (get_local $16) + (get_local $6) + (i32.lt_s + (get_local $6) + (get_local $16) + ) ) ) - ) - (block - (set_local $5 - (select - (i32.const 4127) - (i32.const 4131) - (tee_local $8 - (i32.ne - (i32.and - (get_local $26) - (i32.const 32) + (block + (set_local $5 + (select + (i32.const 4127) + (i32.const 4131) + (tee_local $8 + (i32.ne + (i32.and + (get_local $26) + (i32.const 32) + ) + (i32.const 0) ) - (i32.const 0) ) ) ) - ) - (set_local $6 - (select - (i32.const 0) - (get_local $51) - (tee_local $1 - (i32.or - (f64.ne - (get_local $14) - (get_local $14) + (set_local $6 + (select + (i32.const 0) + (get_local $51) + (tee_local $1 + (i32.or + (f64.ne + (get_local $14) + (get_local $14) + ) + (i32.const 0) ) - (i32.const 0) ) ) ) - ) - (set_local $8 - (select + (set_local $8 (select - (i32.const 4135) - (i32.const 4139) - (get_local $8) + (select + (i32.const 4135) + (i32.const 4139) + (get_local $8) + ) + (get_local $5) + (get_local $1) ) - (get_local $5) - (get_local $1) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $16) - (tee_local $5 - (i32.add - (get_local $6) - (i32.const 3) + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $16) + (tee_local $5 + (i32.add + (get_local $6) + (i32.const 3) + ) ) + (get_local $7) ) - (get_local $7) - ) - (if - (i32.eq - (i32.and - (if - (i32.eq - (i32.and - (tee_local $1 - (i32.load - (get_local $0) + (if + (i32.eq + (i32.and + (if + (i32.eq + (i32.and + (tee_local $1 + (i32.load + (get_local $0) + ) ) + (i32.const 32) ) - (i32.const 32) + (i32.const 0) ) - (i32.const 0) - ) - (block - (drop - (call $___fwritex - (get_local $39) - (get_local $6) + (block + (drop + (call $___fwritex + (get_local $39) + (get_local $6) + (get_local $0) + ) + ) + (i32.load (get_local $0) ) ) - (i32.load - (get_local $0) - ) + (get_local $1) ) - (get_local $1) + (i32.const 32) ) - (i32.const 32) + (i32.const 0) + ) + (call $___fwritex + (get_local $8) + (i32.const 3) + (get_local $0) ) - (i32.const 0) ) - (call $___fwritex - (get_local $8) - (i32.const 3) + (call $_pad (get_local $0) - ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $16) - (get_local $5) - (i32.xor - (get_local $18) - (i32.const 8192) - ) - ) - (select - (get_local $16) - (get_local $5) - (i32.lt_s + (i32.const 32) + (get_local $16) (get_local $5) + (i32.xor + (get_local $18) + (i32.const 8192) + ) + ) + (select (get_local $16) + (get_local $5) + (i32.lt_s + (get_local $5) + (get_local $16) + ) ) ) ) ) ) + (set_local $8 + (get_local $21) + ) + (br $label$continue$L1) ) - (set_local $8 - (get_local $21) + (set_local $47 + (get_local $20) ) - (br $label$continue$L1) - ) - (set_local $47 - (get_local $20) - ) - (set_local $37 - (get_local $18) - ) - (set_local $42 - (get_local $10) - ) - (set_local $43 - (i32.const 0) - ) - (set_local $48 - (i32.const 4091) - ) - (set_local $49 - (get_local $28) - ) - ) - (block $label$break$L308 - (if - (i32.eq - (get_local $12) - (i32.const 64) + (set_local $37 + (get_local $18) ) - (block - (set_local $7 - (i32.and - (get_local $68) - (i32.const 32) - ) + (set_local $42 + (get_local $10) + ) + (set_local $43 + (i32.const 0) + ) + (set_local $48 + (i32.const 4091) + ) + (set_local $49 + (get_local $28) + ) + ) + (block $label$break$L308 + (if + (i32.eq + (get_local $12) + (i32.const 64) ) - (set_local $58 - (if + (block + (set_local $7 (i32.and - (i32.eq - (tee_local $5 - (i32.load - (tee_local $1 - (get_local $19) + (get_local $68) + (i32.const 32) + ) + ) + (set_local $58 + (if + (i32.and + (i32.eq + (tee_local $5 + (i32.load + (tee_local $1 + (get_local $19) + ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (i32.eq - (tee_local $1 - (i32.load offset=4 - (get_local $1) + (i32.eq + (tee_local $1 + (i32.load offset=4 + (get_local $1) + ) ) + (i32.const 0) ) - (i32.const 0) - ) - ) - (block - (set_local $34 - (get_local $46) - ) - (set_local $32 - (get_local $57) ) - (set_local $35 - (i32.const 0) - ) - (set_local $36 - (i32.const 4091) - ) - (set_local $12 - (i32.const 77) - ) - (get_local $28) - ) - (block - (set_local $6 + (block + (set_local $34 + (get_local $46) + ) + (set_local $32 + (get_local $57) + ) + (set_local $35 + (i32.const 0) + ) + (set_local $36 + (i32.const 4091) + ) + (set_local $12 + (i32.const 77) + ) (get_local $28) - ) - (loop $while-out$133 $while-in$134 - (i32.store8 - (tee_local $6 - (i32.add - (get_local $6) - (i32.const -1) + ) + (block + (set_local $6 + (get_local $28) + ) + (loop $while-in$134 + (block $while-out$133 + (i32.store8 + (tee_local $6 + (i32.add + (get_local $6) + (i32.const -1) + ) + ) + (i32.and + (i32.or + (i32.and + (i32.load8_s + (i32.add + (i32.and + (get_local $5) + (i32.const 15) + ) + (i32.const 4075) + ) + ) + (i32.const 255) + ) + (get_local $7) + ) + (i32.const 255) + ) ) - ) - (i32.and - (i32.or + (if (i32.and - (i32.load8_s - (i32.add - (i32.and + (i32.eq + (tee_local $5 + (call $_bitshift64Lshr (get_local $5) - (i32.const 15) + (get_local $1) + (i32.const 4) ) - (i32.const 4075) ) + (i32.const 0) + ) + (i32.eq + (tee_local $1 + (i32.load + (i32.const 168) + ) + ) + (i32.const 0) ) - (i32.const 255) ) - (get_local $7) + (br $while-out$133) ) - (i32.const 255) + (br $while-in$134) ) ) (if - (i32.and + (i32.or (i32.eq - (tee_local $5 - (call $_bitshift64Lshr - (get_local $5) - (get_local $1) - (i32.const 4) - ) + (i32.and + (get_local $46) + (i32.const 8) ) (i32.const 0) ) - (i32.eq - (tee_local $1 + (i32.and + (i32.eq (i32.load - (i32.const 168) + (tee_local $1 + (get_local $19) + ) ) + (i32.const 0) + ) + (i32.eq + (i32.load offset=4 + (get_local $1) + ) + (i32.const 0) ) - (i32.const 0) ) ) - (br $while-out$133) - ) - (br $while-in$134) - ) - (if - (i32.or - (i32.eq - (i32.and + (block + (set_local $34 (get_local $46) - (i32.const 8) ) - (i32.const 0) - ) - (i32.and - (i32.eq - (i32.load - (tee_local $1 - (get_local $19) - ) - ) - (i32.const 0) + (set_local $32 + (get_local $57) ) - (i32.eq - (i32.load offset=4 - (get_local $1) - ) + (set_local $35 (i32.const 0) ) - ) - ) - (block - (set_local $34 - (get_local $46) - ) - (set_local $32 - (get_local $57) - ) - (set_local $35 - (i32.const 0) - ) - (set_local $36 - (i32.const 4091) - ) - (set_local $12 - (i32.const 77) - ) - (get_local $6) - ) - (block - (set_local $34 - (get_local $46) - ) - (set_local $32 - (get_local $57) - ) - (set_local $35 - (i32.const 2) - ) - (set_local $36 - (i32.add + (set_local $36 (i32.const 4091) - (i32.shr_s - (get_local $68) - (i32.const 4) - ) ) + (set_local $12 + (i32.const 77) + ) + (get_local $6) ) - (set_local $12 - (i32.const 77) + (block + (set_local $34 + (get_local $46) + ) + (set_local $32 + (get_local $57) + ) + (set_local $35 + (i32.const 2) + ) + (set_local $36 + (i32.add + (i32.const 4091) + (i32.shr_s + (get_local $68) + (i32.const 4) + ) + ) + ) + (set_local $12 + (i32.const 77) + ) + (get_local $6) ) - (get_local $6) ) ) ) ) ) - ) - (if - (i32.eq - (get_local $12) - (i32.const 76) - ) - (block - (set_local $58 - (call $_fmt_u - (get_local $33) - (get_local $59) - (get_local $28) - ) - ) - (set_local $34 - (get_local $18) - ) - (set_local $32 - (get_local $10) - ) - (set_local $35 - (get_local $60) - ) - (set_local $36 - (get_local $61) - ) - (set_local $12 - (i32.const 77) - ) - ) (if (i32.eq (get_local $12) - (i32.const 82) + (i32.const 76) ) (block - (set_local $12 - (i32.const 0) - ) - (set_local $5 - (i32.eq - (tee_local $1 - (call $_memchr - (get_local $50) - (i32.const 0) - (get_local $10) - ) - ) - (i32.const 0) + (set_local $58 + (call $_fmt_u + (get_local $33) + (get_local $59) + (get_local $28) ) ) - (set_local $47 - (get_local $50) - ) - (set_local $37 - (get_local $7) + (set_local $34 + (get_local $18) ) - (set_local $42 - (select - (get_local $10) - (i32.sub - (get_local $1) - (get_local $50) - ) - (get_local $5) - ) + (set_local $32 + (get_local $10) ) - (set_local $43 - (i32.const 0) + (set_local $35 + (get_local $60) ) - (set_local $48 - (i32.const 4091) + (set_local $36 + (get_local $61) ) - (set_local $49 - (select - (i32.add - (get_local $50) - (get_local $10) - ) - (get_local $1) - (get_local $5) - ) + (set_local $12 + (i32.const 77) ) ) (if (i32.eq (get_local $12) - (i32.const 86) + (i32.const 82) ) (block (set_local $12 (i32.const 0) ) - (set_local $7 - (i32.const 0) - ) (set_local $5 - (i32.const 0) - ) - (set_local $6 - (i32.load - (get_local $19) - ) - ) - (loop $while-out$129 $while-in$130 - (if - (i32.eq - (tee_local $1 - (i32.load - (get_local $6) - ) - ) - (i32.const 0) - ) - (br $while-out$129) - ) - (if - (i32.or - (i32.lt_s - (tee_local $5 - (call $_wctomb - (get_local $63) - (get_local $1) - ) - ) + (i32.eq + (tee_local $1 + (call $_memchr + (get_local $50) (i32.const 0) + (get_local $10) ) - (i32.gt_u - (get_local $5) - (i32.sub - (get_local $69) - (get_local $7) - ) - ) - ) - (br $while-out$129) - ) - (set_local $6 - (i32.add - (get_local $6) - (i32.const 4) - ) - ) - (if - (i32.gt_u - (get_local $69) - (tee_local $1 - (i32.add - (get_local $5) - (get_local $7) - ) - ) - ) - (set_local $7 - (get_local $1) - ) - (block - (set_local $7 - (get_local $1) - ) - (br $while-out$129) ) + (i32.const 0) ) - (br $while-in$130) ) - (if - (i32.lt_s + (set_local $47 + (get_local $50) + ) + (set_local $37 + (get_local $7) + ) + (set_local $42 + (select + (get_local $10) + (i32.sub + (get_local $1) + (get_local $50) + ) (get_local $5) - (i32.const 0) ) - (block - (set_local $24 - (i32.const -1) + ) + (set_local $43 + (i32.const 0) + ) + (set_local $48 + (i32.const 4091) + ) + (set_local $49 + (select + (i32.add + (get_local $50) + (get_local $10) ) - (br $label$break$L1) + (get_local $1) + (get_local $5) ) ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $16) - (get_local $7) - (get_local $18) + ) + (if + (i32.eq + (get_local $12) + (i32.const 86) ) - (if - (i32.eq - (get_local $7) + (block + (set_local $12 (i32.const 0) ) - (block - (set_local $38 - (i32.const 0) - ) - (set_local $12 - (i32.const 98) - ) + (set_local $7 + (i32.const 0) ) - (block - (set_local $6 - (i32.const 0) - ) - (set_local $8 - (i32.load - (get_local $19) - ) + (set_local $5 + (i32.const 0) + ) + (set_local $6 + (i32.load + (get_local $19) ) - (loop $while-out$131 $while-in$132 + ) + (loop $while-in$130 + (block $while-out$129 (if (i32.eq (tee_local $1 (i32.load - (get_local $8) + (get_local $6) ) ) (i32.const 0) ) - (block - (set_local $38 - (get_local $7) + (br $while-out$129) + ) + (if + (i32.or + (i32.lt_s + (tee_local $5 + (call $_wctomb + (get_local $63) + (get_local $1) + ) + ) + (i32.const 0) ) - (set_local $12 - (i32.const 98) + (i32.gt_u + (get_local $5) + (i32.sub + (get_local $69) + (get_local $7) + ) ) - (br $label$break$L308) ) + (br $while-out$129) ) - (set_local $8 + (set_local $6 (i32.add - (get_local $8) + (get_local $6) (i32.const 4) ) ) (if - (i32.gt_s + (i32.gt_u + (get_local $69) (tee_local $1 (i32.add - (tee_local $5 - (call $_wctomb - (get_local $63) - (get_local $1) - ) - ) - (get_local $6) + (get_local $5) + (get_local $7) ) ) - (get_local $7) + ) + (set_local $7 + (get_local $1) ) (block - (set_local $38 - (get_local $7) - ) - (set_local $12 - (i32.const 98) + (set_local $7 + (get_local $1) ) - (br $label$break$L308) + (br $while-out$129) ) ) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) - ) - (i32.const 32) - ) - (i32.const 0) - ) - (call $___fwritex - (get_local $63) - (get_local $5) - (get_local $0) - ) + (br $while-in$130) + ) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (block + (set_local $24 + (i32.const -1) ) - (if - (i32.lt_u - (get_local $1) - (get_local $7) - ) - (set_local $6 - (get_local $1) + (br $label$break$L1) + ) + ) + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $16) + (get_local $7) + (get_local $18) + ) + (if + (i32.eq + (get_local $7) + (i32.const 0) + ) + (block + (set_local $38 + (i32.const 0) + ) + (set_local $12 + (i32.const 98) + ) + ) + (block + (set_local $6 + (i32.const 0) + ) + (set_local $8 + (i32.load + (get_local $19) ) - (block - (set_local $38 - (get_local $7) + ) + (loop $while-in$132 + (block $while-out$131 + (if + (i32.eq + (tee_local $1 + (i32.load + (get_local $8) + ) + ) + (i32.const 0) + ) + (block + (set_local $38 + (get_local $7) + ) + (set_local $12 + (i32.const 98) + ) + (br $label$break$L308) + ) ) - (set_local $12 - (i32.const 98) + (set_local $8 + (i32.add + (get_local $8) + (i32.const 4) + ) + ) + (if + (i32.gt_s + (tee_local $1 + (i32.add + (tee_local $5 + (call $_wctomb + (get_local $63) + (get_local $1) + ) + ) + (get_local $6) + ) + ) + (get_local $7) + ) + (block + (set_local $38 + (get_local $7) + ) + (set_local $12 + (i32.const 98) + ) + (br $label$break$L308) + ) + ) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + (i32.const 0) + ) + (call $___fwritex + (get_local $63) + (get_local $5) + (get_local $0) + ) + ) + (if + (i32.lt_u + (get_local $1) + (get_local $7) + ) + (set_local $6 + (get_local $1) + ) + (block + (set_local $38 + (get_local $7) + ) + (set_local $12 + (i32.const 98) + ) + (br $while-out$131) + ) ) - (br $while-out$131) + (br $while-in$132) ) ) - (br $while-in$132) ) ) ) @@ -8222,267 +8302,267 @@ ) ) ) - ) - (if - (i32.eq - (get_local $12) - (i32.const 98) - ) - (block - (set_local $12 - (i32.const 0) + (if + (i32.eq + (get_local $12) + (i32.const 98) ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $16) - (get_local $38) - (i32.xor - (get_local $18) - (i32.const 8192) + (block + (set_local $12 + (i32.const 0) ) - ) - (set_local $20 - (get_local $9) - ) - (set_local $1 - (select + (call $_pad + (get_local $0) + (i32.const 32) (get_local $16) (get_local $38) - (i32.gt_s + (i32.xor + (get_local $18) + (i32.const 8192) + ) + ) + (set_local $20 + (get_local $9) + ) + (set_local $1 + (select (get_local $16) (get_local $38) + (i32.gt_s + (get_local $16) + (get_local $38) + ) ) ) + (set_local $8 + (get_local $21) + ) + (br $label$continue$L1) ) - (set_local $8 - (get_local $21) - ) - (br $label$continue$L1) - ) - ) - (if - (i32.eq - (get_local $12) - (i32.const 77) ) - (block - (set_local $12 - (i32.const 0) + (if + (i32.eq + (get_local $12) + (i32.const 77) ) - (set_local $5 - (select - (i32.and - (get_local $34) - (i32.const -65537) - ) - (get_local $34) - (i32.gt_s - (get_local $32) - (i32.const -1) - ) + (block + (set_local $12 + (i32.const 0) ) - ) - (set_local $47 - (if - (i32.or - (i32.ne + (set_local $5 + (select + (i32.and + (get_local $34) + (i32.const -65537) + ) + (get_local $34) + (i32.gt_s (get_local $32) - (i32.const 0) + (i32.const -1) ) - (tee_local $1 - (i32.or - (i32.ne - (i32.load - (tee_local $1 - (get_local $19) + ) + ) + (set_local $47 + (if + (i32.or + (i32.ne + (get_local $32) + (i32.const 0) + ) + (tee_local $1 + (i32.or + (i32.ne + (i32.load + (tee_local $1 + (get_local $19) + ) ) + (i32.const 0) ) - (i32.const 0) - ) - (i32.ne - (i32.load offset=4 - (get_local $1) + (i32.ne + (i32.load offset=4 + (get_local $1) + ) + (i32.const 0) ) - (i32.const 0) ) ) ) - ) - (block - (set_local $7 - (i32.gt_s - (get_local $32) - (tee_local $1 - (i32.add - (i32.xor - (i32.and - (get_local $1) + (block + (set_local $7 + (i32.gt_s + (get_local $32) + (tee_local $1 + (i32.add + (i32.xor + (i32.and + (get_local $1) + (i32.const 1) + ) (i32.const 1) ) - (i32.const 1) - ) - (i32.sub - (get_local $71) - (get_local $58) + (i32.sub + (get_local $71) + (get_local $58) + ) ) ) ) ) - ) - (set_local $37 - (get_local $5) - ) - (set_local $42 - (select - (get_local $32) - (get_local $1) - (get_local $7) + (set_local $37 + (get_local $5) ) + (set_local $42 + (select + (get_local $32) + (get_local $1) + (get_local $7) + ) + ) + (set_local $43 + (get_local $35) + ) + (set_local $48 + (get_local $36) + ) + (set_local $49 + (get_local $28) + ) + (get_local $58) ) - (set_local $43 - (get_local $35) - ) - (set_local $48 - (get_local $36) - ) - (set_local $49 - (get_local $28) - ) - (get_local $58) - ) - (block - (set_local $37 - (get_local $5) - ) - (set_local $42 - (i32.const 0) - ) - (set_local $43 - (get_local $35) - ) - (set_local $48 - (get_local $36) - ) - (set_local $49 + (block + (set_local $37 + (get_local $5) + ) + (set_local $42 + (i32.const 0) + ) + (set_local $43 + (get_local $35) + ) + (set_local $48 + (get_local $36) + ) + (set_local $49 + (get_local $28) + ) (get_local $28) ) - (get_local $28) ) ) ) ) - ) - (set_local $1 - (i32.lt_s - (get_local $42) - (tee_local $7 - (i32.sub - (get_local $49) - (get_local $47) + (set_local $1 + (i32.lt_s + (get_local $42) + (tee_local $7 + (i32.sub + (get_local $49) + (get_local $47) + ) ) ) ) - ) - (set_local $5 - (i32.lt_s - (get_local $16) - (tee_local $1 - (i32.add - (get_local $43) - (tee_local $6 - (select - (get_local $7) - (get_local $42) - (get_local $1) + (set_local $5 + (i32.lt_s + (get_local $16) + (tee_local $1 + (i32.add + (get_local $43) + (tee_local $6 + (select + (get_local $7) + (get_local $42) + (get_local $1) + ) ) ) ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (tee_local $5 - (select - (get_local $1) - (get_local $16) - (get_local $5) + (call $_pad + (get_local $0) + (i32.const 32) + (tee_local $5 + (select + (get_local $1) + (get_local $16) + (get_local $5) + ) ) + (get_local $1) + (get_local $37) ) - (get_local $1) - (get_local $37) - ) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) + (i32.const 0) + ) + (call $___fwritex + (get_local $48) + (get_local $43) + (get_local $0) ) - (i32.const 0) ) - (call $___fwritex - (get_local $48) - (get_local $43) + (call $_pad (get_local $0) + (i32.const 48) + (get_local $5) + (get_local $1) + (i32.xor + (get_local $37) + (i32.const 65536) + ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (get_local $5) - (get_local $1) - (i32.xor - (get_local $37) - (i32.const 65536) + (call $_pad + (get_local $0) + (i32.const 48) + (get_local $6) + (get_local $7) + (i32.const 0) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (get_local $6) - (get_local $7) - (i32.const 0) - ) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) + (i32.const 0) + ) + (call $___fwritex + (get_local $47) + (get_local $7) + (get_local $0) + ) + ) + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $5) + (get_local $1) + (i32.xor + (get_local $37) + (i32.const 8192) ) - (i32.const 0) ) - (call $___fwritex - (get_local $47) - (get_local $7) - (get_local $0) + (set_local $20 + (get_local $9) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $5) - (get_local $1) - (i32.xor - (get_local $37) - (i32.const 8192) + (set_local $1 + (get_local $5) ) + (set_local $8 + (get_local $21) + ) + (br $label$continue$L1) ) - (set_local $20 - (get_local $9) - ) - (set_local $1 - (get_local $5) - ) - (set_local $8 - (get_local $21) - ) - (br $label$continue$L1) ) (block $label$break$L343 (if @@ -8507,102 +8587,106 @@ (set_local $1 (i32.const 1) ) - (loop $while-out$136 $while-in$137 - (if - (i32.eq - (tee_local $0 - (i32.load - (i32.add - (get_local $4) - (i32.shl - (get_local $1) - (i32.const 2) + (loop $while-in$137 + (block $while-out$136 + (if + (i32.eq + (tee_local $0 + (i32.load + (i32.add + (get_local $4) + (i32.shl + (get_local $1) + (i32.const 2) + ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (br $while-out$136) - ) - (call $_pop_arg_336 - (i32.add - (get_local $3) - (i32.shl - (get_local $1) - (i32.const 3) - ) + (br $while-out$136) ) - (get_local $0) - (get_local $2) - ) - (if - (i32.ge_s - (tee_local $1 - (i32.add + (call $_pop_arg_336 + (i32.add + (get_local $3) + (i32.shl (get_local $1) - (i32.const 1) + (i32.const 3) ) ) - (i32.const 10) + (get_local $0) + (get_local $2) ) - (block - (set_local $24 - (i32.const 1) + (if + (i32.ge_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) + ) + (i32.const 10) + ) + (block + (set_local $24 + (i32.const 1) + ) + (br $label$break$L343) ) - (br $label$break$L343) ) + (br $while-in$137) ) - (br $while-in$137) ) (if (i32.lt_s (get_local $1) (i32.const 10) ) - (loop $while-out$138 $while-in$139 - (set_local $0 - (i32.add - (get_local $1) - (i32.const 1) + (loop $while-in$139 + (block $while-out$138 + (set_local $0 + (i32.add + (get_local $1) + (i32.const 1) + ) ) - ) - (if - (i32.ne - (i32.load - (i32.add - (get_local $4) - (i32.shl - (get_local $1) - (i32.const 2) + (if + (i32.ne + (i32.load + (i32.add + (get_local $4) + (i32.shl + (get_local $1) + (i32.const 2) + ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $24 - (i32.const -1) + (block + (set_local $24 + (i32.const -1) + ) + (br $label$break$L343) ) - (br $label$break$L343) - ) - ) - (if - (i32.lt_s - (get_local $0) - (i32.const 10) - ) - (set_local $1 - (get_local $0) ) - (block - (set_local $24 - (i32.const 1) + (if + (i32.lt_s + (get_local $0) + (i32.const 10) + ) + (set_local $1 + (get_local $0) + ) + (block + (set_local $24 + (i32.const 1) + ) + (br $while-out$138) ) - (br $while-out$138) ) + (br $while-in$139) ) - (br $while-in$139) ) (set_local $24 (i32.const 1) @@ -9056,71 +9140,73 @@ (set_local $4 (get_local $1) ) - (loop $while-out$0 $while-in$1 - (set_local $0 - (call $___uremdi3 - (get_local $3) - (get_local $4) - (i32.const 10) - (i32.const 0) - ) - ) - (i32.store8 - (tee_local $2 - (i32.add - (get_local $2) - (i32.const -1) + (loop $while-in$1 + (block $while-out$0 + (set_local $0 + (call $___uremdi3 + (get_local $3) + (get_local $4) + (i32.const 10) + (i32.const 0) ) ) - (i32.and - (i32.or - (get_local $0) - (i32.const 48) + (i32.store8 + (tee_local $2 + (i32.add + (get_local $2) + (i32.const -1) + ) + ) + (i32.and + (i32.or + (get_local $0) + (i32.const 48) + ) + (i32.const 255) ) - (i32.const 255) - ) - ) - (set_local $0 - (call $___udivdi3 - (get_local $3) - (get_local $4) - (i32.const 10) - (i32.const 0) - ) - ) - (set_local $1 - (i32.load - (i32.const 168) ) - ) - (if - (i32.or - (i32.gt_u + (set_local $0 + (call $___udivdi3 + (get_local $3) (get_local $4) - (i32.const 9) + (i32.const 10) + (i32.const 0) ) - (i32.and - (i32.eq + ) + (set_local $1 + (i32.load + (i32.const 168) + ) + ) + (if + (i32.or + (i32.gt_u (get_local $4) (i32.const 9) ) - (i32.gt_u - (get_local $3) - (i32.const -1) + (i32.and + (i32.eq + (get_local $4) + (i32.const 9) + ) + (i32.gt_u + (get_local $3) + (i32.const -1) + ) ) ) - ) - (block - (set_local $3 - (get_local $0) - ) - (set_local $4 - (get_local $1) + (block + (set_local $3 + (get_local $0) + ) + (set_local $4 + (get_local $1) + ) ) + (br $while-out$0) ) - (br $while-out$0) + (br $while-in$1) ) - (br $while-in$1) ) (set_local $3 (get_local $0) @@ -9144,53 +9230,55 @@ (set_local $1 (get_local $0) ) - (loop $while-out$2 $while-in$3 - (i32.store8 - (tee_local $1 - (i32.add - (get_local $1) - (i32.const -1) + (loop $while-in$3 + (block $while-out$2 + (i32.store8 + (tee_local $1 + (i32.add + (get_local $1) + (i32.const -1) + ) + ) + (i32.and + (i32.or + (i32.and + (call_import $i32u-rem + (get_local $3) + (i32.const 10) + ) + (i32.const -1) + ) + (i32.const 48) + ) + (i32.const 255) ) ) - (i32.and - (i32.or - (i32.and - (call_import $i32u-rem - (get_local $3) - (i32.const 10) - ) - (i32.const -1) + (set_local $0 + (i32.and + (call_import $i32u-div + (get_local $3) + (i32.const 10) ) - (i32.const 48) + (i32.const -1) ) - (i32.const 255) ) - ) - (set_local $0 - (i32.and - (call_import $i32u-div + (if + (i32.lt_u (get_local $3) (i32.const 10) ) - (i32.const -1) - ) - ) - (if - (i32.lt_u - (get_local $3) - (i32.const 10) - ) - (block - (set_local $0 - (get_local $1) + (block + (set_local $0 + (get_local $1) + ) + (br $while-out$2) + ) + (set_local $3 + (get_local $0) ) - (br $while-out$2) - ) - (set_local $3 - (get_local $0) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) @@ -9294,46 +9382,48 @@ (set_local $3 (get_local $5) ) - (loop $while-out$2 $while-in$3 - (set_local $4 - (i32.eq - (i32.and - (tee_local $1 - (if - (get_local $4) - (block - (drop - (call $___fwritex - (get_local $6) - (i32.const 256) + (loop $while-in$3 + (block $while-out$2 + (set_local $4 + (i32.eq + (i32.and + (tee_local $1 + (if + (get_local $4) + (block + (drop + (call $___fwritex + (get_local $6) + (i32.const 256) + (get_local $0) + ) + ) + (i32.load (get_local $0) ) ) - (i32.load - (get_local $0) - ) + (get_local $1) ) - (get_local $1) ) + (i32.const 32) ) - (i32.const 32) + (i32.const 0) ) - (i32.const 0) ) - ) - (if - (i32.le_u - (tee_local $3 - (i32.add - (get_local $3) - (i32.const -256) + (if + (i32.le_u + (tee_local $3 + (i32.add + (get_local $3) + (i32.const -256) + ) ) + (i32.const 255) ) - (i32.const 255) + (br $while-out$2) ) - (br $while-out$2) + (br $while-in$3) ) - (br $while-in$3) ) (set_local $1 (i32.and @@ -10099,76 +10189,78 @@ (set_local $8 (get_local $0) ) - (loop $while-out$23 $while-in$24 - (if - (i32.eq - (tee_local $0 - (i32.load offset=16 - (get_local $4) - ) - ) - (i32.const 0) - ) + (loop $while-in$24 + (block $while-out$23 (if (i32.eq (tee_local $0 - (i32.load offset=20 + (i32.load offset=16 (get_local $4) ) ) (i32.const 0) ) - (block - (set_local $7 - (get_local $2) + (if + (i32.eq + (tee_local $0 + (i32.load offset=20 + (get_local $4) + ) + ) + (i32.const 0) ) - (set_local $10 - (get_local $8) + (block + (set_local $7 + (get_local $2) + ) + (set_local $10 + (get_local $8) + ) + (br $while-out$23) + ) + (set_local $1 + (get_local $0) ) - (br $while-out$23) ) (set_local $1 (get_local $0) ) ) - (set_local $1 - (get_local $0) - ) - ) - (set_local $0 - (i32.lt_u - (tee_local $4 - (i32.sub - (i32.and - (i32.load offset=4 - (get_local $1) + (set_local $0 + (i32.lt_u + (tee_local $4 + (i32.sub + (i32.and + (i32.load offset=4 + (get_local $1) + ) + (i32.const -8) ) - (i32.const -8) + (get_local $6) ) - (get_local $6) ) + (get_local $2) ) - (get_local $2) ) - ) - (set_local $2 - (select - (get_local $4) - (get_local $2) - (get_local $0) + (set_local $2 + (select + (get_local $4) + (get_local $2) + (get_local $0) + ) ) - ) - (set_local $4 - (get_local $1) - ) - (set_local $8 - (select + (set_local $4 (get_local $1) - (get_local $8) - (get_local $0) ) + (set_local $8 + (select + (get_local $1) + (get_local $8) + (get_local $0) + ) + ) + (br $while-in$24) ) - (br $while-in$24) ) (if (i32.lt_u @@ -10251,56 +10343,58 @@ (get_local $2) ) ) - (loop $while-out$27 $while-in$28 - (if - (i32.ne - (tee_local $2 - (i32.load - (tee_local $5 - (i32.add - (get_local $4) - (i32.const 20) + (loop $while-in$28 + (block $while-out$27 + (if + (i32.ne + (tee_local $2 + (i32.load + (tee_local $5 + (i32.add + (get_local $4) + (i32.const 20) + ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $4 - (get_local $2) - ) - (set_local $8 - (get_local $5) + (block + (set_local $4 + (get_local $2) + ) + (set_local $8 + (get_local $5) + ) + (br $while-in$28) ) - (br $while-in$28) ) - ) - (if - (i32.eq - (tee_local $2 - (i32.load - (tee_local $5 - (i32.add - (get_local $4) - (i32.const 16) + (if + (i32.eq + (tee_local $2 + (i32.load + (tee_local $5 + (i32.add + (get_local $4) + (i32.const 16) + ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (br $while-out$27) - (block - (set_local $4 - (get_local $2) - ) - (set_local $8 - (get_local $5) + (br $while-out$27) + (block + (set_local $4 + (get_local $2) + ) + (set_local $8 + (get_local $5) + ) ) ) + (br $while-in$28) ) - (br $while-in$28) ) (if (i32.lt_u @@ -10940,83 +11034,85 @@ (set_local $36 (i32.const 0) ) - (loop $while-out$3 $while-in$4 - (if - (i32.lt_u - (tee_local $16 - (i32.sub - (tee_local $3 - (i32.and - (i32.load offset=4 - (get_local $23) - ) - (i32.const -8) - ) - ) - (get_local $5) - ) - ) - (get_local $7) - ) + (loop $while-in$4 + (block $while-out$3 (if - (i32.eq - (get_local $3) - (get_local $5) + (i32.lt_u + (tee_local $16 + (i32.sub + (tee_local $3 + (i32.and + (i32.load offset=4 + (get_local $23) + ) + (i32.const -8) + ) + ) + (get_local $5) + ) + ) + (get_local $7) ) - (block - (set_local $26 - (get_local $16) + (if + (i32.eq + (get_local $3) + (get_local $5) ) - (set_local $24 - (get_local $23) + (block + (set_local $26 + (get_local $16) + ) + (set_local $24 + (get_local $23) + ) + (set_local $29 + (get_local $23) + ) + (set_local $11 + (i32.const 90) + ) + (br $label$break$L123) ) - (set_local $29 + (set_local $36 (get_local $23) ) - (set_local $11 - (i32.const 90) - ) - (br $label$break$L123) ) - (set_local $36 - (get_local $23) + (set_local $16 + (get_local $7) ) ) - (set_local $16 - (get_local $7) - ) - ) - (set_local $7 - (i32.eq - (tee_local $3 - (i32.load offset=20 - (get_local $23) + (set_local $7 + (i32.eq + (tee_local $3 + (i32.load offset=20 + (get_local $23) + ) ) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $15 - (select - (get_local $15) - (get_local $3) - (i32.or - (get_local $7) - (i32.eq - (get_local $3) - (tee_local $3 - (i32.load - (i32.add + (set_local $15 + (select + (get_local $15) + (get_local $3) + (i32.or + (get_local $7) + (i32.eq + (get_local $3) + (tee_local $3 + (i32.load (i32.add - (get_local $23) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $11) - (i32.const 31) + (i32.add + (get_local $23) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $11) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) @@ -11024,51 +11120,51 @@ ) ) ) - ) - (set_local $11 - (i32.shl - (get_local $11) - (i32.xor - (i32.and - (tee_local $7 - (i32.eq - (get_local $3) - (i32.const 0) + (set_local $11 + (i32.shl + (get_local $11) + (i32.xor + (i32.and + (tee_local $7 + (i32.eq + (get_local $3) + (i32.const 0) + ) ) + (i32.const 1) ) (i32.const 1) ) - (i32.const 1) - ) - ) - ) - (if - (get_local $7) - (block - (set_local $31 - (get_local $16) - ) - (set_local $32 - (get_local $15) - ) - (set_local $28 - (get_local $36) - ) - (set_local $11 - (i32.const 86) ) - (br $while-out$3) ) - (block - (set_local $7 - (get_local $16) + (if + (get_local $7) + (block + (set_local $31 + (get_local $16) + ) + (set_local $32 + (get_local $15) + ) + (set_local $28 + (get_local $36) + ) + (set_local $11 + (i32.const 86) + ) + (br $while-out$3) ) - (set_local $23 - (get_local $3) + (block + (set_local $7 + (get_local $16) + ) + (set_local $23 + (get_local $3) + ) ) ) + (br $while-in$4) ) - (br $while-in$4) ) ) ) @@ -11255,90 +11351,92 @@ (get_local $11) (i32.const 90) ) - (loop $while-out$5 $while-in$6 - (set_local $11 - (i32.const 0) - ) - (set_local $0 - (i32.lt_u - (tee_local $3 - (i32.sub - (i32.and - (i32.load offset=4 - (get_local $24) + (loop $while-in$6 + (block $while-out$5 + (set_local $11 + (i32.const 0) + ) + (set_local $0 + (i32.lt_u + (tee_local $3 + (i32.sub + (i32.and + (i32.load offset=4 + (get_local $24) + ) + (i32.const -8) ) - (i32.const -8) + (get_local $5) ) - (get_local $5) ) + (get_local $26) ) - (get_local $26) - ) - ) - (set_local $17 - (select - (get_local $3) - (get_local $26) - (get_local $0) ) - ) - (set_local $3 - (select - (get_local $24) - (get_local $29) - (get_local $0) - ) - ) - (if - (i32.ne - (tee_local $0 - (i32.load offset=16 - (get_local $24) - ) + (set_local $17 + (select + (get_local $3) + (get_local $26) + (get_local $0) ) - (i32.const 0) ) - (block - (set_local $26 - (get_local $17) - ) - (set_local $24 + (set_local $3 + (select + (get_local $24) + (get_local $29) (get_local $0) ) - (set_local $29 - (get_local $3) - ) - (br $while-in$6) ) - ) - (if - (i32.eq - (tee_local $0 - (i32.load offset=20 - (get_local $24) + (if + (i32.ne + (tee_local $0 + (i32.load offset=16 + (get_local $24) + ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $13 - (get_local $3) + (block + (set_local $26 + (get_local $17) + ) + (set_local $24 + (get_local $0) + ) + (set_local $29 + (get_local $3) + ) + (br $while-in$6) ) - (br $while-out$5) ) - (block - (set_local $26 - (get_local $17) + (if + (i32.eq + (tee_local $0 + (i32.load offset=20 + (get_local $24) + ) + ) + (i32.const 0) ) - (set_local $24 - (get_local $0) + (block + (set_local $13 + (get_local $3) + ) + (br $while-out$5) ) - (set_local $29 - (get_local $3) + (block + (set_local $26 + (get_local $17) + ) + (set_local $24 + (get_local $0) + ) + (set_local $29 + (get_local $3) + ) ) ) + (br $while-in$6) ) - (br $while-in$6) ) ) (if @@ -11440,57 +11538,59 @@ (set_local $8 (get_local $2) ) - ) - (loop $while-out$9 $while-in$10 - (if - (i32.ne - (tee_local $2 - (i32.load - (tee_local $7 - (i32.add - (get_local $8) - (i32.const 20) - ) - ) - ) - ) - (i32.const 0) - ) - (block - (set_local $8 - (get_local $2) - ) - (set_local $9 - (get_local $7) - ) - (br $while-in$10) - ) - ) - (if - (i32.eq - (tee_local $2 - (i32.load - (tee_local $7 - (i32.add - (get_local $8) - (i32.const 16) + ) + (loop $while-in$10 + (block $while-out$9 + (if + (i32.ne + (tee_local $2 + (i32.load + (tee_local $7 + (i32.add + (get_local $8) + (i32.const 20) + ) ) ) ) + (i32.const 0) + ) + (block + (set_local $8 + (get_local $2) + ) + (set_local $9 + (get_local $7) + ) + (br $while-in$10) ) - (i32.const 0) ) - (br $while-out$9) - (block - (set_local $8 - (get_local $2) + (if + (i32.eq + (tee_local $2 + (i32.load + (tee_local $7 + (i32.add + (get_local $8) + (i32.const 16) + ) + ) + ) + ) + (i32.const 0) ) - (set_local $9 - (get_local $7) + (br $while-out$9) + (block + (set_local $8 + (get_local $2) + ) + (set_local $9 + (get_local $7) + ) ) ) + (br $while-in$10) ) - (br $while-in$10) ) (if (i32.lt_u @@ -12099,78 +12199,80 @@ (get_local $2) ) ) - (loop $while-out$17 $while-in$18 - (if - (i32.eq - (i32.and - (i32.load offset=4 + (loop $while-in$18 + (block $while-out$17 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $2) + ) + (i32.const -8) + ) + (get_local $17) + ) + (block + (set_local $22 (get_local $2) ) - (i32.const -8) + (set_local $11 + (i32.const 148) + ) + (br $while-out$17) ) - (get_local $17) ) - (block - (set_local $22 - (get_local $2) - ) - (set_local $11 - (i32.const 148) + (set_local $4 + (i32.shl + (get_local $1) + (i32.const 1) ) - (br $while-out$17) - ) - ) - (set_local $4 - (i32.shl - (get_local $1) - (i32.const 1) ) - ) - (if - (i32.eq - (tee_local $0 - (i32.load - (tee_local $1 - (i32.add + (if + (i32.eq + (tee_local $0 + (i32.load + (tee_local $1 (i32.add - (get_local $2) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $1) - (i32.const 31) + (i32.add + (get_local $2) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $25 - (get_local $2) - ) - (set_local $37 - (get_local $1) - ) - (set_local $11 - (i32.const 145) - ) - (br $while-out$17) - ) - (block - (set_local $1 - (get_local $4) + (block + (set_local $25 + (get_local $2) + ) + (set_local $37 + (get_local $1) + ) + (set_local $11 + (i32.const 145) + ) + (br $while-out$17) ) - (set_local $2 - (get_local $0) + (block + (set_local $1 + (get_local $4) + ) + (set_local $2 + (get_local $0) + ) ) ) + (br $while-in$18) ) - (br $while-in$18) ) (if (i32.eq @@ -12609,62 +12711,64 @@ (set_local $16 (i32.const 624) ) - (loop $while-out$37 $while-in$38 - (if - (i32.le_u - (tee_local $4 - (i32.load - (get_local $16) - ) - ) - (get_local $0) - ) + (loop $while-in$38 + (block $while-out$37 (if - (i32.gt_u - (i32.add - (get_local $4) + (i32.le_u + (tee_local $4 (i32.load - (tee_local $3 - (i32.add - (get_local $16) - (i32.const 4) - ) - ) + (get_local $16) ) ) (get_local $0) ) - (block - (set_local $4 - (get_local $16) + (if + (i32.gt_u + (i32.add + (get_local $4) + (i32.load + (tee_local $3 + (i32.add + (get_local $16) + (i32.const 4) + ) + ) + ) + ) + (get_local $0) ) - (set_local $16 - (get_local $3) + (block + (set_local $4 + (get_local $16) + ) + (set_local $16 + (get_local $3) + ) + (br $while-out$37) ) - (br $while-out$37) ) ) - ) - (if - (i32.eq - (tee_local $4 - (i32.load offset=8 - (get_local $16) + (if + (i32.eq + (tee_local $4 + (i32.load offset=8 + (get_local $16) + ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $11 - (i32.const 173) + (block + (set_local $11 + (i32.const 173) + ) + (br $label$break$L259) + ) + (set_local $16 + (get_local $4) ) - (br $label$break$L259) - ) - (set_local $16 - (get_local $4) ) + (br $while-in$38) ) - (br $while-in$38) ) (if (i32.lt_u @@ -13125,39 +13229,41 @@ (set_local $1 (i32.const 0) ) - (loop $while-out$77 $while-in$78 - (i32.store offset=12 - (tee_local $0 - (i32.add - (i32.const 216) - (i32.shl + (loop $while-in$78 + (block $while-out$77 + (i32.store offset=12 + (tee_local $0 + (i32.add + (i32.const 216) (i32.shl - (get_local $1) - (i32.const 1) + (i32.shl + (get_local $1) + (i32.const 1) + ) + (i32.const 2) ) - (i32.const 2) ) ) + (get_local $0) ) - (get_local $0) - ) - (i32.store offset=8 - (get_local $0) - (get_local $0) - ) - (if - (i32.eq - (tee_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (i32.store offset=8 + (get_local $0) + (get_local $0) + ) + (if + (i32.eq + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) ) + (i32.const 32) ) - (i32.const 32) + (br $while-out$77) ) - (br $while-out$77) + (br $while-in$78) ) - (br $while-in$78) ) (set_local $1 (i32.eq @@ -13231,62 +13337,64 @@ (set_local $7 (i32.const 624) ) - (loop $while-out$46 $while-in$47 - (if - (i32.eq - (get_local $14) - (i32.add - (tee_local $4 - (i32.load - (get_local $7) + (loop $while-in$47 + (block $while-out$46 + (if + (i32.eq + (get_local $14) + (i32.add + (tee_local $4 + (i32.load + (get_local $7) + ) ) - ) - (tee_local $3 - (i32.load - (tee_local $5 - (i32.add - (get_local $7) - (i32.const 4) + (tee_local $3 + (i32.load + (tee_local $5 + (i32.add + (get_local $7) + (i32.const 4) + ) ) ) ) ) ) + (block + (set_local $1 + (get_local $4) + ) + (set_local $2 + (get_local $3) + ) + (set_local $42 + (get_local $5) + ) + (set_local $43 + (get_local $7) + ) + (set_local $11 + (i32.const 203) + ) + (br $while-out$46) + ) ) - (block - (set_local $1 - (get_local $4) - ) - (set_local $2 - (get_local $3) - ) - (set_local $42 - (get_local $5) - ) - (set_local $43 - (get_local $7) - ) - (set_local $11 - (i32.const 203) + (if + (i32.eq + (tee_local $4 + (i32.load offset=8 + (get_local $7) + ) + ) + (i32.const 0) ) (br $while-out$46) - ) - ) - (if - (i32.eq - (tee_local $4 - (i32.load offset=8 - (get_local $7) - ) + (set_local $7 + (get_local $4) ) - (i32.const 0) - ) - (br $while-out$46) - (set_local $7 - (get_local $4) ) + (br $while-in$47) ) - (br $while-in$47) ) (if (i32.eq @@ -13427,44 +13535,46 @@ (set_local $1 (i32.const 624) ) - (loop $while-out$48 $while-in$49 - (if - (i32.eq - (i32.load - (get_local $1) - ) - (get_local $3) - ) - (block - (set_local $44 - (get_local $1) - ) - (set_local $38 - (get_local $1) - ) - (set_local $11 - (i32.const 211) + (loop $while-in$49 + (block $while-out$48 + (if + (i32.eq + (i32.load + (get_local $1) + ) + (get_local $3) ) - (br $while-out$48) - ) - ) - (if - (i32.eq - (tee_local $1 - (i32.load offset=8 + (block + (set_local $44 + (get_local $1) + ) + (set_local $38 (get_local $1) ) + (set_local $11 + (i32.const 211) + ) + (br $while-out$48) ) - (i32.const 0) ) - (block - (set_local $27 - (i32.const 624) + (if + (i32.eq + (tee_local $1 + (i32.load offset=8 + (get_local $1) + ) + ) + (i32.const 0) + ) + (block + (set_local $27 + (i32.const 624) + ) + (br $while-out$48) ) - (br $while-out$48) ) + (br $while-in$49) ) - (br $while-in$49) ) (if (i32.eq @@ -13880,56 +13990,58 @@ (get_local $1) ) ) - (loop $while-out$55 $while-in$56 - (if - (i32.ne - (tee_local $1 - (i32.load - (tee_local $20 - (i32.add - (get_local $2) - (i32.const 20) + (loop $while-in$56 + (block $while-out$55 + (if + (i32.ne + (tee_local $1 + (i32.load + (tee_local $20 + (i32.add + (get_local $2) + (i32.const 20) + ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $2 - (get_local $1) - ) - (set_local $9 - (get_local $20) + (block + (set_local $2 + (get_local $1) + ) + (set_local $9 + (get_local $20) + ) + (br $while-in$56) ) - (br $while-in$56) ) - ) - (if - (i32.eq - (tee_local $1 - (i32.load - (tee_local $20 - (i32.add - (get_local $2) - (i32.const 16) + (if + (i32.eq + (tee_local $1 + (i32.load + (tee_local $20 + (i32.add + (get_local $2) + (i32.const 16) + ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (br $while-out$55) - (block - (set_local $2 - (get_local $1) - ) - (set_local $9 - (get_local $20) + (br $while-out$55) + (block + (set_local $2 + (get_local $1) + ) + (set_local $9 + (get_local $20) + ) ) ) + (br $while-in$56) ) - (br $while-in$56) ) (if (i32.lt_u @@ -14530,78 +14642,80 @@ (get_local $2) ) ) - (loop $while-out$69 $while-in$70 - (if - (i32.eq - (i32.and - (i32.load offset=4 + (loop $while-in$70 + (block $while-out$69 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $2) + ) + (i32.const -8) + ) + (get_local $4) + ) + (block + (set_local $34 (get_local $2) ) - (i32.const -8) + (set_local $11 + (i32.const 281) + ) + (br $while-out$69) ) - (get_local $4) ) - (block - (set_local $34 - (get_local $2) - ) - (set_local $11 - (i32.const 281) + (set_local $8 + (i32.shl + (get_local $1) + (i32.const 1) ) - (br $while-out$69) - ) - ) - (set_local $8 - (i32.shl - (get_local $1) - (i32.const 1) ) - ) - (if - (i32.eq - (tee_local $0 - (i32.load - (tee_local $1 - (i32.add + (if + (i32.eq + (tee_local $0 + (i32.load + (tee_local $1 (i32.add - (get_local $2) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $1) - (i32.const 31) + (i32.add + (get_local $2) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $45 - (get_local $2) - ) - (set_local $40 - (get_local $1) - ) - (set_local $11 - (i32.const 278) - ) - (br $while-out$69) - ) - (block - (set_local $1 - (get_local $8) + (block + (set_local $45 + (get_local $2) + ) + (set_local $40 + (get_local $1) + ) + (set_local $11 + (i32.const 278) + ) + (br $while-out$69) ) - (set_local $2 - (get_local $0) + (block + (set_local $1 + (get_local $8) + ) + (set_local $2 + (get_local $0) + ) ) ) + (br $while-in$70) ) - (br $while-in$70) ) (if (i32.eq @@ -14705,42 +14819,44 @@ ) ) ) - (loop $while-out$71 $while-in$72 - (if - (i32.le_u - (tee_local $1 - (i32.load - (get_local $27) - ) - ) - (get_local $0) - ) + (loop $while-in$72 + (block $while-out$71 (if - (i32.gt_u + (i32.le_u (tee_local $1 - (i32.add - (get_local $1) - (i32.load offset=4 - (get_local $27) - ) + (i32.load + (get_local $27) ) ) (get_local $0) ) - (block - (set_local $2 - (get_local $1) + (if + (i32.gt_u + (tee_local $1 + (i32.add + (get_local $1) + (i32.load offset=4 + (get_local $27) + ) + ) + ) + (get_local $0) + ) + (block + (set_local $2 + (get_local $1) + ) + (br $while-out$71) ) - (br $while-out$71) ) ) - ) - (set_local $27 - (i32.load offset=8 - (get_local $27) + (set_local $27 + (i32.load offset=8 + (get_local $27) + ) ) + (br $while-in$72) ) - (br $while-in$72) ) (set_local $8 (i32.eq @@ -14921,27 +15037,29 @@ (i32.const 24) ) ) - (loop $while-out$73 $while-in$74 - (i32.store - (tee_local $1 - (i32.add - (get_local $1) - (i32.const 4) + (loop $while-in$74 + (block $while-out$73 + (i32.store + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 4) + ) ) + (i32.const 7) ) - (i32.const 7) - ) - (if - (i32.ge_u - (i32.add - (get_local $1) - (i32.const 4) + (if + (i32.ge_u + (i32.add + (get_local $1) + (i32.const 4) + ) + (get_local $2) ) - (get_local $2) + (br $while-out$73) ) - (br $while-out$73) + (br $while-in$74) ) - (br $while-in$74) ) (if (i32.ne @@ -15272,78 +15390,80 @@ (get_local $4) ) ) - (loop $while-out$75 $while-in$76 - (if - (i32.eq - (i32.and - (i32.load offset=4 + (loop $while-in$76 + (block $while-out$75 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $4) + ) + (i32.const -8) + ) + (get_local $3) + ) + (block + (set_local $35 (get_local $4) ) - (i32.const -8) + (set_local $11 + (i32.const 307) + ) + (br $while-out$75) ) - (get_local $3) ) - (block - (set_local $35 - (get_local $4) - ) - (set_local $11 - (i32.const 307) + (set_local $8 + (i32.shl + (get_local $2) + (i32.const 1) ) - (br $while-out$75) - ) - ) - (set_local $8 - (i32.shl - (get_local $2) - (i32.const 1) ) - ) - (if - (i32.eq - (tee_local $1 - (i32.load - (tee_local $2 - (i32.add + (if + (i32.eq + (tee_local $1 + (i32.load + (tee_local $2 (i32.add - (get_local $4) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $2) - (i32.const 31) + (i32.add + (get_local $4) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $46 - (get_local $4) - ) - (set_local $41 - (get_local $2) - ) - (set_local $11 - (i32.const 304) - ) - (br $while-out$75) - ) - (block - (set_local $2 - (get_local $8) + (block + (set_local $46 + (get_local $4) + ) + (set_local $41 + (get_local $2) + ) + (set_local $11 + (i32.const 304) + ) + (br $while-out$75) ) - (set_local $4 - (get_local $1) + (block + (set_local $2 + (get_local $8) + ) + (set_local $4 + (get_local $1) + ) ) ) + (br $while-in$76) ) - (br $while-in$76) ) (if (i32.eq @@ -15881,56 +16001,58 @@ (get_local $0) ) ) - (loop $while-out$4 $while-in$5 - (if - (i32.ne - (tee_local $0 - (i32.load - (tee_local $13 - (i32.add - (get_local $2) - (i32.const 20) + (loop $while-in$5 + (block $while-out$4 + (if + (i32.ne + (tee_local $0 + (i32.load + (tee_local $13 + (i32.add + (get_local $2) + (i32.const 20) + ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $2 - (get_local $0) - ) - (set_local $7 - (get_local $13) + (block + (set_local $2 + (get_local $0) + ) + (set_local $7 + (get_local $13) + ) + (br $while-in$5) ) - (br $while-in$5) ) - ) - (if - (i32.eq - (tee_local $0 - (i32.load - (tee_local $13 - (i32.add - (get_local $2) - (i32.const 16) + (if + (i32.eq + (tee_local $0 + (i32.load + (tee_local $13 + (i32.add + (get_local $2) + (i32.const 16) + ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (br $while-out$4) - (block - (set_local $2 - (get_local $0) - ) - (set_local $7 - (get_local $13) + (br $while-out$4) + (block + (set_local $2 + (get_local $0) + ) + (set_local $7 + (get_local $13) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (if (i32.lt_u @@ -16555,56 +16677,58 @@ (get_local $1) ) ) - (loop $while-out$12 $while-in$13 - (if - (i32.ne - (tee_local $1 - (i32.load - (tee_local $7 - (i32.add - (get_local $2) - (i32.const 20) + (loop $while-in$13 + (block $while-out$12 + (if + (i32.ne + (tee_local $1 + (i32.load + (tee_local $7 + (i32.add + (get_local $2) + (i32.const 20) + ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $2 - (get_local $1) - ) - (set_local $8 - (get_local $7) + (block + (set_local $2 + (get_local $1) + ) + (set_local $8 + (get_local $7) + ) + (br $while-in$13) ) - (br $while-in$13) ) - ) - (if - (i32.eq - (tee_local $1 - (i32.load - (tee_local $7 - (i32.add - (get_local $2) - (i32.const 16) + (if + (i32.eq + (tee_local $1 + (i32.load + (tee_local $7 + (i32.add + (get_local $2) + (i32.const 16) + ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (br $while-out$12) - (block - (set_local $2 - (get_local $1) - ) - (set_local $8 - (get_local $7) + (br $while-out$12) + (block + (set_local $2 + (get_local $1) + ) + (set_local $8 + (get_local $7) + ) ) ) + (br $while-in$13) ) - (br $while-in$13) ) (if (i32.lt_u @@ -17212,78 +17336,80 @@ (get_local $1) ) ) - (loop $while-out$18 $while-in$19 - (if - (i32.eq - (i32.and - (i32.load offset=4 + (loop $while-in$19 + (block $while-out$18 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $1) + ) + (i32.const -8) + ) + (get_local $5) + ) + (block + (set_local $15 (get_local $1) ) - (i32.const -8) + (set_local $0 + (i32.const 130) + ) + (br $while-out$18) ) - (get_local $5) ) - (block - (set_local $15 - (get_local $1) - ) - (set_local $0 - (i32.const 130) + (set_local $2 + (i32.shl + (get_local $6) + (i32.const 1) ) - (br $while-out$18) ) - ) - (set_local $2 - (i32.shl - (get_local $6) - (i32.const 1) - ) - ) - (if - (i32.eq - (tee_local $0 - (i32.load - (tee_local $6 - (i32.add + (if + (i32.eq + (tee_local $0 + (i32.load + (tee_local $6 (i32.add - (get_local $1) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $6) - (i32.const 31) + (i32.add + (get_local $1) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $6) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $18 - (get_local $1) - ) - (set_local $17 - (get_local $6) - ) - (set_local $0 - (i32.const 127) - ) - (br $while-out$18) - ) - (block - (set_local $6 - (get_local $2) + (block + (set_local $18 + (get_local $1) + ) + (set_local $17 + (get_local $6) + ) + (set_local $0 + (i32.const 127) + ) + (br $while-out$18) ) - (set_local $1 - (get_local $0) + (block + (set_local $6 + (get_local $2) + ) + (set_local $1 + (get_local $0) + ) ) ) + (br $while-in$19) ) - (br $while-in$19) ) (if (i32.eq @@ -17395,28 +17521,30 @@ ) (return) ) - (loop $while-out$20 $while-in$21 - (set_local $0 - (i32.eq - (tee_local $6 - (i32.load - (get_local $6) + (loop $while-in$21 + (block $while-out$20 + (set_local $0 + (i32.eq + (tee_local $6 + (i32.load + (get_local $6) + ) ) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $6 - (i32.add - (get_local $6) - (i32.const 8) + (set_local $6 + (i32.add + (get_local $6) + (i32.const 8) + ) ) + (if + (get_local $0) + (br $while-out$20) + ) + (br $while-in$21) ) - (if - (get_local $0) - (br $while-out$20) - ) - (br $while-in$21) ) (i32.store (i32.const 208) @@ -17532,66 +17660,72 @@ (get_local $3) ) ) - (loop $while-out$0 $while-in$1 - (br_if $while-out$0 - (i32.ge_s - (get_local $0) - (get_local $3) + (loop $while-in$1 + (block $while-out$0 + (br_if $while-out$0 + (i32.ge_s + (get_local $0) + (get_local $3) + ) ) - ) - (i32.store8 - (get_local $0) - (get_local $1) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (get_local $1) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) + (br $while-in$1) ) - (br $while-in$1) ) ) ) - (loop $while-out$2 $while-in$3 - (br_if $while-out$2 - (i32.ge_s - (get_local $0) - (get_local $6) + (loop $while-in$3 + (block $while-out$2 + (br_if $while-out$2 + (i32.ge_s + (get_local $0) + (get_local $6) + ) ) - ) - (i32.store - (get_local $0) - (get_local $5) - ) - (set_local $0 - (i32.add + (i32.store (get_local $0) - (i32.const 4) + (get_local $5) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 4) + ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (br_if $while-out$4 - (i32.ge_s - (get_local $0) - (get_local $4) + (loop $while-in$5 + (block $while-out$4 + (br_if $while-out$4 + (i32.ge_s + (get_local $0) + (get_local $4) + ) ) - ) - (i32.store8 - (get_local $0) - (get_local $1) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (get_local $1) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) + (br $while-in$5) ) - (br $while-in$5) ) (i32.sub (get_local $0) @@ -17738,117 +17872,123 @@ ) ) (block - (loop $while-out$0 $while-in$1 - (br_if $while-out$0 - (i32.eqz - (i32.and - (get_local $0) - (i32.const 3) + (loop $while-in$1 + (block $while-out$0 + (br_if $while-out$0 + (i32.eqz + (i32.and + (get_local $0) + (i32.const 3) + ) ) ) - ) - (if - (i32.eq - (get_local $2) - (i32.const 0) - ) - (return - (get_local $3) - ) - ) - (i32.store8 - (get_local $0) - (i32.load8_s - (get_local $1) + (if + (i32.eq + (get_local $2) + (i32.const 0) + ) + (return + (get_local $3) + ) ) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (i32.load8_s + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) ) - ) - (br $while-in$1) - ) - (loop $while-out$2 $while-in$3 - (br_if $while-out$2 - (i32.lt_s - (get_local $2) - (i32.const 4) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) ) + (br $while-in$1) ) - (i32.store - (get_local $0) - (i32.load - (get_local $1) + ) + (loop $while-in$3 + (block $while-out$2 + (br_if $while-out$2 + (i32.lt_s + (get_local $2) + (i32.const 4) + ) ) - ) - (set_local $0 - (i32.add + (i32.store (get_local $0) - (i32.const 4) + (i32.load + (get_local $1) + ) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 4) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 4) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 4) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 4) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 4) + ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (br_if $while-out$4 - (i32.le_s - (get_local $2) - (i32.const 0) - ) - ) - (i32.store8 - (get_local $0) - (i32.load8_s - (get_local $1) + (loop $while-in$5 + (block $while-out$4 + (br_if $while-out$4 + (i32.le_s + (get_local $2) + (i32.const 0) + ) ) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (i32.load8_s + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) ) + (br $while-in$5) ) - (br $while-in$5) ) (get_local $3) ) @@ -19166,152 +19306,154 @@ (set_local $0 (i32.const 0) ) - (loop $while-out$2 $while-in$3 - (set_local $6 - (i32.or - (i32.shr_u - (get_local $10) - (i32.const 31) - ) - (i32.shl - (get_local $9) - (i32.const 1) + (loop $while-in$3 + (block $while-out$2 + (set_local $6 + (i32.or + (i32.shr_u + (get_local $10) + (i32.const 31) + ) + (i32.shl + (get_local $9) + (i32.const 1) + ) ) ) - ) - (set_local $10 - (i32.or - (get_local $0) - (i32.shl - (get_local $10) - (i32.const 1) + (set_local $10 + (i32.or + (get_local $0) + (i32.shl + (get_local $10) + (i32.const 1) + ) ) ) - ) - (drop - (call $_i64Subtract - (get_local $3) - (get_local $8) - (tee_local $0 - (i32.or - (i32.const 0) + (drop + (call $_i64Subtract + (get_local $3) + (get_local $8) + (tee_local $0 (i32.or - (i32.shl - (get_local $11) - (i32.const 1) + (i32.const 0) + (i32.or + (i32.shl + (get_local $11) + (i32.const 1) + ) + (i32.shr_u + (get_local $9) + (i32.const 31) + ) ) + ) + ) + (tee_local $9 + (i32.or (i32.shr_u - (get_local $9) + (get_local $11) (i32.const 31) ) - ) - ) - ) - (tee_local $9 - (i32.or - (i32.shr_u - (get_local $11) - (i32.const 31) - ) - (i32.shl - (get_local $13) - (i32.const 1) + (i32.shl + (get_local $13) + (i32.const 1) + ) ) ) ) ) - ) - (set_local $7 - (i32.and - (tee_local $14 - (i32.or - (i32.shr_s - (tee_local $5 - (i32.load - (i32.const 168) + (set_local $7 + (i32.and + (tee_local $14 + (i32.or + (i32.shr_s + (tee_local $5 + (i32.load + (i32.const 168) + ) ) + (i32.const 31) ) - (i32.const 31) - ) - (i32.shl - (select - (i32.const -1) - (i32.const 0) - (i32.lt_s - (get_local $5) + (i32.shl + (select + (i32.const -1) (i32.const 0) + (i32.lt_s + (get_local $5) + (i32.const 0) + ) ) + (i32.const 1) ) - (i32.const 1) ) ) + (i32.const 1) ) - (i32.const 1) ) - ) - (set_local $11 - (call $_i64Subtract - (get_local $0) - (get_local $9) - (i32.and - (get_local $14) - (get_local $1) - ) - (i32.and - (i32.or - (i32.shr_s - (select - (i32.const -1) - (i32.const 0) - (i32.lt_s - (get_local $5) + (set_local $11 + (call $_i64Subtract + (get_local $0) + (get_local $9) + (i32.and + (get_local $14) + (get_local $1) + ) + (i32.and + (i32.or + (i32.shr_s + (select + (i32.const -1) (i32.const 0) + (i32.lt_s + (get_local $5) + (i32.const 0) + ) ) + (i32.const 31) ) - (i32.const 31) - ) - (i32.shl - (select - (i32.const -1) - (i32.const 0) - (i32.lt_s - (get_local $5) + (i32.shl + (select + (i32.const -1) (i32.const 0) + (i32.lt_s + (get_local $5) + (i32.const 0) + ) ) + (i32.const 1) ) - (i32.const 1) ) + (get_local $2) ) - (get_local $2) ) ) - ) - (set_local $13 - (i32.load - (i32.const 168) - ) - ) - (if - (i32.eq - (tee_local $12 - (i32.sub - (get_local $12) - (i32.const 1) - ) + (set_local $13 + (i32.load + (i32.const 168) ) - (i32.const 0) ) - (br $while-out$2) - (block - (set_local $9 - (get_local $6) + (if + (i32.eq + (tee_local $12 + (i32.sub + (get_local $12) + (i32.const 1) + ) + ) + (i32.const 0) ) - (set_local $0 - (get_local $7) + (br $while-out$2) + (block + (set_local $9 + (get_local $6) + ) + (set_local $0 + (get_local $7) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) (set_local $1 (i32.const 0) diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise index 22f7c4018..1b3f505aa 100644 --- a/test/emcc_hello_world.fromasm.imprecise +++ b/test/emcc_hello_world.fromasm.imprecise @@ -410,51 +410,53 @@ (set_local $1 (i32.const 0) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eq - (i32.and - (i32.load8_s offset=687 - (get_local $1) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eq + (i32.and + (i32.load8_s offset=687 + (get_local $1) + ) + (i32.const 255) ) - (i32.const 255) - ) - (get_local $0) - ) - (block - (set_local $4 - (get_local $1) - ) - (set_local $0 - (i32.const 2) + (get_local $0) ) - (br $while-out$0) - ) - ) - (if - (i32.eq - (tee_local $1 - (i32.add + (block + (set_local $4 (get_local $1) - (i32.const 1) ) + (set_local $0 + (i32.const 2) + ) + (br $while-out$0) ) - (i32.const 87) ) - (block - (set_local $3 + (if + (i32.eq + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) + ) (i32.const 87) ) - (set_local $2 - (i32.const 775) - ) - (set_local $0 - (i32.const 5) + (block + (set_local $3 + (i32.const 87) + ) + (set_local $2 + (i32.const 775) + ) + (set_local $0 + (i32.const 5) + ) + (br $while-out$0) ) - (br $while-out$0) ) + (br $while-in$1) ) - (br $while-in$1) ) (if (i32.eq @@ -487,65 +489,69 @@ (get_local $0) (i32.const 5) ) - (loop $while-out$2 $while-in$3 - (loop $while-out$4 $while-in$5 - (set_local $0 - (i32.add - (get_local $2) - (i32.const 1) + (loop $while-in$3 + (block $while-out$2 + (loop $while-in$5 + (block $while-out$4 + (set_local $0 + (i32.add + (get_local $2) + (i32.const 1) + ) + ) + (if + (i32.eq + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $2) + ) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const 0) + ) + (block + (set_local $1 + (get_local $0) + ) + (br $while-out$4) + ) + (set_local $2 + (get_local $0) + ) + ) + (br $while-in$5) ) ) (if (i32.eq - (i32.shr_s - (i32.shl - (i32.load8_s - (get_local $2) - ) - (i32.const 24) + (tee_local $0 + (i32.add + (get_local $3) + (i32.const -1) ) - (i32.const 24) ) (i32.const 0) ) (block - (set_local $1 - (get_local $0) + (set_local $5 + (get_local $1) ) - (br $while-out$4) - ) - (set_local $2 - (get_local $0) + (br $while-out$2) ) - ) - (br $while-in$5) - ) - (if - (i32.eq - (tee_local $0 - (i32.add - (get_local $3) - (i32.const -1) + (block + (set_local $3 + (get_local $0) + ) + (set_local $2 + (get_local $1) ) - ) - (i32.const 0) - ) - (block - (set_local $5 - (get_local $1) - ) - (br $while-out$2) - ) - (block - (set_local $3 - (get_local $0) - ) - (set_local $2 - (get_local $1) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) (get_local $5) @@ -837,69 +843,71 @@ (set_local $2 (get_local $0) ) - (loop $while-out$2 $while-in$3 - (set_local $0 - (if - (i32.gt_s - (i32.load offset=76 + (loop $while-in$3 + (block $while-out$2 + (set_local $0 + (if + (i32.gt_s + (i32.load offset=76 + (get_local $1) + ) + (i32.const -1) + ) + (call $___lockfile (get_local $1) ) - (i32.const -1) - ) - (call $___lockfile - (get_local $1) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $2 - (if - (i32.gt_u - (i32.load offset=20 - (get_local $1) - ) - (i32.load offset=28 - (get_local $1) + (set_local $2 + (if + (i32.gt_u + (i32.load offset=20 + (get_local $1) + ) + (i32.load offset=28 + (get_local $1) + ) ) - ) - (i32.or - (call $___fflush_unlocked - (get_local $1) + (i32.or + (call $___fflush_unlocked + (get_local $1) + ) + (get_local $2) ) (get_local $2) ) - (get_local $2) - ) - ) - (if - (i32.ne - (get_local $0) - (i32.const 0) ) - (call $___unlockfile - (get_local $1) + (if + (i32.ne + (get_local $0) + (i32.const 0) + ) + (call $___unlockfile + (get_local $1) + ) ) - ) - (if - (i32.eq - (tee_local $0 - (i32.load offset=56 - (get_local $1) + (if + (i32.eq + (tee_local $0 + (i32.load offset=56 + (get_local $1) + ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $0 - (get_local $2) + (block + (set_local $0 + (get_local $2) + ) + (br $while-out$2) + ) + (set_local $1 + (get_local $0) ) - (br $while-out$2) - ) - (set_local $1 - (get_local $0) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) @@ -1117,206 +1125,208 @@ (get_local $2) ) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eq - (get_local $3) - (tee_local $5 - (if - (i32.eq - (i32.load - (i32.const 16) - ) - (i32.const 0) - ) - (block - (i32.store - (get_local $9) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eq + (get_local $3) + (tee_local $5 + (if + (i32.eq (i32.load - (get_local $12) + (i32.const 16) ) + (i32.const 0) ) - (i32.store offset=4 - (get_local $9) - (get_local $4) - ) - (i32.store offset=8 - (get_local $9) - (get_local $6) - ) - (call $___syscall_ret - (call_import $___syscall146 - (i32.const 146) + (block + (i32.store (get_local $9) + (i32.load + (get_local $12) + ) + ) + (i32.store offset=4 + (get_local $9) + (get_local $4) + ) + (i32.store offset=8 + (get_local $9) + (get_local $6) ) - ) - ) - (block - (call_import $_pthread_cleanup_push - (i32.const 5) - (get_local $0) - ) - (i32.store - (get_local $10) - (i32.load - (get_local $12) - ) - ) - (i32.store offset=4 - (get_local $10) - (get_local $4) - ) - (i32.store offset=8 - (get_local $10) - (get_local $6) - ) - (set_local $1 (call $___syscall_ret (call_import $___syscall146 (i32.const 146) - (get_local $10) + (get_local $9) ) ) ) - (call_import $_pthread_cleanup_pop - (i32.const 0) + (block + (call_import $_pthread_cleanup_push + (i32.const 5) + (get_local $0) + ) + (i32.store + (get_local $10) + (i32.load + (get_local $12) + ) + ) + (i32.store offset=4 + (get_local $10) + (get_local $4) + ) + (i32.store offset=8 + (get_local $10) + (get_local $6) + ) + (set_local $1 + (call $___syscall_ret + (call_import $___syscall146 + (i32.const 146) + (get_local $10) + ) + ) + ) + (call_import $_pthread_cleanup_pop + (i32.const 0) + ) + (get_local $1) ) - (get_local $1) ) ) ) - ) - (block - (set_local $1 - (i32.const 6) - ) - (br $while-out$0) - ) - ) - (if - (i32.lt_s - (get_local $5) - (i32.const 0) - ) - (block - (set_local $15 - (get_local $4) - ) - (set_local $16 - (get_local $6) - ) - (set_local $1 - (i32.const 8) + (block + (set_local $1 + (i32.const 6) + ) + (br $while-out$0) ) - (br $while-out$0) - ) - ) - (set_local $17 - (i32.sub - (get_local $3) - (get_local $5) ) - ) - (set_local $1 (if - (i32.gt_u + (i32.lt_s (get_local $5) - (tee_local $1 - (i32.load offset=4 - (get_local $4) - ) - ) + (i32.const 0) ) (block - (i32.store - (get_local $7) - (tee_local $3 - (i32.load - (get_local $13) - ) - ) - ) - (i32.store - (get_local $11) - (get_local $3) - ) - (set_local $5 - (i32.sub - (get_local $5) - (get_local $1) - ) - ) - (set_local $3 - (i32.add - (get_local $4) - (i32.const 8) - ) + (set_local $15 + (get_local $4) ) - (set_local $6 - (i32.add - (get_local $6) - (i32.const -1) - ) + (set_local $16 + (get_local $6) ) - (i32.load offset=12 - (get_local $4) + (set_local $1 + (i32.const 8) ) + (br $while-out$0) + ) + ) + (set_local $17 + (i32.sub + (get_local $3) + (get_local $5) ) + ) + (set_local $1 (if - (i32.eq - (get_local $6) - (i32.const 2) + (i32.gt_u + (get_local $5) + (tee_local $1 + (i32.load offset=4 + (get_local $4) + ) + ) ) (block (i32.store (get_local $7) - (i32.add + (tee_local $3 (i32.load - (get_local $7) + (get_local $13) ) + ) + ) + (i32.store + (get_local $11) + (get_local $3) + ) + (set_local $5 + (i32.sub (get_local $5) + (get_local $1) ) ) (set_local $3 - (get_local $4) + (i32.add + (get_local $4) + (i32.const 8) + ) ) (set_local $6 - (i32.const 2) + (i32.add + (get_local $6) + (i32.const -1) + ) ) - (get_local $1) - ) - (block - (set_local $3 + (i32.load offset=12 (get_local $4) ) - (get_local $1) + ) + (if + (i32.eq + (get_local $6) + (i32.const 2) + ) + (block + (i32.store + (get_local $7) + (i32.add + (i32.load + (get_local $7) + ) + (get_local $5) + ) + ) + (set_local $3 + (get_local $4) + ) + (set_local $6 + (i32.const 2) + ) + (get_local $1) + ) + (block + (set_local $3 + (get_local $4) + ) + (get_local $1) + ) ) ) ) - ) - (i32.store - (get_local $3) - (i32.add - (i32.load - (get_local $3) + (i32.store + (get_local $3) + (i32.add + (i32.load + (get_local $3) + ) + (get_local $5) ) - (get_local $5) ) - ) - (i32.store offset=4 - (get_local $3) - (i32.sub - (get_local $1) - (get_local $5) + (i32.store offset=4 + (get_local $3) + (i32.sub + (get_local $1) + (get_local $5) + ) ) + (set_local $4 + (get_local $3) + ) + (set_local $3 + (get_local $17) + ) + (br $while-in$1) ) - (set_local $4 - (get_local $3) - ) - (set_local $3 - (get_local $17) - ) - (br $while-in$1) ) (if (i32.eq @@ -1844,48 +1854,50 @@ (set_local $3 (get_local $1) ) - (loop $while-out$2 $while-in$3 - (if - (i32.eq - (get_local $3) - (i32.const 0) - ) - (block - (set_local $2 + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eq + (get_local $3) (i32.const 0) ) - (br $label$break$L10 - (get_local $6) + (block + (set_local $2 + (i32.const 0) + ) + (br $label$break$L10 + (get_local $6) + ) ) ) - ) - (if - (i32.eq - (i32.shr_s - (i32.shl - (i32.load8_s - (i32.add - (get_local $0) - (tee_local $4 - (i32.add - (get_local $3) - (i32.const -1) + (if + (i32.eq + (i32.shr_s + (i32.shl + (i32.load8_s + (i32.add + (get_local $0) + (tee_local $4 + (i32.add + (get_local $3) + (i32.const -1) + ) ) ) ) + (i32.const 24) ) (i32.const 24) ) - (i32.const 24) + (i32.const 10) + ) + (br $while-out$2) + (set_local $3 + (get_local $4) ) - (i32.const 10) - ) - (br $while-out$2) - (set_local $3 - (get_local $4) ) + (br $while-in$3) ) - (br $while-in$3) ) (if (i32.lt_u @@ -2325,85 +2337,87 @@ (set_local $2 (get_local $0) ) - (loop $while-out$1 $while-in$2 - (if - (i32.eq - (i32.shr_s - (i32.shl - (i32.load8_s - (get_local $2) + (loop $while-in$2 + (block $while-out$1 + (if + (i32.eq + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $2) + ) + (i32.const 24) ) (i32.const 24) ) - (i32.const 24) - ) - (i32.shr_s - (i32.shl - (get_local $6) + (i32.shr_s + (i32.shl + (get_local $6) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) - ) - ) - (block - (set_local $4 - (get_local $3) - ) - (set_local $5 - (get_local $2) ) - (set_local $3 - (i32.const 6) + (block + (set_local $4 + (get_local $3) + ) + (set_local $5 + (get_local $2) + ) + (set_local $3 + (i32.const 6) + ) + (br $label$break$L1) ) - (br $label$break$L1) ) - ) - (if - (i32.and - (tee_local $3 - (i32.ne - (tee_local $0 - (i32.add - (get_local $3) - (i32.const -1) + (if + (i32.and + (tee_local $3 + (i32.ne + (tee_local $0 + (i32.add + (get_local $3) + (i32.const -1) + ) ) + (i32.const 0) ) - (i32.const 0) ) - ) - (i32.ne - (i32.and - (tee_local $2 - (i32.add - (get_local $2) - (i32.const 1) + (i32.ne + (i32.and + (tee_local $2 + (i32.add + (get_local $2) + (i32.const 1) + ) ) + (i32.const 3) ) - (i32.const 3) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $3 - (get_local $0) - ) - (block - (set_local $14 + (set_local $3 (get_local $0) ) - (set_local $11 - (get_local $2) - ) - (set_local $15 - (get_local $3) - ) - (set_local $3 - (i32.const 5) + (block + (set_local $14 + (get_local $0) + ) + (set_local $11 + (get_local $2) + ) + (set_local $15 + (get_local $3) + ) + (set_local $3 + (i32.const 5) + ) + (br $while-out$1) ) - (br $while-out$1) ) + (br $while-in$2) ) - (br $while-in$2) ) ) (block @@ -2502,69 +2516,71 @@ (i32.const 3) ) (block - (loop $while-out$5 $while-in$6 - (set_local $1 - (i32.add - (tee_local $6 - (i32.xor - (i32.load - (get_local $5) + (loop $while-in$6 + (block $while-out$5 + (set_local $1 + (i32.add + (tee_local $6 + (i32.xor + (i32.load + (get_local $5) + ) + (get_local $2) ) - (get_local $2) ) + (i32.const -16843009) ) - (i32.const -16843009) ) - ) - (if - (i32.ne - (i32.and - (i32.xor - (i32.and - (get_local $6) + (if + (i32.ne + (i32.and + (i32.xor + (i32.and + (get_local $6) + (i32.const -2139062144) + ) (i32.const -2139062144) ) - (i32.const -2139062144) + (get_local $1) ) - (get_local $1) + (i32.const 0) ) - (i32.const 0) - ) - (br $while-out$5) - ) - (set_local $1 - (i32.add - (get_local $5) - (i32.const 4) + (br $while-out$5) ) - ) - (if - (i32.gt_u - (tee_local $4 - (i32.add - (get_local $4) - (i32.const -4) - ) + (set_local $1 + (i32.add + (get_local $5) + (i32.const 4) ) - (i32.const 3) ) - (set_local $5 - (get_local $1) - ) - (block - (set_local $12 - (get_local $4) + (if + (i32.gt_u + (tee_local $4 + (i32.add + (get_local $4) + (i32.const -4) + ) + ) + (i32.const 3) ) - (set_local $13 + (set_local $5 (get_local $1) ) - (set_local $3 - (i32.const 11) + (block + (set_local $12 + (get_local $4) + ) + (set_local $13 + (get_local $1) + ) + (set_local $3 + (i32.const 11) + ) + (br $label$break$L11) ) - (br $label$break$L11) ) + (br $while-in$6) ) - (br $while-in$6) ) (set_local $10 (get_local $4) @@ -2615,71 +2631,73 @@ ) ) ) - (loop $while-out$7 $while-in$8 - (if - (i32.eq - (i32.shr_s - (i32.shl - (i32.load8_s - (get_local $9) + (loop $while-in$8 + (block $while-out$7 + (if + (i32.eq + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $9) + ) + (i32.const 24) ) (i32.const 24) ) - (i32.const 24) - ) - (i32.shr_s - (i32.shl - (get_local $0) + (i32.shr_s + (i32.shl + (get_local $0) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) - ) - ) - (block - (set_local $7 - (get_local $10) - ) - (set_local $8 - (get_local $9) ) - (br $label$break$L8) - ) - ) - (set_local $2 - (i32.add - (get_local $9) - (i32.const 1) - ) - ) - (if - (i32.eq - (tee_local $1 - (i32.add + (block + (set_local $7 (get_local $10) - (i32.const -1) ) + (set_local $8 + (get_local $9) + ) + (br $label$break$L8) ) - (i32.const 0) ) - (block - (set_local $7 - (i32.const 0) - ) - (set_local $8 - (get_local $2) + (set_local $2 + (i32.add + (get_local $9) + (i32.const 1) ) - (br $while-out$7) ) - (block - (set_local $10 - (get_local $1) + (if + (i32.eq + (tee_local $1 + (i32.add + (get_local $10) + (i32.const -1) + ) + ) + (i32.const 0) ) - (set_local $9 - (get_local $2) + (block + (set_local $7 + (i32.const 0) + ) + (set_local $8 + (get_local $2) + ) + (br $while-out$7) + ) + (block + (set_local $10 + (get_local $1) + ) + (set_local $9 + (get_local $2) + ) ) ) + (br $while-in$8) ) - (br $while-in$8) ) ) ) @@ -3099,631 +3117,325 @@ (set_local $8 (i32.const 0) ) - (loop $label$break$L1 $label$continue$L1 - (set_local $22 - (if - (i32.gt_s - (get_local $22) - (i32.const -1) - ) + (loop $label$continue$L1 + (block $label$break$L1 + (set_local $22 (if (i32.gt_s - (get_local $1) - (i32.sub - (i32.const 2147483647) - (get_local $22) - ) - ) - (block - (i32.store - (call $___errno_location) - (i32.const 75) - ) - (i32.const -1) - ) - (i32.add - (get_local $1) (get_local $22) + (i32.const -1) ) - ) - (get_local $22) - ) - ) - (if - (i32.eq - (i32.shr_s - (i32.shl - (tee_local $1 - (i32.load8_s - (get_local $20) + (if + (i32.gt_s + (get_local $1) + (i32.sub + (i32.const 2147483647) + (get_local $22) ) ) - (i32.const 24) + (block + (i32.store + (call $___errno_location) + (i32.const 75) + ) + (i32.const -1) + ) + (i32.add + (get_local $1) + (get_local $22) + ) ) - (i32.const 24) - ) - (i32.const 0) - ) - (block - (set_local $82 (get_local $22) ) - (set_local $83 - (get_local $8) - ) - (set_local $12 - (i32.const 242) - ) - (br $label$break$L1) ) - (set_local $5 - (get_local $20) - ) - ) - (loop $label$break$L9 $label$continue$L9 - (block $switch-default$5 - (block $switch-case$4 - (block $switch-case$3 - (br_table $switch-case$4 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-case$3 $switch-default$5 - (i32.sub - (i32.shr_s - (i32.shl - (get_local $1) - (i32.const 24) - ) - (i32.const 24) + (if + (i32.eq + (i32.shr_s + (i32.shl + (tee_local $1 + (i32.load8_s + (get_local $20) ) - (i32.const 0) ) + (i32.const 24) ) + (i32.const 24) ) - (set_local $54 - (get_local $5) + (i32.const 0) + ) + (block + (set_local $82 + (get_local $22) ) - (set_local $65 - (get_local $5) + (set_local $83 + (get_local $8) ) (set_local $12 - (i32.const 9) + (i32.const 242) ) - (br $label$break$L9) - ) - (set_local $41 - (get_local $5) - ) - (set_local $55 - (get_local $5) + (br $label$break$L1) ) - (br $label$break$L9) - ) - (set_local $1 - (i32.load8_s - (tee_local $5 - (i32.add - (get_local $5) - (i32.const 1) - ) - ) + (set_local $5 + (get_local $20) ) ) - (br $label$continue$L9) - ) - (block $label$break$L12 - (if - (i32.eq - (get_local $12) - (i32.const 9) - ) - (loop $while-out$7 $while-in$8 - (set_local $12 - (i32.const 0) - ) - (if - (i32.ne - (i32.shr_s - (i32.shl - (i32.load8_s offset=1 - (get_local $54) - ) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const 37) - ) - (block - (set_local $41 - (get_local $54) - ) - (set_local $55 - (get_local $65) - ) - (br $label$break$L12) - ) - ) - (set_local $5 - (i32.add - (get_local $65) - (i32.const 1) - ) - ) - (if - (i32.eq - (i32.shr_s - (i32.shl - (i32.load8_s - (tee_local $1 - (i32.add - (get_local $54) - (i32.const 2) + (loop $label$continue$L9 + (block $label$break$L9 + (block $switch-default$5 + (block $switch-case$4 + (block $switch-case$3 + (br_table $switch-case$4 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-case$3 $switch-default$5 + (i32.sub + (i32.shr_s + (i32.shl + (get_local $1) + (i32.const 24) ) + (i32.const 24) ) + (i32.const 0) ) - (i32.const 24) ) - (i32.const 24) ) - (i32.const 37) - ) - (block (set_local $54 - (get_local $1) + (get_local $5) ) (set_local $65 (get_local $5) ) - ) - (block - (set_local $41 - (get_local $1) - ) - (set_local $55 - (get_local $5) + (set_local $12 + (i32.const 9) ) - (br $while-out$7) + (br $label$break$L9) ) - ) - (br $while-in$8) - ) - ) - ) - (set_local $17 - (i32.sub - (get_local $55) - (get_local $20) - ) - ) - (if - (get_local $44) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) + (set_local $41 + (get_local $5) ) - (i32.const 32) - ) - (i32.const 0) - ) - (call $___fwritex - (get_local $20) - (get_local $17) - (get_local $0) - ) - ) - ) - (if - (i32.ne - (get_local $55) - (get_local $20) - ) - (block - (set_local $20 - (get_local $41) - ) - (set_local $1 - (get_local $17) - ) - (br $label$continue$L1) - ) - ) - (set_local $7 - (if - (i32.lt_u - (tee_local $6 - (i32.add - (i32.shr_s - (i32.shl - (tee_local $1 - (i32.load8_s - (tee_local $5 - (i32.add - (get_local $41) - (i32.const 1) - ) - ) - ) - ) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const -48) + (set_local $55 + (get_local $5) ) + (br $label$break$L9) ) - (i32.const 10) - ) - (block (set_local $1 (i32.load8_s (tee_local $5 - (select - (i32.add - (get_local $41) - (i32.const 3) - ) + (i32.add (get_local $5) - (tee_local $7 - (i32.eq - (i32.shr_s - (i32.shl - (i32.load8_s offset=2 - (get_local $41) - ) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const 36) - ) - ) + (i32.const 1) ) ) ) ) - (set_local $11 - (select - (i32.const 1) - (get_local $8) - (get_local $7) - ) - ) - (set_local $9 - (get_local $5) - ) - (select - (get_local $6) - (i32.const -1) - (get_local $7) - ) - ) - (block - (set_local $11 - (get_local $8) - ) - (set_local $9 - (get_local $5) - ) - (i32.const -1) + (br $label$continue$L9) ) ) - ) - (block $label$break$L25 - (if - (i32.eq - (i32.and - (tee_local $5 - (i32.shr_s - (i32.shl - (get_local $1) - (i32.const 24) - ) - (i32.const 24) - ) - ) - (i32.const -32) - ) - (i32.const 32) - ) - (block - (set_local $8 - (i32.const 0) + (block $label$break$L12 + (if + (i32.eq + (get_local $12) + (i32.const 9) ) - (loop $while-out$10 $while-in$11 - (if - (i32.eq - (i32.and - (i32.shl - (i32.const 1) - (i32.add - (get_local $5) - (i32.const -32) - ) - ) - (i32.const 75913) - ) + (loop $while-in$8 + (block $while-out$7 + (set_local $12 (i32.const 0) ) - (br $label$break$L25) - ) - (set_local $8 - (i32.or - (i32.shl - (i32.const 1) - (i32.add - (i32.shr_s - (i32.shl - (get_local $1) - (i32.const 24) + (if + (i32.ne + (i32.shr_s + (i32.shl + (i32.load8_s offset=1 + (get_local $54) ) (i32.const 24) ) - (i32.const -32) + (i32.const 24) ) + (i32.const 37) + ) + (block + (set_local $41 + (get_local $54) + ) + (set_local $55 + (get_local $65) + ) + (br $label$break$L12) ) - (get_local $8) ) - ) - (if - (i32.eq - (i32.and - (tee_local $5 - (i32.shr_s - (i32.shl + (set_local $5 + (i32.add + (get_local $65) + (i32.const 1) + ) + ) + (if + (i32.eq + (i32.shr_s + (i32.shl + (i32.load8_s (tee_local $1 - (i32.load8_s - (tee_local $6 - (i32.add - (get_local $9) - (i32.const 1) - ) - ) + (i32.add + (get_local $54) + (i32.const 2) ) ) - (i32.const 24) ) (i32.const 24) ) + (i32.const 24) ) - (i32.const -32) + (i32.const 37) ) - (i32.const 32) - ) - (set_local $9 - (get_local $6) - ) - (block - (set_local $9 - (get_local $6) + (block + (set_local $54 + (get_local $1) + ) + (set_local $65 + (get_local $5) + ) + ) + (block + (set_local $41 + (get_local $1) + ) + (set_local $55 + (get_local $5) + ) + (br $while-out$7) ) - (br $while-out$10) ) + (br $while-in$8) ) - (br $while-in$11) ) ) - (set_local $8 - (i32.const 0) + ) + (set_local $17 + (i32.sub + (get_local $55) + (get_local $20) ) ) - ) - (block $do-once$12 (if - (i32.eq - (i32.shr_s - (i32.shl - (get_local $1) - (i32.const 24) + (get_local $44) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 24) + (i32.const 0) + ) + (call $___fwritex + (get_local $20) + (get_local $17) + (get_local $0) ) - (i32.const 42) + ) + ) + (if + (i32.ne + (get_local $55) + (get_local $20) ) (block - (if - (i32.lt_u - (tee_local $1 - (i32.add - (i32.shr_s - (i32.shl + (set_local $20 + (get_local $41) + ) + (set_local $1 + (get_local $17) + ) + (br $label$continue$L1) + ) + ) + (set_local $7 + (if + (i32.lt_u + (tee_local $6 + (i32.add + (i32.shr_s + (i32.shl + (tee_local $1 (i32.load8_s - (tee_local $6 + (tee_local $5 (i32.add - (get_local $9) + (get_local $41) (i32.const 1) ) ) ) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const -48) - ) - ) - (i32.const 10) - ) - (if - (i32.eq - (i32.shr_s - (i32.shl - (i32.load8_s offset=2 - (get_local $9) ) (i32.const 24) ) (i32.const 24) ) - (i32.const 36) + (i32.const -48) ) - (block - (i32.store - (i32.add - (get_local $4) - (i32.shl - (get_local $1) - (i32.const 2) - ) - ) - (i32.const 10) - ) - (set_local $1 - (i32.load + ) + (i32.const 10) + ) + (block + (set_local $1 + (i32.load8_s + (tee_local $5 + (select (i32.add - (get_local $3) - (i32.shl - (i32.add - (i32.shr_s - (i32.shl - (i32.load8_s - (get_local $6) - ) - (i32.const 24) + (get_local $41) + (i32.const 3) + ) + (get_local $5) + (tee_local $7 + (i32.eq + (i32.shr_s + (i32.shl + (i32.load8_s offset=2 + (get_local $41) ) (i32.const 24) ) - (i32.const -48) + (i32.const 24) ) - (i32.const 3) + (i32.const 36) ) ) ) ) - (set_local $66 - (i32.const 1) - ) - (set_local $67 - (i32.add - (get_local $9) - (i32.const 3) - ) - ) - (set_local $56 - (get_local $1) - ) ) - (set_local $12 - (i32.const 24) + ) + (set_local $11 + (select + (i32.const 1) + (get_local $8) + (get_local $7) ) ) - (set_local $12 - (i32.const 24) + (set_local $9 + (get_local $5) ) - ) - (if - (i32.eq - (get_local $12) - (i32.const 24) - ) - (block - (set_local $12 - (i32.const 0) - ) - (if - (i32.ne - (get_local $11) - (i32.const 0) - ) - (block - (set_local $24 - (i32.const -1) - ) - (br $label$break$L1) - ) - ) - (if - (i32.eqz - (get_local $44) - ) - (block - (set_local $9 - (get_local $6) - ) - (set_local $21 - (i32.const 0) - ) - (set_local $16 - (i32.const 0) - ) - (br $do-once$12) - ) - ) - (set_local $5 - (i32.load - (tee_local $1 - (i32.and - (i32.add - (i32.load - (get_local $2) - ) - (i32.const 3) - ) - (i32.const -4) - ) - ) - ) - ) - (i32.store - (get_local $2) - (i32.add - (get_local $1) - (i32.const 4) - ) - ) - (set_local $66 - (i32.const 0) - ) - (set_local $67 - (get_local $6) - ) - (set_local $56 - (get_local $5) - ) + (select + (get_local $6) + (i32.const -1) + (get_local $7) ) ) - (set_local $8 - (if - (i32.lt_s - (get_local $56) - (i32.const 0) - ) - (block - (set_local $9 - (get_local $67) - ) - (set_local $21 - (get_local $66) - ) - (set_local $16 - (i32.sub - (i32.const 0) - (get_local $56) - ) - ) - (i32.or - (get_local $8) - (i32.const 8192) - ) - ) - (block - (set_local $9 - (get_local $67) - ) - (set_local $21 - (get_local $66) - ) - (set_local $16 - (get_local $56) - ) - (get_local $8) - ) + (block + (set_local $11 + (get_local $8) + ) + (set_local $9 + (get_local $5) ) + (i32.const -1) ) ) + ) + (block $label$break$L25 (if - (i32.lt_u - (tee_local $6 - (i32.add + (i32.eq + (i32.and + (tee_local $5 (i32.shr_s (i32.shl (get_local $1) @@ -3731,234 +3443,136 @@ ) (i32.const 24) ) - (i32.const -48) ) + (i32.const -32) ) - (i32.const 10) + (i32.const 32) ) (block - (set_local $1 - (get_local $9) - ) - (set_local $5 + (set_local $8 (i32.const 0) ) - (loop $while-out$14 $while-in$15 - (set_local $5 - (i32.add - (i32.mul - (get_local $5) - (i32.const 10) + (loop $while-in$11 + (block $while-out$10 + (if + (i32.eq + (i32.and + (i32.shl + (i32.const 1) + (i32.add + (get_local $5) + (i32.const -32) + ) + ) + (i32.const 75913) + ) + (i32.const 0) ) - (get_local $6) + (br $label$break$L25) ) - ) - (if - (i32.ge_u - (tee_local $6 - (i32.add - (i32.shr_s - (i32.shl - (i32.load8_s + (set_local $8 + (i32.or + (i32.shl + (i32.const 1) + (i32.add + (i32.shr_s + (i32.shl + (get_local $1) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const -32) + ) + ) + (get_local $8) + ) + ) + (if + (i32.eq + (i32.and + (tee_local $5 + (i32.shr_s + (i32.shl (tee_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (i32.load8_s + (tee_local $6 + (i32.add + (get_local $9) + (i32.const 1) + ) + ) ) ) + (i32.const 24) ) (i32.const 24) ) - (i32.const 24) ) - (i32.const -48) + (i32.const -32) ) + (i32.const 32) + ) + (set_local $9 + (get_local $6) + ) + (block + (set_local $9 + (get_local $6) + ) + (br $while-out$10) ) - (i32.const 10) - ) - (br $while-out$14) - ) - (br $while-in$15) - ) - (if - (i32.lt_s - (get_local $5) - (i32.const 0) - ) - (block - (set_local $24 - (i32.const -1) - ) - (br $label$break$L1) - ) - (block - (set_local $9 - (get_local $1) - ) - (set_local $21 - (get_local $11) - ) - (set_local $16 - (get_local $5) ) + (br $while-in$11) ) ) ) - (block - (set_local $21 - (get_local $11) - ) - (set_local $16 - (i32.const 0) - ) + (set_local $8 + (i32.const 0) ) ) ) - ) - (set_local $11 - (block $label$break$L46 + (block $do-once$12 (if (i32.eq (i32.shr_s (i32.shl - (i32.load8_s - (get_local $9) - ) + (get_local $1) (i32.const 24) ) (i32.const 24) ) - (i32.const 46) + (i32.const 42) ) (block (if - (i32.ne - (i32.shr_s - (i32.shl - (tee_local $1 - (i32.load8_s - (tee_local $5 - (i32.add - (get_local $9) - (i32.const 1) + (i32.lt_u + (tee_local $1 + (i32.add + (i32.shr_s + (i32.shl + (i32.load8_s + (tee_local $6 + (i32.add + (get_local $9) + (i32.const 1) + ) ) ) + (i32.const 24) ) + (i32.const 24) ) - (i32.const 24) + (i32.const -48) ) - (i32.const 24) ) - (i32.const 42) - ) - (block - (if - (i32.lt_u - (tee_local $6 - (i32.add - (i32.shr_s - (i32.shl - (get_local $1) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const -48) - ) - ) - (i32.const 10) - ) - (block - (set_local $1 - (get_local $5) - ) - (set_local $5 - (i32.const 0) - ) - ) - (block - (set_local $10 - (i32.const 0) - ) - (br $label$break$L46 - (get_local $5) - ) - ) - ) - (loop $while-in$18 - (set_local $5 - (i32.add - (i32.mul - (get_local $5) - (i32.const 10) - ) - (get_local $6) - ) - ) - (if - (i32.ge_u - (tee_local $6 - (i32.add - (i32.shr_s - (i32.shl - (i32.load8_s - (tee_local $1 - (i32.add - (get_local $1) - (i32.const 1) - ) - ) - ) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const -48) - ) - ) - (i32.const 10) - ) - (block - (set_local $10 - (get_local $5) - ) - (br $label$break$L46 - (get_local $1) - ) - ) - ) - (br $while-in$18) - ) - ) - ) - (if - (i32.lt_u - (tee_local $1 - (i32.add - (i32.shr_s - (i32.shl - (i32.load8_s - (tee_local $6 - (i32.add - (get_local $9) - (i32.const 2) - ) - ) - ) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const -48) - ) - ) - (i32.const 10) + (i32.const 10) ) (if (i32.eq (i32.shr_s (i32.shl - (i32.load8_s offset=3 + (i32.load8_s offset=2 (get_local $9) ) (i32.const 24) @@ -4000,33 +3614,65 @@ ) ) ) - (set_local $10 - (get_local $1) + (set_local $66 + (i32.const 1) ) - (br $label$break$L46 + (set_local $67 (i32.add (get_local $9) - (i32.const 4) + (i32.const 3) ) ) + (set_local $56 + (get_local $1) + ) ) + (set_local $12 + (i32.const 24) + ) + ) + (set_local $12 + (i32.const 24) ) ) (if - (i32.ne - (get_local $21) - (i32.const 0) + (i32.eq + (get_local $12) + (i32.const 24) ) (block - (set_local $24 - (i32.const -1) + (set_local $12 + (i32.const 0) + ) + (if + (i32.ne + (get_local $11) + (i32.const 0) + ) + (block + (set_local $24 + (i32.const -1) + ) + (br $label$break$L1) + ) + ) + (if + (i32.eqz + (get_local $44) + ) + (block + (set_local $9 + (get_local $6) + ) + (set_local $21 + (i32.const 0) + ) + (set_local $16 + (i32.const 0) + ) + (br $do-once$12) + ) ) - (br $label$break$L1) - ) - ) - (if - (get_local $44) - (block (set_local $5 (i32.load (tee_local $1 @@ -4049,131 +3695,489 @@ (i32.const 4) ) ) - (set_local $10 + (set_local $66 + (i32.const 0) + ) + (set_local $67 + (get_local $6) + ) + (set_local $56 (get_local $5) ) - (get_local $6) ) - (block - (set_local $10 + ) + (set_local $8 + (if + (i32.lt_s + (get_local $56) (i32.const 0) ) - (get_local $6) - ) - ) - ) - (block - (set_local $10 - (i32.const -1) - ) - (get_local $9) - ) - ) - ) - ) - (set_local $13 - (i32.const 0) - ) - (loop $while-out$19 $while-in$20 - (if - (i32.gt_u - (tee_local $1 - (i32.add - (i32.shr_s - (i32.shl - (i32.load8_s - (get_local $11) + (block + (set_local $9 + (get_local $67) + ) + (set_local $21 + (get_local $66) + ) + (set_local $16 + (i32.sub + (i32.const 0) + (get_local $56) + ) + ) + (i32.or + (get_local $8) + (i32.const 8192) ) - (i32.const 24) ) - (i32.const 24) + (block + (set_local $9 + (get_local $67) + ) + (set_local $21 + (get_local $66) + ) + (set_local $16 + (get_local $56) + ) + (get_local $8) + ) ) - (i32.const -65) ) ) - (i32.const 57) - ) - (block - (set_local $24 - (i32.const -1) - ) - (br $label$break$L1) - ) - ) - (set_local $9 - (i32.add - (get_local $11) - (i32.const 1) - ) - ) - (if - (i32.lt_u - (i32.add - (tee_local $5 - (i32.and - (tee_local $1 - (i32.load8_s - (i32.add - (i32.add - (i32.const 3611) - (i32.mul - (get_local $13) - (i32.const 58) - ) - ) + (if + (i32.lt_u + (tee_local $6 + (i32.add + (i32.shr_s + (i32.shl (get_local $1) + (i32.const 24) ) + (i32.const 24) ) + (i32.const -48) ) - (i32.const 255) ) + (i32.const 10) + ) + (block + (set_local $1 + (get_local $9) + ) + (set_local $5 + (i32.const 0) + ) + (loop $while-in$15 + (block $while-out$14 + (set_local $5 + (i32.add + (i32.mul + (get_local $5) + (i32.const 10) + ) + (get_local $6) + ) + ) + (if + (i32.ge_u + (tee_local $6 + (i32.add + (i32.shr_s + (i32.shl + (i32.load8_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) + ) + ) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const -48) + ) + ) + (i32.const 10) + ) + (br $while-out$14) + ) + (br $while-in$15) + ) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (block + (set_local $24 + (i32.const -1) + ) + (br $label$break$L1) + ) + (block + (set_local $9 + (get_local $1) + ) + (set_local $21 + (get_local $11) + ) + (set_local $16 + (get_local $5) + ) + ) + ) + ) + (block + (set_local $21 + (get_local $11) + ) + (set_local $16 + (i32.const 0) + ) + ) + ) + ) + ) + (set_local $11 + (block $label$break$L46 + (if + (i32.eq + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $9) + ) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const 46) + ) + (block + (if + (i32.ne + (i32.shr_s + (i32.shl + (tee_local $1 + (i32.load8_s + (tee_local $5 + (i32.add + (get_local $9) + (i32.const 1) + ) + ) + ) + ) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const 42) + ) + (block + (if + (i32.lt_u + (tee_local $6 + (i32.add + (i32.shr_s + (i32.shl + (get_local $1) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const -48) + ) + ) + (i32.const 10) + ) + (block + (set_local $1 + (get_local $5) + ) + (set_local $5 + (i32.const 0) + ) + ) + (block + (set_local $10 + (i32.const 0) + ) + (br $label$break$L46 + (get_local $5) + ) + ) + ) + (loop $while-in$18 + (set_local $5 + (i32.add + (i32.mul + (get_local $5) + (i32.const 10) + ) + (get_local $6) + ) + ) + (if + (i32.ge_u + (tee_local $6 + (i32.add + (i32.shr_s + (i32.shl + (i32.load8_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) + ) + ) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const -48) + ) + ) + (i32.const 10) + ) + (block + (set_local $10 + (get_local $5) + ) + (br $label$break$L46 + (get_local $1) + ) + ) + ) + (br $while-in$18) + ) + ) + ) + (if + (i32.lt_u + (tee_local $1 + (i32.add + (i32.shr_s + (i32.shl + (i32.load8_s + (tee_local $6 + (i32.add + (get_local $9) + (i32.const 2) + ) + ) + ) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const -48) + ) + ) + (i32.const 10) + ) + (if + (i32.eq + (i32.shr_s + (i32.shl + (i32.load8_s offset=3 + (get_local $9) + ) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const 36) + ) + (block + (i32.store + (i32.add + (get_local $4) + (i32.shl + (get_local $1) + (i32.const 2) + ) + ) + (i32.const 10) + ) + (set_local $1 + (i32.load + (i32.add + (get_local $3) + (i32.shl + (i32.add + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $6) + ) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const -48) + ) + (i32.const 3) + ) + ) + ) + ) + (set_local $10 + (get_local $1) + ) + (br $label$break$L46 + (i32.add + (get_local $9) + (i32.const 4) + ) + ) + ) + ) + ) + (if + (i32.ne + (get_local $21) + (i32.const 0) + ) + (block + (set_local $24 + (i32.const -1) + ) + (br $label$break$L1) + ) + ) + (if + (get_local $44) + (block + (set_local $5 + (i32.load + (tee_local $1 + (i32.and + (i32.add + (i32.load + (get_local $2) + ) + (i32.const 3) + ) + (i32.const -4) + ) + ) + ) + ) + (i32.store + (get_local $2) + (i32.add + (get_local $1) + (i32.const 4) + ) + ) + (set_local $10 + (get_local $5) + ) + (get_local $6) + ) + (block + (set_local $10 + (i32.const 0) + ) + (get_local $6) + ) + ) + ) + (block + (set_local $10 + (i32.const -1) + ) + (get_local $9) ) - (i32.const -1) - ) - (i32.const 8) - ) - (block - (set_local $11 - (get_local $9) - ) - (set_local $13 - (get_local $5) - ) - ) - (block - (set_local $6 - (get_local $5) - ) - (br $while-out$19) - ) - ) - (br $while-in$20) - ) - (if - (i32.eq - (i32.shr_s - (i32.shl - (get_local $1) - (i32.const 24) ) - (i32.const 24) ) + ) + (set_local $13 (i32.const 0) ) - (block - (set_local $24 - (i32.const -1) + (loop $while-in$20 + (block $while-out$19 + (if + (i32.gt_u + (tee_local $1 + (i32.add + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $11) + ) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const -65) + ) + ) + (i32.const 57) + ) + (block + (set_local $24 + (i32.const -1) + ) + (br $label$break$L1) + ) + ) + (set_local $9 + (i32.add + (get_local $11) + (i32.const 1) + ) + ) + (if + (i32.lt_u + (i32.add + (tee_local $5 + (i32.and + (tee_local $1 + (i32.load8_s + (i32.add + (i32.add + (i32.const 3611) + (i32.mul + (get_local $13) + (i32.const 58) + ) + ) + (get_local $1) + ) + ) + ) + (i32.const 255) + ) + ) + (i32.const -1) + ) + (i32.const 8) + ) + (block + (set_local $11 + (get_local $9) + ) + (set_local $13 + (get_local $5) + ) + ) + (block + (set_local $6 + (get_local $5) + ) + (br $while-out$19) + ) + ) + (br $while-in$20) ) - (br $label$break$L1) - ) - ) - (set_local $5 - (i32.gt_s - (get_local $7) - (i32.const -1) ) - ) - (block $do-once$21 (if (i32.eq (i32.shr_s @@ -4183,202 +4187,244 @@ ) (i32.const 24) ) - (i32.const 19) + (i32.const 0) + ) + (block + (set_local $24 + (i32.const -1) + ) + (br $label$break$L1) + ) + ) + (set_local $5 + (i32.gt_s + (get_local $7) + (i32.const -1) ) + ) + (block $do-once$21 (if - (get_local $5) - (block - (set_local $24 - (i32.const -1) + (i32.eq + (i32.shr_s + (i32.shl + (get_local $1) + (i32.const 24) + ) + (i32.const 24) ) - (br $label$break$L1) + (i32.const 19) ) - (set_local $12 - (i32.const 52) - ) - ) - (block (if (get_local $5) (block - (i32.store - (i32.add - (get_local $4) - (i32.shl - (get_local $7) - (i32.const 2) + (set_local $24 + (i32.const -1) + ) + (br $label$break$L1) + ) + (set_local $12 + (i32.const 52) + ) + ) + (block + (if + (get_local $5) + (block + (i32.store + (i32.add + (get_local $4) + (i32.shl + (get_local $7) + (i32.const 2) + ) ) + (get_local $6) ) - (get_local $6) - ) - (set_local $5 - (i32.load - (tee_local $1 - (i32.add - (get_local $3) - (i32.shl - (get_local $7) - (i32.const 3) + (set_local $5 + (i32.load + (tee_local $1 + (i32.add + (get_local $3) + (i32.shl + (get_local $7) + (i32.const 3) + ) ) ) ) ) - ) - (set_local $1 - (i32.load offset=4 + (set_local $1 + (i32.load offset=4 + (get_local $1) + ) + ) + (i32.store + (tee_local $7 + (get_local $19) + ) + (get_local $5) + ) + (i32.store offset=4 + (get_local $7) (get_local $1) ) - ) - (i32.store - (tee_local $7 - (get_local $19) + (set_local $12 + (i32.const 52) ) - (get_local $5) - ) - (i32.store offset=4 - (get_local $7) - (get_local $1) - ) - (set_local $12 - (i32.const 52) + (br $do-once$21) ) - (br $do-once$21) ) - ) - (if - (i32.eqz - (get_local $44) - ) - (block - (set_local $24 - (i32.const 0) + (if + (i32.eqz + (get_local $44) + ) + (block + (set_local $24 + (i32.const 0) + ) + (br $label$break$L1) ) - (br $label$break$L1) ) - ) - (call $_pop_arg_336 - (get_local $19) - (get_local $6) - (get_local $2) + (call $_pop_arg_336 + (get_local $19) + (get_local $6) + (get_local $2) + ) ) ) ) - ) - (if - (i32.eq - (get_local $12) - (i32.const 52) - ) - (block - (set_local $12 - (i32.const 0) + (if + (i32.eq + (get_local $12) + (i32.const 52) ) - (if - (i32.eqz - (get_local $44) + (block + (set_local $12 + (i32.const 0) ) - (block - (set_local $20 - (get_local $9) - ) - (set_local $1 - (get_local $17) + (if + (i32.eqz + (get_local $44) ) - (set_local $8 - (get_local $21) + (block + (set_local $20 + (get_local $9) + ) + (set_local $1 + (get_local $17) + ) + (set_local $8 + (get_local $21) + ) + (br $label$continue$L1) ) - (br $label$continue$L1) ) ) ) - ) - (set_local $5 - (i32.and - (i32.ne - (get_local $13) - (i32.const 0) - ) - (i32.eq - (i32.and - (tee_local $1 - (i32.shr_s - (i32.shl - (i32.load8_s - (get_local $11) + (set_local $5 + (i32.and + (i32.ne + (get_local $13) + (i32.const 0) + ) + (i32.eq + (i32.and + (tee_local $1 + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $11) + ) + (i32.const 24) ) (i32.const 24) ) - (i32.const 24) ) + (i32.const 15) ) - (i32.const 15) + (i32.const 3) ) - (i32.const 3) ) ) - ) - (set_local $18 - (select - (get_local $8) - (tee_local $7 - (i32.and - (get_local $8) - (i32.const -65537) + (set_local $18 + (select + (get_local $8) + (tee_local $7 + (i32.and + (get_local $8) + (i32.const -65537) + ) ) - ) - (i32.eq - (i32.and - (get_local $8) - (i32.const 8192) + (i32.eq + (i32.and + (get_local $8) + (i32.const 8192) + ) + (i32.const 0) ) - (i32.const 0) ) ) - ) - (block $switch$24 - (block $switch-default$127 - (block $switch-case$49 - (block $switch-case$48 - (block $switch-case$47 - (block $switch-case$46 - (block $switch-case$45 - (block $switch-case$44 - (block $switch-case$43 - (block $switch-case$41 - (block $switch-case$40 - (block $switch-case$36 - (block $switch-case$35 - (block $switch-case$34 - (br_table $switch-case$49 $switch-default$127 $switch-case$47 $switch-default$127 $switch-case$49 $switch-case$49 $switch-case$49 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$48 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$36 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$49 $switch-default$127 $switch-case$44 $switch-case$41 $switch-case$49 $switch-case$49 $switch-case$49 $switch-default$127 $switch-case$41 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$45 $switch-case$34 $switch-case$40 $switch-case$35 $switch-default$127 $switch-default$127 $switch-case$46 $switch-default$127 $switch-case$43 $switch-default$127 $switch-default$127 $switch-case$36 $switch-default$127 - (i32.sub - (tee_local $26 - (select - (i32.and + (block $switch$24 + (block $switch-default$127 + (block $switch-case$49 + (block $switch-case$48 + (block $switch-case$47 + (block $switch-case$46 + (block $switch-case$45 + (block $switch-case$44 + (block $switch-case$43 + (block $switch-case$41 + (block $switch-case$40 + (block $switch-case$36 + (block $switch-case$35 + (block $switch-case$34 + (br_table $switch-case$49 $switch-default$127 $switch-case$47 $switch-default$127 $switch-case$49 $switch-case$49 $switch-case$49 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$48 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$36 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$49 $switch-default$127 $switch-case$44 $switch-case$41 $switch-case$49 $switch-case$49 $switch-case$49 $switch-default$127 $switch-case$41 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$45 $switch-case$34 $switch-case$40 $switch-case$35 $switch-default$127 $switch-default$127 $switch-case$46 $switch-default$127 $switch-case$43 $switch-default$127 $switch-default$127 $switch-case$36 $switch-default$127 + (i32.sub + (tee_local $26 + (select + (i32.and + (get_local $1) + (i32.const -33) + ) (get_local $1) - (i32.const -33) + (get_local $5) ) - (get_local $1) - (get_local $5) ) + (i32.const 65) ) - (i32.const 65) ) ) - ) - (block $switch-default$33 - (block $switch-case$32 - (block $switch-case$31 - (block $switch-case$30 - (block $switch-case$29 - (block $switch-case$28 - (block $switch-case$27 - (block $switch-case$26 - (br_table $switch-case$26 $switch-case$27 $switch-case$28 $switch-case$29 $switch-case$30 $switch-default$33 $switch-case$31 $switch-case$32 $switch-default$33 - (i32.sub - (get_local $13) - (i32.const 0) + (block $switch-default$33 + (block $switch-case$32 + (block $switch-case$31 + (block $switch-case$30 + (block $switch-case$29 + (block $switch-case$28 + (block $switch-case$27 + (block $switch-case$26 + (br_table $switch-case$26 $switch-case$27 $switch-case$28 $switch-case$29 $switch-case$30 $switch-default$33 $switch-case$31 $switch-case$32 $switch-default$33 + (i32.sub + (get_local $13) + (i32.const 0) + ) ) ) + (i32.store + (i32.load + (get_local $19) + ) + (get_local $22) + ) + (set_local $20 + (get_local $9) + ) + (set_local $1 + (get_local $17) + ) + (set_local $8 + (get_local $21) + ) + (br $label$continue$L1) ) (i32.store (i32.load @@ -4398,11 +4444,26 @@ (br $label$continue$L1) ) (i32.store - (i32.load - (get_local $19) + (tee_local $1 + (i32.load + (get_local $19) + ) ) (get_local $22) ) + (i32.store offset=4 + (get_local $1) + (i32.shr_s + (i32.shl + (i32.lt_s + (get_local $22) + (i32.const 0) + ) + (i32.const 31) + ) + (i32.const 31) + ) + ) (set_local $20 (get_local $9) ) @@ -4414,25 +4475,13 @@ ) (br $label$continue$L1) ) - (i32.store - (tee_local $1 - (i32.load - (get_local $19) - ) + (i32.store16 + (i32.load + (get_local $19) ) - (get_local $22) - ) - (i32.store offset=4 - (get_local $1) - (i32.shr_s - (i32.shl - (i32.lt_s - (get_local $22) - (i32.const 0) - ) - (i32.const 31) - ) - (i32.const 31) + (i32.and + (get_local $22) + (i32.const 65535) ) ) (set_local $20 @@ -4446,13 +4495,13 @@ ) (br $label$continue$L1) ) - (i32.store16 + (i32.store8 (i32.load (get_local $19) ) (i32.and (get_local $22) - (i32.const 65535) + (i32.const 255) ) ) (set_local $20 @@ -4466,14 +4515,11 @@ ) (br $label$continue$L1) ) - (i32.store8 + (i32.store (i32.load (get_local $19) ) - (i32.and - (get_local $22) - (i32.const 255) - ) + (get_local $22) ) (set_local $20 (get_local $9) @@ -4487,11 +4533,26 @@ (br $label$continue$L1) ) (i32.store - (i32.load - (get_local $19) + (tee_local $1 + (i32.load + (get_local $19) + ) ) (get_local $22) ) + (i32.store offset=4 + (get_local $1) + (i32.shr_s + (i32.shl + (i32.lt_s + (get_local $22) + (i32.const 0) + ) + (i32.const 31) + ) + (i32.const 31) + ) + ) (set_local $20 (get_local $9) ) @@ -4503,27 +4564,6 @@ ) (br $label$continue$L1) ) - (i32.store - (tee_local $1 - (i32.load - (get_local $19) - ) - ) - (get_local $22) - ) - (i32.store offset=4 - (get_local $1) - (i32.shr_s - (i32.shl - (i32.lt_s - (get_local $22) - (i32.const 0) - ) - (i32.const 31) - ) - (i32.const 31) - ) - ) (set_local $20 (get_local $9) ) @@ -4535,372 +4575,385 @@ ) (br $label$continue$L1) ) - (set_local $20 - (get_local $9) + (set_local $46 + (i32.or + (get_local $18) + (i32.const 8) + ) ) - (set_local $1 - (get_local $17) + (set_local $57 + (select + (get_local $10) + (i32.const 8) + (i32.gt_u + (get_local $10) + (i32.const 8) + ) + ) ) - (set_local $8 - (get_local $21) + (set_local $68 + (i32.const 120) + ) + (set_local $12 + (i32.const 64) ) - (br $label$continue$L1) + (br $switch$24) ) (set_local $46 - (i32.or - (get_local $18) - (i32.const 8) - ) + (get_local $18) ) (set_local $57 - (select - (get_local $10) - (i32.const 8) - (i32.gt_u - (get_local $10) - (i32.const 8) - ) - ) + (get_local $10) ) (set_local $68 - (i32.const 120) + (get_local $26) ) (set_local $12 (i32.const 64) ) (br $switch$24) ) - (set_local $46 - (get_local $18) - ) - (set_local $57 - (get_local $10) - ) - (set_local $68 - (get_local $26) - ) - (set_local $12 - (i32.const 64) - ) - (br $switch$24) - ) - (if - (i32.and - (i32.eq - (tee_local $5 - (i32.load - (tee_local $1 - (get_local $19) - ) - ) - ) - (i32.const 0) - ) - (i32.eq - (tee_local $1 - (i32.load offset=4 - (get_local $1) - ) - ) - (i32.const 0) - ) - ) - (set_local $6 - (get_local $28) - ) - (block - (set_local $6 - (get_local $28) - ) - (loop $while-out$38 $while-in$39 - (i32.store8 - (tee_local $6 - (i32.add - (get_local $6) - (i32.const -1) + (if + (i32.and + (i32.eq + (tee_local $5 + (i32.load + (tee_local $1 + (get_local $19) + ) ) ) - (i32.and - (i32.or - (i32.and - (get_local $5) - (i32.const 7) - ) - (i32.const 48) + (i32.const 0) + ) + (i32.eq + (tee_local $1 + (i32.load offset=4 + (get_local $1) ) - (i32.const 255) ) + (i32.const 0) ) - (if - (i32.and - (i32.eq - (tee_local $5 - (call $_bitshift64Lshr - (get_local $5) - (get_local $1) - (i32.const 3) + ) + (set_local $6 + (get_local $28) + ) + (block + (set_local $6 + (get_local $28) + ) + (loop $while-in$39 + (block $while-out$38 + (i32.store8 + (tee_local $6 + (i32.add + (get_local $6) + (i32.const -1) ) ) - (i32.const 0) + (i32.and + (i32.or + (i32.and + (get_local $5) + (i32.const 7) + ) + (i32.const 48) + ) + (i32.const 255) + ) ) - (i32.eq - (tee_local $1 - (i32.load - (i32.const 168) + (if + (i32.and + (i32.eq + (tee_local $5 + (call $_bitshift64Lshr + (get_local $5) + (get_local $1) + (i32.const 3) + ) + ) + (i32.const 0) + ) + (i32.eq + (tee_local $1 + (i32.load + (i32.const 168) + ) + ) + (i32.const 0) ) ) - (i32.const 0) + (br $while-out$38) ) + (br $while-in$39) ) - (br $while-out$38) ) - (br $while-in$39) ) ) - ) - (set_local $58 - (if - (i32.eq - (i32.and - (get_local $18) - (i32.const 8) - ) - (i32.const 0) - ) - (block - (set_local $34 - (get_local $18) - ) - (set_local $32 - (get_local $10) - ) - (set_local $35 + (set_local $58 + (if + (i32.eq + (i32.and + (get_local $18) + (i32.const 8) + ) (i32.const 0) ) - (set_local $36 - (i32.const 4091) - ) - (set_local $12 - (i32.const 77) - ) - (get_local $6) - ) - (block - (set_local $5 - (i32.lt_s + (block + (set_local $34 + (get_local $18) + ) + (set_local $32 (get_local $10) - (tee_local $1 - (i32.add - (i32.sub - (get_local $71) - (get_local $6) + ) + (set_local $35 + (i32.const 0) + ) + (set_local $36 + (i32.const 4091) + ) + (set_local $12 + (i32.const 77) + ) + (get_local $6) + ) + (block + (set_local $5 + (i32.lt_s + (get_local $10) + (tee_local $1 + (i32.add + (i32.sub + (get_local $71) + (get_local $6) + ) + (i32.const 1) ) - (i32.const 1) ) ) ) - ) - (set_local $34 - (get_local $18) - ) - (set_local $32 - (select - (get_local $1) - (get_local $10) - (get_local $5) + (set_local $34 + (get_local $18) ) + (set_local $32 + (select + (get_local $1) + (get_local $10) + (get_local $5) + ) + ) + (set_local $35 + (i32.const 0) + ) + (set_local $36 + (i32.const 4091) + ) + (set_local $12 + (i32.const 77) + ) + (get_local $6) ) - (set_local $35 - (i32.const 0) - ) - (set_local $36 - (i32.const 4091) - ) - (set_local $12 - (i32.const 77) - ) - (get_local $6) - ) - ) - ) - (br $switch$24) - ) - (set_local $5 - (i32.load - (tee_local $1 - (get_local $19) - ) - ) - ) - (if - (i32.lt_s - (tee_local $33 - (i32.load offset=4 - (get_local $1) ) ) - (i32.const 0) + (br $switch$24) ) - (block - (set_local $1 - (call $_i64Subtract - (i32.const 0) - (i32.const 0) - (get_local $5) - (get_local $33) - ) - ) - (set_local $5 - (i32.load - (i32.const 168) - ) - ) - (i32.store - (tee_local $33 + (set_local $5 + (i32.load + (tee_local $1 (get_local $19) ) - (get_local $1) - ) - (i32.store offset=4 - (get_local $33) - (get_local $5) - ) - (set_local $33 - (get_local $1) - ) - (set_local $59 - (get_local $5) - ) - (set_local $60 - (i32.const 1) - ) - (set_local $61 - (i32.const 4091) ) - (set_local $12 - (i32.const 76) - ) - (br $switch$24) ) - ) - (set_local $33 (if - (i32.eq - (i32.and - (get_local $18) - (i32.const 2048) + (i32.lt_s + (tee_local $33 + (i32.load offset=4 + (get_local $1) + ) ) (i32.const 0) ) (block (set_local $1 - (select - (i32.const 4091) - (i32.const 4093) - (i32.eq - (tee_local $6 - (i32.and - (get_local $18) - (i32.const 1) - ) - ) - (i32.const 0) - ) + (call $_i64Subtract + (i32.const 0) + (i32.const 0) + (get_local $5) + (get_local $33) ) ) - (set_local $59 + (set_local $5 + (i32.load + (i32.const 168) + ) + ) + (i32.store + (tee_local $33 + (get_local $19) + ) + (get_local $1) + ) + (i32.store offset=4 (get_local $33) + (get_local $5) + ) + (set_local $33 + (get_local $1) + ) + (set_local $59 + (get_local $5) ) (set_local $60 - (get_local $6) + (i32.const 1) ) (set_local $61 - (get_local $1) + (i32.const 4091) + ) + (set_local $12 + (i32.const 76) + ) + (br $switch$24) + ) + ) + (set_local $33 + (if + (i32.eq + (i32.and + (get_local $18) + (i32.const 2048) + ) + (i32.const 0) + ) + (block + (set_local $1 + (select + (i32.const 4091) + (i32.const 4093) + (i32.eq + (tee_local $6 + (i32.and + (get_local $18) + (i32.const 1) + ) + ) + (i32.const 0) + ) + ) + ) + (set_local $59 + (get_local $33) + ) + (set_local $60 + (get_local $6) + ) + (set_local $61 + (get_local $1) + ) + (set_local $12 + (i32.const 76) + ) + (get_local $5) ) - (set_local $12 - (i32.const 76) + (block + (set_local $59 + (get_local $33) + ) + (set_local $60 + (i32.const 1) + ) + (set_local $61 + (i32.const 4092) + ) + (set_local $12 + (i32.const 76) + ) + (get_local $5) ) - (get_local $5) ) - (block - (set_local $59 - (get_local $33) - ) - (set_local $60 - (i32.const 1) - ) - (set_local $61 - (i32.const 4092) - ) - (set_local $12 - (i32.const 76) - ) - (get_local $5) + ) + (br $switch$24) + ) + (set_local $33 + (i32.load + (tee_local $1 + (get_local $19) ) ) ) + (set_local $59 + (i32.load offset=4 + (get_local $1) + ) + ) + (set_local $60 + (i32.const 0) + ) + (set_local $61 + (i32.const 4091) + ) + (set_local $12 + (i32.const 76) + ) (br $switch$24) ) - (set_local $33 + (set_local $1 (i32.load - (tee_local $1 - (get_local $19) - ) + (get_local $19) ) ) - (set_local $59 - (i32.load offset=4 + (i32.store8 + (get_local $72) + (i32.and (get_local $1) + (i32.const 255) ) ) - (set_local $60 + (set_local $47 + (get_local $72) + ) + (set_local $37 + (get_local $7) + ) + (set_local $42 + (i32.const 1) + ) + (set_local $43 (i32.const 0) ) - (set_local $61 + (set_local $48 (i32.const 4091) ) - (set_local $12 - (i32.const 76) + (set_local $49 + (get_local $28) ) (br $switch$24) ) - (set_local $1 - (i32.load - (get_local $19) - ) - ) - (i32.store8 - (get_local $72) - (i32.and - (get_local $1) - (i32.const 255) + (set_local $50 + (call $_strerror + (i32.load + (call $___errno_location) + ) ) ) - (set_local $47 - (get_local $72) - ) - (set_local $37 - (get_local $7) - ) - (set_local $42 - (i32.const 1) + (set_local $12 + (i32.const 82) ) - (set_local $43 + (br $switch$24) + ) + (set_local $5 + (i32.ne + (tee_local $1 + (i32.load + (get_local $19) + ) + ) (i32.const 0) ) - (set_local $48 - (i32.const 4091) - ) - (set_local $49 - (get_local $28) - ) - (br $switch$24) ) (set_local $50 - (call $_strerror - (i32.load - (call $___errno_location) - ) + (select + (get_local $1) + (i32.const 4101) + (get_local $5) ) ) (set_local $12 @@ -4908,1063 +4961,1091 @@ ) (br $switch$24) ) - (set_local $5 - (i32.ne - (tee_local $1 - (i32.load - (get_local $19) - ) - ) - (i32.const 0) + (set_local $1 + (i32.load + (get_local $19) ) ) - (set_local $50 - (select - (get_local $1) - (i32.const 4101) - (get_local $5) - ) + (i32.store + (get_local $73) + (get_local $1) ) - (set_local $12 - (i32.const 82) + (i32.store + (get_local $76) + (i32.const 0) ) - (br $switch$24) - ) - (set_local $1 - (i32.load + (i32.store (get_local $19) + (get_local $73) ) - ) - (i32.store - (get_local $73) - (get_local $1) - ) - (i32.store - (get_local $76) - (i32.const 0) - ) - (i32.store - (get_local $19) - (get_local $73) - ) - (set_local $69 - (i32.const -1) + (set_local $69 + (i32.const -1) + ) + (set_local $12 + (i32.const 86) + ) + (br $switch$24) ) (set_local $12 - (i32.const 86) - ) - (br $switch$24) - ) - (set_local $12 - (if - (i32.eq - (get_local $10) - (i32.const 0) - ) - (block - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $16) + (if + (i32.eq + (get_local $10) (i32.const 0) - (get_local $18) ) - (set_local $38 - (i32.const 0) + (block + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $16) + (i32.const 0) + (get_local $18) + ) + (set_local $38 + (i32.const 0) + ) + (i32.const 98) ) - (i32.const 98) - ) - (block - (set_local $69 - (get_local $10) + (block + (set_local $69 + (get_local $10) + ) + (i32.const 86) ) - (i32.const 86) ) ) + (br $switch$24) ) - (br $switch$24) - ) - (set_local $14 - (f64.load - (get_local $19) + (set_local $14 + (f64.load + (get_local $19) + ) ) - ) - (i32.store - (get_local $25) - (i32.const 0) - ) - (f64.store - (i32.load - (i32.const 24) + (i32.store + (get_local $25) + (i32.const 0) ) - (get_local $14) - ) - (set_local $51 - (if - (i32.lt_s - (i32.load offset=4 - (i32.load - (i32.const 24) - ) - ) - (i32.const 0) - ) - (block - (set_local $39 - (i32.const 4108) - ) - (set_local $14 - (f64.neg - (get_local $14) - ) - ) - (i32.const 1) + (f64.store + (i32.load + (i32.const 24) ) + (get_local $14) + ) + (set_local $51 (if - (i32.eq - (i32.and - (get_local $18) - (i32.const 2048) - ) - (i32.const 0) - ) - (block - (set_local $39 - (select - (i32.const 4109) - (i32.const 4114) - (i32.eq - (tee_local $1 - (i32.and - (get_local $18) - (i32.const 1) - ) - ) - (i32.const 0) - ) + (i32.lt_s + (i32.load offset=4 + (i32.load + (i32.const 24) ) ) - (get_local $1) - ) - (block - (set_local $39 - (i32.const 4111) - ) - (i32.const 1) - ) - ) - ) - ) - (f64.store - (i32.load - (i32.const 24) - ) - (get_local $14) - ) - (set_local $20 - (get_local $9) - ) - (set_local $1 - (block $do-once$56 - (if - (i32.or - (i32.lt_u - (tee_local $1 - (i32.and - (i32.load offset=4 - (i32.load - (i32.const 24) + (i32.const 0) + ) + (block + (set_local $39 + (i32.const 4108) + ) + (set_local $14 + (f64.neg + (get_local $14) + ) + ) + (i32.const 1) + ) + (if + (i32.eq + (i32.and + (get_local $18) + (i32.const 2048) + ) + (i32.const 0) + ) + (block + (set_local $39 + (select + (i32.const 4109) + (i32.const 4114) + (i32.eq + (tee_local $1 + (i32.and + (get_local $18) + (i32.const 1) + ) ) + (i32.const 0) ) - (i32.const 2146435072) ) ) - (i32.const 2146435072) + (get_local $1) ) - (i32.and - (i32.eq - (get_local $1) - (i32.const 2146435072) + (block + (set_local $39 + (i32.const 4111) ) - (i32.const 0) + (i32.const 1) ) ) - (block - (if - (tee_local $5 - (f64.ne - (tee_local $14 - (f64.mul - (call $_frexpl - (get_local $14) - (get_local $25) + ) + ) + (f64.store + (i32.load + (i32.const 24) + ) + (get_local $14) + ) + (set_local $20 + (get_local $9) + ) + (set_local $1 + (block $do-once$56 + (if + (i32.or + (i32.lt_u + (tee_local $1 + (i32.and + (i32.load offset=4 + (i32.load + (i32.const 24) ) - (f64.const 2) ) + (i32.const 2146435072) ) - (f64.const 0) ) + (i32.const 2146435072) ) - (i32.store - (get_local $25) - (i32.add - (i32.load - (get_local $25) - ) - (i32.const -1) + (i32.and + (i32.eq + (get_local $1) + (i32.const 2146435072) ) + (i32.const 0) ) ) - (if - (i32.eq - (tee_local $15 - (i32.or - (get_local $26) - (i32.const 32) - ) - ) - (i32.const 97) - ) - (block - (set_local $9 - (select - (get_local $39) - (i32.add - (get_local $39) - (i32.const 9) - ) - (i32.eq - (tee_local $6 - (i32.and - (get_local $26) - (i32.const 32) + (block + (if + (tee_local $5 + (f64.ne + (tee_local $14 + (f64.mul + (call $_frexpl + (get_local $14) + (get_local $25) ) + (f64.const 2) ) - (i32.const 0) ) + (f64.const 0) ) ) - (set_local $7 - (i32.or - (get_local $51) - (i32.const 2) + (i32.store + (get_local $25) + (i32.add + (i32.load + (get_local $25) + ) + (i32.const -1) ) ) - (set_local $14 - (if + ) + (if + (i32.eq + (tee_local $15 (i32.or - (i32.gt_u - (get_local $10) - (i32.const 11) + (get_local $26) + (i32.const 32) + ) + ) + (i32.const 97) + ) + (block + (set_local $9 + (select + (get_local $39) + (i32.add + (get_local $39) + (i32.const 9) ) (i32.eq - (tee_local $1 - (i32.sub - (i32.const 12) - (get_local $10) + (tee_local $6 + (i32.and + (get_local $26) + (i32.const 32) ) ) (i32.const 0) ) ) - (get_local $14) - (block - (set_local $30 - (f64.const 8) - ) - (loop $while-out$60 $while-in$61 - (set_local $30 - (f64.mul - (get_local $30) - (f64.const 16) - ) + ) + (set_local $7 + (i32.or + (get_local $51) + (i32.const 2) + ) + ) + (set_local $14 + (if + (i32.or + (i32.gt_u + (get_local $10) + (i32.const 11) ) - (if - (i32.eq - (tee_local $1 - (i32.add - (get_local $1) - (i32.const -1) - ) + (i32.eq + (tee_local $1 + (i32.sub + (i32.const 12) + (get_local $10) ) - (i32.const 0) ) - (br $while-out$60) + (i32.const 0) ) - (br $while-in$61) ) - (select - (f64.neg - (f64.add - (get_local $30) - (f64.sub - (f64.neg - (get_local $14) + (get_local $14) + (block + (set_local $30 + (f64.const 8) + ) + (loop $while-in$61 + (block $while-out$60 + (set_local $30 + (f64.mul + (get_local $30) + (f64.const 16) ) - (get_local $30) ) + (if + (i32.eq + (tee_local $1 + (i32.add + (get_local $1) + (i32.const -1) + ) + ) + (i32.const 0) + ) + (br $while-out$60) + ) + (br $while-in$61) ) ) - (f64.sub - (f64.add - (get_local $14) + (select + (f64.neg + (f64.add + (get_local $30) + (f64.sub + (f64.neg + (get_local $14) + ) + (get_local $30) + ) + ) + ) + (f64.sub + (f64.add + (get_local $14) + (get_local $30) + ) (get_local $30) ) - (get_local $30) - ) - (i32.eq - (i32.shr_s - (i32.shl - (i32.load8_s - (get_local $9) + (i32.eq + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $9) + ) + (i32.const 24) ) (i32.const 24) ) - (i32.const 24) + (i32.const 45) ) - (i32.const 45) ) ) ) ) - ) - (set_local $5 - (i32.lt_s - (tee_local $1 - (i32.load - (get_local $25) + (set_local $5 + (i32.lt_s + (tee_local $1 + (i32.load + (get_local $25) + ) ) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $5 - (i32.shr_s - (i32.shl - (i32.lt_s - (tee_local $8 - (select - (i32.sub - (i32.const 0) + (set_local $5 + (i32.shr_s + (i32.shl + (i32.lt_s + (tee_local $8 + (select + (i32.sub + (i32.const 0) + (get_local $1) + ) (get_local $1) + (get_local $5) ) - (get_local $1) - (get_local $5) ) + (i32.const 0) ) - (i32.const 0) + (i32.const 31) ) (i32.const 31) ) - (i32.const 31) ) - ) - (i32.store8 - (i32.add - (tee_local $5 - (if - (i32.eq - (tee_local $5 - (call $_fmt_u - (get_local $8) - (get_local $5) - (get_local $52) + (i32.store8 + (i32.add + (tee_local $5 + (if + (i32.eq + (tee_local $5 + (call $_fmt_u + (get_local $8) + (get_local $5) + (get_local $52) + ) ) + (get_local $52) ) - (get_local $52) - ) - (block - (i32.store8 + (block + (i32.store8 + (get_local $74) + (i32.const 48) + ) (get_local $74) - (i32.const 48) ) - (get_local $74) + (get_local $5) ) - (get_local $5) ) + (i32.const -1) ) - (i32.const -1) - ) - (i32.and - (i32.add - (i32.and - (i32.shr_s - (get_local $1) - (i32.const 31) + (i32.and + (i32.add + (i32.and + (i32.shr_s + (get_local $1) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) + (i32.const 43) ) - (i32.const 43) + (i32.const 255) ) - (i32.const 255) ) - ) - (i32.store8 - (tee_local $8 - (i32.add - (get_local $5) - (i32.const -2) + (i32.store8 + (tee_local $8 + (i32.add + (get_local $5) + (i32.const -2) + ) ) - ) - (i32.and - (i32.add - (get_local $26) - (i32.const 15) + (i32.and + (i32.add + (get_local $26) + (i32.const 15) + ) + (i32.const 255) ) - (i32.const 255) ) - ) - (set_local $5 - (i32.lt_s - (get_local $10) - (i32.const 1) + (set_local $5 + (i32.lt_s + (get_local $10) + (i32.const 1) + ) ) - ) - (set_local $13 - (i32.eq - (i32.and - (get_local $18) - (i32.const 8) + (set_local $13 + (i32.eq + (i32.and + (get_local $18) + (i32.const 8) + ) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $11 - (get_local $29) - ) - (loop $while-out$62 $while-in$63 - (i32.store8 - (get_local $11) - (i32.and - (i32.or + (set_local $11 + (get_local $29) + ) + (loop $while-in$63 + (block $while-out$62 + (i32.store8 + (get_local $11) (i32.and - (i32.load8_s - (i32.add - (tee_local $1 - (i32.trunc_s/f64 - (get_local $14) + (i32.or + (i32.and + (i32.load8_s + (i32.add + (tee_local $1 + (i32.trunc_s/f64 + (get_local $14) + ) + ) + (i32.const 4075) ) ) - (i32.const 4075) + (i32.const 255) ) + (get_local $6) ) (i32.const 255) ) - (get_local $6) ) - (i32.const 255) - ) - ) - (set_local $14 - (f64.mul - (f64.sub - (get_local $14) - (f64.convert_s/i32 - (get_local $1) + (set_local $14 + (f64.mul + (f64.sub + (get_local $14) + (f64.convert_s/i32 + (get_local $1) + ) + ) + (f64.const 16) ) ) - (f64.const 16) - ) - ) - (set_local $11 - (block $do-once$64 - (if - (i32.eq - (i32.sub - (tee_local $1 - (i32.add - (get_local $11) - (i32.const 1) + (set_local $11 + (block $do-once$64 + (if + (i32.eq + (i32.sub + (tee_local $1 + (i32.add + (get_local $11) + (i32.const 1) + ) + ) + (get_local $64) ) + (i32.const 1) ) - (get_local $64) - ) - (i32.const 1) - ) - (block - (br_if $do-once$64 - (get_local $1) - (i32.and - (get_local $13) - (i32.and - (get_local $5) - (f64.eq - (get_local $14) - (f64.const 0) + (block + (br_if $do-once$64 + (get_local $1) + (i32.and + (get_local $13) + (i32.and + (get_local $5) + (f64.eq + (get_local $14) + (f64.const 0) + ) + ) ) ) + (i32.store8 + (get_local $1) + (i32.const 46) + ) + (i32.add + (get_local $11) + (i32.const 2) + ) ) - ) - (i32.store8 (get_local $1) - (i32.const 46) ) - (i32.add + ) + ) + (if + (f64.eq + (get_local $14) + (f64.const 0) + ) + (block + (set_local $1 (get_local $11) - (i32.const 2) ) + (br $while-out$62) ) - (get_local $1) ) + (br $while-in$63) ) ) - (if - (f64.eq - (get_local $14) - (f64.const 0) - ) - (block - (set_local $1 - (get_local $11) + (set_local $5 + (i32.and + (i32.ne + (get_local $10) + (i32.const 0) ) - (br $while-out$62) - ) - ) - (br $while-in$63) - ) - (set_local $5 - (i32.and - (i32.ne - (get_local $10) - (i32.const 0) - ) - (i32.lt_s - (i32.add - (get_local $78) - (get_local $1) + (i32.lt_s + (i32.add + (get_local $78) + (get_local $1) + ) + (get_local $10) ) - (get_local $10) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $16) - (tee_local $5 - (i32.add - (tee_local $6 - (select - (i32.sub - (i32.add - (get_local $79) - (get_local $10) - ) - (get_local $8) - ) - (i32.add + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $16) + (tee_local $5 + (i32.add + (tee_local $6 + (select (i32.sub - (get_local $77) + (i32.add + (get_local $79) + (get_local $10) + ) (get_local $8) ) - (get_local $1) + (i32.add + (i32.sub + (get_local $77) + (get_local $8) + ) + (get_local $1) + ) + (get_local $5) ) - (get_local $5) ) + (get_local $7) ) - (get_local $7) - ) - ) - (get_local $18) - ) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) - ) - (i32.const 32) ) - (i32.const 0) - ) - (call $___fwritex - (get_local $9) - (get_local $7) - (get_local $0) - ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (get_local $16) - (get_local $5) - (i32.xor (get_local $18) - (i32.const 65536) - ) - ) - (set_local $1 - (i32.sub - (get_local $1) - (get_local $64) ) - ) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) + (i32.const 0) + ) + (call $___fwritex + (get_local $9) + (get_local $7) + (get_local $0) ) - (i32.const 0) ) - (call $___fwritex - (get_local $29) - (get_local $1) + (call $_pad (get_local $0) + (i32.const 48) + (get_local $16) + (get_local $5) + (i32.xor + (get_local $18) + (i32.const 65536) + ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (i32.sub - (get_local $6) - (i32.add + (set_local $1 + (i32.sub (get_local $1) - (tee_local $1 - (i32.sub - (get_local $40) - (get_local $8) + (get_local $64) + ) + ) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) ) + (i32.const 32) ) + (i32.const 0) + ) + (call $___fwritex + (get_local $29) + (get_local $1) + (get_local $0) ) ) - (i32.const 0) - (i32.const 0) - ) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) + (call $_pad + (get_local $0) + (i32.const 48) + (i32.sub + (get_local $6) + (i32.add + (get_local $1) + (tee_local $1 + (i32.sub + (get_local $40) + (get_local $8) + ) + ) ) - (i32.const 32) ) (i32.const 0) + (i32.const 0) ) - (call $___fwritex - (get_local $8) - (get_local $1) - (get_local $0) - ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $16) - (get_local $5) - (i32.xor - (get_local $18) - (i32.const 8192) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + (i32.const 0) + ) + (call $___fwritex + (get_local $8) + (get_local $1) + (get_local $0) + ) ) - ) - (br $do-once$56 - (select + (call $_pad + (get_local $0) + (i32.const 32) (get_local $16) (get_local $5) - (i32.lt_s - (get_local $5) + (i32.xor + (get_local $18) + (i32.const 8192) + ) + ) + (br $do-once$56 + (select (get_local $16) + (get_local $5) + (i32.lt_s + (get_local $5) + (get_local $16) + ) ) ) ) ) - ) - (set_local $1 - (select - (i32.const 6) - (get_local $10) - (i32.lt_s + (set_local $1 + (select + (i32.const 6) (get_local $10) - (i32.const 0) + (i32.lt_s + (get_local $10) + (i32.const 0) + ) ) ) - ) - (set_local $62 - (tee_local $9 - (select - (get_local $80) - (get_local $81) - (i32.lt_s - (if - (get_local $5) - (block - (i32.store - (get_local $25) - (tee_local $5 - (i32.add - (i32.load - (get_local $25) + (set_local $62 + (tee_local $9 + (select + (get_local $80) + (get_local $81) + (i32.lt_s + (if + (get_local $5) + (block + (i32.store + (get_local $25) + (tee_local $5 + (i32.add + (i32.load + (get_local $25) + ) + (i32.const -28) ) - (i32.const -28) ) ) - ) - (set_local $14 - (f64.mul - (get_local $14) - (f64.const 268435456) + (set_local $14 + (f64.mul + (get_local $14) + (f64.const 268435456) + ) ) + (get_local $5) + ) + (i32.load + (get_local $25) ) - (get_local $5) - ) - (i32.load - (get_local $25) ) + (i32.const 0) ) - (i32.const 0) - ) - ) - ) - ) - (set_local $7 - (get_local $9) - ) - (loop $while-out$66 $while-in$67 - (i32.store - (get_local $7) - (tee_local $5 - (i32.trunc_s/f64 - (get_local $14) ) ) ) (set_local $7 - (i32.add - (get_local $7) - (i32.const 4) - ) + (get_local $9) ) - (if - (f64.eq - (tee_local $14 - (f64.mul - (f64.sub + (loop $while-in$67 + (block $while-out$66 + (i32.store + (get_local $7) + (tee_local $5 + (i32.trunc_s/f64 (get_local $14) - (f64.convert_u/i32 - (get_local $5) - ) ) - (f64.const 1e9) ) ) - (f64.const 0) - ) - (block - (set_local $6 - (get_local $7) - ) - (br $while-out$66) - ) - ) - (br $while-in$67) - ) - (if - (i32.gt_s - (tee_local $5 - (i32.load - (get_local $25) + (set_local $7 + (i32.add + (get_local $7) + (i32.const 4) + ) ) - ) - (i32.const 0) - ) - (block - (set_local $8 - (get_local $9) - ) - (set_local $13 - (get_local $6) - ) - (loop $while-out$68 $while-in$69 - (set_local $11 - (select - (i32.const 29) - (get_local $5) - (i32.gt_s - (get_local $5) - (i32.const 29) + (if + (f64.eq + (tee_local $14 + (f64.mul + (f64.sub + (get_local $14) + (f64.convert_u/i32 + (get_local $5) + ) + ) + (f64.const 1e9) + ) ) + (f64.const 0) + ) + (block + (set_local $6 + (get_local $7) + ) + (br $while-out$66) + ) + ) + (br $while-in$67) + ) + ) + (if + (i32.gt_s + (tee_local $5 + (i32.load + (get_local $25) ) ) - (set_local $7 - (block $do-once$70 - (if - (i32.lt_u - (tee_local $7 - (i32.add - (get_local $13) - (i32.const -4) - ) + (i32.const 0) + ) + (block + (set_local $8 + (get_local $9) + ) + (set_local $13 + (get_local $6) + ) + (loop $while-in$69 + (block $while-out$68 + (set_local $11 + (select + (i32.const 29) + (get_local $5) + (i32.gt_s + (get_local $5) + (i32.const 29) ) - (get_local $8) ) - (get_local $8) - (block - (set_local $5 - (i32.const 0) - ) - (set_local $10 - (get_local $7) - ) - (loop $while-out$72 $while-in$73 - (set_local $6 - (call $___uremdi3 - (tee_local $5 - (call $_i64Add - (call $_bitshift64Shl - (i32.load - (get_local $10) + ) + (set_local $7 + (block $do-once$70 + (if + (i32.lt_u + (tee_local $7 + (i32.add + (get_local $13) + (i32.const -4) + ) + ) + (get_local $8) + ) + (get_local $8) + (block + (set_local $5 + (i32.const 0) + ) + (set_local $10 + (get_local $7) + ) + (loop $while-in$73 + (block $while-out$72 + (set_local $6 + (call $___uremdi3 + (tee_local $5 + (call $_i64Add + (call $_bitshift64Shl + (i32.load + (get_local $10) + ) + (i32.const 0) + (get_local $11) + ) + (i32.load + (i32.const 168) + ) + (get_local $5) + (i32.const 0) + ) ) + (tee_local $7 + (i32.load + (i32.const 168) + ) + ) + (i32.const 1000000000) (i32.const 0) - (get_local $11) ) - (i32.load - (i32.const 168) + ) + (i32.store + (get_local $10) + (get_local $6) + ) + (set_local $5 + (call $___udivdi3 + (get_local $5) + (get_local $7) + (i32.const 1000000000) + (i32.const 0) ) - (get_local $5) - (i32.const 0) ) - ) - (tee_local $7 - (i32.load - (i32.const 168) + (if + (i32.lt_u + (tee_local $7 + (i32.add + (get_local $10) + (i32.const -4) + ) + ) + (get_local $8) + ) + (br $while-out$72) + (set_local $10 + (get_local $7) + ) ) + (br $while-in$73) ) - (i32.const 1000000000) - (i32.const 0) ) - ) - (i32.store - (get_local $10) - (get_local $6) - ) - (set_local $5 - (call $___udivdi3 - (get_local $5) - (get_local $7) - (i32.const 1000000000) - (i32.const 0) + (br_if $do-once$70 + (get_local $8) + (i32.eq + (get_local $5) + (i32.const 0) + ) ) - ) - (if - (i32.lt_u + (i32.store (tee_local $7 (i32.add - (get_local $10) + (get_local $8) (i32.const -4) ) ) - (get_local $8) - ) - (br $while-out$72) - (set_local $10 - (get_local $7) + (get_local $5) ) + (get_local $7) ) - (br $while-in$73) ) - (br_if $do-once$70 - (get_local $8) - (i32.eq - (get_local $5) - (i32.const 0) + ) + ) + (loop $while-in$75 + (block $while-out$74 + (if + (i32.le_u + (get_local $13) + (get_local $7) ) + (br $while-out$74) ) - (i32.store - (tee_local $7 - (i32.add - (get_local $8) - (i32.const -4) + (if + (i32.eq + (i32.load + (tee_local $5 + (i32.add + (get_local $13) + (i32.const -4) + ) + ) ) + (i32.const 0) ) - (get_local $5) + (set_local $13 + (get_local $5) + ) + (br $while-out$74) ) - (get_local $7) + (br $while-in$75) ) ) - ) - ) - (loop $while-out$74 $while-in$75 - (if - (i32.le_u - (get_local $13) - (get_local $7) - ) - (br $while-out$74) - ) - (if - (i32.eq - (i32.load - (tee_local $5 - (i32.add - (get_local $13) - (i32.const -4) + (i32.store + (get_local $25) + (tee_local $5 + (i32.sub + (i32.load + (get_local $25) ) + (get_local $11) ) ) - (i32.const 0) ) - (set_local $13 - (get_local $5) - ) - (br $while-out$74) - ) - (br $while-in$75) - ) - (i32.store - (get_local $25) - (tee_local $5 - (i32.sub - (i32.load - (get_local $25) + (if + (i32.gt_s + (get_local $5) + (i32.const 0) ) - (get_local $11) - ) - ) - ) - (if - (i32.gt_s - (get_local $5) - (i32.const 0) - ) - (set_local $8 - (get_local $7) - ) - (block - (set_local $6 - (get_local $13) - ) - (br $while-out$68) - ) - ) - (br $while-in$69) - ) - ) - (set_local $7 - (get_local $9) - ) - ) - (if - (i32.lt_s - (get_local $5) - (i32.const 0) - ) - (block - (set_local $8 - (i32.add - (i32.and - (i32.div_s - (i32.add - (get_local $1) - (i32.const 25) + (set_local $8 + (get_local $7) + ) + (block + (set_local $6 + (get_local $13) + ) + (br $while-out$68) ) - (i32.const 9) ) - (i32.const -1) + (br $while-in$69) ) - (i32.const 1) ) ) - (set_local $10 - (i32.eq - (get_local $15) - (i32.const 102) - ) + (set_local $7 + (get_local $9) ) - (set_local $23 - (get_local $6) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 0) ) - (loop $while-out$76 $while-in$77 - (set_local $5 - (i32.gt_s - (tee_local $6 - (i32.sub - (i32.const 0) - (get_local $5) + (block + (set_local $8 + (i32.add + (i32.and + (i32.div_s + (i32.add + (get_local $1) + (i32.const 25) + ) + (i32.const 9) ) + (i32.const -1) ) - (i32.const 9) + (i32.const 1) ) ) - (set_local $13 - (select - (i32.const 9) - (get_local $6) - (get_local $5) + (set_local $10 + (i32.eq + (get_local $15) + (i32.const 102) ) ) - (set_local $11 - (block $do-once$78 - (if - (i32.lt_u - (get_local $7) - (get_local $23) - ) - (block - (set_local $70 - (i32.add - (i32.shl - (i32.const 1) - (get_local $13) - ) - (i32.const -1) + (set_local $23 + (get_local $6) + ) + (loop $while-in$77 + (block $while-out$76 + (set_local $5 + (i32.gt_s + (tee_local $6 + (i32.sub + (i32.const 0) + (get_local $5) ) ) - (set_local $27 - (i32.shr_u - (i32.const 1000000000) - (get_local $13) + (i32.const 9) + ) + ) + (set_local $13 + (select + (i32.const 9) + (get_local $6) + (get_local $5) + ) + ) + (set_local $11 + (block $do-once$78 + (if + (i32.lt_u + (get_local $7) + (get_local $23) ) - ) - (set_local $11 - (i32.const 0) - ) - (set_local $17 - (get_local $7) - ) - (loop $while-out$80 $while-in$81 - (set_local $6 - (i32.and - (tee_local $5 - (i32.load - (get_local $17) + (block + (set_local $70 + (i32.add + (i32.shl + (i32.const 1) + (get_local $13) ) + (i32.const -1) ) - (get_local $70) ) - ) - (i32.store - (get_local $17) - (i32.add + (set_local $27 (i32.shr_u - (get_local $5) + (i32.const 1000000000) (get_local $13) ) - (get_local $11) ) - ) - (set_local $11 - (i32.mul - (get_local $6) - (get_local $27) + (set_local $11 + (i32.const 0) ) - ) - (if - (i32.ge_u - (tee_local $17 - (i32.add + (set_local $17 + (get_local $7) + ) + (loop $while-in$81 + (block $while-out$80 + (set_local $6 + (i32.and + (tee_local $5 + (i32.load + (get_local $17) + ) + ) + (get_local $70) + ) + ) + (i32.store (get_local $17) + (i32.add + (i32.shr_u + (get_local $5) + (get_local $13) + ) + (get_local $11) + ) + ) + (set_local $11 + (i32.mul + (get_local $6) + (get_local $27) + ) + ) + (if + (i32.ge_u + (tee_local $17 + (i32.add + (get_local $17) + (i32.const 4) + ) + ) + (get_local $23) + ) + (br $while-out$80) + ) + (br $while-in$81) + ) + ) + (set_local $5 + (select + (i32.add + (get_local $7) (i32.const 4) ) + (get_local $7) + (i32.eq + (i32.load + (get_local $7) + ) + (i32.const 0) + ) + ) + ) + (if + (i32.eq + (get_local $11) + (i32.const 0) + ) + (br $do-once$78 + (get_local $5) ) + ) + (i32.store (get_local $23) + (get_local $11) ) - (br $while-out$80) + (set_local $23 + (i32.add + (get_local $23) + (i32.const 4) + ) + ) + (get_local $5) ) - (br $while-in$81) - ) - (set_local $5 (select (i32.add (get_local $7) @@ -5979,1237 +6060,1175 @@ ) ) ) - (if - (i32.eq - (get_local $11) - (i32.const 0) - ) - (br $do-once$78 - (get_local $5) - ) - ) - (i32.store - (get_local $23) - (get_local $11) - ) - (set_local $23 - (i32.add + ) + ) + (set_local $5 + (i32.gt_s + (i32.shr_s + (i32.sub (get_local $23) - (i32.const 4) + (tee_local $7 + (select + (get_local $9) + (get_local $11) + (get_local $10) + ) + ) ) + (i32.const 2) ) - (get_local $5) + (get_local $8) ) + ) + (set_local $6 (select (i32.add (get_local $7) - (i32.const 4) - ) - (get_local $7) - (i32.eq - (i32.load - (get_local $7) + (i32.shl + (get_local $8) + (i32.const 2) ) - (i32.const 0) ) + (get_local $23) + (get_local $5) ) ) - ) - ) - (set_local $5 - (i32.gt_s - (i32.shr_s - (i32.sub - (get_local $23) - (tee_local $7 - (select - (get_local $9) - (get_local $11) - (get_local $10) + (i32.store + (get_local $25) + (tee_local $5 + (i32.add + (i32.load + (get_local $25) ) + (get_local $13) ) ) - (i32.const 2) ) - (get_local $8) - ) - ) - (set_local $6 - (select - (i32.add - (get_local $7) - (i32.shl - (get_local $8) - (i32.const 2) + (if + (i32.lt_s + (get_local $5) + (i32.const 0) ) - ) - (get_local $23) - (get_local $5) - ) - ) - (i32.store - (get_local $25) - (tee_local $5 - (i32.add - (i32.load - (get_local $25) + (block + (set_local $7 + (get_local $11) + ) + (set_local $23 + (get_local $6) + ) ) - (get_local $13) - ) - ) - ) - (if - (i32.lt_s - (get_local $5) - (i32.const 0) - ) - (block - (set_local $7 - (get_local $11) - ) - (set_local $23 - (get_local $6) - ) - ) - (block - (set_local $7 - (get_local $11) - ) - (set_local $27 - (get_local $6) - ) - (br $while-out$76) - ) - ) - (br $while-in$77) - ) - ) - (set_local $27 - (get_local $6) - ) - ) - (block $do-once$82 - (if - (i32.lt_u - (get_local $7) - (get_local $27) - ) - (block - (set_local $6 - (i32.mul - (i32.shr_s - (i32.sub - (get_local $62) - (get_local $7) + (block + (set_local $7 + (get_local $11) + ) + (set_local $27 + (get_local $6) + ) + (br $while-out$76) ) - (i32.const 2) ) - (i32.const 9) + (br $while-in$77) ) ) - (if - (i32.lt_u - (tee_local $5 - (i32.load - (get_local $7) - ) - ) - (i32.const 10) - ) - (block - (set_local $13 - (get_local $6) - ) - (br $do-once$82) - ) - (set_local $8 - (i32.const 10) - ) + ) + (set_local $27 + (get_local $6) + ) + ) + (block $do-once$82 + (if + (i32.lt_u + (get_local $7) + (get_local $27) ) - (loop $while-out$84 $while-in$85 + (block (set_local $6 - (i32.add - (get_local $6) - (i32.const 1) + (i32.mul + (i32.shr_s + (i32.sub + (get_local $62) + (get_local $7) + ) + (i32.const 2) + ) + (i32.const 9) ) ) (if (i32.lt_u - (get_local $5) - (tee_local $8 - (i32.mul - (get_local $8) - (i32.const 10) + (tee_local $5 + (i32.load + (get_local $7) ) ) + (i32.const 10) ) (block (set_local $13 (get_local $6) ) - (br $while-out$84) + (br $do-once$82) + ) + (set_local $8 + (i32.const 10) + ) + ) + (loop $while-in$85 + (block $while-out$84 + (set_local $6 + (i32.add + (get_local $6) + (i32.const 1) + ) + ) + (if + (i32.lt_u + (get_local $5) + (tee_local $8 + (i32.mul + (get_local $8) + (i32.const 10) + ) + ) + ) + (block + (set_local $13 + (get_local $6) + ) + (br $while-out$84) + ) + ) + (br $while-in$85) ) ) - (br $while-in$85) ) - ) - (set_local $13 - (i32.const 0) + (set_local $13 + (i32.const 0) + ) ) ) - ) - (set_local $7 - (if - (i32.lt_s - (tee_local $5 - (i32.add - (i32.sub - (get_local $1) - (select - (get_local $13) - (i32.const 0) - (i32.ne - (get_local $15) - (i32.const 102) + (set_local $7 + (if + (i32.lt_s + (tee_local $5 + (i32.add + (i32.sub + (get_local $1) + (select + (get_local $13) + (i32.const 0) + (i32.ne + (get_local $15) + (i32.const 102) + ) ) ) - ) - (i32.shr_s - (i32.shl - (i32.and - (tee_local $70 - (i32.ne - (get_local $1) - (i32.const 0) + (i32.shr_s + (i32.shl + (i32.and + (tee_local $70 + (i32.ne + (get_local $1) + (i32.const 0) + ) ) - ) - (tee_local $8 - (i32.eq - (get_local $15) - (i32.const 103) + (tee_local $8 + (i32.eq + (get_local $15) + (i32.const 103) + ) ) ) + (i32.const 31) ) (i32.const 31) ) - (i32.const 31) ) ) - ) - (i32.add - (i32.mul - (i32.shr_s - (i32.sub - (get_local $27) - (get_local $62) + (i32.add + (i32.mul + (i32.shr_s + (i32.sub + (get_local $27) + (get_local $62) + ) + (i32.const 2) ) - (i32.const 2) + (i32.const 9) ) - (i32.const 9) + (i32.const -9) ) - (i32.const -9) ) - ) - (block - (set_local $6 - (i32.add + (block + (set_local $6 (i32.add - (get_local $9) - (i32.const 4) - ) - (i32.shl (i32.add - (i32.and - (i32.div_s - (tee_local $5 - (i32.add - (get_local $5) - (i32.const 9216) + (get_local $9) + (i32.const 4) + ) + (i32.shl + (i32.add + (i32.and + (i32.div_s + (tee_local $5 + (i32.add + (get_local $5) + (i32.const 9216) + ) ) + (i32.const 9) ) - (i32.const 9) + (i32.const -1) ) - (i32.const -1) + (i32.const -1024) ) - (i32.const -1024) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (if - (i32.lt_s - (tee_local $11 - (i32.add - (i32.and - (i32.rem_s - (get_local $5) - (i32.const 9) + (if + (i32.lt_s + (tee_local $11 + (i32.add + (i32.and + (i32.rem_s + (get_local $5) + (i32.const 9) + ) + (i32.const -1) ) - (i32.const -1) + (i32.const 1) ) - (i32.const 1) ) + (i32.const 9) ) - (i32.const 9) - ) - (block - (set_local $5 - (i32.const 10) - ) - (loop $while-out$86 $while-in$87 + (block (set_local $5 - (i32.mul - (get_local $5) - (i32.const 10) - ) + (i32.const 10) ) - (if - (i32.eq - (tee_local $11 - (i32.add - (get_local $11) - (i32.const 1) + (loop $while-in$87 + (block $while-out$86 + (set_local $5 + (i32.mul + (get_local $5) + (i32.const 10) ) ) - (i32.const 9) - ) - (block - (set_local $17 - (get_local $5) + (if + (i32.eq + (tee_local $11 + (i32.add + (get_local $11) + (i32.const 1) + ) + ) + (i32.const 9) + ) + (block + (set_local $17 + (get_local $5) + ) + (br $while-out$86) + ) ) - (br $while-out$86) + (br $while-in$87) ) ) - (br $while-in$87) + ) + (set_local $17 + (i32.const 10) ) ) - (set_local $17 - (i32.const 10) - ) - ) - (block $do-once$88 - (if - (i32.eqz - (i32.and - (tee_local $11 - (i32.eq - (i32.add - (get_local $6) - (i32.const 4) - ) - (get_local $27) - ) - ) - (i32.eq - (tee_local $15 - (i32.and - (i32.rem_u - (tee_local $5 - (i32.load - (get_local $6) - ) - ) - (get_local $17) + (block $do-once$88 + (if + (i32.eqz + (i32.and + (tee_local $11 + (i32.eq + (i32.add + (get_local $6) + (i32.const 4) ) - (i32.const -1) + (get_local $27) ) ) - (i32.const 0) - ) - ) - ) - (block - (set_local $14 - (select - (f64.const 9007199254740992) - (f64.const 9007199254740994) (i32.eq - (i32.and + (tee_local $15 (i32.and - (i32.div_u - (get_local $5) + (i32.rem_u + (tee_local $5 + (i32.load + (get_local $6) + ) + ) (get_local $17) ) (i32.const -1) ) - (i32.const 1) ) (i32.const 0) ) ) ) - (set_local $30 - (if - (i32.lt_u - (get_local $15) - (tee_local $10 + (block + (set_local $14 + (select + (f64.const 9007199254740992) + (f64.const 9007199254740994) + (i32.eq (i32.and - (i32.div_s - (get_local $17) - (i32.const 2) + (i32.and + (i32.div_u + (get_local $5) + (get_local $17) + ) + (i32.const -1) ) - (i32.const -1) + (i32.const 1) ) + (i32.const 0) ) ) - (f64.const 0.5) - (select - (f64.const 1) - (f64.const 1.5) - (i32.and - (get_local $11) - (i32.eq - (get_local $15) - (get_local $10) + ) + (set_local $30 + (if + (i32.lt_u + (get_local $15) + (tee_local $10 + (i32.and + (i32.div_s + (get_local $17) + (i32.const 2) + ) + (i32.const -1) + ) + ) + ) + (f64.const 0.5) + (select + (f64.const 1) + (f64.const 1.5) + (i32.and + (get_local $11) + (i32.eq + (get_local $15) + (get_local $10) + ) ) ) ) ) - ) - (set_local $14 - (block $do-once$90 - (if - (i32.eq - (get_local $51) - (i32.const 0) - ) - (get_local $14) - (block - (if - (i32.ne - (i32.shr_s - (i32.shl - (i32.load8_s - (get_local $39) + (set_local $14 + (block $do-once$90 + (if + (i32.eq + (get_local $51) + (i32.const 0) + ) + (get_local $14) + (block + (if + (i32.ne + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $39) + ) + (i32.const 24) ) (i32.const 24) ) - (i32.const 24) + (i32.const 45) + ) + (br $do-once$90 + (get_local $14) ) - (i32.const 45) ) - (br $do-once$90 - (get_local $14) + (set_local $30 + (f64.neg + (get_local $30) + ) ) - ) - (set_local $30 (f64.neg - (get_local $30) + (get_local $14) ) ) - (f64.neg - (get_local $14) - ) ) ) ) - ) - (i32.store - (get_local $6) - (tee_local $5 - (i32.sub - (get_local $5) - (get_local $15) + (i32.store + (get_local $6) + (tee_local $5 + (i32.sub + (get_local $5) + (get_local $15) + ) ) ) - ) - (if - (f64.eq - (f64.add + (if + (f64.eq + (f64.add + (get_local $14) + (get_local $30) + ) (get_local $14) - (get_local $30) ) - (get_local $14) + (br $do-once$88) ) - (br $do-once$88) - ) - (i32.store - (get_local $6) - (tee_local $5 - (i32.add - (get_local $5) - (get_local $17) + (i32.store + (get_local $6) + (tee_local $5 + (i32.add + (get_local $5) + (get_local $17) + ) ) ) - ) - (if - (i32.gt_u - (get_local $5) - (i32.const 999999999) - ) - (loop $while-out$92 $while-in$93 - (i32.store - (get_local $6) - (i32.const 0) + (if + (i32.gt_u + (get_local $5) + (i32.const 999999999) ) - (set_local $7 - (if - (i32.lt_u - (tee_local $6 - (i32.add - (get_local $6) - (i32.const -4) + (loop $while-in$93 + (block $while-out$92 + (i32.store + (get_local $6) + (i32.const 0) + ) + (set_local $7 + (if + (i32.lt_u + (tee_local $6 + (i32.add + (get_local $6) + (i32.const -4) + ) + ) + (get_local $7) + ) + (block + (i32.store + (tee_local $5 + (i32.add + (get_local $7) + (i32.const -4) + ) + ) + (i32.const 0) + ) + (get_local $5) ) + (get_local $7) ) - (get_local $7) ) - (block - (i32.store - (tee_local $5 - (i32.add - (get_local $7) - (i32.const -4) + (i32.store + (get_local $6) + (tee_local $5 + (i32.add + (i32.load + (get_local $6) ) + (i32.const 1) ) - (i32.const 0) ) - (get_local $5) ) - (get_local $7) - ) - ) - (i32.store - (get_local $6) - (tee_local $5 - (i32.add - (i32.load - (get_local $6) + (if + (i32.le_u + (get_local $5) + (i32.const 999999999) ) - (i32.const 1) + (br $while-out$92) ) + (br $while-in$93) ) ) - (if - (i32.le_u - (get_local $5) - (i32.const 999999999) - ) - (br $while-out$92) - ) - (br $while-in$93) - ) - ) - (set_local $11 - (i32.mul - (i32.shr_s - (i32.sub - (get_local $62) - (get_local $7) - ) - (i32.const 2) - ) - (i32.const 9) - ) - ) - (if - (i32.lt_u - (tee_local $5 - (i32.load - (get_local $7) - ) - ) - (i32.const 10) - ) - (block - (set_local $13 - (get_local $11) - ) - (br $do-once$88) ) - (set_local $10 - (i32.const 10) - ) - ) - (loop $while-out$94 $while-in$95 (set_local $11 - (i32.add - (get_local $11) - (i32.const 1) + (i32.mul + (i32.shr_s + (i32.sub + (get_local $62) + (get_local $7) + ) + (i32.const 2) + ) + (i32.const 9) ) ) (if (i32.lt_u - (get_local $5) - (tee_local $10 - (i32.mul - (get_local $10) - (i32.const 10) + (tee_local $5 + (i32.load + (get_local $7) ) ) + (i32.const 10) ) (block (set_local $13 (get_local $11) ) - (br $while-out$94) + (br $do-once$88) + ) + (set_local $10 + (i32.const 10) + ) + ) + (loop $while-in$95 + (block $while-out$94 + (set_local $11 + (i32.add + (get_local $11) + (i32.const 1) + ) + ) + (if + (i32.lt_u + (get_local $5) + (tee_local $10 + (i32.mul + (get_local $10) + (i32.const 10) + ) + ) + ) + (block + (set_local $13 + (get_local $11) + ) + (br $while-out$94) + ) + ) + (br $while-in$95) ) ) - (br $while-in$95) ) ) ) - ) - (set_local $6 - (i32.gt_u - (get_local $27) - (tee_local $5 - (i32.add - (get_local $6) - (i32.const 4) + (set_local $6 + (i32.gt_u + (get_local $27) + (tee_local $5 + (i32.add + (get_local $6) + (i32.const 4) + ) ) ) ) + (set_local $6 + (select + (get_local $5) + (get_local $27) + (get_local $6) + ) + ) + (get_local $7) ) - (set_local $6 - (select - (get_local $5) + (block + (set_local $6 (get_local $27) - (get_local $6) ) + (get_local $7) ) - (get_local $7) - ) - (block - (set_local $6 - (get_local $27) - ) - (get_local $7) ) ) - ) - (set_local $27 - (i32.sub - (i32.const 0) - (get_local $13) - ) - ) - (loop $while-out$96 $while-in$97 - (if - (i32.le_u - (get_local $6) - (get_local $7) - ) - (block - (set_local $11 - (i32.const 0) - ) - (set_local $23 - (get_local $6) - ) - (br $while-out$96) + (set_local $27 + (i32.sub + (i32.const 0) + (get_local $13) ) ) - (if - (i32.eq - (i32.load - (tee_local $5 - (i32.add + (loop $while-in$97 + (block $while-out$96 + (if + (i32.le_u + (get_local $6) + (get_local $7) + ) + (block + (set_local $11 + (i32.const 0) + ) + (set_local $23 (get_local $6) - (i32.const -4) ) + (br $while-out$96) ) ) - (i32.const 0) - ) - (set_local $6 - (get_local $5) - ) - (block - (set_local $11 - (i32.const 1) - ) - (set_local $23 - (get_local $6) + (if + (i32.eq + (i32.load + (tee_local $5 + (i32.add + (get_local $6) + (i32.const -4) + ) + ) + ) + (i32.const 0) + ) + (set_local $6 + (get_local $5) + ) + (block + (set_local $11 + (i32.const 1) + ) + (set_local $23 + (get_local $6) + ) + (br $while-out$96) + ) ) - (br $while-out$96) + (br $while-in$97) ) ) - (br $while-in$97) - ) - (set_local $8 - (block $do-once$98 - (if - (get_local $8) - (block - (set_local $8 - (if - (i32.and - (i32.gt_s - (tee_local $1 - (i32.add - (i32.xor - (i32.and - (get_local $70) + (set_local $8 + (block $do-once$98 + (if + (get_local $8) + (block + (set_local $8 + (if + (i32.and + (i32.gt_s + (tee_local $1 + (i32.add + (i32.xor + (i32.and + (get_local $70) + (i32.const 1) + ) (i32.const 1) ) - (i32.const 1) + (get_local $1) ) - (get_local $1) ) + (get_local $13) + ) + (i32.gt_s + (get_local $13) + (i32.const -5) ) - (get_local $13) - ) - (i32.gt_s - (get_local $13) - (i32.const -5) ) - ) - (block - (set_local $10 - (i32.add - (get_local $26) - (i32.const -1) + (block + (set_local $10 + (i32.add + (get_local $26) + (i32.const -1) + ) + ) + (i32.sub + (i32.add + (get_local $1) + (i32.const -1) + ) + (get_local $13) ) ) - (i32.sub + (block + (set_local $10 + (i32.add + (get_local $26) + (i32.const -2) + ) + ) (i32.add (get_local $1) (i32.const -1) ) - (get_local $13) ) ) - (block - (set_local $10 - (i32.add - (get_local $26) - (i32.const -2) + ) + (if + (i32.ne + (tee_local $1 + (i32.and + (get_local $18) + (i32.const 8) ) ) - (i32.add - (get_local $1) - (i32.const -1) - ) + (i32.const 0) ) - ) - ) - (if - (i32.ne - (tee_local $1 - (i32.and - (get_local $18) - (i32.const 8) + (block + (set_local $15 + (get_local $8) + ) + (set_local $26 + (get_local $10) + ) + (br $do-once$98 + (get_local $1) ) - ) - (i32.const 0) - ) - (block - (set_local $15 - (get_local $8) - ) - (set_local $26 - (get_local $10) - ) - (br $do-once$98 - (get_local $1) ) ) - ) - (block $do-once$100 - (if - (get_local $11) - (block - (if - (i32.eq - (tee_local $1 - (i32.load - (i32.add - (get_local $23) - (i32.const -4) + (block $do-once$100 + (if + (get_local $11) + (block + (if + (i32.eq + (tee_local $1 + (i32.load + (i32.add + (get_local $23) + (i32.const -4) + ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $6 - (i32.const 9) - ) - (br $do-once$100) - ) - ) - (if - (i32.eq - (i32.and - (i32.rem_u - (get_local $1) - (i32.const 10) + (block + (set_local $6 + (i32.const 9) ) - (i32.const -1) + (br $do-once$100) ) - (i32.const 0) ) - (block - (set_local $5 - (i32.const 10) - ) - (set_local $6 + (if + (i32.eq + (i32.and + (i32.rem_u + (get_local $1) + (i32.const 10) + ) + (i32.const -1) + ) (i32.const 0) ) - ) - (block - (set_local $6 - (i32.const 0) + (block + (set_local $5 + (i32.const 10) + ) + (set_local $6 + (i32.const 0) + ) ) - (br $do-once$100) - ) - ) - (loop $while-out$102 $while-in$103 - (set_local $6 - (i32.add - (get_local $6) - (i32.const 1) + (block + (set_local $6 + (i32.const 0) + ) + (br $do-once$100) ) ) - (if - (i32.ne - (i32.and - (i32.rem_u - (get_local $1) - (tee_local $5 - (i32.mul - (get_local $5) - (i32.const 10) + (loop $while-in$103 + (block $while-out$102 + (set_local $6 + (i32.add + (get_local $6) + (i32.const 1) + ) + ) + (if + (i32.ne + (i32.and + (i32.rem_u + (get_local $1) + (tee_local $5 + (i32.mul + (get_local $5) + (i32.const 10) + ) + ) ) + (i32.const -1) ) + (i32.const 0) ) - (i32.const -1) + (br $while-out$102) ) - (i32.const 0) + (br $while-in$103) ) - (br $while-out$102) ) - (br $while-in$103) ) - ) - (set_local $6 - (i32.const 9) + (set_local $6 + (i32.const 9) + ) ) ) - ) - (set_local $1 - (i32.add - (i32.mul - (i32.shr_s - (i32.sub - (get_local $23) - (get_local $62) + (set_local $1 + (i32.add + (i32.mul + (i32.shr_s + (i32.sub + (get_local $23) + (get_local $62) + ) + (i32.const 2) ) - (i32.const 2) + (i32.const 9) ) - (i32.const 9) + (i32.const -9) ) - (i32.const -9) ) - ) - (if - (i32.eq - (i32.or - (get_local $10) - (i32.const 32) + (if + (i32.eq + (i32.or + (get_local $10) + (i32.const 32) + ) + (i32.const 102) ) - (i32.const 102) - ) - (block - (set_local $1 - (i32.lt_s - (tee_local $5 - (i32.sub - (get_local $1) - (get_local $6) + (block + (set_local $1 + (i32.lt_s + (tee_local $5 + (i32.sub + (get_local $1) + (get_local $6) + ) ) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $5 - (i32.lt_s - (get_local $8) - (tee_local $1 - (select - (i32.const 0) - (get_local $5) - (get_local $1) + (set_local $5 + (i32.lt_s + (get_local $8) + (tee_local $1 + (select + (i32.const 0) + (get_local $5) + (get_local $1) + ) ) ) ) - ) - (set_local $15 - (select - (get_local $8) - (get_local $1) - (get_local $5) + (set_local $15 + (select + (get_local $8) + (get_local $1) + (get_local $5) + ) ) + (set_local $26 + (get_local $10) + ) + (i32.const 0) ) - (set_local $26 - (get_local $10) - ) - (i32.const 0) - ) - (block - (set_local $1 - (i32.lt_s - (tee_local $5 - (i32.sub - (i32.add - (get_local $1) - (get_local $13) + (block + (set_local $1 + (i32.lt_s + (tee_local $5 + (i32.sub + (i32.add + (get_local $1) + (get_local $13) + ) + (get_local $6) ) - (get_local $6) ) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $5 - (i32.lt_s - (get_local $8) - (tee_local $1 - (select - (i32.const 0) - (get_local $5) - (get_local $1) + (set_local $5 + (i32.lt_s + (get_local $8) + (tee_local $1 + (select + (i32.const 0) + (get_local $5) + (get_local $1) + ) ) ) ) - ) - (set_local $15 - (select - (get_local $8) - (get_local $1) - (get_local $5) + (set_local $15 + (select + (get_local $8) + (get_local $1) + (get_local $5) + ) ) + (set_local $26 + (get_local $10) + ) + (i32.const 0) ) - (set_local $26 - (get_local $10) - ) - (i32.const 0) ) ) - ) - (block - (set_local $15 - (get_local $1) - ) - (i32.and - (get_local $18) - (i32.const 8) + (block + (set_local $15 + (get_local $1) + ) + (i32.and + (get_local $18) + (i32.const 8) + ) ) ) ) ) - ) - (set_local $17 - (i32.and - (i32.ne - (tee_local $1 - (i32.or - (get_local $15) - (get_local $8) + (set_local $17 + (i32.and + (i32.ne + (tee_local $1 + (i32.or + (get_local $15) + (get_local $8) + ) ) + (i32.const 0) ) - (i32.const 0) + (i32.const 1) ) - (i32.const 1) ) - ) - (set_local $13 - (if - (tee_local $10 - (i32.eq - (i32.or - (get_local $26) - (i32.const 32) + (set_local $13 + (if + (tee_local $10 + (i32.eq + (i32.or + (get_local $26) + (i32.const 32) + ) + (i32.const 102) ) - (i32.const 102) ) - ) - (block - (set_local $6 - (select - (get_local $13) - (i32.const 0) - (i32.gt_s + (block + (set_local $6 + (select (get_local $13) (i32.const 0) - ) - ) - ) - (i32.const 0) - ) - (block - (set_local $5 - (i32.shr_s - (i32.shl - (i32.lt_s - (tee_local $6 - (select - (get_local $27) - (get_local $13) - (i32.lt_s - (get_local $13) - (i32.const 0) - ) - ) - ) + (i32.gt_s + (get_local $13) (i32.const 0) ) - (i32.const 31) ) - (i32.const 31) ) + (i32.const 0) ) - (if - (i32.lt_s - (i32.sub - (get_local $40) - (tee_local $5 - (call $_fmt_u - (get_local $6) - (get_local $5) - (get_local $52) + (block + (set_local $5 + (i32.shr_s + (i32.shl + (i32.lt_s + (tee_local $6 + (select + (get_local $27) + (get_local $13) + (i32.lt_s + (get_local $13) + (i32.const 0) + ) + ) + ) + (i32.const 0) ) + (i32.const 31) ) + (i32.const 31) ) - (i32.const 2) ) - (loop $while-out$104 $while-in$105 - (i32.store8 - (tee_local $5 - (i32.add - (get_local $5) - (i32.const -1) + (if + (i32.lt_s + (i32.sub + (get_local $40) + (tee_local $5 + (call $_fmt_u + (get_local $6) + (get_local $5) + (get_local $52) + ) ) ) - (i32.const 48) + (i32.const 2) ) - (if - (i32.ge_s - (i32.sub - (get_local $40) - (get_local $5) + (loop $while-in$105 + (block $while-out$104 + (i32.store8 + (tee_local $5 + (i32.add + (get_local $5) + (i32.const -1) + ) + ) + (i32.const 48) ) - (i32.const 2) + (if + (i32.ge_s + (i32.sub + (get_local $40) + (get_local $5) + ) + (i32.const 2) + ) + (br $while-out$104) + ) + (br $while-in$105) ) - (br $while-out$104) ) - (br $while-in$105) - ) - ) - (i32.store8 - (i32.add - (get_local $5) - (i32.const -1) ) - (i32.and + (i32.store8 (i32.add - (i32.and - (i32.shr_s - (get_local $13) - (i32.const 31) + (get_local $5) + (i32.const -1) + ) + (i32.and + (i32.add + (i32.and + (i32.shr_s + (get_local $13) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) + (i32.const 43) ) - (i32.const 43) + (i32.const 255) ) - (i32.const 255) ) - ) - (i32.store8 - (tee_local $5 - (i32.add - (get_local $5) - (i32.const -2) + (i32.store8 + (tee_local $5 + (i32.add + (get_local $5) + (i32.const -2) + ) + ) + (i32.and + (get_local $26) + (i32.const 255) ) ) - (i32.and - (get_local $26) - (i32.const 255) - ) - ) - (set_local $6 - (i32.sub - (get_local $40) - (get_local $5) + (set_local $6 + (i32.sub + (get_local $40) + (get_local $5) + ) ) + (get_local $5) ) - (get_local $5) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $16) - (tee_local $6 - (i32.add + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $16) + (tee_local $6 (i32.add (i32.add (i32.add - (get_local $51) - (i32.const 1) + (i32.add + (get_local $51) + (i32.const 1) + ) + (get_local $15) ) - (get_local $15) + (get_local $17) ) - (get_local $17) + (get_local $6) ) - (get_local $6) ) + (get_local $18) ) - (get_local $18) - ) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) + (i32.const 0) + ) + (call $___fwritex + (get_local $39) + (get_local $51) + (get_local $0) ) - (i32.const 0) ) - (call $___fwritex - (get_local $39) - (get_local $51) + (call $_pad (get_local $0) + (i32.const 48) + (get_local $16) + (get_local $6) + (i32.xor + (get_local $18) + (i32.const 65536) + ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (get_local $16) - (get_local $6) - (i32.xor - (get_local $18) - (i32.const 65536) - ) - ) - (block $do-once$106 - (if - (get_local $10) - (block - (set_local $7 - (tee_local $8 - (select - (get_local $9) - (get_local $7) - (i32.gt_u - (get_local $7) + (block $do-once$106 + (if + (get_local $10) + (block + (set_local $7 + (tee_local $8 + (select (get_local $9) - ) - ) - ) - ) - (loop $while-out$114 $while-in$115 - (set_local $5 - (call $_fmt_u - (i32.load (get_local $7) + (i32.gt_u + (get_local $7) + (get_local $9) + ) ) - (i32.const 0) - (get_local $45) ) ) - (block $do-once$116 - (if - (i32.eq - (get_local $7) - (get_local $8) - ) - (block - (if - (i32.ne - (get_local $5) - (get_local $45) + (loop $while-in$115 + (block $while-out$114 + (set_local $5 + (call $_fmt_u + (i32.load + (get_local $7) ) - (br $do-once$116) - ) - (i32.store8 - (get_local $53) - (i32.const 48) - ) - (set_local $5 - (get_local $53) + (i32.const 0) + (get_local $45) ) ) - (block + (block $do-once$116 (if - (i32.le_u - (get_local $5) - (get_local $29) + (i32.eq + (get_local $7) + (get_local $8) ) - (br $do-once$116) - ) - (loop $while-out$118 $while-in$119 - (i32.store8 - (tee_local $5 - (i32.add + (block + (if + (i32.ne (get_local $5) - (i32.const -1) + (get_local $45) ) + (br $do-once$116) ) - (i32.const 48) - ) - (if - (i32.le_u - (get_local $5) - (get_local $29) + (i32.store8 + (get_local $53) + (i32.const 48) + ) + (set_local $5 + (get_local $53) + ) + ) + (block + (if + (i32.le_u + (get_local $5) + (get_local $29) + ) + (br $do-once$116) + ) + (loop $while-in$119 + (block $while-out$118 + (i32.store8 + (tee_local $5 + (i32.add + (get_local $5) + (i32.const -1) + ) + ) + (i32.const 48) + ) + (if + (i32.le_u + (get_local $5) + (get_local $29) + ) + (br $while-out$118) + ) + (br $while-in$119) + ) ) - (br $while-out$118) ) - (br $while-in$119) - ) - ) - ) - ) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) - ) - (i32.const 32) - ) - (i32.const 0) - ) - (call $___fwritex - (get_local $5) - (i32.sub - (get_local $75) - (get_local $5) - ) - (get_local $0) - ) - ) - (if - (i32.gt_u - (tee_local $7 - (i32.add - (get_local $7) - (i32.const 4) ) ) - (get_local $9) - ) - (block - (set_local $5 - (get_local $7) - ) - (br $while-out$114) - ) - ) - (br $while-in$115) - ) - (block $do-once$120 - (if - (i32.ne - (get_local $1) - (i32.const 0) - ) - (block - (br_if $do-once$120 - (i32.ne + (if + (i32.eq (i32.and (i32.load (get_local $0) @@ -7218,159 +7237,76 @@ ) (i32.const 0) ) - ) - (call $___fwritex - (i32.const 4143) - (i32.const 1) - (get_local $0) - ) - ) - ) - ) - (if - (i32.and - (i32.gt_s - (get_local $15) - (i32.const 0) - ) - (i32.lt_u - (get_local $5) - (get_local $23) - ) - ) - (loop $while-out$122 $while-in$123 - (if - (i32.gt_u - (tee_local $1 - (call $_fmt_u - (i32.load - (get_local $5) - ) - (i32.const 0) - (get_local $45) + (call $___fwritex + (get_local $5) + (i32.sub + (get_local $75) + (get_local $5) ) + (get_local $0) ) - (get_local $29) ) - (loop $while-out$124 $while-in$125 - (i32.store8 - (tee_local $1 + (if + (i32.gt_u + (tee_local $7 (i32.add - (get_local $1) - (i32.const -1) + (get_local $7) + (i32.const 4) ) ) - (i32.const 48) + (get_local $9) ) - (if - (i32.le_u - (get_local $1) - (get_local $29) + (block + (set_local $5 + (get_local $7) ) - (br $while-out$124) + (br $while-out$114) ) - (br $while-in$125) ) + (br $while-in$115) ) + ) + (block $do-once$120 (if - (i32.eq - (i32.and - (i32.load - (get_local $0) - ) - (i32.const 32) - ) - (i32.const 0) - ) - (call $___fwritex + (i32.ne (get_local $1) - (select - (i32.const 9) - (get_local $15) - (i32.gt_s - (get_local $15) - (i32.const 9) - ) - ) - (get_local $0) - ) - ) - (set_local $1 - (i32.add - (get_local $15) - (i32.const -9) + (i32.const 0) ) - ) - (if - (i32.and - (i32.gt_s - (get_local $15) - (i32.const 9) - ) - (i32.lt_u - (tee_local $5 - (i32.add - (get_local $5) - (i32.const 4) + (block + (br_if $do-once$120 + (i32.ne + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) + (i32.const 0) ) - (get_local $23) ) - ) - (set_local $15 - (get_local $1) - ) - (block - (set_local $15 - (get_local $1) + (call $___fwritex + (i32.const 4143) + (i32.const 1) + (get_local $0) ) - (br $while-out$122) ) ) - (br $while-in$123) - ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (i32.add - (get_local $15) - (i32.const 9) - ) - (i32.const 9) - (i32.const 0) - ) - ) - (block - (set_local $11 - (select - (get_local $23) - (i32.add - (get_local $7) - (i32.const 4) - ) - (get_local $11) ) - ) - (if - (i32.gt_s - (get_local $15) - (i32.const -1) - ) - (block - (set_local $9 - (i32.eq - (get_local $8) + (if + (i32.and + (i32.gt_s + (get_local $15) (i32.const 0) ) + (i32.lt_u + (get_local $5) + (get_local $23) + ) ) - (set_local $5 - (get_local $7) - ) - (loop $while-out$108 $while-in$109 - (set_local $8 + (loop $while-in$123 + (block $while-out$122 (if - (i32.eq + (i32.gt_u (tee_local $1 (call $_fmt_u (i32.load @@ -7380,834 +7316,978 @@ (get_local $45) ) ) - (get_local $45) + (get_local $29) + ) + (loop $while-in$125 + (block $while-out$124 + (i32.store8 + (tee_local $1 + (i32.add + (get_local $1) + (i32.const -1) + ) + ) + (i32.const 48) + ) + (if + (i32.le_u + (get_local $1) + (get_local $29) + ) + (br $while-out$124) + ) + (br $while-in$125) + ) + ) + ) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + (i32.const 0) + ) + (call $___fwritex + (get_local $1) + (select + (i32.const 9) + (get_local $15) + (i32.gt_s + (get_local $15) + (i32.const 9) + ) + ) + (get_local $0) + ) + ) + (set_local $1 + (i32.add + (get_local $15) + (i32.const -9) + ) + ) + (if + (i32.and + (i32.gt_s + (get_local $15) + (i32.const 9) + ) + (i32.lt_u + (tee_local $5 + (i32.add + (get_local $5) + (i32.const 4) + ) + ) + (get_local $23) + ) + ) + (set_local $15 + (get_local $1) ) (block - (i32.store8 - (get_local $53) - (i32.const 48) + (set_local $15 + (get_local $1) ) - (get_local $53) + (br $while-out$122) ) - (get_local $1) + ) + (br $while-in$123) + ) + ) + ) + (call $_pad + (get_local $0) + (i32.const 48) + (i32.add + (get_local $15) + (i32.const 9) + ) + (i32.const 9) + (i32.const 0) + ) + ) + (block + (set_local $11 + (select + (get_local $23) + (i32.add + (get_local $7) + (i32.const 4) + ) + (get_local $11) + ) + ) + (if + (i32.gt_s + (get_local $15) + (i32.const -1) + ) + (block + (set_local $9 + (i32.eq + (get_local $8) + (i32.const 0) ) ) - (block $do-once$110 - (if - (i32.eq - (get_local $5) - (get_local $7) - ) - (block - (set_local $1 - (i32.add - (get_local $8) - (i32.const 1) - ) - ) + (set_local $5 + (get_local $7) + ) + (loop $while-in$109 + (block $while-out$108 + (set_local $8 (if (i32.eq - (i32.and - (i32.load - (get_local $0) + (tee_local $1 + (call $_fmt_u + (i32.load + (get_local $5) + ) + (i32.const 0) + (get_local $45) ) - (i32.const 32) - ) - (i32.const 0) - ) - (call $___fwritex - (get_local $8) - (i32.const 1) - (get_local $0) - ) - ) - (if - (i32.and - (get_local $9) - (i32.lt_s - (get_local $15) - (i32.const 1) ) + (get_local $45) ) - (br $do-once$110) - ) - (if - (i32.ne - (i32.and - (i32.load - (get_local $0) - ) - (i32.const 32) + (block + (i32.store8 + (get_local $53) + (i32.const 48) ) - (i32.const 0) + (get_local $53) ) - (br $do-once$110) - ) - (call $___fwritex - (i32.const 4143) - (i32.const 1) - (get_local $0) + (get_local $1) ) ) - (block + (block $do-once$110 (if - (i32.gt_u - (get_local $8) - (get_local $29) - ) - (set_local $1 - (get_local $8) + (i32.eq + (get_local $5) + (get_local $7) ) (block (set_local $1 - (get_local $8) - ) - (br $do-once$110) - ) - ) - (loop $while-out$112 $while-in$113 - (i32.store8 - (tee_local $1 (i32.add - (get_local $1) - (i32.const -1) + (get_local $8) + (i32.const 1) ) ) - (i32.const 48) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + (i32.const 0) + ) + (call $___fwritex + (get_local $8) + (i32.const 1) + (get_local $0) + ) + ) + (if + (i32.and + (get_local $9) + (i32.lt_s + (get_local $15) + (i32.const 1) + ) + ) + (br $do-once$110) + ) + (if + (i32.ne + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + (i32.const 0) + ) + (br $do-once$110) + ) + (call $___fwritex + (i32.const 4143) + (i32.const 1) + (get_local $0) + ) ) - (if - (i32.le_u - (get_local $1) - (get_local $29) + (block + (if + (i32.gt_u + (get_local $8) + (get_local $29) + ) + (set_local $1 + (get_local $8) + ) + (block + (set_local $1 + (get_local $8) + ) + (br $do-once$110) + ) + ) + (loop $while-in$113 + (block $while-out$112 + (i32.store8 + (tee_local $1 + (i32.add + (get_local $1) + (i32.const -1) + ) + ) + (i32.const 48) + ) + (if + (i32.le_u + (get_local $1) + (get_local $29) + ) + (br $while-out$112) + ) + (br $while-in$113) + ) ) - (br $while-out$112) ) - (br $while-in$113) - ) - ) - ) - ) - (set_local $8 - (i32.sub - (get_local $75) - (get_local $1) - ) - ) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) ) - (i32.const 32) ) - (i32.const 0) - ) - (call $___fwritex - (get_local $1) - (select - (get_local $8) - (get_local $15) - (i32.gt_s - (get_local $15) - (get_local $8) + (set_local $8 + (i32.sub + (get_local $75) + (get_local $1) ) ) - (get_local $0) - ) - ) - (if - (i32.eqz - (i32.and - (i32.lt_u - (tee_local $5 - (i32.add - (get_local $5) - (i32.const 4) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) ) + (i32.const 32) ) - (get_local $11) + (i32.const 0) ) - (i32.gt_s - (tee_local $15 - (i32.sub + (call $___fwritex + (get_local $1) + (select + (get_local $8) + (get_local $15) + (i32.gt_s (get_local $15) (get_local $8) ) ) - (i32.const -1) + (get_local $0) ) ) + (if + (i32.eqz + (i32.and + (i32.lt_u + (tee_local $5 + (i32.add + (get_local $5) + (i32.const 4) + ) + ) + (get_local $11) + ) + (i32.gt_s + (tee_local $15 + (i32.sub + (get_local $15) + (get_local $8) + ) + ) + (i32.const -1) + ) + ) + ) + (br $while-out$108) + ) + (br $while-in$109) ) - (br $while-out$108) ) - (br $while-in$109) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (i32.add - (get_local $15) + (call $_pad + (get_local $0) + (i32.const 48) + (i32.add + (get_local $15) + (i32.const 18) + ) (i32.const 18) + (i32.const 0) ) - (i32.const 18) - (i32.const 0) - ) - (br_if $do-once$106 - (i32.ne - (i32.and - (i32.load - (get_local $0) + (br_if $do-once$106 + (i32.ne + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) + (i32.const 0) ) - (i32.const 0) ) - ) - (call $___fwritex - (get_local $13) - (i32.sub - (get_local $40) + (call $___fwritex (get_local $13) - ) - (get_local $0) - ) - ) - ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $16) - (get_local $6) - (i32.xor - (get_local $18) - (i32.const 8192) + (i32.sub + (get_local $40) + (get_local $13) + ) + (get_local $0) + ) + ) + ) ) - ) - (select - (get_local $16) - (get_local $6) - (i32.lt_s + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $16) (get_local $6) + (i32.xor + (get_local $18) + (i32.const 8192) + ) + ) + (select (get_local $16) + (get_local $6) + (i32.lt_s + (get_local $6) + (get_local $16) + ) ) ) - ) - (block - (set_local $5 - (select - (i32.const 4127) - (i32.const 4131) - (tee_local $8 - (i32.ne - (i32.and - (get_local $26) - (i32.const 32) + (block + (set_local $5 + (select + (i32.const 4127) + (i32.const 4131) + (tee_local $8 + (i32.ne + (i32.and + (get_local $26) + (i32.const 32) + ) + (i32.const 0) ) - (i32.const 0) ) ) ) - ) - (set_local $6 - (select - (i32.const 0) - (get_local $51) - (tee_local $1 - (i32.or - (f64.ne - (get_local $14) - (get_local $14) + (set_local $6 + (select + (i32.const 0) + (get_local $51) + (tee_local $1 + (i32.or + (f64.ne + (get_local $14) + (get_local $14) + ) + (i32.const 0) ) - (i32.const 0) ) ) ) - ) - (set_local $8 - (select + (set_local $8 (select - (i32.const 4135) - (i32.const 4139) - (get_local $8) + (select + (i32.const 4135) + (i32.const 4139) + (get_local $8) + ) + (get_local $5) + (get_local $1) ) - (get_local $5) - (get_local $1) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $16) - (tee_local $5 - (i32.add - (get_local $6) - (i32.const 3) + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $16) + (tee_local $5 + (i32.add + (get_local $6) + (i32.const 3) + ) ) + (get_local $7) ) - (get_local $7) - ) - (if - (i32.eq - (i32.and - (if - (i32.eq - (i32.and - (tee_local $1 - (i32.load - (get_local $0) + (if + (i32.eq + (i32.and + (if + (i32.eq + (i32.and + (tee_local $1 + (i32.load + (get_local $0) + ) ) + (i32.const 32) ) - (i32.const 32) + (i32.const 0) ) - (i32.const 0) - ) - (block - (drop - (call $___fwritex - (get_local $39) - (get_local $6) + (block + (drop + (call $___fwritex + (get_local $39) + (get_local $6) + (get_local $0) + ) + ) + (i32.load (get_local $0) ) ) - (i32.load - (get_local $0) - ) + (get_local $1) ) - (get_local $1) + (i32.const 32) ) - (i32.const 32) + (i32.const 0) + ) + (call $___fwritex + (get_local $8) + (i32.const 3) + (get_local $0) ) - (i32.const 0) ) - (call $___fwritex - (get_local $8) - (i32.const 3) + (call $_pad (get_local $0) - ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $16) - (get_local $5) - (i32.xor - (get_local $18) - (i32.const 8192) - ) - ) - (select - (get_local $16) - (get_local $5) - (i32.lt_s + (i32.const 32) + (get_local $16) (get_local $5) + (i32.xor + (get_local $18) + (i32.const 8192) + ) + ) + (select (get_local $16) + (get_local $5) + (i32.lt_s + (get_local $5) + (get_local $16) + ) ) ) ) ) ) + (set_local $8 + (get_local $21) + ) + (br $label$continue$L1) ) - (set_local $8 - (get_local $21) + (set_local $47 + (get_local $20) ) - (br $label$continue$L1) - ) - (set_local $47 - (get_local $20) - ) - (set_local $37 - (get_local $18) - ) - (set_local $42 - (get_local $10) - ) - (set_local $43 - (i32.const 0) - ) - (set_local $48 - (i32.const 4091) - ) - (set_local $49 - (get_local $28) - ) - ) - (block $label$break$L308 - (if - (i32.eq - (get_local $12) - (i32.const 64) + (set_local $37 + (get_local $18) ) - (block - (set_local $7 - (i32.and - (get_local $68) - (i32.const 32) - ) + (set_local $42 + (get_local $10) + ) + (set_local $43 + (i32.const 0) + ) + (set_local $48 + (i32.const 4091) + ) + (set_local $49 + (get_local $28) + ) + ) + (block $label$break$L308 + (if + (i32.eq + (get_local $12) + (i32.const 64) ) - (set_local $58 - (if + (block + (set_local $7 (i32.and - (i32.eq - (tee_local $5 - (i32.load - (tee_local $1 - (get_local $19) + (get_local $68) + (i32.const 32) + ) + ) + (set_local $58 + (if + (i32.and + (i32.eq + (tee_local $5 + (i32.load + (tee_local $1 + (get_local $19) + ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (i32.eq - (tee_local $1 - (i32.load offset=4 - (get_local $1) + (i32.eq + (tee_local $1 + (i32.load offset=4 + (get_local $1) + ) ) + (i32.const 0) ) - (i32.const 0) - ) - ) - (block - (set_local $34 - (get_local $46) - ) - (set_local $32 - (get_local $57) ) - (set_local $35 - (i32.const 0) - ) - (set_local $36 - (i32.const 4091) - ) - (set_local $12 - (i32.const 77) - ) - (get_local $28) - ) - (block - (set_local $6 + (block + (set_local $34 + (get_local $46) + ) + (set_local $32 + (get_local $57) + ) + (set_local $35 + (i32.const 0) + ) + (set_local $36 + (i32.const 4091) + ) + (set_local $12 + (i32.const 77) + ) (get_local $28) - ) - (loop $while-out$133 $while-in$134 - (i32.store8 - (tee_local $6 - (i32.add - (get_local $6) - (i32.const -1) + ) + (block + (set_local $6 + (get_local $28) + ) + (loop $while-in$134 + (block $while-out$133 + (i32.store8 + (tee_local $6 + (i32.add + (get_local $6) + (i32.const -1) + ) + ) + (i32.and + (i32.or + (i32.and + (i32.load8_s + (i32.add + (i32.and + (get_local $5) + (i32.const 15) + ) + (i32.const 4075) + ) + ) + (i32.const 255) + ) + (get_local $7) + ) + (i32.const 255) + ) ) - ) - (i32.and - (i32.or + (if (i32.and - (i32.load8_s - (i32.add - (i32.and + (i32.eq + (tee_local $5 + (call $_bitshift64Lshr (get_local $5) - (i32.const 15) + (get_local $1) + (i32.const 4) ) - (i32.const 4075) ) + (i32.const 0) + ) + (i32.eq + (tee_local $1 + (i32.load + (i32.const 168) + ) + ) + (i32.const 0) ) - (i32.const 255) ) - (get_local $7) + (br $while-out$133) ) - (i32.const 255) + (br $while-in$134) ) ) (if - (i32.and + (i32.or (i32.eq - (tee_local $5 - (call $_bitshift64Lshr - (get_local $5) - (get_local $1) - (i32.const 4) - ) + (i32.and + (get_local $46) + (i32.const 8) ) (i32.const 0) ) - (i32.eq - (tee_local $1 + (i32.and + (i32.eq (i32.load - (i32.const 168) + (tee_local $1 + (get_local $19) + ) ) + (i32.const 0) + ) + (i32.eq + (i32.load offset=4 + (get_local $1) + ) + (i32.const 0) ) - (i32.const 0) ) ) - (br $while-out$133) - ) - (br $while-in$134) - ) - (if - (i32.or - (i32.eq - (i32.and + (block + (set_local $34 (get_local $46) - (i32.const 8) ) - (i32.const 0) - ) - (i32.and - (i32.eq - (i32.load - (tee_local $1 - (get_local $19) - ) - ) - (i32.const 0) + (set_local $32 + (get_local $57) ) - (i32.eq - (i32.load offset=4 - (get_local $1) - ) + (set_local $35 (i32.const 0) ) - ) - ) - (block - (set_local $34 - (get_local $46) - ) - (set_local $32 - (get_local $57) - ) - (set_local $35 - (i32.const 0) - ) - (set_local $36 - (i32.const 4091) - ) - (set_local $12 - (i32.const 77) - ) - (get_local $6) - ) - (block - (set_local $34 - (get_local $46) - ) - (set_local $32 - (get_local $57) - ) - (set_local $35 - (i32.const 2) - ) - (set_local $36 - (i32.add + (set_local $36 (i32.const 4091) - (i32.shr_s - (get_local $68) - (i32.const 4) - ) ) + (set_local $12 + (i32.const 77) + ) + (get_local $6) ) - (set_local $12 - (i32.const 77) + (block + (set_local $34 + (get_local $46) + ) + (set_local $32 + (get_local $57) + ) + (set_local $35 + (i32.const 2) + ) + (set_local $36 + (i32.add + (i32.const 4091) + (i32.shr_s + (get_local $68) + (i32.const 4) + ) + ) + ) + (set_local $12 + (i32.const 77) + ) + (get_local $6) ) - (get_local $6) ) ) ) ) ) - ) - (if - (i32.eq - (get_local $12) - (i32.const 76) - ) - (block - (set_local $58 - (call $_fmt_u - (get_local $33) - (get_local $59) - (get_local $28) - ) - ) - (set_local $34 - (get_local $18) - ) - (set_local $32 - (get_local $10) - ) - (set_local $35 - (get_local $60) - ) - (set_local $36 - (get_local $61) - ) - (set_local $12 - (i32.const 77) - ) - ) (if (i32.eq (get_local $12) - (i32.const 82) + (i32.const 76) ) (block - (set_local $12 - (i32.const 0) - ) - (set_local $5 - (i32.eq - (tee_local $1 - (call $_memchr - (get_local $50) - (i32.const 0) - (get_local $10) - ) - ) - (i32.const 0) + (set_local $58 + (call $_fmt_u + (get_local $33) + (get_local $59) + (get_local $28) ) ) - (set_local $47 - (get_local $50) - ) - (set_local $37 - (get_local $7) + (set_local $34 + (get_local $18) ) - (set_local $42 - (select - (get_local $10) - (i32.sub - (get_local $1) - (get_local $50) - ) - (get_local $5) - ) + (set_local $32 + (get_local $10) ) - (set_local $43 - (i32.const 0) + (set_local $35 + (get_local $60) ) - (set_local $48 - (i32.const 4091) + (set_local $36 + (get_local $61) ) - (set_local $49 - (select - (i32.add - (get_local $50) - (get_local $10) - ) - (get_local $1) - (get_local $5) - ) + (set_local $12 + (i32.const 77) ) ) (if (i32.eq (get_local $12) - (i32.const 86) + (i32.const 82) ) (block (set_local $12 (i32.const 0) ) - (set_local $7 - (i32.const 0) - ) (set_local $5 - (i32.const 0) - ) - (set_local $6 - (i32.load - (get_local $19) - ) - ) - (loop $while-out$129 $while-in$130 - (if - (i32.eq - (tee_local $1 - (i32.load - (get_local $6) - ) - ) - (i32.const 0) - ) - (br $while-out$129) - ) - (if - (i32.or - (i32.lt_s - (tee_local $5 - (call $_wctomb - (get_local $63) - (get_local $1) - ) - ) + (i32.eq + (tee_local $1 + (call $_memchr + (get_local $50) (i32.const 0) + (get_local $10) ) - (i32.gt_u - (get_local $5) - (i32.sub - (get_local $69) - (get_local $7) - ) - ) - ) - (br $while-out$129) - ) - (set_local $6 - (i32.add - (get_local $6) - (i32.const 4) - ) - ) - (if - (i32.gt_u - (get_local $69) - (tee_local $1 - (i32.add - (get_local $5) - (get_local $7) - ) - ) - ) - (set_local $7 - (get_local $1) - ) - (block - (set_local $7 - (get_local $1) - ) - (br $while-out$129) ) + (i32.const 0) ) - (br $while-in$130) ) - (if - (i32.lt_s + (set_local $47 + (get_local $50) + ) + (set_local $37 + (get_local $7) + ) + (set_local $42 + (select + (get_local $10) + (i32.sub + (get_local $1) + (get_local $50) + ) (get_local $5) - (i32.const 0) ) - (block - (set_local $24 - (i32.const -1) + ) + (set_local $43 + (i32.const 0) + ) + (set_local $48 + (i32.const 4091) + ) + (set_local $49 + (select + (i32.add + (get_local $50) + (get_local $10) ) - (br $label$break$L1) + (get_local $1) + (get_local $5) ) ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $16) - (get_local $7) - (get_local $18) + ) + (if + (i32.eq + (get_local $12) + (i32.const 86) ) - (if - (i32.eq - (get_local $7) + (block + (set_local $12 (i32.const 0) ) - (block - (set_local $38 - (i32.const 0) - ) - (set_local $12 - (i32.const 98) - ) + (set_local $7 + (i32.const 0) ) - (block - (set_local $6 - (i32.const 0) - ) - (set_local $8 - (i32.load - (get_local $19) - ) + (set_local $5 + (i32.const 0) + ) + (set_local $6 + (i32.load + (get_local $19) ) - (loop $while-out$131 $while-in$132 + ) + (loop $while-in$130 + (block $while-out$129 (if (i32.eq (tee_local $1 (i32.load - (get_local $8) + (get_local $6) ) ) (i32.const 0) ) - (block - (set_local $38 - (get_local $7) + (br $while-out$129) + ) + (if + (i32.or + (i32.lt_s + (tee_local $5 + (call $_wctomb + (get_local $63) + (get_local $1) + ) + ) + (i32.const 0) ) - (set_local $12 - (i32.const 98) + (i32.gt_u + (get_local $5) + (i32.sub + (get_local $69) + (get_local $7) + ) ) - (br $label$break$L308) ) + (br $while-out$129) ) - (set_local $8 + (set_local $6 (i32.add - (get_local $8) + (get_local $6) (i32.const 4) ) ) (if - (i32.gt_s + (i32.gt_u + (get_local $69) (tee_local $1 (i32.add - (tee_local $5 - (call $_wctomb - (get_local $63) - (get_local $1) - ) - ) - (get_local $6) + (get_local $5) + (get_local $7) ) ) - (get_local $7) + ) + (set_local $7 + (get_local $1) ) (block - (set_local $38 - (get_local $7) - ) - (set_local $12 - (i32.const 98) + (set_local $7 + (get_local $1) ) - (br $label$break$L308) + (br $while-out$129) ) ) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) - ) - (i32.const 32) - ) - (i32.const 0) - ) - (call $___fwritex - (get_local $63) - (get_local $5) - (get_local $0) - ) + (br $while-in$130) + ) + ) + (if + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (block + (set_local $24 + (i32.const -1) ) - (if - (i32.lt_u - (get_local $1) - (get_local $7) - ) - (set_local $6 - (get_local $1) + (br $label$break$L1) + ) + ) + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $16) + (get_local $7) + (get_local $18) + ) + (if + (i32.eq + (get_local $7) + (i32.const 0) + ) + (block + (set_local $38 + (i32.const 0) + ) + (set_local $12 + (i32.const 98) + ) + ) + (block + (set_local $6 + (i32.const 0) + ) + (set_local $8 + (i32.load + (get_local $19) ) - (block - (set_local $38 - (get_local $7) + ) + (loop $while-in$132 + (block $while-out$131 + (if + (i32.eq + (tee_local $1 + (i32.load + (get_local $8) + ) + ) + (i32.const 0) + ) + (block + (set_local $38 + (get_local $7) + ) + (set_local $12 + (i32.const 98) + ) + (br $label$break$L308) + ) ) - (set_local $12 - (i32.const 98) + (set_local $8 + (i32.add + (get_local $8) + (i32.const 4) + ) + ) + (if + (i32.gt_s + (tee_local $1 + (i32.add + (tee_local $5 + (call $_wctomb + (get_local $63) + (get_local $1) + ) + ) + (get_local $6) + ) + ) + (get_local $7) + ) + (block + (set_local $38 + (get_local $7) + ) + (set_local $12 + (i32.const 98) + ) + (br $label$break$L308) + ) + ) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + (i32.const 0) + ) + (call $___fwritex + (get_local $63) + (get_local $5) + (get_local $0) + ) + ) + (if + (i32.lt_u + (get_local $1) + (get_local $7) + ) + (set_local $6 + (get_local $1) + ) + (block + (set_local $38 + (get_local $7) + ) + (set_local $12 + (i32.const 98) + ) + (br $while-out$131) + ) ) - (br $while-out$131) + (br $while-in$132) ) ) - (br $while-in$132) ) ) ) @@ -8216,267 +8296,267 @@ ) ) ) - ) - (if - (i32.eq - (get_local $12) - (i32.const 98) - ) - (block - (set_local $12 - (i32.const 0) + (if + (i32.eq + (get_local $12) + (i32.const 98) ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $16) - (get_local $38) - (i32.xor - (get_local $18) - (i32.const 8192) + (block + (set_local $12 + (i32.const 0) ) - ) - (set_local $20 - (get_local $9) - ) - (set_local $1 - (select + (call $_pad + (get_local $0) + (i32.const 32) (get_local $16) (get_local $38) - (i32.gt_s + (i32.xor + (get_local $18) + (i32.const 8192) + ) + ) + (set_local $20 + (get_local $9) + ) + (set_local $1 + (select (get_local $16) (get_local $38) + (i32.gt_s + (get_local $16) + (get_local $38) + ) ) ) + (set_local $8 + (get_local $21) + ) + (br $label$continue$L1) ) - (set_local $8 - (get_local $21) - ) - (br $label$continue$L1) - ) - ) - (if - (i32.eq - (get_local $12) - (i32.const 77) ) - (block - (set_local $12 - (i32.const 0) + (if + (i32.eq + (get_local $12) + (i32.const 77) ) - (set_local $5 - (select - (i32.and - (get_local $34) - (i32.const -65537) - ) - (get_local $34) - (i32.gt_s - (get_local $32) - (i32.const -1) - ) + (block + (set_local $12 + (i32.const 0) ) - ) - (set_local $47 - (if - (i32.or - (i32.ne + (set_local $5 + (select + (i32.and + (get_local $34) + (i32.const -65537) + ) + (get_local $34) + (i32.gt_s (get_local $32) - (i32.const 0) + (i32.const -1) ) - (tee_local $1 - (i32.or - (i32.ne - (i32.load - (tee_local $1 - (get_local $19) + ) + ) + (set_local $47 + (if + (i32.or + (i32.ne + (get_local $32) + (i32.const 0) + ) + (tee_local $1 + (i32.or + (i32.ne + (i32.load + (tee_local $1 + (get_local $19) + ) ) + (i32.const 0) ) - (i32.const 0) - ) - (i32.ne - (i32.load offset=4 - (get_local $1) + (i32.ne + (i32.load offset=4 + (get_local $1) + ) + (i32.const 0) ) - (i32.const 0) ) ) ) - ) - (block - (set_local $7 - (i32.gt_s - (get_local $32) - (tee_local $1 - (i32.add - (i32.xor - (i32.and - (get_local $1) + (block + (set_local $7 + (i32.gt_s + (get_local $32) + (tee_local $1 + (i32.add + (i32.xor + (i32.and + (get_local $1) + (i32.const 1) + ) (i32.const 1) ) - (i32.const 1) - ) - (i32.sub - (get_local $71) - (get_local $58) + (i32.sub + (get_local $71) + (get_local $58) + ) ) ) ) ) - ) - (set_local $37 - (get_local $5) - ) - (set_local $42 - (select - (get_local $32) - (get_local $1) - (get_local $7) + (set_local $37 + (get_local $5) ) + (set_local $42 + (select + (get_local $32) + (get_local $1) + (get_local $7) + ) + ) + (set_local $43 + (get_local $35) + ) + (set_local $48 + (get_local $36) + ) + (set_local $49 + (get_local $28) + ) + (get_local $58) ) - (set_local $43 - (get_local $35) - ) - (set_local $48 - (get_local $36) - ) - (set_local $49 - (get_local $28) - ) - (get_local $58) - ) - (block - (set_local $37 - (get_local $5) - ) - (set_local $42 - (i32.const 0) - ) - (set_local $43 - (get_local $35) - ) - (set_local $48 - (get_local $36) - ) - (set_local $49 + (block + (set_local $37 + (get_local $5) + ) + (set_local $42 + (i32.const 0) + ) + (set_local $43 + (get_local $35) + ) + (set_local $48 + (get_local $36) + ) + (set_local $49 + (get_local $28) + ) (get_local $28) ) - (get_local $28) ) ) ) ) - ) - (set_local $1 - (i32.lt_s - (get_local $42) - (tee_local $7 - (i32.sub - (get_local $49) - (get_local $47) + (set_local $1 + (i32.lt_s + (get_local $42) + (tee_local $7 + (i32.sub + (get_local $49) + (get_local $47) + ) ) ) ) - ) - (set_local $5 - (i32.lt_s - (get_local $16) - (tee_local $1 - (i32.add - (get_local $43) - (tee_local $6 - (select - (get_local $7) - (get_local $42) - (get_local $1) + (set_local $5 + (i32.lt_s + (get_local $16) + (tee_local $1 + (i32.add + (get_local $43) + (tee_local $6 + (select + (get_local $7) + (get_local $42) + (get_local $1) + ) ) ) ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (tee_local $5 - (select - (get_local $1) - (get_local $16) - (get_local $5) + (call $_pad + (get_local $0) + (i32.const 32) + (tee_local $5 + (select + (get_local $1) + (get_local $16) + (get_local $5) + ) ) + (get_local $1) + (get_local $37) ) - (get_local $1) - (get_local $37) - ) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) + (i32.const 0) + ) + (call $___fwritex + (get_local $48) + (get_local $43) + (get_local $0) ) - (i32.const 0) ) - (call $___fwritex - (get_local $48) - (get_local $43) + (call $_pad (get_local $0) + (i32.const 48) + (get_local $5) + (get_local $1) + (i32.xor + (get_local $37) + (i32.const 65536) + ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (get_local $5) - (get_local $1) - (i32.xor - (get_local $37) - (i32.const 65536) + (call $_pad + (get_local $0) + (i32.const 48) + (get_local $6) + (get_local $7) + (i32.const 0) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (get_local $6) - (get_local $7) - (i32.const 0) - ) - (if - (i32.eq - (i32.and - (i32.load - (get_local $0) + (if + (i32.eq + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) + (i32.const 0) + ) + (call $___fwritex + (get_local $47) + (get_local $7) + (get_local $0) + ) + ) + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $5) + (get_local $1) + (i32.xor + (get_local $37) + (i32.const 8192) ) - (i32.const 0) ) - (call $___fwritex - (get_local $47) - (get_local $7) - (get_local $0) + (set_local $20 + (get_local $9) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $5) - (get_local $1) - (i32.xor - (get_local $37) - (i32.const 8192) + (set_local $1 + (get_local $5) ) + (set_local $8 + (get_local $21) + ) + (br $label$continue$L1) ) - (set_local $20 - (get_local $9) - ) - (set_local $1 - (get_local $5) - ) - (set_local $8 - (get_local $21) - ) - (br $label$continue$L1) ) (block $label$break$L343 (if @@ -8501,102 +8581,106 @@ (set_local $1 (i32.const 1) ) - (loop $while-out$136 $while-in$137 - (if - (i32.eq - (tee_local $0 - (i32.load - (i32.add - (get_local $4) - (i32.shl - (get_local $1) - (i32.const 2) + (loop $while-in$137 + (block $while-out$136 + (if + (i32.eq + (tee_local $0 + (i32.load + (i32.add + (get_local $4) + (i32.shl + (get_local $1) + (i32.const 2) + ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (br $while-out$136) - ) - (call $_pop_arg_336 - (i32.add - (get_local $3) - (i32.shl - (get_local $1) - (i32.const 3) - ) + (br $while-out$136) ) - (get_local $0) - (get_local $2) - ) - (if - (i32.ge_s - (tee_local $1 - (i32.add + (call $_pop_arg_336 + (i32.add + (get_local $3) + (i32.shl (get_local $1) - (i32.const 1) + (i32.const 3) ) ) - (i32.const 10) + (get_local $0) + (get_local $2) ) - (block - (set_local $24 - (i32.const 1) + (if + (i32.ge_s + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) + ) + (i32.const 10) + ) + (block + (set_local $24 + (i32.const 1) + ) + (br $label$break$L343) ) - (br $label$break$L343) ) + (br $while-in$137) ) - (br $while-in$137) ) (if (i32.lt_s (get_local $1) (i32.const 10) ) - (loop $while-out$138 $while-in$139 - (set_local $0 - (i32.add - (get_local $1) - (i32.const 1) + (loop $while-in$139 + (block $while-out$138 + (set_local $0 + (i32.add + (get_local $1) + (i32.const 1) + ) ) - ) - (if - (i32.ne - (i32.load - (i32.add - (get_local $4) - (i32.shl - (get_local $1) - (i32.const 2) + (if + (i32.ne + (i32.load + (i32.add + (get_local $4) + (i32.shl + (get_local $1) + (i32.const 2) + ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $24 - (i32.const -1) + (block + (set_local $24 + (i32.const -1) + ) + (br $label$break$L343) ) - (br $label$break$L343) - ) - ) - (if - (i32.lt_s - (get_local $0) - (i32.const 10) - ) - (set_local $1 - (get_local $0) ) - (block - (set_local $24 - (i32.const 1) + (if + (i32.lt_s + (get_local $0) + (i32.const 10) + ) + (set_local $1 + (get_local $0) + ) + (block + (set_local $24 + (i32.const 1) + ) + (br $while-out$138) ) - (br $while-out$138) ) + (br $while-in$139) ) - (br $while-in$139) ) (set_local $24 (i32.const 1) @@ -9050,71 +9134,73 @@ (set_local $4 (get_local $1) ) - (loop $while-out$0 $while-in$1 - (set_local $0 - (call $___uremdi3 - (get_local $3) - (get_local $4) - (i32.const 10) - (i32.const 0) - ) - ) - (i32.store8 - (tee_local $2 - (i32.add - (get_local $2) - (i32.const -1) + (loop $while-in$1 + (block $while-out$0 + (set_local $0 + (call $___uremdi3 + (get_local $3) + (get_local $4) + (i32.const 10) + (i32.const 0) ) ) - (i32.and - (i32.or - (get_local $0) - (i32.const 48) + (i32.store8 + (tee_local $2 + (i32.add + (get_local $2) + (i32.const -1) + ) + ) + (i32.and + (i32.or + (get_local $0) + (i32.const 48) + ) + (i32.const 255) ) - (i32.const 255) - ) - ) - (set_local $0 - (call $___udivdi3 - (get_local $3) - (get_local $4) - (i32.const 10) - (i32.const 0) - ) - ) - (set_local $1 - (i32.load - (i32.const 168) ) - ) - (if - (i32.or - (i32.gt_u + (set_local $0 + (call $___udivdi3 + (get_local $3) (get_local $4) - (i32.const 9) + (i32.const 10) + (i32.const 0) ) - (i32.and - (i32.eq + ) + (set_local $1 + (i32.load + (i32.const 168) + ) + ) + (if + (i32.or + (i32.gt_u (get_local $4) (i32.const 9) ) - (i32.gt_u - (get_local $3) - (i32.const -1) + (i32.and + (i32.eq + (get_local $4) + (i32.const 9) + ) + (i32.gt_u + (get_local $3) + (i32.const -1) + ) ) ) - ) - (block - (set_local $3 - (get_local $0) - ) - (set_local $4 - (get_local $1) + (block + (set_local $3 + (get_local $0) + ) + (set_local $4 + (get_local $1) + ) ) + (br $while-out$0) ) - (br $while-out$0) + (br $while-in$1) ) - (br $while-in$1) ) (set_local $3 (get_local $0) @@ -9138,53 +9224,55 @@ (set_local $1 (get_local $0) ) - (loop $while-out$2 $while-in$3 - (i32.store8 - (tee_local $1 - (i32.add - (get_local $1) - (i32.const -1) + (loop $while-in$3 + (block $while-out$2 + (i32.store8 + (tee_local $1 + (i32.add + (get_local $1) + (i32.const -1) + ) + ) + (i32.and + (i32.or + (i32.and + (i32.rem_u + (get_local $3) + (i32.const 10) + ) + (i32.const -1) + ) + (i32.const 48) + ) + (i32.const 255) ) ) - (i32.and - (i32.or - (i32.and - (i32.rem_u - (get_local $3) - (i32.const 10) - ) - (i32.const -1) + (set_local $0 + (i32.and + (i32.div_u + (get_local $3) + (i32.const 10) ) - (i32.const 48) + (i32.const -1) ) - (i32.const 255) ) - ) - (set_local $0 - (i32.and - (i32.div_u + (if + (i32.lt_u (get_local $3) (i32.const 10) ) - (i32.const -1) - ) - ) - (if - (i32.lt_u - (get_local $3) - (i32.const 10) - ) - (block - (set_local $0 - (get_local $1) + (block + (set_local $0 + (get_local $1) + ) + (br $while-out$2) + ) + (set_local $3 + (get_local $0) ) - (br $while-out$2) - ) - (set_local $3 - (get_local $0) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) @@ -9288,46 +9376,48 @@ (set_local $3 (get_local $5) ) - (loop $while-out$2 $while-in$3 - (set_local $4 - (i32.eq - (i32.and - (tee_local $1 - (if - (get_local $4) - (block - (drop - (call $___fwritex - (get_local $6) - (i32.const 256) + (loop $while-in$3 + (block $while-out$2 + (set_local $4 + (i32.eq + (i32.and + (tee_local $1 + (if + (get_local $4) + (block + (drop + (call $___fwritex + (get_local $6) + (i32.const 256) + (get_local $0) + ) + ) + (i32.load (get_local $0) ) ) - (i32.load - (get_local $0) - ) + (get_local $1) ) - (get_local $1) ) + (i32.const 32) ) - (i32.const 32) + (i32.const 0) ) - (i32.const 0) ) - ) - (if - (i32.le_u - (tee_local $3 - (i32.add - (get_local $3) - (i32.const -256) + (if + (i32.le_u + (tee_local $3 + (i32.add + (get_local $3) + (i32.const -256) + ) ) + (i32.const 255) ) - (i32.const 255) + (br $while-out$2) ) - (br $while-out$2) + (br $while-in$3) ) - (br $while-in$3) ) (set_local $1 (i32.and @@ -10093,76 +10183,78 @@ (set_local $8 (get_local $0) ) - (loop $while-out$23 $while-in$24 - (if - (i32.eq - (tee_local $0 - (i32.load offset=16 - (get_local $4) - ) - ) - (i32.const 0) - ) + (loop $while-in$24 + (block $while-out$23 (if (i32.eq (tee_local $0 - (i32.load offset=20 + (i32.load offset=16 (get_local $4) ) ) (i32.const 0) ) - (block - (set_local $7 - (get_local $2) + (if + (i32.eq + (tee_local $0 + (i32.load offset=20 + (get_local $4) + ) + ) + (i32.const 0) ) - (set_local $10 - (get_local $8) + (block + (set_local $7 + (get_local $2) + ) + (set_local $10 + (get_local $8) + ) + (br $while-out$23) + ) + (set_local $1 + (get_local $0) ) - (br $while-out$23) ) (set_local $1 (get_local $0) ) ) - (set_local $1 - (get_local $0) - ) - ) - (set_local $0 - (i32.lt_u - (tee_local $4 - (i32.sub - (i32.and - (i32.load offset=4 - (get_local $1) + (set_local $0 + (i32.lt_u + (tee_local $4 + (i32.sub + (i32.and + (i32.load offset=4 + (get_local $1) + ) + (i32.const -8) ) - (i32.const -8) + (get_local $6) ) - (get_local $6) ) + (get_local $2) ) - (get_local $2) ) - ) - (set_local $2 - (select - (get_local $4) - (get_local $2) - (get_local $0) + (set_local $2 + (select + (get_local $4) + (get_local $2) + (get_local $0) + ) ) - ) - (set_local $4 - (get_local $1) - ) - (set_local $8 - (select + (set_local $4 (get_local $1) - (get_local $8) - (get_local $0) ) + (set_local $8 + (select + (get_local $1) + (get_local $8) + (get_local $0) + ) + ) + (br $while-in$24) ) - (br $while-in$24) ) (if (i32.lt_u @@ -10245,56 +10337,58 @@ (get_local $2) ) ) - (loop $while-out$27 $while-in$28 - (if - (i32.ne - (tee_local $2 - (i32.load - (tee_local $5 - (i32.add - (get_local $4) - (i32.const 20) + (loop $while-in$28 + (block $while-out$27 + (if + (i32.ne + (tee_local $2 + (i32.load + (tee_local $5 + (i32.add + (get_local $4) + (i32.const 20) + ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $4 - (get_local $2) - ) - (set_local $8 - (get_local $5) + (block + (set_local $4 + (get_local $2) + ) + (set_local $8 + (get_local $5) + ) + (br $while-in$28) ) - (br $while-in$28) ) - ) - (if - (i32.eq - (tee_local $2 - (i32.load - (tee_local $5 - (i32.add - (get_local $4) - (i32.const 16) + (if + (i32.eq + (tee_local $2 + (i32.load + (tee_local $5 + (i32.add + (get_local $4) + (i32.const 16) + ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (br $while-out$27) - (block - (set_local $4 - (get_local $2) - ) - (set_local $8 - (get_local $5) + (br $while-out$27) + (block + (set_local $4 + (get_local $2) + ) + (set_local $8 + (get_local $5) + ) ) ) + (br $while-in$28) ) - (br $while-in$28) ) (if (i32.lt_u @@ -10934,83 +11028,85 @@ (set_local $36 (i32.const 0) ) - (loop $while-out$3 $while-in$4 - (if - (i32.lt_u - (tee_local $16 - (i32.sub - (tee_local $3 - (i32.and - (i32.load offset=4 - (get_local $23) - ) - (i32.const -8) - ) - ) - (get_local $5) - ) - ) - (get_local $7) - ) + (loop $while-in$4 + (block $while-out$3 (if - (i32.eq - (get_local $3) - (get_local $5) + (i32.lt_u + (tee_local $16 + (i32.sub + (tee_local $3 + (i32.and + (i32.load offset=4 + (get_local $23) + ) + (i32.const -8) + ) + ) + (get_local $5) + ) + ) + (get_local $7) ) - (block - (set_local $26 - (get_local $16) + (if + (i32.eq + (get_local $3) + (get_local $5) ) - (set_local $24 - (get_local $23) + (block + (set_local $26 + (get_local $16) + ) + (set_local $24 + (get_local $23) + ) + (set_local $29 + (get_local $23) + ) + (set_local $11 + (i32.const 90) + ) + (br $label$break$L123) ) - (set_local $29 + (set_local $36 (get_local $23) ) - (set_local $11 - (i32.const 90) - ) - (br $label$break$L123) ) - (set_local $36 - (get_local $23) + (set_local $16 + (get_local $7) ) ) - (set_local $16 - (get_local $7) - ) - ) - (set_local $7 - (i32.eq - (tee_local $3 - (i32.load offset=20 - (get_local $23) + (set_local $7 + (i32.eq + (tee_local $3 + (i32.load offset=20 + (get_local $23) + ) ) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $15 - (select - (get_local $15) - (get_local $3) - (i32.or - (get_local $7) - (i32.eq - (get_local $3) - (tee_local $3 - (i32.load - (i32.add + (set_local $15 + (select + (get_local $15) + (get_local $3) + (i32.or + (get_local $7) + (i32.eq + (get_local $3) + (tee_local $3 + (i32.load (i32.add - (get_local $23) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $11) - (i32.const 31) + (i32.add + (get_local $23) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $11) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) @@ -11018,51 +11114,51 @@ ) ) ) - ) - (set_local $11 - (i32.shl - (get_local $11) - (i32.xor - (i32.and - (tee_local $7 - (i32.eq - (get_local $3) - (i32.const 0) + (set_local $11 + (i32.shl + (get_local $11) + (i32.xor + (i32.and + (tee_local $7 + (i32.eq + (get_local $3) + (i32.const 0) + ) ) + (i32.const 1) ) (i32.const 1) ) - (i32.const 1) - ) - ) - ) - (if - (get_local $7) - (block - (set_local $31 - (get_local $16) - ) - (set_local $32 - (get_local $15) - ) - (set_local $28 - (get_local $36) - ) - (set_local $11 - (i32.const 86) ) - (br $while-out$3) ) - (block - (set_local $7 - (get_local $16) + (if + (get_local $7) + (block + (set_local $31 + (get_local $16) + ) + (set_local $32 + (get_local $15) + ) + (set_local $28 + (get_local $36) + ) + (set_local $11 + (i32.const 86) + ) + (br $while-out$3) ) - (set_local $23 - (get_local $3) + (block + (set_local $7 + (get_local $16) + ) + (set_local $23 + (get_local $3) + ) ) ) + (br $while-in$4) ) - (br $while-in$4) ) ) ) @@ -11249,90 +11345,92 @@ (get_local $11) (i32.const 90) ) - (loop $while-out$5 $while-in$6 - (set_local $11 - (i32.const 0) - ) - (set_local $0 - (i32.lt_u - (tee_local $3 - (i32.sub - (i32.and - (i32.load offset=4 - (get_local $24) + (loop $while-in$6 + (block $while-out$5 + (set_local $11 + (i32.const 0) + ) + (set_local $0 + (i32.lt_u + (tee_local $3 + (i32.sub + (i32.and + (i32.load offset=4 + (get_local $24) + ) + (i32.const -8) ) - (i32.const -8) + (get_local $5) ) - (get_local $5) ) + (get_local $26) ) - (get_local $26) - ) - ) - (set_local $17 - (select - (get_local $3) - (get_local $26) - (get_local $0) ) - ) - (set_local $3 - (select - (get_local $24) - (get_local $29) - (get_local $0) - ) - ) - (if - (i32.ne - (tee_local $0 - (i32.load offset=16 - (get_local $24) - ) + (set_local $17 + (select + (get_local $3) + (get_local $26) + (get_local $0) ) - (i32.const 0) ) - (block - (set_local $26 - (get_local $17) - ) - (set_local $24 + (set_local $3 + (select + (get_local $24) + (get_local $29) (get_local $0) ) - (set_local $29 - (get_local $3) - ) - (br $while-in$6) ) - ) - (if - (i32.eq - (tee_local $0 - (i32.load offset=20 - (get_local $24) + (if + (i32.ne + (tee_local $0 + (i32.load offset=16 + (get_local $24) + ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $13 - (get_local $3) + (block + (set_local $26 + (get_local $17) + ) + (set_local $24 + (get_local $0) + ) + (set_local $29 + (get_local $3) + ) + (br $while-in$6) ) - (br $while-out$5) ) - (block - (set_local $26 - (get_local $17) + (if + (i32.eq + (tee_local $0 + (i32.load offset=20 + (get_local $24) + ) + ) + (i32.const 0) ) - (set_local $24 - (get_local $0) + (block + (set_local $13 + (get_local $3) + ) + (br $while-out$5) ) - (set_local $29 - (get_local $3) + (block + (set_local $26 + (get_local $17) + ) + (set_local $24 + (get_local $0) + ) + (set_local $29 + (get_local $3) + ) ) ) + (br $while-in$6) ) - (br $while-in$6) ) ) (if @@ -11434,57 +11532,59 @@ (set_local $8 (get_local $2) ) - ) - (loop $while-out$9 $while-in$10 - (if - (i32.ne - (tee_local $2 - (i32.load - (tee_local $7 - (i32.add - (get_local $8) - (i32.const 20) - ) - ) - ) - ) - (i32.const 0) - ) - (block - (set_local $8 - (get_local $2) - ) - (set_local $9 - (get_local $7) - ) - (br $while-in$10) - ) - ) - (if - (i32.eq - (tee_local $2 - (i32.load - (tee_local $7 - (i32.add - (get_local $8) - (i32.const 16) + ) + (loop $while-in$10 + (block $while-out$9 + (if + (i32.ne + (tee_local $2 + (i32.load + (tee_local $7 + (i32.add + (get_local $8) + (i32.const 20) + ) ) ) ) + (i32.const 0) + ) + (block + (set_local $8 + (get_local $2) + ) + (set_local $9 + (get_local $7) + ) + (br $while-in$10) ) - (i32.const 0) ) - (br $while-out$9) - (block - (set_local $8 - (get_local $2) + (if + (i32.eq + (tee_local $2 + (i32.load + (tee_local $7 + (i32.add + (get_local $8) + (i32.const 16) + ) + ) + ) + ) + (i32.const 0) ) - (set_local $9 - (get_local $7) + (br $while-out$9) + (block + (set_local $8 + (get_local $2) + ) + (set_local $9 + (get_local $7) + ) ) ) + (br $while-in$10) ) - (br $while-in$10) ) (if (i32.lt_u @@ -12093,78 +12193,80 @@ (get_local $2) ) ) - (loop $while-out$17 $while-in$18 - (if - (i32.eq - (i32.and - (i32.load offset=4 + (loop $while-in$18 + (block $while-out$17 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $2) + ) + (i32.const -8) + ) + (get_local $17) + ) + (block + (set_local $22 (get_local $2) ) - (i32.const -8) + (set_local $11 + (i32.const 148) + ) + (br $while-out$17) ) - (get_local $17) ) - (block - (set_local $22 - (get_local $2) - ) - (set_local $11 - (i32.const 148) + (set_local $4 + (i32.shl + (get_local $1) + (i32.const 1) ) - (br $while-out$17) - ) - ) - (set_local $4 - (i32.shl - (get_local $1) - (i32.const 1) ) - ) - (if - (i32.eq - (tee_local $0 - (i32.load - (tee_local $1 - (i32.add + (if + (i32.eq + (tee_local $0 + (i32.load + (tee_local $1 (i32.add - (get_local $2) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $1) - (i32.const 31) + (i32.add + (get_local $2) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $25 - (get_local $2) - ) - (set_local $37 - (get_local $1) - ) - (set_local $11 - (i32.const 145) - ) - (br $while-out$17) - ) - (block - (set_local $1 - (get_local $4) + (block + (set_local $25 + (get_local $2) + ) + (set_local $37 + (get_local $1) + ) + (set_local $11 + (i32.const 145) + ) + (br $while-out$17) ) - (set_local $2 - (get_local $0) + (block + (set_local $1 + (get_local $4) + ) + (set_local $2 + (get_local $0) + ) ) ) + (br $while-in$18) ) - (br $while-in$18) ) (if (i32.eq @@ -12603,62 +12705,64 @@ (set_local $16 (i32.const 624) ) - (loop $while-out$37 $while-in$38 - (if - (i32.le_u - (tee_local $4 - (i32.load - (get_local $16) - ) - ) - (get_local $0) - ) + (loop $while-in$38 + (block $while-out$37 (if - (i32.gt_u - (i32.add - (get_local $4) + (i32.le_u + (tee_local $4 (i32.load - (tee_local $3 - (i32.add - (get_local $16) - (i32.const 4) - ) - ) + (get_local $16) ) ) (get_local $0) ) - (block - (set_local $4 - (get_local $16) + (if + (i32.gt_u + (i32.add + (get_local $4) + (i32.load + (tee_local $3 + (i32.add + (get_local $16) + (i32.const 4) + ) + ) + ) + ) + (get_local $0) ) - (set_local $16 - (get_local $3) + (block + (set_local $4 + (get_local $16) + ) + (set_local $16 + (get_local $3) + ) + (br $while-out$37) ) - (br $while-out$37) ) ) - ) - (if - (i32.eq - (tee_local $4 - (i32.load offset=8 - (get_local $16) + (if + (i32.eq + (tee_local $4 + (i32.load offset=8 + (get_local $16) + ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $11 - (i32.const 173) + (block + (set_local $11 + (i32.const 173) + ) + (br $label$break$L259) + ) + (set_local $16 + (get_local $4) ) - (br $label$break$L259) - ) - (set_local $16 - (get_local $4) ) + (br $while-in$38) ) - (br $while-in$38) ) (if (i32.lt_u @@ -13119,39 +13223,41 @@ (set_local $1 (i32.const 0) ) - (loop $while-out$77 $while-in$78 - (i32.store offset=12 - (tee_local $0 - (i32.add - (i32.const 216) - (i32.shl + (loop $while-in$78 + (block $while-out$77 + (i32.store offset=12 + (tee_local $0 + (i32.add + (i32.const 216) (i32.shl - (get_local $1) - (i32.const 1) + (i32.shl + (get_local $1) + (i32.const 1) + ) + (i32.const 2) ) - (i32.const 2) ) ) + (get_local $0) ) - (get_local $0) - ) - (i32.store offset=8 - (get_local $0) - (get_local $0) - ) - (if - (i32.eq - (tee_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (i32.store offset=8 + (get_local $0) + (get_local $0) + ) + (if + (i32.eq + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) ) + (i32.const 32) ) - (i32.const 32) + (br $while-out$77) ) - (br $while-out$77) + (br $while-in$78) ) - (br $while-in$78) ) (set_local $1 (i32.eq @@ -13225,62 +13331,64 @@ (set_local $7 (i32.const 624) ) - (loop $while-out$46 $while-in$47 - (if - (i32.eq - (get_local $14) - (i32.add - (tee_local $4 - (i32.load - (get_local $7) + (loop $while-in$47 + (block $while-out$46 + (if + (i32.eq + (get_local $14) + (i32.add + (tee_local $4 + (i32.load + (get_local $7) + ) ) - ) - (tee_local $3 - (i32.load - (tee_local $5 - (i32.add - (get_local $7) - (i32.const 4) + (tee_local $3 + (i32.load + (tee_local $5 + (i32.add + (get_local $7) + (i32.const 4) + ) ) ) ) ) ) + (block + (set_local $1 + (get_local $4) + ) + (set_local $2 + (get_local $3) + ) + (set_local $42 + (get_local $5) + ) + (set_local $43 + (get_local $7) + ) + (set_local $11 + (i32.const 203) + ) + (br $while-out$46) + ) ) - (block - (set_local $1 - (get_local $4) - ) - (set_local $2 - (get_local $3) - ) - (set_local $42 - (get_local $5) - ) - (set_local $43 - (get_local $7) - ) - (set_local $11 - (i32.const 203) + (if + (i32.eq + (tee_local $4 + (i32.load offset=8 + (get_local $7) + ) + ) + (i32.const 0) ) (br $while-out$46) - ) - ) - (if - (i32.eq - (tee_local $4 - (i32.load offset=8 - (get_local $7) - ) + (set_local $7 + (get_local $4) ) - (i32.const 0) - ) - (br $while-out$46) - (set_local $7 - (get_local $4) ) + (br $while-in$47) ) - (br $while-in$47) ) (if (i32.eq @@ -13421,44 +13529,46 @@ (set_local $1 (i32.const 624) ) - (loop $while-out$48 $while-in$49 - (if - (i32.eq - (i32.load - (get_local $1) - ) - (get_local $3) - ) - (block - (set_local $44 - (get_local $1) - ) - (set_local $38 - (get_local $1) - ) - (set_local $11 - (i32.const 211) + (loop $while-in$49 + (block $while-out$48 + (if + (i32.eq + (i32.load + (get_local $1) + ) + (get_local $3) ) - (br $while-out$48) - ) - ) - (if - (i32.eq - (tee_local $1 - (i32.load offset=8 + (block + (set_local $44 + (get_local $1) + ) + (set_local $38 (get_local $1) ) + (set_local $11 + (i32.const 211) + ) + (br $while-out$48) ) - (i32.const 0) ) - (block - (set_local $27 - (i32.const 624) + (if + (i32.eq + (tee_local $1 + (i32.load offset=8 + (get_local $1) + ) + ) + (i32.const 0) + ) + (block + (set_local $27 + (i32.const 624) + ) + (br $while-out$48) ) - (br $while-out$48) ) + (br $while-in$49) ) - (br $while-in$49) ) (if (i32.eq @@ -13874,56 +13984,58 @@ (get_local $1) ) ) - (loop $while-out$55 $while-in$56 - (if - (i32.ne - (tee_local $1 - (i32.load - (tee_local $20 - (i32.add - (get_local $2) - (i32.const 20) + (loop $while-in$56 + (block $while-out$55 + (if + (i32.ne + (tee_local $1 + (i32.load + (tee_local $20 + (i32.add + (get_local $2) + (i32.const 20) + ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $2 - (get_local $1) - ) - (set_local $9 - (get_local $20) + (block + (set_local $2 + (get_local $1) + ) + (set_local $9 + (get_local $20) + ) + (br $while-in$56) ) - (br $while-in$56) ) - ) - (if - (i32.eq - (tee_local $1 - (i32.load - (tee_local $20 - (i32.add - (get_local $2) - (i32.const 16) + (if + (i32.eq + (tee_local $1 + (i32.load + (tee_local $20 + (i32.add + (get_local $2) + (i32.const 16) + ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (br $while-out$55) - (block - (set_local $2 - (get_local $1) - ) - (set_local $9 - (get_local $20) + (br $while-out$55) + (block + (set_local $2 + (get_local $1) + ) + (set_local $9 + (get_local $20) + ) ) ) + (br $while-in$56) ) - (br $while-in$56) ) (if (i32.lt_u @@ -14524,78 +14636,80 @@ (get_local $2) ) ) - (loop $while-out$69 $while-in$70 - (if - (i32.eq - (i32.and - (i32.load offset=4 + (loop $while-in$70 + (block $while-out$69 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $2) + ) + (i32.const -8) + ) + (get_local $4) + ) + (block + (set_local $34 (get_local $2) ) - (i32.const -8) + (set_local $11 + (i32.const 281) + ) + (br $while-out$69) ) - (get_local $4) ) - (block - (set_local $34 - (get_local $2) - ) - (set_local $11 - (i32.const 281) + (set_local $8 + (i32.shl + (get_local $1) + (i32.const 1) ) - (br $while-out$69) - ) - ) - (set_local $8 - (i32.shl - (get_local $1) - (i32.const 1) ) - ) - (if - (i32.eq - (tee_local $0 - (i32.load - (tee_local $1 - (i32.add + (if + (i32.eq + (tee_local $0 + (i32.load + (tee_local $1 (i32.add - (get_local $2) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $1) - (i32.const 31) + (i32.add + (get_local $2) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $45 - (get_local $2) - ) - (set_local $40 - (get_local $1) - ) - (set_local $11 - (i32.const 278) - ) - (br $while-out$69) - ) - (block - (set_local $1 - (get_local $8) + (block + (set_local $45 + (get_local $2) + ) + (set_local $40 + (get_local $1) + ) + (set_local $11 + (i32.const 278) + ) + (br $while-out$69) ) - (set_local $2 - (get_local $0) + (block + (set_local $1 + (get_local $8) + ) + (set_local $2 + (get_local $0) + ) ) ) + (br $while-in$70) ) - (br $while-in$70) ) (if (i32.eq @@ -14699,42 +14813,44 @@ ) ) ) - (loop $while-out$71 $while-in$72 - (if - (i32.le_u - (tee_local $1 - (i32.load - (get_local $27) - ) - ) - (get_local $0) - ) + (loop $while-in$72 + (block $while-out$71 (if - (i32.gt_u + (i32.le_u (tee_local $1 - (i32.add - (get_local $1) - (i32.load offset=4 - (get_local $27) - ) + (i32.load + (get_local $27) ) ) (get_local $0) ) - (block - (set_local $2 - (get_local $1) + (if + (i32.gt_u + (tee_local $1 + (i32.add + (get_local $1) + (i32.load offset=4 + (get_local $27) + ) + ) + ) + (get_local $0) + ) + (block + (set_local $2 + (get_local $1) + ) + (br $while-out$71) ) - (br $while-out$71) ) ) - ) - (set_local $27 - (i32.load offset=8 - (get_local $27) + (set_local $27 + (i32.load offset=8 + (get_local $27) + ) ) + (br $while-in$72) ) - (br $while-in$72) ) (set_local $8 (i32.eq @@ -14915,27 +15031,29 @@ (i32.const 24) ) ) - (loop $while-out$73 $while-in$74 - (i32.store - (tee_local $1 - (i32.add - (get_local $1) - (i32.const 4) + (loop $while-in$74 + (block $while-out$73 + (i32.store + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 4) + ) ) + (i32.const 7) ) - (i32.const 7) - ) - (if - (i32.ge_u - (i32.add - (get_local $1) - (i32.const 4) + (if + (i32.ge_u + (i32.add + (get_local $1) + (i32.const 4) + ) + (get_local $2) ) - (get_local $2) + (br $while-out$73) ) - (br $while-out$73) + (br $while-in$74) ) - (br $while-in$74) ) (if (i32.ne @@ -15266,78 +15384,80 @@ (get_local $4) ) ) - (loop $while-out$75 $while-in$76 - (if - (i32.eq - (i32.and - (i32.load offset=4 + (loop $while-in$76 + (block $while-out$75 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $4) + ) + (i32.const -8) + ) + (get_local $3) + ) + (block + (set_local $35 (get_local $4) ) - (i32.const -8) + (set_local $11 + (i32.const 307) + ) + (br $while-out$75) ) - (get_local $3) ) - (block - (set_local $35 - (get_local $4) - ) - (set_local $11 - (i32.const 307) + (set_local $8 + (i32.shl + (get_local $2) + (i32.const 1) ) - (br $while-out$75) - ) - ) - (set_local $8 - (i32.shl - (get_local $2) - (i32.const 1) ) - ) - (if - (i32.eq - (tee_local $1 - (i32.load - (tee_local $2 - (i32.add + (if + (i32.eq + (tee_local $1 + (i32.load + (tee_local $2 (i32.add - (get_local $4) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $2) - (i32.const 31) + (i32.add + (get_local $4) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $46 - (get_local $4) - ) - (set_local $41 - (get_local $2) - ) - (set_local $11 - (i32.const 304) - ) - (br $while-out$75) - ) - (block - (set_local $2 - (get_local $8) + (block + (set_local $46 + (get_local $4) + ) + (set_local $41 + (get_local $2) + ) + (set_local $11 + (i32.const 304) + ) + (br $while-out$75) ) - (set_local $4 - (get_local $1) + (block + (set_local $2 + (get_local $8) + ) + (set_local $4 + (get_local $1) + ) ) ) + (br $while-in$76) ) - (br $while-in$76) ) (if (i32.eq @@ -15875,56 +15995,58 @@ (get_local $0) ) ) - (loop $while-out$4 $while-in$5 - (if - (i32.ne - (tee_local $0 - (i32.load - (tee_local $13 - (i32.add - (get_local $2) - (i32.const 20) + (loop $while-in$5 + (block $while-out$4 + (if + (i32.ne + (tee_local $0 + (i32.load + (tee_local $13 + (i32.add + (get_local $2) + (i32.const 20) + ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $2 - (get_local $0) - ) - (set_local $7 - (get_local $13) + (block + (set_local $2 + (get_local $0) + ) + (set_local $7 + (get_local $13) + ) + (br $while-in$5) ) - (br $while-in$5) ) - ) - (if - (i32.eq - (tee_local $0 - (i32.load - (tee_local $13 - (i32.add - (get_local $2) - (i32.const 16) + (if + (i32.eq + (tee_local $0 + (i32.load + (tee_local $13 + (i32.add + (get_local $2) + (i32.const 16) + ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (br $while-out$4) - (block - (set_local $2 - (get_local $0) - ) - (set_local $7 - (get_local $13) + (br $while-out$4) + (block + (set_local $2 + (get_local $0) + ) + (set_local $7 + (get_local $13) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (if (i32.lt_u @@ -16549,56 +16671,58 @@ (get_local $1) ) ) - (loop $while-out$12 $while-in$13 - (if - (i32.ne - (tee_local $1 - (i32.load - (tee_local $7 - (i32.add - (get_local $2) - (i32.const 20) + (loop $while-in$13 + (block $while-out$12 + (if + (i32.ne + (tee_local $1 + (i32.load + (tee_local $7 + (i32.add + (get_local $2) + (i32.const 20) + ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $2 - (get_local $1) - ) - (set_local $8 - (get_local $7) + (block + (set_local $2 + (get_local $1) + ) + (set_local $8 + (get_local $7) + ) + (br $while-in$13) ) - (br $while-in$13) ) - ) - (if - (i32.eq - (tee_local $1 - (i32.load - (tee_local $7 - (i32.add - (get_local $2) - (i32.const 16) + (if + (i32.eq + (tee_local $1 + (i32.load + (tee_local $7 + (i32.add + (get_local $2) + (i32.const 16) + ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (br $while-out$12) - (block - (set_local $2 - (get_local $1) - ) - (set_local $8 - (get_local $7) + (br $while-out$12) + (block + (set_local $2 + (get_local $1) + ) + (set_local $8 + (get_local $7) + ) ) ) + (br $while-in$13) ) - (br $while-in$13) ) (if (i32.lt_u @@ -17206,78 +17330,80 @@ (get_local $1) ) ) - (loop $while-out$18 $while-in$19 - (if - (i32.eq - (i32.and - (i32.load offset=4 + (loop $while-in$19 + (block $while-out$18 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $1) + ) + (i32.const -8) + ) + (get_local $5) + ) + (block + (set_local $15 (get_local $1) ) - (i32.const -8) + (set_local $0 + (i32.const 130) + ) + (br $while-out$18) ) - (get_local $5) ) - (block - (set_local $15 - (get_local $1) - ) - (set_local $0 - (i32.const 130) + (set_local $2 + (i32.shl + (get_local $6) + (i32.const 1) ) - (br $while-out$18) ) - ) - (set_local $2 - (i32.shl - (get_local $6) - (i32.const 1) - ) - ) - (if - (i32.eq - (tee_local $0 - (i32.load - (tee_local $6 - (i32.add + (if + (i32.eq + (tee_local $0 + (i32.load + (tee_local $6 (i32.add - (get_local $1) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $6) - (i32.const 31) + (i32.add + (get_local $1) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $6) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $18 - (get_local $1) - ) - (set_local $17 - (get_local $6) - ) - (set_local $0 - (i32.const 127) - ) - (br $while-out$18) - ) - (block - (set_local $6 - (get_local $2) + (block + (set_local $18 + (get_local $1) + ) + (set_local $17 + (get_local $6) + ) + (set_local $0 + (i32.const 127) + ) + (br $while-out$18) ) - (set_local $1 - (get_local $0) + (block + (set_local $6 + (get_local $2) + ) + (set_local $1 + (get_local $0) + ) ) ) + (br $while-in$19) ) - (br $while-in$19) ) (if (i32.eq @@ -17389,28 +17515,30 @@ ) (return) ) - (loop $while-out$20 $while-in$21 - (set_local $0 - (i32.eq - (tee_local $6 - (i32.load - (get_local $6) + (loop $while-in$21 + (block $while-out$20 + (set_local $0 + (i32.eq + (tee_local $6 + (i32.load + (get_local $6) + ) ) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $6 - (i32.add - (get_local $6) - (i32.const 8) + (set_local $6 + (i32.add + (get_local $6) + (i32.const 8) + ) ) + (if + (get_local $0) + (br $while-out$20) + ) + (br $while-in$21) ) - (if - (get_local $0) - (br $while-out$20) - ) - (br $while-in$21) ) (i32.store (i32.const 208) @@ -17526,66 +17654,72 @@ (get_local $3) ) ) - (loop $while-out$0 $while-in$1 - (br_if $while-out$0 - (i32.ge_s - (get_local $0) - (get_local $3) + (loop $while-in$1 + (block $while-out$0 + (br_if $while-out$0 + (i32.ge_s + (get_local $0) + (get_local $3) + ) ) - ) - (i32.store8 - (get_local $0) - (get_local $1) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (get_local $1) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) + (br $while-in$1) ) - (br $while-in$1) ) ) ) - (loop $while-out$2 $while-in$3 - (br_if $while-out$2 - (i32.ge_s - (get_local $0) - (get_local $6) + (loop $while-in$3 + (block $while-out$2 + (br_if $while-out$2 + (i32.ge_s + (get_local $0) + (get_local $6) + ) ) - ) - (i32.store - (get_local $0) - (get_local $5) - ) - (set_local $0 - (i32.add + (i32.store (get_local $0) - (i32.const 4) + (get_local $5) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 4) + ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (br_if $while-out$4 - (i32.ge_s - (get_local $0) - (get_local $4) + (loop $while-in$5 + (block $while-out$4 + (br_if $while-out$4 + (i32.ge_s + (get_local $0) + (get_local $4) + ) ) - ) - (i32.store8 - (get_local $0) - (get_local $1) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (get_local $1) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) + (br $while-in$5) ) - (br $while-in$5) ) (i32.sub (get_local $0) @@ -17732,117 +17866,123 @@ ) ) (block - (loop $while-out$0 $while-in$1 - (br_if $while-out$0 - (i32.eqz - (i32.and - (get_local $0) - (i32.const 3) + (loop $while-in$1 + (block $while-out$0 + (br_if $while-out$0 + (i32.eqz + (i32.and + (get_local $0) + (i32.const 3) + ) ) ) - ) - (if - (i32.eq - (get_local $2) - (i32.const 0) - ) - (return - (get_local $3) - ) - ) - (i32.store8 - (get_local $0) - (i32.load8_s - (get_local $1) + (if + (i32.eq + (get_local $2) + (i32.const 0) + ) + (return + (get_local $3) + ) ) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (i32.load8_s + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) ) - ) - (br $while-in$1) - ) - (loop $while-out$2 $while-in$3 - (br_if $while-out$2 - (i32.lt_s - (get_local $2) - (i32.const 4) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) ) + (br $while-in$1) ) - (i32.store - (get_local $0) - (i32.load - (get_local $1) + ) + (loop $while-in$3 + (block $while-out$2 + (br_if $while-out$2 + (i32.lt_s + (get_local $2) + (i32.const 4) + ) ) - ) - (set_local $0 - (i32.add + (i32.store (get_local $0) - (i32.const 4) + (i32.load + (get_local $1) + ) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 4) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 4) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 4) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 4) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 4) + ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (br_if $while-out$4 - (i32.le_s - (get_local $2) - (i32.const 0) - ) - ) - (i32.store8 - (get_local $0) - (i32.load8_s - (get_local $1) + (loop $while-in$5 + (block $while-out$4 + (br_if $while-out$4 + (i32.le_s + (get_local $2) + (i32.const 0) + ) ) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (i32.load8_s + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) ) + (br $while-in$5) ) - (br $while-in$5) ) (get_local $3) ) @@ -19151,152 +19291,154 @@ (set_local $0 (i32.const 0) ) - (loop $while-out$2 $while-in$3 - (set_local $6 - (i32.or - (i32.shr_u - (get_local $10) - (i32.const 31) - ) - (i32.shl - (get_local $9) - (i32.const 1) + (loop $while-in$3 + (block $while-out$2 + (set_local $6 + (i32.or + (i32.shr_u + (get_local $10) + (i32.const 31) + ) + (i32.shl + (get_local $9) + (i32.const 1) + ) ) ) - ) - (set_local $10 - (i32.or - (get_local $0) - (i32.shl - (get_local $10) - (i32.const 1) + (set_local $10 + (i32.or + (get_local $0) + (i32.shl + (get_local $10) + (i32.const 1) + ) ) ) - ) - (drop - (call $_i64Subtract - (get_local $3) - (get_local $8) - (tee_local $0 - (i32.or - (i32.const 0) + (drop + (call $_i64Subtract + (get_local $3) + (get_local $8) + (tee_local $0 (i32.or - (i32.shl - (get_local $11) - (i32.const 1) + (i32.const 0) + (i32.or + (i32.shl + (get_local $11) + (i32.const 1) + ) + (i32.shr_u + (get_local $9) + (i32.const 31) + ) ) + ) + ) + (tee_local $9 + (i32.or (i32.shr_u - (get_local $9) + (get_local $11) (i32.const 31) ) - ) - ) - ) - (tee_local $9 - (i32.or - (i32.shr_u - (get_local $11) - (i32.const 31) - ) - (i32.shl - (get_local $13) - (i32.const 1) + (i32.shl + (get_local $13) + (i32.const 1) + ) ) ) ) ) - ) - (set_local $7 - (i32.and - (tee_local $14 - (i32.or - (i32.shr_s - (tee_local $5 - (i32.load - (i32.const 168) + (set_local $7 + (i32.and + (tee_local $14 + (i32.or + (i32.shr_s + (tee_local $5 + (i32.load + (i32.const 168) + ) ) + (i32.const 31) ) - (i32.const 31) - ) - (i32.shl - (select - (i32.const -1) - (i32.const 0) - (i32.lt_s - (get_local $5) + (i32.shl + (select + (i32.const -1) (i32.const 0) + (i32.lt_s + (get_local $5) + (i32.const 0) + ) ) + (i32.const 1) ) - (i32.const 1) ) ) + (i32.const 1) ) - (i32.const 1) ) - ) - (set_local $11 - (call $_i64Subtract - (get_local $0) - (get_local $9) - (i32.and - (get_local $14) - (get_local $1) - ) - (i32.and - (i32.or - (i32.shr_s - (select - (i32.const -1) - (i32.const 0) - (i32.lt_s - (get_local $5) + (set_local $11 + (call $_i64Subtract + (get_local $0) + (get_local $9) + (i32.and + (get_local $14) + (get_local $1) + ) + (i32.and + (i32.or + (i32.shr_s + (select + (i32.const -1) (i32.const 0) + (i32.lt_s + (get_local $5) + (i32.const 0) + ) ) + (i32.const 31) ) - (i32.const 31) - ) - (i32.shl - (select - (i32.const -1) - (i32.const 0) - (i32.lt_s - (get_local $5) + (i32.shl + (select + (i32.const -1) (i32.const 0) + (i32.lt_s + (get_local $5) + (i32.const 0) + ) ) + (i32.const 1) ) - (i32.const 1) ) + (get_local $2) ) - (get_local $2) ) ) - ) - (set_local $13 - (i32.load - (i32.const 168) - ) - ) - (if - (i32.eq - (tee_local $12 - (i32.sub - (get_local $12) - (i32.const 1) - ) + (set_local $13 + (i32.load + (i32.const 168) ) - (i32.const 0) ) - (br $while-out$2) - (block - (set_local $9 - (get_local $6) + (if + (i32.eq + (tee_local $12 + (i32.sub + (get_local $12) + (i32.const 1) + ) + ) + (i32.const 0) ) - (set_local $0 - (get_local $7) + (br $while-out$2) + (block + (set_local $9 + (get_local $6) + ) + (set_local $0 + (get_local $7) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) (set_local $1 (i32.const 0) diff --git a/test/emcc_hello_world.fromasm.imprecise.no-opts b/test/emcc_hello_world.fromasm.imprecise.no-opts index 70da0bd37..f37f143a9 100644 --- a/test/emcc_hello_world.fromasm.imprecise.no-opts +++ b/test/emcc_hello_world.fromasm.imprecise.no-opts @@ -608,73 +608,75 @@ (set_local $$i$012 (i32.const 0) ) - (loop $while-out$0 $while-in$1 - (set_local $$arrayidx - (i32.add - (i32.const 687) - (get_local $$i$012) - ) - ) - (set_local $$0 - (i32.load8_s - (get_local $$arrayidx) - ) - ) - (set_local $$conv - (i32.and - (get_local $$0) - (i32.const 255) + (loop $while-in$1 + (block $while-out$0 + (set_local $$arrayidx + (i32.add + (i32.const 687) + (get_local $$i$012) + ) ) - ) - (set_local $$cmp - (i32.eq - (get_local $$conv) - (get_local $$e) + (set_local $$0 + (i32.load8_s + (get_local $$arrayidx) + ) ) - ) - (if - (get_local $$cmp) - (block - (set_local $$i$012$lcssa - (get_local $$i$012) + (set_local $$conv + (i32.and + (get_local $$0) + (i32.const 255) ) - (set_local $label - (i32.const 2) + ) + (set_local $$cmp + (i32.eq + (get_local $$conv) + (get_local $$e) ) - (br $while-out$0) ) - ) - (set_local $$inc - (i32.add - (get_local $$i$012) - (i32.const 1) + (if + (get_local $$cmp) + (block + (set_local $$i$012$lcssa + (get_local $$i$012) + ) + (set_local $label + (i32.const 2) + ) + (br $while-out$0) + ) ) - ) - (set_local $$tobool - (i32.eq - (get_local $$inc) - (i32.const 87) + (set_local $$inc + (i32.add + (get_local $$i$012) + (i32.const 1) + ) ) - ) - (if - (get_local $$tobool) - (block - (set_local $$i$111 + (set_local $$tobool + (i32.eq + (get_local $$inc) (i32.const 87) ) - (set_local $$s$010 - (i32.const 775) + ) + (if + (get_local $$tobool) + (block + (set_local $$i$111 + (i32.const 87) + ) + (set_local $$s$010 + (i32.const 775) + ) + (set_local $label + (i32.const 5) + ) + (br $while-out$0) ) - (set_local $label - (i32.const 5) + (set_local $$i$012 + (get_local $$inc) ) - (br $while-out$0) - ) - (set_local $$i$012 - (get_local $$inc) ) + (br $while-in$1) ) - (br $while-in$1) ) (if (i32.eq @@ -712,84 +714,88 @@ (get_local $label) (i32.const 5) ) - (loop $while-out$2 $while-in$3 - (set_local $label - (i32.const 0) - ) - (set_local $$s$1 - (get_local $$s$010) - ) - (loop $while-out$4 $while-in$5 - (set_local $$1 - (i32.load8_s - (get_local $$s$1) - ) + (loop $while-in$3 + (block $while-out$2 + (set_local $label + (i32.const 0) ) - (set_local $$tobool8 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$1) - (i32.const 24) + (set_local $$s$1 + (get_local $$s$010) + ) + (loop $while-in$5 + (block $while-out$4 + (set_local $$1 + (i32.load8_s + (get_local $$s$1) ) - (i32.const 24) ) - (i32.const 0) + (set_local $$tobool8 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$1) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const 0) + ) + ) + (set_local $$incdec$ptr + (i32.add + (get_local $$s$1) + (i32.const 1) + ) + ) + (if + (get_local $$tobool8) + (block + (set_local $$incdec$ptr$lcssa + (get_local $$incdec$ptr) + ) + (br $while-out$4) + ) + (set_local $$s$1 + (get_local $$incdec$ptr) + ) + ) + (br $while-in$5) ) ) - (set_local $$incdec$ptr + (set_local $$dec (i32.add - (get_local $$s$1) - (i32.const 1) + (get_local $$i$111) + (i32.const -1) + ) + ) + (set_local $$tobool5 + (i32.eq + (get_local $$dec) + (i32.const 0) ) ) (if - (get_local $$tobool8) + (get_local $$tobool5) (block - (set_local $$incdec$ptr$lcssa - (get_local $$incdec$ptr) + (set_local $$s$0$lcssa + (get_local $$incdec$ptr$lcssa) ) - (br $while-out$4) - ) - (set_local $$s$1 - (get_local $$incdec$ptr) - ) - ) - (br $while-in$5) - ) - (set_local $$dec - (i32.add - (get_local $$i$111) - (i32.const -1) - ) - ) - (set_local $$tobool5 - (i32.eq - (get_local $$dec) - (i32.const 0) - ) - ) - (if - (get_local $$tobool5) - (block - (set_local $$s$0$lcssa - (get_local $$incdec$ptr$lcssa) - ) - (br $while-out$2) - ) - (block - (set_local $$i$111 - (get_local $$dec) - ) - (set_local $$s$010 - (get_local $$incdec$ptr$lcssa) + (br $while-out$2) ) - (set_local $label - (i32.const 5) + (block + (set_local $$i$111 + (get_local $$dec) + ) + (set_local $$s$010 + (get_local $$incdec$ptr$lcssa) + ) + (set_local $label + (i32.const 5) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) (return @@ -1346,139 +1352,141 @@ (set_local $$r$021 (get_local $$cond10) ) - (loop $while-out$2 $while-in$3 - (set_local $$lock13 - (i32.add - (get_local $$f$addr$022) - (i32.const 76) + (loop $while-in$3 + (block $while-out$2 + (set_local $$lock13 + (i32.add + (get_local $$f$addr$022) + (i32.const 76) + ) ) - ) - (set_local $$3 - (i32.load - (get_local $$lock13) + (set_local $$3 + (i32.load + (get_local $$lock13) + ) ) - ) - (set_local $$cmp14 - (i32.gt_s - (get_local $$3) - (i32.const -1) + (set_local $$cmp14 + (i32.gt_s + (get_local $$3) + (i32.const -1) + ) ) - ) - (if - (get_local $$cmp14) - (block - (set_local $$call16 - (call $___lockfile - (get_local $$f$addr$022) + (if + (get_local $$cmp14) + (block + (set_local $$call16 + (call $___lockfile + (get_local $$f$addr$022) + ) + ) + (set_local $$cond19 + (get_local $$call16) ) ) (set_local $$cond19 - (get_local $$call16) + (i32.const 0) ) ) - (set_local $$cond19 - (i32.const 0) - ) - ) - (set_local $$wpos - (i32.add - (get_local $$f$addr$022) - (i32.const 20) + (set_local $$wpos + (i32.add + (get_local $$f$addr$022) + (i32.const 20) + ) ) - ) - (set_local $$4 - (i32.load - (get_local $$wpos) + (set_local $$4 + (i32.load + (get_local $$wpos) + ) ) - ) - (set_local $$wbase - (i32.add - (get_local $$f$addr$022) - (i32.const 28) + (set_local $$wbase + (i32.add + (get_local $$f$addr$022) + (i32.const 28) + ) ) - ) - (set_local $$5 - (i32.load - (get_local $$wbase) + (set_local $$5 + (i32.load + (get_local $$wbase) + ) ) - ) - (set_local $$cmp20 - (i32.gt_u - (get_local $$4) - (get_local $$5) + (set_local $$cmp20 + (i32.gt_u + (get_local $$4) + (get_local $$5) + ) ) - ) - (if - (get_local $$cmp20) - (block - (set_local $$call22 - (call $___fflush_unlocked - (get_local $$f$addr$022) + (if + (get_local $$cmp20) + (block + (set_local $$call22 + (call $___fflush_unlocked + (get_local $$f$addr$022) + ) ) - ) - (set_local $$or - (i32.or - (get_local $$call22) - (get_local $$r$021) + (set_local $$or + (i32.or + (get_local $$call22) + (get_local $$r$021) + ) + ) + (set_local $$r$1 + (get_local $$or) ) ) (set_local $$r$1 - (get_local $$or) + (get_local $$r$021) ) ) - (set_local $$r$1 - (get_local $$r$021) - ) - ) - (set_local $$tobool24 - (i32.eq - (get_local $$cond19) - (i32.const 0) - ) - ) - (if - (i32.eqz - (get_local $$tobool24) - ) - (call $___unlockfile - (get_local $$f$addr$022) - ) - ) - (set_local $$next - (i32.add - (get_local $$f$addr$022) - (i32.const 56) + (set_local $$tobool24 + (i32.eq + (get_local $$cond19) + (i32.const 0) + ) ) - ) - (set_local $$f$addr$0 - (i32.load - (get_local $$next) + (if + (i32.eqz + (get_local $$tobool24) + ) + (call $___unlockfile + (get_local $$f$addr$022) + ) ) - ) - (set_local $$tobool11 - (i32.eq - (get_local $$f$addr$0) - (i32.const 0) + (set_local $$next + (i32.add + (get_local $$f$addr$022) + (i32.const 56) + ) ) - ) - (if - (get_local $$tobool11) - (block - (set_local $$r$0$lcssa - (get_local $$r$1) + (set_local $$f$addr$0 + (i32.load + (get_local $$next) ) - (br $while-out$2) ) - (block - (set_local $$f$addr$022 + (set_local $$tobool11 + (i32.eq (get_local $$f$addr$0) + (i32.const 0) + ) + ) + (if + (get_local $$tobool11) + (block + (set_local $$r$0$lcssa + (get_local $$r$1) + ) + (br $while-out$2) ) - (set_local $$r$021 - (get_local $$r$1) + (block + (set_local $$f$addr$022 + (get_local $$f$addr$0) + ) + (set_local $$r$021 + (get_local $$r$1) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) @@ -1841,331 +1849,333 @@ (set_local $$rem$0 (get_local $$add) ) - (loop $while-out$0 $while-in$1 - (set_local $$2 - (i32.load - (i32.const 16) + (loop $while-in$1 + (block $while-out$0 + (set_local $$2 + (i32.load + (i32.const 16) + ) ) - ) - (set_local $$tobool - (i32.eq - (get_local $$2) - (i32.const 0) + (set_local $$tobool + (i32.eq + (get_local $$2) + (i32.const 0) + ) ) - ) - (if - (get_local $$tobool) - (block - (set_local $$4 - (i32.load - (get_local $$fd8) + (if + (get_local $$tobool) + (block + (set_local $$4 + (i32.load + (get_local $$fd8) + ) ) - ) - (i32.store - (get_local $$vararg_buffer3) - (get_local $$4) - ) - (set_local $$vararg_ptr6 - (i32.add + (i32.store (get_local $$vararg_buffer3) - (i32.const 4) + (get_local $$4) ) - ) - (i32.store - (get_local $$vararg_ptr6) - (get_local $$iov$0) - ) - (set_local $$vararg_ptr7 - (i32.add - (get_local $$vararg_buffer3) - (i32.const 8) + (set_local $$vararg_ptr6 + (i32.add + (get_local $$vararg_buffer3) + (i32.const 4) + ) ) - ) - (i32.store - (get_local $$vararg_ptr7) - (get_local $$iovcnt$0) - ) - (set_local $$call9 - (call_import $___syscall146 - (i32.const 146) - (get_local $$vararg_buffer3) + (i32.store + (get_local $$vararg_ptr6) + (get_local $$iov$0) ) - ) - (set_local $$call10 - (call $___syscall_ret - (get_local $$call9) + (set_local $$vararg_ptr7 + (i32.add + (get_local $$vararg_buffer3) + (i32.const 8) + ) ) - ) - (set_local $$cnt$0 - (get_local $$call10) - ) - ) - (block - (call_import $_pthread_cleanup_push - (i32.const 5) - (get_local $$f) - ) - (set_local $$3 - (i32.load - (get_local $$fd8) + (i32.store + (get_local $$vararg_ptr7) + (get_local $$iovcnt$0) ) - ) - (i32.store - (get_local $$vararg_buffer) - (get_local $$3) - ) - (set_local $$vararg_ptr1 - (i32.add - (get_local $$vararg_buffer) - (i32.const 4) + (set_local $$call9 + (call_import $___syscall146 + (i32.const 146) + (get_local $$vararg_buffer3) + ) ) - ) - (i32.store - (get_local $$vararg_ptr1) - (get_local $$iov$0) - ) - (set_local $$vararg_ptr2 - (i32.add - (get_local $$vararg_buffer) - (i32.const 8) + (set_local $$call10 + (call $___syscall_ret + (get_local $$call9) + ) + ) + (set_local $$cnt$0 + (get_local $$call10) ) ) - (i32.store - (get_local $$vararg_ptr2) - (get_local $$iovcnt$0) - ) - (set_local $$call - (call_import $___syscall146 - (i32.const 146) + (block + (call_import $_pthread_cleanup_push + (i32.const 5) + (get_local $$f) + ) + (set_local $$3 + (i32.load + (get_local $$fd8) + ) + ) + (i32.store (get_local $$vararg_buffer) + (get_local $$3) ) - ) - (set_local $$call7 - (call $___syscall_ret - (get_local $$call) + (set_local $$vararg_ptr1 + (i32.add + (get_local $$vararg_buffer) + (i32.const 4) + ) + ) + (i32.store + (get_local $$vararg_ptr1) + (get_local $$iov$0) + ) + (set_local $$vararg_ptr2 + (i32.add + (get_local $$vararg_buffer) + (i32.const 8) + ) + ) + (i32.store + (get_local $$vararg_ptr2) + (get_local $$iovcnt$0) + ) + (set_local $$call + (call_import $___syscall146 + (i32.const 146) + (get_local $$vararg_buffer) + ) + ) + (set_local $$call7 + (call $___syscall_ret + (get_local $$call) + ) + ) + (call_import $_pthread_cleanup_pop + (i32.const 0) + ) + (set_local $$cnt$0 + (get_local $$call7) ) ) - (call_import $_pthread_cleanup_pop - (i32.const 0) - ) - (set_local $$cnt$0 - (get_local $$call7) - ) - ) - ) - (set_local $$cmp - (i32.eq - (get_local $$rem$0) - (get_local $$cnt$0) - ) - ) - (if - (get_local $$cmp) - (block - (set_local $label - (i32.const 6) - ) - (br $while-out$0) - ) - ) - (set_local $$cmp17 - (i32.lt_s - (get_local $$cnt$0) - (i32.const 0) ) - ) - (if - (get_local $$cmp17) - (block - (set_local $$iov$0$lcssa57 - (get_local $$iov$0) - ) - (set_local $$iovcnt$0$lcssa58 - (get_local $$iovcnt$0) - ) - (set_local $label - (i32.const 8) + (set_local $$cmp + (i32.eq + (get_local $$rem$0) + (get_local $$cnt$0) ) - (br $while-out$0) - ) - ) - (set_local $$sub26 - (i32.sub - (get_local $$rem$0) - (get_local $$cnt$0) - ) - ) - (set_local $$iov_len28 - (i32.add - (get_local $$iov$0) - (i32.const 4) - ) - ) - (set_local $$10 - (i32.load - (get_local $$iov_len28) - ) - ) - (set_local $$cmp29 - (i32.gt_u - (get_local $$cnt$0) - (get_local $$10) ) - ) - (if - (get_local $$cmp29) - (block - (set_local $$11 - (i32.load - (get_local $$buf31) + (if + (get_local $$cmp) + (block + (set_local $label + (i32.const 6) ) + (br $while-out$0) ) - (i32.store - (get_local $$wbase) - (get_local $$11) - ) - (i32.store - (get_local $$wpos) - (get_local $$11) - ) - (set_local $$sub36 - (i32.sub - (get_local $$cnt$0) - (get_local $$10) - ) + ) + (set_local $$cmp17 + (i32.lt_s + (get_local $$cnt$0) + (i32.const 0) ) - (set_local $$incdec$ptr - (i32.add + ) + (if + (get_local $$cmp17) + (block + (set_local $$iov$0$lcssa57 (get_local $$iov$0) - (i32.const 8) ) - ) - (set_local $$dec - (i32.add + (set_local $$iovcnt$0$lcssa58 (get_local $$iovcnt$0) - (i32.const -1) - ) - ) - (set_local $$iov_len50$phi$trans$insert - (i32.add - (get_local $$iov$0) - (i32.const 12) ) - ) - (set_local $$$pre - (i32.load - (get_local $$iov_len50$phi$trans$insert) + (set_local $label + (i32.const 8) ) + (br $while-out$0) ) - (set_local $$14 - (get_local $$$pre) - ) - (set_local $$cnt$1 - (get_local $$sub36) + ) + (set_local $$sub26 + (i32.sub + (get_local $$rem$0) + (get_local $$cnt$0) ) - (set_local $$iov$1 - (get_local $$incdec$ptr) + ) + (set_local $$iov_len28 + (i32.add + (get_local $$iov$0) + (i32.const 4) ) - (set_local $$iovcnt$1 - (get_local $$dec) + ) + (set_local $$10 + (i32.load + (get_local $$iov_len28) ) ) - (block - (set_local $$cmp38 - (i32.eq - (get_local $$iovcnt$0) - (i32.const 2) - ) + (set_local $$cmp29 + (i32.gt_u + (get_local $$cnt$0) + (get_local $$10) ) - (if - (get_local $$cmp38) - (block - (set_local $$12 - (i32.load - (get_local $$wbase) - ) - ) - (set_local $$add$ptr41 - (i32.add - (get_local $$12) - (get_local $$cnt$0) - ) - ) - (i32.store - (get_local $$wbase) - (get_local $$add$ptr41) - ) - (set_local $$14 - (get_local $$10) + ) + (if + (get_local $$cmp29) + (block + (set_local $$11 + (i32.load + (get_local $$buf31) ) - (set_local $$cnt$1 + ) + (i32.store + (get_local $$wbase) + (get_local $$11) + ) + (i32.store + (get_local $$wpos) + (get_local $$11) + ) + (set_local $$sub36 + (i32.sub (get_local $$cnt$0) + (get_local $$10) ) - (set_local $$iov$1 + ) + (set_local $$incdec$ptr + (i32.add (get_local $$iov$0) - ) - (set_local $$iovcnt$1 - (i32.const 2) + (i32.const 8) ) ) - (block - (set_local $$14 - (get_local $$10) - ) - (set_local $$cnt$1 - (get_local $$cnt$0) + (set_local $$dec + (i32.add + (get_local $$iovcnt$0) + (i32.const -1) ) - (set_local $$iov$1 + ) + (set_local $$iov_len50$phi$trans$insert + (i32.add (get_local $$iov$0) + (i32.const 12) + ) + ) + (set_local $$$pre + (i32.load + (get_local $$iov_len50$phi$trans$insert) ) - (set_local $$iovcnt$1 + ) + (set_local $$14 + (get_local $$$pre) + ) + (set_local $$cnt$1 + (get_local $$sub36) + ) + (set_local $$iov$1 + (get_local $$incdec$ptr) + ) + (set_local $$iovcnt$1 + (get_local $$dec) + ) + ) + (block + (set_local $$cmp38 + (i32.eq (get_local $$iovcnt$0) + (i32.const 2) + ) + ) + (if + (get_local $$cmp38) + (block + (set_local $$12 + (i32.load + (get_local $$wbase) + ) + ) + (set_local $$add$ptr41 + (i32.add + (get_local $$12) + (get_local $$cnt$0) + ) + ) + (i32.store + (get_local $$wbase) + (get_local $$add$ptr41) + ) + (set_local $$14 + (get_local $$10) + ) + (set_local $$cnt$1 + (get_local $$cnt$0) + ) + (set_local $$iov$1 + (get_local $$iov$0) + ) + (set_local $$iovcnt$1 + (i32.const 2) + ) + ) + (block + (set_local $$14 + (get_local $$10) + ) + (set_local $$cnt$1 + (get_local $$cnt$0) + ) + (set_local $$iov$1 + (get_local $$iov$0) + ) + (set_local $$iovcnt$1 + (get_local $$iovcnt$0) + ) ) ) ) ) - ) - (set_local $$13 - (i32.load + (set_local $$13 + (i32.load + (get_local $$iov$1) + ) + ) + (set_local $$add$ptr46 + (i32.add + (get_local $$13) + (get_local $$cnt$1) + ) + ) + (i32.store (get_local $$iov$1) + (get_local $$add$ptr46) ) - ) - (set_local $$add$ptr46 - (i32.add - (get_local $$13) - (get_local $$cnt$1) + (set_local $$iov_len50 + (i32.add + (get_local $$iov$1) + (i32.const 4) + ) ) - ) - (i32.store - (get_local $$iov$1) - (get_local $$add$ptr46) - ) - (set_local $$iov_len50 - (i32.add + (set_local $$sub51 + (i32.sub + (get_local $$14) + (get_local $$cnt$1) + ) + ) + (i32.store + (get_local $$iov_len50) + (get_local $$sub51) + ) + (set_local $$iov$0 (get_local $$iov$1) - (i32.const 4) ) - ) - (set_local $$sub51 - (i32.sub - (get_local $$14) - (get_local $$cnt$1) + (set_local $$iovcnt$0 + (get_local $$iovcnt$1) ) + (set_local $$rem$0 + (get_local $$sub26) + ) + (br $while-in$1) ) - (i32.store - (get_local $$iov_len50) - (get_local $$sub51) - ) - (set_local $$iov$0 - (get_local $$iov$1) - ) - (set_local $$iovcnt$0 - (get_local $$iovcnt$1) - ) - (set_local $$rem$0 - (get_local $$sub26) - ) - (br $while-in$1) ) (if (i32.eq @@ -2407,21 +2417,23 @@ (i32.const 40) ) ) - (loop $do-out$0 $do-in$1 - (i32.store - (get_local $dest) - (i32.const 0) - ) - (set_local $dest - (i32.add + (loop $do-in$1 + (block $do-out$0 + (i32.store (get_local $dest) - (i32.const 4) + (i32.const 0) ) - ) - (br_if $do-in$1 - (i32.lt_s - (get_local $dest) - (get_local $stop) + (set_local $dest + (i32.add + (get_local $dest) + (i32.const 4) + ) + ) + (br_if $do-in$1 + (i32.lt_s + (get_local $dest) + (get_local $stop) + ) ) ) ) @@ -2987,73 +2999,75 @@ (set_local $$i$0 (get_local $$l) ) - (loop $while-out$2 $while-in$3 - (set_local $$tobool9 - (i32.eq - (get_local $$i$0) - (i32.const 0) - ) - ) - (if - (get_local $$tobool9) - (block - (set_local $$9 - (get_local $$4) - ) - (set_local $$i$1 + (loop $while-in$3 + (block $while-out$2 + (set_local $$tobool9 + (i32.eq + (get_local $$i$0) (i32.const 0) ) - (set_local $$l$addr$0 - (get_local $$l) - ) - (set_local $$s$addr$0 - (get_local $$s) + ) + (if + (get_local $$tobool9) + (block + (set_local $$9 + (get_local $$4) + ) + (set_local $$i$1 + (i32.const 0) + ) + (set_local $$l$addr$0 + (get_local $$l) + ) + (set_local $$s$addr$0 + (get_local $$s) + ) + (br $label$break$L10) ) - (br $label$break$L10) ) - ) - (set_local $$sub - (i32.add - (get_local $$i$0) - (i32.const -1) + (set_local $$sub + (i32.add + (get_local $$i$0) + (i32.const -1) + ) ) - ) - (set_local $$arrayidx - (i32.add - (get_local $$s) - (get_local $$sub) + (set_local $$arrayidx + (i32.add + (get_local $$s) + (get_local $$sub) + ) ) - ) - (set_local $$7 - (i32.load8_s - (get_local $$arrayidx) + (set_local $$7 + (i32.load8_s + (get_local $$arrayidx) + ) ) - ) - (set_local $$cmp11 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$7) + (set_local $$cmp11 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$7) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) + (i32.const 10) ) - (i32.const 10) ) - ) - (if - (get_local $$cmp11) - (block - (set_local $$i$0$lcssa36 - (get_local $$i$0) + (if + (get_local $$cmp11) + (block + (set_local $$i$0$lcssa36 + (get_local $$i$0) + ) + (br $while-out$2) + ) + (set_local $$i$0 + (get_local $$sub) ) - (br $while-out$2) - ) - (set_local $$i$0 - (get_local $$sub) ) + (br $while-in$3) ) - (br $while-in$3) ) (set_local $$write15 (i32.add @@ -3963,111 +3977,113 @@ (set_local $$s$044 (get_local $$src) ) - (loop $while-out$1 $while-in$2 - (set_local $$2 - (i32.load8_s - (get_local $$s$044) + (loop $while-in$2 + (block $while-out$1 + (set_local $$2 + (i32.load8_s + (get_local $$s$044) + ) ) - ) - (set_local $$cmp - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$2) + (set_local $$cmp + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$2) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) - ) - (i32.shr_s - (i32.shl - (get_local $$1) + (i32.shr_s + (i32.shl + (get_local $$1) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) ) ) - ) - (if - (get_local $$cmp) - (block - (set_local $$n$addr$0$lcssa61 - (get_local $$n$addr$043) + (if + (get_local $$cmp) + (block + (set_local $$n$addr$0$lcssa61 + (get_local $$n$addr$043) + ) + (set_local $$s$0$lcssa60 + (get_local $$s$044) + ) + (set_local $label + (i32.const 6) + ) + (br $label$break$L1) ) - (set_local $$s$0$lcssa60 + ) + (set_local $$incdec$ptr + (i32.add (get_local $$s$044) + (i32.const 1) ) - (set_local $label - (i32.const 6) - ) - (br $label$break$L1) ) - ) - (set_local $$incdec$ptr - (i32.add - (get_local $$s$044) - (i32.const 1) + (set_local $$dec + (i32.add + (get_local $$n$addr$043) + (i32.const -1) + ) ) - ) - (set_local $$dec - (i32.add - (get_local $$n$addr$043) - (i32.const -1) + (set_local $$3 + (get_local $$incdec$ptr) ) - ) - (set_local $$3 - (get_local $$incdec$ptr) - ) - (set_local $$and - (i32.and - (get_local $$3) - (i32.const 3) + (set_local $$and + (i32.and + (get_local $$3) + (i32.const 3) + ) ) - ) - (set_local $$tobool - (i32.ne - (get_local $$and) - (i32.const 0) + (set_local $$tobool + (i32.ne + (get_local $$and) + (i32.const 0) + ) ) - ) - (set_local $$tobool2 - (i32.ne - (get_local $$dec) - (i32.const 0) - ) - ) - (set_local $$or$cond - (i32.and - (get_local $$tobool2) - (get_local $$tobool) - ) - ) - (if - (get_local $$or$cond) - (block - (set_local $$n$addr$043 + (set_local $$tobool2 + (i32.ne (get_local $$dec) - ) - (set_local $$s$044 - (get_local $$incdec$ptr) + (i32.const 0) ) ) - (block - (set_local $$n$addr$0$lcssa - (get_local $$dec) - ) - (set_local $$s$0$lcssa - (get_local $$incdec$ptr) - ) - (set_local $$tobool2$lcssa + (set_local $$or$cond + (i32.and (get_local $$tobool2) + (get_local $$tobool) ) - (set_local $label - (i32.const 5) + ) + (if + (get_local $$or$cond) + (block + (set_local $$n$addr$043 + (get_local $$dec) + ) + (set_local $$s$044 + (get_local $$incdec$ptr) + ) + ) + (block + (set_local $$n$addr$0$lcssa + (get_local $$dec) + ) + (set_local $$s$0$lcssa + (get_local $$incdec$ptr) + ) + (set_local $$tobool2$lcssa + (get_local $$tobool2) + ) + (set_local $label + (i32.const 5) + ) + (br $while-out$1) ) - (br $while-out$1) ) + (br $while-in$2) ) - (br $while-in$2) ) ) (block @@ -4183,104 +4199,106 @@ (set_local $$w$034 (get_local $$s$0$lcssa60) ) - (loop $while-out$5 $while-in$6 - (set_local $$6 - (i32.load - (get_local $$w$034) - ) - ) - (set_local $$xor - (i32.xor - (get_local $$6) - (get_local $$mul) + (loop $while-in$6 + (block $while-out$5 + (set_local $$6 + (i32.load + (get_local $$w$034) + ) ) - ) - (set_local $$sub - (i32.add - (get_local $$xor) - (i32.const -16843009) + (set_local $$xor + (i32.xor + (get_local $$6) + (get_local $$mul) + ) ) - ) - (set_local $$neg - (i32.and - (get_local $$xor) - (i32.const -2139062144) + (set_local $$sub + (i32.add + (get_local $$xor) + (i32.const -16843009) + ) ) - ) - (set_local $$and15 - (i32.xor - (get_local $$neg) - (i32.const -2139062144) + (set_local $$neg + (i32.and + (get_local $$xor) + (i32.const -2139062144) + ) ) - ) - (set_local $$and16 - (i32.and - (get_local $$and15) - (get_local $$sub) + (set_local $$and15 + (i32.xor + (get_local $$neg) + (i32.const -2139062144) + ) ) - ) - (set_local $$lnot - (i32.eq - (get_local $$and16) - (i32.const 0) + (set_local $$and16 + (i32.and + (get_local $$and15) + (get_local $$sub) + ) ) - ) - (if - (i32.eqz - (get_local $$lnot) + (set_local $$lnot + (i32.eq + (get_local $$and16) + (i32.const 0) + ) ) - (block - (set_local $$n$addr$133$lcssa - (get_local $$n$addr$133) + (if + (i32.eqz + (get_local $$lnot) ) - (set_local $$w$034$lcssa - (get_local $$w$034) + (block + (set_local $$n$addr$133$lcssa + (get_local $$n$addr$133) + ) + (set_local $$w$034$lcssa + (get_local $$w$034) + ) + (br $while-out$5) ) - (br $while-out$5) - ) - ) - (set_local $$incdec$ptr21 - (i32.add - (get_local $$w$034) - (i32.const 4) - ) - ) - (set_local $$sub22 - (i32.add - (get_local $$n$addr$133) - (i32.const -4) - ) - ) - (set_local $$cmp11 - (i32.gt_u - (get_local $$sub22) - (i32.const 3) ) - ) - (if - (get_local $$cmp11) - (block - (set_local $$n$addr$133 - (get_local $$sub22) + (set_local $$incdec$ptr21 + (i32.add + (get_local $$w$034) + (i32.const 4) ) - (set_local $$w$034 - (get_local $$incdec$ptr21) + ) + (set_local $$sub22 + (i32.add + (get_local $$n$addr$133) + (i32.const -4) ) ) - (block - (set_local $$n$addr$1$lcssa + (set_local $$cmp11 + (i32.gt_u (get_local $$sub22) + (i32.const 3) ) - (set_local $$w$0$lcssa - (get_local $$incdec$ptr21) + ) + (if + (get_local $$cmp11) + (block + (set_local $$n$addr$133 + (get_local $$sub22) + ) + (set_local $$w$034 + (get_local $$incdec$ptr21) + ) ) - (set_local $label - (i32.const 11) + (block + (set_local $$n$addr$1$lcssa + (get_local $$sub22) + ) + (set_local $$w$0$lcssa + (get_local $$incdec$ptr21) + ) + (set_local $label + (i32.const 11) + ) + (br $label$break$L11) ) - (br $label$break$L11) ) + (br $while-in$6) ) - (br $while-in$6) ) (set_local $$n$addr$227 (get_local $$n$addr$133$lcssa) @@ -4336,81 +4354,83 @@ ) ) ) - (loop $while-out$7 $while-in$8 - (set_local $$7 - (i32.load8_s - (get_local $$s$128) + (loop $while-in$8 + (block $while-out$7 + (set_local $$7 + (i32.load8_s + (get_local $$s$128) + ) ) - ) - (set_local $$cmp28 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$7) + (set_local $$cmp28 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$7) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) - ) - (i32.shr_s - (i32.shl - (get_local $$5) + (i32.shr_s + (i32.shl + (get_local $$5) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) ) ) - ) - (if - (get_local $$cmp28) - (block - (set_local $$n$addr$3 - (get_local $$n$addr$227) + (if + (get_local $$cmp28) + (block + (set_local $$n$addr$3 + (get_local $$n$addr$227) + ) + (set_local $$s$2 + (get_local $$s$128) + ) + (br $label$break$L8) ) - (set_local $$s$2 + ) + (set_local $$incdec$ptr33 + (i32.add (get_local $$s$128) + (i32.const 1) ) - (br $label$break$L8) - ) - ) - (set_local $$incdec$ptr33 - (i32.add - (get_local $$s$128) - (i32.const 1) - ) - ) - (set_local $$dec34 - (i32.add - (get_local $$n$addr$227) - (i32.const -1) ) - ) - (set_local $$tobool25 - (i32.eq - (get_local $$dec34) - (i32.const 0) + (set_local $$dec34 + (i32.add + (get_local $$n$addr$227) + (i32.const -1) + ) ) - ) - (if - (get_local $$tobool25) - (block - (set_local $$n$addr$3 + (set_local $$tobool25 + (i32.eq + (get_local $$dec34) (i32.const 0) ) - (set_local $$s$2 - (get_local $$incdec$ptr33) - ) - (br $while-out$7) ) - (block - (set_local $$n$addr$227 - (get_local $$dec34) + (if + (get_local $$tobool25) + (block + (set_local $$n$addr$3 + (i32.const 0) + ) + (set_local $$s$2 + (get_local $$incdec$ptr33) + ) + (br $while-out$7) ) - (set_local $$s$128 - (get_local $$incdec$ptr33) + (block + (set_local $$n$addr$227 + (get_local $$dec34) + ) + (set_local $$s$128 + (get_local $$incdec$ptr33) + ) ) ) + (br $while-in$8) ) - (br $while-in$8) ) ) ) @@ -5966,1194 +5986,1187 @@ (set_local $$l10n$0 (i32.const 0) ) - (loop $label$break$L1 $label$continue$L1 - (set_local $$cmp - (i32.gt_s - (get_local $$cnt$0) - (i32.const -1) + (loop $label$continue$L1 + (block $label$break$L1 + (set_local $$cmp + (i32.gt_s + (get_local $$cnt$0) + (i32.const -1) + ) ) - ) - (block $do-once$0 - (if - (get_local $$cmp) - (block - (set_local $$sub - (i32.sub - (i32.const 2147483647) - (get_local $$cnt$0) - ) - ) - (set_local $$cmp1 - (i32.gt_s - (get_local $$l$0) - (get_local $$sub) - ) - ) - (if - (get_local $$cmp1) - (block - (set_local $$call - (call $___errno_location) - ) - (i32.store - (get_local $$call) - (i32.const 75) + (block $do-once$0 + (if + (get_local $$cmp) + (block + (set_local $$sub + (i32.sub + (i32.const 2147483647) + (get_local $$cnt$0) ) - (set_local $$cnt$1 - (i32.const -1) + ) + (set_local $$cmp1 + (i32.gt_s + (get_local $$l$0) + (get_local $$sub) ) - (br $do-once$0) ) - (block - (set_local $$add - (i32.add - (get_local $$l$0) - (get_local $$cnt$0) + (if + (get_local $$cmp1) + (block + (set_local $$call + (call $___errno_location) + ) + (i32.store + (get_local $$call) + (i32.const 75) + ) + (set_local $$cnt$1 + (i32.const -1) ) + (br $do-once$0) ) - (set_local $$cnt$1 - (get_local $$add) + (block + (set_local $$add + (i32.add + (get_local $$l$0) + (get_local $$cnt$0) + ) + ) + (set_local $$cnt$1 + (get_local $$add) + ) + (br $do-once$0) ) - (br $do-once$0) ) ) + (set_local $$cnt$1 + (get_local $$cnt$0) + ) ) - (set_local $$cnt$1 - (get_local $$cnt$0) + ) + (set_local $$0 + (i32.load8_s + (get_local $$incdec$ptr169275) ) ) - ) - (set_local $$0 - (i32.load8_s - (get_local $$incdec$ptr169275) - ) - ) - (set_local $$tobool - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$0) + (set_local $$tobool + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$0) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) + (i32.const 0) ) - (i32.const 0) ) - ) - (if - (get_local $$tobool) - (block - (set_local $$cnt$1$lcssa - (get_local $$cnt$1) - ) - (set_local $$l10n$0$lcssa - (get_local $$l10n$0) + (if + (get_local $$tobool) + (block + (set_local $$cnt$1$lcssa + (get_local $$cnt$1) + ) + (set_local $$l10n$0$lcssa + (get_local $$l10n$0) + ) + (set_local $label + (i32.const 242) + ) + (br $label$break$L1) ) - (set_local $label - (i32.const 242) + (block + (set_local $$1 + (get_local $$0) + ) + (set_local $$incdec$ptr169274 + (get_local $$incdec$ptr169275) + ) ) - (br $label$break$L1) ) - (block - (set_local $$1 - (get_local $$0) - ) - (set_local $$incdec$ptr169274 - (get_local $$incdec$ptr169275) + (loop $label$continue$L9 + (block $label$break$L9 + (block $switch$2 + (block $switch-default$5 + (block $switch-default$5 + (block $switch-case$4 + (block $switch-case$3 + (br_table $switch-case$4 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-case$3 $switch-default$5 + (i32.sub + (i32.shr_s + (i32.shl + (get_local $$1) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const 0) + ) + ) + ) + (block + (set_local $$incdec$ptr169276301 + (get_local $$incdec$ptr169274) + ) + (set_local $$z$0302 + (get_local $$incdec$ptr169274) + ) + (set_local $label + (i32.const 9) + ) + (br $label$break$L9) + (br $switch$2) + ) + ) + (block + (set_local $$incdec$ptr169276$lcssa + (get_local $$incdec$ptr169274) + ) + (set_local $$z$0$lcssa + (get_local $$incdec$ptr169274) + ) + (br $label$break$L9) + (br $switch$2) + ) + ) + (nop) + ) + ) + (set_local $$incdec$ptr + (i32.add + (get_local $$incdec$ptr169274) + (i32.const 1) + ) + ) + (set_local $$$pre + (i32.load8_s + (get_local $$incdec$ptr) + ) + ) + (set_local $$1 + (get_local $$$pre) + ) + (set_local $$incdec$ptr169274 + (get_local $$incdec$ptr) + ) + (br $label$continue$L9) ) ) - ) - (loop $label$break$L9 $label$continue$L9 - (block $switch$2 - (block $switch-default$5 - (block $switch-default$5 - (block $switch-case$4 - (block $switch-case$3 - (br_table $switch-case$4 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-case$3 $switch-default$5 - (i32.sub - (i32.shr_s - (i32.shl - (get_local $$1) - (i32.const 24) - ) + (block $label$break$L12 + (if + (i32.eq + (get_local $label) + (i32.const 9) + ) + (loop $while-in$8 + (block $while-out$7 + (set_local $label + (i32.const 0) + ) + (set_local $$arrayidx16 + (i32.add + (get_local $$incdec$ptr169276301) + (i32.const 1) + ) + ) + (set_local $$2 + (i32.load8_s + (get_local $$arrayidx16) + ) + ) + (set_local $$cmp18 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$2) (i32.const 24) ) - (i32.const 0) + (i32.const 24) ) + (i32.const 37) ) ) - (block - (set_local $$incdec$ptr169276301 - (get_local $$incdec$ptr169274) + (if + (i32.eqz + (get_local $$cmp18) ) - (set_local $$z$0302 - (get_local $$incdec$ptr169274) + (block + (set_local $$incdec$ptr169276$lcssa + (get_local $$incdec$ptr169276301) + ) + (set_local $$z$0$lcssa + (get_local $$z$0302) + ) + (br $label$break$L12) ) - (set_local $label - (i32.const 9) + ) + (set_local $$incdec$ptr23 + (i32.add + (get_local $$z$0302) + (i32.const 1) ) - (br $label$break$L9) - (br $switch$2) ) - ) - (block - (set_local $$incdec$ptr169276$lcssa - (get_local $$incdec$ptr169274) + (set_local $$add$ptr + (i32.add + (get_local $$incdec$ptr169276301) + (i32.const 2) + ) + ) + (set_local $$3 + (i32.load8_s + (get_local $$add$ptr) + ) + ) + (set_local $$cmp13 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$3) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const 37) + ) ) - (set_local $$z$0$lcssa - (get_local $$incdec$ptr169274) + (if + (get_local $$cmp13) + (block + (set_local $$incdec$ptr169276301 + (get_local $$add$ptr) + ) + (set_local $$z$0302 + (get_local $$incdec$ptr23) + ) + (set_local $label + (i32.const 9) + ) + ) + (block + (set_local $$incdec$ptr169276$lcssa + (get_local $$add$ptr) + ) + (set_local $$z$0$lcssa + (get_local $$incdec$ptr23) + ) + (br $while-out$7) + ) ) - (br $label$break$L9) - (br $switch$2) + (br $while-in$8) + ) + ) + ) + ) + (set_local $$sub$ptr$lhs$cast + (get_local $$z$0$lcssa) + ) + (set_local $$sub$ptr$rhs$cast + (get_local $$incdec$ptr169275) + ) + (set_local $$sub$ptr$sub + (i32.sub + (get_local $$sub$ptr$lhs$cast) + (get_local $$sub$ptr$rhs$cast) + ) + ) + (if + (get_local $$tobool25) + (block + (set_local $$4 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i + (i32.and + (get_local $$4) + (i32.const 32) + ) + ) + (set_local $$tobool$i + (i32.eq + (get_local $$and$i) + (i32.const 0) + ) + ) + (if + (get_local $$tobool$i) + (call $___fwritex + (get_local $$incdec$ptr169275) + (get_local $$sub$ptr$sub) + (get_local $$f) ) ) - (nop) ) ) - (set_local $$incdec$ptr + (set_local $$tobool28 + (i32.eq + (get_local $$z$0$lcssa) + (get_local $$incdec$ptr169275) + ) + ) + (if + (i32.eqz + (get_local $$tobool28) + ) + (block + (set_local $$l10n$0$phi + (get_local $$l10n$0) + ) + (set_local $$cnt$0 + (get_local $$cnt$1) + ) + (set_local $$incdec$ptr169275 + (get_local $$incdec$ptr169276$lcssa) + ) + (set_local $$l$0 + (get_local $$sub$ptr$sub) + ) + (set_local $$l10n$0 + (get_local $$l10n$0$phi) + ) + (br $label$continue$L1) + ) + ) + (set_local $$arrayidx31 (i32.add - (get_local $$incdec$ptr169274) + (get_local $$incdec$ptr169276$lcssa) (i32.const 1) ) ) - (set_local $$$pre + (set_local $$5 (i32.load8_s - (get_local $$incdec$ptr) + (get_local $$arrayidx31) ) ) - (set_local $$1 - (get_local $$$pre) + (set_local $$conv32 + (i32.shr_s + (i32.shl + (get_local $$5) + (i32.const 24) + ) + (i32.const 24) + ) ) - (set_local $$incdec$ptr169274 - (get_local $$incdec$ptr) + (set_local $$isdigittmp + (i32.add + (get_local $$conv32) + (i32.const -48) + ) ) - (br $label$continue$L9) - ) - (block $label$break$L12 - (if - (i32.eq - (get_local $label) - (i32.const 9) + (set_local $$isdigit + (i32.lt_u + (get_local $$isdigittmp) + (i32.const 10) ) - (loop $while-out$7 $while-in$8 - (set_local $label - (i32.const 0) - ) - (set_local $$arrayidx16 + ) + (if + (get_local $$isdigit) + (block + (set_local $$arrayidx35 (i32.add - (get_local $$incdec$ptr169276301) - (i32.const 1) + (get_local $$incdec$ptr169276$lcssa) + (i32.const 2) ) ) - (set_local $$2 + (set_local $$6 (i32.load8_s - (get_local $$arrayidx16) + (get_local $$arrayidx35) ) ) - (set_local $$cmp18 + (set_local $$cmp37 (i32.eq (i32.shr_s (i32.shl - (get_local $$2) + (get_local $$6) (i32.const 24) ) (i32.const 24) ) - (i32.const 37) + (i32.const 36) ) ) - (if - (i32.eqz - (get_local $$cmp18) + (set_local $$add$ptr43 + (i32.add + (get_local $$incdec$ptr169276$lcssa) + (i32.const 3) ) - (block - (set_local $$incdec$ptr169276$lcssa - (get_local $$incdec$ptr169276301) - ) - (set_local $$z$0$lcssa - (get_local $$z$0302) - ) - (br $label$break$L12) + ) + (set_local $$add$ptr43$arrayidx31 + (if + (get_local $$cmp37) + (get_local $$add$ptr43) + (get_local $$arrayidx31) ) ) - (set_local $$incdec$ptr23 - (i32.add - (get_local $$z$0302) + (set_local $$$l10n$0 + (if + (get_local $$cmp37) (i32.const 1) + (get_local $$l10n$0) ) ) - (set_local $$add$ptr - (i32.add - (get_local $$incdec$ptr169276301) - (i32.const 2) + (set_local $$isdigittmp$ + (if + (get_local $$cmp37) + (get_local $$isdigittmp) + (i32.const -1) ) ) - (set_local $$3 + (set_local $$$pre357 (i32.load8_s - (get_local $$add$ptr) + (get_local $$add$ptr43$arrayidx31) ) ) - (set_local $$cmp13 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$3) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const 37) - ) - ) - (if - (get_local $$cmp13) - (block - (set_local $$incdec$ptr169276301 - (get_local $$add$ptr) - ) - (set_local $$z$0302 - (get_local $$incdec$ptr23) - ) - (set_local $label - (i32.const 9) - ) - ) - (block - (set_local $$incdec$ptr169276$lcssa - (get_local $$add$ptr) - ) - (set_local $$z$0$lcssa - (get_local $$incdec$ptr23) - ) - (br $while-out$7) - ) - ) - (br $while-in$8) - ) - ) - ) - (set_local $$sub$ptr$lhs$cast - (get_local $$z$0$lcssa) - ) - (set_local $$sub$ptr$rhs$cast - (get_local $$incdec$ptr169275) - ) - (set_local $$sub$ptr$sub - (i32.sub - (get_local $$sub$ptr$lhs$cast) - (get_local $$sub$ptr$rhs$cast) - ) - ) - (if - (get_local $$tobool25) - (block - (set_local $$4 - (i32.load - (get_local $$f) - ) - ) - (set_local $$and$i - (i32.and - (get_local $$4) - (i32.const 32) - ) - ) - (set_local $$tobool$i - (i32.eq - (get_local $$and$i) - (i32.const 0) - ) - ) - (if - (get_local $$tobool$i) - (call $___fwritex - (get_local $$incdec$ptr169275) - (get_local $$sub$ptr$sub) - (get_local $$f) + (set_local $$7 + (get_local $$$pre357) ) - ) - ) - ) - (set_local $$tobool28 - (i32.eq - (get_local $$z$0$lcssa) - (get_local $$incdec$ptr169275) - ) - ) - (if - (i32.eqz - (get_local $$tobool28) - ) - (block - (set_local $$l10n$0$phi - (get_local $$l10n$0) - ) - (set_local $$cnt$0 - (get_local $$cnt$1) - ) - (set_local $$incdec$ptr169275 - (get_local $$incdec$ptr169276$lcssa) - ) - (set_local $$l$0 - (get_local $$sub$ptr$sub) - ) - (set_local $$l10n$0 - (get_local $$l10n$0$phi) - ) - (br $label$continue$L1) - ) - ) - (set_local $$arrayidx31 - (i32.add - (get_local $$incdec$ptr169276$lcssa) - (i32.const 1) - ) - ) - (set_local $$5 - (i32.load8_s - (get_local $$arrayidx31) - ) - ) - (set_local $$conv32 - (i32.shr_s - (i32.shl - (get_local $$5) - (i32.const 24) - ) - (i32.const 24) - ) - ) - (set_local $$isdigittmp - (i32.add - (get_local $$conv32) - (i32.const -48) - ) - ) - (set_local $$isdigit - (i32.lt_u - (get_local $$isdigittmp) - (i32.const 10) - ) - ) - (if - (get_local $$isdigit) - (block - (set_local $$arrayidx35 - (i32.add - (get_local $$incdec$ptr169276$lcssa) - (i32.const 2) + (set_local $$argpos$0 + (get_local $$isdigittmp$) ) - ) - (set_local $$6 - (i32.load8_s - (get_local $$arrayidx35) + (set_local $$l10n$1 + (get_local $$$l10n$0) ) - ) - (set_local $$cmp37 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$6) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const 36) + (set_local $$storemerge + (get_local $$add$ptr43$arrayidx31) ) ) - (set_local $$add$ptr43 - (i32.add - (get_local $$incdec$ptr169276$lcssa) - (i32.const 3) + (block + (set_local $$7 + (get_local $$5) ) - ) - (set_local $$add$ptr43$arrayidx31 - (if - (get_local $$cmp37) - (get_local $$add$ptr43) - (get_local $$arrayidx31) + (set_local $$argpos$0 + (i32.const -1) ) - ) - (set_local $$$l10n$0 - (if - (get_local $$cmp37) - (i32.const 1) + (set_local $$l10n$1 (get_local $$l10n$0) ) - ) - (set_local $$isdigittmp$ - (if - (get_local $$cmp37) - (get_local $$isdigittmp) - (i32.const -1) + (set_local $$storemerge + (get_local $$arrayidx31) ) ) - (set_local $$$pre357 - (i32.load8_s - (get_local $$add$ptr43$arrayidx31) + ) + (set_local $$conv48$307 + (i32.shr_s + (i32.shl + (get_local $$7) + (i32.const 24) ) - ) - (set_local $$7 - (get_local $$$pre357) - ) - (set_local $$argpos$0 - (get_local $$isdigittmp$) - ) - (set_local $$l10n$1 - (get_local $$$l10n$0) - ) - (set_local $$storemerge - (get_local $$add$ptr43$arrayidx31) + (i32.const 24) ) ) - (block - (set_local $$7 - (get_local $$5) - ) - (set_local $$argpos$0 - (i32.const -1) - ) - (set_local $$l10n$1 - (get_local $$l10n$0) - ) - (set_local $$storemerge - (get_local $$arrayidx31) + (set_local $$8 + (i32.and + (get_local $$conv48$307) + (i32.const -32) ) ) - ) - (set_local $$conv48$307 - (i32.shr_s - (i32.shl - (get_local $$7) - (i32.const 24) + (set_local $$cmp50$308 + (i32.eq + (get_local $$8) + (i32.const 32) ) - (i32.const 24) - ) - ) - (set_local $$8 - (i32.and - (get_local $$conv48$307) - (i32.const -32) - ) - ) - (set_local $$cmp50$308 - (i32.eq - (get_local $$8) - (i32.const 32) ) - ) - (block $label$break$L25 - (if - (get_local $$cmp50$308) - (block - (set_local $$9 - (get_local $$7) - ) - (set_local $$conv48311 - (get_local $$conv48$307) - ) - (set_local $$fl$0310 - (i32.const 0) - ) - (set_local $$storemerge$186309 - (get_local $$storemerge) - ) - (loop $while-out$10 $while-in$11 - (set_local $$sub54 - (i32.add - (get_local $$conv48311) - (i32.const -32) - ) + (block $label$break$L25 + (if + (get_local $$cmp50$308) + (block + (set_local $$9 + (get_local $$7) ) - (set_local $$shl - (i32.shl - (i32.const 1) - (get_local $$sub54) - ) + (set_local $$conv48311 + (get_local $$conv48$307) ) - (set_local $$and - (i32.and - (get_local $$shl) - (i32.const 75913) - ) + (set_local $$fl$0310 + (i32.const 0) ) - (set_local $$tobool55 - (i32.eq - (get_local $$and) - (i32.const 0) - ) + (set_local $$storemerge$186309 + (get_local $$storemerge) ) - (if - (get_local $$tobool55) - (block - (set_local $$12 - (get_local $$9) + (loop $while-in$11 + (block $while-out$10 + (set_local $$sub54 + (i32.add + (get_local $$conv48311) + (i32.const -32) + ) ) - (set_local $$fl$0284 - (get_local $$fl$0310) + (set_local $$shl + (i32.shl + (i32.const 1) + (get_local $$sub54) + ) ) - (set_local $$storemerge$186282 - (get_local $$storemerge$186309) + (set_local $$and + (i32.and + (get_local $$shl) + (i32.const 75913) + ) ) - (br $label$break$L25) - ) - ) - (set_local $$conv58 - (i32.shr_s - (i32.shl - (get_local $$9) - (i32.const 24) + (set_local $$tobool55 + (i32.eq + (get_local $$and) + (i32.const 0) + ) ) - (i32.const 24) - ) - ) - (set_local $$sub59 - (i32.add - (get_local $$conv58) - (i32.const -32) - ) - ) - (set_local $$shl60 - (i32.shl - (i32.const 1) - (get_local $$sub59) - ) - ) - (set_local $$or - (i32.or - (get_local $$shl60) - (get_local $$fl$0310) - ) - ) - (set_local $$incdec$ptr62 - (i32.add - (get_local $$storemerge$186309) - (i32.const 1) - ) - ) - (set_local $$10 - (i32.load8_s - (get_local $$incdec$ptr62) - ) - ) - (set_local $$conv48 - (i32.shr_s - (i32.shl - (get_local $$10) - (i32.const 24) + (if + (get_local $$tobool55) + (block + (set_local $$12 + (get_local $$9) + ) + (set_local $$fl$0284 + (get_local $$fl$0310) + ) + (set_local $$storemerge$186282 + (get_local $$storemerge$186309) + ) + (br $label$break$L25) + ) ) - (i32.const 24) - ) - ) - (set_local $$11 - (i32.and - (get_local $$conv48) - (i32.const -32) - ) - ) - (set_local $$cmp50 - (i32.eq - (get_local $$11) - (i32.const 32) - ) - ) - (if - (get_local $$cmp50) - (block - (set_local $$9 - (get_local $$10) + (set_local $$conv58 + (i32.shr_s + (i32.shl + (get_local $$9) + (i32.const 24) + ) + (i32.const 24) + ) ) - (set_local $$conv48311 - (get_local $$conv48) + (set_local $$sub59 + (i32.add + (get_local $$conv58) + (i32.const -32) + ) ) - (set_local $$fl$0310 - (get_local $$or) + (set_local $$shl60 + (i32.shl + (i32.const 1) + (get_local $$sub59) + ) ) - (set_local $$storemerge$186309 - (get_local $$incdec$ptr62) + (set_local $$or + (i32.or + (get_local $$shl60) + (get_local $$fl$0310) + ) ) - ) - (block - (set_local $$12 - (get_local $$10) + (set_local $$incdec$ptr62 + (i32.add + (get_local $$storemerge$186309) + (i32.const 1) + ) + ) + (set_local $$10 + (i32.load8_s + (get_local $$incdec$ptr62) + ) + ) + (set_local $$conv48 + (i32.shr_s + (i32.shl + (get_local $$10) + (i32.const 24) + ) + (i32.const 24) + ) ) - (set_local $$fl$0284 - (get_local $$or) + (set_local $$11 + (i32.and + (get_local $$conv48) + (i32.const -32) + ) + ) + (set_local $$cmp50 + (i32.eq + (get_local $$11) + (i32.const 32) + ) ) - (set_local $$storemerge$186282 - (get_local $$incdec$ptr62) + (if + (get_local $$cmp50) + (block + (set_local $$9 + (get_local $$10) + ) + (set_local $$conv48311 + (get_local $$conv48) + ) + (set_local $$fl$0310 + (get_local $$or) + ) + (set_local $$storemerge$186309 + (get_local $$incdec$ptr62) + ) + ) + (block + (set_local $$12 + (get_local $$10) + ) + (set_local $$fl$0284 + (get_local $$or) + ) + (set_local $$storemerge$186282 + (get_local $$incdec$ptr62) + ) + (br $while-out$10) + ) ) - (br $while-out$10) + (br $while-in$11) ) ) - (br $while-in$11) - ) - ) - (block - (set_local $$12 - (get_local $$7) - ) - (set_local $$fl$0284 - (i32.const 0) ) - (set_local $$storemerge$186282 - (get_local $$storemerge) + (block + (set_local $$12 + (get_local $$7) + ) + (set_local $$fl$0284 + (i32.const 0) + ) + (set_local $$storemerge$186282 + (get_local $$storemerge) + ) ) ) ) - ) - (set_local $$cmp65 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$12) + (set_local $$cmp65 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$12) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) + (i32.const 42) ) - (i32.const 42) ) - ) - (block $do-once$12 - (if - (get_local $$cmp65) - (block - (set_local $$arrayidx68 - (i32.add - (get_local $$storemerge$186282) - (i32.const 1) + (block $do-once$12 + (if + (get_local $$cmp65) + (block + (set_local $$arrayidx68 + (i32.add + (get_local $$storemerge$186282) + (i32.const 1) + ) ) - ) - (set_local $$13 - (i32.load8_s - (get_local $$arrayidx68) + (set_local $$13 + (i32.load8_s + (get_local $$arrayidx68) + ) ) - ) - (set_local $$conv69 - (i32.shr_s - (i32.shl - (get_local $$13) + (set_local $$conv69 + (i32.shr_s + (i32.shl + (get_local $$13) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) ) - ) - (set_local $$isdigittmp189 - (i32.add - (get_local $$conv69) - (i32.const -48) + (set_local $$isdigittmp189 + (i32.add + (get_local $$conv69) + (i32.const -48) + ) ) - ) - (set_local $$isdigit190 - (i32.lt_u - (get_local $$isdigittmp189) - (i32.const 10) + (set_local $$isdigit190 + (i32.lt_u + (get_local $$isdigittmp189) + (i32.const 10) + ) ) - ) - (if - (get_local $$isdigit190) - (block - (set_local $$arrayidx73 - (i32.add - (get_local $$storemerge$186282) - (i32.const 2) + (if + (get_local $$isdigit190) + (block + (set_local $$arrayidx73 + (i32.add + (get_local $$storemerge$186282) + (i32.const 2) + ) ) - ) - (set_local $$14 - (i32.load8_s - (get_local $$arrayidx73) + (set_local $$14 + (i32.load8_s + (get_local $$arrayidx73) + ) ) - ) - (set_local $$cmp75 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$14) + (set_local $$cmp75 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$14) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) + (i32.const 36) ) - (i32.const 36) ) - ) - (if - (get_local $$cmp75) - (block - (set_local $$arrayidx81 - (i32.add - (get_local $$nl_type) - (i32.shl - (get_local $$isdigittmp189) - (i32.const 2) + (if + (get_local $$cmp75) + (block + (set_local $$arrayidx81 + (i32.add + (get_local $$nl_type) + (i32.shl + (get_local $$isdigittmp189) + (i32.const 2) + ) ) ) - ) - (i32.store - (get_local $$arrayidx81) - (i32.const 10) - ) - (set_local $$15 - (i32.load8_s - (get_local $$arrayidx68) + (i32.store + (get_local $$arrayidx81) + (i32.const 10) ) - ) - (set_local $$conv83 - (i32.shr_s - (i32.shl - (get_local $$15) + (set_local $$15 + (i32.load8_s + (get_local $$arrayidx68) + ) + ) + (set_local $$conv83 + (i32.shr_s + (i32.shl + (get_local $$15) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) ) - ) - (set_local $$sub84 - (i32.add - (get_local $$conv83) - (i32.const -48) + (set_local $$sub84 + (i32.add + (get_local $$conv83) + (i32.const -48) + ) ) - ) - (set_local $$i86 - (i32.add - (get_local $$nl_arg) - (i32.shl - (get_local $$sub84) - (i32.const 3) + (set_local $$i86 + (i32.add + (get_local $$nl_arg) + (i32.shl + (get_local $$sub84) + (i32.const 3) + ) ) ) - ) - (set_local $$16 - (get_local $$i86) - ) - (set_local $$17 - (get_local $$16) - ) - (set_local $$18 - (i32.load - (get_local $$17) + (set_local $$16 + (get_local $$i86) ) - ) - (set_local $$19 - (i32.add + (set_local $$17 (get_local $$16) - (i32.const 4) ) - ) - (set_local $$20 - (get_local $$19) - ) - (set_local $$21 - (i32.load - (get_local $$20) + (set_local $$18 + (i32.load + (get_local $$17) + ) ) - ) - (set_local $$add$ptr88 - (i32.add - (get_local $$storemerge$186282) - (i32.const 3) + (set_local $$19 + (i32.add + (get_local $$16) + (i32.const 4) + ) + ) + (set_local $$20 + (get_local $$19) + ) + (set_local $$21 + (i32.load + (get_local $$20) + ) + ) + (set_local $$add$ptr88 + (i32.add + (get_local $$storemerge$186282) + (i32.const 3) + ) + ) + (set_local $$l10n$2 + (i32.const 1) + ) + (set_local $$storemerge$191 + (get_local $$add$ptr88) + ) + (set_local $$w$0 + (get_local $$18) ) ) - (set_local $$l10n$2 - (i32.const 1) - ) - (set_local $$storemerge$191 - (get_local $$add$ptr88) - ) - (set_local $$w$0 - (get_local $$18) + (set_local $label + (i32.const 24) ) ) - (set_local $label - (i32.const 24) - ) ) - ) - (set_local $label - (i32.const 24) - ) - ) - (if - (i32.eq - (get_local $label) - (i32.const 24) - ) - (block (set_local $label - (i32.const 0) + (i32.const 24) ) - (set_local $$tobool90 - (i32.eq - (get_local $$l10n$1) - (i32.const 0) - ) + ) + (if + (i32.eq + (get_local $label) + (i32.const 24) ) - (if - (i32.eqz - (get_local $$tobool90) + (block + (set_local $label + (i32.const 0) ) - (block - (set_local $$retval$0 - (i32.const -1) + (set_local $$tobool90 + (i32.eq + (get_local $$l10n$1) + (i32.const 0) ) - (br $label$break$L1) ) - ) - (if - (i32.eqz - (get_local $$tobool25) + (if + (i32.eqz + (get_local $$tobool90) + ) + (block + (set_local $$retval$0 + (i32.const -1) + ) + (br $label$break$L1) + ) ) - (block - (set_local $$fl$1 - (get_local $$fl$0284) + (if + (i32.eqz + (get_local $$tobool25) + ) + (block + (set_local $$fl$1 + (get_local $$fl$0284) + ) + (set_local $$incdec$ptr169269 + (get_local $$arrayidx68) + ) + (set_local $$l10n$3 + (i32.const 0) + ) + (set_local $$w$1 + (i32.const 0) + ) + (br $do-once$12) ) - (set_local $$incdec$ptr169269 - (get_local $$arrayidx68) + ) + (set_local $$arglist_current + (i32.load + (get_local $$ap) ) - (set_local $$l10n$3 + ) + (set_local $$22 + (get_local $$arglist_current) + ) + (set_local $$23 + (i32.add (i32.const 0) + (i32.const 4) + ) + ) + (set_local $$expanded4 + (get_local $$23) + ) + (set_local $$expanded + (i32.sub + (get_local $$expanded4) + (i32.const 1) + ) + ) + (set_local $$24 + (i32.add + (get_local $$22) + (get_local $$expanded) ) - (set_local $$w$1 + ) + (set_local $$25 + (i32.add (i32.const 0) + (i32.const 4) ) - (br $do-once$12) ) - ) - (set_local $$arglist_current - (i32.load - (get_local $$ap) + (set_local $$expanded8 + (get_local $$25) ) - ) - (set_local $$22 - (get_local $$arglist_current) - ) - (set_local $$23 - (i32.add - (i32.const 0) - (i32.const 4) + (set_local $$expanded7 + (i32.sub + (get_local $$expanded8) + (i32.const 1) + ) ) - ) - (set_local $$expanded4 - (get_local $$23) - ) - (set_local $$expanded - (i32.sub - (get_local $$expanded4) - (i32.const 1) + (set_local $$expanded6 + (i32.xor + (get_local $$expanded7) + (i32.const -1) + ) ) - ) - (set_local $$24 - (i32.add - (get_local $$22) - (get_local $$expanded) + (set_local $$26 + (i32.and + (get_local $$24) + (get_local $$expanded6) + ) ) - ) - (set_local $$25 - (i32.add - (i32.const 0) - (i32.const 4) + (set_local $$27 + (get_local $$26) ) - ) - (set_local $$expanded8 - (get_local $$25) - ) - (set_local $$expanded7 - (i32.sub - (get_local $$expanded8) - (i32.const 1) + (set_local $$28 + (i32.load + (get_local $$27) + ) ) - ) - (set_local $$expanded6 - (i32.xor - (get_local $$expanded7) - (i32.const -1) + (set_local $$arglist_next + (i32.add + (get_local $$27) + (i32.const 4) + ) ) - ) - (set_local $$26 - (i32.and - (get_local $$24) - (get_local $$expanded6) + (i32.store + (get_local $$ap) + (get_local $$arglist_next) ) - ) - (set_local $$27 - (get_local $$26) - ) - (set_local $$28 - (i32.load - (get_local $$27) + (set_local $$l10n$2 + (i32.const 0) ) - ) - (set_local $$arglist_next - (i32.add - (get_local $$27) - (i32.const 4) + (set_local $$storemerge$191 + (get_local $$arrayidx68) + ) + (set_local $$w$0 + (get_local $$28) ) ) - (i32.store - (get_local $$ap) - (get_local $$arglist_next) - ) - (set_local $$l10n$2 + ) + (set_local $$cmp97 + (i32.lt_s + (get_local $$w$0) (i32.const 0) ) - (set_local $$storemerge$191 - (get_local $$arrayidx68) - ) - (set_local $$w$0 - (get_local $$28) - ) - ) - ) - (set_local $$cmp97 - (i32.lt_s - (get_local $$w$0) - (i32.const 0) ) - ) - (if - (get_local $$cmp97) - (block - (set_local $$or100 - (i32.or - (get_local $$fl$0284) - (i32.const 8192) + (if + (get_local $$cmp97) + (block + (set_local $$or100 + (i32.or + (get_local $$fl$0284) + (i32.const 8192) + ) + ) + (set_local $$sub101 + (i32.sub + (i32.const 0) + (get_local $$w$0) + ) + ) + (set_local $$fl$1 + (get_local $$or100) + ) + (set_local $$incdec$ptr169269 + (get_local $$storemerge$191) + ) + (set_local $$l10n$3 + (get_local $$l10n$2) + ) + (set_local $$w$1 + (get_local $$sub101) ) ) - (set_local $$sub101 - (i32.sub - (i32.const 0) + (block + (set_local $$fl$1 + (get_local $$fl$0284) + ) + (set_local $$incdec$ptr169269 + (get_local $$storemerge$191) + ) + (set_local $$l10n$3 + (get_local $$l10n$2) + ) + (set_local $$w$1 (get_local $$w$0) ) ) - (set_local $$fl$1 - (get_local $$or100) - ) - (set_local $$incdec$ptr169269 - (get_local $$storemerge$191) - ) - (set_local $$l10n$3 - (get_local $$l10n$2) - ) - (set_local $$w$1 - (get_local $$sub101) - ) - ) - (block - (set_local $$fl$1 - (get_local $$fl$0284) - ) - (set_local $$incdec$ptr169269 - (get_local $$storemerge$191) - ) - (set_local $$l10n$3 - (get_local $$l10n$2) - ) - (set_local $$w$1 - (get_local $$w$0) - ) ) ) - ) - (block - (set_local $$conv$4$i - (i32.shr_s - (i32.shl - (get_local $$12) + (block + (set_local $$conv$4$i + (i32.shr_s + (i32.shl + (get_local $$12) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) - ) - ) - (set_local $$isdigittmp$5$i - (i32.add - (get_local $$conv$4$i) - (i32.const -48) - ) - ) - (set_local $$isdigit$6$i - (i32.lt_u - (get_local $$isdigittmp$5$i) - (i32.const 10) ) - ) - (if - (get_local $$isdigit$6$i) - (block - (set_local $$29 - (get_local $$storemerge$186282) - ) - (set_local $$i$07$i - (i32.const 0) + (set_local $$isdigittmp$5$i + (i32.add + (get_local $$conv$4$i) + (i32.const -48) ) - (set_local $$isdigittmp8$i + ) + (set_local $$isdigit$6$i + (i32.lt_u (get_local $$isdigittmp$5$i) + (i32.const 10) ) - (loop $while-out$14 $while-in$15 - (set_local $$mul$i - (i32.mul - (get_local $$i$07$i) - (i32.const 10) - ) - ) - (set_local $$add$i - (i32.add - (get_local $$mul$i) - (get_local $$isdigittmp8$i) - ) + ) + (if + (get_local $$isdigit$6$i) + (block + (set_local $$29 + (get_local $$storemerge$186282) ) - (set_local $$incdec$ptr$i - (i32.add - (get_local $$29) - (i32.const 1) - ) + (set_local $$i$07$i + (i32.const 0) ) - (set_local $$30 - (i32.load8_s - (get_local $$incdec$ptr$i) - ) + (set_local $$isdigittmp8$i + (get_local $$isdigittmp$5$i) ) - (set_local $$conv$i - (i32.shr_s - (i32.shl - (get_local $$30) - (i32.const 24) + (loop $while-in$15 + (block $while-out$14 + (set_local $$mul$i + (i32.mul + (get_local $$i$07$i) + (i32.const 10) + ) ) - (i32.const 24) - ) - ) - (set_local $$isdigittmp$i - (i32.add - (get_local $$conv$i) - (i32.const -48) + (set_local $$add$i + (i32.add + (get_local $$mul$i) + (get_local $$isdigittmp8$i) + ) + ) + (set_local $$incdec$ptr$i + (i32.add + (get_local $$29) + (i32.const 1) + ) + ) + (set_local $$30 + (i32.load8_s + (get_local $$incdec$ptr$i) + ) + ) + (set_local $$conv$i + (i32.shr_s + (i32.shl + (get_local $$30) + (i32.const 24) + ) + (i32.const 24) + ) + ) + (set_local $$isdigittmp$i + (i32.add + (get_local $$conv$i) + (i32.const -48) + ) + ) + (set_local $$isdigit$i + (i32.lt_u + (get_local $$isdigittmp$i) + (i32.const 10) + ) + ) + (if + (get_local $$isdigit$i) + (block + (set_local $$29 + (get_local $$incdec$ptr$i) + ) + (set_local $$i$07$i + (get_local $$add$i) + ) + (set_local $$isdigittmp8$i + (get_local $$isdigittmp$i) + ) + ) + (block + (set_local $$add$i$lcssa + (get_local $$add$i) + ) + (set_local $$incdec$ptr$i$lcssa + (get_local $$incdec$ptr$i) + ) + (br $while-out$14) + ) + ) + (br $while-in$15) ) ) - (set_local $$isdigit$i - (i32.lt_u - (get_local $$isdigittmp$i) - (i32.const 10) + (set_local $$cmp105 + (i32.lt_s + (get_local $$add$i$lcssa) + (i32.const 0) ) ) (if - (get_local $$isdigit$i) + (get_local $$cmp105) (block - (set_local $$29 - (get_local $$incdec$ptr$i) - ) - (set_local $$i$07$i - (get_local $$add$i) - ) - (set_local $$isdigittmp8$i - (get_local $$isdigittmp$i) + (set_local $$retval$0 + (i32.const -1) ) + (br $label$break$L1) ) (block - (set_local $$add$i$lcssa - (get_local $$add$i) + (set_local $$fl$1 + (get_local $$fl$0284) + ) + (set_local $$incdec$ptr169269 + (get_local $$incdec$ptr$i$lcssa) ) - (set_local $$incdec$ptr$i$lcssa - (get_local $$incdec$ptr$i) + (set_local $$l10n$3 + (get_local $$l10n$1) + ) + (set_local $$w$1 + (get_local $$add$i$lcssa) ) - (br $while-out$14) ) ) - (br $while-in$15) ) - (set_local $$cmp105 - (i32.lt_s - (get_local $$add$i$lcssa) + (block + (set_local $$fl$1 + (get_local $$fl$0284) + ) + (set_local $$incdec$ptr169269 + (get_local $$storemerge$186282) + ) + (set_local $$l10n$3 + (get_local $$l10n$1) + ) + (set_local $$w$1 (i32.const 0) ) ) - (if - (get_local $$cmp105) - (block - (set_local $$retval$0 - (i32.const -1) - ) - (br $label$break$L1) - ) - (block - (set_local $$fl$1 - (get_local $$fl$0284) - ) - (set_local $$incdec$ptr169269 - (get_local $$incdec$ptr$i$lcssa) - ) - (set_local $$l10n$3 - (get_local $$l10n$1) - ) - (set_local $$w$1 - (get_local $$add$i$lcssa) - ) - ) - ) - ) - (block - (set_local $$fl$1 - (get_local $$fl$0284) - ) - (set_local $$incdec$ptr169269 - (get_local $$storemerge$186282) - ) - (set_local $$l10n$3 - (get_local $$l10n$1) - ) - (set_local $$w$1 - (i32.const 0) - ) ) ) ) ) - ) - (set_local $$31 - (i32.load8_s - (get_local $$incdec$ptr169269) + (set_local $$31 + (i32.load8_s + (get_local $$incdec$ptr169269) + ) ) - ) - (set_local $$cmp111 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$31) + (set_local $$cmp111 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$31) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) + (i32.const 46) ) - (i32.const 46) ) - ) - (block $label$break$L46 - (if - (get_local $$cmp111) - (block - (set_local $$arrayidx114 - (i32.add - (get_local $$incdec$ptr169269) - (i32.const 1) - ) - ) - (set_local $$32 - (i32.load8_s - (get_local $$arrayidx114) - ) - ) - (set_local $$cmp116 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$32) - (i32.const 24) - ) - (i32.const 24) + (block $label$break$L46 + (if + (get_local $$cmp111) + (block + (set_local $$arrayidx114 + (i32.add + (get_local $$incdec$ptr169269) + (i32.const 1) ) - (i32.const 42) ) - ) - (if - (i32.eqz - (get_local $$cmp116) + (set_local $$32 + (i32.load8_s + (get_local $$arrayidx114) + ) ) - (block - (set_local $$conv$4$i$197 + (set_local $$cmp116 + (i32.eq (i32.shr_s (i32.shl (get_local $$32) @@ -7161,415 +7174,528 @@ ) (i32.const 24) ) + (i32.const 42) ) - (set_local $$isdigittmp$5$i$198 - (i32.add - (get_local $$conv$4$i$197) - (i32.const -48) - ) - ) - (set_local $$isdigit$6$i$199 - (i32.lt_u - (get_local $$isdigittmp$5$i$198) - (i32.const 10) - ) - ) - (if - (get_local $$isdigit$6$i$199) - (block - (set_local $$49 - (get_local $$arrayidx114) - ) - (set_local $$i$07$i$201 - (i32.const 0) - ) - (set_local $$isdigittmp8$i$200 - (get_local $$isdigittmp$5$i$198) - ) - ) - (block - (set_local $$incdec$ptr169272 - (get_local $$arrayidx114) - ) - (set_local $$p$0 - (i32.const 0) - ) - (br $label$break$L46) - ) + ) + (if + (i32.eqz + (get_local $$cmp116) ) - (loop $while-out$17 $while-in$18 - (set_local $$mul$i$202 - (i32.mul - (get_local $$i$07$i$201) - (i32.const 10) - ) - ) - (set_local $$add$i$203 - (i32.add - (get_local $$mul$i$202) - (get_local $$isdigittmp8$i$200) - ) - ) - (set_local $$incdec$ptr$i$204 - (i32.add - (get_local $$49) - (i32.const 1) - ) - ) - (set_local $$50 - (i32.load8_s - (get_local $$incdec$ptr$i$204) - ) - ) - (set_local $$conv$i$205 + (block + (set_local $$conv$4$i$197 (i32.shr_s (i32.shl - (get_local $$50) + (get_local $$32) (i32.const 24) ) (i32.const 24) ) ) - (set_local $$isdigittmp$i$206 + (set_local $$isdigittmp$5$i$198 (i32.add - (get_local $$conv$i$205) + (get_local $$conv$4$i$197) (i32.const -48) ) ) - (set_local $$isdigit$i$207 + (set_local $$isdigit$6$i$199 (i32.lt_u - (get_local $$isdigittmp$i$206) + (get_local $$isdigittmp$5$i$198) (i32.const 10) ) ) (if - (get_local $$isdigit$i$207) + (get_local $$isdigit$6$i$199) (block (set_local $$49 - (get_local $$incdec$ptr$i$204) + (get_local $$arrayidx114) ) (set_local $$i$07$i$201 - (get_local $$add$i$203) + (i32.const 0) ) (set_local $$isdigittmp8$i$200 - (get_local $$isdigittmp$i$206) + (get_local $$isdigittmp$5$i$198) ) ) (block (set_local $$incdec$ptr169272 - (get_local $$incdec$ptr$i$204) + (get_local $$arrayidx114) ) (set_local $$p$0 - (get_local $$add$i$203) + (i32.const 0) ) (br $label$break$L46) ) ) - (br $while-in$18) + (loop $while-in$18 + (block $while-out$17 + (set_local $$mul$i$202 + (i32.mul + (get_local $$i$07$i$201) + (i32.const 10) + ) + ) + (set_local $$add$i$203 + (i32.add + (get_local $$mul$i$202) + (get_local $$isdigittmp8$i$200) + ) + ) + (set_local $$incdec$ptr$i$204 + (i32.add + (get_local $$49) + (i32.const 1) + ) + ) + (set_local $$50 + (i32.load8_s + (get_local $$incdec$ptr$i$204) + ) + ) + (set_local $$conv$i$205 + (i32.shr_s + (i32.shl + (get_local $$50) + (i32.const 24) + ) + (i32.const 24) + ) + ) + (set_local $$isdigittmp$i$206 + (i32.add + (get_local $$conv$i$205) + (i32.const -48) + ) + ) + (set_local $$isdigit$i$207 + (i32.lt_u + (get_local $$isdigittmp$i$206) + (i32.const 10) + ) + ) + (if + (get_local $$isdigit$i$207) + (block + (set_local $$49 + (get_local $$incdec$ptr$i$204) + ) + (set_local $$i$07$i$201 + (get_local $$add$i$203) + ) + (set_local $$isdigittmp8$i$200 + (get_local $$isdigittmp$i$206) + ) + ) + (block + (set_local $$incdec$ptr169272 + (get_local $$incdec$ptr$i$204) + ) + (set_local $$p$0 + (get_local $$add$i$203) + ) + (br $label$break$L46) + ) + ) + (br $while-in$18) + ) + ) ) ) - ) - (set_local $$arrayidx119 - (i32.add - (get_local $$incdec$ptr169269) - (i32.const 2) + (set_local $$arrayidx119 + (i32.add + (get_local $$incdec$ptr169269) + (i32.const 2) + ) ) - ) - (set_local $$33 - (i32.load8_s - (get_local $$arrayidx119) + (set_local $$33 + (i32.load8_s + (get_local $$arrayidx119) + ) ) - ) - (set_local $$conv120 - (i32.shr_s - (i32.shl - (get_local $$33) + (set_local $$conv120 + (i32.shr_s + (i32.shl + (get_local $$33) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) ) - ) - (set_local $$isdigittmp187 - (i32.add - (get_local $$conv120) - (i32.const -48) + (set_local $$isdigittmp187 + (i32.add + (get_local $$conv120) + (i32.const -48) + ) ) - ) - (set_local $$isdigit188 - (i32.lt_u - (get_local $$isdigittmp187) - (i32.const 10) + (set_local $$isdigit188 + (i32.lt_u + (get_local $$isdigittmp187) + (i32.const 10) + ) ) - ) - (if - (get_local $$isdigit188) - (block - (set_local $$arrayidx124 - (i32.add - (get_local $$incdec$ptr169269) - (i32.const 3) + (if + (get_local $$isdigit188) + (block + (set_local $$arrayidx124 + (i32.add + (get_local $$incdec$ptr169269) + (i32.const 3) + ) ) - ) - (set_local $$34 - (i32.load8_s - (get_local $$arrayidx124) + (set_local $$34 + (i32.load8_s + (get_local $$arrayidx124) + ) ) - ) - (set_local $$cmp126 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$34) + (set_local $$cmp126 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$34) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) + (i32.const 36) ) - (i32.const 36) ) - ) - (if - (get_local $$cmp126) - (block - (set_local $$arrayidx132 - (i32.add - (get_local $$nl_type) - (i32.shl - (get_local $$isdigittmp187) - (i32.const 2) + (if + (get_local $$cmp126) + (block + (set_local $$arrayidx132 + (i32.add + (get_local $$nl_type) + (i32.shl + (get_local $$isdigittmp187) + (i32.const 2) + ) ) ) - ) - (i32.store - (get_local $$arrayidx132) - (i32.const 10) - ) - (set_local $$35 - (i32.load8_s - (get_local $$arrayidx119) + (i32.store + (get_local $$arrayidx132) + (i32.const 10) ) - ) - (set_local $$conv134 - (i32.shr_s - (i32.shl - (get_local $$35) + (set_local $$35 + (i32.load8_s + (get_local $$arrayidx119) + ) + ) + (set_local $$conv134 + (i32.shr_s + (i32.shl + (get_local $$35) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) ) - ) - (set_local $$sub135 - (i32.add - (get_local $$conv134) - (i32.const -48) + (set_local $$sub135 + (i32.add + (get_local $$conv134) + (i32.const -48) + ) ) - ) - (set_local $$i137 - (i32.add - (get_local $$nl_arg) - (i32.shl - (get_local $$sub135) - (i32.const 3) + (set_local $$i137 + (i32.add + (get_local $$nl_arg) + (i32.shl + (get_local $$sub135) + (i32.const 3) + ) ) ) - ) - (set_local $$36 - (get_local $$i137) - ) - (set_local $$37 - (get_local $$36) - ) - (set_local $$38 - (i32.load - (get_local $$37) + (set_local $$36 + (get_local $$i137) ) - ) - (set_local $$39 - (i32.add + (set_local $$37 (get_local $$36) - (i32.const 4) ) - ) - (set_local $$40 - (get_local $$39) - ) - (set_local $$41 - (i32.load - (get_local $$40) + (set_local $$38 + (i32.load + (get_local $$37) + ) ) - ) - (set_local $$add$ptr139 - (i32.add - (get_local $$incdec$ptr169269) - (i32.const 4) + (set_local $$39 + (i32.add + (get_local $$36) + (i32.const 4) + ) ) + (set_local $$40 + (get_local $$39) + ) + (set_local $$41 + (i32.load + (get_local $$40) + ) + ) + (set_local $$add$ptr139 + (i32.add + (get_local $$incdec$ptr169269) + (i32.const 4) + ) + ) + (set_local $$incdec$ptr169272 + (get_local $$add$ptr139) + ) + (set_local $$p$0 + (get_local $$38) + ) + (br $label$break$L46) ) - (set_local $$incdec$ptr169272 - (get_local $$add$ptr139) - ) - (set_local $$p$0 - (get_local $$38) - ) - (br $label$break$L46) ) ) ) - ) - (set_local $$tobool141 - (i32.eq - (get_local $$l10n$3) - (i32.const 0) - ) - ) - (if - (i32.eqz - (get_local $$tobool141) - ) - (block - (set_local $$retval$0 - (i32.const -1) + (set_local $$tobool141 + (i32.eq + (get_local $$l10n$3) + (i32.const 0) ) - (br $label$break$L1) ) - ) - (if - (get_local $$tobool25) - (block - (set_local $$arglist_current2 - (i32.load - (get_local $$ap) - ) - ) - (set_local $$42 - (get_local $$arglist_current2) + (if + (i32.eqz + (get_local $$tobool141) ) - (set_local $$43 - (i32.add - (i32.const 0) - (i32.const 4) + (block + (set_local $$retval$0 + (i32.const -1) ) + (br $label$break$L1) ) - (set_local $$expanded11 - (get_local $$43) - ) - (set_local $$expanded10 - (i32.sub - (get_local $$expanded11) - (i32.const 1) + ) + (if + (get_local $$tobool25) + (block + (set_local $$arglist_current2 + (i32.load + (get_local $$ap) + ) ) - ) - (set_local $$44 - (i32.add - (get_local $$42) - (get_local $$expanded10) + (set_local $$42 + (get_local $$arglist_current2) ) - ) - (set_local $$45 - (i32.add - (i32.const 0) - (i32.const 4) + (set_local $$43 + (i32.add + (i32.const 0) + (i32.const 4) + ) ) - ) - (set_local $$expanded15 - (get_local $$45) - ) - (set_local $$expanded14 - (i32.sub - (get_local $$expanded15) - (i32.const 1) + (set_local $$expanded11 + (get_local $$43) ) - ) - (set_local $$expanded13 - (i32.xor - (get_local $$expanded14) - (i32.const -1) + (set_local $$expanded10 + (i32.sub + (get_local $$expanded11) + (i32.const 1) + ) + ) + (set_local $$44 + (i32.add + (get_local $$42) + (get_local $$expanded10) + ) + ) + (set_local $$45 + (i32.add + (i32.const 0) + (i32.const 4) + ) + ) + (set_local $$expanded15 + (get_local $$45) + ) + (set_local $$expanded14 + (i32.sub + (get_local $$expanded15) + (i32.const 1) + ) + ) + (set_local $$expanded13 + (i32.xor + (get_local $$expanded14) + (i32.const -1) + ) + ) + (set_local $$46 + (i32.and + (get_local $$44) + (get_local $$expanded13) + ) + ) + (set_local $$47 + (get_local $$46) + ) + (set_local $$48 + (i32.load + (get_local $$47) + ) + ) + (set_local $$arglist_next3 + (i32.add + (get_local $$47) + (i32.const 4) + ) + ) + (i32.store + (get_local $$ap) + (get_local $$arglist_next3) + ) + (set_local $$incdec$ptr169272 + (get_local $$arrayidx119) + ) + (set_local $$p$0 + (get_local $$48) ) ) - (set_local $$46 - (i32.and - (get_local $$44) - (get_local $$expanded13) + (block + (set_local $$incdec$ptr169272 + (get_local $$arrayidx119) + ) + (set_local $$p$0 + (i32.const 0) ) ) - (set_local $$47 - (get_local $$46) + ) + ) + (block + (set_local $$incdec$ptr169272 + (get_local $$incdec$ptr169269) + ) + (set_local $$p$0 + (i32.const -1) + ) + ) + ) + ) + (set_local $$incdec$ptr169271 + (get_local $$incdec$ptr169272) + ) + (set_local $$st$0 + (i32.const 0) + ) + (loop $while-in$20 + (block $while-out$19 + (set_local $$51 + (i32.load8_s + (get_local $$incdec$ptr169271) + ) + ) + (set_local $$conv163 + (i32.shr_s + (i32.shl + (get_local $$51) + (i32.const 24) ) - (set_local $$48 - (i32.load - (get_local $$47) - ) + (i32.const 24) + ) + ) + (set_local $$sub164 + (i32.add + (get_local $$conv163) + (i32.const -65) + ) + ) + (set_local $$cmp165 + (i32.gt_u + (get_local $$sub164) + (i32.const 57) + ) + ) + (if + (get_local $$cmp165) + (block + (set_local $$retval$0 + (i32.const -1) ) - (set_local $$arglist_next3 - (i32.add - (get_local $$47) - (i32.const 4) + (br $label$break$L1) + ) + ) + (set_local $$incdec$ptr169 + (i32.add + (get_local $$incdec$ptr169271) + (i32.const 1) + ) + ) + (set_local $$arrayidx173 + (i32.add + (i32.add + (i32.const 3611) + (i32.mul + (get_local $$st$0) + (i32.const 58) ) ) - (i32.store - (get_local $$ap) - (get_local $$arglist_next3) - ) - (set_local $$incdec$ptr169272 - (get_local $$arrayidx119) + (get_local $$sub164) + ) + ) + (set_local $$52 + (i32.load8_s + (get_local $$arrayidx173) + ) + ) + (set_local $$conv174 + (i32.and + (get_local $$52) + (i32.const 255) + ) + ) + (set_local $$sub175 + (i32.add + (get_local $$conv174) + (i32.const -1) + ) + ) + (set_local $$cmp176 + (i32.lt_u + (get_local $$sub175) + (i32.const 8) + ) + ) + (if + (get_local $$cmp176) + (block + (set_local $$incdec$ptr169271 + (get_local $$incdec$ptr169) ) - (set_local $$p$0 - (get_local $$48) + (set_local $$st$0 + (get_local $$conv174) ) ) (block - (set_local $$incdec$ptr169272 - (get_local $$arrayidx119) + (set_local $$$lcssa + (get_local $$52) ) - (set_local $$p$0 - (i32.const 0) + (set_local $$conv174$lcssa + (get_local $$conv174) + ) + (set_local $$incdec$ptr169$lcssa + (get_local $$incdec$ptr169) ) + (set_local $$incdec$ptr169271$lcssa414 + (get_local $$incdec$ptr169271) + ) + (set_local $$st$0$lcssa415 + (get_local $$st$0) + ) + (br $while-out$19) ) ) - ) - (block - (set_local $$incdec$ptr169272 - (get_local $$incdec$ptr169269) - ) - (set_local $$p$0 - (i32.const -1) - ) - ) - ) - ) - (set_local $$incdec$ptr169271 - (get_local $$incdec$ptr169272) - ) - (set_local $$st$0 - (i32.const 0) - ) - (loop $while-out$19 $while-in$20 - (set_local $$51 - (i32.load8_s - (get_local $$incdec$ptr169271) + (br $while-in$20) ) ) - (set_local $$conv163 - (i32.shr_s - (i32.shl - (get_local $$51) + (set_local $$tobool178 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$$lcssa) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) - ) - ) - (set_local $$sub164 - (i32.add - (get_local $$conv163) - (i32.const -65) - ) - ) - (set_local $$cmp165 - (i32.gt_u - (get_local $$sub164) - (i32.const 57) + (i32.const 0) ) ) (if - (get_local $$cmp165) + (get_local $$tobool178) (block (set_local $$retval$0 (i32.const -1) @@ -7577,396 +7703,329 @@ (br $label$break$L1) ) ) - (set_local $$incdec$ptr169 - (i32.add - (get_local $$incdec$ptr169271) - (i32.const 1) - ) - ) - (set_local $$arrayidx173 - (i32.add - (i32.add - (i32.const 3611) - (i32.mul - (get_local $$st$0) - (i32.const 58) + (set_local $$cmp181 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$$lcssa) + (i32.const 24) ) + (i32.const 24) ) - (get_local $$sub164) - ) - ) - (set_local $$52 - (i32.load8_s - (get_local $$arrayidx173) - ) - ) - (set_local $$conv174 - (i32.and - (get_local $$52) - (i32.const 255) + (i32.const 19) ) ) - (set_local $$sub175 - (i32.add - (get_local $$conv174) + (set_local $$cmp184 + (i32.gt_s + (get_local $$argpos$0) (i32.const -1) ) ) - (set_local $$cmp176 - (i32.lt_u - (get_local $$sub175) - (i32.const 8) - ) - ) - (if - (get_local $$cmp176) - (block - (set_local $$incdec$ptr169271 - (get_local $$incdec$ptr169) + (block $do-once$21 + (if + (get_local $$cmp181) + (if + (get_local $$cmp184) + (block + (set_local $$retval$0 + (i32.const -1) + ) + (br $label$break$L1) + ) + (set_local $label + (i32.const 52) + ) ) - (set_local $$st$0 - (get_local $$conv174) - ) - ) - (block - (set_local $$$lcssa - (get_local $$52) - ) - (set_local $$conv174$lcssa - (get_local $$conv174) - ) - (set_local $$incdec$ptr169$lcssa - (get_local $$incdec$ptr169) - ) - (set_local $$incdec$ptr169271$lcssa414 - (get_local $$incdec$ptr169271) - ) - (set_local $$st$0$lcssa415 - (get_local $$st$0) - ) - (br $while-out$19) - ) - ) - (br $while-in$20) - ) - (set_local $$tobool178 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$$lcssa) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const 0) - ) - ) - (if - (get_local $$tobool178) - (block - (set_local $$retval$0 - (i32.const -1) - ) - (br $label$break$L1) - ) - ) - (set_local $$cmp181 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$$lcssa) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const 19) - ) - ) - (set_local $$cmp184 - (i32.gt_s - (get_local $$argpos$0) - (i32.const -1) - ) - ) - (block $do-once$21 - (if - (get_local $$cmp181) - (if - (get_local $$cmp184) (block - (set_local $$retval$0 - (i32.const -1) - ) - (br $label$break$L1) - ) - (set_local $label - (i32.const 52) - ) - ) - (block - (if - (get_local $$cmp184) - (block - (set_local $$arrayidx192 - (i32.add - (get_local $$nl_type) - (i32.shl - (get_local $$argpos$0) - (i32.const 2) + (if + (get_local $$cmp184) + (block + (set_local $$arrayidx192 + (i32.add + (get_local $$nl_type) + (i32.shl + (get_local $$argpos$0) + (i32.const 2) + ) ) ) - ) - (i32.store - (get_local $$arrayidx192) - (get_local $$conv174$lcssa) - ) - (set_local $$53 - (i32.add - (get_local $$nl_arg) - (i32.shl - (get_local $$argpos$0) - (i32.const 3) + (i32.store + (get_local $$arrayidx192) + (get_local $$conv174$lcssa) + ) + (set_local $$53 + (i32.add + (get_local $$nl_arg) + (i32.shl + (get_local $$argpos$0) + (i32.const 3) + ) ) ) - ) - (set_local $$54 - (get_local $$53) - ) - (set_local $$55 - (get_local $$54) - ) - (set_local $$56 - (i32.load - (get_local $$55) + (set_local $$54 + (get_local $$53) ) - ) - (set_local $$57 - (i32.add + (set_local $$55 (get_local $$54) - (i32.const 4) ) - ) - (set_local $$58 - (get_local $$57) - ) - (set_local $$59 - (i32.load - (get_local $$58) + (set_local $$56 + (i32.load + (get_local $$55) + ) ) - ) - (set_local $$60 - (get_local $$arg) - ) - (set_local $$61 - (get_local $$60) - ) - (i32.store - (get_local $$61) - (get_local $$56) - ) - (set_local $$62 - (i32.add + (set_local $$57 + (i32.add + (get_local $$54) + (i32.const 4) + ) + ) + (set_local $$58 + (get_local $$57) + ) + (set_local $$59 + (i32.load + (get_local $$58) + ) + ) + (set_local $$60 + (get_local $$arg) + ) + (set_local $$61 (get_local $$60) - (i32.const 4) ) + (i32.store + (get_local $$61) + (get_local $$56) + ) + (set_local $$62 + (i32.add + (get_local $$60) + (i32.const 4) + ) + ) + (set_local $$63 + (get_local $$62) + ) + (i32.store + (get_local $$63) + (get_local $$59) + ) + (set_local $label + (i32.const 52) + ) + (br $do-once$21) ) - (set_local $$63 - (get_local $$62) - ) - (i32.store - (get_local $$63) - (get_local $$59) + ) + (if + (i32.eqz + (get_local $$tobool25) ) - (set_local $label - (i32.const 52) + (block + (set_local $$retval$0 + (i32.const 0) + ) + (br $label$break$L1) ) - (br $do-once$21) ) + (call $_pop_arg_336 + (get_local $$arg) + (get_local $$conv174$lcssa) + (get_local $$ap) + ) + ) + ) + ) + (if + (i32.eq + (get_local $label) + (i32.const 52) + ) + (block + (set_local $label + (i32.const 0) ) (if (i32.eqz (get_local $$tobool25) ) (block - (set_local $$retval$0 - (i32.const 0) + (set_local $$cnt$0 + (get_local $$cnt$1) ) - (br $label$break$L1) + (set_local $$incdec$ptr169275 + (get_local $$incdec$ptr169$lcssa) + ) + (set_local $$l$0 + (get_local $$sub$ptr$sub) + ) + (set_local $$l10n$0 + (get_local $$l10n$3) + ) + (br $label$continue$L1) ) ) - (call $_pop_arg_336 - (get_local $$arg) - (get_local $$conv174$lcssa) - (get_local $$ap) - ) ) ) - ) - (if - (i32.eq - (get_local $label) - (i32.const 52) - ) - (block - (set_local $label - (i32.const 0) - ) - (if - (i32.eqz - (get_local $$tobool25) - ) - (block - (set_local $$cnt$0 - (get_local $$cnt$1) - ) - (set_local $$incdec$ptr169275 - (get_local $$incdec$ptr169$lcssa) - ) - (set_local $$l$0 - (get_local $$sub$ptr$sub) - ) - (set_local $$l10n$0 - (get_local $$l10n$3) - ) - (br $label$continue$L1) - ) + (set_local $$64 + (i32.load8_s + (get_local $$incdec$ptr169271$lcssa414) ) ) - ) - (set_local $$64 - (i32.load8_s - (get_local $$incdec$ptr169271$lcssa414) - ) - ) - (set_local $$conv207 - (i32.shr_s - (i32.shl - (get_local $$64) + (set_local $$conv207 + (i32.shr_s + (i32.shl + (get_local $$64) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) ) - ) - (set_local $$tobool208 - (i32.ne - (get_local $$st$0$lcssa415) - (i32.const 0) + (set_local $$tobool208 + (i32.ne + (get_local $$st$0$lcssa415) + (i32.const 0) + ) ) - ) - (set_local $$and210 - (i32.and - (get_local $$conv207) - (i32.const 15) + (set_local $$and210 + (i32.and + (get_local $$conv207) + (i32.const 15) + ) ) - ) - (set_local $$cmp211 - (i32.eq - (get_local $$and210) - (i32.const 3) + (set_local $$cmp211 + (i32.eq + (get_local $$and210) + (i32.const 3) + ) ) - ) - (set_local $$or$cond192 - (i32.and - (get_local $$tobool208) - (get_local $$cmp211) + (set_local $$or$cond192 + (i32.and + (get_local $$tobool208) + (get_local $$cmp211) + ) ) - ) - (set_local $$and214 - (i32.and - (get_local $$conv207) - (i32.const -33) + (set_local $$and214 + (i32.and + (get_local $$conv207) + (i32.const -33) + ) ) - ) - (set_local $$t$0 - (if - (get_local $$or$cond192) - (get_local $$and214) - (get_local $$conv207) + (set_local $$t$0 + (if + (get_local $$or$cond192) + (get_local $$and214) + (get_local $$conv207) + ) ) - ) - (set_local $$and216 - (i32.and - (get_local $$fl$1) - (i32.const 8192) + (set_local $$and216 + (i32.and + (get_local $$fl$1) + (i32.const 8192) + ) ) - ) - (set_local $$tobool217 - (i32.eq - (get_local $$and216) - (i32.const 0) + (set_local $$tobool217 + (i32.eq + (get_local $$and216) + (i32.const 0) + ) ) - ) - (set_local $$and219 - (i32.and - (get_local $$fl$1) - (i32.const -65537) + (set_local $$and219 + (i32.and + (get_local $$fl$1) + (i32.const -65537) + ) ) - ) - (set_local $$fl$1$and219 - (if - (get_local $$tobool217) - (get_local $$fl$1) - (get_local $$and219) + (set_local $$fl$1$and219 + (if + (get_local $$tobool217) + (get_local $$fl$1) + (get_local $$and219) + ) ) - ) - (block $label$break$L75 - (block $switch$24 - (block $switch-default$127 + (block $label$break$L75 + (block $switch$24 (block $switch-default$127 - (block $switch-case$126 - (block $switch-case$55 - (block $switch-case$54 - (block $switch-case$53 - (block $switch-case$52 - (block $switch-case$51 - (block $switch-case$50 - (block $switch-case$49 - (block $switch-case$48 - (block $switch-case$47 - (block $switch-case$46 - (block $switch-case$45 - (block $switch-case$44 - (block $switch-case$43 - (block $switch-case$42 - (block $switch-case$41 - (block $switch-case$40 - (block $switch-case$37 - (block $switch-case$36 - (block $switch-case$35 - (block $switch-case$34 - (br_table $switch-case$49 $switch-default$127 $switch-case$47 $switch-default$127 $switch-case$52 $switch-case$51 $switch-case$50 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$48 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$36 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$53 $switch-default$127 $switch-case$44 $switch-case$42 $switch-case$126 $switch-case$55 $switch-case$54 $switch-default$127 $switch-case$41 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$45 $switch-case$34 $switch-case$40 $switch-case$35 $switch-default$127 $switch-default$127 $switch-case$46 $switch-default$127 $switch-case$43 $switch-default$127 $switch-default$127 $switch-case$37 $switch-default$127 - (i32.sub - (get_local $$t$0) - (i32.const 65) + (block $switch-default$127 + (block $switch-case$126 + (block $switch-case$55 + (block $switch-case$54 + (block $switch-case$53 + (block $switch-case$52 + (block $switch-case$51 + (block $switch-case$50 + (block $switch-case$49 + (block $switch-case$48 + (block $switch-case$47 + (block $switch-case$46 + (block $switch-case$45 + (block $switch-case$44 + (block $switch-case$43 + (block $switch-case$42 + (block $switch-case$41 + (block $switch-case$40 + (block $switch-case$37 + (block $switch-case$36 + (block $switch-case$35 + (block $switch-case$34 + (br_table $switch-case$49 $switch-default$127 $switch-case$47 $switch-default$127 $switch-case$52 $switch-case$51 $switch-case$50 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$48 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$36 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$53 $switch-default$127 $switch-case$44 $switch-case$42 $switch-case$126 $switch-case$55 $switch-case$54 $switch-default$127 $switch-case$41 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$45 $switch-case$34 $switch-case$40 $switch-case$35 $switch-default$127 $switch-default$127 $switch-case$46 $switch-default$127 $switch-case$43 $switch-default$127 $switch-default$127 $switch-case$37 $switch-default$127 + (i32.sub + (get_local $$t$0) + (i32.const 65) + ) ) ) - ) - (block - (block $switch$25 - (block $switch-default$33 + (block + (block $switch$25 (block $switch-default$33 - (block $switch-case$32 - (block $switch-case$31 - (block $switch-case$30 - (block $switch-case$29 - (block $switch-case$28 - (block $switch-case$27 - (block $switch-case$26 - (br_table $switch-case$26 $switch-case$27 $switch-case$28 $switch-case$29 $switch-case$30 $switch-default$33 $switch-case$31 $switch-case$32 $switch-default$33 - (i32.sub - (get_local $$st$0$lcssa415) - (i32.const 0) + (block $switch-default$33 + (block $switch-case$32 + (block $switch-case$31 + (block $switch-case$30 + (block $switch-case$29 + (block $switch-case$28 + (block $switch-case$27 + (block $switch-case$26 + (br_table $switch-case$26 $switch-case$27 $switch-case$28 $switch-case$29 $switch-case$30 $switch-default$33 $switch-case$31 $switch-case$32 $switch-default$33 + (i32.sub + (get_local $$st$0$lcssa415) + (i32.const 0) + ) + ) + ) + (block + (set_local $$71 + (i32.load + (get_local $$arg) + ) + ) + (i32.store + (get_local $$71) + (get_local $$cnt$1) ) + (set_local $$cnt$0 + (get_local $$cnt$1) + ) + (set_local $$incdec$ptr169275 + (get_local $$incdec$ptr169$lcssa) + ) + (set_local $$l$0 + (get_local $$sub$ptr$sub) + ) + (set_local $$l10n$0 + (get_local $$l10n$3) + ) + (br $label$continue$L1) + (br $switch$25) ) ) (block - (set_local $$71 + (set_local $$72 (i32.load (get_local $$arg) ) ) (i32.store - (get_local $$71) + (get_local $$72) (get_local $$cnt$1) ) (set_local $$cnt$0 @@ -7986,15 +8045,49 @@ ) ) (block - (set_local $$72 - (i32.load - (get_local $$arg) + (set_local $$73 + (i32.lt_s + (get_local $$cnt$1) + (i32.const 0) ) ) - (i32.store - (get_local $$72) + (set_local $$74 + (i32.shr_s + (i32.shl + (get_local $$73) + (i32.const 31) + ) + (i32.const 31) + ) + ) + (set_local $$75 + (i32.load + (get_local $$arg) + ) + ) + (set_local $$76 + (get_local $$75) + ) + (set_local $$77 + (get_local $$76) + ) + (i32.store + (get_local $$77) (get_local $$cnt$1) ) + (set_local $$78 + (i32.add + (get_local $$76) + (i32.const 4) + ) + ) + (set_local $$79 + (get_local $$78) + ) + (i32.store + (get_local $$79) + (get_local $$74) + ) (set_local $$cnt$0 (get_local $$cnt$1) ) @@ -8012,48 +8105,20 @@ ) ) (block - (set_local $$73 - (i32.lt_s + (set_local $$conv229 + (i32.and (get_local $$cnt$1) - (i32.const 0) - ) - ) - (set_local $$74 - (i32.shr_s - (i32.shl - (get_local $$73) - (i32.const 31) - ) - (i32.const 31) + (i32.const 65535) ) ) - (set_local $$75 + (set_local $$80 (i32.load (get_local $$arg) ) ) - (set_local $$76 - (get_local $$75) - ) - (set_local $$77 - (get_local $$76) - ) - (i32.store - (get_local $$77) - (get_local $$cnt$1) - ) - (set_local $$78 - (i32.add - (get_local $$76) - (i32.const 4) - ) - ) - (set_local $$79 - (get_local $$78) - ) - (i32.store - (get_local $$79) - (get_local $$74) + (i32.store16 + (get_local $$80) + (get_local $$conv229) ) (set_local $$cnt$0 (get_local $$cnt$1) @@ -8072,20 +8137,20 @@ ) ) (block - (set_local $$conv229 + (set_local $$conv232 (i32.and (get_local $$cnt$1) - (i32.const 65535) + (i32.const 255) ) ) - (set_local $$80 + (set_local $$81 (i32.load (get_local $$arg) ) ) - (i32.store16 - (get_local $$80) - (get_local $$conv229) + (i32.store8 + (get_local $$81) + (get_local $$conv232) ) (set_local $$cnt$0 (get_local $$cnt$1) @@ -8104,20 +8169,14 @@ ) ) (block - (set_local $$conv232 - (i32.and - (get_local $$cnt$1) - (i32.const 255) - ) - ) - (set_local $$81 + (set_local $$82 (i32.load (get_local $$arg) ) ) - (i32.store8 - (get_local $$81) - (get_local $$conv232) + (i32.store + (get_local $$82) + (get_local $$cnt$1) ) (set_local $$cnt$0 (get_local $$cnt$1) @@ -8136,15 +8195,49 @@ ) ) (block - (set_local $$82 + (set_local $$83 + (i32.lt_s + (get_local $$cnt$1) + (i32.const 0) + ) + ) + (set_local $$84 + (i32.shr_s + (i32.shl + (get_local $$83) + (i32.const 31) + ) + (i32.const 31) + ) + ) + (set_local $$85 (i32.load (get_local $$arg) ) ) + (set_local $$86 + (get_local $$85) + ) + (set_local $$87 + (get_local $$86) + ) (i32.store - (get_local $$82) + (get_local $$87) (get_local $$cnt$1) ) + (set_local $$88 + (i32.add + (get_local $$86) + (i32.const 4) + ) + ) + (set_local $$89 + (get_local $$88) + ) + (i32.store + (get_local $$89) + (get_local $$84) + ) (set_local $$cnt$0 (get_local $$cnt$1) ) @@ -8162,49 +8255,6 @@ ) ) (block - (set_local $$83 - (i32.lt_s - (get_local $$cnt$1) - (i32.const 0) - ) - ) - (set_local $$84 - (i32.shr_s - (i32.shl - (get_local $$83) - (i32.const 31) - ) - (i32.const 31) - ) - ) - (set_local $$85 - (i32.load - (get_local $$arg) - ) - ) - (set_local $$86 - (get_local $$85) - ) - (set_local $$87 - (get_local $$86) - ) - (i32.store - (get_local $$87) - (get_local $$cnt$1) - ) - (set_local $$88 - (i32.add - (get_local $$86) - (i32.const 4) - ) - ) - (set_local $$89 - (get_local $$88) - ) - (i32.store - (get_local $$89) - (get_local $$84) - ) (set_local $$cnt$0 (get_local $$cnt$1) ) @@ -8218,5729 +8268,5763 @@ (get_local $$l10n$3) ) (br $label$continue$L1) - (br $switch$25) - ) - ) - (block - (set_local $$cnt$0 - (get_local $$cnt$1) - ) - (set_local $$incdec$ptr169275 - (get_local $$incdec$ptr169$lcssa) - ) - (set_local $$l$0 - (get_local $$sub$ptr$sub) - ) - (set_local $$l10n$0 - (get_local $$l10n$3) ) - (br $label$continue$L1) ) ) + (br $switch$24) ) - (br $switch$24) ) - ) - (block - (set_local $$cmp240 - (i32.gt_u - (get_local $$p$0) - (i32.const 8) + (block + (set_local $$cmp240 + (i32.gt_u + (get_local $$p$0) + (i32.const 8) + ) ) - ) - (set_local $$cond245 - (if - (get_local $$cmp240) - (get_local $$p$0) - (i32.const 8) + (set_local $$cond245 + (if + (get_local $$cmp240) + (get_local $$p$0) + (i32.const 8) + ) ) - ) - (set_local $$or246 - (i32.or - (get_local $$fl$1$and219) - (i32.const 8) + (set_local $$or246 + (i32.or + (get_local $$fl$1$and219) + (i32.const 8) + ) ) + (set_local $$fl$3 + (get_local $$or246) + ) + (set_local $$p$1 + (get_local $$cond245) + ) + (set_local $$t$1 + (i32.const 120) + ) + (set_local $label + (i32.const 64) + ) + (br $switch$24) ) - (set_local $$fl$3 - (get_local $$or246) - ) - (set_local $$p$1 - (get_local $$cond245) - ) - (set_local $$t$1 - (i32.const 120) - ) - (set_local $label - (i32.const 64) - ) - (br $switch$24) ) + (nop) ) - (nop) - ) - (block - (set_local $$fl$3 - (get_local $$fl$1$and219) - ) - (set_local $$p$1 - (get_local $$p$0) - ) - (set_local $$t$1 - (get_local $$t$0) - ) - (set_local $label - (i32.const 64) + (block + (set_local $$fl$3 + (get_local $$fl$1$and219) + ) + (set_local $$p$1 + (get_local $$p$0) + ) + (set_local $$t$1 + (get_local $$t$0) + ) + (set_local $label + (i32.const 64) + ) + (br $switch$24) ) - (br $switch$24) - ) - ) - (block - (set_local $$116 - (get_local $$arg) ) - (set_local $$117 - (get_local $$116) - ) - (set_local $$118 - (i32.load - (get_local $$117) + (block + (set_local $$116 + (get_local $$arg) ) - ) - (set_local $$119 - (i32.add + (set_local $$117 (get_local $$116) - (i32.const 4) - ) - ) - (set_local $$120 - (get_local $$119) - ) - (set_local $$121 - (i32.load - (get_local $$120) ) - ) - (set_local $$122 - (i32.eq - (get_local $$118) - (i32.const 0) + (set_local $$118 + (i32.load + (get_local $$117) + ) ) - ) - (set_local $$123 - (i32.eq - (get_local $$121) - (i32.const 0) + (set_local $$119 + (i32.add + (get_local $$116) + (i32.const 4) + ) ) - ) - (set_local $$124 - (i32.and - (get_local $$122) - (get_local $$123) + (set_local $$120 + (get_local $$119) ) - ) - (if - (get_local $$124) - (set_local $$s$addr$0$lcssa$i$229 - (get_local $$add$ptr205) + (set_local $$121 + (i32.load + (get_local $$120) + ) ) - (block - (set_local $$126 + (set_local $$122 + (i32.eq (get_local $$118) + (i32.const 0) ) - (set_local $$129 + ) + (set_local $$123 + (i32.eq (get_local $$121) + (i32.const 0) + ) + ) + (set_local $$124 + (i32.and + (get_local $$122) + (get_local $$123) ) - (set_local $$s$addr$06$i$221 + ) + (if + (get_local $$124) + (set_local $$s$addr$0$lcssa$i$229 (get_local $$add$ptr205) ) - (loop $while-out$38 $while-in$39 - (set_local $$125 - (i32.and - (get_local $$126) - (i32.const 7) - ) - ) - (set_local $$127 - (i32.or - (get_local $$125) - (i32.const 48) - ) - ) - (set_local $$128 - (i32.and - (get_local $$127) - (i32.const 255) - ) - ) - (set_local $$incdec$ptr$i$225 - (i32.add - (get_local $$s$addr$06$i$221) - (i32.const -1) - ) - ) - (i32.store8 - (get_local $$incdec$ptr$i$225) - (get_local $$128) - ) - (set_local $$130 - (call $_bitshift64Lshr - (get_local $$126) - (get_local $$129) - (i32.const 3) - ) - ) - (set_local $$131 - (i32.load - (i32.const 168) - ) - ) - (set_local $$132 - (i32.eq - (get_local $$130) - (i32.const 0) - ) + (block + (set_local $$126 + (get_local $$118) ) - (set_local $$133 - (i32.eq - (get_local $$131) - (i32.const 0) - ) + (set_local $$129 + (get_local $$121) ) - (set_local $$134 - (i32.and - (get_local $$132) - (get_local $$133) - ) + (set_local $$s$addr$06$i$221 + (get_local $$add$ptr205) ) - (if - (get_local $$134) - (block - (set_local $$s$addr$0$lcssa$i$229 - (get_local $$incdec$ptr$i$225) + (loop $while-in$39 + (block $while-out$38 + (set_local $$125 + (i32.and + (get_local $$126) + (i32.const 7) + ) ) - (br $while-out$38) - ) - (block - (set_local $$126 - (get_local $$130) + (set_local $$127 + (i32.or + (get_local $$125) + (i32.const 48) + ) + ) + (set_local $$128 + (i32.and + (get_local $$127) + (i32.const 255) + ) ) - (set_local $$129 - (get_local $$131) + (set_local $$incdec$ptr$i$225 + (i32.add + (get_local $$s$addr$06$i$221) + (i32.const -1) + ) ) - (set_local $$s$addr$06$i$221 + (i32.store8 (get_local $$incdec$ptr$i$225) + (get_local $$128) + ) + (set_local $$130 + (call $_bitshift64Lshr + (get_local $$126) + (get_local $$129) + (i32.const 3) + ) + ) + (set_local $$131 + (i32.load + (i32.const 168) + ) + ) + (set_local $$132 + (i32.eq + (get_local $$130) + (i32.const 0) + ) + ) + (set_local $$133 + (i32.eq + (get_local $$131) + (i32.const 0) + ) ) + (set_local $$134 + (i32.and + (get_local $$132) + (get_local $$133) + ) + ) + (if + (get_local $$134) + (block + (set_local $$s$addr$0$lcssa$i$229 + (get_local $$incdec$ptr$i$225) + ) + (br $while-out$38) + ) + (block + (set_local $$126 + (get_local $$130) + ) + (set_local $$129 + (get_local $$131) + ) + (set_local $$s$addr$06$i$221 + (get_local $$incdec$ptr$i$225) + ) + ) + ) + (br $while-in$39) ) ) - (br $while-in$39) ) ) - ) - (set_local $$and263 - (i32.and - (get_local $$fl$1$and219) - (i32.const 8) - ) - ) - (set_local $$tobool264 - (i32.eq - (get_local $$and263) - (i32.const 0) - ) - ) - (if - (get_local $$tobool264) - (block - (set_local $$a$0 - (get_local $$s$addr$0$lcssa$i$229) - ) - (set_local $$fl$4 + (set_local $$and263 + (i32.and (get_local $$fl$1$and219) + (i32.const 8) ) - (set_local $$p$2 - (get_local $$p$0) - ) - (set_local $$pl$1 + ) + (set_local $$tobool264 + (i32.eq + (get_local $$and263) (i32.const 0) ) - (set_local $$prefix$1 - (i32.const 4091) - ) - (set_local $label - (i32.const 77) - ) ) - (block - (set_local $$sub$ptr$rhs$cast267 - (get_local $$s$addr$0$lcssa$i$229) - ) - (set_local $$sub$ptr$sub268 - (i32.sub - (get_local $$sub$ptr$lhs$cast317) - (get_local $$sub$ptr$rhs$cast267) + (if + (get_local $$tobool264) + (block + (set_local $$a$0 + (get_local $$s$addr$0$lcssa$i$229) ) - ) - (set_local $$add269 - (i32.add - (get_local $$sub$ptr$sub268) - (i32.const 1) + (set_local $$fl$4 + (get_local $$fl$1$and219) ) - ) - (set_local $$cmp270 - (i32.lt_s + (set_local $$p$2 (get_local $$p$0) - (get_local $$add269) ) - ) - (set_local $$add269$p$0 - (if - (get_local $$cmp270) - (get_local $$add269) - (get_local $$p$0) + (set_local $$pl$1 + (i32.const 0) + ) + (set_local $$prefix$1 + (i32.const 4091) + ) + (set_local $label + (i32.const 77) ) ) - (set_local $$a$0 - (get_local $$s$addr$0$lcssa$i$229) - ) - (set_local $$fl$4 - (get_local $$fl$1$and219) - ) - (set_local $$p$2 - (get_local $$add269$p$0) - ) - (set_local $$pl$1 - (i32.const 0) - ) - (set_local $$prefix$1 - (i32.const 4091) - ) - (set_local $label - (i32.const 77) + (block + (set_local $$sub$ptr$rhs$cast267 + (get_local $$s$addr$0$lcssa$i$229) + ) + (set_local $$sub$ptr$sub268 + (i32.sub + (get_local $$sub$ptr$lhs$cast317) + (get_local $$sub$ptr$rhs$cast267) + ) + ) + (set_local $$add269 + (i32.add + (get_local $$sub$ptr$sub268) + (i32.const 1) + ) + ) + (set_local $$cmp270 + (i32.lt_s + (get_local $$p$0) + (get_local $$add269) + ) + ) + (set_local $$add269$p$0 + (if + (get_local $$cmp270) + (get_local $$add269) + (get_local $$p$0) + ) + ) + (set_local $$a$0 + (get_local $$s$addr$0$lcssa$i$229) + ) + (set_local $$fl$4 + (get_local $$fl$1$and219) + ) + (set_local $$p$2 + (get_local $$add269$p$0) + ) + (set_local $$pl$1 + (i32.const 0) + ) + (set_local $$prefix$1 + (i32.const 4091) + ) + (set_local $label + (i32.const 77) + ) ) ) + (br $switch$24) ) - (br $switch$24) ) + (nop) ) - (nop) - ) - (block - (set_local $$135 - (get_local $$arg) - ) - (set_local $$136 - (get_local $$135) - ) - (set_local $$137 - (i32.load - (get_local $$136) + (block + (set_local $$135 + (get_local $$arg) ) - ) - (set_local $$138 - (i32.add + (set_local $$136 (get_local $$135) - (i32.const 4) ) - ) - (set_local $$139 - (get_local $$138) - ) - (set_local $$140 - (i32.load - (get_local $$139) - ) - ) - (set_local $$141 - (i32.lt_s - (get_local $$140) - (i32.const 0) - ) - ) - (if - (get_local $$141) - (block - (set_local $$142 - (call $_i64Subtract - (i32.const 0) - (i32.const 0) - (get_local $$137) - (get_local $$140) - ) - ) - (set_local $$143 - (i32.load - (i32.const 168) - ) + (set_local $$137 + (i32.load + (get_local $$136) ) - (set_local $$144 - (get_local $$arg) + ) + (set_local $$138 + (i32.add + (get_local $$135) + (i32.const 4) ) - (set_local $$145 - (get_local $$144) + ) + (set_local $$139 + (get_local $$138) + ) + (set_local $$140 + (i32.load + (get_local $$139) ) - (i32.store - (get_local $$145) - (get_local $$142) + ) + (set_local $$141 + (i32.lt_s + (get_local $$140) + (i32.const 0) ) - (set_local $$146 - (i32.add + ) + (if + (get_local $$141) + (block + (set_local $$142 + (call $_i64Subtract + (i32.const 0) + (i32.const 0) + (get_local $$137) + (get_local $$140) + ) + ) + (set_local $$143 + (i32.load + (i32.const 168) + ) + ) + (set_local $$144 + (get_local $$arg) + ) + (set_local $$145 (get_local $$144) - (i32.const 4) ) + (i32.store + (get_local $$145) + (get_local $$142) + ) + (set_local $$146 + (i32.add + (get_local $$144) + (i32.const 4) + ) + ) + (set_local $$147 + (get_local $$146) + ) + (i32.store + (get_local $$147) + (get_local $$143) + ) + (set_local $$148 + (get_local $$142) + ) + (set_local $$149 + (get_local $$143) + ) + (set_local $$pl$0 + (i32.const 1) + ) + (set_local $$prefix$0 + (i32.const 4091) + ) + (set_local $label + (i32.const 76) + ) + (br $label$break$L75) ) - (set_local $$147 - (get_local $$146) - ) - (i32.store - (get_local $$147) - (get_local $$143) - ) - (set_local $$148 - (get_local $$142) - ) - (set_local $$149 - (get_local $$143) - ) - (set_local $$pl$0 - (i32.const 1) - ) - (set_local $$prefix$0 - (i32.const 4091) - ) - (set_local $label - (i32.const 76) - ) - (br $label$break$L75) ) - ) - (set_local $$and289 - (i32.and - (get_local $$fl$1$and219) - (i32.const 2048) + (set_local $$and289 + (i32.and + (get_local $$fl$1$and219) + (i32.const 2048) + ) ) - ) - (set_local $$tobool290 - (i32.eq - (get_local $$and289) - (i32.const 0) + (set_local $$tobool290 + (i32.eq + (get_local $$and289) + (i32.const 0) + ) ) - ) - (if - (get_local $$tobool290) - (block - (set_local $$and294 - (i32.and - (get_local $$fl$1$and219) - (i32.const 1) + (if + (get_local $$tobool290) + (block + (set_local $$and294 + (i32.and + (get_local $$fl$1$and219) + (i32.const 1) + ) ) - ) - (set_local $$tobool295 - (i32.eq + (set_local $$tobool295 + (i32.eq + (get_local $$and294) + (i32.const 0) + ) + ) + (set_local $$$ + (if + (get_local $$tobool295) + (i32.const 4091) + (i32.const 4093) + ) + ) + (set_local $$148 + (get_local $$137) + ) + (set_local $$149 + (get_local $$140) + ) + (set_local $$pl$0 (get_local $$and294) - (i32.const 0) ) - ) - (set_local $$$ - (if - (get_local $$tobool295) - (i32.const 4091) - (i32.const 4093) + (set_local $$prefix$0 + (get_local $$$) + ) + (set_local $label + (i32.const 76) ) ) - (set_local $$148 - (get_local $$137) - ) - (set_local $$149 - (get_local $$140) - ) - (set_local $$pl$0 - (get_local $$and294) - ) - (set_local $$prefix$0 - (get_local $$$) - ) - (set_local $label - (i32.const 76) + (block + (set_local $$148 + (get_local $$137) + ) + (set_local $$149 + (get_local $$140) + ) + (set_local $$pl$0 + (i32.const 1) + ) + (set_local $$prefix$0 + (i32.const 4092) + ) + (set_local $label + (i32.const 76) + ) ) ) - (block - (set_local $$148 - (get_local $$137) - ) - (set_local $$149 - (get_local $$140) - ) - (set_local $$pl$0 - (i32.const 1) - ) - (set_local $$prefix$0 - (i32.const 4092) - ) - (set_local $label - (i32.const 76) - ) + (br $switch$24) + ) + ) + (block + (set_local $$65 + (get_local $$arg) + ) + (set_local $$66 + (get_local $$65) + ) + (set_local $$67 + (i32.load + (get_local $$66) + ) + ) + (set_local $$68 + (i32.add + (get_local $$65) + (i32.const 4) + ) + ) + (set_local $$69 + (get_local $$68) + ) + (set_local $$70 + (i32.load + (get_local $$69) ) ) + (set_local $$148 + (get_local $$67) + ) + (set_local $$149 + (get_local $$70) + ) + (set_local $$pl$0 + (i32.const 0) + ) + (set_local $$prefix$0 + (i32.const 4091) + ) + (set_local $label + (i32.const 76) + ) (br $switch$24) ) ) (block - (set_local $$65 + (set_local $$161 (get_local $$arg) ) - (set_local $$66 - (get_local $$65) + (set_local $$162 + (get_local $$161) ) - (set_local $$67 + (set_local $$163 (i32.load - (get_local $$66) + (get_local $$162) ) ) - (set_local $$68 + (set_local $$164 (i32.add - (get_local $$65) + (get_local $$161) (i32.const 4) ) ) - (set_local $$69 - (get_local $$68) + (set_local $$165 + (get_local $$164) ) - (set_local $$70 + (set_local $$166 (i32.load - (get_local $$69) + (get_local $$165) + ) + ) + (set_local $$167 + (i32.and + (get_local $$163) + (i32.const 255) ) ) - (set_local $$148 - (get_local $$67) + (i32.store8 + (get_local $$add$ptr340) + (get_local $$167) + ) + (set_local $$a$2 + (get_local $$add$ptr340) ) - (set_local $$149 - (get_local $$70) + (set_local $$fl$6 + (get_local $$and219) + ) + (set_local $$p$5 + (i32.const 1) ) - (set_local $$pl$0 + (set_local $$pl$2 (i32.const 0) ) - (set_local $$prefix$0 + (set_local $$prefix$2 (i32.const 4091) ) - (set_local $label - (i32.const 76) + (set_local $$z$2 + (get_local $$add$ptr205) ) (br $switch$24) ) ) (block - (set_local $$161 - (get_local $$arg) - ) - (set_local $$162 - (get_local $$161) - ) - (set_local $$163 - (i32.load - (get_local $$162) - ) - ) - (set_local $$164 - (i32.add - (get_local $$161) - (i32.const 4) - ) - ) - (set_local $$165 - (get_local $$164) + (set_local $$call344 + (call $___errno_location) ) - (set_local $$166 + (set_local $$168 (i32.load - (get_local $$165) - ) - ) - (set_local $$167 - (i32.and - (get_local $$163) - (i32.const 255) - ) - ) - (i32.store8 - (get_local $$add$ptr340) - (get_local $$167) - ) - (set_local $$a$2 - (get_local $$add$ptr340) - ) - (set_local $$fl$6 - (get_local $$and219) - ) - (set_local $$p$5 - (i32.const 1) - ) - (set_local $$pl$2 - (i32.const 0) - ) - (set_local $$prefix$2 - (i32.const 4091) - ) - (set_local $$z$2 - (get_local $$add$ptr205) - ) - (br $switch$24) - ) - ) - (block - (set_local $$call344 - (call $___errno_location) - ) - (set_local $$168 - (i32.load - (get_local $$call344) - ) - ) - (set_local $$call345 - (call $_strerror - (get_local $$168) - ) - ) - (set_local $$a$1 - (get_local $$call345) - ) - (set_local $label - (i32.const 82) - ) - (br $switch$24) - ) - ) - (block - (set_local $$169 - (i32.load - (get_local $$arg) - ) - ) - (set_local $$tobool349 - (i32.ne - (get_local $$169) - (i32.const 0) - ) - ) - (set_local $$cond354 - (if - (get_local $$tobool349) - (get_local $$169) - (i32.const 4101) - ) - ) - (set_local $$a$1 - (get_local $$cond354) - ) - (set_local $label - (i32.const 82) - ) - (br $switch$24) - ) - ) - (block - (set_local $$170 - (get_local $$arg) - ) - (set_local $$171 - (get_local $$170) - ) - (set_local $$172 - (i32.load - (get_local $$171) - ) - ) - (set_local $$173 - (i32.add - (get_local $$170) - (i32.const 4) - ) - ) - (set_local $$174 - (get_local $$173) - ) - (set_local $$175 - (i32.load - (get_local $$174) - ) - ) - (i32.store - (get_local $$wc) - (get_local $$172) - ) - (i32.store - (get_local $$arrayidx370) - (i32.const 0) - ) - (i32.store - (get_local $$arg) - (get_local $$wc) - ) - (set_local $$p$4365 - (i32.const -1) - ) - (set_local $label - (i32.const 86) - ) - (br $switch$24) - ) - ) - (block - (set_local $$cmp377$314 - (i32.eq - (get_local $$p$0) - (i32.const 0) - ) - ) - (if - (get_local $$cmp377$314) - (block - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$1) - (i32.const 0) - (get_local $$fl$1$and219) - ) - (set_local $$i$0$lcssa368 - (i32.const 0) - ) - (set_local $label - (i32.const 98) - ) - ) - (block - (set_local $$p$4365 - (get_local $$p$0) - ) - (set_local $label - (i32.const 86) - ) - ) - ) - (br $switch$24) - ) - ) - (nop) - ) - (nop) - ) - (nop) - ) - (nop) - ) - (nop) - ) - (nop) - ) - (nop) - ) - (block - (set_local $$181 - (f64.load - (get_local $$arg) - ) - ) - (i32.store - (get_local $$e2$i) - (i32.const 0) - ) - (f64.store - (i32.load - (i32.const 24) - ) - (get_local $$181) - ) - (set_local $$182 - (i32.load - (i32.load - (i32.const 24) - ) - ) - ) - (set_local $$183 - (i32.load - (i32.add - (i32.load - (i32.const 24) - ) - (i32.const 4) - ) - ) - ) - (set_local $$184 - (i32.lt_s - (get_local $$183) - (i32.const 0) - ) - ) - (if - (get_local $$184) - (block - (set_local $$sub$i - (f64.neg - (get_local $$181) - ) - ) - (set_local $$pl$0$i - (i32.const 1) - ) - (set_local $$prefix$0$i - (i32.const 4108) - ) - (set_local $$y$addr$0$i - (get_local $$sub$i) - ) - ) - (block - (set_local $$and$i$238 - (i32.and - (get_local $$fl$1$and219) - (i32.const 2048) - ) - ) - (set_local $$tobool9$i - (i32.eq - (get_local $$and$i$238) - (i32.const 0) - ) - ) - (if - (get_local $$tobool9$i) - (block - (set_local $$and12$i - (i32.and - (get_local $$fl$1$and219) - (i32.const 1) - ) - ) - (set_local $$tobool13$i - (i32.eq - (get_local $$and12$i) - (i32.const 0) - ) - ) - (set_local $$$$i - (if - (get_local $$tobool13$i) - (i32.const 4109) - (i32.const 4114) - ) - ) - (set_local $$pl$0$i - (get_local $$and12$i) - ) - (set_local $$prefix$0$i - (get_local $$$$i) - ) - (set_local $$y$addr$0$i - (get_local $$181) - ) - ) - (block - (set_local $$pl$0$i - (i32.const 1) - ) - (set_local $$prefix$0$i - (i32.const 4111) - ) - (set_local $$y$addr$0$i - (get_local $$181) - ) - ) - ) - ) - ) - (f64.store - (i32.load - (i32.const 24) - ) - (get_local $$y$addr$0$i) - ) - (set_local $$185 - (i32.load - (i32.load - (i32.const 24) - ) - ) - ) - (set_local $$186 - (i32.load - (i32.add - (i32.load - (i32.const 24) - ) - (i32.const 4) - ) - ) - ) - (set_local $$187 - (i32.and - (get_local $$186) - (i32.const 2146435072) - ) - ) - (set_local $$188 - (i32.lt_u - (get_local $$187) - (i32.const 2146435072) - ) - ) - (set_local $$189 - (i32.lt_s - (i32.const 0) - (i32.const 0) - ) - ) - (set_local $$190 - (i32.eq - (get_local $$187) - (i32.const 2146435072) - ) - ) - (set_local $$191 - (i32.and - (get_local $$190) - (get_local $$189) - ) - ) - (set_local $$192 - (i32.or - (get_local $$188) - (get_local $$191) - ) - ) - (block $do-once$56 - (if - (get_local $$192) - (block - (set_local $$call55$i - (call $_frexpl - (get_local $$y$addr$0$i) - (get_local $$e2$i) - ) - ) - (set_local $$mul$i$240 - (f64.mul - (get_local $$call55$i) - (f64.const 2) - ) - ) - (set_local $$tobool56$i - (f64.ne - (get_local $$mul$i$240) - (f64.const 0) - ) - ) - (if - (get_local $$tobool56$i) - (block - (set_local $$195 - (i32.load - (get_local $$e2$i) - ) - ) - (set_local $$dec$i - (i32.add - (get_local $$195) - (i32.const -1) - ) - ) - (i32.store - (get_local $$e2$i) - (get_local $$dec$i) - ) - ) - ) - (set_local $$or$i$241 - (i32.or - (get_local $$t$0) - (i32.const 32) - ) - ) - (set_local $$cmp59$i - (i32.eq - (get_local $$or$i$241) - (i32.const 97) - ) - ) - (if - (get_local $$cmp59$i) - (block - (set_local $$and62$i - (i32.and - (get_local $$t$0) - (i32.const 32) - ) - ) - (set_local $$tobool63$i - (i32.eq - (get_local $$and62$i) - (i32.const 0) - ) - ) - (set_local $$add$ptr65$i - (i32.add - (get_local $$prefix$0$i) - (i32.const 9) - ) - ) - (set_local $$prefix$0$add$ptr65$i - (if - (get_local $$tobool63$i) - (get_local $$prefix$0$i) - (get_local $$add$ptr65$i) - ) - ) - (set_local $$add67$i - (i32.or - (get_local $$pl$0$i) - (i32.const 2) - ) - ) - (set_local $$196 - (i32.gt_u - (get_local $$p$0) - (i32.const 11) - ) - ) - (set_local $$sub74$i - (i32.sub - (i32.const 12) - (get_local $$p$0) - ) - ) - (set_local $$tobool76552$i - (i32.eq - (get_local $$sub74$i) - (i32.const 0) - ) - ) - (set_local $$tobool76$i - (i32.or - (get_local $$196) - (get_local $$tobool76552$i) - ) - ) - (block $do-once$58 - (if - (get_local $$tobool76$i) - (set_local $$y$addr$1$i - (get_local $$mul$i$240) - ) - (block - (set_local $$re$1482$i - (get_local $$sub74$i) - ) - (set_local $$round$0481$i - (f64.const 8) - ) - (loop $while-out$60 $while-in$61 - (set_local $$dec78$i - (i32.add - (get_local $$re$1482$i) - (i32.const -1) - ) - ) - (set_local $$mul80$i - (f64.mul - (get_local $$round$0481$i) - (f64.const 16) - ) - ) - (set_local $$tobool79$i - (i32.eq - (get_local $$dec78$i) - (i32.const 0) - ) - ) - (if - (get_local $$tobool79$i) - (block - (set_local $$mul80$i$lcssa - (get_local $$mul80$i) - ) - (br $while-out$60) - ) - (block - (set_local $$re$1482$i - (get_local $$dec78$i) - ) - (set_local $$round$0481$i - (get_local $$mul80$i) - ) - ) - ) - (br $while-in$61) - ) - (set_local $$197 - (i32.load8_s - (get_local $$prefix$0$add$ptr65$i) - ) - ) - (set_local $$cmp82$i - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$197) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const 45) - ) - ) - (if - (get_local $$cmp82$i) - (block - (set_local $$sub85$i - (f64.neg - (get_local $$mul$i$240) - ) - ) - (set_local $$sub86$i - (f64.sub - (get_local $$sub85$i) - (get_local $$mul80$i$lcssa) - ) - ) - (set_local $$add87$i - (f64.add - (get_local $$mul80$i$lcssa) - (get_local $$sub86$i) - ) - ) - (set_local $$sub88$i - (f64.neg - (get_local $$add87$i) - ) - ) - (set_local $$y$addr$1$i - (get_local $$sub88$i) - ) - (br $do-once$58) - ) - (block - (set_local $$add90$i - (f64.add - (get_local $$mul$i$240) - (get_local $$mul80$i$lcssa) - ) - ) - (set_local $$sub91$i - (f64.sub - (get_local $$add90$i) - (get_local $$mul80$i$lcssa) - ) - ) - (set_local $$y$addr$1$i - (get_local $$sub91$i) - ) - (br $do-once$58) - ) - ) - ) - ) - ) - (set_local $$198 - (i32.load - (get_local $$e2$i) - ) - ) - (set_local $$cmp94$i - (i32.lt_s - (get_local $$198) - (i32.const 0) - ) - ) - (set_local $$sub97$i - (i32.sub - (i32.const 0) - (get_local $$198) - ) - ) - (set_local $$cond100$i - (if - (get_local $$cmp94$i) - (get_local $$sub97$i) - (get_local $$198) - ) - ) - (set_local $$199 - (i32.lt_s - (get_local $$cond100$i) - (i32.const 0) - ) - ) - (set_local $$200 - (i32.shr_s - (i32.shl - (get_local $$199) - (i32.const 31) - ) - (i32.const 31) - ) - ) - (set_local $$201 - (call $_fmt_u - (get_local $$cond100$i) - (get_local $$200) - (get_local $$arrayidx$i$236) - ) - ) - (set_local $$cmp103$i - (i32.eq - (get_local $$201) - (get_local $$arrayidx$i$236) - ) - ) - (if - (get_local $$cmp103$i) - (block - (i32.store8 - (get_local $$incdec$ptr106$i) - (i32.const 48) - ) - (set_local $$estr$0$i - (get_local $$incdec$ptr106$i) - ) - ) - (set_local $$estr$0$i - (get_local $$201) - ) - ) - (set_local $$202 - (i32.shr_s - (get_local $$198) - (i32.const 31) - ) - ) - (set_local $$203 - (i32.and - (get_local $$202) - (i32.const 2) - ) - ) - (set_local $$204 - (i32.add - (get_local $$203) - (i32.const 43) - ) - ) - (set_local $$conv111$i - (i32.and - (get_local $$204) - (i32.const 255) - ) - ) - (set_local $$incdec$ptr112$i - (i32.add - (get_local $$estr$0$i) - (i32.const -1) - ) - ) - (i32.store8 - (get_local $$incdec$ptr112$i) - (get_local $$conv111$i) - ) - (set_local $$add113$i - (i32.add - (get_local $$t$0) - (i32.const 15) - ) - ) - (set_local $$conv114$i - (i32.and - (get_local $$add113$i) - (i32.const 255) - ) - ) - (set_local $$incdec$ptr115$i - (i32.add - (get_local $$estr$0$i) - (i32.const -2) - ) - ) - (i32.store8 - (get_local $$incdec$ptr115$i) - (get_local $$conv114$i) - ) - (set_local $$notrhs$i - (i32.lt_s - (get_local $$p$0) - (i32.const 1) - ) - ) - (set_local $$and134$i - (i32.and - (get_local $$fl$1$and219) - (i32.const 8) - ) - ) - (set_local $$tobool135$i - (i32.eq - (get_local $$and134$i) - (i32.const 0) - ) - ) - (set_local $$s$0$i - (get_local $$buf$i) - ) - (set_local $$y$addr$2$i - (get_local $$y$addr$1$i) - ) - (loop $while-out$62 $while-in$63 - (set_local $$conv116$i - (i32.trunc_s/f64 - (get_local $$y$addr$2$i) - ) - ) - (set_local $$arrayidx117$i - (i32.add - (i32.const 4075) - (get_local $$conv116$i) - ) - ) - (set_local $$205 - (i32.load8_s - (get_local $$arrayidx117$i) - ) - ) - (set_local $$conv118$393$i - (i32.and - (get_local $$205) - (i32.const 255) - ) - ) - (set_local $$or120$i - (i32.or - (get_local $$conv118$393$i) - (get_local $$and62$i) - ) - ) - (set_local $$conv121$i - (i32.and - (get_local $$or120$i) - (i32.const 255) - ) - ) - (set_local $$incdec$ptr122$i - (i32.add - (get_local $$s$0$i) - (i32.const 1) - ) - ) - (i32.store8 - (get_local $$s$0$i) - (get_local $$conv121$i) - ) - (set_local $$conv123$i - (f64.convert_s/i32 - (get_local $$conv116$i) - ) - ) - (set_local $$sub124$i - (f64.sub - (get_local $$y$addr$2$i) - (get_local $$conv123$i) - ) - ) - (set_local $$mul125$i - (f64.mul - (get_local $$sub124$i) - (f64.const 16) - ) - ) - (set_local $$sub$ptr$lhs$cast$i - (get_local $$incdec$ptr122$i) - ) - (set_local $$sub$ptr$sub$i - (i32.sub - (get_local $$sub$ptr$lhs$cast$i) - (get_local $$sub$ptr$rhs$cast$i) - ) - ) - (set_local $$cmp127$i - (i32.eq - (get_local $$sub$ptr$sub$i) - (i32.const 1) - ) - ) - (block $do-once$64 - (if - (get_local $$cmp127$i) - (block - (set_local $$notlhs$i - (f64.eq - (get_local $$mul125$i) - (f64.const 0) - ) - ) - (set_local $$or$cond1$not$i - (i32.and - (get_local $$notrhs$i) - (get_local $$notlhs$i) - ) - ) - (set_local $$or$cond$i - (i32.and - (get_local $$tobool135$i) - (get_local $$or$cond1$not$i) - ) - ) - (if - (get_local $$or$cond$i) - (block - (set_local $$s$1$i - (get_local $$incdec$ptr122$i) - ) - (br $do-once$64) - ) - ) - (set_local $$incdec$ptr137$i - (i32.add - (get_local $$s$0$i) - (i32.const 2) - ) - ) - (i32.store8 - (get_local $$incdec$ptr122$i) - (i32.const 46) - ) - (set_local $$s$1$i - (get_local $$incdec$ptr137$i) - ) - ) - (set_local $$s$1$i - (get_local $$incdec$ptr122$i) - ) - ) - ) - (set_local $$tobool139$i - (f64.ne - (get_local $$mul125$i) - (f64.const 0) - ) - ) - (if - (get_local $$tobool139$i) - (block - (set_local $$s$0$i - (get_local $$s$1$i) - ) - (set_local $$y$addr$2$i - (get_local $$mul125$i) - ) - ) - (block - (set_local $$s$1$i$lcssa - (get_local $$s$1$i) - ) - (br $while-out$62) - ) - ) - (br $while-in$63) - ) - (set_local $$tobool140$i - (i32.ne - (get_local $$p$0) - (i32.const 0) - ) - ) - (set_local $$$pre566$i - (get_local $$s$1$i$lcssa) - ) - (set_local $$sub146$i - (i32.add - (get_local $$sub$ptr$sub145$i) - (get_local $$$pre566$i) - ) - ) - (set_local $$cmp147$i - (i32.lt_s - (get_local $$sub146$i) - (get_local $$p$0) - ) - ) - (set_local $$or$cond384 - (i32.and - (get_local $$tobool140$i) - (get_local $$cmp147$i) - ) - ) - (set_local $$sub$ptr$rhs$cast152$i - (get_local $$incdec$ptr115$i) - ) - (set_local $$add150$i - (i32.add - (get_local $$sub$ptr$sub153$i) - (get_local $$p$0) - ) - ) - (set_local $$add154$i - (i32.sub - (get_local $$add150$i) - (get_local $$sub$ptr$rhs$cast152$i) - ) - ) - (set_local $$sub$ptr$rhs$cast161$i - (get_local $$incdec$ptr115$i) - ) - (set_local $$sub$ptr$sub162$i - (i32.sub - (get_local $$sub$ptr$sub159$i) - (get_local $$sub$ptr$rhs$cast161$i) - ) - ) - (set_local $$add163$i - (i32.add - (get_local $$sub$ptr$sub162$i) - (get_local $$$pre566$i) - ) - ) - (set_local $$l$0$i - (if - (get_local $$or$cond384) - (get_local $$add154$i) - (get_local $$add163$i) - ) - ) - (set_local $$add165$i - (i32.add - (get_local $$l$0$i) - (get_local $$add67$i) - ) - ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$1) - (get_local $$add165$i) - (get_local $$fl$1$and219) - ) - (set_local $$206 - (i32.load - (get_local $$f) - ) - ) - (set_local $$and$i$418$i - (i32.and - (get_local $$206) - (i32.const 32) - ) - ) - (set_local $$tobool$i$419$i - (i32.eq - (get_local $$and$i$418$i) - (i32.const 0) - ) - ) - (if - (get_local $$tobool$i$419$i) - (call $___fwritex - (get_local $$prefix$0$add$ptr65$i) - (get_local $$add67$i) - (get_local $$f) - ) - ) - (set_local $$xor167$i - (i32.xor - (get_local $$fl$1$and219) - (i32.const 65536) - ) - ) - (call $_pad - (get_local $$f) - (i32.const 48) - (get_local $$w$1) - (get_local $$add165$i) - (get_local $$xor167$i) - ) - (set_local $$sub$ptr$sub172$i - (i32.sub - (get_local $$$pre566$i) - (get_local $$sub$ptr$rhs$cast$i) - ) - ) - (set_local $$207 - (i32.load - (get_local $$f) - ) - ) - (set_local $$and$i$424$i - (i32.and - (get_local $$207) - (i32.const 32) - ) - ) - (set_local $$tobool$i$425$i - (i32.eq - (get_local $$and$i$424$i) - (i32.const 0) - ) - ) - (if - (get_local $$tobool$i$425$i) - (call $___fwritex - (get_local $$buf$i) - (get_local $$sub$ptr$sub172$i) - (get_local $$f) - ) - ) - (set_local $$sub$ptr$rhs$cast174$i - (get_local $$incdec$ptr115$i) - ) - (set_local $$sub$ptr$sub175$i - (i32.sub - (get_local $$sub$ptr$lhs$cast160$i) - (get_local $$sub$ptr$rhs$cast174$i) - ) - ) - (set_local $$sum - (i32.add - (get_local $$sub$ptr$sub172$i) - (get_local $$sub$ptr$sub175$i) - ) - ) - (set_local $$sub181$i - (i32.sub - (get_local $$l$0$i) - (get_local $$sum) - ) - ) - (call $_pad - (get_local $$f) - (i32.const 48) - (get_local $$sub181$i) - (i32.const 0) - (i32.const 0) - ) - (set_local $$208 - (i32.load - (get_local $$f) - ) - ) - (set_local $$and$i$430$i - (i32.and - (get_local $$208) - (i32.const 32) - ) - ) - (set_local $$tobool$i$431$i - (i32.eq - (get_local $$and$i$430$i) - (i32.const 0) - ) - ) - (if - (get_local $$tobool$i$431$i) - (call $___fwritex - (get_local $$incdec$ptr115$i) - (get_local $$sub$ptr$sub175$i) - (get_local $$f) - ) - ) - (set_local $$xor186$i - (i32.xor - (get_local $$fl$1$and219) - (i32.const 8192) - ) - ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$1) - (get_local $$add165$i) - (get_local $$xor186$i) - ) - (set_local $$cmp188$i - (i32.lt_s - (get_local $$add165$i) - (get_local $$w$1) - ) - ) - (set_local $$w$add165$i - (if - (get_local $$cmp188$i) - (get_local $$w$1) - (get_local $$add165$i) + (get_local $$call344) + ) + ) + (set_local $$call345 + (call $_strerror + (get_local $$168) + ) + ) + (set_local $$a$1 + (get_local $$call345) + ) + (set_local $label + (i32.const 82) + ) + (br $switch$24) + ) + ) + (block + (set_local $$169 + (i32.load + (get_local $$arg) + ) + ) + (set_local $$tobool349 + (i32.ne + (get_local $$169) + (i32.const 0) + ) + ) + (set_local $$cond354 + (if + (get_local $$tobool349) + (get_local $$169) + (i32.const 4101) + ) + ) + (set_local $$a$1 + (get_local $$cond354) + ) + (set_local $label + (i32.const 82) + ) + (br $switch$24) + ) + ) + (block + (set_local $$170 + (get_local $$arg) + ) + (set_local $$171 + (get_local $$170) + ) + (set_local $$172 + (i32.load + (get_local $$171) + ) + ) + (set_local $$173 + (i32.add + (get_local $$170) + (i32.const 4) + ) + ) + (set_local $$174 + (get_local $$173) + ) + (set_local $$175 + (i32.load + (get_local $$174) + ) + ) + (i32.store + (get_local $$wc) + (get_local $$172) + ) + (i32.store + (get_local $$arrayidx370) + (i32.const 0) + ) + (i32.store + (get_local $$arg) + (get_local $$wc) + ) + (set_local $$p$4365 + (i32.const -1) + ) + (set_local $label + (i32.const 86) + ) + (br $switch$24) + ) + ) + (block + (set_local $$cmp377$314 + (i32.eq + (get_local $$p$0) + (i32.const 0) + ) + ) + (if + (get_local $$cmp377$314) + (block + (call $_pad + (get_local $$f) + (i32.const 32) + (get_local $$w$1) + (i32.const 0) + (get_local $$fl$1$and219) + ) + (set_local $$i$0$lcssa368 + (i32.const 0) + ) + (set_local $label + (i32.const 98) + ) + ) + (block + (set_local $$p$4365 + (get_local $$p$0) + ) + (set_local $label + (i32.const 86) + ) + ) + ) + (br $switch$24) + ) + ) + (nop) ) + (nop) ) - (set_local $$retval$0$i - (get_local $$w$add165$i) - ) - (br $do-once$56) + (nop) ) + (nop) ) - (set_local $$cmp196$i - (i32.lt_s - (get_local $$p$0) - (i32.const 0) + (nop) + ) + (nop) + ) + (nop) + ) + (block + (set_local $$181 + (f64.load + (get_local $$arg) + ) + ) + (i32.store + (get_local $$e2$i) + (i32.const 0) + ) + (f64.store + (i32.load + (i32.const 24) + ) + (get_local $$181) + ) + (set_local $$182 + (i32.load + (i32.load + (i32.const 24) + ) + ) + ) + (set_local $$183 + (i32.load + (i32.add + (i32.load + (i32.const 24) ) + (i32.const 4) ) - (set_local $$$p$i - (if - (get_local $$cmp196$i) - (i32.const 6) - (get_local $$p$0) + ) + ) + (set_local $$184 + (i32.lt_s + (get_local $$183) + (i32.const 0) + ) + ) + (if + (get_local $$184) + (block + (set_local $$sub$i + (f64.neg + (get_local $$181) + ) + ) + (set_local $$pl$0$i + (i32.const 1) + ) + (set_local $$prefix$0$i + (i32.const 4108) + ) + (set_local $$y$addr$0$i + (get_local $$sub$i) + ) + ) + (block + (set_local $$and$i$238 + (i32.and + (get_local $$fl$1$and219) + (i32.const 2048) + ) + ) + (set_local $$tobool9$i + (i32.eq + (get_local $$and$i$238) + (i32.const 0) ) ) (if - (get_local $$tobool56$i) + (get_local $$tobool9$i) (block - (set_local $$mul202$i - (f64.mul - (get_local $$mul$i$240) - (f64.const 268435456) + (set_local $$and12$i + (i32.and + (get_local $$fl$1$and219) + (i32.const 1) ) ) - (set_local $$209 - (i32.load - (get_local $$e2$i) + (set_local $$tobool13$i + (i32.eq + (get_local $$and12$i) + (i32.const 0) ) ) - (set_local $$sub203$i - (i32.add - (get_local $$209) - (i32.const -28) + (set_local $$$$i + (if + (get_local $$tobool13$i) + (i32.const 4109) + (i32.const 4114) ) ) - (i32.store - (get_local $$e2$i) - (get_local $$sub203$i) + (set_local $$pl$0$i + (get_local $$and12$i) ) - (set_local $$210 - (get_local $$sub203$i) + (set_local $$prefix$0$i + (get_local $$$$i) ) - (set_local $$y$addr$3$i - (get_local $$mul202$i) + (set_local $$y$addr$0$i + (get_local $$181) ) ) (block - (set_local $$$pre564$i - (i32.load - (get_local $$e2$i) - ) + (set_local $$pl$0$i + (i32.const 1) ) - (set_local $$210 - (get_local $$$pre564$i) + (set_local $$prefix$0$i + (i32.const 4111) ) - (set_local $$y$addr$3$i - (get_local $$mul$i$240) + (set_local $$y$addr$0$i + (get_local $$181) ) ) ) - (set_local $$cmp205$i - (i32.lt_s - (get_local $$210) - (i32.const 0) - ) + ) + ) + (f64.store + (i32.load + (i32.const 24) + ) + (get_local $$y$addr$0$i) + ) + (set_local $$185 + (i32.load + (i32.load + (i32.const 24) ) - (set_local $$arraydecay208$add$ptr213$i - (if - (get_local $$cmp205$i) - (get_local $$big$i) - (get_local $$add$ptr213$i) + ) + ) + (set_local $$186 + (i32.load + (i32.add + (i32.load + (i32.const 24) ) + (i32.const 4) ) - (set_local $$sub$ptr$rhs$cast345$i - (get_local $$arraydecay208$add$ptr213$i) - ) - (set_local $$y$addr$4$i - (get_local $$y$addr$3$i) - ) - (set_local $$z$0$i - (get_local $$arraydecay208$add$ptr213$i) - ) - (loop $while-out$66 $while-in$67 - (set_local $$conv216$i - (i32.trunc_s/f64 - (get_local $$y$addr$4$i) - ) - ) - (i32.store - (get_local $$z$0$i) - (get_local $$conv216$i) - ) - (set_local $$incdec$ptr217$i - (i32.add - (get_local $$z$0$i) - (i32.const 4) - ) - ) - (set_local $$conv218$i - (f64.convert_u/i32 - (get_local $$conv216$i) - ) - ) - (set_local $$sub219$i - (f64.sub - (get_local $$y$addr$4$i) - (get_local $$conv218$i) + ) + ) + (set_local $$187 + (i32.and + (get_local $$186) + (i32.const 2146435072) + ) + ) + (set_local $$188 + (i32.lt_u + (get_local $$187) + (i32.const 2146435072) + ) + ) + (set_local $$189 + (i32.lt_s + (i32.const 0) + (i32.const 0) + ) + ) + (set_local $$190 + (i32.eq + (get_local $$187) + (i32.const 2146435072) + ) + ) + (set_local $$191 + (i32.and + (get_local $$190) + (get_local $$189) + ) + ) + (set_local $$192 + (i32.or + (get_local $$188) + (get_local $$191) + ) + ) + (block $do-once$56 + (if + (get_local $$192) + (block + (set_local $$call55$i + (call $_frexpl + (get_local $$y$addr$0$i) + (get_local $$e2$i) ) ) - (set_local $$mul220$i + (set_local $$mul$i$240 (f64.mul - (get_local $$sub219$i) - (f64.const 1e9) + (get_local $$call55$i) + (f64.const 2) ) ) - (set_local $$tobool222$i + (set_local $$tobool56$i (f64.ne - (get_local $$mul220$i) + (get_local $$mul$i$240) (f64.const 0) ) ) (if - (get_local $$tobool222$i) + (get_local $$tobool56$i) (block - (set_local $$y$addr$4$i - (get_local $$mul220$i) + (set_local $$195 + (i32.load + (get_local $$e2$i) + ) ) - (set_local $$z$0$i - (get_local $$incdec$ptr217$i) + (set_local $$dec$i + (i32.add + (get_local $$195) + (i32.const -1) + ) ) - ) - (block - (set_local $$incdec$ptr217$i$lcssa - (get_local $$incdec$ptr217$i) + (i32.store + (get_local $$e2$i) + (get_local $$dec$i) ) - (br $while-out$66) ) ) - (br $while-in$67) - ) - (set_local $$$pr$i - (i32.load - (get_local $$e2$i) - ) - ) - (set_local $$cmp225$547$i - (i32.gt_s - (get_local $$$pr$i) - (i32.const 0) - ) - ) - (if - (get_local $$cmp225$547$i) - (block - (set_local $$211 - (get_local $$$pr$i) - ) - (set_local $$a$1549$i - (get_local $$arraydecay208$add$ptr213$i) + (set_local $$or$i$241 + (i32.or + (get_local $$t$0) + (i32.const 32) ) - (set_local $$z$1548$i - (get_local $$incdec$ptr217$i$lcssa) + ) + (set_local $$cmp59$i + (i32.eq + (get_local $$or$i$241) + (i32.const 97) ) - (loop $while-out$68 $while-in$69 - (set_local $$cmp228$i - (i32.gt_s - (get_local $$211) - (i32.const 29) + ) + (if + (get_local $$cmp59$i) + (block + (set_local $$and62$i + (i32.and + (get_local $$t$0) + (i32.const 32) ) ) - (set_local $$cond233$i - (if - (get_local $$cmp228$i) - (i32.const 29) - (get_local $$211) + (set_local $$tobool63$i + (i32.eq + (get_local $$and62$i) + (i32.const 0) ) ) - (set_local $$d$0$542$i + (set_local $$add$ptr65$i (i32.add - (get_local $$z$1548$i) - (i32.const -4) + (get_local $$prefix$0$i) + (i32.const 9) ) ) - (set_local $$cmp235$543$i - (i32.lt_u - (get_local $$d$0$542$i) - (get_local $$a$1549$i) + (set_local $$prefix$0$add$ptr65$i + (if + (get_local $$tobool63$i) + (get_local $$prefix$0$i) + (get_local $$add$ptr65$i) + ) + ) + (set_local $$add67$i + (i32.or + (get_local $$pl$0$i) + (i32.const 2) ) ) - (block $do-once$70 + (set_local $$196 + (i32.gt_u + (get_local $$p$0) + (i32.const 11) + ) + ) + (set_local $$sub74$i + (i32.sub + (i32.const 12) + (get_local $$p$0) + ) + ) + (set_local $$tobool76552$i + (i32.eq + (get_local $$sub74$i) + (i32.const 0) + ) + ) + (set_local $$tobool76$i + (i32.or + (get_local $$196) + (get_local $$tobool76552$i) + ) + ) + (block $do-once$58 (if - (get_local $$cmp235$543$i) - (set_local $$a$2$ph$i - (get_local $$a$1549$i) + (get_local $$tobool76$i) + (set_local $$y$addr$1$i + (get_local $$mul$i$240) ) (block - (set_local $$carry$0544$i - (i32.const 0) + (set_local $$re$1482$i + (get_local $$sub74$i) ) - (set_local $$d$0545$i - (get_local $$d$0$542$i) + (set_local $$round$0481$i + (f64.const 8) ) - (loop $while-out$72 $while-in$73 - (set_local $$212 - (i32.load - (get_local $$d$0545$i) + (loop $while-in$61 + (block $while-out$60 + (set_local $$dec78$i + (i32.add + (get_local $$re$1482$i) + (i32.const -1) + ) ) - ) - (set_local $$213 - (call $_bitshift64Shl - (get_local $$212) - (i32.const 0) - (get_local $$cond233$i) + (set_local $$mul80$i + (f64.mul + (get_local $$round$0481$i) + (f64.const 16) + ) ) - ) - (set_local $$214 - (i32.load - (i32.const 168) + (set_local $$tobool79$i + (i32.eq + (get_local $$dec78$i) + (i32.const 0) + ) ) - ) - (set_local $$215 - (call $_i64Add - (get_local $$213) - (get_local $$214) - (get_local $$carry$0544$i) - (i32.const 0) + (if + (get_local $$tobool79$i) + (block + (set_local $$mul80$i$lcssa + (get_local $$mul80$i) + ) + (br $while-out$60) + ) + (block + (set_local $$re$1482$i + (get_local $$dec78$i) + ) + (set_local $$round$0481$i + (get_local $$mul80$i) + ) + ) ) + (br $while-in$61) ) - (set_local $$216 - (i32.load - (i32.const 168) - ) + ) + (set_local $$197 + (i32.load8_s + (get_local $$prefix$0$add$ptr65$i) ) - (set_local $$217 - (call $___uremdi3 - (get_local $$215) - (get_local $$216) - (i32.const 1000000000) - (i32.const 0) + ) + (set_local $$cmp82$i + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$197) + (i32.const 24) + ) + (i32.const 24) ) + (i32.const 45) ) - (set_local $$218 - (i32.load - (i32.const 168) + ) + (if + (get_local $$cmp82$i) + (block + (set_local $$sub85$i + (f64.neg + (get_local $$mul$i$240) + ) ) - ) - (i32.store - (get_local $$d$0545$i) - (get_local $$217) - ) - (set_local $$219 - (call $___udivdi3 - (get_local $$215) - (get_local $$216) - (i32.const 1000000000) - (i32.const 0) + (set_local $$sub86$i + (f64.sub + (get_local $$sub85$i) + (get_local $$mul80$i$lcssa) + ) ) - ) - (set_local $$220 - (i32.load - (i32.const 168) + (set_local $$add87$i + (f64.add + (get_local $$mul80$i$lcssa) + (get_local $$sub86$i) + ) ) - ) - (set_local $$d$0$i - (i32.add - (get_local $$d$0545$i) - (i32.const -4) + (set_local $$sub88$i + (f64.neg + (get_local $$add87$i) + ) ) - ) - (set_local $$cmp235$i - (i32.lt_u - (get_local $$d$0$i) - (get_local $$a$1549$i) + (set_local $$y$addr$1$i + (get_local $$sub88$i) ) + (br $do-once$58) ) - (if - (get_local $$cmp235$i) - (block - (set_local $$conv242$i$lcssa - (get_local $$219) + (block + (set_local $$add90$i + (f64.add + (get_local $$mul$i$240) + (get_local $$mul80$i$lcssa) ) - (br $while-out$72) ) - (block - (set_local $$carry$0544$i - (get_local $$219) - ) - (set_local $$d$0545$i - (get_local $$d$0$i) + (set_local $$sub91$i + (f64.sub + (get_local $$add90$i) + (get_local $$mul80$i$lcssa) ) ) - ) - (br $while-in$73) - ) - (set_local $$tobool244$i - (i32.eq - (get_local $$conv242$i$lcssa) - (i32.const 0) - ) - ) - (if - (get_local $$tobool244$i) - (block - (set_local $$a$2$ph$i - (get_local $$a$1549$i) + (set_local $$y$addr$1$i + (get_local $$sub91$i) ) - (br $do-once$70) - ) - ) - (set_local $$incdec$ptr246$i - (i32.add - (get_local $$a$1549$i) - (i32.const -4) + (br $do-once$58) ) ) - (i32.store - (get_local $$incdec$ptr246$i) - (get_local $$conv242$i$lcssa) - ) - (set_local $$a$2$ph$i - (get_local $$incdec$ptr246$i) - ) ) ) ) - (set_local $$z$2$i - (get_local $$z$1548$i) - ) - (loop $while-out$74 $while-in$75 - (set_local $$cmp249$i - (i32.gt_u - (get_local $$z$2$i) - (get_local $$a$2$ph$i) - ) - ) - (if - (i32.eqz - (get_local $$cmp249$i) - ) - (block - (set_local $$z$2$i$lcssa - (get_local $$z$2$i) - ) - (br $while-out$74) - ) - ) - (set_local $$arrayidx251$i - (i32.add - (get_local $$z$2$i) - (i32.const -4) - ) + (set_local $$198 + (i32.load + (get_local $$e2$i) ) - (set_local $$221 - (i32.load - (get_local $$arrayidx251$i) - ) + ) + (set_local $$cmp94$i + (i32.lt_s + (get_local $$198) + (i32.const 0) ) - (set_local $$lnot$i - (i32.eq - (get_local $$221) - (i32.const 0) - ) + ) + (set_local $$sub97$i + (i32.sub + (i32.const 0) + (get_local $$198) ) + ) + (set_local $$cond100$i (if - (get_local $$lnot$i) - (set_local $$z$2$i - (get_local $$arrayidx251$i) - ) - (block - (set_local $$z$2$i$lcssa - (get_local $$z$2$i) - ) - (br $while-out$74) - ) + (get_local $$cmp94$i) + (get_local $$sub97$i) + (get_local $$198) ) - (br $while-in$75) ) - (set_local $$222 - (i32.load - (get_local $$e2$i) + (set_local $$199 + (i32.lt_s + (get_local $$cond100$i) + (i32.const 0) ) ) - (set_local $$sub256$i - (i32.sub - (get_local $$222) - (get_local $$cond233$i) + (set_local $$200 + (i32.shr_s + (i32.shl + (get_local $$199) + (i32.const 31) + ) + (i32.const 31) ) ) - (i32.store - (get_local $$e2$i) - (get_local $$sub256$i) + (set_local $$201 + (call $_fmt_u + (get_local $$cond100$i) + (get_local $$200) + (get_local $$arrayidx$i$236) + ) ) - (set_local $$cmp225$i - (i32.gt_s - (get_local $$sub256$i) - (i32.const 0) + (set_local $$cmp103$i + (i32.eq + (get_local $$201) + (get_local $$arrayidx$i$236) ) ) (if - (get_local $$cmp225$i) + (get_local $$cmp103$i) (block - (set_local $$211 - (get_local $$sub256$i) - ) - (set_local $$a$1549$i - (get_local $$a$2$ph$i) + (i32.store8 + (get_local $$incdec$ptr106$i) + (i32.const 48) ) - (set_local $$z$1548$i - (get_local $$z$2$i$lcssa) + (set_local $$estr$0$i + (get_local $$incdec$ptr106$i) ) ) - (block - (set_local $$$pr477$i - (get_local $$sub256$i) - ) - (set_local $$a$1$lcssa$i - (get_local $$a$2$ph$i) - ) - (set_local $$z$1$lcssa$i - (get_local $$z$2$i$lcssa) - ) - (br $while-out$68) + (set_local $$estr$0$i + (get_local $$201) ) ) - (br $while-in$69) - ) - ) - (block - (set_local $$$pr477$i - (get_local $$$pr$i) - ) - (set_local $$a$1$lcssa$i - (get_local $$arraydecay208$add$ptr213$i) - ) - (set_local $$z$1$lcssa$i - (get_local $$incdec$ptr217$i$lcssa) - ) - ) - ) - (set_local $$cmp259$537$i - (i32.lt_s - (get_local $$$pr477$i) - (i32.const 0) - ) - ) - (if - (get_local $$cmp259$537$i) - (block - (set_local $$add273$i - (i32.add - (get_local $$$p$i) - (i32.const 25) + (set_local $$202 + (i32.shr_s + (get_local $$198) + (i32.const 31) + ) ) - ) - (set_local $$div274$i - (i32.and - (i32.div_s - (get_local $$add273$i) - (i32.const 9) + (set_local $$203 + (i32.and + (get_local $$202) + (i32.const 2) ) - (i32.const -1) ) - ) - (set_local $$add275$i - (i32.add - (get_local $$div274$i) - (i32.const 1) + (set_local $$204 + (i32.add + (get_local $$203) + (i32.const 43) + ) ) - ) - (set_local $$cmp299$i - (i32.eq - (get_local $$or$i$241) - (i32.const 102) + (set_local $$conv111$i + (i32.and + (get_local $$204) + (i32.const 255) + ) ) - ) - (set_local $$223 - (get_local $$$pr477$i) - ) - (set_local $$a$3539$i - (get_local $$a$1$lcssa$i) - ) - (set_local $$z$3538$i - (get_local $$z$1$lcssa$i) - ) - (loop $while-out$76 $while-in$77 - (set_local $$sub264$i - (i32.sub - (i32.const 0) - (get_local $$223) + (set_local $$incdec$ptr112$i + (i32.add + (get_local $$estr$0$i) + (i32.const -1) ) ) - (set_local $$cmp265$i - (i32.gt_s - (get_local $$sub264$i) - (i32.const 9) + (i32.store8 + (get_local $$incdec$ptr112$i) + (get_local $$conv111$i) + ) + (set_local $$add113$i + (i32.add + (get_local $$t$0) + (i32.const 15) ) ) - (set_local $$cond271$i - (if - (get_local $$cmp265$i) - (i32.const 9) - (get_local $$sub264$i) + (set_local $$conv114$i + (i32.and + (get_local $$add113$i) + (i32.const 255) ) ) - (set_local $$cmp277$533$i - (i32.lt_u - (get_local $$a$3539$i) - (get_local $$z$3538$i) + (set_local $$incdec$ptr115$i + (i32.add + (get_local $$estr$0$i) + (i32.const -2) ) ) - (block $do-once$78 - (if - (get_local $$cmp277$533$i) - (block - (set_local $$shl280$i - (i32.shl - (i32.const 1) - (get_local $$cond271$i) - ) + (i32.store8 + (get_local $$incdec$ptr115$i) + (get_local $$conv114$i) + ) + (set_local $$notrhs$i + (i32.lt_s + (get_local $$p$0) + (i32.const 1) + ) + ) + (set_local $$and134$i + (i32.and + (get_local $$fl$1$and219) + (i32.const 8) + ) + ) + (set_local $$tobool135$i + (i32.eq + (get_local $$and134$i) + (i32.const 0) + ) + ) + (set_local $$s$0$i + (get_local $$buf$i) + ) + (set_local $$y$addr$2$i + (get_local $$y$addr$1$i) + ) + (loop $while-in$63 + (block $while-out$62 + (set_local $$conv116$i + (i32.trunc_s/f64 + (get_local $$y$addr$2$i) + ) + ) + (set_local $$arrayidx117$i + (i32.add + (i32.const 4075) + (get_local $$conv116$i) + ) + ) + (set_local $$205 + (i32.load8_s + (get_local $$arrayidx117$i) + ) + ) + (set_local $$conv118$393$i + (i32.and + (get_local $$205) + (i32.const 255) + ) + ) + (set_local $$or120$i + (i32.or + (get_local $$conv118$393$i) + (get_local $$and62$i) ) - (set_local $$sub281$i - (i32.add - (get_local $$shl280$i) - (i32.const -1) - ) + ) + (set_local $$conv121$i + (i32.and + (get_local $$or120$i) + (i32.const 255) ) - (set_local $$shr285$i - (i32.shr_u - (i32.const 1000000000) - (get_local $$cond271$i) - ) + ) + (set_local $$incdec$ptr122$i + (i32.add + (get_local $$s$0$i) + (i32.const 1) ) - (set_local $$carry262$0535$i - (i32.const 0) + ) + (i32.store8 + (get_local $$s$0$i) + (get_local $$conv121$i) + ) + (set_local $$conv123$i + (f64.convert_s/i32 + (get_local $$conv116$i) ) - (set_local $$d$1534$i - (get_local $$a$3539$i) + ) + (set_local $$sub124$i + (f64.sub + (get_local $$y$addr$2$i) + (get_local $$conv123$i) ) - (loop $while-out$80 $while-in$81 - (set_local $$225 - (i32.load - (get_local $$d$1534$i) - ) - ) - (set_local $$and282$i - (i32.and - (get_local $$225) - (get_local $$sub281$i) - ) - ) - (set_local $$shr283$i - (i32.shr_u - (get_local $$225) - (get_local $$cond271$i) - ) - ) - (set_local $$add284$i - (i32.add - (get_local $$shr283$i) - (get_local $$carry262$0535$i) - ) - ) - (i32.store - (get_local $$d$1534$i) - (get_local $$add284$i) - ) - (set_local $$mul286$i - (i32.mul - (get_local $$and282$i) - (get_local $$shr285$i) - ) - ) - (set_local $$incdec$ptr288$i - (i32.add - (get_local $$d$1534$i) - (i32.const 4) + ) + (set_local $$mul125$i + (f64.mul + (get_local $$sub124$i) + (f64.const 16) + ) + ) + (set_local $$sub$ptr$lhs$cast$i + (get_local $$incdec$ptr122$i) + ) + (set_local $$sub$ptr$sub$i + (i32.sub + (get_local $$sub$ptr$lhs$cast$i) + (get_local $$sub$ptr$rhs$cast$i) + ) + ) + (set_local $$cmp127$i + (i32.eq + (get_local $$sub$ptr$sub$i) + (i32.const 1) + ) + ) + (block $do-once$64 + (if + (get_local $$cmp127$i) + (block + (set_local $$notlhs$i + (f64.eq + (get_local $$mul125$i) + (f64.const 0) + ) ) - ) - (set_local $$cmp277$i - (i32.lt_u - (get_local $$incdec$ptr288$i) - (get_local $$z$3538$i) + (set_local $$or$cond1$not$i + (i32.and + (get_local $$notrhs$i) + (get_local $$notlhs$i) + ) ) - ) - (if - (get_local $$cmp277$i) - (block - (set_local $$carry262$0535$i - (get_local $$mul286$i) + (set_local $$or$cond$i + (i32.and + (get_local $$tobool135$i) + (get_local $$or$cond1$not$i) ) - (set_local $$d$1534$i - (get_local $$incdec$ptr288$i) + ) + (if + (get_local $$or$cond$i) + (block + (set_local $$s$1$i + (get_local $$incdec$ptr122$i) + ) + (br $do-once$64) ) ) - (block - (set_local $$mul286$i$lcssa - (get_local $$mul286$i) + (set_local $$incdec$ptr137$i + (i32.add + (get_local $$s$0$i) + (i32.const 2) ) - (br $while-out$80) ) - ) - (br $while-in$81) - ) - (set_local $$226 - (i32.load - (get_local $$a$3539$i) - ) - ) - (set_local $$tobool290$i - (i32.eq - (get_local $$226) - (i32.const 0) - ) - ) - (set_local $$incdec$ptr292$i - (i32.add - (get_local $$a$3539$i) - (i32.const 4) - ) - ) - (set_local $$incdec$ptr292$a$3$i - (if - (get_local $$tobool290$i) - (get_local $$incdec$ptr292$i) - (get_local $$a$3539$i) - ) - ) - (set_local $$tobool294$i - (i32.eq - (get_local $$mul286$i$lcssa) - (i32.const 0) - ) - ) - (if - (get_local $$tobool294$i) - (block - (set_local $$incdec$ptr292$a$3573$i - (get_local $$incdec$ptr292$a$3$i) + (i32.store8 + (get_local $$incdec$ptr122$i) + (i32.const 46) ) - (set_local $$z$4$i - (get_local $$z$3538$i) + (set_local $$s$1$i + (get_local $$incdec$ptr137$i) ) - (br $do-once$78) ) - ) - (set_local $$incdec$ptr296$i - (i32.add - (get_local $$z$3538$i) - (i32.const 4) + (set_local $$s$1$i + (get_local $$incdec$ptr122$i) ) ) - (i32.store - (get_local $$z$3538$i) - (get_local $$mul286$i$lcssa) - ) - (set_local $$incdec$ptr292$a$3573$i - (get_local $$incdec$ptr292$a$3$i) - ) - (set_local $$z$4$i - (get_local $$incdec$ptr296$i) - ) ) - (block - (set_local $$224 - (i32.load - (get_local $$a$3539$i) - ) + (set_local $$tobool139$i + (f64.ne + (get_local $$mul125$i) + (f64.const 0) ) - (set_local $$tobool290$569$i - (i32.eq - (get_local $$224) - (i32.const 0) + ) + (if + (get_local $$tobool139$i) + (block + (set_local $$s$0$i + (get_local $$s$1$i) ) - ) - (set_local $$incdec$ptr292$570$i - (i32.add - (get_local $$a$3539$i) - (i32.const 4) + (set_local $$y$addr$2$i + (get_local $$mul125$i) ) ) - (set_local $$incdec$ptr292$a$3$571$i - (if - (get_local $$tobool290$569$i) - (get_local $$incdec$ptr292$570$i) - (get_local $$a$3539$i) + (block + (set_local $$s$1$i$lcssa + (get_local $$s$1$i) ) - ) - (set_local $$incdec$ptr292$a$3573$i - (get_local $$incdec$ptr292$a$3$571$i) - ) - (set_local $$z$4$i - (get_local $$z$3538$i) + (br $while-out$62) ) ) + (br $while-in$63) ) ) - (set_local $$cond304$i - (if - (get_local $$cmp299$i) - (get_local $$arraydecay208$add$ptr213$i) - (get_local $$incdec$ptr292$a$3573$i) + (set_local $$tobool140$i + (i32.ne + (get_local $$p$0) + (i32.const 0) + ) + ) + (set_local $$$pre566$i + (get_local $$s$1$i$lcssa) + ) + (set_local $$sub146$i + (i32.add + (get_local $$sub$ptr$sub145$i) + (get_local $$$pre566$i) ) ) - (set_local $$sub$ptr$lhs$cast305$i - (get_local $$z$4$i) + (set_local $$cmp147$i + (i32.lt_s + (get_local $$sub146$i) + (get_local $$p$0) + ) ) - (set_local $$sub$ptr$rhs$cast306$i - (get_local $$cond304$i) + (set_local $$or$cond384 + (i32.and + (get_local $$tobool140$i) + (get_local $$cmp147$i) + ) ) - (set_local $$sub$ptr$sub307$i - (i32.sub - (get_local $$sub$ptr$lhs$cast305$i) - (get_local $$sub$ptr$rhs$cast306$i) + (set_local $$sub$ptr$rhs$cast152$i + (get_local $$incdec$ptr115$i) + ) + (set_local $$add150$i + (i32.add + (get_local $$sub$ptr$sub153$i) + (get_local $$p$0) ) ) - (set_local $$sub$ptr$div$i - (i32.shr_s - (get_local $$sub$ptr$sub307$i) - (i32.const 2) + (set_local $$add154$i + (i32.sub + (get_local $$add150$i) + (get_local $$sub$ptr$rhs$cast152$i) ) ) - (set_local $$cmp308$i - (i32.gt_s - (get_local $$sub$ptr$div$i) - (get_local $$add275$i) + (set_local $$sub$ptr$rhs$cast161$i + (get_local $$incdec$ptr115$i) + ) + (set_local $$sub$ptr$sub162$i + (i32.sub + (get_local $$sub$ptr$sub159$i) + (get_local $$sub$ptr$rhs$cast161$i) ) ) - (set_local $$add$ptr311$i + (set_local $$add163$i (i32.add - (get_local $$cond304$i) - (i32.shl - (get_local $$add275$i) - (i32.const 2) - ) + (get_local $$sub$ptr$sub162$i) + (get_local $$$pre566$i) ) ) - (set_local $$add$ptr311$z$4$i + (set_local $$l$0$i (if - (get_local $$cmp308$i) - (get_local $$add$ptr311$i) - (get_local $$z$4$i) + (get_local $$or$cond384) + (get_local $$add154$i) + (get_local $$add163$i) ) ) - (set_local $$227 + (set_local $$add165$i + (i32.add + (get_local $$l$0$i) + (get_local $$add67$i) + ) + ) + (call $_pad + (get_local $$f) + (i32.const 32) + (get_local $$w$1) + (get_local $$add165$i) + (get_local $$fl$1$and219) + ) + (set_local $$206 (i32.load - (get_local $$e2$i) + (get_local $$f) + ) + ) + (set_local $$and$i$418$i + (i32.and + (get_local $$206) + (i32.const 32) + ) + ) + (set_local $$tobool$i$419$i + (i32.eq + (get_local $$and$i$418$i) + (i32.const 0) + ) + ) + (if + (get_local $$tobool$i$419$i) + (call $___fwritex + (get_local $$prefix$0$add$ptr65$i) + (get_local $$add67$i) + (get_local $$f) + ) + ) + (set_local $$xor167$i + (i32.xor + (get_local $$fl$1$and219) + (i32.const 65536) + ) + ) + (call $_pad + (get_local $$f) + (i32.const 48) + (get_local $$w$1) + (get_local $$add165$i) + (get_local $$xor167$i) + ) + (set_local $$sub$ptr$sub172$i + (i32.sub + (get_local $$$pre566$i) + (get_local $$sub$ptr$rhs$cast$i) + ) + ) + (set_local $$207 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i$424$i + (i32.and + (get_local $$207) + (i32.const 32) + ) + ) + (set_local $$tobool$i$425$i + (i32.eq + (get_local $$and$i$424$i) + (i32.const 0) + ) + ) + (if + (get_local $$tobool$i$425$i) + (call $___fwritex + (get_local $$buf$i) + (get_local $$sub$ptr$sub172$i) + (get_local $$f) + ) + ) + (set_local $$sub$ptr$rhs$cast174$i + (get_local $$incdec$ptr115$i) + ) + (set_local $$sub$ptr$sub175$i + (i32.sub + (get_local $$sub$ptr$lhs$cast160$i) + (get_local $$sub$ptr$rhs$cast174$i) ) ) - (set_local $$add313$i + (set_local $$sum (i32.add - (get_local $$227) - (get_local $$cond271$i) + (get_local $$sub$ptr$sub172$i) + (get_local $$sub$ptr$sub175$i) ) ) - (i32.store - (get_local $$e2$i) - (get_local $$add313$i) + (set_local $$sub181$i + (i32.sub + (get_local $$l$0$i) + (get_local $$sum) + ) ) - (set_local $$cmp259$i - (i32.lt_s - (get_local $$add313$i) + (call $_pad + (get_local $$f) + (i32.const 48) + (get_local $$sub181$i) + (i32.const 0) + (i32.const 0) + ) + (set_local $$208 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i$430$i + (i32.and + (get_local $$208) + (i32.const 32) + ) + ) + (set_local $$tobool$i$431$i + (i32.eq + (get_local $$and$i$430$i) (i32.const 0) ) ) (if - (get_local $$cmp259$i) - (block - (set_local $$223 - (get_local $$add313$i) - ) - (set_local $$a$3539$i - (get_local $$incdec$ptr292$a$3573$i) - ) - (set_local $$z$3538$i - (get_local $$add$ptr311$z$4$i) - ) + (get_local $$tobool$i$431$i) + (call $___fwritex + (get_local $$incdec$ptr115$i) + (get_local $$sub$ptr$sub175$i) + (get_local $$f) ) - (block - (set_local $$a$3$lcssa$i - (get_local $$incdec$ptr292$a$3573$i) - ) - (set_local $$z$3$lcssa$i - (get_local $$add$ptr311$z$4$i) - ) - (br $while-out$76) + ) + (set_local $$xor186$i + (i32.xor + (get_local $$fl$1$and219) + (i32.const 8192) ) ) - (br $while-in$77) - ) - ) - (block - (set_local $$a$3$lcssa$i - (get_local $$a$1$lcssa$i) + (call $_pad + (get_local $$f) + (i32.const 32) + (get_local $$w$1) + (get_local $$add165$i) + (get_local $$xor186$i) + ) + (set_local $$cmp188$i + (i32.lt_s + (get_local $$add165$i) + (get_local $$w$1) + ) + ) + (set_local $$w$add165$i + (if + (get_local $$cmp188$i) + (get_local $$w$1) + (get_local $$add165$i) + ) + ) + (set_local $$retval$0$i + (get_local $$w$add165$i) + ) + (br $do-once$56) ) - (set_local $$z$3$lcssa$i - (get_local $$z$1$lcssa$i) + ) + (set_local $$cmp196$i + (i32.lt_s + (get_local $$p$0) + (i32.const 0) ) ) - ) - (set_local $$cmp315$i - (i32.lt_u - (get_local $$a$3$lcssa$i) - (get_local $$z$3$lcssa$i) + (set_local $$$p$i + (if + (get_local $$cmp196$i) + (i32.const 6) + (get_local $$p$0) + ) ) - ) - (block $do-once$82 (if - (get_local $$cmp315$i) + (get_local $$tobool56$i) (block - (set_local $$sub$ptr$rhs$cast319$i - (get_local $$a$3$lcssa$i) - ) - (set_local $$sub$ptr$sub320$i - (i32.sub - (get_local $$sub$ptr$rhs$cast345$i) - (get_local $$sub$ptr$rhs$cast319$i) + (set_local $$mul202$i + (f64.mul + (get_local $$mul$i$240) + (f64.const 268435456) ) ) - (set_local $$sub$ptr$div321$i - (i32.shr_s - (get_local $$sub$ptr$sub320$i) - (i32.const 2) + (set_local $$209 + (i32.load + (get_local $$e2$i) ) ) - (set_local $$mul322$i - (i32.mul - (get_local $$sub$ptr$div321$i) - (i32.const 9) + (set_local $$sub203$i + (i32.add + (get_local $$209) + (i32.const -28) ) ) - (set_local $$228 - (i32.load - (get_local $$a$3$lcssa$i) - ) + (i32.store + (get_local $$e2$i) + (get_local $$sub203$i) ) - (set_local $$cmp324$529$i - (i32.lt_u - (get_local $$228) - (i32.const 10) - ) + (set_local $$210 + (get_local $$sub203$i) ) - (if - (get_local $$cmp324$529$i) - (block - (set_local $$e$1$i - (get_local $$mul322$i) - ) - (br $do-once$82) - ) - (block - (set_local $$e$0531$i - (get_local $$mul322$i) - ) - (set_local $$i$0530$i - (i32.const 10) - ) - ) + (set_local $$y$addr$3$i + (get_local $$mul202$i) ) - (loop $while-out$84 $while-in$85 - (set_local $$mul328$i - (i32.mul - (get_local $$i$0530$i) - (i32.const 10) - ) - ) - (set_local $$inc$i - (i32.add - (get_local $$e$0531$i) - (i32.const 1) - ) - ) - (set_local $$cmp324$i - (i32.lt_u - (get_local $$228) - (get_local $$mul328$i) - ) - ) - (if - (get_local $$cmp324$i) - (block - (set_local $$e$1$i - (get_local $$inc$i) - ) - (br $while-out$84) - ) - (block - (set_local $$e$0531$i - (get_local $$inc$i) - ) - (set_local $$i$0530$i - (get_local $$mul328$i) - ) - ) + ) + (block + (set_local $$$pre564$i + (i32.load + (get_local $$e2$i) ) - (br $while-in$85) + ) + (set_local $$210 + (get_local $$$pre564$i) + ) + (set_local $$y$addr$3$i + (get_local $$mul$i$240) ) ) - (set_local $$e$1$i + ) + (set_local $$cmp205$i + (i32.lt_s + (get_local $$210) (i32.const 0) ) ) - ) - (set_local $$cmp333$i - (i32.ne - (get_local $$or$i$241) - (i32.const 102) - ) - ) - (set_local $$mul335$i - (if - (get_local $$cmp333$i) - (get_local $$e$1$i) - (i32.const 0) - ) - ) - (set_local $$sub336$i - (i32.sub - (get_local $$$p$i) - (get_local $$mul335$i) - ) - ) - (set_local $$cmp338$i - (i32.eq - (get_local $$or$i$241) - (i32.const 103) - ) - ) - (set_local $$tobool341$i - (i32.ne - (get_local $$$p$i) - (i32.const 0) - ) - ) - (set_local $$229 - (i32.and - (get_local $$tobool341$i) - (get_local $$cmp338$i) - ) - ) - (set_local $$land$ext$neg$i - (i32.shr_s - (i32.shl - (get_local $$229) - (i32.const 31) + (set_local $$arraydecay208$add$ptr213$i + (if + (get_local $$cmp205$i) + (get_local $$big$i) + (get_local $$add$ptr213$i) ) - (i32.const 31) - ) - ) - (set_local $$sub343$i - (i32.add - (get_local $$sub336$i) - (get_local $$land$ext$neg$i) ) - ) - (set_local $$sub$ptr$lhs$cast344$i - (get_local $$z$3$lcssa$i) - ) - (set_local $$sub$ptr$sub346$i - (i32.sub - (get_local $$sub$ptr$lhs$cast344$i) - (get_local $$sub$ptr$rhs$cast345$i) - ) - ) - (set_local $$sub$ptr$div347$i - (i32.shr_s - (get_local $$sub$ptr$sub346$i) - (i32.const 2) - ) - ) - (set_local $$230 - (i32.mul - (get_local $$sub$ptr$div347$i) - (i32.const 9) + (set_local $$sub$ptr$rhs$cast345$i + (get_local $$arraydecay208$add$ptr213$i) ) - ) - (set_local $$mul349$i - (i32.add - (get_local $$230) - (i32.const -9) + (set_local $$y$addr$4$i + (get_local $$y$addr$3$i) ) - ) - (set_local $$cmp350$i - (i32.lt_s - (get_local $$sub343$i) - (get_local $$mul349$i) + (set_local $$z$0$i + (get_local $$arraydecay208$add$ptr213$i) ) - ) - (if - (get_local $$cmp350$i) - (block - (set_local $$add$ptr354$i - (i32.add - (get_local $$arraydecay208$add$ptr213$i) - (i32.const 4) - ) - ) - (set_local $$add355$i - (i32.add - (get_local $$sub343$i) - (i32.const 9216) - ) - ) - (set_local $$div356$i - (i32.and - (i32.div_s - (get_local $$add355$i) - (i32.const 9) + (loop $while-in$67 + (block $while-out$66 + (set_local $$conv216$i + (i32.trunc_s/f64 + (get_local $$y$addr$4$i) ) - (i32.const -1) ) - ) - (set_local $$sub357$i - (i32.add - (get_local $$div356$i) - (i32.const -1024) + (i32.store + (get_local $$z$0$i) + (get_local $$conv216$i) ) - ) - (set_local $$add$ptr358$i - (i32.add - (get_local $$add$ptr354$i) - (i32.shl - (get_local $$sub357$i) - (i32.const 2) + (set_local $$incdec$ptr217$i + (i32.add + (get_local $$z$0$i) + (i32.const 4) ) ) - ) - (set_local $$rem360$i - (i32.and - (i32.rem_s - (get_local $$add355$i) - (i32.const 9) + (set_local $$conv218$i + (f64.convert_u/i32 + (get_local $$conv216$i) ) - (i32.const -1) - ) - ) - (set_local $$j$0$524$i - (i32.add - (get_local $$rem360$i) - (i32.const 1) ) - ) - (set_local $$cmp363$525$i - (i32.lt_s - (get_local $$j$0$524$i) - (i32.const 9) + (set_local $$sub219$i + (f64.sub + (get_local $$y$addr$4$i) + (get_local $$conv218$i) + ) ) - ) - (if - (get_local $$cmp363$525$i) - (block - (set_local $$i$1526$i - (i32.const 10) + (set_local $$mul220$i + (f64.mul + (get_local $$sub219$i) + (f64.const 1e9) ) - (set_local $$j$0527$i - (get_local $$j$0$524$i) + ) + (set_local $$tobool222$i + (f64.ne + (get_local $$mul220$i) + (f64.const 0) ) - (loop $while-out$86 $while-in$87 - (set_local $$mul367$i - (i32.mul - (get_local $$i$1526$i) - (i32.const 10) - ) - ) - (set_local $$j$0$i - (i32.add - (get_local $$j$0527$i) - (i32.const 1) - ) + ) + (if + (get_local $$tobool222$i) + (block + (set_local $$y$addr$4$i + (get_local $$mul220$i) ) - (set_local $$exitcond$i - (i32.eq - (get_local $$j$0$i) - (i32.const 9) - ) + (set_local $$z$0$i + (get_local $$incdec$ptr217$i) ) - (if - (get_local $$exitcond$i) - (block - (set_local $$i$1$lcssa$i - (get_local $$mul367$i) - ) - (br $while-out$86) - ) - (block - (set_local $$i$1526$i - (get_local $$mul367$i) - ) - (set_local $$j$0527$i - (get_local $$j$0$i) - ) - ) + ) + (block + (set_local $$incdec$ptr217$i$lcssa + (get_local $$incdec$ptr217$i) ) - (br $while-in$87) + (br $while-out$66) ) ) - (set_local $$i$1$lcssa$i - (i32.const 10) - ) - ) - (set_local $$231 - (i32.load - (get_local $$add$ptr358$i) - ) + (br $while-in$67) ) - (set_local $$rem370$i - (i32.and - (i32.rem_u - (get_local $$231) - (get_local $$i$1$lcssa$i) - ) - (i32.const -1) - ) + ) + (set_local $$$pr$i + (i32.load + (get_local $$e2$i) ) - (set_local $$tobool371$i - (i32.eq - (get_local $$rem370$i) - (i32.const 0) - ) + ) + (set_local $$cmp225$547$i + (i32.gt_s + (get_local $$$pr$i) + (i32.const 0) ) - (set_local $$add$ptr373$i - (i32.add - (get_local $$add$ptr358$i) - (i32.const 4) + ) + (if + (get_local $$cmp225$547$i) + (block + (set_local $$211 + (get_local $$$pr$i) ) - ) - (set_local $$cmp374$i - (i32.eq - (get_local $$add$ptr373$i) - (get_local $$z$3$lcssa$i) + (set_local $$a$1549$i + (get_local $$arraydecay208$add$ptr213$i) ) - ) - (set_local $$or$cond395$i - (i32.and - (get_local $$cmp374$i) - (get_local $$tobool371$i) + (set_local $$z$1548$i + (get_local $$incdec$ptr217$i$lcssa) ) - ) - (block $do-once$88 - (if - (get_local $$or$cond395$i) - (block - (set_local $$a$8$i - (get_local $$a$3$lcssa$i) - ) - (set_local $$d$4$i - (get_local $$add$ptr358$i) - ) - (set_local $$e$4$i - (get_local $$e$1$i) - ) - ) - (block - (set_local $$div378$i - (i32.and - (i32.div_u - (get_local $$231) - (get_local $$i$1$lcssa$i) - ) - (i32.const -1) - ) - ) - (set_local $$and379$i - (i32.and - (get_local $$div378$i) - (i32.const 1) + (loop $while-in$69 + (block $while-out$68 + (set_local $$cmp228$i + (i32.gt_s + (get_local $$211) + (i32.const 29) ) ) - (set_local $$tobool380$i - (i32.eq - (get_local $$and379$i) - (i32.const 0) - ) - ) - (set_local $$$396$i + (set_local $$cond233$i (if - (get_local $$tobool380$i) - (f64.const 9007199254740992) - (f64.const 9007199254740994) - ) - ) - (set_local $$div384$i - (i32.and - (i32.div_s - (get_local $$i$1$lcssa$i) - (i32.const 2) - ) - (i32.const -1) - ) - ) - (set_local $$cmp385$i - (i32.lt_u - (get_local $$rem370$i) - (get_local $$div384$i) + (get_local $$cmp228$i) + (i32.const 29) + (get_local $$211) ) ) - (if - (get_local $$cmp385$i) - (set_local $$small$0$i - (f64.const 0.5) - ) - (block - (set_local $$cmp390$i - (i32.eq - (get_local $$rem370$i) - (get_local $$div384$i) - ) - ) - (set_local $$or$cond397$i - (i32.and - (get_local $$cmp374$i) - (get_local $$cmp390$i) - ) - ) - (set_local $$$404$i - (if - (get_local $$or$cond397$i) - (f64.const 1) - (f64.const 1.5) - ) - ) - (set_local $$small$0$i - (get_local $$$404$i) - ) + (set_local $$d$0$542$i + (i32.add + (get_local $$z$1548$i) + (i32.const -4) ) - ) - (set_local $$tobool400$i - (i32.eq - (get_local $$pl$0$i) - (i32.const 0) + ) + (set_local $$cmp235$543$i + (i32.lt_u + (get_local $$d$0$542$i) + (get_local $$a$1549$i) ) ) - (block $do-once$90 + (block $do-once$70 (if - (get_local $$tobool400$i) + (get_local $$cmp235$543$i) + (set_local $$a$2$ph$i + (get_local $$a$1549$i) + ) (block - (set_local $$round377$1$i - (get_local $$$396$i) + (set_local $$carry$0544$i + (i32.const 0) ) - (set_local $$small$1$i - (get_local $$small$0$i) + (set_local $$d$0545$i + (get_local $$d$0$542$i) ) - ) - (block - (set_local $$232 - (i32.load8_s - (get_local $$prefix$0$i) + (loop $while-in$73 + (block $while-out$72 + (set_local $$212 + (i32.load + (get_local $$d$0545$i) + ) + ) + (set_local $$213 + (call $_bitshift64Shl + (get_local $$212) + (i32.const 0) + (get_local $$cond233$i) + ) + ) + (set_local $$214 + (i32.load + (i32.const 168) + ) + ) + (set_local $$215 + (call $_i64Add + (get_local $$213) + (get_local $$214) + (get_local $$carry$0544$i) + (i32.const 0) + ) + ) + (set_local $$216 + (i32.load + (i32.const 168) + ) + ) + (set_local $$217 + (call $___uremdi3 + (get_local $$215) + (get_local $$216) + (i32.const 1000000000) + (i32.const 0) + ) + ) + (set_local $$218 + (i32.load + (i32.const 168) + ) + ) + (i32.store + (get_local $$d$0545$i) + (get_local $$217) + ) + (set_local $$219 + (call $___udivdi3 + (get_local $$215) + (get_local $$216) + (i32.const 1000000000) + (i32.const 0) + ) + ) + (set_local $$220 + (i32.load + (i32.const 168) + ) + ) + (set_local $$d$0$i + (i32.add + (get_local $$d$0545$i) + (i32.const -4) + ) + ) + (set_local $$cmp235$i + (i32.lt_u + (get_local $$d$0$i) + (get_local $$a$1549$i) + ) + ) + (if + (get_local $$cmp235$i) + (block + (set_local $$conv242$i$lcssa + (get_local $$219) + ) + (br $while-out$72) + ) + (block + (set_local $$carry$0544$i + (get_local $$219) + ) + (set_local $$d$0545$i + (get_local $$d$0$i) + ) + ) + ) + (br $while-in$73) ) ) - (set_local $$cmp403$i + (set_local $$tobool244$i (i32.eq - (i32.shr_s - (i32.shl - (get_local $$232) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const 45) + (get_local $$conv242$i$lcssa) + (i32.const 0) ) ) (if - (i32.eqz - (get_local $$cmp403$i) - ) + (get_local $$tobool244$i) (block - (set_local $$round377$1$i - (get_local $$$396$i) - ) - (set_local $$small$1$i - (get_local $$small$0$i) + (set_local $$a$2$ph$i + (get_local $$a$1549$i) ) - (br $do-once$90) + (br $do-once$70) ) ) - (set_local $$mul406$i - (f64.neg - (get_local $$$396$i) + (set_local $$incdec$ptr246$i + (i32.add + (get_local $$a$1549$i) + (i32.const -4) ) ) - (set_local $$mul407$i - (f64.neg - (get_local $$small$0$i) + (i32.store + (get_local $$incdec$ptr246$i) + (get_local $$conv242$i$lcssa) + ) + (set_local $$a$2$ph$i + (get_local $$incdec$ptr246$i) + ) + ) + ) + ) + (set_local $$z$2$i + (get_local $$z$1548$i) + ) + (loop $while-in$75 + (block $while-out$74 + (set_local $$cmp249$i + (i32.gt_u + (get_local $$z$2$i) + (get_local $$a$2$ph$i) + ) + ) + (if + (i32.eqz + (get_local $$cmp249$i) + ) + (block + (set_local $$z$2$i$lcssa + (get_local $$z$2$i) ) + (br $while-out$74) + ) + ) + (set_local $$arrayidx251$i + (i32.add + (get_local $$z$2$i) + (i32.const -4) + ) + ) + (set_local $$221 + (i32.load + (get_local $$arrayidx251$i) ) - (set_local $$round377$1$i - (get_local $$mul406$i) + ) + (set_local $$lnot$i + (i32.eq + (get_local $$221) + (i32.const 0) + ) + ) + (if + (get_local $$lnot$i) + (set_local $$z$2$i + (get_local $$arrayidx251$i) ) - (set_local $$small$1$i - (get_local $$mul407$i) + (block + (set_local $$z$2$i$lcssa + (get_local $$z$2$i) + ) + (br $while-out$74) ) ) + (br $while-in$75) ) ) - (set_local $$sub409$i + (set_local $$222 + (i32.load + (get_local $$e2$i) + ) + ) + (set_local $$sub256$i (i32.sub - (get_local $$231) - (get_local $$rem370$i) + (get_local $$222) + (get_local $$cond233$i) ) ) (i32.store - (get_local $$add$ptr358$i) - (get_local $$sub409$i) - ) - (set_local $$add410$i - (f64.add - (get_local $$round377$1$i) - (get_local $$small$1$i) - ) + (get_local $$e2$i) + (get_local $$sub256$i) ) - (set_local $$cmp411$i - (f64.ne - (get_local $$add410$i) - (get_local $$round377$1$i) + (set_local $$cmp225$i + (i32.gt_s + (get_local $$sub256$i) + (i32.const 0) ) ) (if - (i32.eqz - (get_local $$cmp411$i) + (get_local $$cmp225$i) + (block + (set_local $$211 + (get_local $$sub256$i) + ) + (set_local $$a$1549$i + (get_local $$a$2$ph$i) + ) + (set_local $$z$1548$i + (get_local $$z$2$i$lcssa) + ) ) (block - (set_local $$a$8$i - (get_local $$a$3$lcssa$i) + (set_local $$$pr477$i + (get_local $$sub256$i) ) - (set_local $$d$4$i - (get_local $$add$ptr358$i) + (set_local $$a$1$lcssa$i + (get_local $$a$2$ph$i) ) - (set_local $$e$4$i - (get_local $$e$1$i) + (set_local $$z$1$lcssa$i + (get_local $$z$2$i$lcssa) ) - (br $do-once$88) + (br $while-out$68) ) ) - (set_local $$add414$i - (i32.add - (get_local $$sub409$i) - (get_local $$i$1$lcssa$i) + (br $while-in$69) + ) + ) + ) + (block + (set_local $$$pr477$i + (get_local $$$pr$i) + ) + (set_local $$a$1$lcssa$i + (get_local $$arraydecay208$add$ptr213$i) + ) + (set_local $$z$1$lcssa$i + (get_local $$incdec$ptr217$i$lcssa) + ) + ) + ) + (set_local $$cmp259$537$i + (i32.lt_s + (get_local $$$pr477$i) + (i32.const 0) + ) + ) + (if + (get_local $$cmp259$537$i) + (block + (set_local $$add273$i + (i32.add + (get_local $$$p$i) + (i32.const 25) + ) + ) + (set_local $$div274$i + (i32.and + (i32.div_s + (get_local $$add273$i) + (i32.const 9) + ) + (i32.const -1) + ) + ) + (set_local $$add275$i + (i32.add + (get_local $$div274$i) + (i32.const 1) + ) + ) + (set_local $$cmp299$i + (i32.eq + (get_local $$or$i$241) + (i32.const 102) + ) + ) + (set_local $$223 + (get_local $$$pr477$i) + ) + (set_local $$a$3539$i + (get_local $$a$1$lcssa$i) + ) + (set_local $$z$3538$i + (get_local $$z$1$lcssa$i) + ) + (loop $while-in$77 + (block $while-out$76 + (set_local $$sub264$i + (i32.sub + (i32.const 0) + (get_local $$223) ) ) - (i32.store - (get_local $$add$ptr358$i) - (get_local $$add414$i) + (set_local $$cmp265$i + (i32.gt_s + (get_local $$sub264$i) + (i32.const 9) + ) ) - (set_local $$cmp416$519$i - (i32.gt_u - (get_local $$add414$i) - (i32.const 999999999) + (set_local $$cond271$i + (if + (get_local $$cmp265$i) + (i32.const 9) + (get_local $$sub264$i) ) ) - (if - (get_local $$cmp416$519$i) - (block - (set_local $$a$5521$i - (get_local $$a$3$lcssa$i) - ) - (set_local $$d$2520$i - (get_local $$add$ptr358$i) - ) - (loop $while-out$92 $while-in$93 - (set_local $$incdec$ptr419$i + (set_local $$cmp277$533$i + (i32.lt_u + (get_local $$a$3539$i) + (get_local $$z$3538$i) + ) + ) + (block $do-once$78 + (if + (get_local $$cmp277$533$i) + (block + (set_local $$shl280$i + (i32.shl + (i32.const 1) + (get_local $$cond271$i) + ) + ) + (set_local $$sub281$i (i32.add - (get_local $$d$2520$i) - (i32.const -4) + (get_local $$shl280$i) + (i32.const -1) ) ) - (i32.store - (get_local $$d$2520$i) + (set_local $$shr285$i + (i32.shr_u + (i32.const 1000000000) + (get_local $$cond271$i) + ) + ) + (set_local $$carry262$0535$i (i32.const 0) ) - (set_local $$cmp420$i - (i32.lt_u - (get_local $$incdec$ptr419$i) - (get_local $$a$5521$i) - ) + (set_local $$d$1534$i + (get_local $$a$3539$i) ) - (if - (get_local $$cmp420$i) - (block - (set_local $$incdec$ptr423$i + (loop $while-in$81 + (block $while-out$80 + (set_local $$225 + (i32.load + (get_local $$d$1534$i) + ) + ) + (set_local $$and282$i + (i32.and + (get_local $$225) + (get_local $$sub281$i) + ) + ) + (set_local $$shr283$i + (i32.shr_u + (get_local $$225) + (get_local $$cond271$i) + ) + ) + (set_local $$add284$i (i32.add - (get_local $$a$5521$i) - (i32.const -4) + (get_local $$shr283$i) + (get_local $$carry262$0535$i) ) ) (i32.store - (get_local $$incdec$ptr423$i) - (i32.const 0) + (get_local $$d$1534$i) + (get_local $$add284$i) ) - (set_local $$a$6$i - (get_local $$incdec$ptr423$i) + (set_local $$mul286$i + (i32.mul + (get_local $$and282$i) + (get_local $$shr285$i) + ) ) - ) - (set_local $$a$6$i - (get_local $$a$5521$i) + (set_local $$incdec$ptr288$i + (i32.add + (get_local $$d$1534$i) + (i32.const 4) + ) + ) + (set_local $$cmp277$i + (i32.lt_u + (get_local $$incdec$ptr288$i) + (get_local $$z$3538$i) + ) + ) + (if + (get_local $$cmp277$i) + (block + (set_local $$carry262$0535$i + (get_local $$mul286$i) + ) + (set_local $$d$1534$i + (get_local $$incdec$ptr288$i) + ) + ) + (block + (set_local $$mul286$i$lcssa + (get_local $$mul286$i) + ) + (br $while-out$80) + ) + ) + (br $while-in$81) ) ) - (set_local $$233 + (set_local $$226 (i32.load - (get_local $$incdec$ptr419$i) + (get_local $$a$3539$i) + ) + ) + (set_local $$tobool290$i + (i32.eq + (get_local $$226) + (i32.const 0) ) ) - (set_local $$inc425$i + (set_local $$incdec$ptr292$i (i32.add - (get_local $$233) - (i32.const 1) + (get_local $$a$3539$i) + (i32.const 4) ) ) - (i32.store - (get_local $$incdec$ptr419$i) - (get_local $$inc425$i) + (set_local $$incdec$ptr292$a$3$i + (if + (get_local $$tobool290$i) + (get_local $$incdec$ptr292$i) + (get_local $$a$3539$i) + ) ) - (set_local $$cmp416$i - (i32.gt_u - (get_local $$inc425$i) - (i32.const 999999999) + (set_local $$tobool294$i + (i32.eq + (get_local $$mul286$i$lcssa) + (i32.const 0) ) ) (if - (get_local $$cmp416$i) + (get_local $$tobool294$i) (block - (set_local $$a$5521$i - (get_local $$a$6$i) + (set_local $$incdec$ptr292$a$3573$i + (get_local $$incdec$ptr292$a$3$i) ) - (set_local $$d$2520$i - (get_local $$incdec$ptr419$i) + (set_local $$z$4$i + (get_local $$z$3538$i) ) + (br $do-once$78) ) - (block - (set_local $$a$5$lcssa$i - (get_local $$a$6$i) - ) - (set_local $$d$2$lcssa$i - (get_local $$incdec$ptr419$i) - ) - (br $while-out$92) + ) + (set_local $$incdec$ptr296$i + (i32.add + (get_local $$z$3538$i) + (i32.const 4) + ) + ) + (i32.store + (get_local $$z$3538$i) + (get_local $$mul286$i$lcssa) + ) + (set_local $$incdec$ptr292$a$3573$i + (get_local $$incdec$ptr292$a$3$i) + ) + (set_local $$z$4$i + (get_local $$incdec$ptr296$i) + ) + ) + (block + (set_local $$224 + (i32.load + (get_local $$a$3539$i) + ) + ) + (set_local $$tobool290$569$i + (i32.eq + (get_local $$224) + (i32.const 0) + ) + ) + (set_local $$incdec$ptr292$570$i + (i32.add + (get_local $$a$3539$i) + (i32.const 4) + ) + ) + (set_local $$incdec$ptr292$a$3$571$i + (if + (get_local $$tobool290$569$i) + (get_local $$incdec$ptr292$570$i) + (get_local $$a$3539$i) ) ) - (br $while-in$93) + (set_local $$incdec$ptr292$a$3573$i + (get_local $$incdec$ptr292$a$3$571$i) + ) + (set_local $$z$4$i + (get_local $$z$3538$i) + ) ) ) - (block - (set_local $$a$5$lcssa$i - (get_local $$a$3$lcssa$i) - ) - (set_local $$d$2$lcssa$i - (get_local $$add$ptr358$i) - ) + ) + (set_local $$cond304$i + (if + (get_local $$cmp299$i) + (get_local $$arraydecay208$add$ptr213$i) + (get_local $$incdec$ptr292$a$3573$i) ) ) - (set_local $$sub$ptr$rhs$cast428$i - (get_local $$a$5$lcssa$i) + (set_local $$sub$ptr$lhs$cast305$i + (get_local $$z$4$i) ) - (set_local $$sub$ptr$sub429$i + (set_local $$sub$ptr$rhs$cast306$i + (get_local $$cond304$i) + ) + (set_local $$sub$ptr$sub307$i (i32.sub - (get_local $$sub$ptr$rhs$cast345$i) - (get_local $$sub$ptr$rhs$cast428$i) + (get_local $$sub$ptr$lhs$cast305$i) + (get_local $$sub$ptr$rhs$cast306$i) ) ) - (set_local $$sub$ptr$div430$i + (set_local $$sub$ptr$div$i (i32.shr_s - (get_local $$sub$ptr$sub429$i) + (get_local $$sub$ptr$sub307$i) (i32.const 2) ) ) - (set_local $$mul431$i - (i32.mul - (get_local $$sub$ptr$div430$i) - (i32.const 9) + (set_local $$cmp308$i + (i32.gt_s + (get_local $$sub$ptr$div$i) + (get_local $$add275$i) + ) + ) + (set_local $$add$ptr311$i + (i32.add + (get_local $$cond304$i) + (i32.shl + (get_local $$add275$i) + (i32.const 2) + ) ) ) - (set_local $$234 + (set_local $$add$ptr311$z$4$i + (if + (get_local $$cmp308$i) + (get_local $$add$ptr311$i) + (get_local $$z$4$i) + ) + ) + (set_local $$227 (i32.load - (get_local $$a$5$lcssa$i) + (get_local $$e2$i) ) ) - (set_local $$cmp433$515$i - (i32.lt_u - (get_local $$234) - (i32.const 10) + (set_local $$add313$i + (i32.add + (get_local $$227) + (get_local $$cond271$i) + ) + ) + (i32.store + (get_local $$e2$i) + (get_local $$add313$i) + ) + (set_local $$cmp259$i + (i32.lt_s + (get_local $$add313$i) + (i32.const 0) ) ) (if - (get_local $$cmp433$515$i) + (get_local $$cmp259$i) (block - (set_local $$a$8$i - (get_local $$a$5$lcssa$i) + (set_local $$223 + (get_local $$add313$i) ) - (set_local $$d$4$i - (get_local $$d$2$lcssa$i) + (set_local $$a$3539$i + (get_local $$incdec$ptr292$a$3573$i) ) - (set_local $$e$4$i - (get_local $$mul431$i) + (set_local $$z$3538$i + (get_local $$add$ptr311$z$4$i) ) - (br $do-once$88) ) (block - (set_local $$e$2517$i - (get_local $$mul431$i) + (set_local $$a$3$lcssa$i + (get_local $$incdec$ptr292$a$3573$i) ) - (set_local $$i$2516$i - (i32.const 10) + (set_local $$z$3$lcssa$i + (get_local $$add$ptr311$z$4$i) ) + (br $while-out$76) + ) + ) + (br $while-in$77) + ) + ) + ) + (block + (set_local $$a$3$lcssa$i + (get_local $$a$1$lcssa$i) + ) + (set_local $$z$3$lcssa$i + (get_local $$z$1$lcssa$i) + ) + ) + ) + (set_local $$cmp315$i + (i32.lt_u + (get_local $$a$3$lcssa$i) + (get_local $$z$3$lcssa$i) + ) + ) + (block $do-once$82 + (if + (get_local $$cmp315$i) + (block + (set_local $$sub$ptr$rhs$cast319$i + (get_local $$a$3$lcssa$i) + ) + (set_local $$sub$ptr$sub320$i + (i32.sub + (get_local $$sub$ptr$rhs$cast345$i) + (get_local $$sub$ptr$rhs$cast319$i) + ) + ) + (set_local $$sub$ptr$div321$i + (i32.shr_s + (get_local $$sub$ptr$sub320$i) + (i32.const 2) + ) + ) + (set_local $$mul322$i + (i32.mul + (get_local $$sub$ptr$div321$i) + (i32.const 9) + ) + ) + (set_local $$228 + (i32.load + (get_local $$a$3$lcssa$i) + ) + ) + (set_local $$cmp324$529$i + (i32.lt_u + (get_local $$228) + (i32.const 10) + ) + ) + (if + (get_local $$cmp324$529$i) + (block + (set_local $$e$1$i + (get_local $$mul322$i) + ) + (br $do-once$82) + ) + (block + (set_local $$e$0531$i + (get_local $$mul322$i) + ) + (set_local $$i$0530$i + (i32.const 10) ) ) - (loop $while-out$94 $while-in$95 - (set_local $$mul437$i + ) + (loop $while-in$85 + (block $while-out$84 + (set_local $$mul328$i (i32.mul - (get_local $$i$2516$i) + (get_local $$i$0530$i) (i32.const 10) ) ) - (set_local $$inc438$i + (set_local $$inc$i (i32.add - (get_local $$e$2517$i) + (get_local $$e$0531$i) (i32.const 1) ) ) - (set_local $$cmp433$i + (set_local $$cmp324$i (i32.lt_u - (get_local $$234) - (get_local $$mul437$i) + (get_local $$228) + (get_local $$mul328$i) ) ) (if - (get_local $$cmp433$i) + (get_local $$cmp324$i) (block - (set_local $$a$8$i - (get_local $$a$5$lcssa$i) - ) - (set_local $$d$4$i - (get_local $$d$2$lcssa$i) - ) - (set_local $$e$4$i - (get_local $$inc438$i) + (set_local $$e$1$i + (get_local $$inc$i) ) - (br $while-out$94) + (br $while-out$84) ) (block - (set_local $$e$2517$i - (get_local $$inc438$i) + (set_local $$e$0531$i + (get_local $$inc$i) ) - (set_local $$i$2516$i - (get_local $$mul437$i) + (set_local $$i$0530$i + (get_local $$mul328$i) ) ) ) - (br $while-in$95) + (br $while-in$85) ) ) ) - ) - (set_local $$add$ptr442$i - (i32.add - (get_local $$d$4$i) - (i32.const 4) - ) - ) - (set_local $$cmp443$i - (i32.gt_u - (get_local $$z$3$lcssa$i) - (get_local $$add$ptr442$i) - ) - ) - (set_local $$add$ptr442$z$3$i - (if - (get_local $$cmp443$i) - (get_local $$add$ptr442$i) - (get_local $$z$3$lcssa$i) + (set_local $$e$1$i + (i32.const 0) ) ) - (set_local $$a$9$ph$i - (get_local $$a$8$i) - ) - (set_local $$e$5$ph$i - (get_local $$e$4$i) - ) - (set_local $$z$7$ph$i - (get_local $$add$ptr442$z$3$i) - ) ) - (block - (set_local $$a$9$ph$i - (get_local $$a$3$lcssa$i) + (set_local $$cmp333$i + (i32.ne + (get_local $$or$i$241) + (i32.const 102) ) - (set_local $$e$5$ph$i + ) + (set_local $$mul335$i + (if + (get_local $$cmp333$i) (get_local $$e$1$i) + (i32.const 0) ) - (set_local $$z$7$ph$i - (get_local $$z$3$lcssa$i) + ) + (set_local $$sub336$i + (i32.sub + (get_local $$$p$i) + (get_local $$mul335$i) ) ) - ) - (set_local $$sub626$le$i - (i32.sub - (i32.const 0) - (get_local $$e$5$ph$i) + (set_local $$cmp338$i + (i32.eq + (get_local $$or$i$241) + (i32.const 103) + ) ) - ) - (set_local $$z$7$i - (get_local $$z$7$ph$i) - ) - (loop $while-out$96 $while-in$97 - (set_local $$cmp450$i - (i32.gt_u - (get_local $$z$7$i) - (get_local $$a$9$ph$i) + (set_local $$tobool341$i + (i32.ne + (get_local $$$p$i) + (i32.const 0) ) ) - (if - (i32.eqz - (get_local $$cmp450$i) + (set_local $$229 + (i32.and + (get_local $$tobool341$i) + (get_local $$cmp338$i) ) - (block - (set_local $$cmp450$lcssa$i - (i32.const 0) - ) - (set_local $$z$7$i$lcssa - (get_local $$z$7$i) + ) + (set_local $$land$ext$neg$i + (i32.shr_s + (i32.shl + (get_local $$229) + (i32.const 31) ) - (br $while-out$96) + (i32.const 31) ) ) - (set_local $$arrayidx453$i + (set_local $$sub343$i (i32.add - (get_local $$z$7$i) - (i32.const -4) + (get_local $$sub336$i) + (get_local $$land$ext$neg$i) ) ) - (set_local $$235 - (i32.load - (get_local $$arrayidx453$i) + (set_local $$sub$ptr$lhs$cast344$i + (get_local $$z$3$lcssa$i) + ) + (set_local $$sub$ptr$sub346$i + (i32.sub + (get_local $$sub$ptr$lhs$cast344$i) + (get_local $$sub$ptr$rhs$cast345$i) ) ) - (set_local $$lnot455$i - (i32.eq - (get_local $$235) - (i32.const 0) + (set_local $$sub$ptr$div347$i + (i32.shr_s + (get_local $$sub$ptr$sub346$i) + (i32.const 2) ) ) - (if - (get_local $$lnot455$i) - (set_local $$z$7$i - (get_local $$arrayidx453$i) + (set_local $$230 + (i32.mul + (get_local $$sub$ptr$div347$i) + (i32.const 9) ) - (block - (set_local $$cmp450$lcssa$i - (i32.const 1) - ) - (set_local $$z$7$i$lcssa - (get_local $$z$7$i) - ) - (br $while-out$96) + ) + (set_local $$mul349$i + (i32.add + (get_local $$230) + (i32.const -9) + ) + ) + (set_local $$cmp350$i + (i32.lt_s + (get_local $$sub343$i) + (get_local $$mul349$i) ) ) - (br $while-in$97) - ) - (block $do-once$98 (if - (get_local $$cmp338$i) + (get_local $$cmp350$i) (block - (set_local $$236 + (set_local $$add$ptr354$i + (i32.add + (get_local $$arraydecay208$add$ptr213$i) + (i32.const 4) + ) + ) + (set_local $$add355$i + (i32.add + (get_local $$sub343$i) + (i32.const 9216) + ) + ) + (set_local $$div356$i (i32.and - (get_local $$tobool341$i) - (i32.const 1) + (i32.div_s + (get_local $$add355$i) + (i32.const 9) + ) + (i32.const -1) ) ) - (set_local $$inc468$i - (i32.xor - (get_local $$236) - (i32.const 1) + (set_local $$sub357$i + (i32.add + (get_local $$div356$i) + (i32.const -1024) ) ) - (set_local $$$p$inc468$i + (set_local $$add$ptr358$i (i32.add - (get_local $$inc468$i) - (get_local $$$p$i) + (get_local $$add$ptr354$i) + (i32.shl + (get_local $$sub357$i) + (i32.const 2) + ) ) ) - (set_local $$cmp470$i - (i32.gt_s - (get_local $$$p$inc468$i) - (get_local $$e$5$ph$i) + (set_local $$rem360$i + (i32.and + (i32.rem_s + (get_local $$add355$i) + (i32.const 9) + ) + (i32.const -1) ) ) - (set_local $$cmp473$i - (i32.gt_s - (get_local $$e$5$ph$i) - (i32.const -5) + (set_local $$j$0$524$i + (i32.add + (get_local $$rem360$i) + (i32.const 1) ) ) - (set_local $$or$cond2$i - (i32.and - (get_local $$cmp470$i) - (get_local $$cmp473$i) + (set_local $$cmp363$525$i + (i32.lt_s + (get_local $$j$0$524$i) + (i32.const 9) ) ) (if - (get_local $$or$cond2$i) + (get_local $$cmp363$525$i) (block - (set_local $$dec476$i - (i32.add - (get_local $$t$0) - (i32.const -1) - ) + (set_local $$i$1526$i + (i32.const 10) ) - (set_local $$add477$neg$i - (i32.add - (get_local $$$p$inc468$i) - (i32.const -1) - ) + (set_local $$j$0527$i + (get_local $$j$0$524$i) ) - (set_local $$sub478$i - (i32.sub - (get_local $$add477$neg$i) - (get_local $$e$5$ph$i) + (loop $while-in$87 + (block $while-out$86 + (set_local $$mul367$i + (i32.mul + (get_local $$i$1526$i) + (i32.const 10) + ) + ) + (set_local $$j$0$i + (i32.add + (get_local $$j$0527$i) + (i32.const 1) + ) + ) + (set_local $$exitcond$i + (i32.eq + (get_local $$j$0$i) + (i32.const 9) + ) + ) + (if + (get_local $$exitcond$i) + (block + (set_local $$i$1$lcssa$i + (get_local $$mul367$i) + ) + (br $while-out$86) + ) + (block + (set_local $$i$1526$i + (get_local $$mul367$i) + ) + (set_local $$j$0527$i + (get_local $$j$0$i) + ) + ) + ) + (br $while-in$87) ) ) - (set_local $$p$addr$2$i - (get_local $$sub478$i) - ) - (set_local $$t$addr$0$i - (get_local $$dec476$i) - ) ) - (block - (set_local $$sub480$i - (i32.add - (get_local $$t$0) - (i32.const -2) - ) - ) - (set_local $$dec481$i - (i32.add - (get_local $$$p$inc468$i) - (i32.const -1) - ) - ) - (set_local $$p$addr$2$i - (get_local $$dec481$i) - ) - (set_local $$t$addr$0$i - (get_local $$sub480$i) - ) + (set_local $$i$1$lcssa$i + (i32.const 10) + ) + ) + (set_local $$231 + (i32.load + (get_local $$add$ptr358$i) ) ) - (set_local $$and483$i + (set_local $$rem370$i (i32.and - (get_local $$fl$1$and219) - (i32.const 8) + (i32.rem_u + (get_local $$231) + (get_local $$i$1$lcssa$i) + ) + (i32.const -1) ) ) - (set_local $$tobool484$i + (set_local $$tobool371$i (i32.eq - (get_local $$and483$i) + (get_local $$rem370$i) (i32.const 0) ) ) - (if - (i32.eqz - (get_local $$tobool484$i) + (set_local $$add$ptr373$i + (i32.add + (get_local $$add$ptr358$i) + (i32.const 4) ) - (block - (set_local $$and610$pre$phi$iZ2D - (get_local $$and483$i) - ) - (set_local $$p$addr$3$i - (get_local $$p$addr$2$i) - ) - (set_local $$t$addr$1$i - (get_local $$t$addr$0$i) - ) - (br $do-once$98) + ) + (set_local $$cmp374$i + (i32.eq + (get_local $$add$ptr373$i) + (get_local $$z$3$lcssa$i) + ) + ) + (set_local $$or$cond395$i + (i32.and + (get_local $$cmp374$i) + (get_local $$tobool371$i) ) ) - (block $do-once$100 + (block $do-once$88 (if - (get_local $$cmp450$lcssa$i) + (get_local $$or$cond395$i) + (block + (set_local $$a$8$i + (get_local $$a$3$lcssa$i) + ) + (set_local $$d$4$i + (get_local $$add$ptr358$i) + ) + (set_local $$e$4$i + (get_local $$e$1$i) + ) + ) (block - (set_local $$arrayidx489$i - (i32.add - (get_local $$z$7$i$lcssa) - (i32.const -4) + (set_local $$div378$i + (i32.and + (i32.div_u + (get_local $$231) + (get_local $$i$1$lcssa$i) + ) + (i32.const -1) ) ) - (set_local $$237 - (i32.load - (get_local $$arrayidx489$i) + (set_local $$and379$i + (i32.and + (get_local $$div378$i) + (i32.const 1) ) ) - (set_local $$tobool490$i + (set_local $$tobool380$i (i32.eq - (get_local $$237) + (get_local $$and379$i) (i32.const 0) ) ) - (if - (get_local $$tobool490$i) - (block - (set_local $$j$2$i - (i32.const 9) - ) - (br $do-once$100) + (set_local $$$396$i + (if + (get_local $$tobool380$i) + (f64.const 9007199254740992) + (f64.const 9007199254740994) ) ) - (set_local $$rem494$510$i + (set_local $$div384$i (i32.and - (i32.rem_u - (get_local $$237) - (i32.const 10) + (i32.div_s + (get_local $$i$1$lcssa$i) + (i32.const 2) ) (i32.const -1) ) ) - (set_local $$cmp495$511$i - (i32.eq - (get_local $$rem494$510$i) - (i32.const 0) + (set_local $$cmp385$i + (i32.lt_u + (get_local $$rem370$i) + (get_local $$div384$i) ) ) (if - (get_local $$cmp495$511$i) - (block - (set_local $$i$3512$i - (i32.const 10) - ) - (set_local $$j$1513$i - (i32.const 0) - ) + (get_local $$cmp385$i) + (set_local $$small$0$i + (f64.const 0.5) ) (block - (set_local $$j$2$i - (i32.const 0) - ) - (br $do-once$100) - ) - ) - (loop $while-out$102 $while-in$103 - (set_local $$mul499$i - (i32.mul - (get_local $$i$3512$i) - (i32.const 10) + (set_local $$cmp390$i + (i32.eq + (get_local $$rem370$i) + (get_local $$div384$i) + ) ) - ) - (set_local $$inc500$i - (i32.add - (get_local $$j$1513$i) - (i32.const 1) + (set_local $$or$cond397$i + (i32.and + (get_local $$cmp374$i) + (get_local $$cmp390$i) + ) ) - ) - (set_local $$rem494$i - (i32.and - (i32.rem_u - (get_local $$237) - (get_local $$mul499$i) + (set_local $$$404$i + (if + (get_local $$or$cond397$i) + (f64.const 1) + (f64.const 1.5) ) - (i32.const -1) ) - ) - (set_local $$cmp495$i - (i32.eq - (get_local $$rem494$i) - (i32.const 0) + (set_local $$small$0$i + (get_local $$$404$i) ) ) + ) + (set_local $$tobool400$i + (i32.eq + (get_local $$pl$0$i) + (i32.const 0) + ) + ) + (block $do-once$90 (if - (get_local $$cmp495$i) + (get_local $$tobool400$i) (block - (set_local $$i$3512$i - (get_local $$mul499$i) + (set_local $$round377$1$i + (get_local $$$396$i) ) - (set_local $$j$1513$i - (get_local $$inc500$i) + (set_local $$small$1$i + (get_local $$small$0$i) ) ) (block - (set_local $$j$2$i - (get_local $$inc500$i) + (set_local $$232 + (i32.load8_s + (get_local $$prefix$0$i) + ) + ) + (set_local $$cmp403$i + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$232) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const 45) + ) + ) + (if + (i32.eqz + (get_local $$cmp403$i) + ) + (block + (set_local $$round377$1$i + (get_local $$$396$i) + ) + (set_local $$small$1$i + (get_local $$small$0$i) + ) + (br $do-once$90) + ) + ) + (set_local $$mul406$i + (f64.neg + (get_local $$$396$i) + ) + ) + (set_local $$mul407$i + (f64.neg + (get_local $$small$0$i) + ) + ) + (set_local $$round377$1$i + (get_local $$mul406$i) + ) + (set_local $$small$1$i + (get_local $$mul407$i) ) - (br $while-out$102) ) ) - (br $while-in$103) ) - ) - (set_local $$j$2$i - (i32.const 9) - ) - ) - ) - (set_local $$or504$i - (i32.or - (get_local $$t$addr$0$i) - (i32.const 32) - ) - ) - (set_local $$cmp505$i - (i32.eq - (get_local $$or504$i) - (i32.const 102) - ) - ) - (set_local $$sub$ptr$lhs$cast508$i - (get_local $$z$7$i$lcssa) - ) - (set_local $$sub$ptr$sub510$i - (i32.sub - (get_local $$sub$ptr$lhs$cast508$i) - (get_local $$sub$ptr$rhs$cast345$i) - ) - ) - (set_local $$sub$ptr$div511$i - (i32.shr_s - (get_local $$sub$ptr$sub510$i) - (i32.const 2) - ) - ) - (set_local $$238 - (i32.mul - (get_local $$sub$ptr$div511$i) - (i32.const 9) - ) - ) - (set_local $$mul513$i - (i32.add - (get_local $$238) - (i32.const -9) - ) - ) - (if - (get_local $$cmp505$i) - (block - (set_local $$sub514$i - (i32.sub - (get_local $$mul513$i) - (get_local $$j$2$i) + (set_local $$sub409$i + (i32.sub + (get_local $$231) + (get_local $$rem370$i) + ) ) - ) - (set_local $$cmp515$i - (i32.lt_s - (get_local $$sub514$i) - (i32.const 0) + (i32.store + (get_local $$add$ptr358$i) + (get_local $$sub409$i) ) - ) - (set_local $$$sub514$i - (if - (get_local $$cmp515$i) - (i32.const 0) - (get_local $$sub514$i) + (set_local $$add410$i + (f64.add + (get_local $$round377$1$i) + (get_local $$small$1$i) + ) ) - ) - (set_local $$cmp528$i - (i32.lt_s - (get_local $$p$addr$2$i) - (get_local $$$sub514$i) + (set_local $$cmp411$i + (f64.ne + (get_local $$add410$i) + (get_local $$round377$1$i) + ) ) - ) - (set_local $$p$addr$2$$sub514398$i (if - (get_local $$cmp528$i) - (get_local $$p$addr$2$i) - (get_local $$$sub514$i) + (i32.eqz + (get_local $$cmp411$i) + ) + (block + (set_local $$a$8$i + (get_local $$a$3$lcssa$i) + ) + (set_local $$d$4$i + (get_local $$add$ptr358$i) + ) + (set_local $$e$4$i + (get_local $$e$1$i) + ) + (br $do-once$88) + ) ) - ) - (set_local $$and610$pre$phi$iZ2D - (i32.const 0) - ) - (set_local $$p$addr$3$i - (get_local $$p$addr$2$$sub514398$i) - ) - (set_local $$t$addr$1$i - (get_local $$t$addr$0$i) - ) - (br $do-once$98) - ) - (block - (set_local $$add561$i - (i32.add - (get_local $$mul513$i) - (get_local $$e$5$ph$i) + (set_local $$add414$i + (i32.add + (get_local $$sub409$i) + (get_local $$i$1$lcssa$i) + ) ) - ) - (set_local $$sub562$i - (i32.sub - (get_local $$add561$i) - (get_local $$j$2$i) + (i32.store + (get_local $$add$ptr358$i) + (get_local $$add414$i) ) - ) - (set_local $$cmp563$i - (i32.lt_s - (get_local $$sub562$i) - (i32.const 0) + (set_local $$cmp416$519$i + (i32.gt_u + (get_local $$add414$i) + (i32.const 999999999) + ) ) - ) - (set_local $$$sub562$i (if - (get_local $$cmp563$i) - (i32.const 0) - (get_local $$sub562$i) + (get_local $$cmp416$519$i) + (block + (set_local $$a$5521$i + (get_local $$a$3$lcssa$i) + ) + (set_local $$d$2520$i + (get_local $$add$ptr358$i) + ) + (loop $while-in$93 + (block $while-out$92 + (set_local $$incdec$ptr419$i + (i32.add + (get_local $$d$2520$i) + (i32.const -4) + ) + ) + (i32.store + (get_local $$d$2520$i) + (i32.const 0) + ) + (set_local $$cmp420$i + (i32.lt_u + (get_local $$incdec$ptr419$i) + (get_local $$a$5521$i) + ) + ) + (if + (get_local $$cmp420$i) + (block + (set_local $$incdec$ptr423$i + (i32.add + (get_local $$a$5521$i) + (i32.const -4) + ) + ) + (i32.store + (get_local $$incdec$ptr423$i) + (i32.const 0) + ) + (set_local $$a$6$i + (get_local $$incdec$ptr423$i) + ) + ) + (set_local $$a$6$i + (get_local $$a$5521$i) + ) + ) + (set_local $$233 + (i32.load + (get_local $$incdec$ptr419$i) + ) + ) + (set_local $$inc425$i + (i32.add + (get_local $$233) + (i32.const 1) + ) + ) + (i32.store + (get_local $$incdec$ptr419$i) + (get_local $$inc425$i) + ) + (set_local $$cmp416$i + (i32.gt_u + (get_local $$inc425$i) + (i32.const 999999999) + ) + ) + (if + (get_local $$cmp416$i) + (block + (set_local $$a$5521$i + (get_local $$a$6$i) + ) + (set_local $$d$2520$i + (get_local $$incdec$ptr419$i) + ) + ) + (block + (set_local $$a$5$lcssa$i + (get_local $$a$6$i) + ) + (set_local $$d$2$lcssa$i + (get_local $$incdec$ptr419$i) + ) + (br $while-out$92) + ) + ) + (br $while-in$93) + ) + ) + ) + (block + (set_local $$a$5$lcssa$i + (get_local $$a$3$lcssa$i) + ) + (set_local $$d$2$lcssa$i + (get_local $$add$ptr358$i) + ) + ) ) - ) - (set_local $$cmp577$i - (i32.lt_s - (get_local $$p$addr$2$i) - (get_local $$$sub562$i) + (set_local $$sub$ptr$rhs$cast428$i + (get_local $$a$5$lcssa$i) + ) + (set_local $$sub$ptr$sub429$i + (i32.sub + (get_local $$sub$ptr$rhs$cast345$i) + (get_local $$sub$ptr$rhs$cast428$i) + ) + ) + (set_local $$sub$ptr$div430$i + (i32.shr_s + (get_local $$sub$ptr$sub429$i) + (i32.const 2) + ) + ) + (set_local $$mul431$i + (i32.mul + (get_local $$sub$ptr$div430$i) + (i32.const 9) + ) + ) + (set_local $$234 + (i32.load + (get_local $$a$5$lcssa$i) + ) + ) + (set_local $$cmp433$515$i + (i32.lt_u + (get_local $$234) + (i32.const 10) + ) + ) + (if + (get_local $$cmp433$515$i) + (block + (set_local $$a$8$i + (get_local $$a$5$lcssa$i) + ) + (set_local $$d$4$i + (get_local $$d$2$lcssa$i) + ) + (set_local $$e$4$i + (get_local $$mul431$i) + ) + (br $do-once$88) + ) + (block + (set_local $$e$2517$i + (get_local $$mul431$i) + ) + (set_local $$i$2516$i + (i32.const 10) + ) + ) ) - ) - (set_local $$p$addr$2$$sub562399$i - (if - (get_local $$cmp577$i) - (get_local $$p$addr$2$i) - (get_local $$$sub562$i) + (loop $while-in$95 + (block $while-out$94 + (set_local $$mul437$i + (i32.mul + (get_local $$i$2516$i) + (i32.const 10) + ) + ) + (set_local $$inc438$i + (i32.add + (get_local $$e$2517$i) + (i32.const 1) + ) + ) + (set_local $$cmp433$i + (i32.lt_u + (get_local $$234) + (get_local $$mul437$i) + ) + ) + (if + (get_local $$cmp433$i) + (block + (set_local $$a$8$i + (get_local $$a$5$lcssa$i) + ) + (set_local $$d$4$i + (get_local $$d$2$lcssa$i) + ) + (set_local $$e$4$i + (get_local $$inc438$i) + ) + (br $while-out$94) + ) + (block + (set_local $$e$2517$i + (get_local $$inc438$i) + ) + (set_local $$i$2516$i + (get_local $$mul437$i) + ) + ) + ) + (br $while-in$95) + ) ) ) - (set_local $$and610$pre$phi$iZ2D - (i32.const 0) - ) - (set_local $$p$addr$3$i - (get_local $$p$addr$2$$sub562399$i) - ) - (set_local $$t$addr$1$i - (get_local $$t$addr$0$i) - ) - (br $do-once$98) ) ) - ) - (block - (set_local $$$pre567$i - (i32.and - (get_local $$fl$1$and219) - (i32.const 8) + (set_local $$add$ptr442$i + (i32.add + (get_local $$d$4$i) + (i32.const 4) ) ) - (set_local $$and610$pre$phi$iZ2D - (get_local $$$pre567$i) + (set_local $$cmp443$i + (i32.gt_u + (get_local $$z$3$lcssa$i) + (get_local $$add$ptr442$i) + ) ) - (set_local $$p$addr$3$i - (get_local $$$p$i) + (set_local $$add$ptr442$z$3$i + (if + (get_local $$cmp443$i) + (get_local $$add$ptr442$i) + (get_local $$z$3$lcssa$i) + ) ) - (set_local $$t$addr$1$i - (get_local $$t$0) + (set_local $$a$9$ph$i + (get_local $$a$8$i) ) - ) - ) - ) - (set_local $$239 - (i32.or - (get_local $$p$addr$3$i) - (get_local $$and610$pre$phi$iZ2D) - ) - ) - (set_local $$240 - (i32.ne - (get_local $$239) - (i32.const 0) - ) - ) - (set_local $$lor$ext$i - (i32.and - (get_local $$240) - (i32.const 1) - ) - ) - (set_local $$or613$i - (i32.or - (get_local $$t$addr$1$i) - (i32.const 32) - ) - ) - (set_local $$cmp614$i - (i32.eq - (get_local $$or613$i) - (i32.const 102) - ) - ) - (if - (get_local $$cmp614$i) - (block - (set_local $$cmp617$i - (i32.gt_s - (get_local $$e$5$ph$i) - (i32.const 0) + (set_local $$e$5$ph$i + (get_local $$e$4$i) + ) + (set_local $$z$7$ph$i + (get_local $$add$ptr442$z$3$i) ) ) - (set_local $$add620$i - (if - (get_local $$cmp617$i) - (get_local $$e$5$ph$i) - (i32.const 0) + (block + (set_local $$a$9$ph$i + (get_local $$a$3$lcssa$i) + ) + (set_local $$e$5$ph$i + (get_local $$e$1$i) + ) + (set_local $$z$7$ph$i + (get_local $$z$3$lcssa$i) ) ) - (set_local $$estr$2$i + ) + (set_local $$sub626$le$i + (i32.sub (i32.const 0) - ) - (set_local $$sub$ptr$sub650$pn$i - (get_local $$add620$i) + (get_local $$e$5$ph$i) ) ) - (block - (set_local $$cmp623$i - (i32.lt_s - (get_local $$e$5$ph$i) - (i32.const 0) + (set_local $$z$7$i + (get_local $$z$7$ph$i) + ) + (loop $while-in$97 + (block $while-out$96 + (set_local $$cmp450$i + (i32.gt_u + (get_local $$z$7$i) + (get_local $$a$9$ph$i) + ) ) - ) - (set_local $$cond629$i (if - (get_local $$cmp623$i) - (get_local $$sub626$le$i) - (get_local $$e$5$ph$i) - ) - ) - (set_local $$241 - (i32.lt_s - (get_local $$cond629$i) - (i32.const 0) + (i32.eqz + (get_local $$cmp450$i) + ) + (block + (set_local $$cmp450$lcssa$i + (i32.const 0) + ) + (set_local $$z$7$i$lcssa + (get_local $$z$7$i) + ) + (br $while-out$96) + ) ) - ) - (set_local $$242 - (i32.shr_s - (i32.shl - (get_local $$241) - (i32.const 31) + (set_local $$arrayidx453$i + (i32.add + (get_local $$z$7$i) + (i32.const -4) ) - (i32.const 31) ) - ) - (set_local $$243 - (call $_fmt_u - (get_local $$cond629$i) - (get_local $$242) - (get_local $$arrayidx$i$236) + (set_local $$235 + (i32.load + (get_local $$arrayidx453$i) + ) ) - ) - (set_local $$sub$ptr$rhs$cast634$504$i - (get_local $$243) - ) - (set_local $$sub$ptr$sub635$505$i - (i32.sub - (get_local $$sub$ptr$lhs$cast160$i) - (get_local $$sub$ptr$rhs$cast634$504$i) + (set_local $$lnot455$i + (i32.eq + (get_local $$235) + (i32.const 0) + ) ) - ) - (set_local $$cmp636$506$i - (i32.lt_s - (get_local $$sub$ptr$sub635$505$i) - (i32.const 2) + (if + (get_local $$lnot455$i) + (set_local $$z$7$i + (get_local $$arrayidx453$i) + ) + (block + (set_local $$cmp450$lcssa$i + (i32.const 1) + ) + (set_local $$z$7$i$lcssa + (get_local $$z$7$i) + ) + (br $while-out$96) + ) ) + (br $while-in$97) ) + ) + (block $do-once$98 (if - (get_local $$cmp636$506$i) + (get_local $$cmp338$i) (block - (set_local $$estr$1507$i - (get_local $$243) + (set_local $$236 + (i32.and + (get_local $$tobool341$i) + (i32.const 1) + ) ) - (loop $while-out$104 $while-in$105 - (set_local $$incdec$ptr639$i - (i32.add - (get_local $$estr$1507$i) - (i32.const -1) - ) + (set_local $$inc468$i + (i32.xor + (get_local $$236) + (i32.const 1) ) - (i32.store8 - (get_local $$incdec$ptr639$i) - (i32.const 48) + ) + (set_local $$$p$inc468$i + (i32.add + (get_local $$inc468$i) + (get_local $$$p$i) ) - (set_local $$sub$ptr$rhs$cast634$i - (get_local $$incdec$ptr639$i) + ) + (set_local $$cmp470$i + (i32.gt_s + (get_local $$$p$inc468$i) + (get_local $$e$5$ph$i) ) - (set_local $$sub$ptr$sub635$i - (i32.sub - (get_local $$sub$ptr$lhs$cast160$i) - (get_local $$sub$ptr$rhs$cast634$i) - ) + ) + (set_local $$cmp473$i + (i32.gt_s + (get_local $$e$5$ph$i) + (i32.const -5) ) - (set_local $$cmp636$i - (i32.lt_s - (get_local $$sub$ptr$sub635$i) - (i32.const 2) + ) + (set_local $$or$cond2$i + (i32.and + (get_local $$cmp470$i) + (get_local $$cmp473$i) + ) + ) + (if + (get_local $$or$cond2$i) + (block + (set_local $$dec476$i + (i32.add + (get_local $$t$0) + (i32.const -1) + ) + ) + (set_local $$add477$neg$i + (i32.add + (get_local $$$p$inc468$i) + (i32.const -1) + ) + ) + (set_local $$sub478$i + (i32.sub + (get_local $$add477$neg$i) + (get_local $$e$5$ph$i) + ) + ) + (set_local $$p$addr$2$i + (get_local $$sub478$i) + ) + (set_local $$t$addr$0$i + (get_local $$dec476$i) ) ) - (if - (get_local $$cmp636$i) - (set_local $$estr$1507$i - (get_local $$incdec$ptr639$i) + (block + (set_local $$sub480$i + (i32.add + (get_local $$t$0) + (i32.const -2) + ) ) - (block - (set_local $$estr$1$lcssa$i - (get_local $$incdec$ptr639$i) + (set_local $$dec481$i + (i32.add + (get_local $$$p$inc468$i) + (i32.const -1) ) - (br $while-out$104) + ) + (set_local $$p$addr$2$i + (get_local $$dec481$i) + ) + (set_local $$t$addr$0$i + (get_local $$sub480$i) ) ) - (br $while-in$105) - ) - ) - (set_local $$estr$1$lcssa$i - (get_local $$243) - ) - ) - (set_local $$244 - (i32.shr_s - (get_local $$e$5$ph$i) - (i32.const 31) - ) - ) - (set_local $$245 - (i32.and - (get_local $$244) - (i32.const 2) - ) - ) - (set_local $$246 - (i32.add - (get_local $$245) - (i32.const 43) - ) - ) - (set_local $$conv644$i - (i32.and - (get_local $$246) - (i32.const 255) - ) - ) - (set_local $$incdec$ptr645$i - (i32.add - (get_local $$estr$1$lcssa$i) - (i32.const -1) - ) - ) - (i32.store8 - (get_local $$incdec$ptr645$i) - (get_local $$conv644$i) - ) - (set_local $$conv646$i - (i32.and - (get_local $$t$addr$1$i) - (i32.const 255) - ) - ) - (set_local $$incdec$ptr647$i - (i32.add - (get_local $$estr$1$lcssa$i) - (i32.const -2) - ) - ) - (i32.store8 - (get_local $$incdec$ptr647$i) - (get_local $$conv646$i) - ) - (set_local $$sub$ptr$rhs$cast649$i - (get_local $$incdec$ptr647$i) - ) - (set_local $$sub$ptr$sub650$i - (i32.sub - (get_local $$sub$ptr$lhs$cast160$i) - (get_local $$sub$ptr$rhs$cast649$i) - ) - ) - (set_local $$estr$2$i - (get_local $$incdec$ptr647$i) - ) - (set_local $$sub$ptr$sub650$pn$i - (get_local $$sub$ptr$sub650$i) - ) - ) - ) - (set_local $$add608$i - (i32.add - (get_local $$pl$0$i) - (i32.const 1) - ) - ) - (set_local $$add612$i - (i32.add - (get_local $$add608$i) - (get_local $$p$addr$3$i) - ) - ) - (set_local $$l$1$i - (i32.add - (get_local $$add612$i) - (get_local $$lor$ext$i) - ) - ) - (set_local $$add653$i - (i32.add - (get_local $$l$1$i) - (get_local $$sub$ptr$sub650$pn$i) - ) - ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$1) - (get_local $$add653$i) - (get_local $$fl$1$and219) - ) - (set_local $$247 - (i32.load - (get_local $$f) - ) - ) - (set_local $$and$i$436$i - (i32.and - (get_local $$247) - (i32.const 32) - ) - ) - (set_local $$tobool$i$437$i - (i32.eq - (get_local $$and$i$436$i) - (i32.const 0) - ) - ) - (if - (get_local $$tobool$i$437$i) - (call $___fwritex - (get_local $$prefix$0$i) - (get_local $$pl$0$i) - (get_local $$f) - ) - ) - (set_local $$xor655$i - (i32.xor - (get_local $$fl$1$and219) - (i32.const 65536) - ) - ) - (call $_pad - (get_local $$f) - (i32.const 48) - (get_local $$w$1) - (get_local $$add653$i) - (get_local $$xor655$i) - ) - (block $do-once$106 - (if - (get_local $$cmp614$i) - (block - (set_local $$cmp660$i - (i32.gt_u - (get_local $$a$9$ph$i) - (get_local $$arraydecay208$add$ptr213$i) - ) - ) - (set_local $$r$0$a$9$i - (if - (get_local $$cmp660$i) - (get_local $$arraydecay208$add$ptr213$i) - (get_local $$a$9$ph$i) ) - ) - (set_local $$d$5494$i - (get_local $$r$0$a$9$i) - ) - (loop $while-out$114 $while-in$115 - (set_local $$248 - (i32.load - (get_local $$d$5494$i) + (set_local $$and483$i + (i32.and + (get_local $$fl$1$and219) + (i32.const 8) ) ) - (set_local $$249 - (call $_fmt_u - (get_local $$248) + (set_local $$tobool484$i + (i32.eq + (get_local $$and483$i) (i32.const 0) - (get_local $$add$ptr671$i) ) ) - (set_local $$cmp673$i - (i32.eq - (get_local $$d$5494$i) - (get_local $$r$0$a$9$i) + (if + (i32.eqz + (get_local $$tobool484$i) + ) + (block + (set_local $$and610$pre$phi$iZ2D + (get_local $$and483$i) + ) + (set_local $$p$addr$3$i + (get_local $$p$addr$2$i) + ) + (set_local $$t$addr$1$i + (get_local $$t$addr$0$i) + ) + (br $do-once$98) ) ) - (block $do-once$116 + (block $do-once$100 (if - (get_local $$cmp673$i) + (get_local $$cmp450$lcssa$i) (block - (set_local $$cmp686$i + (set_local $$arrayidx489$i + (i32.add + (get_local $$z$7$i$lcssa) + (i32.const -4) + ) + ) + (set_local $$237 + (i32.load + (get_local $$arrayidx489$i) + ) + ) + (set_local $$tobool490$i (i32.eq - (get_local $$249) - (get_local $$add$ptr671$i) + (get_local $$237) + (i32.const 0) ) ) (if - (i32.eqz - (get_local $$cmp686$i) - ) + (get_local $$tobool490$i) (block - (set_local $$s668$1$i - (get_local $$249) + (set_local $$j$2$i + (i32.const 9) ) - (br $do-once$116) + (br $do-once$100) ) ) - (i32.store8 - (get_local $$incdec$ptr689$i) - (i32.const 48) - ) - (set_local $$s668$1$i - (get_local $$incdec$ptr689$i) + (set_local $$rem494$510$i + (i32.and + (i32.rem_u + (get_local $$237) + (i32.const 10) + ) + (i32.const -1) + ) ) - ) - (block - (set_local $$cmp678$491$i - (i32.gt_u - (get_local $$249) - (get_local $$buf$i) + (set_local $$cmp495$511$i + (i32.eq + (get_local $$rem494$510$i) + (i32.const 0) ) ) (if - (get_local $$cmp678$491$i) - (set_local $$s668$0492$i - (get_local $$249) + (get_local $$cmp495$511$i) + (block + (set_local $$i$3512$i + (i32.const 10) + ) + (set_local $$j$1513$i + (i32.const 0) + ) ) (block - (set_local $$s668$1$i - (get_local $$249) + (set_local $$j$2$i + (i32.const 0) ) - (br $do-once$116) + (br $do-once$100) ) ) - (loop $while-out$118 $while-in$119 - (set_local $$incdec$ptr681$i - (i32.add - (get_local $$s668$0492$i) - (i32.const -1) + (loop $while-in$103 + (block $while-out$102 + (set_local $$mul499$i + (i32.mul + (get_local $$i$3512$i) + (i32.const 10) + ) ) - ) - (i32.store8 - (get_local $$incdec$ptr681$i) - (i32.const 48) - ) - (set_local $$cmp678$i - (i32.gt_u - (get_local $$incdec$ptr681$i) - (get_local $$buf$i) + (set_local $$inc500$i + (i32.add + (get_local $$j$1513$i) + (i32.const 1) + ) ) - ) - (if - (get_local $$cmp678$i) - (set_local $$s668$0492$i - (get_local $$incdec$ptr681$i) + (set_local $$rem494$i + (i32.and + (i32.rem_u + (get_local $$237) + (get_local $$mul499$i) + ) + (i32.const -1) + ) ) - (block - (set_local $$s668$1$i - (get_local $$incdec$ptr681$i) + (set_local $$cmp495$i + (i32.eq + (get_local $$rem494$i) + (i32.const 0) + ) + ) + (if + (get_local $$cmp495$i) + (block + (set_local $$i$3512$i + (get_local $$mul499$i) + ) + (set_local $$j$1513$i + (get_local $$inc500$i) + ) + ) + (block + (set_local $$j$2$i + (get_local $$inc500$i) + ) + (br $while-out$102) ) - (br $while-out$118) ) + (br $while-in$103) ) - (br $while-in$119) ) ) + (set_local $$j$2$i + (i32.const 9) + ) ) ) - (set_local $$250 - (i32.load - (get_local $$f) - ) - ) - (set_local $$and$i$442$i - (i32.and - (get_local $$250) + (set_local $$or504$i + (i32.or + (get_local $$t$addr$0$i) (i32.const 32) ) ) - (set_local $$tobool$i$443$i + (set_local $$cmp505$i (i32.eq - (get_local $$and$i$442$i) - (i32.const 0) + (get_local $$or504$i) + (i32.const 102) + ) + ) + (set_local $$sub$ptr$lhs$cast508$i + (get_local $$z$7$i$lcssa) + ) + (set_local $$sub$ptr$sub510$i + (i32.sub + (get_local $$sub$ptr$lhs$cast508$i) + (get_local $$sub$ptr$rhs$cast345$i) + ) + ) + (set_local $$sub$ptr$div511$i + (i32.shr_s + (get_local $$sub$ptr$sub510$i) + (i32.const 2) + ) + ) + (set_local $$238 + (i32.mul + (get_local $$sub$ptr$div511$i) + (i32.const 9) + ) + ) + (set_local $$mul513$i + (i32.add + (get_local $$238) + (i32.const -9) ) ) (if - (get_local $$tobool$i$443$i) + (get_local $$cmp505$i) + (block + (set_local $$sub514$i + (i32.sub + (get_local $$mul513$i) + (get_local $$j$2$i) + ) + ) + (set_local $$cmp515$i + (i32.lt_s + (get_local $$sub514$i) + (i32.const 0) + ) + ) + (set_local $$$sub514$i + (if + (get_local $$cmp515$i) + (i32.const 0) + (get_local $$sub514$i) + ) + ) + (set_local $$cmp528$i + (i32.lt_s + (get_local $$p$addr$2$i) + (get_local $$$sub514$i) + ) + ) + (set_local $$p$addr$2$$sub514398$i + (if + (get_local $$cmp528$i) + (get_local $$p$addr$2$i) + (get_local $$$sub514$i) + ) + ) + (set_local $$and610$pre$phi$iZ2D + (i32.const 0) + ) + (set_local $$p$addr$3$i + (get_local $$p$addr$2$$sub514398$i) + ) + (set_local $$t$addr$1$i + (get_local $$t$addr$0$i) + ) + (br $do-once$98) + ) (block - (set_local $$sub$ptr$rhs$cast695$i - (get_local $$s668$1$i) + (set_local $$add561$i + (i32.add + (get_local $$mul513$i) + (get_local $$e$5$ph$i) + ) ) - (set_local $$sub$ptr$sub696$i + (set_local $$sub562$i (i32.sub - (get_local $$sub$ptr$lhs$cast694$i) - (get_local $$sub$ptr$rhs$cast695$i) + (get_local $$add561$i) + (get_local $$j$2$i) + ) + ) + (set_local $$cmp563$i + (i32.lt_s + (get_local $$sub562$i) + (i32.const 0) + ) + ) + (set_local $$$sub562$i + (if + (get_local $$cmp563$i) + (i32.const 0) + (get_local $$sub562$i) + ) + ) + (set_local $$cmp577$i + (i32.lt_s + (get_local $$p$addr$2$i) + (get_local $$$sub562$i) + ) + ) + (set_local $$p$addr$2$$sub562399$i + (if + (get_local $$cmp577$i) + (get_local $$p$addr$2$i) + (get_local $$$sub562$i) ) ) - (call $___fwritex - (get_local $$s668$1$i) - (get_local $$sub$ptr$sub696$i) - (get_local $$f) + (set_local $$and610$pre$phi$iZ2D + (i32.const 0) + ) + (set_local $$p$addr$3$i + (get_local $$p$addr$2$$sub562399$i) ) + (set_local $$t$addr$1$i + (get_local $$t$addr$0$i) + ) + (br $do-once$98) ) ) - (set_local $$incdec$ptr698$i - (i32.add - (get_local $$d$5494$i) - (i32.const 4) + ) + (block + (set_local $$$pre567$i + (i32.and + (get_local $$fl$1$and219) + (i32.const 8) ) ) - (set_local $$cmp665$i - (i32.gt_u - (get_local $$incdec$ptr698$i) - (get_local $$arraydecay208$add$ptr213$i) - ) + (set_local $$and610$pre$phi$iZ2D + (get_local $$$pre567$i) + ) + (set_local $$p$addr$3$i + (get_local $$$p$i) ) + (set_local $$t$addr$1$i + (get_local $$t$0) + ) + ) + ) + ) + (set_local $$239 + (i32.or + (get_local $$p$addr$3$i) + (get_local $$and610$pre$phi$iZ2D) + ) + ) + (set_local $$240 + (i32.ne + (get_local $$239) + (i32.const 0) + ) + ) + (set_local $$lor$ext$i + (i32.and + (get_local $$240) + (i32.const 1) + ) + ) + (set_local $$or613$i + (i32.or + (get_local $$t$addr$1$i) + (i32.const 32) + ) + ) + (set_local $$cmp614$i + (i32.eq + (get_local $$or613$i) + (i32.const 102) + ) + ) + (if + (get_local $$cmp614$i) + (block + (set_local $$cmp617$i + (i32.gt_s + (get_local $$e$5$ph$i) + (i32.const 0) + ) + ) + (set_local $$add620$i (if - (get_local $$cmp665$i) - (block - (set_local $$incdec$ptr698$i$lcssa - (get_local $$incdec$ptr698$i) - ) - (br $while-out$114) - ) - (set_local $$d$5494$i - (get_local $$incdec$ptr698$i) - ) + (get_local $$cmp617$i) + (get_local $$e$5$ph$i) + (i32.const 0) ) - (br $while-in$115) ) - (set_local $$251 - (i32.eq - (get_local $$239) + (set_local $$estr$2$i + (i32.const 0) + ) + (set_local $$sub$ptr$sub650$pn$i + (get_local $$add620$i) + ) + ) + (block + (set_local $$cmp623$i + (i32.lt_s + (get_local $$e$5$ph$i) (i32.const 0) ) ) - (block $do-once$120 + (set_local $$cond629$i (if - (i32.eqz - (get_local $$251) + (get_local $$cmp623$i) + (get_local $$sub626$le$i) + (get_local $$e$5$ph$i) + ) + ) + (set_local $$241 + (i32.lt_s + (get_local $$cond629$i) + (i32.const 0) + ) + ) + (set_local $$242 + (i32.shr_s + (i32.shl + (get_local $$241) + (i32.const 31) ) - (block - (set_local $$252 - (i32.load - (get_local $$f) + (i32.const 31) + ) + ) + (set_local $$243 + (call $_fmt_u + (get_local $$cond629$i) + (get_local $$242) + (get_local $$arrayidx$i$236) + ) + ) + (set_local $$sub$ptr$rhs$cast634$504$i + (get_local $$243) + ) + (set_local $$sub$ptr$sub635$505$i + (i32.sub + (get_local $$sub$ptr$lhs$cast160$i) + (get_local $$sub$ptr$rhs$cast634$504$i) + ) + ) + (set_local $$cmp636$506$i + (i32.lt_s + (get_local $$sub$ptr$sub635$505$i) + (i32.const 2) + ) + ) + (if + (get_local $$cmp636$506$i) + (block + (set_local $$estr$1507$i + (get_local $$243) + ) + (loop $while-in$105 + (block $while-out$104 + (set_local $$incdec$ptr639$i + (i32.add + (get_local $$estr$1507$i) + (i32.const -1) + ) ) - ) - (set_local $$and$i$448$i - (i32.and - (get_local $$252) - (i32.const 32) + (i32.store8 + (get_local $$incdec$ptr639$i) + (i32.const 48) ) - ) - (set_local $$tobool$i$449$i - (i32.eq - (get_local $$and$i$448$i) - (i32.const 0) + (set_local $$sub$ptr$rhs$cast634$i + (get_local $$incdec$ptr639$i) ) - ) - (if - (i32.eqz - (get_local $$tobool$i$449$i) + (set_local $$sub$ptr$sub635$i + (i32.sub + (get_local $$sub$ptr$lhs$cast160$i) + (get_local $$sub$ptr$rhs$cast634$i) + ) + ) + (set_local $$cmp636$i + (i32.lt_s + (get_local $$sub$ptr$sub635$i) + (i32.const 2) + ) + ) + (if + (get_local $$cmp636$i) + (set_local $$estr$1507$i + (get_local $$incdec$ptr639$i) + ) + (block + (set_local $$estr$1$lcssa$i + (get_local $$incdec$ptr639$i) + ) + (br $while-out$104) + ) ) - (br $do-once$120) - ) - (call $___fwritex - (i32.const 4143) - (i32.const 1) - (get_local $$f) + (br $while-in$105) ) ) ) + (set_local $$estr$1$lcssa$i + (get_local $$243) + ) ) - (set_local $$cmp707$486$i - (i32.lt_u - (get_local $$incdec$ptr698$i$lcssa) - (get_local $$z$7$i$lcssa) + (set_local $$244 + (i32.shr_s + (get_local $$e$5$ph$i) + (i32.const 31) ) ) - (set_local $$cmp710$487$i - (i32.gt_s - (get_local $$p$addr$3$i) - (i32.const 0) + (set_local $$245 + (i32.and + (get_local $$244) + (i32.const 2) + ) + ) + (set_local $$246 + (i32.add + (get_local $$245) + (i32.const 43) ) ) - (set_local $$253 + (set_local $$conv644$i (i32.and - (get_local $$cmp710$487$i) - (get_local $$cmp707$486$i) + (get_local $$246) + (i32.const 255) ) ) - (if - (get_local $$253) - (block - (set_local $$d$6488$i - (get_local $$incdec$ptr698$i$lcssa) + (set_local $$incdec$ptr645$i + (i32.add + (get_local $$estr$1$lcssa$i) + (i32.const -1) + ) + ) + (i32.store8 + (get_local $$incdec$ptr645$i) + (get_local $$conv644$i) + ) + (set_local $$conv646$i + (i32.and + (get_local $$t$addr$1$i) + (i32.const 255) + ) + ) + (set_local $$incdec$ptr647$i + (i32.add + (get_local $$estr$1$lcssa$i) + (i32.const -2) + ) + ) + (i32.store8 + (get_local $$incdec$ptr647$i) + (get_local $$conv646$i) + ) + (set_local $$sub$ptr$rhs$cast649$i + (get_local $$incdec$ptr647$i) + ) + (set_local $$sub$ptr$sub650$i + (i32.sub + (get_local $$sub$ptr$lhs$cast160$i) + (get_local $$sub$ptr$rhs$cast649$i) + ) + ) + (set_local $$estr$2$i + (get_local $$incdec$ptr647$i) + ) + (set_local $$sub$ptr$sub650$pn$i + (get_local $$sub$ptr$sub650$i) + ) + ) + ) + (set_local $$add608$i + (i32.add + (get_local $$pl$0$i) + (i32.const 1) + ) + ) + (set_local $$add612$i + (i32.add + (get_local $$add608$i) + (get_local $$p$addr$3$i) + ) + ) + (set_local $$l$1$i + (i32.add + (get_local $$add612$i) + (get_local $$lor$ext$i) + ) + ) + (set_local $$add653$i + (i32.add + (get_local $$l$1$i) + (get_local $$sub$ptr$sub650$pn$i) + ) + ) + (call $_pad + (get_local $$f) + (i32.const 32) + (get_local $$w$1) + (get_local $$add653$i) + (get_local $$fl$1$and219) + ) + (set_local $$247 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i$436$i + (i32.and + (get_local $$247) + (i32.const 32) + ) + ) + (set_local $$tobool$i$437$i + (i32.eq + (get_local $$and$i$436$i) + (i32.const 0) + ) + ) + (if + (get_local $$tobool$i$437$i) + (call $___fwritex + (get_local $$prefix$0$i) + (get_local $$pl$0$i) + (get_local $$f) + ) + ) + (set_local $$xor655$i + (i32.xor + (get_local $$fl$1$and219) + (i32.const 65536) + ) + ) + (call $_pad + (get_local $$f) + (i32.const 48) + (get_local $$w$1) + (get_local $$add653$i) + (get_local $$xor655$i) + ) + (block $do-once$106 + (if + (get_local $$cmp614$i) + (block + (set_local $$cmp660$i + (i32.gt_u + (get_local $$a$9$ph$i) + (get_local $$arraydecay208$add$ptr213$i) ) - (set_local $$p$addr$4489$i - (get_local $$p$addr$3$i) + ) + (set_local $$r$0$a$9$i + (if + (get_local $$cmp660$i) + (get_local $$arraydecay208$add$ptr213$i) + (get_local $$a$9$ph$i) ) - (loop $while-out$122 $while-in$123 - (set_local $$254 + ) + (set_local $$d$5494$i + (get_local $$r$0$a$9$i) + ) + (loop $while-in$115 + (block $while-out$114 + (set_local $$248 (i32.load - (get_local $$d$6488$i) + (get_local $$d$5494$i) ) ) - (set_local $$255 + (set_local $$249 (call $_fmt_u - (get_local $$254) + (get_local $$248) (i32.const 0) (get_local $$add$ptr671$i) ) ) - (set_local $$cmp722$483$i - (i32.gt_u - (get_local $$255) - (get_local $$buf$i) + (set_local $$cmp673$i + (i32.eq + (get_local $$d$5494$i) + (get_local $$r$0$a$9$i) ) ) - (if - (get_local $$cmp722$483$i) - (block - (set_local $$s715$0484$i - (get_local $$255) - ) - (loop $while-out$124 $while-in$125 - (set_local $$incdec$ptr725$i - (i32.add - (get_local $$s715$0484$i) - (i32.const -1) + (block $do-once$116 + (if + (get_local $$cmp673$i) + (block + (set_local $$cmp686$i + (i32.eq + (get_local $$249) + (get_local $$add$ptr671$i) + ) + ) + (if + (i32.eqz + (get_local $$cmp686$i) + ) + (block + (set_local $$s668$1$i + (get_local $$249) + ) + (br $do-once$116) ) ) (i32.store8 - (get_local $$incdec$ptr725$i) + (get_local $$incdec$ptr689$i) (i32.const 48) ) - (set_local $$cmp722$i + (set_local $$s668$1$i + (get_local $$incdec$ptr689$i) + ) + ) + (block + (set_local $$cmp678$491$i (i32.gt_u - (get_local $$incdec$ptr725$i) + (get_local $$249) (get_local $$buf$i) ) ) (if - (get_local $$cmp722$i) - (set_local $$s715$0484$i - (get_local $$incdec$ptr725$i) + (get_local $$cmp678$491$i) + (set_local $$s668$0492$i + (get_local $$249) ) (block - (set_local $$s715$0$lcssa$i - (get_local $$incdec$ptr725$i) + (set_local $$s668$1$i + (get_local $$249) + ) + (br $do-once$116) + ) + ) + (loop $while-in$119 + (block $while-out$118 + (set_local $$incdec$ptr681$i + (i32.add + (get_local $$s668$0492$i) + (i32.const -1) + ) + ) + (i32.store8 + (get_local $$incdec$ptr681$i) + (i32.const 48) + ) + (set_local $$cmp678$i + (i32.gt_u + (get_local $$incdec$ptr681$i) + (get_local $$buf$i) + ) ) - (br $while-out$124) + (if + (get_local $$cmp678$i) + (set_local $$s668$0492$i + (get_local $$incdec$ptr681$i) + ) + (block + (set_local $$s668$1$i + (get_local $$incdec$ptr681$i) + ) + (br $while-out$118) + ) + ) + (br $while-in$119) ) ) - (br $while-in$125) ) ) - (set_local $$s715$0$lcssa$i - (get_local $$255) - ) ) - (set_local $$256 + (set_local $$250 (i32.load (get_local $$f) ) ) - (set_local $$and$i$454$i + (set_local $$and$i$442$i (i32.and - (get_local $$256) + (get_local $$250) (i32.const 32) ) ) - (set_local $$tobool$i$455$i + (set_local $$tobool$i$443$i (i32.eq - (get_local $$and$i$454$i) + (get_local $$and$i$442$i) (i32.const 0) ) ) (if - (get_local $$tobool$i$455$i) + (get_local $$tobool$i$443$i) (block - (set_local $$cmp727$i - (i32.gt_s - (get_local $$p$addr$4489$i) - (i32.const 9) - ) + (set_local $$sub$ptr$rhs$cast695$i + (get_local $$s668$1$i) ) - (set_local $$cond732$i - (if - (get_local $$cmp727$i) - (i32.const 9) - (get_local $$p$addr$4489$i) + (set_local $$sub$ptr$sub696$i + (i32.sub + (get_local $$sub$ptr$lhs$cast694$i) + (get_local $$sub$ptr$rhs$cast695$i) ) ) (call $___fwritex - (get_local $$s715$0$lcssa$i) - (get_local $$cond732$i) + (get_local $$s668$1$i) + (get_local $$sub$ptr$sub696$i) (get_local $$f) ) ) ) - (set_local $$incdec$ptr734$i + (set_local $$incdec$ptr698$i (i32.add - (get_local $$d$6488$i) + (get_local $$d$5494$i) (i32.const 4) ) ) - (set_local $$sub735$i - (i32.add - (get_local $$p$addr$4489$i) - (i32.const -9) + (set_local $$cmp665$i + (i32.gt_u + (get_local $$incdec$ptr698$i) + (get_local $$arraydecay208$add$ptr213$i) ) ) - (set_local $$cmp707$i - (i32.lt_u - (get_local $$incdec$ptr734$i) - (get_local $$z$7$i$lcssa) + (if + (get_local $$cmp665$i) + (block + (set_local $$incdec$ptr698$i$lcssa + (get_local $$incdec$ptr698$i) + ) + (br $while-out$114) ) - ) - (set_local $$cmp710$i - (i32.gt_s - (get_local $$p$addr$4489$i) - (i32.const 9) + (set_local $$d$5494$i + (get_local $$incdec$ptr698$i) ) ) - (set_local $$257 - (i32.and - (get_local $$cmp710$i) - (get_local $$cmp707$i) + (br $while-in$115) + ) + ) + (set_local $$251 + (i32.eq + (get_local $$239) + (i32.const 0) + ) + ) + (block $do-once$120 + (if + (i32.eqz + (get_local $$251) + ) + (block + (set_local $$252 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i$448$i + (i32.and + (get_local $$252) + (i32.const 32) + ) + ) + (set_local $$tobool$i$449$i + (i32.eq + (get_local $$and$i$448$i) + (i32.const 0) + ) + ) + (if + (i32.eqz + (get_local $$tobool$i$449$i) + ) + (br $do-once$120) + ) + (call $___fwritex + (i32.const 4143) + (i32.const 1) + (get_local $$f) ) ) - (if - (get_local $$257) - (block - (set_local $$d$6488$i - (get_local $$incdec$ptr734$i) + ) + ) + (set_local $$cmp707$486$i + (i32.lt_u + (get_local $$incdec$ptr698$i$lcssa) + (get_local $$z$7$i$lcssa) + ) + ) + (set_local $$cmp710$487$i + (i32.gt_s + (get_local $$p$addr$3$i) + (i32.const 0) + ) + ) + (set_local $$253 + (i32.and + (get_local $$cmp710$487$i) + (get_local $$cmp707$486$i) + ) + ) + (if + (get_local $$253) + (block + (set_local $$d$6488$i + (get_local $$incdec$ptr698$i$lcssa) + ) + (set_local $$p$addr$4489$i + (get_local $$p$addr$3$i) + ) + (loop $while-in$123 + (block $while-out$122 + (set_local $$254 + (i32.load + (get_local $$d$6488$i) + ) + ) + (set_local $$255 + (call $_fmt_u + (get_local $$254) + (i32.const 0) + (get_local $$add$ptr671$i) + ) + ) + (set_local $$cmp722$483$i + (i32.gt_u + (get_local $$255) + (get_local $$buf$i) + ) + ) + (if + (get_local $$cmp722$483$i) + (block + (set_local $$s715$0484$i + (get_local $$255) + ) + (loop $while-in$125 + (block $while-out$124 + (set_local $$incdec$ptr725$i + (i32.add + (get_local $$s715$0484$i) + (i32.const -1) + ) + ) + (i32.store8 + (get_local $$incdec$ptr725$i) + (i32.const 48) + ) + (set_local $$cmp722$i + (i32.gt_u + (get_local $$incdec$ptr725$i) + (get_local $$buf$i) + ) + ) + (if + (get_local $$cmp722$i) + (set_local $$s715$0484$i + (get_local $$incdec$ptr725$i) + ) + (block + (set_local $$s715$0$lcssa$i + (get_local $$incdec$ptr725$i) + ) + (br $while-out$124) + ) + ) + (br $while-in$125) + ) + ) + ) + (set_local $$s715$0$lcssa$i + (get_local $$255) + ) + ) + (set_local $$256 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i$454$i + (i32.and + (get_local $$256) + (i32.const 32) + ) + ) + (set_local $$tobool$i$455$i + (i32.eq + (get_local $$and$i$454$i) + (i32.const 0) + ) + ) + (if + (get_local $$tobool$i$455$i) + (block + (set_local $$cmp727$i + (i32.gt_s + (get_local $$p$addr$4489$i) + (i32.const 9) + ) + ) + (set_local $$cond732$i + (if + (get_local $$cmp727$i) + (i32.const 9) + (get_local $$p$addr$4489$i) + ) + ) + (call $___fwritex + (get_local $$s715$0$lcssa$i) + (get_local $$cond732$i) + (get_local $$f) + ) + ) ) - (set_local $$p$addr$4489$i - (get_local $$sub735$i) + (set_local $$incdec$ptr734$i + (i32.add + (get_local $$d$6488$i) + (i32.const 4) + ) ) - ) - (block - (set_local $$p$addr$4$lcssa$i - (get_local $$sub735$i) + (set_local $$sub735$i + (i32.add + (get_local $$p$addr$4489$i) + (i32.const -9) + ) + ) + (set_local $$cmp707$i + (i32.lt_u + (get_local $$incdec$ptr734$i) + (get_local $$z$7$i$lcssa) + ) + ) + (set_local $$cmp710$i + (i32.gt_s + (get_local $$p$addr$4489$i) + (i32.const 9) + ) + ) + (set_local $$257 + (i32.and + (get_local $$cmp710$i) + (get_local $$cmp707$i) + ) + ) + (if + (get_local $$257) + (block + (set_local $$d$6488$i + (get_local $$incdec$ptr734$i) + ) + (set_local $$p$addr$4489$i + (get_local $$sub735$i) + ) + ) + (block + (set_local $$p$addr$4$lcssa$i + (get_local $$sub735$i) + ) + (br $while-out$122) + ) ) - (br $while-out$122) + (br $while-in$123) ) ) - (br $while-in$123) + ) + (set_local $$p$addr$4$lcssa$i + (get_local $$p$addr$3$i) ) ) - (set_local $$p$addr$4$lcssa$i - (get_local $$p$addr$3$i) + (set_local $$add737$i + (i32.add + (get_local $$p$addr$4$lcssa$i) + (i32.const 9) + ) ) - ) - (set_local $$add737$i - (i32.add - (get_local $$p$addr$4$lcssa$i) + (call $_pad + (get_local $$f) + (i32.const 48) + (get_local $$add737$i) (i32.const 9) + (i32.const 0) ) ) - (call $_pad - (get_local $$f) - (i32.const 48) - (get_local $$add737$i) - (i32.const 9) - (i32.const 0) - ) - ) - (block - (set_local $$add$ptr742$i - (i32.add - (get_local $$a$9$ph$i) - (i32.const 4) - ) - ) - (set_local $$z$7$add$ptr742$i - (if - (get_local $$cmp450$lcssa$i) - (get_local $$z$7$i$lcssa) - (get_local $$add$ptr742$i) - ) - ) - (set_local $$cmp748$499$i - (i32.gt_s - (get_local $$p$addr$3$i) - (i32.const -1) - ) - ) - (if - (get_local $$cmp748$499$i) - (block - (set_local $$tobool781$i - (i32.eq - (get_local $$and610$pre$phi$iZ2D) - (i32.const 0) - ) - ) - (set_local $$d$7500$i + (block + (set_local $$add$ptr742$i + (i32.add (get_local $$a$9$ph$i) + (i32.const 4) ) - (set_local $$p$addr$5501$i + ) + (set_local $$z$7$add$ptr742$i + (if + (get_local $$cmp450$lcssa$i) + (get_local $$z$7$i$lcssa) + (get_local $$add$ptr742$i) + ) + ) + (set_local $$cmp748$499$i + (i32.gt_s (get_local $$p$addr$3$i) + (i32.const -1) ) - (loop $while-out$108 $while-in$109 - (set_local $$258 - (i32.load - (get_local $$d$7500$i) - ) - ) - (set_local $$259 - (call $_fmt_u - (get_local $$258) - (i32.const 0) - (get_local $$add$ptr671$i) - ) - ) - (set_local $$cmp760$i + ) + (if + (get_local $$cmp748$499$i) + (block + (set_local $$tobool781$i (i32.eq - (get_local $$259) - (get_local $$add$ptr671$i) + (get_local $$and610$pre$phi$iZ2D) + (i32.const 0) ) ) - (if - (get_local $$cmp760$i) - (block - (i32.store8 - (get_local $$incdec$ptr689$i) - (i32.const 48) - ) - (set_local $$s753$0$i - (get_local $$incdec$ptr689$i) - ) - ) - (set_local $$s753$0$i - (get_local $$259) - ) + (set_local $$d$7500$i + (get_local $$a$9$ph$i) ) - (set_local $$cmp765$i - (i32.eq - (get_local $$d$7500$i) - (get_local $$a$9$ph$i) - ) + (set_local $$p$addr$5501$i + (get_local $$p$addr$3$i) ) - (block $do-once$110 - (if - (get_local $$cmp765$i) - (block - (set_local $$incdec$ptr776$i - (i32.add - (get_local $$s753$0$i) - (i32.const 1) - ) + (loop $while-in$109 + (block $while-out$108 + (set_local $$258 + (i32.load + (get_local $$d$7500$i) ) - (set_local $$260 - (i32.load - (get_local $$f) - ) + ) + (set_local $$259 + (call $_fmt_u + (get_local $$258) + (i32.const 0) + (get_local $$add$ptr671$i) ) - (set_local $$and$i$460$i - (i32.and - (get_local $$260) - (i32.const 32) - ) + ) + (set_local $$cmp760$i + (i32.eq + (get_local $$259) + (get_local $$add$ptr671$i) ) - (set_local $$tobool$i$461$i - (i32.eq - (get_local $$and$i$460$i) - (i32.const 0) + ) + (if + (get_local $$cmp760$i) + (block + (i32.store8 + (get_local $$incdec$ptr689$i) + (i32.const 48) ) - ) - (if - (get_local $$tobool$i$461$i) - (call $___fwritex - (get_local $$s753$0$i) - (i32.const 1) - (get_local $$f) + (set_local $$s753$0$i + (get_local $$incdec$ptr689$i) ) ) - (set_local $$cmp777$i - (i32.lt_s - (get_local $$p$addr$5501$i) - (i32.const 1) - ) + (set_local $$s753$0$i + (get_local $$259) ) - (set_local $$or$cond401$i - (i32.and - (get_local $$tobool781$i) - (get_local $$cmp777$i) - ) + ) + (set_local $$cmp765$i + (i32.eq + (get_local $$d$7500$i) + (get_local $$a$9$ph$i) ) + ) + (block $do-once$110 (if - (get_local $$or$cond401$i) + (get_local $$cmp765$i) (block + (set_local $$incdec$ptr776$i + (i32.add + (get_local $$s753$0$i) + (i32.const 1) + ) + ) + (set_local $$260 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i$460$i + (i32.and + (get_local $$260) + (i32.const 32) + ) + ) + (set_local $$tobool$i$461$i + (i32.eq + (get_local $$and$i$460$i) + (i32.const 0) + ) + ) + (if + (get_local $$tobool$i$461$i) + (call $___fwritex + (get_local $$s753$0$i) + (i32.const 1) + (get_local $$f) + ) + ) + (set_local $$cmp777$i + (i32.lt_s + (get_local $$p$addr$5501$i) + (i32.const 1) + ) + ) + (set_local $$or$cond401$i + (i32.and + (get_local $$tobool781$i) + (get_local $$cmp777$i) + ) + ) + (if + (get_local $$or$cond401$i) + (block + (set_local $$s753$2$i + (get_local $$incdec$ptr776$i) + ) + (br $do-once$110) + ) + ) + (set_local $$261 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i$466$i + (i32.and + (get_local $$261) + (i32.const 32) + ) + ) + (set_local $$tobool$i$467$i + (i32.eq + (get_local $$and$i$466$i) + (i32.const 0) + ) + ) + (if + (i32.eqz + (get_local $$tobool$i$467$i) + ) + (block + (set_local $$s753$2$i + (get_local $$incdec$ptr776$i) + ) + (br $do-once$110) + ) + ) + (drop + (call $___fwritex + (i32.const 4143) + (i32.const 1) + (get_local $$f) + ) + ) (set_local $$s753$2$i (get_local $$incdec$ptr776$i) ) - (br $do-once$110) - ) - ) - (set_local $$261 - (i32.load - (get_local $$f) - ) - ) - (set_local $$and$i$466$i - (i32.and - (get_local $$261) - (i32.const 32) - ) - ) - (set_local $$tobool$i$467$i - (i32.eq - (get_local $$and$i$466$i) - (i32.const 0) - ) - ) - (if - (i32.eqz - (get_local $$tobool$i$467$i) ) (block - (set_local $$s753$2$i - (get_local $$incdec$ptr776$i) + (set_local $$cmp770$495$i + (i32.gt_u + (get_local $$s753$0$i) + (get_local $$buf$i) + ) + ) + (if + (get_local $$cmp770$495$i) + (set_local $$s753$1496$i + (get_local $$s753$0$i) + ) + (block + (set_local $$s753$2$i + (get_local $$s753$0$i) + ) + (br $do-once$110) + ) + ) + (loop $while-in$113 + (block $while-out$112 + (set_local $$incdec$ptr773$i + (i32.add + (get_local $$s753$1496$i) + (i32.const -1) + ) + ) + (i32.store8 + (get_local $$incdec$ptr773$i) + (i32.const 48) + ) + (set_local $$cmp770$i + (i32.gt_u + (get_local $$incdec$ptr773$i) + (get_local $$buf$i) + ) + ) + (if + (get_local $$cmp770$i) + (set_local $$s753$1496$i + (get_local $$incdec$ptr773$i) + ) + (block + (set_local $$s753$2$i + (get_local $$incdec$ptr773$i) + ) + (br $while-out$112) + ) + ) + (br $while-in$113) + ) ) - (br $do-once$110) ) ) - (drop - (call $___fwritex - (i32.const 4143) - (i32.const 1) - (get_local $$f) - ) + ) + (set_local $$sub$ptr$rhs$cast788$i + (get_local $$s753$2$i) + ) + (set_local $$sub$ptr$sub789$i + (i32.sub + (get_local $$sub$ptr$lhs$cast694$i) + (get_local $$sub$ptr$rhs$cast788$i) ) - (set_local $$s753$2$i - (get_local $$incdec$ptr776$i) + ) + (set_local $$262 + (i32.load + (get_local $$f) ) ) - (block - (set_local $$cmp770$495$i - (i32.gt_u - (get_local $$s753$0$i) - (get_local $$buf$i) - ) + (set_local $$and$i$472$i + (i32.and + (get_local $$262) + (i32.const 32) ) - (if - (get_local $$cmp770$495$i) - (set_local $$s753$1496$i - (get_local $$s753$0$i) - ) - (block - (set_local $$s753$2$i - (get_local $$s753$0$i) - ) - (br $do-once$110) - ) + ) + (set_local $$tobool$i$473$i + (i32.eq + (get_local $$and$i$472$i) + (i32.const 0) ) - (loop $while-out$112 $while-in$113 - (set_local $$incdec$ptr773$i - (i32.add - (get_local $$s753$1496$i) - (i32.const -1) + ) + (if + (get_local $$tobool$i$473$i) + (block + (set_local $$cmp790$i + (i32.gt_s + (get_local $$p$addr$5501$i) + (get_local $$sub$ptr$sub789$i) ) ) - (i32.store8 - (get_local $$incdec$ptr773$i) - (i32.const 48) - ) - (set_local $$cmp770$i - (i32.gt_u - (get_local $$incdec$ptr773$i) - (get_local $$buf$i) + (set_local $$cond800$i + (if + (get_local $$cmp790$i) + (get_local $$sub$ptr$sub789$i) + (get_local $$p$addr$5501$i) ) ) - (if - (get_local $$cmp770$i) - (set_local $$s753$1496$i - (get_local $$incdec$ptr773$i) - ) - (block - (set_local $$s753$2$i - (get_local $$incdec$ptr773$i) - ) - (br $while-out$112) - ) + (call $___fwritex + (get_local $$s753$2$i) + (get_local $$cond800$i) + (get_local $$f) ) - (br $while-in$113) ) ) - ) - ) - (set_local $$sub$ptr$rhs$cast788$i - (get_local $$s753$2$i) - ) - (set_local $$sub$ptr$sub789$i - (i32.sub - (get_local $$sub$ptr$lhs$cast694$i) - (get_local $$sub$ptr$rhs$cast788$i) - ) - ) - (set_local $$262 - (i32.load - (get_local $$f) - ) - ) - (set_local $$and$i$472$i - (i32.and - (get_local $$262) - (i32.const 32) - ) - ) - (set_local $$tobool$i$473$i - (i32.eq - (get_local $$and$i$472$i) - (i32.const 0) - ) - ) - (if - (get_local $$tobool$i$473$i) - (block - (set_local $$cmp790$i - (i32.gt_s + (set_local $$sub806$i + (i32.sub (get_local $$p$addr$5501$i) (get_local $$sub$ptr$sub789$i) ) ) - (set_local $$cond800$i - (if - (get_local $$cmp790$i) - (get_local $$sub$ptr$sub789$i) - (get_local $$p$addr$5501$i) + (set_local $$incdec$ptr808$i + (i32.add + (get_local $$d$7500$i) + (i32.const 4) ) ) - (call $___fwritex - (get_local $$s753$2$i) - (get_local $$cond800$i) - (get_local $$f) + (set_local $$cmp745$i + (i32.lt_u + (get_local $$incdec$ptr808$i) + (get_local $$z$7$add$ptr742$i) + ) ) - ) - ) - (set_local $$sub806$i - (i32.sub - (get_local $$p$addr$5501$i) - (get_local $$sub$ptr$sub789$i) - ) - ) - (set_local $$incdec$ptr808$i - (i32.add - (get_local $$d$7500$i) - (i32.const 4) - ) - ) - (set_local $$cmp745$i - (i32.lt_u - (get_local $$incdec$ptr808$i) - (get_local $$z$7$add$ptr742$i) - ) - ) - (set_local $$cmp748$i - (i32.gt_s - (get_local $$sub806$i) - (i32.const -1) - ) - ) - (set_local $$263 - (i32.and - (get_local $$cmp745$i) - (get_local $$cmp748$i) - ) - ) - (if - (get_local $$263) - (block - (set_local $$d$7500$i - (get_local $$incdec$ptr808$i) + (set_local $$cmp748$i + (i32.gt_s + (get_local $$sub806$i) + (i32.const -1) + ) ) - (set_local $$p$addr$5501$i - (get_local $$sub806$i) + (set_local $$263 + (i32.and + (get_local $$cmp745$i) + (get_local $$cmp748$i) + ) ) - ) - (block - (set_local $$p$addr$5$lcssa$i - (get_local $$sub806$i) + (if + (get_local $$263) + (block + (set_local $$d$7500$i + (get_local $$incdec$ptr808$i) + ) + (set_local $$p$addr$5501$i + (get_local $$sub806$i) + ) + ) + (block + (set_local $$p$addr$5$lcssa$i + (get_local $$sub806$i) + ) + (br $while-out$108) + ) ) - (br $while-out$108) + (br $while-in$109) ) ) - (br $while-in$109) + ) + (set_local $$p$addr$5$lcssa$i + (get_local $$p$addr$3$i) ) ) - (set_local $$p$addr$5$lcssa$i - (get_local $$p$addr$3$i) + (set_local $$add810$i + (i32.add + (get_local $$p$addr$5$lcssa$i) + (i32.const 18) + ) ) - ) - (set_local $$add810$i - (i32.add - (get_local $$p$addr$5$lcssa$i) + (call $_pad + (get_local $$f) + (i32.const 48) + (get_local $$add810$i) (i32.const 18) + (i32.const 0) ) - ) - (call $_pad - (get_local $$f) - (i32.const 48) - (get_local $$add810$i) - (i32.const 18) - (i32.const 0) - ) - (set_local $$264 - (i32.load - (get_local $$f) + (set_local $$264 + (i32.load + (get_local $$f) + ) ) - ) - (set_local $$and$i$i - (i32.and - (get_local $$264) - (i32.const 32) + (set_local $$and$i$i + (i32.and + (get_local $$264) + (i32.const 32) + ) ) - ) - (set_local $$tobool$i$i - (i32.eq - (get_local $$and$i$i) - (i32.const 0) + (set_local $$tobool$i$i + (i32.eq + (get_local $$and$i$i) + (i32.const 0) + ) ) - ) - (if - (i32.eqz - (get_local $$tobool$i$i) + (if + (i32.eqz + (get_local $$tobool$i$i) + ) + (br $do-once$106) ) - (br $do-once$106) - ) - (set_local $$sub$ptr$rhs$cast812$i - (get_local $$estr$2$i) - ) - (set_local $$sub$ptr$sub813$i - (i32.sub - (get_local $$sub$ptr$lhs$cast160$i) - (get_local $$sub$ptr$rhs$cast812$i) + (set_local $$sub$ptr$rhs$cast812$i + (get_local $$estr$2$i) + ) + (set_local $$sub$ptr$sub813$i + (i32.sub + (get_local $$sub$ptr$lhs$cast160$i) + (get_local $$sub$ptr$rhs$cast812$i) + ) + ) + (call $___fwritex + (get_local $$estr$2$i) + (get_local $$sub$ptr$sub813$i) + (get_local $$f) ) - ) - (call $___fwritex - (get_local $$estr$2$i) - (get_local $$sub$ptr$sub813$i) - (get_local $$f) ) ) ) - ) - (set_local $$xor816$i - (i32.xor - (get_local $$fl$1$and219) - (i32.const 8192) - ) - ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$1) - (get_local $$add653$i) - (get_local $$xor816$i) - ) - (set_local $$cmp818$i - (i32.lt_s - (get_local $$add653$i) - (get_local $$w$1) + (set_local $$xor816$i + (i32.xor + (get_local $$fl$1$and219) + (i32.const 8192) + ) ) - ) - (set_local $$w$add653$i - (if - (get_local $$cmp818$i) + (call $_pad + (get_local $$f) + (i32.const 32) (get_local $$w$1) (get_local $$add653$i) + (get_local $$xor816$i) ) - ) - (set_local $$retval$0$i - (get_local $$w$add653$i) - ) - ) - (block - (set_local $$and36$i - (i32.and - (get_local $$t$0) - (i32.const 32) + (set_local $$cmp818$i + (i32.lt_s + (get_local $$add653$i) + (get_local $$w$1) + ) ) - ) - (set_local $$tobool37$i - (i32.ne - (get_local $$and36$i) - (i32.const 0) + (set_local $$w$add653$i + (if + (get_local $$cmp818$i) + (get_local $$w$1) + (get_local $$add653$i) + ) ) - ) - (set_local $$cond$i - (if - (get_local $$tobool37$i) - (i32.const 4127) - (i32.const 4131) + (set_local $$retval$0$i + (get_local $$w$add653$i) ) ) - (set_local $$cmp38$i - (i32.or - (f64.ne - (get_local $$y$addr$0$i) - (get_local $$y$addr$0$i) + (block + (set_local $$and36$i + (i32.and + (get_local $$t$0) + (i32.const 32) ) - (f64.ne - (f64.const 0) - (f64.const 0) + ) + (set_local $$tobool37$i + (i32.ne + (get_local $$and36$i) + (i32.const 0) ) ) - ) - (set_local $$cond43$i - (if - (get_local $$tobool37$i) - (i32.const 4135) - (i32.const 4139) + (set_local $$cond$i + (if + (get_local $$tobool37$i) + (i32.const 4127) + (i32.const 4131) + ) ) - ) - (set_local $$pl$1$i - (if - (get_local $$cmp38$i) - (i32.const 0) - (get_local $$pl$0$i) + (set_local $$cmp38$i + (i32.or + (f64.ne + (get_local $$y$addr$0$i) + (get_local $$y$addr$0$i) + ) + (f64.ne + (f64.const 0) + (f64.const 0) + ) + ) ) - ) - (set_local $$s35$0$i - (if - (get_local $$cmp38$i) - (get_local $$cond43$i) - (get_local $$cond$i) + (set_local $$cond43$i + (if + (get_local $$tobool37$i) + (i32.const 4135) + (i32.const 4139) + ) ) - ) - (set_local $$add$i$239 - (i32.add - (get_local $$pl$1$i) - (i32.const 3) + (set_local $$pl$1$i + (if + (get_local $$cmp38$i) + (i32.const 0) + (get_local $$pl$0$i) + ) ) - ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$1) - (get_local $$add$i$239) - (get_local $$and219) - ) - (set_local $$193 - (i32.load - (get_local $$f) + (set_local $$s35$0$i + (if + (get_local $$cmp38$i) + (get_local $$cond43$i) + (get_local $$cond$i) + ) ) - ) - (set_local $$and$i$406$i - (i32.and - (get_local $$193) + (set_local $$add$i$239 + (i32.add + (get_local $$pl$1$i) + (i32.const 3) + ) + ) + (call $_pad + (get_local $$f) (i32.const 32) + (get_local $$w$1) + (get_local $$add$i$239) + (get_local $$and219) ) - ) - (set_local $$tobool$i$407$i - (i32.eq - (get_local $$and$i$406$i) - (i32.const 0) + (set_local $$193 + (i32.load + (get_local $$f) + ) ) - ) - (if - (get_local $$tobool$i$407$i) - (block - (drop - (call $___fwritex - (get_local $$prefix$0$i) - (get_local $$pl$1$i) - (get_local $$f) - ) + (set_local $$and$i$406$i + (i32.and + (get_local $$193) + (i32.const 32) ) - (set_local $$$pre$i - (i32.load - (get_local $$f) + ) + (set_local $$tobool$i$407$i + (i32.eq + (get_local $$and$i$406$i) + (i32.const 0) + ) + ) + (if + (get_local $$tobool$i$407$i) + (block + (drop + (call $___fwritex + (get_local $$prefix$0$i) + (get_local $$pl$1$i) + (get_local $$f) + ) + ) + (set_local $$$pre$i + (i32.load + (get_local $$f) + ) + ) + (set_local $$194 + (get_local $$$pre$i) ) ) (set_local $$194 - (get_local $$$pre$i) + (get_local $$193) ) ) - (set_local $$194 - (get_local $$193) - ) - ) - (set_local $$and$i$412$i - (i32.and - (get_local $$194) - (i32.const 32) - ) - ) - (set_local $$tobool$i$413$i - (i32.eq - (get_local $$and$i$412$i) - (i32.const 0) + (set_local $$and$i$412$i + (i32.and + (get_local $$194) + (i32.const 32) + ) ) - ) - (if - (get_local $$tobool$i$413$i) - (call $___fwritex - (get_local $$s35$0$i) - (i32.const 3) - (get_local $$f) + (set_local $$tobool$i$413$i + (i32.eq + (get_local $$and$i$412$i) + (i32.const 0) + ) ) - ) - (set_local $$xor$i - (i32.xor - (get_local $$fl$1$and219) - (i32.const 8192) + (if + (get_local $$tobool$i$413$i) + (call $___fwritex + (get_local $$s35$0$i) + (i32.const 3) + (get_local $$f) + ) ) - ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$1) - (get_local $$add$i$239) - (get_local $$xor$i) - ) - (set_local $$cmp48$i - (i32.lt_s - (get_local $$add$i$239) - (get_local $$w$1) + (set_local $$xor$i + (i32.xor + (get_local $$fl$1$and219) + (i32.const 8192) + ) ) - ) - (set_local $$cond53$i - (if - (get_local $$cmp48$i) + (call $_pad + (get_local $$f) + (i32.const 32) (get_local $$w$1) (get_local $$add$i$239) + (get_local $$xor$i) + ) + (set_local $$cmp48$i + (i32.lt_s + (get_local $$add$i$239) + (get_local $$w$1) + ) + ) + (set_local $$cond53$i + (if + (get_local $$cmp48$i) + (get_local $$w$1) + (get_local $$add$i$239) + ) + ) + (set_local $$retval$0$i + (get_local $$cond53$i) ) - ) - (set_local $$retval$0$i - (get_local $$cond53$i) ) ) ) + (set_local $$cnt$0 + (get_local $$cnt$1) + ) + (set_local $$incdec$ptr169275 + (get_local $$incdec$ptr169$lcssa) + ) + (set_local $$l$0 + (get_local $$retval$0$i) + ) + (set_local $$l10n$0 + (get_local $$l10n$3) + ) + (br $label$continue$L1) + (br $switch$24) ) - (set_local $$cnt$0 - (get_local $$cnt$1) + ) + (block + (set_local $$a$2 + (get_local $$incdec$ptr169275) ) - (set_local $$incdec$ptr169275 - (get_local $$incdec$ptr169$lcssa) + (set_local $$fl$6 + (get_local $$fl$1$and219) ) - (set_local $$l$0 - (get_local $$retval$0$i) + (set_local $$p$5 + (get_local $$p$0) ) - (set_local $$l10n$0 - (get_local $$l10n$3) + (set_local $$pl$2 + (i32.const 0) + ) + (set_local $$prefix$2 + (i32.const 4091) + ) + (set_local $$z$2 + (get_local $$add$ptr205) ) - (br $label$continue$L1) - (br $switch$24) - ) - ) - (block - (set_local $$a$2 - (get_local $$incdec$ptr169275) - ) - (set_local $$fl$6 - (get_local $$fl$1$and219) - ) - (set_local $$p$5 - (get_local $$p$0) - ) - (set_local $$pl$2 - (i32.const 0) - ) - (set_local $$prefix$2 - (i32.const 4091) - ) - (set_local $$z$2 - (get_local $$add$ptr205) ) ) ) ) - ) - (block $label$break$L308 - (if - (i32.eq - (get_local $label) - (i32.const 64) - ) - (block - (set_local $label - (i32.const 0) - ) - (set_local $$90 - (get_local $$arg) - ) - (set_local $$91 - (get_local $$90) - ) - (set_local $$92 - (i32.load - (get_local $$91) - ) + (block $label$break$L308 + (if + (i32.eq + (get_local $label) + (i32.const 64) ) - (set_local $$93 - (i32.add - (get_local $$90) - (i32.const 4) + (block + (set_local $label + (i32.const 0) ) - ) - (set_local $$94 - (get_local $$93) - ) - (set_local $$95 - (i32.load - (get_local $$94) + (set_local $$90 + (get_local $$arg) ) - ) - (set_local $$and249 - (i32.and - (get_local $$t$1) - (i32.const 32) + (set_local $$91 + (get_local $$90) ) - ) - (set_local $$96 - (i32.eq - (get_local $$92) - (i32.const 0) + (set_local $$92 + (i32.load + (get_local $$91) + ) ) - ) - (set_local $$97 - (i32.eq - (get_local $$95) - (i32.const 0) + (set_local $$93 + (i32.add + (get_local $$90) + (i32.const 4) + ) ) - ) - (set_local $$98 - (i32.and - (get_local $$96) - (get_local $$97) + (set_local $$94 + (get_local $$93) ) - ) - (if - (get_local $$98) - (block - (set_local $$a$0 - (get_local $$add$ptr205) - ) - (set_local $$fl$4 - (get_local $$fl$3) + (set_local $$95 + (i32.load + (get_local $$94) ) - (set_local $$p$2 - (get_local $$p$1) + ) + (set_local $$and249 + (i32.and + (get_local $$t$1) + (i32.const 32) ) - (set_local $$pl$1 + ) + (set_local $$96 + (i32.eq + (get_local $$92) (i32.const 0) ) - (set_local $$prefix$1 - (i32.const 4091) - ) - (set_local $label - (i32.const 77) - ) ) - (block - (set_local $$101 + (set_local $$97 + (i32.eq (get_local $$95) + (i32.const 0) ) - (set_local $$99 - (get_local $$92) - ) - (set_local $$s$addr$06$i - (get_local $$add$ptr205) + ) + (set_local $$98 + (i32.and + (get_local $$96) + (get_local $$97) ) - (loop $while-out$133 $while-in$134 - (set_local $$idxprom$i - (i32.and - (get_local $$99) - (i32.const 15) - ) - ) - (set_local $$arrayidx$i - (i32.add - (i32.const 4075) - (get_local $$idxprom$i) - ) - ) - (set_local $$100 - (i32.load8_s - (get_local $$arrayidx$i) - ) - ) - (set_local $$conv$4$i$211 - (i32.and - (get_local $$100) - (i32.const 255) - ) - ) - (set_local $$or$i - (i32.or - (get_local $$conv$4$i$211) - (get_local $$and249) - ) + ) + (if + (get_local $$98) + (block + (set_local $$a$0 + (get_local $$add$ptr205) ) - (set_local $$conv1$i - (i32.and - (get_local $$or$i) - (i32.const 255) - ) + (set_local $$fl$4 + (get_local $$fl$3) ) - (set_local $$incdec$ptr$i$212 - (i32.add - (get_local $$s$addr$06$i) - (i32.const -1) - ) + (set_local $$p$2 + (get_local $$p$1) ) - (i32.store8 - (get_local $$incdec$ptr$i$212) - (get_local $$conv1$i) + (set_local $$pl$1 + (i32.const 0) ) - (set_local $$102 - (call $_bitshift64Lshr - (get_local $$99) - (get_local $$101) - (i32.const 4) - ) + (set_local $$prefix$1 + (i32.const 4091) ) - (set_local $$103 - (i32.load - (i32.const 168) - ) + (set_local $label + (i32.const 77) ) - (set_local $$104 - (i32.eq - (get_local $$102) - (i32.const 0) - ) + ) + (block + (set_local $$101 + (get_local $$95) ) - (set_local $$105 - (i32.eq - (get_local $$103) - (i32.const 0) - ) + (set_local $$99 + (get_local $$92) ) - (set_local $$106 - (i32.and - (get_local $$104) - (get_local $$105) - ) + (set_local $$s$addr$06$i + (get_local $$add$ptr205) ) - (if - (get_local $$106) - (block - (set_local $$incdec$ptr$i$212$lcssa - (get_local $$incdec$ptr$i$212) + (loop $while-in$134 + (block $while-out$133 + (set_local $$idxprom$i + (i32.and + (get_local $$99) + (i32.const 15) + ) ) - (br $while-out$133) - ) - (block - (set_local $$101 - (get_local $$103) + (set_local $$arrayidx$i + (i32.add + (i32.const 4075) + (get_local $$idxprom$i) + ) ) - (set_local $$99 - (get_local $$102) + (set_local $$100 + (i32.load8_s + (get_local $$arrayidx$i) + ) + ) + (set_local $$conv$4$i$211 + (i32.and + (get_local $$100) + (i32.const 255) + ) + ) + (set_local $$or$i + (i32.or + (get_local $$conv$4$i$211) + (get_local $$and249) + ) ) - (set_local $$s$addr$06$i + (set_local $$conv1$i + (i32.and + (get_local $$or$i) + (i32.const 255) + ) + ) + (set_local $$incdec$ptr$i$212 + (i32.add + (get_local $$s$addr$06$i) + (i32.const -1) + ) + ) + (i32.store8 (get_local $$incdec$ptr$i$212) + (get_local $$conv1$i) + ) + (set_local $$102 + (call $_bitshift64Lshr + (get_local $$99) + (get_local $$101) + (i32.const 4) + ) + ) + (set_local $$103 + (i32.load + (i32.const 168) + ) + ) + (set_local $$104 + (i32.eq + (get_local $$102) + (i32.const 0) + ) + ) + (set_local $$105 + (i32.eq + (get_local $$103) + (i32.const 0) + ) + ) + (set_local $$106 + (i32.and + (get_local $$104) + (get_local $$105) + ) + ) + (if + (get_local $$106) + (block + (set_local $$incdec$ptr$i$212$lcssa + (get_local $$incdec$ptr$i$212) + ) + (br $while-out$133) + ) + (block + (set_local $$101 + (get_local $$103) + ) + (set_local $$99 + (get_local $$102) + ) + (set_local $$s$addr$06$i + (get_local $$incdec$ptr$i$212) + ) + ) ) + (br $while-in$134) ) ) - (br $while-in$134) - ) - (set_local $$107 - (get_local $$arg) - ) - (set_local $$108 - (get_local $$107) - ) - (set_local $$109 - (i32.load - (get_local $$108) - ) - ) - (set_local $$110 - (i32.add - (get_local $$107) - (i32.const 4) + (set_local $$107 + (get_local $$arg) ) - ) - (set_local $$111 - (get_local $$110) - ) - (set_local $$112 - (i32.load - (get_local $$111) + (set_local $$108 + (get_local $$107) ) - ) - (set_local $$113 - (i32.eq - (get_local $$109) - (i32.const 0) + (set_local $$109 + (i32.load + (get_local $$108) + ) ) - ) - (set_local $$114 - (i32.eq - (get_local $$112) - (i32.const 0) + (set_local $$110 + (i32.add + (get_local $$107) + (i32.const 4) + ) ) - ) - (set_local $$115 - (i32.and - (get_local $$113) - (get_local $$114) + (set_local $$111 + (get_local $$110) ) - ) - (set_local $$and254 - (i32.and - (get_local $$fl$3) - (i32.const 8) + (set_local $$112 + (i32.load + (get_local $$111) + ) ) - ) - (set_local $$tobool255 - (i32.eq - (get_local $$and254) - (i32.const 0) + (set_local $$113 + (i32.eq + (get_local $$109) + (i32.const 0) + ) ) - ) - (set_local $$or$cond193 - (i32.or - (get_local $$tobool255) - (get_local $$115) + (set_local $$114 + (i32.eq + (get_local $$112) + (i32.const 0) + ) ) - ) - (if - (get_local $$or$cond193) - (block - (set_local $$a$0 - (get_local $$incdec$ptr$i$212$lcssa) + (set_local $$115 + (i32.and + (get_local $$113) + (get_local $$114) ) - (set_local $$fl$4 + ) + (set_local $$and254 + (i32.and (get_local $$fl$3) + (i32.const 8) ) - (set_local $$p$2 - (get_local $$p$1) - ) - (set_local $$pl$1 + ) + (set_local $$tobool255 + (i32.eq + (get_local $$and254) (i32.const 0) ) - (set_local $$prefix$1 - (i32.const 4091) - ) - (set_local $label - (i32.const 77) + ) + (set_local $$or$cond193 + (i32.or + (get_local $$tobool255) + (get_local $$115) ) ) - (block - (set_local $$shr - (i32.shr_s - (get_local $$t$1) - (i32.const 4) + (if + (get_local $$or$cond193) + (block + (set_local $$a$0 + (get_local $$incdec$ptr$i$212$lcssa) ) - ) - (set_local $$add$ptr257 - (i32.add + (set_local $$fl$4 + (get_local $$fl$3) + ) + (set_local $$p$2 + (get_local $$p$1) + ) + (set_local $$pl$1 + (i32.const 0) + ) + (set_local $$prefix$1 (i32.const 4091) - (get_local $$shr) + ) + (set_local $label + (i32.const 77) ) ) - (set_local $$a$0 - (get_local $$incdec$ptr$i$212$lcssa) - ) - (set_local $$fl$4 - (get_local $$fl$3) - ) - (set_local $$p$2 - (get_local $$p$1) - ) - (set_local $$pl$1 - (i32.const 2) - ) - (set_local $$prefix$1 - (get_local $$add$ptr257) - ) - (set_local $label - (i32.const 77) + (block + (set_local $$shr + (i32.shr_s + (get_local $$t$1) + (i32.const 4) + ) + ) + (set_local $$add$ptr257 + (i32.add + (i32.const 4091) + (get_local $$shr) + ) + ) + (set_local $$a$0 + (get_local $$incdec$ptr$i$212$lcssa) + ) + (set_local $$fl$4 + (get_local $$fl$3) + ) + (set_local $$p$2 + (get_local $$p$1) + ) + (set_local $$pl$1 + (i32.const 2) + ) + (set_local $$prefix$1 + (get_local $$add$ptr257) + ) + (set_local $label + (i32.const 77) + ) ) ) ) ) ) - ) - (if - (i32.eq - (get_local $label) - (i32.const 76) - ) - (block - (set_local $label - (i32.const 0) - ) - (set_local $$150 - (call $_fmt_u - (get_local $$148) - (get_local $$149) - (get_local $$add$ptr205) - ) - ) - (set_local $$a$0 - (get_local $$150) - ) - (set_local $$fl$4 - (get_local $$fl$1$and219) - ) - (set_local $$p$2 - (get_local $$p$0) - ) - (set_local $$pl$1 - (get_local $$pl$0) - ) - (set_local $$prefix$1 - (get_local $$prefix$0) - ) - (set_local $label - (i32.const 77) - ) - ) (if (i32.eq (get_local $label) - (i32.const 82) + (i32.const 76) ) (block (set_local $label (i32.const 0) ) - (set_local $$call356 - (call $_memchr - (get_local $$a$1) - (i32.const 0) - (get_local $$p$0) - ) - ) - (set_local $$tobool357 - (i32.eq - (get_local $$call356) - (i32.const 0) - ) - ) - (set_local $$sub$ptr$lhs$cast361 - (get_local $$call356) - ) - (set_local $$sub$ptr$rhs$cast362 - (get_local $$a$1) - ) - (set_local $$sub$ptr$sub363 - (i32.sub - (get_local $$sub$ptr$lhs$cast361) - (get_local $$sub$ptr$rhs$cast362) - ) - ) - (set_local $$add$ptr359 - (i32.add - (get_local $$a$1) - (get_local $$p$0) - ) - ) - (set_local $$z$1 - (if - (get_local $$tobool357) - (get_local $$add$ptr359) - (get_local $$call356) - ) - ) - (set_local $$p$3 - (if - (get_local $$tobool357) - (get_local $$p$0) - (get_local $$sub$ptr$sub363) + (set_local $$150 + (call $_fmt_u + (get_local $$148) + (get_local $$149) + (get_local $$add$ptr205) ) ) - (set_local $$a$2 - (get_local $$a$1) + (set_local $$a$0 + (get_local $$150) ) - (set_local $$fl$6 - (get_local $$and219) + (set_local $$fl$4 + (get_local $$fl$1$and219) ) - (set_local $$p$5 - (get_local $$p$3) + (set_local $$p$2 + (get_local $$p$0) ) - (set_local $$pl$2 - (i32.const 0) + (set_local $$pl$1 + (get_local $$pl$0) ) - (set_local $$prefix$2 - (i32.const 4091) + (set_local $$prefix$1 + (get_local $$prefix$0) ) - (set_local $$z$2 - (get_local $$z$1) + (set_local $label + (i32.const 77) ) ) (if (i32.eq (get_local $label) - (i32.const 86) + (i32.const 82) ) (block (set_local $label (i32.const 0) ) - (set_local $$176 - (i32.load - (get_local $$arg) + (set_local $$call356 + (call $_memchr + (get_local $$a$1) + (i32.const 0) + (get_local $$p$0) ) ) - (set_local $$i$0316 - (i32.const 0) + (set_local $$tobool357 + (i32.eq + (get_local $$call356) + (i32.const 0) + ) ) - (set_local $$l$1315 - (i32.const 0) + (set_local $$sub$ptr$lhs$cast361 + (get_local $$call356) ) - (set_local $$ws$0317 - (get_local $$176) + (set_local $$sub$ptr$rhs$cast362 + (get_local $$a$1) ) - (loop $while-out$129 $while-in$130 - (set_local $$177 - (i32.load - (get_local $$ws$0317) - ) - ) - (set_local $$tobool380 - (i32.eq - (get_local $$177) - (i32.const 0) - ) - ) - (if - (get_local $$tobool380) - (block - (set_local $$i$0$lcssa - (get_local $$i$0316) - ) - (set_local $$l$2 - (get_local $$l$1315) - ) - (br $while-out$129) - ) - ) - (set_local $$call384 - (call $_wctomb - (get_local $$mb) - (get_local $$177) - ) - ) - (set_local $$cmp385 - (i32.lt_s - (get_local $$call384) - (i32.const 0) - ) - ) - (set_local $$sub389 - (i32.sub - (get_local $$p$4365) - (get_local $$i$0316) - ) - ) - (set_local $$cmp390 - (i32.gt_u - (get_local $$call384) - (get_local $$sub389) - ) + (set_local $$sub$ptr$sub363 + (i32.sub + (get_local $$sub$ptr$lhs$cast361) + (get_local $$sub$ptr$rhs$cast362) ) - (set_local $$or$cond195 - (i32.or - (get_local $$cmp385) - (get_local $$cmp390) - ) + ) + (set_local $$add$ptr359 + (i32.add + (get_local $$a$1) + (get_local $$p$0) ) + ) + (set_local $$z$1 (if - (get_local $$or$cond195) - (block - (set_local $$i$0$lcssa - (get_local $$i$0316) - ) - (set_local $$l$2 - (get_local $$call384) - ) - (br $while-out$129) - ) - ) - (set_local $$incdec$ptr383 - (i32.add - (get_local $$ws$0317) - (i32.const 4) - ) - ) - (set_local $$add395 - (i32.add - (get_local $$call384) - (get_local $$i$0316) - ) - ) - (set_local $$cmp377 - (i32.gt_u - (get_local $$p$4365) - (get_local $$add395) - ) + (get_local $$tobool357) + (get_local $$add$ptr359) + (get_local $$call356) ) + ) + (set_local $$p$3 (if - (get_local $$cmp377) - (block - (set_local $$i$0316 - (get_local $$add395) - ) - (set_local $$l$1315 - (get_local $$call384) - ) - (set_local $$ws$0317 - (get_local $$incdec$ptr383) - ) - ) - (block - (set_local $$i$0$lcssa - (get_local $$add395) - ) - (set_local $$l$2 - (get_local $$call384) - ) - (br $while-out$129) - ) + (get_local $$tobool357) + (get_local $$p$0) + (get_local $$sub$ptr$sub363) ) - (br $while-in$130) ) - (set_local $$cmp397 - (i32.lt_s - (get_local $$l$2) - (i32.const 0) - ) + (set_local $$a$2 + (get_local $$a$1) ) - (if - (get_local $$cmp397) - (block - (set_local $$retval$0 - (i32.const -1) - ) - (br $label$break$L1) - ) + (set_local $$fl$6 + (get_local $$and219) ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$1) - (get_local $$i$0$lcssa) - (get_local $$fl$1$and219) + (set_local $$p$5 + (get_local $$p$3) ) - (set_local $$cmp404$324 - (i32.eq - (get_local $$i$0$lcssa) + (set_local $$pl$2 + (i32.const 0) + ) + (set_local $$prefix$2 + (i32.const 4091) + ) + (set_local $$z$2 + (get_local $$z$1) + ) + ) + (if + (i32.eq + (get_local $label) + (i32.const 86) + ) + (block + (set_local $label (i32.const 0) ) - ) - (if - (get_local $$cmp404$324) - (block - (set_local $$i$0$lcssa368 - (i32.const 0) - ) - (set_local $label - (i32.const 98) + (set_local $$176 + (i32.load + (get_local $$arg) ) ) - (block - (set_local $$178 - (i32.load - (get_local $$arg) - ) - ) - (set_local $$i$1325 - (i32.const 0) - ) - (set_local $$ws$1326 - (get_local $$178) - ) - (loop $while-out$131 $while-in$132 - (set_local $$179 + (set_local $$i$0316 + (i32.const 0) + ) + (set_local $$l$1315 + (i32.const 0) + ) + (set_local $$ws$0317 + (get_local $$176) + ) + (loop $while-in$130 + (block $while-out$129 + (set_local $$177 (i32.load - (get_local $$ws$1326) + (get_local $$ws$0317) ) ) - (set_local $$tobool407 + (set_local $$tobool380 (i32.eq - (get_local $$179) + (get_local $$177) (i32.const 0) ) ) (if - (get_local $$tobool407) + (get_local $$tobool380) (block - (set_local $$i$0$lcssa368 - (get_local $$i$0$lcssa) + (set_local $$i$0$lcssa + (get_local $$i$0316) ) - (set_local $label - (i32.const 98) + (set_local $$l$2 + (get_local $$l$1315) ) - (br $label$break$L308) - ) - ) - (set_local $$incdec$ptr410 - (i32.add - (get_local $$ws$1326) - (i32.const 4) + (br $while-out$129) ) ) - (set_local $$call411 + (set_local $$call384 (call $_wctomb (get_local $$mb) - (get_local $$179) + (get_local $$177) ) ) - (set_local $$add412 - (i32.add - (get_local $$call411) - (get_local $$i$1325) + (set_local $$cmp385 + (i32.lt_s + (get_local $$call384) + (i32.const 0) ) ) - (set_local $$cmp413 - (i32.gt_s - (get_local $$add412) - (get_local $$i$0$lcssa) + (set_local $$sub389 + (i32.sub + (get_local $$p$4365) + (get_local $$i$0316) + ) + ) + (set_local $$cmp390 + (i32.gt_u + (get_local $$call384) + (get_local $$sub389) + ) + ) + (set_local $$or$cond195 + (i32.or + (get_local $$cmp385) + (get_local $$cmp390) ) ) (if - (get_local $$cmp413) + (get_local $$or$cond195) (block - (set_local $$i$0$lcssa368 - (get_local $$i$0$lcssa) + (set_local $$i$0$lcssa + (get_local $$i$0316) ) - (set_local $label - (i32.const 98) + (set_local $$l$2 + (get_local $$call384) ) - (br $label$break$L308) + (br $while-out$129) ) ) - (set_local $$180 - (i32.load - (get_local $$f) + (set_local $$incdec$ptr383 + (i32.add + (get_local $$ws$0317) + (i32.const 4) ) ) - (set_local $$and$i$231 - (i32.and - (get_local $$180) - (i32.const 32) + (set_local $$add395 + (i32.add + (get_local $$call384) + (get_local $$i$0316) ) ) - (set_local $$tobool$i$232 - (i32.eq - (get_local $$and$i$231) - (i32.const 0) + (set_local $$cmp377 + (i32.gt_u + (get_local $$p$4365) + (get_local $$add395) ) ) (if - (get_local $$tobool$i$232) - (call $___fwritex - (get_local $$mb) - (get_local $$call411) - (get_local $$f) + (get_local $$cmp377) + (block + (set_local $$i$0316 + (get_local $$add395) + ) + (set_local $$l$1315 + (get_local $$call384) + ) + (set_local $$ws$0317 + (get_local $$incdec$ptr383) + ) + ) + (block + (set_local $$i$0$lcssa + (get_local $$add395) + ) + (set_local $$l$2 + (get_local $$call384) + ) + (br $while-out$129) ) ) - (set_local $$cmp404 - (i32.lt_u - (get_local $$add412) - (get_local $$i$0$lcssa) + (br $while-in$130) + ) + ) + (set_local $$cmp397 + (i32.lt_s + (get_local $$l$2) + (i32.const 0) + ) + ) + (if + (get_local $$cmp397) + (block + (set_local $$retval$0 + (i32.const -1) + ) + (br $label$break$L1) + ) + ) + (call $_pad + (get_local $$f) + (i32.const 32) + (get_local $$w$1) + (get_local $$i$0$lcssa) + (get_local $$fl$1$and219) + ) + (set_local $$cmp404$324 + (i32.eq + (get_local $$i$0$lcssa) + (i32.const 0) + ) + ) + (if + (get_local $$cmp404$324) + (block + (set_local $$i$0$lcssa368 + (i32.const 0) + ) + (set_local $label + (i32.const 98) + ) + ) + (block + (set_local $$178 + (i32.load + (get_local $$arg) ) ) - (if - (get_local $$cmp404) - (block - (set_local $$i$1325 - (get_local $$add412) + (set_local $$i$1325 + (i32.const 0) + ) + (set_local $$ws$1326 + (get_local $$178) + ) + (loop $while-in$132 + (block $while-out$131 + (set_local $$179 + (i32.load + (get_local $$ws$1326) + ) ) - (set_local $$ws$1326 - (get_local $$incdec$ptr410) + (set_local $$tobool407 + (i32.eq + (get_local $$179) + (i32.const 0) + ) ) - ) - (block - (set_local $$i$0$lcssa368 - (get_local $$i$0$lcssa) + (if + (get_local $$tobool407) + (block + (set_local $$i$0$lcssa368 + (get_local $$i$0$lcssa) + ) + (set_local $label + (i32.const 98) + ) + (br $label$break$L308) + ) ) - (set_local $label - (i32.const 98) + (set_local $$incdec$ptr410 + (i32.add + (get_local $$ws$1326) + (i32.const 4) + ) + ) + (set_local $$call411 + (call $_wctomb + (get_local $$mb) + (get_local $$179) + ) + ) + (set_local $$add412 + (i32.add + (get_local $$call411) + (get_local $$i$1325) + ) + ) + (set_local $$cmp413 + (i32.gt_s + (get_local $$add412) + (get_local $$i$0$lcssa) + ) + ) + (if + (get_local $$cmp413) + (block + (set_local $$i$0$lcssa368 + (get_local $$i$0$lcssa) + ) + (set_local $label + (i32.const 98) + ) + (br $label$break$L308) + ) + ) + (set_local $$180 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i$231 + (i32.and + (get_local $$180) + (i32.const 32) + ) + ) + (set_local $$tobool$i$232 + (i32.eq + (get_local $$and$i$231) + (i32.const 0) + ) + ) + (if + (get_local $$tobool$i$232) + (call $___fwritex + (get_local $$mb) + (get_local $$call411) + (get_local $$f) + ) + ) + (set_local $$cmp404 + (i32.lt_u + (get_local $$add412) + (get_local $$i$0$lcssa) + ) + ) + (if + (get_local $$cmp404) + (block + (set_local $$i$1325 + (get_local $$add412) + ) + (set_local $$ws$1326 + (get_local $$incdec$ptr410) + ) + ) + (block + (set_local $$i$0$lcssa368 + (get_local $$i$0$lcssa) + ) + (set_local $label + (i32.const 98) + ) + (br $while-out$131) + ) ) - (br $while-out$131) + (br $while-in$132) ) ) - (br $while-in$132) ) ) ) @@ -13949,372 +14033,372 @@ ) ) ) - ) - (if - (i32.eq - (get_local $label) - (i32.const 98) - ) - (block - (set_local $label - (i32.const 0) + (if + (i32.eq + (get_local $label) + (i32.const 98) ) - (set_local $$xor - (i32.xor - (get_local $$fl$1$and219) - (i32.const 8192) + (block + (set_local $label + (i32.const 0) ) - ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$1) - (get_local $$i$0$lcssa368) - (get_local $$xor) - ) - (set_local $$cmp421 - (i32.gt_s - (get_local $$w$1) - (get_local $$i$0$lcssa368) + (set_local $$xor + (i32.xor + (get_local $$fl$1$and219) + (i32.const 8192) + ) ) - ) - (set_local $$cond426 - (if - (get_local $$cmp421) + (call $_pad + (get_local $$f) + (i32.const 32) (get_local $$w$1) (get_local $$i$0$lcssa368) + (get_local $$xor) ) - ) - (set_local $$cnt$0 - (get_local $$cnt$1) - ) - (set_local $$incdec$ptr169275 - (get_local $$incdec$ptr169$lcssa) - ) - (set_local $$l$0 - (get_local $$cond426) - ) - (set_local $$l10n$0 - (get_local $$l10n$3) - ) - (br $label$continue$L1) - ) - ) - (if - (i32.eq - (get_local $label) - (i32.const 77) - ) - (block - (set_local $label - (i32.const 0) - ) - (set_local $$cmp306 - (i32.gt_s - (get_local $$p$2) - (i32.const -1) - ) - ) - (set_local $$and309 - (i32.and - (get_local $$fl$4) - (i32.const -65537) - ) - ) - (set_local $$and309$fl$4 - (if - (get_local $$cmp306) - (get_local $$and309) - (get_local $$fl$4) - ) - ) - (set_local $$151 - (get_local $$arg) - ) - (set_local $$152 - (get_local $$151) - ) - (set_local $$153 - (i32.load - (get_local $$152) - ) - ) - (set_local $$154 - (i32.add - (get_local $$151) - (i32.const 4) - ) - ) - (set_local $$155 - (get_local $$154) - ) - (set_local $$156 - (i32.load - (get_local $$155) - ) - ) - (set_local $$157 - (i32.ne - (get_local $$153) - (i32.const 0) - ) - ) - (set_local $$158 - (i32.ne - (get_local $$156) - (i32.const 0) - ) - ) - (set_local $$159 - (i32.or - (get_local $$157) - (get_local $$158) - ) - ) - (set_local $$tobool314 - (i32.ne - (get_local $$p$2) - (i32.const 0) - ) - ) - (set_local $$or$cond - (i32.or - (get_local $$tobool314) - (get_local $$159) - ) - ) - (if - (get_local $$or$cond) - (block - (set_local $$sub$ptr$rhs$cast318 - (get_local $$a$0) - ) - (set_local $$sub$ptr$sub319 - (i32.sub - (get_local $$sub$ptr$lhs$cast317) - (get_local $$sub$ptr$rhs$cast318) - ) - ) - (set_local $$160 - (i32.and - (get_local $$159) - (i32.const 1) - ) - ) - (set_local $$lnot$ext - (i32.xor - (get_local $$160) - (i32.const 1) - ) - ) - (set_local $$add322 - (i32.add - (get_local $$lnot$ext) - (get_local $$sub$ptr$sub319) - ) + (set_local $$cmp421 + (i32.gt_s + (get_local $$w$1) + (get_local $$i$0$lcssa368) ) - (set_local $$cmp323 - (i32.gt_s - (get_local $$p$2) - (get_local $$add322) - ) + ) + (set_local $$cond426 + (if + (get_local $$cmp421) + (get_local $$w$1) + (get_local $$i$0$lcssa368) ) - (set_local $$p$2$add322 - (if - (get_local $$cmp323) - (get_local $$p$2) - (get_local $$add322) - ) + ) + (set_local $$cnt$0 + (get_local $$cnt$1) + ) + (set_local $$incdec$ptr169275 + (get_local $$incdec$ptr169$lcssa) + ) + (set_local $$l$0 + (get_local $$cond426) + ) + (set_local $$l10n$0 + (get_local $$l10n$3) + ) + (br $label$continue$L1) + ) + ) + (if + (i32.eq + (get_local $label) + (i32.const 77) + ) + (block + (set_local $label + (i32.const 0) + ) + (set_local $$cmp306 + (i32.gt_s + (get_local $$p$2) + (i32.const -1) ) - (set_local $$a$2 - (get_local $$a$0) + ) + (set_local $$and309 + (i32.and + (get_local $$fl$4) + (i32.const -65537) ) - (set_local $$fl$6 - (get_local $$and309$fl$4) + ) + (set_local $$and309$fl$4 + (if + (get_local $$cmp306) + (get_local $$and309) + (get_local $$fl$4) ) - (set_local $$p$5 - (get_local $$p$2$add322) + ) + (set_local $$151 + (get_local $$arg) + ) + (set_local $$152 + (get_local $$151) + ) + (set_local $$153 + (i32.load + (get_local $$152) ) - (set_local $$pl$2 - (get_local $$pl$1) + ) + (set_local $$154 + (i32.add + (get_local $$151) + (i32.const 4) ) - (set_local $$prefix$2 - (get_local $$prefix$1) + ) + (set_local $$155 + (get_local $$154) + ) + (set_local $$156 + (i32.load + (get_local $$155) ) - (set_local $$z$2 - (get_local $$add$ptr205) + ) + (set_local $$157 + (i32.ne + (get_local $$153) + (i32.const 0) ) ) - (block - (set_local $$a$2 - (get_local $$add$ptr205) + (set_local $$158 + (i32.ne + (get_local $$156) + (i32.const 0) ) - (set_local $$fl$6 - (get_local $$and309$fl$4) + ) + (set_local $$159 + (i32.or + (get_local $$157) + (get_local $$158) ) - (set_local $$p$5 + ) + (set_local $$tobool314 + (i32.ne + (get_local $$p$2) (i32.const 0) ) - (set_local $$pl$2 - (get_local $$pl$1) + ) + (set_local $$or$cond + (i32.or + (get_local $$tobool314) + (get_local $$159) ) - (set_local $$prefix$2 - (get_local $$prefix$1) + ) + (if + (get_local $$or$cond) + (block + (set_local $$sub$ptr$rhs$cast318 + (get_local $$a$0) + ) + (set_local $$sub$ptr$sub319 + (i32.sub + (get_local $$sub$ptr$lhs$cast317) + (get_local $$sub$ptr$rhs$cast318) + ) + ) + (set_local $$160 + (i32.and + (get_local $$159) + (i32.const 1) + ) + ) + (set_local $$lnot$ext + (i32.xor + (get_local $$160) + (i32.const 1) + ) + ) + (set_local $$add322 + (i32.add + (get_local $$lnot$ext) + (get_local $$sub$ptr$sub319) + ) + ) + (set_local $$cmp323 + (i32.gt_s + (get_local $$p$2) + (get_local $$add322) + ) + ) + (set_local $$p$2$add322 + (if + (get_local $$cmp323) + (get_local $$p$2) + (get_local $$add322) + ) + ) + (set_local $$a$2 + (get_local $$a$0) + ) + (set_local $$fl$6 + (get_local $$and309$fl$4) + ) + (set_local $$p$5 + (get_local $$p$2$add322) + ) + (set_local $$pl$2 + (get_local $$pl$1) + ) + (set_local $$prefix$2 + (get_local $$prefix$1) + ) + (set_local $$z$2 + (get_local $$add$ptr205) + ) ) - (set_local $$z$2 - (get_local $$add$ptr205) + (block + (set_local $$a$2 + (get_local $$add$ptr205) + ) + (set_local $$fl$6 + (get_local $$and309$fl$4) + ) + (set_local $$p$5 + (i32.const 0) + ) + (set_local $$pl$2 + (get_local $$pl$1) + ) + (set_local $$prefix$2 + (get_local $$prefix$1) + ) + (set_local $$z$2 + (get_local $$add$ptr205) + ) ) ) ) ) - ) - (set_local $$sub$ptr$lhs$cast431 - (get_local $$z$2) - ) - (set_local $$sub$ptr$rhs$cast432 - (get_local $$a$2) - ) - (set_local $$sub$ptr$sub433 - (i32.sub - (get_local $$sub$ptr$lhs$cast431) - (get_local $$sub$ptr$rhs$cast432) + (set_local $$sub$ptr$lhs$cast431 + (get_local $$z$2) ) - ) - (set_local $$cmp434 - (i32.lt_s - (get_local $$p$5) - (get_local $$sub$ptr$sub433) + (set_local $$sub$ptr$rhs$cast432 + (get_local $$a$2) ) - ) - (set_local $$sub$ptr$sub433$p$5 - (if - (get_local $$cmp434) - (get_local $$sub$ptr$sub433) - (get_local $$p$5) + (set_local $$sub$ptr$sub433 + (i32.sub + (get_local $$sub$ptr$lhs$cast431) + (get_local $$sub$ptr$rhs$cast432) + ) ) - ) - (set_local $$add441 - (i32.add - (get_local $$pl$2) - (get_local $$sub$ptr$sub433$p$5) + (set_local $$cmp434 + (i32.lt_s + (get_local $$p$5) + (get_local $$sub$ptr$sub433) + ) ) - ) - (set_local $$cmp442 - (i32.lt_s - (get_local $$w$1) + (set_local $$sub$ptr$sub433$p$5 + (if + (get_local $$cmp434) + (get_local $$sub$ptr$sub433) + (get_local $$p$5) + ) + ) + (set_local $$add441 + (i32.add + (get_local $$pl$2) + (get_local $$sub$ptr$sub433$p$5) + ) + ) + (set_local $$cmp442 + (i32.lt_s + (get_local $$w$1) + (get_local $$add441) + ) + ) + (set_local $$w$2 + (if + (get_local $$cmp442) + (get_local $$add441) + (get_local $$w$1) + ) + ) + (call $_pad + (get_local $$f) + (i32.const 32) + (get_local $$w$2) (get_local $$add441) + (get_local $$fl$6) + ) + (set_local $$265 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i$244 + (i32.and + (get_local $$265) + (i32.const 32) + ) + ) + (set_local $$tobool$i$245 + (i32.eq + (get_local $$and$i$244) + (i32.const 0) + ) ) - ) - (set_local $$w$2 (if - (get_local $$cmp442) + (get_local $$tobool$i$245) + (call $___fwritex + (get_local $$prefix$2) + (get_local $$pl$2) + (get_local $$f) + ) + ) + (set_local $$xor449 + (i32.xor + (get_local $$fl$6) + (i32.const 65536) + ) + ) + (call $_pad + (get_local $$f) + (i32.const 48) + (get_local $$w$2) (get_local $$add441) - (get_local $$w$1) + (get_local $$xor449) ) - ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$2) - (get_local $$add441) - (get_local $$fl$6) - ) - (set_local $$265 - (i32.load + (call $_pad (get_local $$f) + (i32.const 48) + (get_local $$sub$ptr$sub433$p$5) + (get_local $$sub$ptr$sub433) + (i32.const 0) ) - ) - (set_local $$and$i$244 - (i32.and - (get_local $$265) - (i32.const 32) + (set_local $$266 + (i32.load + (get_local $$f) + ) ) - ) - (set_local $$tobool$i$245 - (i32.eq - (get_local $$and$i$244) - (i32.const 0) + (set_local $$and$i$216 + (i32.and + (get_local $$266) + (i32.const 32) + ) ) - ) - (if - (get_local $$tobool$i$245) - (call $___fwritex - (get_local $$prefix$2) - (get_local $$pl$2) - (get_local $$f) + (set_local $$tobool$i$217 + (i32.eq + (get_local $$and$i$216) + (i32.const 0) + ) ) - ) - (set_local $$xor449 - (i32.xor - (get_local $$fl$6) - (i32.const 65536) + (if + (get_local $$tobool$i$217) + (call $___fwritex + (get_local $$a$2) + (get_local $$sub$ptr$sub433) + (get_local $$f) + ) ) - ) - (call $_pad - (get_local $$f) - (i32.const 48) - (get_local $$w$2) - (get_local $$add441) - (get_local $$xor449) - ) - (call $_pad - (get_local $$f) - (i32.const 48) - (get_local $$sub$ptr$sub433$p$5) - (get_local $$sub$ptr$sub433) - (i32.const 0) - ) - (set_local $$266 - (i32.load - (get_local $$f) + (set_local $$xor457 + (i32.xor + (get_local $$fl$6) + (i32.const 8192) + ) ) - ) - (set_local $$and$i$216 - (i32.and - (get_local $$266) + (call $_pad + (get_local $$f) (i32.const 32) + (get_local $$w$2) + (get_local $$add441) + (get_local $$xor457) ) - ) - (set_local $$tobool$i$217 - (i32.eq - (get_local $$and$i$216) - (i32.const 0) + (set_local $$cnt$0 + (get_local $$cnt$1) ) - ) - (if - (get_local $$tobool$i$217) - (call $___fwritex - (get_local $$a$2) - (get_local $$sub$ptr$sub433) - (get_local $$f) + (set_local $$incdec$ptr169275 + (get_local $$incdec$ptr169$lcssa) ) - ) - (set_local $$xor457 - (i32.xor - (get_local $$fl$6) - (i32.const 8192) + (set_local $$l$0 + (get_local $$w$2) ) + (set_local $$l10n$0 + (get_local $$l10n$3) + ) + (br $label$continue$L1) ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$2) - (get_local $$add441) - (get_local $$xor457) - ) - (set_local $$cnt$0 - (get_local $$cnt$1) - ) - (set_local $$incdec$ptr169275 - (get_local $$incdec$ptr169$lcssa) - ) - (set_local $$l$0 - (get_local $$w$2) - ) - (set_local $$l10n$0 - (get_local $$l10n$3) - ) - (br $label$continue$L1) ) (block $label$break$L343 (if @@ -14347,75 +14431,77 @@ (set_local $$i$2299 (i32.const 1) ) - (loop $while-out$136 $while-in$137 - (set_local $$arrayidx469 - (i32.add - (get_local $$nl_type) - (i32.shl - (get_local $$i$2299) - (i32.const 2) + (loop $while-in$137 + (block $while-out$136 + (set_local $$arrayidx469 + (i32.add + (get_local $$nl_type) + (i32.shl + (get_local $$i$2299) + (i32.const 2) + ) + ) + ) + (set_local $$267 + (i32.load + (get_local $$arrayidx469) + ) + ) + (set_local $$tobool470 + (i32.eq + (get_local $$267) + (i32.const 0) + ) + ) + (if + (get_local $$tobool470) + (block + (set_local $$i$2299$lcssa + (get_local $$i$2299) + ) + (br $while-out$136) + ) + ) + (set_local $$add$ptr473 + (i32.add + (get_local $$nl_arg) + (i32.shl + (get_local $$i$2299) + (i32.const 3) + ) ) ) - ) - (set_local $$267 - (i32.load - (get_local $$arrayidx469) - ) - ) - (set_local $$tobool470 - (i32.eq + (call $_pop_arg_336 + (get_local $$add$ptr473) (get_local $$267) - (i32.const 0) + (get_local $$ap) ) - ) - (if - (get_local $$tobool470) - (block - (set_local $$i$2299$lcssa + (set_local $$inc + (i32.add (get_local $$i$2299) + (i32.const 1) ) - (br $while-out$136) ) - ) - (set_local $$add$ptr473 - (i32.add - (get_local $$nl_arg) - (i32.shl - (get_local $$i$2299) - (i32.const 3) + (set_local $$cmp466 + (i32.lt_s + (get_local $$inc) + (i32.const 10) ) ) - ) - (call $_pop_arg_336 - (get_local $$add$ptr473) - (get_local $$267) - (get_local $$ap) - ) - (set_local $$inc - (i32.add - (get_local $$i$2299) - (i32.const 1) - ) - ) - (set_local $$cmp466 - (i32.lt_s - (get_local $$inc) - (i32.const 10) - ) - ) - (if - (get_local $$cmp466) - (set_local $$i$2299 - (get_local $$inc) - ) - (block - (set_local $$retval$0 - (i32.const 1) + (if + (get_local $$cmp466) + (set_local $$i$2299 + (get_local $$inc) + ) + (block + (set_local $$retval$0 + (i32.const 1) + ) + (br $label$break$L343) ) - (br $label$break$L343) ) + (br $while-in$137) ) - (br $while-in$137) ) (set_local $$cmp478$295 (i32.lt_s @@ -14429,63 +14515,65 @@ (set_local $$i$3296 (get_local $$i$2299$lcssa) ) - (loop $while-out$138 $while-in$139 - (set_local $$arrayidx481 - (i32.add - (get_local $$nl_type) - (i32.shl - (get_local $$i$3296) - (i32.const 2) + (loop $while-in$139 + (block $while-out$138 + (set_local $$arrayidx481 + (i32.add + (get_local $$nl_type) + (i32.shl + (get_local $$i$3296) + (i32.const 2) + ) ) ) - ) - (set_local $$268 - (i32.load - (get_local $$arrayidx481) - ) - ) - (set_local $$lnot483 - (i32.eq - (get_local $$268) - (i32.const 0) - ) - ) - (set_local $$inc488 - (i32.add - (get_local $$i$3296) - (i32.const 1) + (set_local $$268 + (i32.load + (get_local $$arrayidx481) + ) ) - ) - (if - (i32.eqz - (get_local $$lnot483) + (set_local $$lnot483 + (i32.eq + (get_local $$268) + (i32.const 0) + ) ) - (block - (set_local $$retval$0 - (i32.const -1) + (set_local $$inc488 + (i32.add + (get_local $$i$3296) + (i32.const 1) ) - (br $label$break$L343) ) - ) - (set_local $$cmp478 - (i32.lt_s - (get_local $$inc488) - (i32.const 10) + (if + (i32.eqz + (get_local $$lnot483) + ) + (block + (set_local $$retval$0 + (i32.const -1) + ) + (br $label$break$L343) + ) ) - ) - (if - (get_local $$cmp478) - (set_local $$i$3296 - (get_local $$inc488) + (set_local $$cmp478 + (i32.lt_s + (get_local $$inc488) + (i32.const 10) + ) ) - (block - (set_local $$retval$0 - (i32.const 1) + (if + (get_local $$cmp478) + (set_local $$i$3296 + (get_local $$inc488) + ) + (block + (set_local $$retval$0 + (i32.const 1) + ) + (br $while-out$138) ) - (br $while-out$138) ) + (br $while-in$139) ) - (br $while-in$139) ) ) (set_local $$retval$0 @@ -15899,112 +15987,114 @@ (set_local $$s$addr$013 (get_local $$s) ) - (loop $while-out$0 $while-in$1 - (set_local $$9 - (call $___uremdi3 - (get_local $$7) - (get_local $$8) - (i32.const 10) - (i32.const 0) - ) - ) - (set_local $$10 - (i32.load - (i32.const 168) - ) - ) - (set_local $$11 - (i32.or - (get_local $$9) - (i32.const 48) - ) - ) - (set_local $$12 - (i32.and - (get_local $$11) - (i32.const 255) + (loop $while-in$1 + (block $while-out$0 + (set_local $$9 + (call $___uremdi3 + (get_local $$7) + (get_local $$8) + (i32.const 10) + (i32.const 0) + ) ) - ) - (set_local $$incdec$ptr - (i32.add - (get_local $$s$addr$013) - (i32.const -1) + (set_local $$10 + (i32.load + (i32.const 168) + ) ) - ) - (i32.store8 - (get_local $$incdec$ptr) - (get_local $$12) - ) - (set_local $$13 - (call $___udivdi3 - (get_local $$7) - (get_local $$8) - (i32.const 10) - (i32.const 0) + (set_local $$11 + (i32.or + (get_local $$9) + (i32.const 48) + ) ) - ) - (set_local $$14 - (i32.load - (i32.const 168) + (set_local $$12 + (i32.and + (get_local $$11) + (i32.const 255) + ) ) - ) - (set_local $$15 - (i32.gt_u - (get_local $$8) - (i32.const 9) + (set_local $$incdec$ptr + (i32.add + (get_local $$s$addr$013) + (i32.const -1) + ) ) - ) - (set_local $$16 - (i32.gt_u - (get_local $$7) - (i32.const -1) + (i32.store8 + (get_local $$incdec$ptr) + (get_local $$12) ) - ) - (set_local $$17 - (i32.eq - (get_local $$8) - (i32.const 9) + (set_local $$13 + (call $___udivdi3 + (get_local $$7) + (get_local $$8) + (i32.const 10) + (i32.const 0) + ) ) - ) - (set_local $$18 - (i32.and - (get_local $$17) - (get_local $$16) + (set_local $$14 + (i32.load + (i32.const 168) + ) ) - ) - (set_local $$19 - (i32.or - (get_local $$15) - (get_local $$18) + (set_local $$15 + (i32.gt_u + (get_local $$8) + (i32.const 9) + ) ) - ) - (if - (get_local $$19) - (block - (set_local $$7 - (get_local $$13) + (set_local $$16 + (i32.gt_u + (get_local $$7) + (i32.const -1) ) - (set_local $$8 - (get_local $$14) + ) + (set_local $$17 + (i32.eq + (get_local $$8) + (i32.const 9) ) - (set_local $$s$addr$013 - (get_local $$incdec$ptr) + ) + (set_local $$18 + (i32.and + (get_local $$17) + (get_local $$16) ) ) - (block - (set_local $$21 - (get_local $$13) + (set_local $$19 + (i32.or + (get_local $$15) + (get_local $$18) ) - (set_local $$22 - (get_local $$14) + ) + (if + (get_local $$19) + (block + (set_local $$7 + (get_local $$13) + ) + (set_local $$8 + (get_local $$14) + ) + (set_local $$s$addr$013 + (get_local $$incdec$ptr) + ) ) - (set_local $$incdec$ptr$lcssa - (get_local $$incdec$ptr) + (block + (set_local $$21 + (get_local $$13) + ) + (set_local $$22 + (get_local $$14) + ) + (set_local $$incdec$ptr$lcssa + (get_local $$incdec$ptr) + ) + (br $while-out$0) ) - (br $while-out$0) ) + (br $while-in$1) ) - (br $while-in$1) ) (set_local $$s$addr$0$lcssa (get_local $$incdec$ptr$lcssa) @@ -16040,71 +16130,73 @@ (set_local $$y$010 (get_local $$x$addr$0$lcssa$off0) ) - (loop $while-out$2 $while-in$3 - (set_local $$rem4 - (i32.and - (i32.rem_u - (get_local $$y$010) - (i32.const 10) + (loop $while-in$3 + (block $while-out$2 + (set_local $$rem4 + (i32.and + (i32.rem_u + (get_local $$y$010) + (i32.const 10) + ) + (i32.const -1) ) - (i32.const -1) - ) - ) - (set_local $$add5 - (i32.or - (get_local $$rem4) - (i32.const 48) ) - ) - (set_local $$conv6 - (i32.and - (get_local $$add5) - (i32.const 255) + (set_local $$add5 + (i32.or + (get_local $$rem4) + (i32.const 48) + ) ) - ) - (set_local $$incdec$ptr7 - (i32.add - (get_local $$s$addr$19) - (i32.const -1) + (set_local $$conv6 + (i32.and + (get_local $$add5) + (i32.const 255) + ) ) - ) - (i32.store8 - (get_local $$incdec$ptr7) - (get_local $$conv6) - ) - (set_local $$div9 - (i32.and - (i32.div_u - (get_local $$y$010) - (i32.const 10) + (set_local $$incdec$ptr7 + (i32.add + (get_local $$s$addr$19) + (i32.const -1) ) - (i32.const -1) ) - ) - (set_local $$20 - (i32.lt_u - (get_local $$y$010) - (i32.const 10) + (i32.store8 + (get_local $$incdec$ptr7) + (get_local $$conv6) ) - ) - (if - (get_local $$20) - (block - (set_local $$s$addr$1$lcssa - (get_local $$incdec$ptr7) + (set_local $$div9 + (i32.and + (i32.div_u + (get_local $$y$010) + (i32.const 10) + ) + (i32.const -1) ) - (br $while-out$2) ) - (block - (set_local $$s$addr$19 - (get_local $$incdec$ptr7) + (set_local $$20 + (i32.lt_u + (get_local $$y$010) + (i32.const 10) ) - (set_local $$y$010 - (get_local $$div9) + ) + (if + (get_local $$20) + (block + (set_local $$s$addr$1$lcssa + (get_local $$incdec$ptr7) + ) + (br $while-out$2) + ) + (block + (set_local $$s$addr$19 + (get_local $$incdec$ptr7) + ) + (set_local $$y$010 + (get_local $$div9) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) @@ -16262,70 +16354,72 @@ (set_local $$tobool$i18 (get_local $$tobool$i$16) ) - (loop $while-out$2 $while-in$3 - (if - (get_local $$tobool$i18) - (block - (drop - (call $___fwritex - (get_local $$pad) - (i32.const 256) - (get_local $$f) + (loop $while-in$3 + (block $while-out$2 + (if + (get_local $$tobool$i18) + (block + (drop + (call $___fwritex + (get_local $$pad) + (i32.const 256) + (get_local $$f) + ) ) - ) - (set_local $$$pre - (i32.load - (get_local $$f) + (set_local $$$pre + (i32.load + (get_local $$f) + ) + ) + (set_local $$2 + (get_local $$$pre) ) ) (set_local $$2 - (get_local $$$pre) + (get_local $$4) ) ) - (set_local $$2 - (get_local $$4) - ) - ) - (set_local $$sub5 - (i32.add - (get_local $$l$addr$017) - (i32.const -256) - ) - ) - (set_local $$cmp3 - (i32.gt_u - (get_local $$sub5) - (i32.const 255) - ) - ) - (set_local $$and$i - (i32.and - (get_local $$2) - (i32.const 32) + (set_local $$sub5 + (i32.add + (get_local $$l$addr$017) + (i32.const -256) + ) ) - ) - (set_local $$tobool$i - (i32.eq - (get_local $$and$i) - (i32.const 0) + (set_local $$cmp3 + (i32.gt_u + (get_local $$sub5) + (i32.const 255) + ) ) - ) - (if - (get_local $$cmp3) - (block - (set_local $$4 + (set_local $$and$i + (i32.and (get_local $$2) + (i32.const 32) ) - (set_local $$l$addr$017 - (get_local $$sub5) + ) + (set_local $$tobool$i + (i32.eq + (get_local $$and$i) + (i32.const 0) ) - (set_local $$tobool$i18 - (get_local $$tobool$i) + ) + (if + (get_local $$cmp3) + (block + (set_local $$4 + (get_local $$2) + ) + (set_local $$l$addr$017 + (get_local $$sub5) + ) + (set_local $$tobool$i18 + (get_local $$tobool$i) + ) ) + (br $while-out$2) ) - (br $while-out$2) + (br $while-in$3) ) - (br $while-in$3) ) (set_local $$3 (i32.and @@ -18584,117 +18678,119 @@ (set_local $$v$0$i (get_local $$20) ) - (loop $while-out$23 $while-in$24 - (set_local $$arrayidx23$i - (i32.add - (get_local $$t$0$i) - (i32.const 16) + (loop $while-in$24 + (block $while-out$23 + (set_local $$arrayidx23$i + (i32.add + (get_local $$t$0$i) + (i32.const 16) + ) ) - ) - (set_local $$22 - (i32.load - (get_local $$arrayidx23$i) + (set_local $$22 + (i32.load + (get_local $$arrayidx23$i) + ) ) - ) - (set_local $$cmp$i - (i32.eq - (get_local $$22) - (i32.const 0) + (set_local $$cmp$i + (i32.eq + (get_local $$22) + (i32.const 0) + ) ) - ) - (if - (get_local $$cmp$i) - (block - (set_local $$arrayidx27$i - (i32.add - (get_local $$t$0$i) - (i32.const 20) + (if + (get_local $$cmp$i) + (block + (set_local $$arrayidx27$i + (i32.add + (get_local $$t$0$i) + (i32.const 20) + ) ) - ) - (set_local $$23 - (i32.load - (get_local $$arrayidx27$i) + (set_local $$23 + (i32.load + (get_local $$arrayidx27$i) + ) ) - ) - (set_local $$cmp28$i - (i32.eq - (get_local $$23) - (i32.const 0) + (set_local $$cmp28$i + (i32.eq + (get_local $$23) + (i32.const 0) + ) ) - ) - (if - (get_local $$cmp28$i) - (block - (set_local $$rsize$0$i$lcssa - (get_local $$rsize$0$i) + (if + (get_local $$cmp28$i) + (block + (set_local $$rsize$0$i$lcssa + (get_local $$rsize$0$i) + ) + (set_local $$v$0$i$lcssa + (get_local $$v$0$i) + ) + (br $while-out$23) ) - (set_local $$v$0$i$lcssa - (get_local $$v$0$i) + (set_local $$cond4$i + (get_local $$23) ) - (br $while-out$23) - ) - (set_local $$cond4$i - (get_local $$23) ) ) + (set_local $$cond4$i + (get_local $$22) + ) ) - (set_local $$cond4$i - (get_local $$22) + (set_local $$head29$i + (i32.add + (get_local $$cond4$i) + (i32.const 4) + ) ) - ) - (set_local $$head29$i - (i32.add - (get_local $$cond4$i) - (i32.const 4) + (set_local $$24 + (i32.load + (get_local $$head29$i) + ) ) - ) - (set_local $$24 - (i32.load - (get_local $$head29$i) + (set_local $$and30$i + (i32.and + (get_local $$24) + (i32.const -8) + ) ) - ) - (set_local $$and30$i - (i32.and - (get_local $$24) - (i32.const -8) + (set_local $$sub31$i + (i32.sub + (get_local $$and30$i) + (get_local $$cond) + ) ) - ) - (set_local $$sub31$i - (i32.sub - (get_local $$and30$i) - (get_local $$cond) + (set_local $$cmp32$i + (i32.lt_u + (get_local $$sub31$i) + (get_local $$rsize$0$i) + ) ) - ) - (set_local $$cmp32$i - (i32.lt_u - (get_local $$sub31$i) - (get_local $$rsize$0$i) + (set_local $$sub31$rsize$0$i + (if + (get_local $$cmp32$i) + (get_local $$sub31$i) + (get_local $$rsize$0$i) + ) ) - ) - (set_local $$sub31$rsize$0$i - (if - (get_local $$cmp32$i) - (get_local $$sub31$i) - (get_local $$rsize$0$i) + (set_local $$cond$v$0$i + (if + (get_local $$cmp32$i) + (get_local $$cond4$i) + (get_local $$v$0$i) + ) ) - ) - (set_local $$cond$v$0$i - (if - (get_local $$cmp32$i) + (set_local $$rsize$0$i + (get_local $$sub31$rsize$0$i) + ) + (set_local $$t$0$i (get_local $$cond4$i) - (get_local $$v$0$i) ) + (set_local $$v$0$i + (get_local $$cond$v$0$i) + ) + (br $while-in$24) ) - (set_local $$rsize$0$i - (get_local $$sub31$rsize$0$i) - ) - (set_local $$t$0$i - (get_local $$cond4$i) - ) - (set_local $$v$0$i - (get_local $$cond$v$0$i) - ) - (br $while-in$24) ) (set_local $$25 (i32.load @@ -18825,76 +18921,78 @@ ) ) ) - (loop $while-out$27 $while-in$28 - (set_local $$arrayidx71$i - (i32.add - (get_local $$R$1$i) - (i32.const 20) - ) - ) - (set_local $$33 - (i32.load - (get_local $$arrayidx71$i) - ) - ) - (set_local $$cmp72$i - (i32.eq - (get_local $$33) - (i32.const 0) - ) - ) - (if - (i32.eqz - (get_local $$cmp72$i) - ) - (block - (set_local $$R$1$i - (get_local $$33) + (loop $while-in$28 + (block $while-out$27 + (set_local $$arrayidx71$i + (i32.add + (get_local $$R$1$i) + (i32.const 20) ) - (set_local $$RP$1$i + ) + (set_local $$33 + (i32.load (get_local $$arrayidx71$i) ) - (br $while-in$28) - ) - ) - (set_local $$arrayidx75$i - (i32.add - (get_local $$R$1$i) - (i32.const 16) ) - ) - (set_local $$34 - (i32.load - (get_local $$arrayidx75$i) + (set_local $$cmp72$i + (i32.eq + (get_local $$33) + (i32.const 0) + ) ) - ) - (set_local $$cmp76$i - (i32.eq - (get_local $$34) - (i32.const 0) + (if + (i32.eqz + (get_local $$cmp72$i) + ) + (block + (set_local $$R$1$i + (get_local $$33) + ) + (set_local $$RP$1$i + (get_local $$arrayidx71$i) + ) + (br $while-in$28) + ) ) - ) - (if - (get_local $$cmp76$i) - (block - (set_local $$R$1$i$lcssa + (set_local $$arrayidx75$i + (i32.add (get_local $$R$1$i) + (i32.const 16) ) - (set_local $$RP$1$i$lcssa - (get_local $$RP$1$i) + ) + (set_local $$34 + (i32.load + (get_local $$arrayidx75$i) ) - (br $while-out$27) ) - (block - (set_local $$R$1$i + (set_local $$cmp76$i + (i32.eq (get_local $$34) + (i32.const 0) ) - (set_local $$RP$1$i - (get_local $$arrayidx75$i) + ) + (if + (get_local $$cmp76$i) + (block + (set_local $$R$1$i$lcssa + (get_local $$R$1$i) + ) + (set_local $$RP$1$i$lcssa + (get_local $$RP$1$i) + ) + (br $while-out$27) + ) + (block + (set_local $$R$1$i + (get_local $$34) + ) + (set_local $$RP$1$i + (get_local $$arrayidx75$i) + ) ) ) + (br $while-in$28) ) - (br $while-in$28) ) (set_local $$cmp81$i (i32.lt_u @@ -19900,200 +19998,202 @@ (set_local $$v$0$i$153 (i32.const 0) ) - (loop $while-out$3 $while-in$4 - (set_local $$head$i$154 - (i32.add - (get_local $$t$0$i$151) - (i32.const 4) - ) - ) - (set_local $$53 - (i32.load - (get_local $$head$i$154) + (loop $while-in$4 + (block $while-out$3 + (set_local $$head$i$154 + (i32.add + (get_local $$t$0$i$151) + (i32.const 4) + ) ) - ) - (set_local $$and32$i - (i32.and - (get_local $$53) - (i32.const -8) + (set_local $$53 + (i32.load + (get_local $$head$i$154) + ) ) - ) - (set_local $$sub33$i - (i32.sub - (get_local $$and32$i) - (get_local $$and145) + (set_local $$and32$i + (i32.and + (get_local $$53) + (i32.const -8) + ) ) - ) - (set_local $$cmp34$i - (i32.lt_u - (get_local $$sub33$i) - (get_local $$rsize$0$i$152) + (set_local $$sub33$i + (i32.sub + (get_local $$and32$i) + (get_local $$and145) + ) ) - ) - (if - (get_local $$cmp34$i) - (block - (set_local $$cmp36$i - (i32.eq - (get_local $$and32$i) - (get_local $$and145) - ) + (set_local $$cmp34$i + (i32.lt_u + (get_local $$sub33$i) + (get_local $$rsize$0$i$152) ) - (if - (get_local $$cmp36$i) - (block - (set_local $$rsize$49$i - (get_local $$sub33$i) - ) - (set_local $$t$48$i - (get_local $$t$0$i$151) - ) - (set_local $$v$410$i - (get_local $$t$0$i$151) - ) - (set_local $label - (i32.const 90) + ) + (if + (get_local $$cmp34$i) + (block + (set_local $$cmp36$i + (i32.eq + (get_local $$and32$i) + (get_local $$and145) ) - (br $label$break$L123) ) - (block - (set_local $$rsize$1$i - (get_local $$sub33$i) + (if + (get_local $$cmp36$i) + (block + (set_local $$rsize$49$i + (get_local $$sub33$i) + ) + (set_local $$t$48$i + (get_local $$t$0$i$151) + ) + (set_local $$v$410$i + (get_local $$t$0$i$151) + ) + (set_local $label + (i32.const 90) + ) + (br $label$break$L123) ) - (set_local $$v$1$i - (get_local $$t$0$i$151) + (block + (set_local $$rsize$1$i + (get_local $$sub33$i) + ) + (set_local $$v$1$i + (get_local $$t$0$i$151) + ) ) ) ) - ) - (block - (set_local $$rsize$1$i - (get_local $$rsize$0$i$152) - ) - (set_local $$v$1$i - (get_local $$v$0$i$153) + (block + (set_local $$rsize$1$i + (get_local $$rsize$0$i$152) + ) + (set_local $$v$1$i + (get_local $$v$0$i$153) + ) ) ) - ) - (set_local $$arrayidx40$i - (i32.add - (get_local $$t$0$i$151) - (i32.const 20) - ) - ) - (set_local $$54 - (i32.load - (get_local $$arrayidx40$i) - ) - ) - (set_local $$shr41$i - (i32.shr_u - (get_local $$sizebits$0$i) - (i32.const 31) - ) - ) - (set_local $$arrayidx44$i - (i32.add + (set_local $$arrayidx40$i (i32.add (get_local $$t$0$i$151) - (i32.const 16) + (i32.const 20) ) - (i32.shl - (get_local $$shr41$i) - (i32.const 2) - ) - ) - ) - (set_local $$55 - (i32.load - (get_local $$arrayidx44$i) - ) - ) - (set_local $$cmp45$i$155 - (i32.eq - (get_local $$54) - (i32.const 0) - ) - ) - (set_local $$cmp46$i - (i32.eq - (get_local $$54) - (get_local $$55) - ) - ) - (set_local $$or$cond1$i - (i32.or - (get_local $$cmp45$i$155) - (get_local $$cmp46$i) ) - ) - (set_local $$rst$1$i - (if - (get_local $$or$cond1$i) - (get_local $$rst$0$i) - (get_local $$54) + (set_local $$54 + (i32.load + (get_local $$arrayidx40$i) + ) ) - ) - (set_local $$cmp49$i - (i32.eq - (get_local $$55) - (i32.const 0) + (set_local $$shr41$i + (i32.shr_u + (get_local $$sizebits$0$i) + (i32.const 31) + ) ) - ) - (set_local $$56 - (i32.and - (get_local $$cmp49$i) - (i32.const 1) + (set_local $$arrayidx44$i + (i32.add + (i32.add + (get_local $$t$0$i$151) + (i32.const 16) + ) + (i32.shl + (get_local $$shr41$i) + (i32.const 2) + ) + ) ) - ) - (set_local $$shl52$i - (i32.xor - (get_local $$56) - (i32.const 1) + (set_local $$55 + (i32.load + (get_local $$arrayidx44$i) + ) ) - ) - (set_local $$sizebits$0$shl52$i - (i32.shl - (get_local $$sizebits$0$i) - (get_local $$shl52$i) + (set_local $$cmp45$i$155 + (i32.eq + (get_local $$54) + (i32.const 0) + ) ) - ) - (if - (get_local $$cmp49$i) - (block - (set_local $$rsize$3$i - (get_local $$rsize$1$i) + (set_local $$cmp46$i + (i32.eq + (get_local $$54) + (get_local $$55) ) - (set_local $$t$2$i - (get_local $$rst$1$i) + ) + (set_local $$or$cond1$i + (i32.or + (get_local $$cmp45$i$155) + (get_local $$cmp46$i) ) - (set_local $$v$3$i - (get_local $$v$1$i) + ) + (set_local $$rst$1$i + (if + (get_local $$or$cond1$i) + (get_local $$rst$0$i) + (get_local $$54) ) - (set_local $label - (i32.const 86) + ) + (set_local $$cmp49$i + (i32.eq + (get_local $$55) + (i32.const 0) ) - (br $while-out$3) ) - (block - (set_local $$rsize$0$i$152 - (get_local $$rsize$1$i) + (set_local $$56 + (i32.and + (get_local $$cmp49$i) + (i32.const 1) ) - (set_local $$rst$0$i - (get_local $$rst$1$i) + ) + (set_local $$shl52$i + (i32.xor + (get_local $$56) + (i32.const 1) ) - (set_local $$sizebits$0$i - (get_local $$sizebits$0$shl52$i) + ) + (set_local $$sizebits$0$shl52$i + (i32.shl + (get_local $$sizebits$0$i) + (get_local $$shl52$i) ) - (set_local $$t$0$i$151 - (get_local $$55) + ) + (if + (get_local $$cmp49$i) + (block + (set_local $$rsize$3$i + (get_local $$rsize$1$i) + ) + (set_local $$t$2$i + (get_local $$rst$1$i) + ) + (set_local $$v$3$i + (get_local $$v$1$i) + ) + (set_local $label + (i32.const 86) + ) + (br $while-out$3) ) - (set_local $$v$0$i$153 - (get_local $$v$1$i) + (block + (set_local $$rsize$0$i$152 + (get_local $$rsize$1$i) + ) + (set_local $$rst$0$i + (get_local $$rst$1$i) + ) + (set_local $$sizebits$0$i + (get_local $$sizebits$0$shl52$i) + ) + (set_local $$t$0$i$151 + (get_local $$55) + ) + (set_local $$v$0$i$153 + (get_local $$v$1$i) + ) ) ) + (br $while-in$4) ) - (br $while-in$4) ) ) ) @@ -20362,134 +20462,136 @@ (get_local $label) (i32.const 90) ) - (loop $while-out$5 $while-in$6 - (set_local $label - (i32.const 0) - ) - (set_local $$head99$i - (i32.add - (get_local $$t$48$i) - (i32.const 4) - ) - ) - (set_local $$58 - (i32.load - (get_local $$head99$i) - ) - ) - (set_local $$and100$i - (i32.and - (get_local $$58) - (i32.const -8) + (loop $while-in$6 + (block $while-out$5 + (set_local $label + (i32.const 0) ) - ) - (set_local $$sub101$i - (i32.sub - (get_local $$and100$i) - (get_local $$and145) + (set_local $$head99$i + (i32.add + (get_local $$t$48$i) + (i32.const 4) + ) ) - ) - (set_local $$cmp102$i - (i32.lt_u - (get_local $$sub101$i) - (get_local $$rsize$49$i) + (set_local $$58 + (i32.load + (get_local $$head99$i) + ) ) - ) - (set_local $$sub101$rsize$4$i - (if - (get_local $$cmp102$i) - (get_local $$sub101$i) - (get_local $$rsize$49$i) + (set_local $$and100$i + (i32.and + (get_local $$58) + (i32.const -8) + ) ) - ) - (set_local $$t$4$v$4$i - (if - (get_local $$cmp102$i) - (get_local $$t$48$i) - (get_local $$v$410$i) + (set_local $$sub101$i + (i32.sub + (get_local $$and100$i) + (get_local $$and145) + ) ) - ) - (set_local $$arrayidx106$i - (i32.add - (get_local $$t$48$i) - (i32.const 16) + (set_local $$cmp102$i + (i32.lt_u + (get_local $$sub101$i) + (get_local $$rsize$49$i) + ) ) - ) - (set_local $$59 - (i32.load - (get_local $$arrayidx106$i) + (set_local $$sub101$rsize$4$i + (if + (get_local $$cmp102$i) + (get_local $$sub101$i) + (get_local $$rsize$49$i) + ) ) - ) - (set_local $$cmp107$i$157 - (i32.eq - (get_local $$59) - (i32.const 0) + (set_local $$t$4$v$4$i + (if + (get_local $$cmp102$i) + (get_local $$t$48$i) + (get_local $$v$410$i) + ) ) - ) - (if - (i32.eqz - (get_local $$cmp107$i$157) + (set_local $$arrayidx106$i + (i32.add + (get_local $$t$48$i) + (i32.const 16) + ) ) - (block - (set_local $$rsize$49$i - (get_local $$sub101$rsize$4$i) + (set_local $$59 + (i32.load + (get_local $$arrayidx106$i) ) - (set_local $$t$48$i + ) + (set_local $$cmp107$i$157 + (i32.eq (get_local $$59) + (i32.const 0) ) - (set_local $$v$410$i - (get_local $$t$4$v$4$i) + ) + (if + (i32.eqz + (get_local $$cmp107$i$157) ) - (set_local $label - (i32.const 90) + (block + (set_local $$rsize$49$i + (get_local $$sub101$rsize$4$i) + ) + (set_local $$t$48$i + (get_local $$59) + ) + (set_local $$v$410$i + (get_local $$t$4$v$4$i) + ) + (set_local $label + (i32.const 90) + ) + (br $while-in$6) ) - (br $while-in$6) - ) - ) - (set_local $$arrayidx113$i$159 - (i32.add - (get_local $$t$48$i) - (i32.const 20) - ) - ) - (set_local $$60 - (i32.load - (get_local $$arrayidx113$i$159) - ) - ) - (set_local $$cmp97$i - (i32.eq - (get_local $$60) - (i32.const 0) ) - ) - (if - (get_local $$cmp97$i) - (block - (set_local $$rsize$4$lcssa$i - (get_local $$sub101$rsize$4$i) - ) - (set_local $$v$4$lcssa$i - (get_local $$t$4$v$4$i) + (set_local $$arrayidx113$i$159 + (i32.add + (get_local $$t$48$i) + (i32.const 20) ) - (br $while-out$5) ) - (block - (set_local $$rsize$49$i - (get_local $$sub101$rsize$4$i) + (set_local $$60 + (i32.load + (get_local $$arrayidx113$i$159) ) - (set_local $$t$48$i + ) + (set_local $$cmp97$i + (i32.eq (get_local $$60) + (i32.const 0) ) - (set_local $$v$410$i - (get_local $$t$4$v$4$i) + ) + (if + (get_local $$cmp97$i) + (block + (set_local $$rsize$4$lcssa$i + (get_local $$sub101$rsize$4$i) + ) + (set_local $$v$4$lcssa$i + (get_local $$t$4$v$4$i) + ) + (br $while-out$5) ) - (set_local $label - (i32.const 90) + (block + (set_local $$rsize$49$i + (get_local $$sub101$rsize$4$i) + ) + (set_local $$t$48$i + (get_local $$60) + ) + (set_local $$v$410$i + (get_local $$t$4$v$4$i) + ) + (set_local $label + (i32.const 90) + ) ) ) + (br $while-in$6) ) - (br $while-in$6) ) ) (set_local $$cmp116$i @@ -20644,85 +20746,87 @@ ) ) ) - (block - (set_local $$R$1$i$168 - (get_local $$68) - ) - (set_local $$RP$1$i$167 - (get_local $$arrayidx151$i) - ) - ) - ) - (loop $while-out$9 $while-in$10 - (set_local $$arrayidx161$i - (i32.add - (get_local $$R$1$i$168) - (i32.const 20) - ) - ) - (set_local $$70 - (i32.load - (get_local $$arrayidx161$i) - ) - ) - (set_local $$cmp162$i - (i32.eq - (get_local $$70) - (i32.const 0) - ) - ) - (if - (i32.eqz - (get_local $$cmp162$i) + (block + (set_local $$R$1$i$168 + (get_local $$68) ) - (block - (set_local $$R$1$i$168 - (get_local $$70) + (set_local $$RP$1$i$167 + (get_local $$arrayidx151$i) + ) + ) + ) + (loop $while-in$10 + (block $while-out$9 + (set_local $$arrayidx161$i + (i32.add + (get_local $$R$1$i$168) + (i32.const 20) ) - (set_local $$RP$1$i$167 + ) + (set_local $$70 + (i32.load (get_local $$arrayidx161$i) ) - (br $while-in$10) ) - ) - (set_local $$arrayidx165$i$169 - (i32.add - (get_local $$R$1$i$168) - (i32.const 16) - ) - ) - (set_local $$71 - (i32.load - (get_local $$arrayidx165$i$169) + (set_local $$cmp162$i + (i32.eq + (get_local $$70) + (i32.const 0) + ) ) - ) - (set_local $$cmp166$i - (i32.eq - (get_local $$71) - (i32.const 0) + (if + (i32.eqz + (get_local $$cmp162$i) + ) + (block + (set_local $$R$1$i$168 + (get_local $$70) + ) + (set_local $$RP$1$i$167 + (get_local $$arrayidx161$i) + ) + (br $while-in$10) + ) ) - ) - (if - (get_local $$cmp166$i) - (block - (set_local $$R$1$i$168$lcssa + (set_local $$arrayidx165$i$169 + (i32.add (get_local $$R$1$i$168) + (i32.const 16) ) - (set_local $$RP$1$i$167$lcssa - (get_local $$RP$1$i$167) + ) + (set_local $$71 + (i32.load + (get_local $$arrayidx165$i$169) ) - (br $while-out$9) ) - (block - (set_local $$R$1$i$168 + (set_local $$cmp166$i + (i32.eq (get_local $$71) + (i32.const 0) ) - (set_local $$RP$1$i$167 - (get_local $$arrayidx165$i$169) + ) + (if + (get_local $$cmp166$i) + (block + (set_local $$R$1$i$168$lcssa + (get_local $$R$1$i$168) + ) + (set_local $$RP$1$i$167$lcssa + (get_local $$RP$1$i$167) + ) + (br $while-out$9) + ) + (block + (set_local $$R$1$i$168 + (get_local $$71) + ) + (set_local $$RP$1$i$167 + (get_local $$arrayidx165$i$169) + ) ) ) + (br $while-in$10) ) - (br $while-in$10) ) (set_local $$cmp171$i (i32.lt_u @@ -21710,101 +21814,103 @@ (set_local $$T$0$i (get_local $$87) ) - (loop $while-out$17 $while-in$18 - (set_local $$head386$i - (i32.add - (get_local $$T$0$i) - (i32.const 4) - ) - ) - (set_local $$88 - (i32.load - (get_local $$head386$i) + (loop $while-in$18 + (block $while-out$17 + (set_local $$head386$i + (i32.add + (get_local $$T$0$i) + (i32.const 4) + ) ) - ) - (set_local $$and387$i - (i32.and - (get_local $$88) - (i32.const -8) + (set_local $$88 + (i32.load + (get_local $$head386$i) + ) ) - ) - (set_local $$cmp388$i - (i32.eq - (get_local $$and387$i) - (get_local $$rsize$4$lcssa$i) + (set_local $$and387$i + (i32.and + (get_local $$88) + (i32.const -8) + ) ) - ) - (if - (get_local $$cmp388$i) - (block - (set_local $$T$0$i$lcssa - (get_local $$T$0$i) + (set_local $$cmp388$i + (i32.eq + (get_local $$and387$i) + (get_local $$rsize$4$lcssa$i) ) - (set_local $label - (i32.const 148) + ) + (if + (get_local $$cmp388$i) + (block + (set_local $$T$0$i$lcssa + (get_local $$T$0$i) + ) + (set_local $label + (i32.const 148) + ) + (br $while-out$17) ) - (br $while-out$17) ) - ) - (set_local $$shr391$i - (i32.shr_u - (get_local $$K373$0$i) - (i32.const 31) + (set_local $$shr391$i + (i32.shr_u + (get_local $$K373$0$i) + (i32.const 31) + ) ) - ) - (set_local $$arrayidx394$i - (i32.add + (set_local $$arrayidx394$i (i32.add - (get_local $$T$0$i) - (i32.const 16) + (i32.add + (get_local $$T$0$i) + (i32.const 16) + ) + (i32.shl + (get_local $$shr391$i) + (i32.const 2) + ) ) + ) + (set_local $$shl395$i (i32.shl - (get_local $$shr391$i) - (i32.const 2) + (get_local $$K373$0$i) + (i32.const 1) ) ) - ) - (set_local $$shl395$i - (i32.shl - (get_local $$K373$0$i) - (i32.const 1) - ) - ) - (set_local $$89 - (i32.load - (get_local $$arrayidx394$i) - ) - ) - (set_local $$cmp396$i - (i32.eq - (get_local $$89) - (i32.const 0) - ) - ) - (if - (get_local $$cmp396$i) - (block - (set_local $$T$0$i$lcssa293 - (get_local $$T$0$i) - ) - (set_local $$arrayidx394$i$lcssa + (set_local $$89 + (i32.load (get_local $$arrayidx394$i) ) - (set_local $label - (i32.const 145) + ) + (set_local $$cmp396$i + (i32.eq + (get_local $$89) + (i32.const 0) ) - (br $while-out$17) ) - (block - (set_local $$K373$0$i - (get_local $$shl395$i) + (if + (get_local $$cmp396$i) + (block + (set_local $$T$0$i$lcssa293 + (get_local $$T$0$i) + ) + (set_local $$arrayidx394$i$lcssa + (get_local $$arrayidx394$i) + ) + (set_local $label + (i32.const 145) + ) + (br $while-out$17) ) - (set_local $$T$0$i - (get_local $$89) + (block + (set_local $$K373$0$i + (get_local $$shl395$i) + ) + (set_local $$T$0$i + (get_local $$89) + ) ) ) + (br $while-in$18) ) - (br $while-in$18) ) (if (i32.eq @@ -22481,90 +22587,92 @@ (set_local $$sp$0$i$i (i32.const 624) ) - (loop $while-out$37 $while-in$38 - (set_local $$105 - (i32.load - (get_local $$sp$0$i$i) - ) - ) - (set_local $$cmp$i$9$i - (i32.gt_u - (get_local $$105) - (get_local $$104) + (loop $while-in$38 + (block $while-out$37 + (set_local $$105 + (i32.load + (get_local $$sp$0$i$i) + ) ) - ) - (if - (i32.eqz - (get_local $$cmp$i$9$i) + (set_local $$cmp$i$9$i + (i32.gt_u + (get_local $$105) + (get_local $$104) + ) ) - (block - (set_local $$size$i$i - (i32.add - (get_local $$sp$0$i$i) - (i32.const 4) - ) + (if + (i32.eqz + (get_local $$cmp$i$9$i) ) - (set_local $$106 - (i32.load - (get_local $$size$i$i) + (block + (set_local $$size$i$i + (i32.add + (get_local $$sp$0$i$i) + (i32.const 4) + ) ) - ) - (set_local $$add$ptr$i$i - (i32.add - (get_local $$105) - (get_local $$106) + (set_local $$106 + (i32.load + (get_local $$size$i$i) + ) ) - ) - (set_local $$cmp2$i$i - (i32.gt_u - (get_local $$add$ptr$i$i) - (get_local $$104) + (set_local $$add$ptr$i$i + (i32.add + (get_local $$105) + (get_local $$106) + ) ) - ) - (if - (get_local $$cmp2$i$i) - (block - (set_local $$base$i$i$lcssa - (get_local $$sp$0$i$i) + (set_local $$cmp2$i$i + (i32.gt_u + (get_local $$add$ptr$i$i) + (get_local $$104) ) - (set_local $$size$i$i$lcssa - (get_local $$size$i$i) + ) + (if + (get_local $$cmp2$i$i) + (block + (set_local $$base$i$i$lcssa + (get_local $$sp$0$i$i) + ) + (set_local $$size$i$i$lcssa + (get_local $$size$i$i) + ) + (br $while-out$37) ) - (br $while-out$37) ) ) ) - ) - (set_local $$next$i$i - (i32.add - (get_local $$sp$0$i$i) - (i32.const 8) - ) - ) - (set_local $$107 - (i32.load - (get_local $$next$i$i) + (set_local $$next$i$i + (i32.add + (get_local $$sp$0$i$i) + (i32.const 8) + ) ) - ) - (set_local $$cmp3$i$i - (i32.eq - (get_local $$107) - (i32.const 0) + (set_local $$107 + (i32.load + (get_local $$next$i$i) + ) ) - ) - (if - (get_local $$cmp3$i$i) - (block - (set_local $label - (i32.const 173) + (set_local $$cmp3$i$i + (i32.eq + (get_local $$107) + (i32.const 0) ) - (br $label$break$L259) ) - (set_local $$sp$0$i$i - (get_local $$107) + (if + (get_local $$cmp3$i$i) + (block + (set_local $label + (i32.const 173) + ) + (br $label$break$L259) + ) + (set_local $$sp$0$i$i + (get_local $$107) + ) ) + (br $while-in$38) ) - (br $while-in$38) ) (set_local $$112 (i32.load @@ -23263,62 +23371,64 @@ (set_local $$i$01$i$i (i32.const 0) ) - (loop $while-out$77 $while-in$78 - (set_local $$shl$i$i - (i32.shl - (get_local $$i$01$i$i) - (i32.const 1) - ) - ) - (set_local $$arrayidx$i$i - (i32.add - (i32.const 216) + (loop $while-in$78 + (block $while-out$77 + (set_local $$shl$i$i (i32.shl - (get_local $$shl$i$i) - (i32.const 2) + (get_local $$i$01$i$i) + (i32.const 1) ) ) - ) - (set_local $$122 - (i32.add - (get_local $$arrayidx$i$i) - (i32.const 12) + (set_local $$arrayidx$i$i + (i32.add + (i32.const 216) + (i32.shl + (get_local $$shl$i$i) + (i32.const 2) + ) + ) ) - ) - (i32.store - (get_local $$122) - (get_local $$arrayidx$i$i) - ) - (set_local $$123 - (i32.add + (set_local $$122 + (i32.add + (get_local $$arrayidx$i$i) + (i32.const 12) + ) + ) + (i32.store + (get_local $$122) (get_local $$arrayidx$i$i) - (i32.const 8) ) - ) - (i32.store - (get_local $$123) - (get_local $$arrayidx$i$i) - ) - (set_local $$inc$i$i - (i32.add - (get_local $$i$01$i$i) - (i32.const 1) + (set_local $$123 + (i32.add + (get_local $$arrayidx$i$i) + (i32.const 8) + ) + ) + (i32.store + (get_local $$123) + (get_local $$arrayidx$i$i) ) - ) - (set_local $$exitcond$i$i - (i32.eq - (get_local $$inc$i$i) - (i32.const 32) + (set_local $$inc$i$i + (i32.add + (get_local $$i$01$i$i) + (i32.const 1) + ) ) - ) - (if - (get_local $$exitcond$i$i) - (br $while-out$77) - (set_local $$i$01$i$i - (get_local $$inc$i$i) + (set_local $$exitcond$i$i + (i32.eq + (get_local $$inc$i$i) + (i32.const 32) + ) + ) + (if + (get_local $$exitcond$i$i) + (br $while-out$77) + (set_local $$i$01$i$i + (get_local $$inc$i$i) + ) ) + (br $while-in$78) ) - (br $while-in$78) ) (set_local $$sub172$i (i32.add @@ -23432,81 +23542,83 @@ (set_local $$sp$0108$i (i32.const 624) ) - (loop $while-out$46 $while-in$47 - (set_local $$127 - (i32.load - (get_local $$sp$0108$i) - ) - ) - (set_local $$size188$i - (i32.add - (get_local $$sp$0108$i) - (i32.const 4) - ) - ) - (set_local $$128 - (i32.load - (get_local $$size188$i) + (loop $while-in$47 + (block $while-out$46 + (set_local $$127 + (i32.load + (get_local $$sp$0108$i) + ) ) - ) - (set_local $$add$ptr189$i - (i32.add - (get_local $$127) - (get_local $$128) + (set_local $$size188$i + (i32.add + (get_local $$sp$0108$i) + (i32.const 4) + ) ) - ) - (set_local $$cmp190$i - (i32.eq - (get_local $$tbase$796$i) - (get_local $$add$ptr189$i) + (set_local $$128 + (i32.load + (get_local $$size188$i) + ) ) - ) - (if - (get_local $$cmp190$i) - (block - (set_local $$$lcssa + (set_local $$add$ptr189$i + (i32.add (get_local $$127) - ) - (set_local $$$lcssa290 (get_local $$128) ) - (set_local $$size188$i$lcssa - (get_local $$size188$i) - ) - (set_local $$sp$0108$i$lcssa - (get_local $$sp$0108$i) + ) + (set_local $$cmp190$i + (i32.eq + (get_local $$tbase$796$i) + (get_local $$add$ptr189$i) ) - (set_local $label - (i32.const 203) + ) + (if + (get_local $$cmp190$i) + (block + (set_local $$$lcssa + (get_local $$127) + ) + (set_local $$$lcssa290 + (get_local $$128) + ) + (set_local $$size188$i$lcssa + (get_local $$size188$i) + ) + (set_local $$sp$0108$i$lcssa + (get_local $$sp$0108$i) + ) + (set_local $label + (i32.const 203) + ) + (br $while-out$46) ) - (br $while-out$46) ) - ) - (set_local $$next$i - (i32.add - (get_local $$sp$0108$i) - (i32.const 8) + (set_local $$next$i + (i32.add + (get_local $$sp$0108$i) + (i32.const 8) + ) ) - ) - (set_local $$129 - (i32.load - (get_local $$next$i) + (set_local $$129 + (i32.load + (get_local $$next$i) + ) ) - ) - (set_local $$cmp186$i - (i32.eq - (get_local $$129) - (i32.const 0) + (set_local $$cmp186$i + (i32.eq + (get_local $$129) + (i32.const 0) + ) ) - ) - (if - (get_local $$cmp186$i) - (br $while-out$46) - (set_local $$sp$0108$i - (get_local $$129) + (if + (get_local $$cmp186$i) + (br $while-out$46) + (set_local $$sp$0108$i + (get_local $$129) + ) ) + (br $while-in$47) ) - (br $while-in$47) ) (if (i32.eq @@ -23725,63 +23837,65 @@ (set_local $$sp$1107$i (i32.const 624) ) - (loop $while-out$48 $while-in$49 - (set_local $$136 - (i32.load - (get_local $$sp$1107$i) - ) - ) - (set_local $$cmp228$i - (i32.eq - (get_local $$136) - (get_local $$add$ptr227$i) - ) - ) - (if - (get_local $$cmp228$i) - (block - (set_local $$base226$i$lcssa - (get_local $$sp$1107$i) - ) - (set_local $$sp$1107$i$lcssa + (loop $while-in$49 + (block $while-out$48 + (set_local $$136 + (i32.load (get_local $$sp$1107$i) ) - (set_local $label - (i32.const 211) + ) + (set_local $$cmp228$i + (i32.eq + (get_local $$136) + (get_local $$add$ptr227$i) ) - (br $while-out$48) ) - ) - (set_local $$next231$i - (i32.add - (get_local $$sp$1107$i) - (i32.const 8) + (if + (get_local $$cmp228$i) + (block + (set_local $$base226$i$lcssa + (get_local $$sp$1107$i) + ) + (set_local $$sp$1107$i$lcssa + (get_local $$sp$1107$i) + ) + (set_local $label + (i32.const 211) + ) + (br $while-out$48) + ) ) - ) - (set_local $$137 - (i32.load - (get_local $$next231$i) + (set_local $$next231$i + (i32.add + (get_local $$sp$1107$i) + (i32.const 8) + ) ) - ) - (set_local $$cmp224$i - (i32.eq - (get_local $$137) - (i32.const 0) + (set_local $$137 + (i32.load + (get_local $$next231$i) + ) ) - ) - (if - (get_local $$cmp224$i) - (block - (set_local $$sp$0$i$i$i - (i32.const 624) + (set_local $$cmp224$i + (i32.eq + (get_local $$137) + (i32.const 0) ) - (br $while-out$48) ) - (set_local $$sp$1107$i - (get_local $$137) + (if + (get_local $$cmp224$i) + (block + (set_local $$sp$0$i$i$i + (i32.const 624) + ) + (br $while-out$48) + ) + (set_local $$sp$1107$i + (get_local $$137) + ) ) + (br $while-in$49) ) - (br $while-in$49) ) (if (i32.eq @@ -24425,76 +24539,78 @@ ) ) ) - (loop $while-out$55 $while-in$56 - (set_local $$arrayidx103$i$i - (i32.add - (get_local $$R$1$i$i) - (i32.const 20) - ) - ) - (set_local $$161 - (i32.load - (get_local $$arrayidx103$i$i) - ) - ) - (set_local $$cmp104$i$i - (i32.eq - (get_local $$161) - (i32.const 0) - ) - ) - (if - (i32.eqz - (get_local $$cmp104$i$i) - ) - (block - (set_local $$R$1$i$i - (get_local $$161) + (loop $while-in$56 + (block $while-out$55 + (set_local $$arrayidx103$i$i + (i32.add + (get_local $$R$1$i$i) + (i32.const 20) ) - (set_local $$RP$1$i$i + ) + (set_local $$161 + (i32.load (get_local $$arrayidx103$i$i) ) - (br $while-in$56) - ) - ) - (set_local $$arrayidx107$i$i - (i32.add - (get_local $$R$1$i$i) - (i32.const 16) ) - ) - (set_local $$162 - (i32.load - (get_local $$arrayidx107$i$i) + (set_local $$cmp104$i$i + (i32.eq + (get_local $$161) + (i32.const 0) + ) ) - ) - (set_local $$cmp108$i$i - (i32.eq - (get_local $$162) - (i32.const 0) + (if + (i32.eqz + (get_local $$cmp104$i$i) + ) + (block + (set_local $$R$1$i$i + (get_local $$161) + ) + (set_local $$RP$1$i$i + (get_local $$arrayidx103$i$i) + ) + (br $while-in$56) + ) ) - ) - (if - (get_local $$cmp108$i$i) - (block - (set_local $$R$1$i$i$lcssa + (set_local $$arrayidx107$i$i + (i32.add (get_local $$R$1$i$i) + (i32.const 16) ) - (set_local $$RP$1$i$i$lcssa - (get_local $$RP$1$i$i) + ) + (set_local $$162 + (i32.load + (get_local $$arrayidx107$i$i) ) - (br $while-out$55) ) - (block - (set_local $$R$1$i$i + (set_local $$cmp108$i$i + (i32.eq (get_local $$162) + (i32.const 0) ) - (set_local $$RP$1$i$i - (get_local $$arrayidx107$i$i) + ) + (if + (get_local $$cmp108$i$i) + (block + (set_local $$R$1$i$i$lcssa + (get_local $$R$1$i$i) + ) + (set_local $$RP$1$i$i$lcssa + (get_local $$RP$1$i$i) + ) + (br $while-out$55) + ) + (block + (set_local $$R$1$i$i + (get_local $$162) + ) + (set_local $$RP$1$i$i + (get_local $$arrayidx107$i$i) + ) ) ) + (br $while-in$56) ) - (br $while-in$56) ) (set_local $$cmp112$i$i (i32.lt_u @@ -25460,101 +25576,103 @@ (set_local $$T$0$i$58$i (get_local $$178) ) - (loop $while-out$69 $while-in$70 - (set_local $$head317$i$i - (i32.add - (get_local $$T$0$i$58$i) - (i32.const 4) - ) - ) - (set_local $$179 - (i32.load - (get_local $$head317$i$i) + (loop $while-in$70 + (block $while-out$69 + (set_local $$head317$i$i + (i32.add + (get_local $$T$0$i$58$i) + (i32.const 4) + ) ) - ) - (set_local $$and318$i$i - (i32.and - (get_local $$179) - (i32.const -8) + (set_local $$179 + (i32.load + (get_local $$head317$i$i) + ) ) - ) - (set_local $$cmp319$i$i - (i32.eq - (get_local $$and318$i$i) - (get_local $$qsize$0$i$i) + (set_local $$and318$i$i + (i32.and + (get_local $$179) + (i32.const -8) + ) ) - ) - (if - (get_local $$cmp319$i$i) - (block - (set_local $$T$0$i$58$i$lcssa - (get_local $$T$0$i$58$i) + (set_local $$cmp319$i$i + (i32.eq + (get_local $$and318$i$i) + (get_local $$qsize$0$i$i) ) - (set_local $label - (i32.const 281) + ) + (if + (get_local $$cmp319$i$i) + (block + (set_local $$T$0$i$58$i$lcssa + (get_local $$T$0$i$58$i) + ) + (set_local $label + (i32.const 281) + ) + (br $while-out$69) ) - (br $while-out$69) ) - ) - (set_local $$shr322$i$i - (i32.shr_u - (get_local $$K305$0$i$i) - (i32.const 31) + (set_local $$shr322$i$i + (i32.shr_u + (get_local $$K305$0$i$i) + (i32.const 31) + ) ) - ) - (set_local $$arrayidx325$i$i - (i32.add + (set_local $$arrayidx325$i$i (i32.add - (get_local $$T$0$i$58$i) - (i32.const 16) + (i32.add + (get_local $$T$0$i$58$i) + (i32.const 16) + ) + (i32.shl + (get_local $$shr322$i$i) + (i32.const 2) + ) ) + ) + (set_local $$shl326$i$i (i32.shl - (get_local $$shr322$i$i) - (i32.const 2) + (get_local $$K305$0$i$i) + (i32.const 1) ) ) - ) - (set_local $$shl326$i$i - (i32.shl - (get_local $$K305$0$i$i) - (i32.const 1) - ) - ) - (set_local $$180 - (i32.load - (get_local $$arrayidx325$i$i) - ) - ) - (set_local $$cmp327$i$i - (i32.eq - (get_local $$180) - (i32.const 0) - ) - ) - (if - (get_local $$cmp327$i$i) - (block - (set_local $$T$0$i$58$i$lcssa283 - (get_local $$T$0$i$58$i) - ) - (set_local $$arrayidx325$i$i$lcssa + (set_local $$180 + (i32.load (get_local $$arrayidx325$i$i) ) - (set_local $label - (i32.const 278) + ) + (set_local $$cmp327$i$i + (i32.eq + (get_local $$180) + (i32.const 0) ) - (br $while-out$69) ) - (block - (set_local $$K305$0$i$i - (get_local $$shl326$i$i) + (if + (get_local $$cmp327$i$i) + (block + (set_local $$T$0$i$58$i$lcssa283 + (get_local $$T$0$i$58$i) + ) + (set_local $$arrayidx325$i$i$lcssa + (get_local $$arrayidx325$i$i) + ) + (set_local $label + (i32.const 278) + ) + (br $while-out$69) ) - (set_local $$T$0$i$58$i - (get_local $$180) + (block + (set_local $$K305$0$i$i + (get_local $$shl326$i$i) + ) + (set_local $$T$0$i$58$i + (get_local $$180) + ) ) ) + (br $while-in$70) ) - (br $while-in$70) ) (if (i32.eq @@ -25731,72 +25849,74 @@ ) ) ) - (loop $while-out$71 $while-in$72 - (set_local $$185 - (i32.load - (get_local $$sp$0$i$i$i) - ) - ) - (set_local $$cmp$i$i$i - (i32.gt_u - (get_local $$185) - (get_local $$119) + (loop $while-in$72 + (block $while-out$71 + (set_local $$185 + (i32.load + (get_local $$sp$0$i$i$i) + ) ) - ) - (if - (i32.eqz - (get_local $$cmp$i$i$i) + (set_local $$cmp$i$i$i + (i32.gt_u + (get_local $$185) + (get_local $$119) + ) ) - (block - (set_local $$size$i$i$i - (i32.add - (get_local $$sp$0$i$i$i) - (i32.const 4) - ) + (if + (i32.eqz + (get_local $$cmp$i$i$i) ) - (set_local $$186 - (i32.load - (get_local $$size$i$i$i) + (block + (set_local $$size$i$i$i + (i32.add + (get_local $$sp$0$i$i$i) + (i32.const 4) + ) ) - ) - (set_local $$add$ptr$i$i$i - (i32.add - (get_local $$185) - (get_local $$186) + (set_local $$186 + (i32.load + (get_local $$size$i$i$i) + ) ) - ) - (set_local $$cmp2$i$i$i - (i32.gt_u - (get_local $$add$ptr$i$i$i) - (get_local $$119) + (set_local $$add$ptr$i$i$i + (i32.add + (get_local $$185) + (get_local $$186) + ) ) - ) - (if - (get_local $$cmp2$i$i$i) - (block - (set_local $$add$ptr$i$i$i$lcssa + (set_local $$cmp2$i$i$i + (i32.gt_u (get_local $$add$ptr$i$i$i) + (get_local $$119) + ) + ) + (if + (get_local $$cmp2$i$i$i) + (block + (set_local $$add$ptr$i$i$i$lcssa + (get_local $$add$ptr$i$i$i) + ) + (br $while-out$71) ) - (br $while-out$71) ) ) ) - ) - (set_local $$next$i$i$i - (i32.add - (get_local $$sp$0$i$i$i) - (i32.const 8) + (set_local $$next$i$i$i + (i32.add + (get_local $$sp$0$i$i$i) + (i32.const 8) + ) ) - ) - (set_local $$187 - (i32.load - (get_local $$next$i$i$i) + (set_local $$187 + (i32.load + (get_local $$next$i$i$i) + ) ) + (set_local $$sp$0$i$i$i + (get_local $$187) + ) + (br $while-in$72) ) - (set_local $$sp$0$i$i$i - (get_local $$187) - ) - (br $while-in$72) ) (set_local $$add$ptr2$i$i (i32.add @@ -26059,37 +26179,39 @@ (set_local $$p$0$i$i (get_local $$add$ptr15$i$i) ) - (loop $while-out$73 $while-in$74 - (set_local $$add$ptr24$i$i - (i32.add - (get_local $$p$0$i$i) - (i32.const 4) + (loop $while-in$74 + (block $while-out$73 + (set_local $$add$ptr24$i$i + (i32.add + (get_local $$p$0$i$i) + (i32.const 4) + ) ) - ) - (i32.store - (get_local $$add$ptr24$i$i) - (i32.const 7) - ) - (set_local $$193 - (i32.add + (i32.store (get_local $$add$ptr24$i$i) - (i32.const 4) + (i32.const 7) ) - ) - (set_local $$cmp27$i$i - (i32.lt_u - (get_local $$193) - (get_local $$add$ptr$i$i$i$lcssa) + (set_local $$193 + (i32.add + (get_local $$add$ptr24$i$i) + (i32.const 4) + ) ) - ) - (if - (get_local $$cmp27$i$i) - (set_local $$p$0$i$i - (get_local $$add$ptr24$i$i) + (set_local $$cmp27$i$i + (i32.lt_u + (get_local $$193) + (get_local $$add$ptr$i$i$i$lcssa) + ) + ) + (if + (get_local $$cmp27$i$i) + (set_local $$p$0$i$i + (get_local $$add$ptr24$i$i) + ) + (br $while-out$73) ) - (br $while-out$73) + (br $while-in$74) ) - (br $while-in$74) ) (set_local $$cmp28$i$i (i32.eq @@ -26619,101 +26741,103 @@ (set_local $$T$0$i$i (get_local $$200) ) - (loop $while-out$75 $while-in$76 - (set_local $$head118$i$i - (i32.add - (get_local $$T$0$i$i) - (i32.const 4) - ) - ) - (set_local $$201 - (i32.load - (get_local $$head118$i$i) + (loop $while-in$76 + (block $while-out$75 + (set_local $$head118$i$i + (i32.add + (get_local $$T$0$i$i) + (i32.const 4) + ) ) - ) - (set_local $$and119$i$i - (i32.and - (get_local $$201) - (i32.const -8) + (set_local $$201 + (i32.load + (get_local $$head118$i$i) + ) ) - ) - (set_local $$cmp120$i$i - (i32.eq - (get_local $$and119$i$i) - (get_local $$sub$ptr$sub$i$i) + (set_local $$and119$i$i + (i32.and + (get_local $$201) + (i32.const -8) + ) ) - ) - (if - (get_local $$cmp120$i$i) - (block - (set_local $$T$0$i$i$lcssa - (get_local $$T$0$i$i) + (set_local $$cmp120$i$i + (i32.eq + (get_local $$and119$i$i) + (get_local $$sub$ptr$sub$i$i) ) - (set_local $label - (i32.const 307) + ) + (if + (get_local $$cmp120$i$i) + (block + (set_local $$T$0$i$i$lcssa + (get_local $$T$0$i$i) + ) + (set_local $label + (i32.const 307) + ) + (br $while-out$75) ) - (br $while-out$75) ) - ) - (set_local $$shr123$i$i - (i32.shr_u - (get_local $$K105$0$i$i) - (i32.const 31) + (set_local $$shr123$i$i + (i32.shr_u + (get_local $$K105$0$i$i) + (i32.const 31) + ) ) - ) - (set_local $$arrayidx126$i$i - (i32.add + (set_local $$arrayidx126$i$i (i32.add - (get_local $$T$0$i$i) - (i32.const 16) + (i32.add + (get_local $$T$0$i$i) + (i32.const 16) + ) + (i32.shl + (get_local $$shr123$i$i) + (i32.const 2) + ) ) + ) + (set_local $$shl127$i$i (i32.shl - (get_local $$shr123$i$i) - (i32.const 2) + (get_local $$K105$0$i$i) + (i32.const 1) ) ) - ) - (set_local $$shl127$i$i - (i32.shl - (get_local $$K105$0$i$i) - (i32.const 1) - ) - ) - (set_local $$202 - (i32.load - (get_local $$arrayidx126$i$i) - ) - ) - (set_local $$cmp128$i$i - (i32.eq - (get_local $$202) - (i32.const 0) - ) - ) - (if - (get_local $$cmp128$i$i) - (block - (set_local $$T$0$i$i$lcssa284 - (get_local $$T$0$i$i) - ) - (set_local $$arrayidx126$i$i$lcssa + (set_local $$202 + (i32.load (get_local $$arrayidx126$i$i) ) - (set_local $label - (i32.const 304) + ) + (set_local $$cmp128$i$i + (i32.eq + (get_local $$202) + (i32.const 0) ) - (br $while-out$75) ) - (block - (set_local $$K105$0$i$i - (get_local $$shl127$i$i) + (if + (get_local $$cmp128$i$i) + (block + (set_local $$T$0$i$i$lcssa284 + (get_local $$T$0$i$i) + ) + (set_local $$arrayidx126$i$i$lcssa + (get_local $$arrayidx126$i$i) + ) + (set_local $label + (i32.const 304) + ) + (br $while-out$75) ) - (set_local $$T$0$i$i - (get_local $$202) + (block + (set_local $$K105$0$i$i + (get_local $$shl127$i$i) + ) + (set_local $$T$0$i$i + (get_local $$202) + ) ) ) + (br $while-in$76) ) - (br $while-in$76) ) (if (i32.eq @@ -27874,76 +27998,78 @@ ) ) ) - (loop $while-out$4 $while-in$5 - (set_local $$arrayidx108 - (i32.add - (get_local $$R$1) - (i32.const 20) - ) - ) - (set_local $$16 - (i32.load - (get_local $$arrayidx108) - ) - ) - (set_local $$cmp109 - (i32.eq - (get_local $$16) - (i32.const 0) - ) - ) - (if - (i32.eqz - (get_local $$cmp109) - ) - (block - (set_local $$R$1 - (get_local $$16) + (loop $while-in$5 + (block $while-out$4 + (set_local $$arrayidx108 + (i32.add + (get_local $$R$1) + (i32.const 20) ) - (set_local $$RP$1 + ) + (set_local $$16 + (i32.load (get_local $$arrayidx108) ) - (br $while-in$5) - ) - ) - (set_local $$arrayidx113 - (i32.add - (get_local $$R$1) - (i32.const 16) ) - ) - (set_local $$17 - (i32.load - (get_local $$arrayidx113) + (set_local $$cmp109 + (i32.eq + (get_local $$16) + (i32.const 0) + ) ) - ) - (set_local $$cmp114 - (i32.eq - (get_local $$17) - (i32.const 0) + (if + (i32.eqz + (get_local $$cmp109) + ) + (block + (set_local $$R$1 + (get_local $$16) + ) + (set_local $$RP$1 + (get_local $$arrayidx108) + ) + (br $while-in$5) + ) ) - ) - (if - (get_local $$cmp114) - (block - (set_local $$R$1$lcssa + (set_local $$arrayidx113 + (i32.add (get_local $$R$1) + (i32.const 16) ) - (set_local $$RP$1$lcssa - (get_local $$RP$1) + ) + (set_local $$17 + (i32.load + (get_local $$arrayidx113) ) - (br $while-out$4) ) - (block - (set_local $$R$1 + (set_local $$cmp114 + (i32.eq (get_local $$17) + (i32.const 0) ) - (set_local $$RP$1 - (get_local $$arrayidx113) + ) + (if + (get_local $$cmp114) + (block + (set_local $$R$1$lcssa + (get_local $$R$1) + ) + (set_local $$RP$1$lcssa + (get_local $$RP$1) + ) + (br $while-out$4) + ) + (block + (set_local $$R$1 + (get_local $$17) + ) + (set_local $$RP$1 + (get_local $$arrayidx113) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (set_local $$cmp118 (i32.lt_u @@ -28913,77 +29039,79 @@ (get_local $$arrayidx362) ) ) - ) - (loop $while-out$12 $while-in$13 - (set_local $$arrayidx374 - (i32.add - (get_local $$R332$1) - (i32.const 20) - ) - ) - (set_local $$49 - (i32.load - (get_local $$arrayidx374) - ) - ) - (set_local $$cmp375 - (i32.eq - (get_local $$49) - (i32.const 0) - ) - ) - (if - (i32.eqz - (get_local $$cmp375) - ) - (block - (set_local $$R332$1 - (get_local $$49) + ) + (loop $while-in$13 + (block $while-out$12 + (set_local $$arrayidx374 + (i32.add + (get_local $$R332$1) + (i32.const 20) ) - (set_local $$RP360$1 + ) + (set_local $$49 + (i32.load (get_local $$arrayidx374) ) - (br $while-in$13) - ) - ) - (set_local $$arrayidx379 - (i32.add - (get_local $$R332$1) - (i32.const 16) ) - ) - (set_local $$50 - (i32.load - (get_local $$arrayidx379) + (set_local $$cmp375 + (i32.eq + (get_local $$49) + (i32.const 0) + ) ) - ) - (set_local $$cmp380 - (i32.eq - (get_local $$50) - (i32.const 0) + (if + (i32.eqz + (get_local $$cmp375) + ) + (block + (set_local $$R332$1 + (get_local $$49) + ) + (set_local $$RP360$1 + (get_local $$arrayidx374) + ) + (br $while-in$13) + ) ) - ) - (if - (get_local $$cmp380) - (block - (set_local $$R332$1$lcssa + (set_local $$arrayidx379 + (i32.add (get_local $$R332$1) + (i32.const 16) ) - (set_local $$RP360$1$lcssa - (get_local $$RP360$1) + ) + (set_local $$50 + (i32.load + (get_local $$arrayidx379) ) - (br $while-out$12) ) - (block - (set_local $$R332$1 + (set_local $$cmp380 + (i32.eq (get_local $$50) + (i32.const 0) ) - (set_local $$RP360$1 - (get_local $$arrayidx379) + ) + (if + (get_local $$cmp380) + (block + (set_local $$R332$1$lcssa + (get_local $$R332$1) + ) + (set_local $$RP360$1$lcssa + (get_local $$RP360$1) + ) + (br $while-out$12) + ) + (block + (set_local $$R332$1 + (get_local $$50) + ) + (set_local $$RP360$1 + (get_local $$arrayidx379) + ) ) ) + (br $while-in$13) ) - (br $while-in$13) ) (set_local $$51 (i32.load @@ -29972,101 +30100,103 @@ (set_local $$T$0 (get_local $$67) ) - (loop $while-out$18 $while-in$19 - (set_local $$head591 - (i32.add - (get_local $$T$0) - (i32.const 4) - ) - ) - (set_local $$68 - (i32.load - (get_local $$head591) + (loop $while-in$19 + (block $while-out$18 + (set_local $$head591 + (i32.add + (get_local $$T$0) + (i32.const 4) + ) ) - ) - (set_local $$and592 - (i32.and - (get_local $$68) - (i32.const -8) + (set_local $$68 + (i32.load + (get_local $$head591) + ) ) - ) - (set_local $$cmp593 - (i32.eq - (get_local $$and592) - (get_local $$psize$2) + (set_local $$and592 + (i32.and + (get_local $$68) + (i32.const -8) + ) ) - ) - (if - (get_local $$cmp593) - (block - (set_local $$T$0$lcssa - (get_local $$T$0) + (set_local $$cmp593 + (i32.eq + (get_local $$and592) + (get_local $$psize$2) ) - (set_local $label - (i32.const 130) + ) + (if + (get_local $$cmp593) + (block + (set_local $$T$0$lcssa + (get_local $$T$0) + ) + (set_local $label + (i32.const 130) + ) + (br $while-out$18) ) - (br $while-out$18) ) - ) - (set_local $$shr596 - (i32.shr_u - (get_local $$K583$0) - (i32.const 31) + (set_local $$shr596 + (i32.shr_u + (get_local $$K583$0) + (i32.const 31) + ) ) - ) - (set_local $$arrayidx599 - (i32.add + (set_local $$arrayidx599 (i32.add - (get_local $$T$0) - (i32.const 16) + (i32.add + (get_local $$T$0) + (i32.const 16) + ) + (i32.shl + (get_local $$shr596) + (i32.const 2) + ) ) + ) + (set_local $$shl600 (i32.shl - (get_local $$shr596) - (i32.const 2) + (get_local $$K583$0) + (i32.const 1) ) ) - ) - (set_local $$shl600 - (i32.shl - (get_local $$K583$0) - (i32.const 1) - ) - ) - (set_local $$69 - (i32.load - (get_local $$arrayidx599) - ) - ) - (set_local $$cmp601 - (i32.eq - (get_local $$69) - (i32.const 0) - ) - ) - (if - (get_local $$cmp601) - (block - (set_local $$T$0$lcssa319 - (get_local $$T$0) - ) - (set_local $$arrayidx599$lcssa + (set_local $$69 + (i32.load (get_local $$arrayidx599) ) - (set_local $label - (i32.const 127) + ) + (set_local $$cmp601 + (i32.eq + (get_local $$69) + (i32.const 0) ) - (br $while-out$18) ) - (block - (set_local $$K583$0 - (get_local $$shl600) + (if + (get_local $$cmp601) + (block + (set_local $$T$0$lcssa319 + (get_local $$T$0) + ) + (set_local $$arrayidx599$lcssa + (get_local $$arrayidx599) + ) + (set_local $label + (i32.const 127) + ) + (br $while-out$18) ) - (set_local $$T$0 - (get_local $$69) + (block + (set_local $$K583$0 + (get_local $$shl600) + ) + (set_local $$T$0 + (get_local $$69) + ) ) ) + (br $while-in$19) ) - (br $while-in$19) ) (if (i32.eq @@ -30252,32 +30382,34 @@ ) (return) ) - (loop $while-out$20 $while-in$21 - (set_local $$sp$0$i - (i32.load - (get_local $$sp$0$in$i) + (loop $while-in$21 + (block $while-out$20 + (set_local $$sp$0$i + (i32.load + (get_local $$sp$0$in$i) + ) ) - ) - (set_local $$cmp$i - (i32.eq - (get_local $$sp$0$i) - (i32.const 0) + (set_local $$cmp$i + (i32.eq + (get_local $$sp$0$i) + (i32.const 0) + ) ) - ) - (set_local $$next4$i - (i32.add - (get_local $$sp$0$i) - (i32.const 8) + (set_local $$next4$i + (i32.add + (get_local $$sp$0$i) + (i32.const 8) + ) ) - ) - (if - (get_local $$cmp$i) - (br $while-out$20) - (set_local $$sp$0$in$i - (get_local $$next4$i) + (if + (get_local $$cmp$i) + (br $while-out$20) + (set_local $$sp$0$in$i + (get_local $$next4$i) + ) ) + (br $while-in$21) ) - (br $while-in$21) ) (i32.store (i32.const 208) @@ -30427,81 +30559,87 @@ (get_local $unaligned) ) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.lt_s - (get_local $ptr) - (get_local $unaligned) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eqz + (i32.lt_s + (get_local $ptr) + (get_local $unaligned) + ) ) + (br $while-out$0) ) - (br $while-out$0) - ) - (block - (i32.store8 - (get_local $ptr) - (get_local $value) - ) - (set_local $ptr - (i32.add + (block + (i32.store8 (get_local $ptr) - (i32.const 1) + (get_local $value) + ) + (set_local $ptr + (i32.add + (get_local $ptr) + (i32.const 1) + ) ) ) + (br $while-in$1) ) - (br $while-in$1) ) ) ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (i32.lt_s - (get_local $ptr) - (get_local $stop4) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (i32.lt_s + (get_local $ptr) + (get_local $stop4) + ) ) + (br $while-out$2) ) - (br $while-out$2) - ) - (block - (i32.store - (get_local $ptr) - (get_local $value4) - ) - (set_local $ptr - (i32.add + (block + (i32.store (get_local $ptr) - (i32.const 4) + (get_local $value4) + ) + (set_local $ptr + (i32.add + (get_local $ptr) + (i32.const 4) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (if - (i32.eqz - (i32.lt_s - (get_local $ptr) - (get_local $stop) + (loop $while-in$5 + (block $while-out$4 + (if + (i32.eqz + (i32.lt_s + (get_local $ptr) + (get_local $stop) + ) ) + (br $while-out$4) ) - (br $while-out$4) - ) - (block - (i32.store8 - (get_local $ptr) - (get_local $value) - ) - (set_local $ptr - (i32.add + (block + (i32.store8 (get_local $ptr) - (i32.const 1) + (get_local $value) + ) + (set_local $ptr + (i32.add + (get_local $ptr) + (i32.const 1) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (return (i32.sub @@ -30662,130 +30800,136 @@ ) ) (block - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.and - (get_local $dest) - (i32.const 3) - ) - ) - (br $while-out$0) - ) - (block + (loop $while-in$1 + (block $while-out$0 (if - (i32.eq - (get_local $num) - (i32.const 0) - ) - (return - (get_local $ret) + (i32.eqz + (i32.and + (get_local $dest) + (i32.const 3) + ) ) + (br $while-out$0) ) - (i32.store8 - (get_local $dest) - (i32.load8_s - (get_local $src) + (block + (if + (i32.eq + (get_local $num) + (i32.const 0) + ) + (return + (get_local $ret) + ) ) - ) - (set_local $dest - (i32.add + (i32.store8 (get_local $dest) - (i32.const 1) + (i32.load8_s + (get_local $src) + ) ) - ) - (set_local $src - (i32.add - (get_local $src) - (i32.const 1) + (set_local $dest + (i32.add + (get_local $dest) + (i32.const 1) + ) ) - ) - (set_local $num - (i32.sub - (get_local $num) - (i32.const 1) + (set_local $src + (i32.add + (get_local $src) + (i32.const 1) + ) ) - ) - ) - (br $while-in$1) - ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (i32.ge_s - (get_local $num) - (i32.const 4) + (set_local $num + (i32.sub + (get_local $num) + (i32.const 1) + ) ) ) - (br $while-out$2) + (br $while-in$1) ) - (block - (i32.store - (get_local $dest) - (i32.load - (get_local $src) + ) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (i32.ge_s + (get_local $num) + (i32.const 4) + ) ) + (br $while-out$2) ) - (set_local $dest - (i32.add + (block + (i32.store (get_local $dest) - (i32.const 4) + (i32.load + (get_local $src) + ) ) - ) - (set_local $src - (i32.add - (get_local $src) - (i32.const 4) + (set_local $dest + (i32.add + (get_local $dest) + (i32.const 4) + ) ) - ) - (set_local $num - (i32.sub - (get_local $num) - (i32.const 4) + (set_local $src + (i32.add + (get_local $src) + (i32.const 4) + ) + ) + (set_local $num + (i32.sub + (get_local $num) + (i32.const 4) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (if - (i32.eqz - (i32.gt_s - (get_local $num) - (i32.const 0) - ) - ) - (br $while-out$4) - ) - (block - (i32.store8 - (get_local $dest) - (i32.load8_s - (get_local $src) + (loop $while-in$5 + (block $while-out$4 + (if + (i32.eqz + (i32.gt_s + (get_local $num) + (i32.const 0) + ) ) + (br $while-out$4) ) - (set_local $dest - (i32.add + (block + (i32.store8 (get_local $dest) - (i32.const 1) + (i32.load8_s + (get_local $src) + ) ) - ) - (set_local $src - (i32.add - (get_local $src) - (i32.const 1) + (set_local $dest + (i32.add + (get_local $dest) + (i32.const 1) + ) ) - ) - (set_local $num - (i32.sub - (get_local $num) - (i32.const 1) + (set_local $src + (i32.add + (get_local $src) + (i32.const 1) + ) + ) + (set_local $num + (i32.sub + (get_local $num) + (i32.const 1) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (return (get_local $ret) @@ -32433,172 +32577,174 @@ (set_local $$carry_0203 (i32.const 0) ) - (loop $while-out$2 $while-in$3 - (set_local $$147 - (i32.or - (i32.shr_u - (get_local $$q_sroa_0_1199) - (i32.const 31) - ) - (i32.shl - (get_local $$q_sroa_1_1198) - (i32.const 1) - ) - ) - ) - (set_local $$149 - (i32.or - (get_local $$carry_0203) - (i32.shl - (get_local $$q_sroa_0_1199) - (i32.const 1) + (loop $while-in$3 + (block $while-out$2 + (set_local $$147 + (i32.or + (i32.shr_u + (get_local $$q_sroa_0_1199) + (i32.const 31) + ) + (i32.shl + (get_local $$q_sroa_1_1198) + (i32.const 1) + ) ) ) - ) - (set_local $$r_sroa_0_0_insert_insert42$0 - (i32.or - (i32.const 0) + (set_local $$149 (i32.or + (get_local $$carry_0203) (i32.shl - (get_local $$r_sroa_0_1201) + (get_local $$q_sroa_0_1199) (i32.const 1) ) + ) + ) + (set_local $$r_sroa_0_0_insert_insert42$0 + (i32.or + (i32.const 0) + (i32.or + (i32.shl + (get_local $$r_sroa_0_1201) + (i32.const 1) + ) + (i32.shr_u + (get_local $$q_sroa_1_1198) + (i32.const 31) + ) + ) + ) + ) + (set_local $$r_sroa_0_0_insert_insert42$1 + (i32.or (i32.shr_u - (get_local $$q_sroa_1_1198) + (get_local $$r_sroa_0_1201) (i32.const 31) ) + (i32.shl + (get_local $$r_sroa_1_1200) + (i32.const 1) + ) ) ) - ) - (set_local $$r_sroa_0_0_insert_insert42$1 - (i32.or - (i32.shr_u - (get_local $$r_sroa_0_1201) - (i32.const 31) - ) - (i32.shl - (get_local $$r_sroa_1_1200) - (i32.const 1) + (drop + (call $_i64Subtract + (get_local $$137$0) + (get_local $$137$1) + (get_local $$r_sroa_0_0_insert_insert42$0) + (get_local $$r_sroa_0_0_insert_insert42$1) ) ) - ) - (drop - (call $_i64Subtract - (get_local $$137$0) - (get_local $$137$1) - (get_local $$r_sroa_0_0_insert_insert42$0) - (get_local $$r_sroa_0_0_insert_insert42$1) - ) - ) - (set_local $$150$1 - (i32.load - (i32.const 168) - ) - ) - (set_local $$151$0 - (i32.or - (i32.shr_s - (get_local $$150$1) - (i32.const 31) + (set_local $$150$1 + (i32.load + (i32.const 168) ) - (i32.shl - (if - (i32.lt_s - (get_local $$150$1) + ) + (set_local $$151$0 + (i32.or + (i32.shr_s + (get_local $$150$1) + (i32.const 31) + ) + (i32.shl + (if + (i32.lt_s + (get_local $$150$1) + (i32.const 0) + ) + (i32.const -1) (i32.const 0) ) - (i32.const -1) - (i32.const 0) + (i32.const 1) ) - (i32.const 1) ) ) - ) - (set_local $$152 - (i32.and - (get_local $$151$0) - (i32.const 1) - ) - ) - (set_local $$154$0 - (call $_i64Subtract - (get_local $$r_sroa_0_0_insert_insert42$0) - (get_local $$r_sroa_0_0_insert_insert42$1) + (set_local $$152 (i32.and (get_local $$151$0) - (get_local $$d_sroa_0_0_insert_insert99$0) + (i32.const 1) ) - (i32.and - (i32.or - (i32.shr_s - (if - (i32.lt_s - (get_local $$150$1) + ) + (set_local $$154$0 + (call $_i64Subtract + (get_local $$r_sroa_0_0_insert_insert42$0) + (get_local $$r_sroa_0_0_insert_insert42$1) + (i32.and + (get_local $$151$0) + (get_local $$d_sroa_0_0_insert_insert99$0) + ) + (i32.and + (i32.or + (i32.shr_s + (if + (i32.lt_s + (get_local $$150$1) + (i32.const 0) + ) + (i32.const -1) (i32.const 0) ) - (i32.const -1) - (i32.const 0) + (i32.const 31) ) - (i32.const 31) - ) - (i32.shl - (if - (i32.lt_s - (get_local $$150$1) + (i32.shl + (if + (i32.lt_s + (get_local $$150$1) + (i32.const 0) + ) + (i32.const -1) (i32.const 0) ) - (i32.const -1) - (i32.const 0) + (i32.const 1) ) - (i32.const 1) ) + (get_local $$d_sroa_0_0_insert_insert99$1) ) - (get_local $$d_sroa_0_0_insert_insert99$1) ) ) - ) - (set_local $$r_sroa_0_0_extract_trunc - (get_local $$154$0) - ) - (set_local $$r_sroa_1_4_extract_trunc - (i32.load - (i32.const 168) - ) - ) - (set_local $$155 - (i32.sub - (get_local $$sr_1202) - (i32.const 1) - ) - ) - (if - (i32.eq - (get_local $$155) - (i32.const 0) + (set_local $$r_sroa_0_0_extract_trunc + (get_local $$154$0) ) - (br $while-out$2) - (block - (set_local $$q_sroa_1_1198 - (get_local $$147) - ) - (set_local $$q_sroa_0_1199 - (get_local $$149) - ) - (set_local $$r_sroa_1_1200 - (get_local $$r_sroa_1_4_extract_trunc) + (set_local $$r_sroa_1_4_extract_trunc + (i32.load + (i32.const 168) ) - (set_local $$r_sroa_0_1201 - (get_local $$r_sroa_0_0_extract_trunc) + ) + (set_local $$155 + (i32.sub + (get_local $$sr_1202) + (i32.const 1) ) - (set_local $$sr_1202 + ) + (if + (i32.eq (get_local $$155) + (i32.const 0) ) - (set_local $$carry_0203 - (get_local $$152) + (br $while-out$2) + (block + (set_local $$q_sroa_1_1198 + (get_local $$147) + ) + (set_local $$q_sroa_0_1199 + (get_local $$149) + ) + (set_local $$r_sroa_1_1200 + (get_local $$r_sroa_1_4_extract_trunc) + ) + (set_local $$r_sroa_0_1201 + (get_local $$r_sroa_0_0_extract_trunc) + ) + (set_local $$sr_1202 + (get_local $$155) + ) + (set_local $$carry_0203 + (get_local $$152) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) (set_local $$q_sroa_1_1_lcssa (get_local $$147) diff --git a/test/emcc_hello_world.fromasm.no-opts b/test/emcc_hello_world.fromasm.no-opts index 414971404..53111ec31 100644 --- a/test/emcc_hello_world.fromasm.no-opts +++ b/test/emcc_hello_world.fromasm.no-opts @@ -614,73 +614,75 @@ (set_local $$i$012 (i32.const 0) ) - (loop $while-out$0 $while-in$1 - (set_local $$arrayidx - (i32.add - (i32.const 687) - (get_local $$i$012) - ) - ) - (set_local $$0 - (i32.load8_s - (get_local $$arrayidx) - ) - ) - (set_local $$conv - (i32.and - (get_local $$0) - (i32.const 255) + (loop $while-in$1 + (block $while-out$0 + (set_local $$arrayidx + (i32.add + (i32.const 687) + (get_local $$i$012) + ) ) - ) - (set_local $$cmp - (i32.eq - (get_local $$conv) - (get_local $$e) + (set_local $$0 + (i32.load8_s + (get_local $$arrayidx) + ) ) - ) - (if - (get_local $$cmp) - (block - (set_local $$i$012$lcssa - (get_local $$i$012) + (set_local $$conv + (i32.and + (get_local $$0) + (i32.const 255) ) - (set_local $label - (i32.const 2) + ) + (set_local $$cmp + (i32.eq + (get_local $$conv) + (get_local $$e) ) - (br $while-out$0) ) - ) - (set_local $$inc - (i32.add - (get_local $$i$012) - (i32.const 1) + (if + (get_local $$cmp) + (block + (set_local $$i$012$lcssa + (get_local $$i$012) + ) + (set_local $label + (i32.const 2) + ) + (br $while-out$0) + ) ) - ) - (set_local $$tobool - (i32.eq - (get_local $$inc) - (i32.const 87) + (set_local $$inc + (i32.add + (get_local $$i$012) + (i32.const 1) + ) ) - ) - (if - (get_local $$tobool) - (block - (set_local $$i$111 + (set_local $$tobool + (i32.eq + (get_local $$inc) (i32.const 87) ) - (set_local $$s$010 - (i32.const 775) + ) + (if + (get_local $$tobool) + (block + (set_local $$i$111 + (i32.const 87) + ) + (set_local $$s$010 + (i32.const 775) + ) + (set_local $label + (i32.const 5) + ) + (br $while-out$0) ) - (set_local $label - (i32.const 5) + (set_local $$i$012 + (get_local $$inc) ) - (br $while-out$0) - ) - (set_local $$i$012 - (get_local $$inc) ) + (br $while-in$1) ) - (br $while-in$1) ) (if (i32.eq @@ -718,84 +720,88 @@ (get_local $label) (i32.const 5) ) - (loop $while-out$2 $while-in$3 - (set_local $label - (i32.const 0) - ) - (set_local $$s$1 - (get_local $$s$010) - ) - (loop $while-out$4 $while-in$5 - (set_local $$1 - (i32.load8_s - (get_local $$s$1) - ) + (loop $while-in$3 + (block $while-out$2 + (set_local $label + (i32.const 0) ) - (set_local $$tobool8 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$1) - (i32.const 24) + (set_local $$s$1 + (get_local $$s$010) + ) + (loop $while-in$5 + (block $while-out$4 + (set_local $$1 + (i32.load8_s + (get_local $$s$1) ) - (i32.const 24) ) - (i32.const 0) + (set_local $$tobool8 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$1) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const 0) + ) + ) + (set_local $$incdec$ptr + (i32.add + (get_local $$s$1) + (i32.const 1) + ) + ) + (if + (get_local $$tobool8) + (block + (set_local $$incdec$ptr$lcssa + (get_local $$incdec$ptr) + ) + (br $while-out$4) + ) + (set_local $$s$1 + (get_local $$incdec$ptr) + ) + ) + (br $while-in$5) ) ) - (set_local $$incdec$ptr + (set_local $$dec (i32.add - (get_local $$s$1) - (i32.const 1) + (get_local $$i$111) + (i32.const -1) + ) + ) + (set_local $$tobool5 + (i32.eq + (get_local $$dec) + (i32.const 0) ) ) (if - (get_local $$tobool8) + (get_local $$tobool5) (block - (set_local $$incdec$ptr$lcssa - (get_local $$incdec$ptr) + (set_local $$s$0$lcssa + (get_local $$incdec$ptr$lcssa) ) - (br $while-out$4) - ) - (set_local $$s$1 - (get_local $$incdec$ptr) - ) - ) - (br $while-in$5) - ) - (set_local $$dec - (i32.add - (get_local $$i$111) - (i32.const -1) - ) - ) - (set_local $$tobool5 - (i32.eq - (get_local $$dec) - (i32.const 0) - ) - ) - (if - (get_local $$tobool5) - (block - (set_local $$s$0$lcssa - (get_local $$incdec$ptr$lcssa) - ) - (br $while-out$2) - ) - (block - (set_local $$i$111 - (get_local $$dec) - ) - (set_local $$s$010 - (get_local $$incdec$ptr$lcssa) + (br $while-out$2) ) - (set_local $label - (i32.const 5) + (block + (set_local $$i$111 + (get_local $$dec) + ) + (set_local $$s$010 + (get_local $$incdec$ptr$lcssa) + ) + (set_local $label + (i32.const 5) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) (return @@ -1352,139 +1358,141 @@ (set_local $$r$021 (get_local $$cond10) ) - (loop $while-out$2 $while-in$3 - (set_local $$lock13 - (i32.add - (get_local $$f$addr$022) - (i32.const 76) + (loop $while-in$3 + (block $while-out$2 + (set_local $$lock13 + (i32.add + (get_local $$f$addr$022) + (i32.const 76) + ) ) - ) - (set_local $$3 - (i32.load - (get_local $$lock13) + (set_local $$3 + (i32.load + (get_local $$lock13) + ) ) - ) - (set_local $$cmp14 - (i32.gt_s - (get_local $$3) - (i32.const -1) + (set_local $$cmp14 + (i32.gt_s + (get_local $$3) + (i32.const -1) + ) ) - ) - (if - (get_local $$cmp14) - (block - (set_local $$call16 - (call $___lockfile - (get_local $$f$addr$022) + (if + (get_local $$cmp14) + (block + (set_local $$call16 + (call $___lockfile + (get_local $$f$addr$022) + ) + ) + (set_local $$cond19 + (get_local $$call16) ) ) (set_local $$cond19 - (get_local $$call16) + (i32.const 0) ) ) - (set_local $$cond19 - (i32.const 0) - ) - ) - (set_local $$wpos - (i32.add - (get_local $$f$addr$022) - (i32.const 20) + (set_local $$wpos + (i32.add + (get_local $$f$addr$022) + (i32.const 20) + ) ) - ) - (set_local $$4 - (i32.load - (get_local $$wpos) + (set_local $$4 + (i32.load + (get_local $$wpos) + ) ) - ) - (set_local $$wbase - (i32.add - (get_local $$f$addr$022) - (i32.const 28) + (set_local $$wbase + (i32.add + (get_local $$f$addr$022) + (i32.const 28) + ) ) - ) - (set_local $$5 - (i32.load - (get_local $$wbase) + (set_local $$5 + (i32.load + (get_local $$wbase) + ) ) - ) - (set_local $$cmp20 - (i32.gt_u - (get_local $$4) - (get_local $$5) + (set_local $$cmp20 + (i32.gt_u + (get_local $$4) + (get_local $$5) + ) ) - ) - (if - (get_local $$cmp20) - (block - (set_local $$call22 - (call $___fflush_unlocked - (get_local $$f$addr$022) + (if + (get_local $$cmp20) + (block + (set_local $$call22 + (call $___fflush_unlocked + (get_local $$f$addr$022) + ) ) - ) - (set_local $$or - (i32.or - (get_local $$call22) - (get_local $$r$021) + (set_local $$or + (i32.or + (get_local $$call22) + (get_local $$r$021) + ) + ) + (set_local $$r$1 + (get_local $$or) ) ) (set_local $$r$1 - (get_local $$or) + (get_local $$r$021) ) ) - (set_local $$r$1 - (get_local $$r$021) - ) - ) - (set_local $$tobool24 - (i32.eq - (get_local $$cond19) - (i32.const 0) - ) - ) - (if - (i32.eqz - (get_local $$tobool24) - ) - (call $___unlockfile - (get_local $$f$addr$022) - ) - ) - (set_local $$next - (i32.add - (get_local $$f$addr$022) - (i32.const 56) + (set_local $$tobool24 + (i32.eq + (get_local $$cond19) + (i32.const 0) + ) ) - ) - (set_local $$f$addr$0 - (i32.load - (get_local $$next) + (if + (i32.eqz + (get_local $$tobool24) + ) + (call $___unlockfile + (get_local $$f$addr$022) + ) ) - ) - (set_local $$tobool11 - (i32.eq - (get_local $$f$addr$0) - (i32.const 0) + (set_local $$next + (i32.add + (get_local $$f$addr$022) + (i32.const 56) + ) ) - ) - (if - (get_local $$tobool11) - (block - (set_local $$r$0$lcssa - (get_local $$r$1) + (set_local $$f$addr$0 + (i32.load + (get_local $$next) ) - (br $while-out$2) ) - (block - (set_local $$f$addr$022 + (set_local $$tobool11 + (i32.eq (get_local $$f$addr$0) + (i32.const 0) + ) + ) + (if + (get_local $$tobool11) + (block + (set_local $$r$0$lcssa + (get_local $$r$1) + ) + (br $while-out$2) ) - (set_local $$r$021 - (get_local $$r$1) + (block + (set_local $$f$addr$022 + (get_local $$f$addr$0) + ) + (set_local $$r$021 + (get_local $$r$1) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) @@ -1847,331 +1855,333 @@ (set_local $$rem$0 (get_local $$add) ) - (loop $while-out$0 $while-in$1 - (set_local $$2 - (i32.load - (i32.const 16) + (loop $while-in$1 + (block $while-out$0 + (set_local $$2 + (i32.load + (i32.const 16) + ) ) - ) - (set_local $$tobool - (i32.eq - (get_local $$2) - (i32.const 0) + (set_local $$tobool + (i32.eq + (get_local $$2) + (i32.const 0) + ) ) - ) - (if - (get_local $$tobool) - (block - (set_local $$4 - (i32.load - (get_local $$fd8) + (if + (get_local $$tobool) + (block + (set_local $$4 + (i32.load + (get_local $$fd8) + ) ) - ) - (i32.store - (get_local $$vararg_buffer3) - (get_local $$4) - ) - (set_local $$vararg_ptr6 - (i32.add + (i32.store (get_local $$vararg_buffer3) - (i32.const 4) + (get_local $$4) ) - ) - (i32.store - (get_local $$vararg_ptr6) - (get_local $$iov$0) - ) - (set_local $$vararg_ptr7 - (i32.add - (get_local $$vararg_buffer3) - (i32.const 8) + (set_local $$vararg_ptr6 + (i32.add + (get_local $$vararg_buffer3) + (i32.const 4) + ) ) - ) - (i32.store - (get_local $$vararg_ptr7) - (get_local $$iovcnt$0) - ) - (set_local $$call9 - (call_import $___syscall146 - (i32.const 146) - (get_local $$vararg_buffer3) + (i32.store + (get_local $$vararg_ptr6) + (get_local $$iov$0) ) - ) - (set_local $$call10 - (call $___syscall_ret - (get_local $$call9) + (set_local $$vararg_ptr7 + (i32.add + (get_local $$vararg_buffer3) + (i32.const 8) + ) ) - ) - (set_local $$cnt$0 - (get_local $$call10) - ) - ) - (block - (call_import $_pthread_cleanup_push - (i32.const 5) - (get_local $$f) - ) - (set_local $$3 - (i32.load - (get_local $$fd8) + (i32.store + (get_local $$vararg_ptr7) + (get_local $$iovcnt$0) ) - ) - (i32.store - (get_local $$vararg_buffer) - (get_local $$3) - ) - (set_local $$vararg_ptr1 - (i32.add - (get_local $$vararg_buffer) - (i32.const 4) + (set_local $$call9 + (call_import $___syscall146 + (i32.const 146) + (get_local $$vararg_buffer3) + ) ) - ) - (i32.store - (get_local $$vararg_ptr1) - (get_local $$iov$0) - ) - (set_local $$vararg_ptr2 - (i32.add - (get_local $$vararg_buffer) - (i32.const 8) + (set_local $$call10 + (call $___syscall_ret + (get_local $$call9) + ) + ) + (set_local $$cnt$0 + (get_local $$call10) ) ) - (i32.store - (get_local $$vararg_ptr2) - (get_local $$iovcnt$0) - ) - (set_local $$call - (call_import $___syscall146 - (i32.const 146) + (block + (call_import $_pthread_cleanup_push + (i32.const 5) + (get_local $$f) + ) + (set_local $$3 + (i32.load + (get_local $$fd8) + ) + ) + (i32.store (get_local $$vararg_buffer) + (get_local $$3) ) - ) - (set_local $$call7 - (call $___syscall_ret - (get_local $$call) + (set_local $$vararg_ptr1 + (i32.add + (get_local $$vararg_buffer) + (i32.const 4) + ) + ) + (i32.store + (get_local $$vararg_ptr1) + (get_local $$iov$0) + ) + (set_local $$vararg_ptr2 + (i32.add + (get_local $$vararg_buffer) + (i32.const 8) + ) + ) + (i32.store + (get_local $$vararg_ptr2) + (get_local $$iovcnt$0) + ) + (set_local $$call + (call_import $___syscall146 + (i32.const 146) + (get_local $$vararg_buffer) + ) + ) + (set_local $$call7 + (call $___syscall_ret + (get_local $$call) + ) + ) + (call_import $_pthread_cleanup_pop + (i32.const 0) + ) + (set_local $$cnt$0 + (get_local $$call7) ) ) - (call_import $_pthread_cleanup_pop - (i32.const 0) - ) - (set_local $$cnt$0 - (get_local $$call7) - ) - ) - ) - (set_local $$cmp - (i32.eq - (get_local $$rem$0) - (get_local $$cnt$0) - ) - ) - (if - (get_local $$cmp) - (block - (set_local $label - (i32.const 6) - ) - (br $while-out$0) - ) - ) - (set_local $$cmp17 - (i32.lt_s - (get_local $$cnt$0) - (i32.const 0) ) - ) - (if - (get_local $$cmp17) - (block - (set_local $$iov$0$lcssa57 - (get_local $$iov$0) - ) - (set_local $$iovcnt$0$lcssa58 - (get_local $$iovcnt$0) - ) - (set_local $label - (i32.const 8) + (set_local $$cmp + (i32.eq + (get_local $$rem$0) + (get_local $$cnt$0) ) - (br $while-out$0) - ) - ) - (set_local $$sub26 - (i32.sub - (get_local $$rem$0) - (get_local $$cnt$0) - ) - ) - (set_local $$iov_len28 - (i32.add - (get_local $$iov$0) - (i32.const 4) - ) - ) - (set_local $$10 - (i32.load - (get_local $$iov_len28) - ) - ) - (set_local $$cmp29 - (i32.gt_u - (get_local $$cnt$0) - (get_local $$10) ) - ) - (if - (get_local $$cmp29) - (block - (set_local $$11 - (i32.load - (get_local $$buf31) + (if + (get_local $$cmp) + (block + (set_local $label + (i32.const 6) ) + (br $while-out$0) ) - (i32.store - (get_local $$wbase) - (get_local $$11) - ) - (i32.store - (get_local $$wpos) - (get_local $$11) - ) - (set_local $$sub36 - (i32.sub - (get_local $$cnt$0) - (get_local $$10) - ) + ) + (set_local $$cmp17 + (i32.lt_s + (get_local $$cnt$0) + (i32.const 0) ) - (set_local $$incdec$ptr - (i32.add + ) + (if + (get_local $$cmp17) + (block + (set_local $$iov$0$lcssa57 (get_local $$iov$0) - (i32.const 8) ) - ) - (set_local $$dec - (i32.add + (set_local $$iovcnt$0$lcssa58 (get_local $$iovcnt$0) - (i32.const -1) - ) - ) - (set_local $$iov_len50$phi$trans$insert - (i32.add - (get_local $$iov$0) - (i32.const 12) ) - ) - (set_local $$$pre - (i32.load - (get_local $$iov_len50$phi$trans$insert) + (set_local $label + (i32.const 8) ) + (br $while-out$0) ) - (set_local $$14 - (get_local $$$pre) - ) - (set_local $$cnt$1 - (get_local $$sub36) + ) + (set_local $$sub26 + (i32.sub + (get_local $$rem$0) + (get_local $$cnt$0) ) - (set_local $$iov$1 - (get_local $$incdec$ptr) + ) + (set_local $$iov_len28 + (i32.add + (get_local $$iov$0) + (i32.const 4) ) - (set_local $$iovcnt$1 - (get_local $$dec) + ) + (set_local $$10 + (i32.load + (get_local $$iov_len28) ) ) - (block - (set_local $$cmp38 - (i32.eq - (get_local $$iovcnt$0) - (i32.const 2) - ) + (set_local $$cmp29 + (i32.gt_u + (get_local $$cnt$0) + (get_local $$10) ) - (if - (get_local $$cmp38) - (block - (set_local $$12 - (i32.load - (get_local $$wbase) - ) - ) - (set_local $$add$ptr41 - (i32.add - (get_local $$12) - (get_local $$cnt$0) - ) - ) - (i32.store - (get_local $$wbase) - (get_local $$add$ptr41) - ) - (set_local $$14 - (get_local $$10) + ) + (if + (get_local $$cmp29) + (block + (set_local $$11 + (i32.load + (get_local $$buf31) ) - (set_local $$cnt$1 + ) + (i32.store + (get_local $$wbase) + (get_local $$11) + ) + (i32.store + (get_local $$wpos) + (get_local $$11) + ) + (set_local $$sub36 + (i32.sub (get_local $$cnt$0) + (get_local $$10) ) - (set_local $$iov$1 + ) + (set_local $$incdec$ptr + (i32.add (get_local $$iov$0) - ) - (set_local $$iovcnt$1 - (i32.const 2) + (i32.const 8) ) ) - (block - (set_local $$14 - (get_local $$10) - ) - (set_local $$cnt$1 - (get_local $$cnt$0) + (set_local $$dec + (i32.add + (get_local $$iovcnt$0) + (i32.const -1) ) - (set_local $$iov$1 + ) + (set_local $$iov_len50$phi$trans$insert + (i32.add (get_local $$iov$0) + (i32.const 12) + ) + ) + (set_local $$$pre + (i32.load + (get_local $$iov_len50$phi$trans$insert) ) - (set_local $$iovcnt$1 + ) + (set_local $$14 + (get_local $$$pre) + ) + (set_local $$cnt$1 + (get_local $$sub36) + ) + (set_local $$iov$1 + (get_local $$incdec$ptr) + ) + (set_local $$iovcnt$1 + (get_local $$dec) + ) + ) + (block + (set_local $$cmp38 + (i32.eq (get_local $$iovcnt$0) + (i32.const 2) + ) + ) + (if + (get_local $$cmp38) + (block + (set_local $$12 + (i32.load + (get_local $$wbase) + ) + ) + (set_local $$add$ptr41 + (i32.add + (get_local $$12) + (get_local $$cnt$0) + ) + ) + (i32.store + (get_local $$wbase) + (get_local $$add$ptr41) + ) + (set_local $$14 + (get_local $$10) + ) + (set_local $$cnt$1 + (get_local $$cnt$0) + ) + (set_local $$iov$1 + (get_local $$iov$0) + ) + (set_local $$iovcnt$1 + (i32.const 2) + ) + ) + (block + (set_local $$14 + (get_local $$10) + ) + (set_local $$cnt$1 + (get_local $$cnt$0) + ) + (set_local $$iov$1 + (get_local $$iov$0) + ) + (set_local $$iovcnt$1 + (get_local $$iovcnt$0) + ) ) ) ) ) - ) - (set_local $$13 - (i32.load + (set_local $$13 + (i32.load + (get_local $$iov$1) + ) + ) + (set_local $$add$ptr46 + (i32.add + (get_local $$13) + (get_local $$cnt$1) + ) + ) + (i32.store (get_local $$iov$1) + (get_local $$add$ptr46) ) - ) - (set_local $$add$ptr46 - (i32.add - (get_local $$13) - (get_local $$cnt$1) + (set_local $$iov_len50 + (i32.add + (get_local $$iov$1) + (i32.const 4) + ) ) - ) - (i32.store - (get_local $$iov$1) - (get_local $$add$ptr46) - ) - (set_local $$iov_len50 - (i32.add + (set_local $$sub51 + (i32.sub + (get_local $$14) + (get_local $$cnt$1) + ) + ) + (i32.store + (get_local $$iov_len50) + (get_local $$sub51) + ) + (set_local $$iov$0 (get_local $$iov$1) - (i32.const 4) ) - ) - (set_local $$sub51 - (i32.sub - (get_local $$14) - (get_local $$cnt$1) + (set_local $$iovcnt$0 + (get_local $$iovcnt$1) ) + (set_local $$rem$0 + (get_local $$sub26) + ) + (br $while-in$1) ) - (i32.store - (get_local $$iov_len50) - (get_local $$sub51) - ) - (set_local $$iov$0 - (get_local $$iov$1) - ) - (set_local $$iovcnt$0 - (get_local $$iovcnt$1) - ) - (set_local $$rem$0 - (get_local $$sub26) - ) - (br $while-in$1) ) (if (i32.eq @@ -2413,21 +2423,23 @@ (i32.const 40) ) ) - (loop $do-out$0 $do-in$1 - (i32.store - (get_local $dest) - (i32.const 0) - ) - (set_local $dest - (i32.add + (loop $do-in$1 + (block $do-out$0 + (i32.store (get_local $dest) - (i32.const 4) + (i32.const 0) ) - ) - (br_if $do-in$1 - (i32.lt_s - (get_local $dest) - (get_local $stop) + (set_local $dest + (i32.add + (get_local $dest) + (i32.const 4) + ) + ) + (br_if $do-in$1 + (i32.lt_s + (get_local $dest) + (get_local $stop) + ) ) ) ) @@ -2993,73 +3005,75 @@ (set_local $$i$0 (get_local $$l) ) - (loop $while-out$2 $while-in$3 - (set_local $$tobool9 - (i32.eq - (get_local $$i$0) - (i32.const 0) - ) - ) - (if - (get_local $$tobool9) - (block - (set_local $$9 - (get_local $$4) - ) - (set_local $$i$1 + (loop $while-in$3 + (block $while-out$2 + (set_local $$tobool9 + (i32.eq + (get_local $$i$0) (i32.const 0) ) - (set_local $$l$addr$0 - (get_local $$l) - ) - (set_local $$s$addr$0 - (get_local $$s) + ) + (if + (get_local $$tobool9) + (block + (set_local $$9 + (get_local $$4) + ) + (set_local $$i$1 + (i32.const 0) + ) + (set_local $$l$addr$0 + (get_local $$l) + ) + (set_local $$s$addr$0 + (get_local $$s) + ) + (br $label$break$L10) ) - (br $label$break$L10) ) - ) - (set_local $$sub - (i32.add - (get_local $$i$0) - (i32.const -1) + (set_local $$sub + (i32.add + (get_local $$i$0) + (i32.const -1) + ) ) - ) - (set_local $$arrayidx - (i32.add - (get_local $$s) - (get_local $$sub) + (set_local $$arrayidx + (i32.add + (get_local $$s) + (get_local $$sub) + ) ) - ) - (set_local $$7 - (i32.load8_s - (get_local $$arrayidx) + (set_local $$7 + (i32.load8_s + (get_local $$arrayidx) + ) ) - ) - (set_local $$cmp11 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$7) + (set_local $$cmp11 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$7) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) + (i32.const 10) ) - (i32.const 10) ) - ) - (if - (get_local $$cmp11) - (block - (set_local $$i$0$lcssa36 - (get_local $$i$0) + (if + (get_local $$cmp11) + (block + (set_local $$i$0$lcssa36 + (get_local $$i$0) + ) + (br $while-out$2) + ) + (set_local $$i$0 + (get_local $$sub) ) - (br $while-out$2) - ) - (set_local $$i$0 - (get_local $$sub) ) + (br $while-in$3) ) - (br $while-in$3) ) (set_local $$write15 (i32.add @@ -3969,111 +3983,113 @@ (set_local $$s$044 (get_local $$src) ) - (loop $while-out$1 $while-in$2 - (set_local $$2 - (i32.load8_s - (get_local $$s$044) + (loop $while-in$2 + (block $while-out$1 + (set_local $$2 + (i32.load8_s + (get_local $$s$044) + ) ) - ) - (set_local $$cmp - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$2) + (set_local $$cmp + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$2) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) - ) - (i32.shr_s - (i32.shl - (get_local $$1) + (i32.shr_s + (i32.shl + (get_local $$1) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) ) ) - ) - (if - (get_local $$cmp) - (block - (set_local $$n$addr$0$lcssa61 - (get_local $$n$addr$043) + (if + (get_local $$cmp) + (block + (set_local $$n$addr$0$lcssa61 + (get_local $$n$addr$043) + ) + (set_local $$s$0$lcssa60 + (get_local $$s$044) + ) + (set_local $label + (i32.const 6) + ) + (br $label$break$L1) ) - (set_local $$s$0$lcssa60 + ) + (set_local $$incdec$ptr + (i32.add (get_local $$s$044) + (i32.const 1) ) - (set_local $label - (i32.const 6) - ) - (br $label$break$L1) ) - ) - (set_local $$incdec$ptr - (i32.add - (get_local $$s$044) - (i32.const 1) + (set_local $$dec + (i32.add + (get_local $$n$addr$043) + (i32.const -1) + ) ) - ) - (set_local $$dec - (i32.add - (get_local $$n$addr$043) - (i32.const -1) + (set_local $$3 + (get_local $$incdec$ptr) ) - ) - (set_local $$3 - (get_local $$incdec$ptr) - ) - (set_local $$and - (i32.and - (get_local $$3) - (i32.const 3) + (set_local $$and + (i32.and + (get_local $$3) + (i32.const 3) + ) ) - ) - (set_local $$tobool - (i32.ne - (get_local $$and) - (i32.const 0) + (set_local $$tobool + (i32.ne + (get_local $$and) + (i32.const 0) + ) ) - ) - (set_local $$tobool2 - (i32.ne - (get_local $$dec) - (i32.const 0) - ) - ) - (set_local $$or$cond - (i32.and - (get_local $$tobool2) - (get_local $$tobool) - ) - ) - (if - (get_local $$or$cond) - (block - (set_local $$n$addr$043 + (set_local $$tobool2 + (i32.ne (get_local $$dec) - ) - (set_local $$s$044 - (get_local $$incdec$ptr) + (i32.const 0) ) ) - (block - (set_local $$n$addr$0$lcssa - (get_local $$dec) - ) - (set_local $$s$0$lcssa - (get_local $$incdec$ptr) - ) - (set_local $$tobool2$lcssa + (set_local $$or$cond + (i32.and (get_local $$tobool2) + (get_local $$tobool) ) - (set_local $label - (i32.const 5) + ) + (if + (get_local $$or$cond) + (block + (set_local $$n$addr$043 + (get_local $$dec) + ) + (set_local $$s$044 + (get_local $$incdec$ptr) + ) + ) + (block + (set_local $$n$addr$0$lcssa + (get_local $$dec) + ) + (set_local $$s$0$lcssa + (get_local $$incdec$ptr) + ) + (set_local $$tobool2$lcssa + (get_local $$tobool2) + ) + (set_local $label + (i32.const 5) + ) + (br $while-out$1) ) - (br $while-out$1) ) + (br $while-in$2) ) - (br $while-in$2) ) ) (block @@ -4189,104 +4205,106 @@ (set_local $$w$034 (get_local $$s$0$lcssa60) ) - (loop $while-out$5 $while-in$6 - (set_local $$6 - (i32.load - (get_local $$w$034) - ) - ) - (set_local $$xor - (i32.xor - (get_local $$6) - (get_local $$mul) + (loop $while-in$6 + (block $while-out$5 + (set_local $$6 + (i32.load + (get_local $$w$034) + ) ) - ) - (set_local $$sub - (i32.add - (get_local $$xor) - (i32.const -16843009) + (set_local $$xor + (i32.xor + (get_local $$6) + (get_local $$mul) + ) ) - ) - (set_local $$neg - (i32.and - (get_local $$xor) - (i32.const -2139062144) + (set_local $$sub + (i32.add + (get_local $$xor) + (i32.const -16843009) + ) ) - ) - (set_local $$and15 - (i32.xor - (get_local $$neg) - (i32.const -2139062144) + (set_local $$neg + (i32.and + (get_local $$xor) + (i32.const -2139062144) + ) ) - ) - (set_local $$and16 - (i32.and - (get_local $$and15) - (get_local $$sub) + (set_local $$and15 + (i32.xor + (get_local $$neg) + (i32.const -2139062144) + ) ) - ) - (set_local $$lnot - (i32.eq - (get_local $$and16) - (i32.const 0) + (set_local $$and16 + (i32.and + (get_local $$and15) + (get_local $$sub) + ) ) - ) - (if - (i32.eqz - (get_local $$lnot) + (set_local $$lnot + (i32.eq + (get_local $$and16) + (i32.const 0) + ) ) - (block - (set_local $$n$addr$133$lcssa - (get_local $$n$addr$133) + (if + (i32.eqz + (get_local $$lnot) ) - (set_local $$w$034$lcssa - (get_local $$w$034) + (block + (set_local $$n$addr$133$lcssa + (get_local $$n$addr$133) + ) + (set_local $$w$034$lcssa + (get_local $$w$034) + ) + (br $while-out$5) ) - (br $while-out$5) - ) - ) - (set_local $$incdec$ptr21 - (i32.add - (get_local $$w$034) - (i32.const 4) - ) - ) - (set_local $$sub22 - (i32.add - (get_local $$n$addr$133) - (i32.const -4) - ) - ) - (set_local $$cmp11 - (i32.gt_u - (get_local $$sub22) - (i32.const 3) ) - ) - (if - (get_local $$cmp11) - (block - (set_local $$n$addr$133 - (get_local $$sub22) + (set_local $$incdec$ptr21 + (i32.add + (get_local $$w$034) + (i32.const 4) ) - (set_local $$w$034 - (get_local $$incdec$ptr21) + ) + (set_local $$sub22 + (i32.add + (get_local $$n$addr$133) + (i32.const -4) ) ) - (block - (set_local $$n$addr$1$lcssa + (set_local $$cmp11 + (i32.gt_u (get_local $$sub22) + (i32.const 3) ) - (set_local $$w$0$lcssa - (get_local $$incdec$ptr21) + ) + (if + (get_local $$cmp11) + (block + (set_local $$n$addr$133 + (get_local $$sub22) + ) + (set_local $$w$034 + (get_local $$incdec$ptr21) + ) ) - (set_local $label - (i32.const 11) + (block + (set_local $$n$addr$1$lcssa + (get_local $$sub22) + ) + (set_local $$w$0$lcssa + (get_local $$incdec$ptr21) + ) + (set_local $label + (i32.const 11) + ) + (br $label$break$L11) ) - (br $label$break$L11) ) + (br $while-in$6) ) - (br $while-in$6) ) (set_local $$n$addr$227 (get_local $$n$addr$133$lcssa) @@ -4342,81 +4360,83 @@ ) ) ) - (loop $while-out$7 $while-in$8 - (set_local $$7 - (i32.load8_s - (get_local $$s$128) + (loop $while-in$8 + (block $while-out$7 + (set_local $$7 + (i32.load8_s + (get_local $$s$128) + ) ) - ) - (set_local $$cmp28 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$7) + (set_local $$cmp28 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$7) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) - ) - (i32.shr_s - (i32.shl - (get_local $$5) + (i32.shr_s + (i32.shl + (get_local $$5) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) ) ) - ) - (if - (get_local $$cmp28) - (block - (set_local $$n$addr$3 - (get_local $$n$addr$227) + (if + (get_local $$cmp28) + (block + (set_local $$n$addr$3 + (get_local $$n$addr$227) + ) + (set_local $$s$2 + (get_local $$s$128) + ) + (br $label$break$L8) ) - (set_local $$s$2 + ) + (set_local $$incdec$ptr33 + (i32.add (get_local $$s$128) + (i32.const 1) ) - (br $label$break$L8) - ) - ) - (set_local $$incdec$ptr33 - (i32.add - (get_local $$s$128) - (i32.const 1) - ) - ) - (set_local $$dec34 - (i32.add - (get_local $$n$addr$227) - (i32.const -1) ) - ) - (set_local $$tobool25 - (i32.eq - (get_local $$dec34) - (i32.const 0) + (set_local $$dec34 + (i32.add + (get_local $$n$addr$227) + (i32.const -1) + ) ) - ) - (if - (get_local $$tobool25) - (block - (set_local $$n$addr$3 + (set_local $$tobool25 + (i32.eq + (get_local $$dec34) (i32.const 0) ) - (set_local $$s$2 - (get_local $$incdec$ptr33) - ) - (br $while-out$7) ) - (block - (set_local $$n$addr$227 - (get_local $$dec34) + (if + (get_local $$tobool25) + (block + (set_local $$n$addr$3 + (i32.const 0) + ) + (set_local $$s$2 + (get_local $$incdec$ptr33) + ) + (br $while-out$7) ) - (set_local $$s$128 - (get_local $$incdec$ptr33) + (block + (set_local $$n$addr$227 + (get_local $$dec34) + ) + (set_local $$s$128 + (get_local $$incdec$ptr33) + ) ) ) + (br $while-in$8) ) - (br $while-in$8) ) ) ) @@ -5972,1194 +5992,1187 @@ (set_local $$l10n$0 (i32.const 0) ) - (loop $label$break$L1 $label$continue$L1 - (set_local $$cmp - (i32.gt_s - (get_local $$cnt$0) - (i32.const -1) + (loop $label$continue$L1 + (block $label$break$L1 + (set_local $$cmp + (i32.gt_s + (get_local $$cnt$0) + (i32.const -1) + ) ) - ) - (block $do-once$0 - (if - (get_local $$cmp) - (block - (set_local $$sub - (i32.sub - (i32.const 2147483647) - (get_local $$cnt$0) - ) - ) - (set_local $$cmp1 - (i32.gt_s - (get_local $$l$0) - (get_local $$sub) - ) - ) - (if - (get_local $$cmp1) - (block - (set_local $$call - (call $___errno_location) - ) - (i32.store - (get_local $$call) - (i32.const 75) + (block $do-once$0 + (if + (get_local $$cmp) + (block + (set_local $$sub + (i32.sub + (i32.const 2147483647) + (get_local $$cnt$0) ) - (set_local $$cnt$1 - (i32.const -1) + ) + (set_local $$cmp1 + (i32.gt_s + (get_local $$l$0) + (get_local $$sub) ) - (br $do-once$0) ) - (block - (set_local $$add - (i32.add - (get_local $$l$0) - (get_local $$cnt$0) + (if + (get_local $$cmp1) + (block + (set_local $$call + (call $___errno_location) + ) + (i32.store + (get_local $$call) + (i32.const 75) + ) + (set_local $$cnt$1 + (i32.const -1) ) + (br $do-once$0) ) - (set_local $$cnt$1 - (get_local $$add) + (block + (set_local $$add + (i32.add + (get_local $$l$0) + (get_local $$cnt$0) + ) + ) + (set_local $$cnt$1 + (get_local $$add) + ) + (br $do-once$0) ) - (br $do-once$0) ) ) + (set_local $$cnt$1 + (get_local $$cnt$0) + ) ) - (set_local $$cnt$1 - (get_local $$cnt$0) + ) + (set_local $$0 + (i32.load8_s + (get_local $$incdec$ptr169275) ) ) - ) - (set_local $$0 - (i32.load8_s - (get_local $$incdec$ptr169275) - ) - ) - (set_local $$tobool - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$0) + (set_local $$tobool + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$0) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) + (i32.const 0) ) - (i32.const 0) ) - ) - (if - (get_local $$tobool) - (block - (set_local $$cnt$1$lcssa - (get_local $$cnt$1) - ) - (set_local $$l10n$0$lcssa - (get_local $$l10n$0) + (if + (get_local $$tobool) + (block + (set_local $$cnt$1$lcssa + (get_local $$cnt$1) + ) + (set_local $$l10n$0$lcssa + (get_local $$l10n$0) + ) + (set_local $label + (i32.const 242) + ) + (br $label$break$L1) ) - (set_local $label - (i32.const 242) + (block + (set_local $$1 + (get_local $$0) + ) + (set_local $$incdec$ptr169274 + (get_local $$incdec$ptr169275) + ) ) - (br $label$break$L1) ) - (block - (set_local $$1 - (get_local $$0) - ) - (set_local $$incdec$ptr169274 - (get_local $$incdec$ptr169275) + (loop $label$continue$L9 + (block $label$break$L9 + (block $switch$2 + (block $switch-default$5 + (block $switch-default$5 + (block $switch-case$4 + (block $switch-case$3 + (br_table $switch-case$4 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-case$3 $switch-default$5 + (i32.sub + (i32.shr_s + (i32.shl + (get_local $$1) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const 0) + ) + ) + ) + (block + (set_local $$incdec$ptr169276301 + (get_local $$incdec$ptr169274) + ) + (set_local $$z$0302 + (get_local $$incdec$ptr169274) + ) + (set_local $label + (i32.const 9) + ) + (br $label$break$L9) + (br $switch$2) + ) + ) + (block + (set_local $$incdec$ptr169276$lcssa + (get_local $$incdec$ptr169274) + ) + (set_local $$z$0$lcssa + (get_local $$incdec$ptr169274) + ) + (br $label$break$L9) + (br $switch$2) + ) + ) + (nop) + ) + ) + (set_local $$incdec$ptr + (i32.add + (get_local $$incdec$ptr169274) + (i32.const 1) + ) + ) + (set_local $$$pre + (i32.load8_s + (get_local $$incdec$ptr) + ) + ) + (set_local $$1 + (get_local $$$pre) + ) + (set_local $$incdec$ptr169274 + (get_local $$incdec$ptr) + ) + (br $label$continue$L9) ) ) - ) - (loop $label$break$L9 $label$continue$L9 - (block $switch$2 - (block $switch-default$5 - (block $switch-default$5 - (block $switch-case$4 - (block $switch-case$3 - (br_table $switch-case$4 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-default$5 $switch-case$3 $switch-default$5 - (i32.sub - (i32.shr_s - (i32.shl - (get_local $$1) - (i32.const 24) - ) + (block $label$break$L12 + (if + (i32.eq + (get_local $label) + (i32.const 9) + ) + (loop $while-in$8 + (block $while-out$7 + (set_local $label + (i32.const 0) + ) + (set_local $$arrayidx16 + (i32.add + (get_local $$incdec$ptr169276301) + (i32.const 1) + ) + ) + (set_local $$2 + (i32.load8_s + (get_local $$arrayidx16) + ) + ) + (set_local $$cmp18 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$2) (i32.const 24) ) - (i32.const 0) + (i32.const 24) ) + (i32.const 37) ) ) - (block - (set_local $$incdec$ptr169276301 - (get_local $$incdec$ptr169274) + (if + (i32.eqz + (get_local $$cmp18) ) - (set_local $$z$0302 - (get_local $$incdec$ptr169274) + (block + (set_local $$incdec$ptr169276$lcssa + (get_local $$incdec$ptr169276301) + ) + (set_local $$z$0$lcssa + (get_local $$z$0302) + ) + (br $label$break$L12) ) - (set_local $label - (i32.const 9) + ) + (set_local $$incdec$ptr23 + (i32.add + (get_local $$z$0302) + (i32.const 1) ) - (br $label$break$L9) - (br $switch$2) ) - ) - (block - (set_local $$incdec$ptr169276$lcssa - (get_local $$incdec$ptr169274) + (set_local $$add$ptr + (i32.add + (get_local $$incdec$ptr169276301) + (i32.const 2) + ) + ) + (set_local $$3 + (i32.load8_s + (get_local $$add$ptr) + ) + ) + (set_local $$cmp13 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$3) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const 37) + ) ) - (set_local $$z$0$lcssa - (get_local $$incdec$ptr169274) + (if + (get_local $$cmp13) + (block + (set_local $$incdec$ptr169276301 + (get_local $$add$ptr) + ) + (set_local $$z$0302 + (get_local $$incdec$ptr23) + ) + (set_local $label + (i32.const 9) + ) + ) + (block + (set_local $$incdec$ptr169276$lcssa + (get_local $$add$ptr) + ) + (set_local $$z$0$lcssa + (get_local $$incdec$ptr23) + ) + (br $while-out$7) + ) ) - (br $label$break$L9) - (br $switch$2) + (br $while-in$8) + ) + ) + ) + ) + (set_local $$sub$ptr$lhs$cast + (get_local $$z$0$lcssa) + ) + (set_local $$sub$ptr$rhs$cast + (get_local $$incdec$ptr169275) + ) + (set_local $$sub$ptr$sub + (i32.sub + (get_local $$sub$ptr$lhs$cast) + (get_local $$sub$ptr$rhs$cast) + ) + ) + (if + (get_local $$tobool25) + (block + (set_local $$4 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i + (i32.and + (get_local $$4) + (i32.const 32) + ) + ) + (set_local $$tobool$i + (i32.eq + (get_local $$and$i) + (i32.const 0) + ) + ) + (if + (get_local $$tobool$i) + (call $___fwritex + (get_local $$incdec$ptr169275) + (get_local $$sub$ptr$sub) + (get_local $$f) ) ) - (nop) ) ) - (set_local $$incdec$ptr + (set_local $$tobool28 + (i32.eq + (get_local $$z$0$lcssa) + (get_local $$incdec$ptr169275) + ) + ) + (if + (i32.eqz + (get_local $$tobool28) + ) + (block + (set_local $$l10n$0$phi + (get_local $$l10n$0) + ) + (set_local $$cnt$0 + (get_local $$cnt$1) + ) + (set_local $$incdec$ptr169275 + (get_local $$incdec$ptr169276$lcssa) + ) + (set_local $$l$0 + (get_local $$sub$ptr$sub) + ) + (set_local $$l10n$0 + (get_local $$l10n$0$phi) + ) + (br $label$continue$L1) + ) + ) + (set_local $$arrayidx31 (i32.add - (get_local $$incdec$ptr169274) + (get_local $$incdec$ptr169276$lcssa) (i32.const 1) ) ) - (set_local $$$pre + (set_local $$5 (i32.load8_s - (get_local $$incdec$ptr) + (get_local $$arrayidx31) ) ) - (set_local $$1 - (get_local $$$pre) + (set_local $$conv32 + (i32.shr_s + (i32.shl + (get_local $$5) + (i32.const 24) + ) + (i32.const 24) + ) ) - (set_local $$incdec$ptr169274 - (get_local $$incdec$ptr) + (set_local $$isdigittmp + (i32.add + (get_local $$conv32) + (i32.const -48) + ) ) - (br $label$continue$L9) - ) - (block $label$break$L12 - (if - (i32.eq - (get_local $label) - (i32.const 9) + (set_local $$isdigit + (i32.lt_u + (get_local $$isdigittmp) + (i32.const 10) ) - (loop $while-out$7 $while-in$8 - (set_local $label - (i32.const 0) - ) - (set_local $$arrayidx16 + ) + (if + (get_local $$isdigit) + (block + (set_local $$arrayidx35 (i32.add - (get_local $$incdec$ptr169276301) - (i32.const 1) + (get_local $$incdec$ptr169276$lcssa) + (i32.const 2) ) ) - (set_local $$2 + (set_local $$6 (i32.load8_s - (get_local $$arrayidx16) + (get_local $$arrayidx35) ) ) - (set_local $$cmp18 + (set_local $$cmp37 (i32.eq (i32.shr_s (i32.shl - (get_local $$2) + (get_local $$6) (i32.const 24) ) (i32.const 24) ) - (i32.const 37) + (i32.const 36) ) ) - (if - (i32.eqz - (get_local $$cmp18) + (set_local $$add$ptr43 + (i32.add + (get_local $$incdec$ptr169276$lcssa) + (i32.const 3) ) - (block - (set_local $$incdec$ptr169276$lcssa - (get_local $$incdec$ptr169276301) - ) - (set_local $$z$0$lcssa - (get_local $$z$0302) - ) - (br $label$break$L12) + ) + (set_local $$add$ptr43$arrayidx31 + (if + (get_local $$cmp37) + (get_local $$add$ptr43) + (get_local $$arrayidx31) ) ) - (set_local $$incdec$ptr23 - (i32.add - (get_local $$z$0302) + (set_local $$$l10n$0 + (if + (get_local $$cmp37) (i32.const 1) + (get_local $$l10n$0) ) ) - (set_local $$add$ptr - (i32.add - (get_local $$incdec$ptr169276301) - (i32.const 2) + (set_local $$isdigittmp$ + (if + (get_local $$cmp37) + (get_local $$isdigittmp) + (i32.const -1) ) ) - (set_local $$3 + (set_local $$$pre357 (i32.load8_s - (get_local $$add$ptr) + (get_local $$add$ptr43$arrayidx31) ) ) - (set_local $$cmp13 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$3) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const 37) - ) - ) - (if - (get_local $$cmp13) - (block - (set_local $$incdec$ptr169276301 - (get_local $$add$ptr) - ) - (set_local $$z$0302 - (get_local $$incdec$ptr23) - ) - (set_local $label - (i32.const 9) - ) - ) - (block - (set_local $$incdec$ptr169276$lcssa - (get_local $$add$ptr) - ) - (set_local $$z$0$lcssa - (get_local $$incdec$ptr23) - ) - (br $while-out$7) - ) - ) - (br $while-in$8) - ) - ) - ) - (set_local $$sub$ptr$lhs$cast - (get_local $$z$0$lcssa) - ) - (set_local $$sub$ptr$rhs$cast - (get_local $$incdec$ptr169275) - ) - (set_local $$sub$ptr$sub - (i32.sub - (get_local $$sub$ptr$lhs$cast) - (get_local $$sub$ptr$rhs$cast) - ) - ) - (if - (get_local $$tobool25) - (block - (set_local $$4 - (i32.load - (get_local $$f) - ) - ) - (set_local $$and$i - (i32.and - (get_local $$4) - (i32.const 32) - ) - ) - (set_local $$tobool$i - (i32.eq - (get_local $$and$i) - (i32.const 0) - ) - ) - (if - (get_local $$tobool$i) - (call $___fwritex - (get_local $$incdec$ptr169275) - (get_local $$sub$ptr$sub) - (get_local $$f) + (set_local $$7 + (get_local $$$pre357) ) - ) - ) - ) - (set_local $$tobool28 - (i32.eq - (get_local $$z$0$lcssa) - (get_local $$incdec$ptr169275) - ) - ) - (if - (i32.eqz - (get_local $$tobool28) - ) - (block - (set_local $$l10n$0$phi - (get_local $$l10n$0) - ) - (set_local $$cnt$0 - (get_local $$cnt$1) - ) - (set_local $$incdec$ptr169275 - (get_local $$incdec$ptr169276$lcssa) - ) - (set_local $$l$0 - (get_local $$sub$ptr$sub) - ) - (set_local $$l10n$0 - (get_local $$l10n$0$phi) - ) - (br $label$continue$L1) - ) - ) - (set_local $$arrayidx31 - (i32.add - (get_local $$incdec$ptr169276$lcssa) - (i32.const 1) - ) - ) - (set_local $$5 - (i32.load8_s - (get_local $$arrayidx31) - ) - ) - (set_local $$conv32 - (i32.shr_s - (i32.shl - (get_local $$5) - (i32.const 24) - ) - (i32.const 24) - ) - ) - (set_local $$isdigittmp - (i32.add - (get_local $$conv32) - (i32.const -48) - ) - ) - (set_local $$isdigit - (i32.lt_u - (get_local $$isdigittmp) - (i32.const 10) - ) - ) - (if - (get_local $$isdigit) - (block - (set_local $$arrayidx35 - (i32.add - (get_local $$incdec$ptr169276$lcssa) - (i32.const 2) + (set_local $$argpos$0 + (get_local $$isdigittmp$) ) - ) - (set_local $$6 - (i32.load8_s - (get_local $$arrayidx35) + (set_local $$l10n$1 + (get_local $$$l10n$0) ) - ) - (set_local $$cmp37 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$6) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const 36) + (set_local $$storemerge + (get_local $$add$ptr43$arrayidx31) ) ) - (set_local $$add$ptr43 - (i32.add - (get_local $$incdec$ptr169276$lcssa) - (i32.const 3) + (block + (set_local $$7 + (get_local $$5) ) - ) - (set_local $$add$ptr43$arrayidx31 - (if - (get_local $$cmp37) - (get_local $$add$ptr43) - (get_local $$arrayidx31) + (set_local $$argpos$0 + (i32.const -1) ) - ) - (set_local $$$l10n$0 - (if - (get_local $$cmp37) - (i32.const 1) + (set_local $$l10n$1 (get_local $$l10n$0) ) - ) - (set_local $$isdigittmp$ - (if - (get_local $$cmp37) - (get_local $$isdigittmp) - (i32.const -1) + (set_local $$storemerge + (get_local $$arrayidx31) ) ) - (set_local $$$pre357 - (i32.load8_s - (get_local $$add$ptr43$arrayidx31) + ) + (set_local $$conv48$307 + (i32.shr_s + (i32.shl + (get_local $$7) + (i32.const 24) ) - ) - (set_local $$7 - (get_local $$$pre357) - ) - (set_local $$argpos$0 - (get_local $$isdigittmp$) - ) - (set_local $$l10n$1 - (get_local $$$l10n$0) - ) - (set_local $$storemerge - (get_local $$add$ptr43$arrayidx31) + (i32.const 24) ) ) - (block - (set_local $$7 - (get_local $$5) - ) - (set_local $$argpos$0 - (i32.const -1) - ) - (set_local $$l10n$1 - (get_local $$l10n$0) - ) - (set_local $$storemerge - (get_local $$arrayidx31) + (set_local $$8 + (i32.and + (get_local $$conv48$307) + (i32.const -32) ) ) - ) - (set_local $$conv48$307 - (i32.shr_s - (i32.shl - (get_local $$7) - (i32.const 24) + (set_local $$cmp50$308 + (i32.eq + (get_local $$8) + (i32.const 32) ) - (i32.const 24) - ) - ) - (set_local $$8 - (i32.and - (get_local $$conv48$307) - (i32.const -32) - ) - ) - (set_local $$cmp50$308 - (i32.eq - (get_local $$8) - (i32.const 32) ) - ) - (block $label$break$L25 - (if - (get_local $$cmp50$308) - (block - (set_local $$9 - (get_local $$7) - ) - (set_local $$conv48311 - (get_local $$conv48$307) - ) - (set_local $$fl$0310 - (i32.const 0) - ) - (set_local $$storemerge$186309 - (get_local $$storemerge) - ) - (loop $while-out$10 $while-in$11 - (set_local $$sub54 - (i32.add - (get_local $$conv48311) - (i32.const -32) - ) + (block $label$break$L25 + (if + (get_local $$cmp50$308) + (block + (set_local $$9 + (get_local $$7) ) - (set_local $$shl - (i32.shl - (i32.const 1) - (get_local $$sub54) - ) + (set_local $$conv48311 + (get_local $$conv48$307) ) - (set_local $$and - (i32.and - (get_local $$shl) - (i32.const 75913) - ) + (set_local $$fl$0310 + (i32.const 0) ) - (set_local $$tobool55 - (i32.eq - (get_local $$and) - (i32.const 0) - ) + (set_local $$storemerge$186309 + (get_local $$storemerge) ) - (if - (get_local $$tobool55) - (block - (set_local $$12 - (get_local $$9) + (loop $while-in$11 + (block $while-out$10 + (set_local $$sub54 + (i32.add + (get_local $$conv48311) + (i32.const -32) + ) ) - (set_local $$fl$0284 - (get_local $$fl$0310) + (set_local $$shl + (i32.shl + (i32.const 1) + (get_local $$sub54) + ) ) - (set_local $$storemerge$186282 - (get_local $$storemerge$186309) + (set_local $$and + (i32.and + (get_local $$shl) + (i32.const 75913) + ) ) - (br $label$break$L25) - ) - ) - (set_local $$conv58 - (i32.shr_s - (i32.shl - (get_local $$9) - (i32.const 24) + (set_local $$tobool55 + (i32.eq + (get_local $$and) + (i32.const 0) + ) ) - (i32.const 24) - ) - ) - (set_local $$sub59 - (i32.add - (get_local $$conv58) - (i32.const -32) - ) - ) - (set_local $$shl60 - (i32.shl - (i32.const 1) - (get_local $$sub59) - ) - ) - (set_local $$or - (i32.or - (get_local $$shl60) - (get_local $$fl$0310) - ) - ) - (set_local $$incdec$ptr62 - (i32.add - (get_local $$storemerge$186309) - (i32.const 1) - ) - ) - (set_local $$10 - (i32.load8_s - (get_local $$incdec$ptr62) - ) - ) - (set_local $$conv48 - (i32.shr_s - (i32.shl - (get_local $$10) - (i32.const 24) + (if + (get_local $$tobool55) + (block + (set_local $$12 + (get_local $$9) + ) + (set_local $$fl$0284 + (get_local $$fl$0310) + ) + (set_local $$storemerge$186282 + (get_local $$storemerge$186309) + ) + (br $label$break$L25) + ) ) - (i32.const 24) - ) - ) - (set_local $$11 - (i32.and - (get_local $$conv48) - (i32.const -32) - ) - ) - (set_local $$cmp50 - (i32.eq - (get_local $$11) - (i32.const 32) - ) - ) - (if - (get_local $$cmp50) - (block - (set_local $$9 - (get_local $$10) + (set_local $$conv58 + (i32.shr_s + (i32.shl + (get_local $$9) + (i32.const 24) + ) + (i32.const 24) + ) ) - (set_local $$conv48311 - (get_local $$conv48) + (set_local $$sub59 + (i32.add + (get_local $$conv58) + (i32.const -32) + ) ) - (set_local $$fl$0310 - (get_local $$or) + (set_local $$shl60 + (i32.shl + (i32.const 1) + (get_local $$sub59) + ) ) - (set_local $$storemerge$186309 - (get_local $$incdec$ptr62) + (set_local $$or + (i32.or + (get_local $$shl60) + (get_local $$fl$0310) + ) ) - ) - (block - (set_local $$12 - (get_local $$10) + (set_local $$incdec$ptr62 + (i32.add + (get_local $$storemerge$186309) + (i32.const 1) + ) + ) + (set_local $$10 + (i32.load8_s + (get_local $$incdec$ptr62) + ) + ) + (set_local $$conv48 + (i32.shr_s + (i32.shl + (get_local $$10) + (i32.const 24) + ) + (i32.const 24) + ) ) - (set_local $$fl$0284 - (get_local $$or) + (set_local $$11 + (i32.and + (get_local $$conv48) + (i32.const -32) + ) + ) + (set_local $$cmp50 + (i32.eq + (get_local $$11) + (i32.const 32) + ) ) - (set_local $$storemerge$186282 - (get_local $$incdec$ptr62) + (if + (get_local $$cmp50) + (block + (set_local $$9 + (get_local $$10) + ) + (set_local $$conv48311 + (get_local $$conv48) + ) + (set_local $$fl$0310 + (get_local $$or) + ) + (set_local $$storemerge$186309 + (get_local $$incdec$ptr62) + ) + ) + (block + (set_local $$12 + (get_local $$10) + ) + (set_local $$fl$0284 + (get_local $$or) + ) + (set_local $$storemerge$186282 + (get_local $$incdec$ptr62) + ) + (br $while-out$10) + ) ) - (br $while-out$10) + (br $while-in$11) ) ) - (br $while-in$11) - ) - ) - (block - (set_local $$12 - (get_local $$7) - ) - (set_local $$fl$0284 - (i32.const 0) ) - (set_local $$storemerge$186282 - (get_local $$storemerge) + (block + (set_local $$12 + (get_local $$7) + ) + (set_local $$fl$0284 + (i32.const 0) + ) + (set_local $$storemerge$186282 + (get_local $$storemerge) + ) ) ) ) - ) - (set_local $$cmp65 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$12) + (set_local $$cmp65 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$12) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) + (i32.const 42) ) - (i32.const 42) ) - ) - (block $do-once$12 - (if - (get_local $$cmp65) - (block - (set_local $$arrayidx68 - (i32.add - (get_local $$storemerge$186282) - (i32.const 1) + (block $do-once$12 + (if + (get_local $$cmp65) + (block + (set_local $$arrayidx68 + (i32.add + (get_local $$storemerge$186282) + (i32.const 1) + ) ) - ) - (set_local $$13 - (i32.load8_s - (get_local $$arrayidx68) + (set_local $$13 + (i32.load8_s + (get_local $$arrayidx68) + ) ) - ) - (set_local $$conv69 - (i32.shr_s - (i32.shl - (get_local $$13) + (set_local $$conv69 + (i32.shr_s + (i32.shl + (get_local $$13) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) ) - ) - (set_local $$isdigittmp189 - (i32.add - (get_local $$conv69) - (i32.const -48) + (set_local $$isdigittmp189 + (i32.add + (get_local $$conv69) + (i32.const -48) + ) ) - ) - (set_local $$isdigit190 - (i32.lt_u - (get_local $$isdigittmp189) - (i32.const 10) + (set_local $$isdigit190 + (i32.lt_u + (get_local $$isdigittmp189) + (i32.const 10) + ) ) - ) - (if - (get_local $$isdigit190) - (block - (set_local $$arrayidx73 - (i32.add - (get_local $$storemerge$186282) - (i32.const 2) + (if + (get_local $$isdigit190) + (block + (set_local $$arrayidx73 + (i32.add + (get_local $$storemerge$186282) + (i32.const 2) + ) ) - ) - (set_local $$14 - (i32.load8_s - (get_local $$arrayidx73) + (set_local $$14 + (i32.load8_s + (get_local $$arrayidx73) + ) ) - ) - (set_local $$cmp75 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$14) + (set_local $$cmp75 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$14) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) + (i32.const 36) ) - (i32.const 36) ) - ) - (if - (get_local $$cmp75) - (block - (set_local $$arrayidx81 - (i32.add - (get_local $$nl_type) - (i32.shl - (get_local $$isdigittmp189) - (i32.const 2) + (if + (get_local $$cmp75) + (block + (set_local $$arrayidx81 + (i32.add + (get_local $$nl_type) + (i32.shl + (get_local $$isdigittmp189) + (i32.const 2) + ) ) ) - ) - (i32.store - (get_local $$arrayidx81) - (i32.const 10) - ) - (set_local $$15 - (i32.load8_s - (get_local $$arrayidx68) + (i32.store + (get_local $$arrayidx81) + (i32.const 10) ) - ) - (set_local $$conv83 - (i32.shr_s - (i32.shl - (get_local $$15) + (set_local $$15 + (i32.load8_s + (get_local $$arrayidx68) + ) + ) + (set_local $$conv83 + (i32.shr_s + (i32.shl + (get_local $$15) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) ) - ) - (set_local $$sub84 - (i32.add - (get_local $$conv83) - (i32.const -48) + (set_local $$sub84 + (i32.add + (get_local $$conv83) + (i32.const -48) + ) ) - ) - (set_local $$i86 - (i32.add - (get_local $$nl_arg) - (i32.shl - (get_local $$sub84) - (i32.const 3) + (set_local $$i86 + (i32.add + (get_local $$nl_arg) + (i32.shl + (get_local $$sub84) + (i32.const 3) + ) ) ) - ) - (set_local $$16 - (get_local $$i86) - ) - (set_local $$17 - (get_local $$16) - ) - (set_local $$18 - (i32.load - (get_local $$17) + (set_local $$16 + (get_local $$i86) ) - ) - (set_local $$19 - (i32.add + (set_local $$17 (get_local $$16) - (i32.const 4) ) - ) - (set_local $$20 - (get_local $$19) - ) - (set_local $$21 - (i32.load - (get_local $$20) + (set_local $$18 + (i32.load + (get_local $$17) + ) ) - ) - (set_local $$add$ptr88 - (i32.add - (get_local $$storemerge$186282) - (i32.const 3) + (set_local $$19 + (i32.add + (get_local $$16) + (i32.const 4) + ) + ) + (set_local $$20 + (get_local $$19) + ) + (set_local $$21 + (i32.load + (get_local $$20) + ) + ) + (set_local $$add$ptr88 + (i32.add + (get_local $$storemerge$186282) + (i32.const 3) + ) + ) + (set_local $$l10n$2 + (i32.const 1) + ) + (set_local $$storemerge$191 + (get_local $$add$ptr88) + ) + (set_local $$w$0 + (get_local $$18) ) ) - (set_local $$l10n$2 - (i32.const 1) - ) - (set_local $$storemerge$191 - (get_local $$add$ptr88) - ) - (set_local $$w$0 - (get_local $$18) + (set_local $label + (i32.const 24) ) ) - (set_local $label - (i32.const 24) - ) ) - ) - (set_local $label - (i32.const 24) - ) - ) - (if - (i32.eq - (get_local $label) - (i32.const 24) - ) - (block (set_local $label - (i32.const 0) + (i32.const 24) ) - (set_local $$tobool90 - (i32.eq - (get_local $$l10n$1) - (i32.const 0) - ) + ) + (if + (i32.eq + (get_local $label) + (i32.const 24) ) - (if - (i32.eqz - (get_local $$tobool90) + (block + (set_local $label + (i32.const 0) ) - (block - (set_local $$retval$0 - (i32.const -1) + (set_local $$tobool90 + (i32.eq + (get_local $$l10n$1) + (i32.const 0) ) - (br $label$break$L1) ) - ) - (if - (i32.eqz - (get_local $$tobool25) + (if + (i32.eqz + (get_local $$tobool90) + ) + (block + (set_local $$retval$0 + (i32.const -1) + ) + (br $label$break$L1) + ) ) - (block - (set_local $$fl$1 - (get_local $$fl$0284) + (if + (i32.eqz + (get_local $$tobool25) + ) + (block + (set_local $$fl$1 + (get_local $$fl$0284) + ) + (set_local $$incdec$ptr169269 + (get_local $$arrayidx68) + ) + (set_local $$l10n$3 + (i32.const 0) + ) + (set_local $$w$1 + (i32.const 0) + ) + (br $do-once$12) ) - (set_local $$incdec$ptr169269 - (get_local $$arrayidx68) + ) + (set_local $$arglist_current + (i32.load + (get_local $$ap) ) - (set_local $$l10n$3 + ) + (set_local $$22 + (get_local $$arglist_current) + ) + (set_local $$23 + (i32.add (i32.const 0) + (i32.const 4) + ) + ) + (set_local $$expanded4 + (get_local $$23) + ) + (set_local $$expanded + (i32.sub + (get_local $$expanded4) + (i32.const 1) + ) + ) + (set_local $$24 + (i32.add + (get_local $$22) + (get_local $$expanded) ) - (set_local $$w$1 + ) + (set_local $$25 + (i32.add (i32.const 0) + (i32.const 4) ) - (br $do-once$12) ) - ) - (set_local $$arglist_current - (i32.load - (get_local $$ap) + (set_local $$expanded8 + (get_local $$25) ) - ) - (set_local $$22 - (get_local $$arglist_current) - ) - (set_local $$23 - (i32.add - (i32.const 0) - (i32.const 4) + (set_local $$expanded7 + (i32.sub + (get_local $$expanded8) + (i32.const 1) + ) ) - ) - (set_local $$expanded4 - (get_local $$23) - ) - (set_local $$expanded - (i32.sub - (get_local $$expanded4) - (i32.const 1) + (set_local $$expanded6 + (i32.xor + (get_local $$expanded7) + (i32.const -1) + ) ) - ) - (set_local $$24 - (i32.add - (get_local $$22) - (get_local $$expanded) + (set_local $$26 + (i32.and + (get_local $$24) + (get_local $$expanded6) + ) ) - ) - (set_local $$25 - (i32.add - (i32.const 0) - (i32.const 4) + (set_local $$27 + (get_local $$26) ) - ) - (set_local $$expanded8 - (get_local $$25) - ) - (set_local $$expanded7 - (i32.sub - (get_local $$expanded8) - (i32.const 1) + (set_local $$28 + (i32.load + (get_local $$27) + ) ) - ) - (set_local $$expanded6 - (i32.xor - (get_local $$expanded7) - (i32.const -1) + (set_local $$arglist_next + (i32.add + (get_local $$27) + (i32.const 4) + ) ) - ) - (set_local $$26 - (i32.and - (get_local $$24) - (get_local $$expanded6) + (i32.store + (get_local $$ap) + (get_local $$arglist_next) ) - ) - (set_local $$27 - (get_local $$26) - ) - (set_local $$28 - (i32.load - (get_local $$27) + (set_local $$l10n$2 + (i32.const 0) ) - ) - (set_local $$arglist_next - (i32.add - (get_local $$27) - (i32.const 4) + (set_local $$storemerge$191 + (get_local $$arrayidx68) + ) + (set_local $$w$0 + (get_local $$28) ) ) - (i32.store - (get_local $$ap) - (get_local $$arglist_next) - ) - (set_local $$l10n$2 + ) + (set_local $$cmp97 + (i32.lt_s + (get_local $$w$0) (i32.const 0) ) - (set_local $$storemerge$191 - (get_local $$arrayidx68) - ) - (set_local $$w$0 - (get_local $$28) - ) - ) - ) - (set_local $$cmp97 - (i32.lt_s - (get_local $$w$0) - (i32.const 0) ) - ) - (if - (get_local $$cmp97) - (block - (set_local $$or100 - (i32.or - (get_local $$fl$0284) - (i32.const 8192) + (if + (get_local $$cmp97) + (block + (set_local $$or100 + (i32.or + (get_local $$fl$0284) + (i32.const 8192) + ) + ) + (set_local $$sub101 + (i32.sub + (i32.const 0) + (get_local $$w$0) + ) + ) + (set_local $$fl$1 + (get_local $$or100) + ) + (set_local $$incdec$ptr169269 + (get_local $$storemerge$191) + ) + (set_local $$l10n$3 + (get_local $$l10n$2) + ) + (set_local $$w$1 + (get_local $$sub101) ) ) - (set_local $$sub101 - (i32.sub - (i32.const 0) + (block + (set_local $$fl$1 + (get_local $$fl$0284) + ) + (set_local $$incdec$ptr169269 + (get_local $$storemerge$191) + ) + (set_local $$l10n$3 + (get_local $$l10n$2) + ) + (set_local $$w$1 (get_local $$w$0) ) ) - (set_local $$fl$1 - (get_local $$or100) - ) - (set_local $$incdec$ptr169269 - (get_local $$storemerge$191) - ) - (set_local $$l10n$3 - (get_local $$l10n$2) - ) - (set_local $$w$1 - (get_local $$sub101) - ) - ) - (block - (set_local $$fl$1 - (get_local $$fl$0284) - ) - (set_local $$incdec$ptr169269 - (get_local $$storemerge$191) - ) - (set_local $$l10n$3 - (get_local $$l10n$2) - ) - (set_local $$w$1 - (get_local $$w$0) - ) ) ) - ) - (block - (set_local $$conv$4$i - (i32.shr_s - (i32.shl - (get_local $$12) + (block + (set_local $$conv$4$i + (i32.shr_s + (i32.shl + (get_local $$12) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) - ) - ) - (set_local $$isdigittmp$5$i - (i32.add - (get_local $$conv$4$i) - (i32.const -48) - ) - ) - (set_local $$isdigit$6$i - (i32.lt_u - (get_local $$isdigittmp$5$i) - (i32.const 10) ) - ) - (if - (get_local $$isdigit$6$i) - (block - (set_local $$29 - (get_local $$storemerge$186282) - ) - (set_local $$i$07$i - (i32.const 0) + (set_local $$isdigittmp$5$i + (i32.add + (get_local $$conv$4$i) + (i32.const -48) ) - (set_local $$isdigittmp8$i + ) + (set_local $$isdigit$6$i + (i32.lt_u (get_local $$isdigittmp$5$i) + (i32.const 10) ) - (loop $while-out$14 $while-in$15 - (set_local $$mul$i - (i32.mul - (get_local $$i$07$i) - (i32.const 10) - ) - ) - (set_local $$add$i - (i32.add - (get_local $$mul$i) - (get_local $$isdigittmp8$i) - ) + ) + (if + (get_local $$isdigit$6$i) + (block + (set_local $$29 + (get_local $$storemerge$186282) ) - (set_local $$incdec$ptr$i - (i32.add - (get_local $$29) - (i32.const 1) - ) + (set_local $$i$07$i + (i32.const 0) ) - (set_local $$30 - (i32.load8_s - (get_local $$incdec$ptr$i) - ) + (set_local $$isdigittmp8$i + (get_local $$isdigittmp$5$i) ) - (set_local $$conv$i - (i32.shr_s - (i32.shl - (get_local $$30) - (i32.const 24) + (loop $while-in$15 + (block $while-out$14 + (set_local $$mul$i + (i32.mul + (get_local $$i$07$i) + (i32.const 10) + ) ) - (i32.const 24) - ) - ) - (set_local $$isdigittmp$i - (i32.add - (get_local $$conv$i) - (i32.const -48) + (set_local $$add$i + (i32.add + (get_local $$mul$i) + (get_local $$isdigittmp8$i) + ) + ) + (set_local $$incdec$ptr$i + (i32.add + (get_local $$29) + (i32.const 1) + ) + ) + (set_local $$30 + (i32.load8_s + (get_local $$incdec$ptr$i) + ) + ) + (set_local $$conv$i + (i32.shr_s + (i32.shl + (get_local $$30) + (i32.const 24) + ) + (i32.const 24) + ) + ) + (set_local $$isdigittmp$i + (i32.add + (get_local $$conv$i) + (i32.const -48) + ) + ) + (set_local $$isdigit$i + (i32.lt_u + (get_local $$isdigittmp$i) + (i32.const 10) + ) + ) + (if + (get_local $$isdigit$i) + (block + (set_local $$29 + (get_local $$incdec$ptr$i) + ) + (set_local $$i$07$i + (get_local $$add$i) + ) + (set_local $$isdigittmp8$i + (get_local $$isdigittmp$i) + ) + ) + (block + (set_local $$add$i$lcssa + (get_local $$add$i) + ) + (set_local $$incdec$ptr$i$lcssa + (get_local $$incdec$ptr$i) + ) + (br $while-out$14) + ) + ) + (br $while-in$15) ) ) - (set_local $$isdigit$i - (i32.lt_u - (get_local $$isdigittmp$i) - (i32.const 10) + (set_local $$cmp105 + (i32.lt_s + (get_local $$add$i$lcssa) + (i32.const 0) ) ) (if - (get_local $$isdigit$i) + (get_local $$cmp105) (block - (set_local $$29 - (get_local $$incdec$ptr$i) - ) - (set_local $$i$07$i - (get_local $$add$i) - ) - (set_local $$isdigittmp8$i - (get_local $$isdigittmp$i) + (set_local $$retval$0 + (i32.const -1) ) + (br $label$break$L1) ) (block - (set_local $$add$i$lcssa - (get_local $$add$i) + (set_local $$fl$1 + (get_local $$fl$0284) + ) + (set_local $$incdec$ptr169269 + (get_local $$incdec$ptr$i$lcssa) ) - (set_local $$incdec$ptr$i$lcssa - (get_local $$incdec$ptr$i) + (set_local $$l10n$3 + (get_local $$l10n$1) + ) + (set_local $$w$1 + (get_local $$add$i$lcssa) ) - (br $while-out$14) ) ) - (br $while-in$15) ) - (set_local $$cmp105 - (i32.lt_s - (get_local $$add$i$lcssa) + (block + (set_local $$fl$1 + (get_local $$fl$0284) + ) + (set_local $$incdec$ptr169269 + (get_local $$storemerge$186282) + ) + (set_local $$l10n$3 + (get_local $$l10n$1) + ) + (set_local $$w$1 (i32.const 0) ) ) - (if - (get_local $$cmp105) - (block - (set_local $$retval$0 - (i32.const -1) - ) - (br $label$break$L1) - ) - (block - (set_local $$fl$1 - (get_local $$fl$0284) - ) - (set_local $$incdec$ptr169269 - (get_local $$incdec$ptr$i$lcssa) - ) - (set_local $$l10n$3 - (get_local $$l10n$1) - ) - (set_local $$w$1 - (get_local $$add$i$lcssa) - ) - ) - ) - ) - (block - (set_local $$fl$1 - (get_local $$fl$0284) - ) - (set_local $$incdec$ptr169269 - (get_local $$storemerge$186282) - ) - (set_local $$l10n$3 - (get_local $$l10n$1) - ) - (set_local $$w$1 - (i32.const 0) - ) ) ) ) ) - ) - (set_local $$31 - (i32.load8_s - (get_local $$incdec$ptr169269) + (set_local $$31 + (i32.load8_s + (get_local $$incdec$ptr169269) + ) ) - ) - (set_local $$cmp111 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$31) + (set_local $$cmp111 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$31) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) + (i32.const 46) ) - (i32.const 46) ) - ) - (block $label$break$L46 - (if - (get_local $$cmp111) - (block - (set_local $$arrayidx114 - (i32.add - (get_local $$incdec$ptr169269) - (i32.const 1) - ) - ) - (set_local $$32 - (i32.load8_s - (get_local $$arrayidx114) - ) - ) - (set_local $$cmp116 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$32) - (i32.const 24) - ) - (i32.const 24) + (block $label$break$L46 + (if + (get_local $$cmp111) + (block + (set_local $$arrayidx114 + (i32.add + (get_local $$incdec$ptr169269) + (i32.const 1) ) - (i32.const 42) ) - ) - (if - (i32.eqz - (get_local $$cmp116) + (set_local $$32 + (i32.load8_s + (get_local $$arrayidx114) + ) ) - (block - (set_local $$conv$4$i$197 + (set_local $$cmp116 + (i32.eq (i32.shr_s (i32.shl (get_local $$32) @@ -7167,415 +7180,528 @@ ) (i32.const 24) ) + (i32.const 42) ) - (set_local $$isdigittmp$5$i$198 - (i32.add - (get_local $$conv$4$i$197) - (i32.const -48) - ) - ) - (set_local $$isdigit$6$i$199 - (i32.lt_u - (get_local $$isdigittmp$5$i$198) - (i32.const 10) - ) - ) - (if - (get_local $$isdigit$6$i$199) - (block - (set_local $$49 - (get_local $$arrayidx114) - ) - (set_local $$i$07$i$201 - (i32.const 0) - ) - (set_local $$isdigittmp8$i$200 - (get_local $$isdigittmp$5$i$198) - ) - ) - (block - (set_local $$incdec$ptr169272 - (get_local $$arrayidx114) - ) - (set_local $$p$0 - (i32.const 0) - ) - (br $label$break$L46) - ) + ) + (if + (i32.eqz + (get_local $$cmp116) ) - (loop $while-out$17 $while-in$18 - (set_local $$mul$i$202 - (i32.mul - (get_local $$i$07$i$201) - (i32.const 10) - ) - ) - (set_local $$add$i$203 - (i32.add - (get_local $$mul$i$202) - (get_local $$isdigittmp8$i$200) - ) - ) - (set_local $$incdec$ptr$i$204 - (i32.add - (get_local $$49) - (i32.const 1) - ) - ) - (set_local $$50 - (i32.load8_s - (get_local $$incdec$ptr$i$204) - ) - ) - (set_local $$conv$i$205 + (block + (set_local $$conv$4$i$197 (i32.shr_s (i32.shl - (get_local $$50) + (get_local $$32) (i32.const 24) ) (i32.const 24) ) ) - (set_local $$isdigittmp$i$206 + (set_local $$isdigittmp$5$i$198 (i32.add - (get_local $$conv$i$205) + (get_local $$conv$4$i$197) (i32.const -48) ) ) - (set_local $$isdigit$i$207 + (set_local $$isdigit$6$i$199 (i32.lt_u - (get_local $$isdigittmp$i$206) + (get_local $$isdigittmp$5$i$198) (i32.const 10) ) ) (if - (get_local $$isdigit$i$207) + (get_local $$isdigit$6$i$199) (block (set_local $$49 - (get_local $$incdec$ptr$i$204) + (get_local $$arrayidx114) ) (set_local $$i$07$i$201 - (get_local $$add$i$203) + (i32.const 0) ) (set_local $$isdigittmp8$i$200 - (get_local $$isdigittmp$i$206) + (get_local $$isdigittmp$5$i$198) ) ) (block (set_local $$incdec$ptr169272 - (get_local $$incdec$ptr$i$204) + (get_local $$arrayidx114) ) (set_local $$p$0 - (get_local $$add$i$203) + (i32.const 0) ) (br $label$break$L46) ) ) - (br $while-in$18) + (loop $while-in$18 + (block $while-out$17 + (set_local $$mul$i$202 + (i32.mul + (get_local $$i$07$i$201) + (i32.const 10) + ) + ) + (set_local $$add$i$203 + (i32.add + (get_local $$mul$i$202) + (get_local $$isdigittmp8$i$200) + ) + ) + (set_local $$incdec$ptr$i$204 + (i32.add + (get_local $$49) + (i32.const 1) + ) + ) + (set_local $$50 + (i32.load8_s + (get_local $$incdec$ptr$i$204) + ) + ) + (set_local $$conv$i$205 + (i32.shr_s + (i32.shl + (get_local $$50) + (i32.const 24) + ) + (i32.const 24) + ) + ) + (set_local $$isdigittmp$i$206 + (i32.add + (get_local $$conv$i$205) + (i32.const -48) + ) + ) + (set_local $$isdigit$i$207 + (i32.lt_u + (get_local $$isdigittmp$i$206) + (i32.const 10) + ) + ) + (if + (get_local $$isdigit$i$207) + (block + (set_local $$49 + (get_local $$incdec$ptr$i$204) + ) + (set_local $$i$07$i$201 + (get_local $$add$i$203) + ) + (set_local $$isdigittmp8$i$200 + (get_local $$isdigittmp$i$206) + ) + ) + (block + (set_local $$incdec$ptr169272 + (get_local $$incdec$ptr$i$204) + ) + (set_local $$p$0 + (get_local $$add$i$203) + ) + (br $label$break$L46) + ) + ) + (br $while-in$18) + ) + ) ) ) - ) - (set_local $$arrayidx119 - (i32.add - (get_local $$incdec$ptr169269) - (i32.const 2) + (set_local $$arrayidx119 + (i32.add + (get_local $$incdec$ptr169269) + (i32.const 2) + ) ) - ) - (set_local $$33 - (i32.load8_s - (get_local $$arrayidx119) + (set_local $$33 + (i32.load8_s + (get_local $$arrayidx119) + ) ) - ) - (set_local $$conv120 - (i32.shr_s - (i32.shl - (get_local $$33) + (set_local $$conv120 + (i32.shr_s + (i32.shl + (get_local $$33) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) ) - ) - (set_local $$isdigittmp187 - (i32.add - (get_local $$conv120) - (i32.const -48) + (set_local $$isdigittmp187 + (i32.add + (get_local $$conv120) + (i32.const -48) + ) ) - ) - (set_local $$isdigit188 - (i32.lt_u - (get_local $$isdigittmp187) - (i32.const 10) + (set_local $$isdigit188 + (i32.lt_u + (get_local $$isdigittmp187) + (i32.const 10) + ) ) - ) - (if - (get_local $$isdigit188) - (block - (set_local $$arrayidx124 - (i32.add - (get_local $$incdec$ptr169269) - (i32.const 3) + (if + (get_local $$isdigit188) + (block + (set_local $$arrayidx124 + (i32.add + (get_local $$incdec$ptr169269) + (i32.const 3) + ) ) - ) - (set_local $$34 - (i32.load8_s - (get_local $$arrayidx124) + (set_local $$34 + (i32.load8_s + (get_local $$arrayidx124) + ) ) - ) - (set_local $$cmp126 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$34) + (set_local $$cmp126 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$34) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) + (i32.const 36) ) - (i32.const 36) ) - ) - (if - (get_local $$cmp126) - (block - (set_local $$arrayidx132 - (i32.add - (get_local $$nl_type) - (i32.shl - (get_local $$isdigittmp187) - (i32.const 2) + (if + (get_local $$cmp126) + (block + (set_local $$arrayidx132 + (i32.add + (get_local $$nl_type) + (i32.shl + (get_local $$isdigittmp187) + (i32.const 2) + ) ) ) - ) - (i32.store - (get_local $$arrayidx132) - (i32.const 10) - ) - (set_local $$35 - (i32.load8_s - (get_local $$arrayidx119) + (i32.store + (get_local $$arrayidx132) + (i32.const 10) ) - ) - (set_local $$conv134 - (i32.shr_s - (i32.shl - (get_local $$35) + (set_local $$35 + (i32.load8_s + (get_local $$arrayidx119) + ) + ) + (set_local $$conv134 + (i32.shr_s + (i32.shl + (get_local $$35) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) ) - ) - (set_local $$sub135 - (i32.add - (get_local $$conv134) - (i32.const -48) + (set_local $$sub135 + (i32.add + (get_local $$conv134) + (i32.const -48) + ) ) - ) - (set_local $$i137 - (i32.add - (get_local $$nl_arg) - (i32.shl - (get_local $$sub135) - (i32.const 3) + (set_local $$i137 + (i32.add + (get_local $$nl_arg) + (i32.shl + (get_local $$sub135) + (i32.const 3) + ) ) ) - ) - (set_local $$36 - (get_local $$i137) - ) - (set_local $$37 - (get_local $$36) - ) - (set_local $$38 - (i32.load - (get_local $$37) + (set_local $$36 + (get_local $$i137) ) - ) - (set_local $$39 - (i32.add + (set_local $$37 (get_local $$36) - (i32.const 4) ) - ) - (set_local $$40 - (get_local $$39) - ) - (set_local $$41 - (i32.load - (get_local $$40) + (set_local $$38 + (i32.load + (get_local $$37) + ) ) - ) - (set_local $$add$ptr139 - (i32.add - (get_local $$incdec$ptr169269) - (i32.const 4) + (set_local $$39 + (i32.add + (get_local $$36) + (i32.const 4) + ) ) + (set_local $$40 + (get_local $$39) + ) + (set_local $$41 + (i32.load + (get_local $$40) + ) + ) + (set_local $$add$ptr139 + (i32.add + (get_local $$incdec$ptr169269) + (i32.const 4) + ) + ) + (set_local $$incdec$ptr169272 + (get_local $$add$ptr139) + ) + (set_local $$p$0 + (get_local $$38) + ) + (br $label$break$L46) ) - (set_local $$incdec$ptr169272 - (get_local $$add$ptr139) - ) - (set_local $$p$0 - (get_local $$38) - ) - (br $label$break$L46) ) ) ) - ) - (set_local $$tobool141 - (i32.eq - (get_local $$l10n$3) - (i32.const 0) - ) - ) - (if - (i32.eqz - (get_local $$tobool141) - ) - (block - (set_local $$retval$0 - (i32.const -1) + (set_local $$tobool141 + (i32.eq + (get_local $$l10n$3) + (i32.const 0) ) - (br $label$break$L1) ) - ) - (if - (get_local $$tobool25) - (block - (set_local $$arglist_current2 - (i32.load - (get_local $$ap) - ) - ) - (set_local $$42 - (get_local $$arglist_current2) + (if + (i32.eqz + (get_local $$tobool141) ) - (set_local $$43 - (i32.add - (i32.const 0) - (i32.const 4) + (block + (set_local $$retval$0 + (i32.const -1) ) + (br $label$break$L1) ) - (set_local $$expanded11 - (get_local $$43) - ) - (set_local $$expanded10 - (i32.sub - (get_local $$expanded11) - (i32.const 1) + ) + (if + (get_local $$tobool25) + (block + (set_local $$arglist_current2 + (i32.load + (get_local $$ap) + ) ) - ) - (set_local $$44 - (i32.add - (get_local $$42) - (get_local $$expanded10) + (set_local $$42 + (get_local $$arglist_current2) ) - ) - (set_local $$45 - (i32.add - (i32.const 0) - (i32.const 4) + (set_local $$43 + (i32.add + (i32.const 0) + (i32.const 4) + ) ) - ) - (set_local $$expanded15 - (get_local $$45) - ) - (set_local $$expanded14 - (i32.sub - (get_local $$expanded15) - (i32.const 1) + (set_local $$expanded11 + (get_local $$43) ) - ) - (set_local $$expanded13 - (i32.xor - (get_local $$expanded14) - (i32.const -1) + (set_local $$expanded10 + (i32.sub + (get_local $$expanded11) + (i32.const 1) + ) + ) + (set_local $$44 + (i32.add + (get_local $$42) + (get_local $$expanded10) + ) + ) + (set_local $$45 + (i32.add + (i32.const 0) + (i32.const 4) + ) + ) + (set_local $$expanded15 + (get_local $$45) + ) + (set_local $$expanded14 + (i32.sub + (get_local $$expanded15) + (i32.const 1) + ) + ) + (set_local $$expanded13 + (i32.xor + (get_local $$expanded14) + (i32.const -1) + ) + ) + (set_local $$46 + (i32.and + (get_local $$44) + (get_local $$expanded13) + ) + ) + (set_local $$47 + (get_local $$46) + ) + (set_local $$48 + (i32.load + (get_local $$47) + ) + ) + (set_local $$arglist_next3 + (i32.add + (get_local $$47) + (i32.const 4) + ) + ) + (i32.store + (get_local $$ap) + (get_local $$arglist_next3) + ) + (set_local $$incdec$ptr169272 + (get_local $$arrayidx119) + ) + (set_local $$p$0 + (get_local $$48) ) ) - (set_local $$46 - (i32.and - (get_local $$44) - (get_local $$expanded13) + (block + (set_local $$incdec$ptr169272 + (get_local $$arrayidx119) + ) + (set_local $$p$0 + (i32.const 0) ) ) - (set_local $$47 - (get_local $$46) + ) + ) + (block + (set_local $$incdec$ptr169272 + (get_local $$incdec$ptr169269) + ) + (set_local $$p$0 + (i32.const -1) + ) + ) + ) + ) + (set_local $$incdec$ptr169271 + (get_local $$incdec$ptr169272) + ) + (set_local $$st$0 + (i32.const 0) + ) + (loop $while-in$20 + (block $while-out$19 + (set_local $$51 + (i32.load8_s + (get_local $$incdec$ptr169271) + ) + ) + (set_local $$conv163 + (i32.shr_s + (i32.shl + (get_local $$51) + (i32.const 24) ) - (set_local $$48 - (i32.load - (get_local $$47) - ) + (i32.const 24) + ) + ) + (set_local $$sub164 + (i32.add + (get_local $$conv163) + (i32.const -65) + ) + ) + (set_local $$cmp165 + (i32.gt_u + (get_local $$sub164) + (i32.const 57) + ) + ) + (if + (get_local $$cmp165) + (block + (set_local $$retval$0 + (i32.const -1) ) - (set_local $$arglist_next3 - (i32.add - (get_local $$47) - (i32.const 4) + (br $label$break$L1) + ) + ) + (set_local $$incdec$ptr169 + (i32.add + (get_local $$incdec$ptr169271) + (i32.const 1) + ) + ) + (set_local $$arrayidx173 + (i32.add + (i32.add + (i32.const 3611) + (i32.mul + (get_local $$st$0) + (i32.const 58) ) ) - (i32.store - (get_local $$ap) - (get_local $$arglist_next3) - ) - (set_local $$incdec$ptr169272 - (get_local $$arrayidx119) + (get_local $$sub164) + ) + ) + (set_local $$52 + (i32.load8_s + (get_local $$arrayidx173) + ) + ) + (set_local $$conv174 + (i32.and + (get_local $$52) + (i32.const 255) + ) + ) + (set_local $$sub175 + (i32.add + (get_local $$conv174) + (i32.const -1) + ) + ) + (set_local $$cmp176 + (i32.lt_u + (get_local $$sub175) + (i32.const 8) + ) + ) + (if + (get_local $$cmp176) + (block + (set_local $$incdec$ptr169271 + (get_local $$incdec$ptr169) ) - (set_local $$p$0 - (get_local $$48) + (set_local $$st$0 + (get_local $$conv174) ) ) (block - (set_local $$incdec$ptr169272 - (get_local $$arrayidx119) + (set_local $$$lcssa + (get_local $$52) ) - (set_local $$p$0 - (i32.const 0) + (set_local $$conv174$lcssa + (get_local $$conv174) + ) + (set_local $$incdec$ptr169$lcssa + (get_local $$incdec$ptr169) ) + (set_local $$incdec$ptr169271$lcssa414 + (get_local $$incdec$ptr169271) + ) + (set_local $$st$0$lcssa415 + (get_local $$st$0) + ) + (br $while-out$19) ) ) - ) - (block - (set_local $$incdec$ptr169272 - (get_local $$incdec$ptr169269) - ) - (set_local $$p$0 - (i32.const -1) - ) - ) - ) - ) - (set_local $$incdec$ptr169271 - (get_local $$incdec$ptr169272) - ) - (set_local $$st$0 - (i32.const 0) - ) - (loop $while-out$19 $while-in$20 - (set_local $$51 - (i32.load8_s - (get_local $$incdec$ptr169271) + (br $while-in$20) ) ) - (set_local $$conv163 - (i32.shr_s - (i32.shl - (get_local $$51) + (set_local $$tobool178 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$$lcssa) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) - ) - ) - (set_local $$sub164 - (i32.add - (get_local $$conv163) - (i32.const -65) - ) - ) - (set_local $$cmp165 - (i32.gt_u - (get_local $$sub164) - (i32.const 57) + (i32.const 0) ) ) (if - (get_local $$cmp165) + (get_local $$tobool178) (block (set_local $$retval$0 (i32.const -1) @@ -7583,396 +7709,329 @@ (br $label$break$L1) ) ) - (set_local $$incdec$ptr169 - (i32.add - (get_local $$incdec$ptr169271) - (i32.const 1) - ) - ) - (set_local $$arrayidx173 - (i32.add - (i32.add - (i32.const 3611) - (i32.mul - (get_local $$st$0) - (i32.const 58) + (set_local $$cmp181 + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$$lcssa) + (i32.const 24) ) + (i32.const 24) ) - (get_local $$sub164) - ) - ) - (set_local $$52 - (i32.load8_s - (get_local $$arrayidx173) - ) - ) - (set_local $$conv174 - (i32.and - (get_local $$52) - (i32.const 255) + (i32.const 19) ) ) - (set_local $$sub175 - (i32.add - (get_local $$conv174) + (set_local $$cmp184 + (i32.gt_s + (get_local $$argpos$0) (i32.const -1) ) ) - (set_local $$cmp176 - (i32.lt_u - (get_local $$sub175) - (i32.const 8) - ) - ) - (if - (get_local $$cmp176) - (block - (set_local $$incdec$ptr169271 - (get_local $$incdec$ptr169) + (block $do-once$21 + (if + (get_local $$cmp181) + (if + (get_local $$cmp184) + (block + (set_local $$retval$0 + (i32.const -1) + ) + (br $label$break$L1) + ) + (set_local $label + (i32.const 52) + ) ) - (set_local $$st$0 - (get_local $$conv174) - ) - ) - (block - (set_local $$$lcssa - (get_local $$52) - ) - (set_local $$conv174$lcssa - (get_local $$conv174) - ) - (set_local $$incdec$ptr169$lcssa - (get_local $$incdec$ptr169) - ) - (set_local $$incdec$ptr169271$lcssa414 - (get_local $$incdec$ptr169271) - ) - (set_local $$st$0$lcssa415 - (get_local $$st$0) - ) - (br $while-out$19) - ) - ) - (br $while-in$20) - ) - (set_local $$tobool178 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$$lcssa) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const 0) - ) - ) - (if - (get_local $$tobool178) - (block - (set_local $$retval$0 - (i32.const -1) - ) - (br $label$break$L1) - ) - ) - (set_local $$cmp181 - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$$lcssa) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const 19) - ) - ) - (set_local $$cmp184 - (i32.gt_s - (get_local $$argpos$0) - (i32.const -1) - ) - ) - (block $do-once$21 - (if - (get_local $$cmp181) - (if - (get_local $$cmp184) (block - (set_local $$retval$0 - (i32.const -1) - ) - (br $label$break$L1) - ) - (set_local $label - (i32.const 52) - ) - ) - (block - (if - (get_local $$cmp184) - (block - (set_local $$arrayidx192 - (i32.add - (get_local $$nl_type) - (i32.shl - (get_local $$argpos$0) - (i32.const 2) + (if + (get_local $$cmp184) + (block + (set_local $$arrayidx192 + (i32.add + (get_local $$nl_type) + (i32.shl + (get_local $$argpos$0) + (i32.const 2) + ) ) ) - ) - (i32.store - (get_local $$arrayidx192) - (get_local $$conv174$lcssa) - ) - (set_local $$53 - (i32.add - (get_local $$nl_arg) - (i32.shl - (get_local $$argpos$0) - (i32.const 3) + (i32.store + (get_local $$arrayidx192) + (get_local $$conv174$lcssa) + ) + (set_local $$53 + (i32.add + (get_local $$nl_arg) + (i32.shl + (get_local $$argpos$0) + (i32.const 3) + ) ) ) - ) - (set_local $$54 - (get_local $$53) - ) - (set_local $$55 - (get_local $$54) - ) - (set_local $$56 - (i32.load - (get_local $$55) + (set_local $$54 + (get_local $$53) ) - ) - (set_local $$57 - (i32.add + (set_local $$55 (get_local $$54) - (i32.const 4) ) - ) - (set_local $$58 - (get_local $$57) - ) - (set_local $$59 - (i32.load - (get_local $$58) + (set_local $$56 + (i32.load + (get_local $$55) + ) ) - ) - (set_local $$60 - (get_local $$arg) - ) - (set_local $$61 - (get_local $$60) - ) - (i32.store - (get_local $$61) - (get_local $$56) - ) - (set_local $$62 - (i32.add + (set_local $$57 + (i32.add + (get_local $$54) + (i32.const 4) + ) + ) + (set_local $$58 + (get_local $$57) + ) + (set_local $$59 + (i32.load + (get_local $$58) + ) + ) + (set_local $$60 + (get_local $$arg) + ) + (set_local $$61 (get_local $$60) - (i32.const 4) ) + (i32.store + (get_local $$61) + (get_local $$56) + ) + (set_local $$62 + (i32.add + (get_local $$60) + (i32.const 4) + ) + ) + (set_local $$63 + (get_local $$62) + ) + (i32.store + (get_local $$63) + (get_local $$59) + ) + (set_local $label + (i32.const 52) + ) + (br $do-once$21) ) - (set_local $$63 - (get_local $$62) - ) - (i32.store - (get_local $$63) - (get_local $$59) + ) + (if + (i32.eqz + (get_local $$tobool25) ) - (set_local $label - (i32.const 52) + (block + (set_local $$retval$0 + (i32.const 0) + ) + (br $label$break$L1) ) - (br $do-once$21) ) + (call $_pop_arg_336 + (get_local $$arg) + (get_local $$conv174$lcssa) + (get_local $$ap) + ) + ) + ) + ) + (if + (i32.eq + (get_local $label) + (i32.const 52) + ) + (block + (set_local $label + (i32.const 0) ) (if (i32.eqz (get_local $$tobool25) ) (block - (set_local $$retval$0 - (i32.const 0) + (set_local $$cnt$0 + (get_local $$cnt$1) ) - (br $label$break$L1) + (set_local $$incdec$ptr169275 + (get_local $$incdec$ptr169$lcssa) + ) + (set_local $$l$0 + (get_local $$sub$ptr$sub) + ) + (set_local $$l10n$0 + (get_local $$l10n$3) + ) + (br $label$continue$L1) ) ) - (call $_pop_arg_336 - (get_local $$arg) - (get_local $$conv174$lcssa) - (get_local $$ap) - ) ) ) - ) - (if - (i32.eq - (get_local $label) - (i32.const 52) - ) - (block - (set_local $label - (i32.const 0) - ) - (if - (i32.eqz - (get_local $$tobool25) - ) - (block - (set_local $$cnt$0 - (get_local $$cnt$1) - ) - (set_local $$incdec$ptr169275 - (get_local $$incdec$ptr169$lcssa) - ) - (set_local $$l$0 - (get_local $$sub$ptr$sub) - ) - (set_local $$l10n$0 - (get_local $$l10n$3) - ) - (br $label$continue$L1) - ) + (set_local $$64 + (i32.load8_s + (get_local $$incdec$ptr169271$lcssa414) ) ) - ) - (set_local $$64 - (i32.load8_s - (get_local $$incdec$ptr169271$lcssa414) - ) - ) - (set_local $$conv207 - (i32.shr_s - (i32.shl - (get_local $$64) + (set_local $$conv207 + (i32.shr_s + (i32.shl + (get_local $$64) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) ) - ) - (set_local $$tobool208 - (i32.ne - (get_local $$st$0$lcssa415) - (i32.const 0) + (set_local $$tobool208 + (i32.ne + (get_local $$st$0$lcssa415) + (i32.const 0) + ) ) - ) - (set_local $$and210 - (i32.and - (get_local $$conv207) - (i32.const 15) + (set_local $$and210 + (i32.and + (get_local $$conv207) + (i32.const 15) + ) ) - ) - (set_local $$cmp211 - (i32.eq - (get_local $$and210) - (i32.const 3) + (set_local $$cmp211 + (i32.eq + (get_local $$and210) + (i32.const 3) + ) ) - ) - (set_local $$or$cond192 - (i32.and - (get_local $$tobool208) - (get_local $$cmp211) + (set_local $$or$cond192 + (i32.and + (get_local $$tobool208) + (get_local $$cmp211) + ) ) - ) - (set_local $$and214 - (i32.and - (get_local $$conv207) - (i32.const -33) + (set_local $$and214 + (i32.and + (get_local $$conv207) + (i32.const -33) + ) ) - ) - (set_local $$t$0 - (if - (get_local $$or$cond192) - (get_local $$and214) - (get_local $$conv207) + (set_local $$t$0 + (if + (get_local $$or$cond192) + (get_local $$and214) + (get_local $$conv207) + ) ) - ) - (set_local $$and216 - (i32.and - (get_local $$fl$1) - (i32.const 8192) + (set_local $$and216 + (i32.and + (get_local $$fl$1) + (i32.const 8192) + ) ) - ) - (set_local $$tobool217 - (i32.eq - (get_local $$and216) - (i32.const 0) + (set_local $$tobool217 + (i32.eq + (get_local $$and216) + (i32.const 0) + ) ) - ) - (set_local $$and219 - (i32.and - (get_local $$fl$1) - (i32.const -65537) + (set_local $$and219 + (i32.and + (get_local $$fl$1) + (i32.const -65537) + ) ) - ) - (set_local $$fl$1$and219 - (if - (get_local $$tobool217) - (get_local $$fl$1) - (get_local $$and219) + (set_local $$fl$1$and219 + (if + (get_local $$tobool217) + (get_local $$fl$1) + (get_local $$and219) + ) ) - ) - (block $label$break$L75 - (block $switch$24 - (block $switch-default$127 + (block $label$break$L75 + (block $switch$24 (block $switch-default$127 - (block $switch-case$126 - (block $switch-case$55 - (block $switch-case$54 - (block $switch-case$53 - (block $switch-case$52 - (block $switch-case$51 - (block $switch-case$50 - (block $switch-case$49 - (block $switch-case$48 - (block $switch-case$47 - (block $switch-case$46 - (block $switch-case$45 - (block $switch-case$44 - (block $switch-case$43 - (block $switch-case$42 - (block $switch-case$41 - (block $switch-case$40 - (block $switch-case$37 - (block $switch-case$36 - (block $switch-case$35 - (block $switch-case$34 - (br_table $switch-case$49 $switch-default$127 $switch-case$47 $switch-default$127 $switch-case$52 $switch-case$51 $switch-case$50 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$48 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$36 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$53 $switch-default$127 $switch-case$44 $switch-case$42 $switch-case$126 $switch-case$55 $switch-case$54 $switch-default$127 $switch-case$41 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$45 $switch-case$34 $switch-case$40 $switch-case$35 $switch-default$127 $switch-default$127 $switch-case$46 $switch-default$127 $switch-case$43 $switch-default$127 $switch-default$127 $switch-case$37 $switch-default$127 - (i32.sub - (get_local $$t$0) - (i32.const 65) + (block $switch-default$127 + (block $switch-case$126 + (block $switch-case$55 + (block $switch-case$54 + (block $switch-case$53 + (block $switch-case$52 + (block $switch-case$51 + (block $switch-case$50 + (block $switch-case$49 + (block $switch-case$48 + (block $switch-case$47 + (block $switch-case$46 + (block $switch-case$45 + (block $switch-case$44 + (block $switch-case$43 + (block $switch-case$42 + (block $switch-case$41 + (block $switch-case$40 + (block $switch-case$37 + (block $switch-case$36 + (block $switch-case$35 + (block $switch-case$34 + (br_table $switch-case$49 $switch-default$127 $switch-case$47 $switch-default$127 $switch-case$52 $switch-case$51 $switch-case$50 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$48 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$36 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$53 $switch-default$127 $switch-case$44 $switch-case$42 $switch-case$126 $switch-case$55 $switch-case$54 $switch-default$127 $switch-case$41 $switch-default$127 $switch-default$127 $switch-default$127 $switch-case$45 $switch-case$34 $switch-case$40 $switch-case$35 $switch-default$127 $switch-default$127 $switch-case$46 $switch-default$127 $switch-case$43 $switch-default$127 $switch-default$127 $switch-case$37 $switch-default$127 + (i32.sub + (get_local $$t$0) + (i32.const 65) + ) ) ) - ) - (block - (block $switch$25 - (block $switch-default$33 + (block + (block $switch$25 (block $switch-default$33 - (block $switch-case$32 - (block $switch-case$31 - (block $switch-case$30 - (block $switch-case$29 - (block $switch-case$28 - (block $switch-case$27 - (block $switch-case$26 - (br_table $switch-case$26 $switch-case$27 $switch-case$28 $switch-case$29 $switch-case$30 $switch-default$33 $switch-case$31 $switch-case$32 $switch-default$33 - (i32.sub - (get_local $$st$0$lcssa415) - (i32.const 0) + (block $switch-default$33 + (block $switch-case$32 + (block $switch-case$31 + (block $switch-case$30 + (block $switch-case$29 + (block $switch-case$28 + (block $switch-case$27 + (block $switch-case$26 + (br_table $switch-case$26 $switch-case$27 $switch-case$28 $switch-case$29 $switch-case$30 $switch-default$33 $switch-case$31 $switch-case$32 $switch-default$33 + (i32.sub + (get_local $$st$0$lcssa415) + (i32.const 0) + ) + ) + ) + (block + (set_local $$71 + (i32.load + (get_local $$arg) + ) + ) + (i32.store + (get_local $$71) + (get_local $$cnt$1) ) + (set_local $$cnt$0 + (get_local $$cnt$1) + ) + (set_local $$incdec$ptr169275 + (get_local $$incdec$ptr169$lcssa) + ) + (set_local $$l$0 + (get_local $$sub$ptr$sub) + ) + (set_local $$l10n$0 + (get_local $$l10n$3) + ) + (br $label$continue$L1) + (br $switch$25) ) ) (block - (set_local $$71 + (set_local $$72 (i32.load (get_local $$arg) ) ) (i32.store - (get_local $$71) + (get_local $$72) (get_local $$cnt$1) ) (set_local $$cnt$0 @@ -7992,15 +8051,49 @@ ) ) (block - (set_local $$72 - (i32.load - (get_local $$arg) + (set_local $$73 + (i32.lt_s + (get_local $$cnt$1) + (i32.const 0) ) ) - (i32.store - (get_local $$72) + (set_local $$74 + (i32.shr_s + (i32.shl + (get_local $$73) + (i32.const 31) + ) + (i32.const 31) + ) + ) + (set_local $$75 + (i32.load + (get_local $$arg) + ) + ) + (set_local $$76 + (get_local $$75) + ) + (set_local $$77 + (get_local $$76) + ) + (i32.store + (get_local $$77) (get_local $$cnt$1) ) + (set_local $$78 + (i32.add + (get_local $$76) + (i32.const 4) + ) + ) + (set_local $$79 + (get_local $$78) + ) + (i32.store + (get_local $$79) + (get_local $$74) + ) (set_local $$cnt$0 (get_local $$cnt$1) ) @@ -8018,48 +8111,20 @@ ) ) (block - (set_local $$73 - (i32.lt_s + (set_local $$conv229 + (i32.and (get_local $$cnt$1) - (i32.const 0) - ) - ) - (set_local $$74 - (i32.shr_s - (i32.shl - (get_local $$73) - (i32.const 31) - ) - (i32.const 31) + (i32.const 65535) ) ) - (set_local $$75 + (set_local $$80 (i32.load (get_local $$arg) ) ) - (set_local $$76 - (get_local $$75) - ) - (set_local $$77 - (get_local $$76) - ) - (i32.store - (get_local $$77) - (get_local $$cnt$1) - ) - (set_local $$78 - (i32.add - (get_local $$76) - (i32.const 4) - ) - ) - (set_local $$79 - (get_local $$78) - ) - (i32.store - (get_local $$79) - (get_local $$74) + (i32.store16 + (get_local $$80) + (get_local $$conv229) ) (set_local $$cnt$0 (get_local $$cnt$1) @@ -8078,20 +8143,20 @@ ) ) (block - (set_local $$conv229 + (set_local $$conv232 (i32.and (get_local $$cnt$1) - (i32.const 65535) + (i32.const 255) ) ) - (set_local $$80 + (set_local $$81 (i32.load (get_local $$arg) ) ) - (i32.store16 - (get_local $$80) - (get_local $$conv229) + (i32.store8 + (get_local $$81) + (get_local $$conv232) ) (set_local $$cnt$0 (get_local $$cnt$1) @@ -8110,20 +8175,14 @@ ) ) (block - (set_local $$conv232 - (i32.and - (get_local $$cnt$1) - (i32.const 255) - ) - ) - (set_local $$81 + (set_local $$82 (i32.load (get_local $$arg) ) ) - (i32.store8 - (get_local $$81) - (get_local $$conv232) + (i32.store + (get_local $$82) + (get_local $$cnt$1) ) (set_local $$cnt$0 (get_local $$cnt$1) @@ -8142,15 +8201,49 @@ ) ) (block - (set_local $$82 + (set_local $$83 + (i32.lt_s + (get_local $$cnt$1) + (i32.const 0) + ) + ) + (set_local $$84 + (i32.shr_s + (i32.shl + (get_local $$83) + (i32.const 31) + ) + (i32.const 31) + ) + ) + (set_local $$85 (i32.load (get_local $$arg) ) ) + (set_local $$86 + (get_local $$85) + ) + (set_local $$87 + (get_local $$86) + ) (i32.store - (get_local $$82) + (get_local $$87) (get_local $$cnt$1) ) + (set_local $$88 + (i32.add + (get_local $$86) + (i32.const 4) + ) + ) + (set_local $$89 + (get_local $$88) + ) + (i32.store + (get_local $$89) + (get_local $$84) + ) (set_local $$cnt$0 (get_local $$cnt$1) ) @@ -8168,49 +8261,6 @@ ) ) (block - (set_local $$83 - (i32.lt_s - (get_local $$cnt$1) - (i32.const 0) - ) - ) - (set_local $$84 - (i32.shr_s - (i32.shl - (get_local $$83) - (i32.const 31) - ) - (i32.const 31) - ) - ) - (set_local $$85 - (i32.load - (get_local $$arg) - ) - ) - (set_local $$86 - (get_local $$85) - ) - (set_local $$87 - (get_local $$86) - ) - (i32.store - (get_local $$87) - (get_local $$cnt$1) - ) - (set_local $$88 - (i32.add - (get_local $$86) - (i32.const 4) - ) - ) - (set_local $$89 - (get_local $$88) - ) - (i32.store - (get_local $$89) - (get_local $$84) - ) (set_local $$cnt$0 (get_local $$cnt$1) ) @@ -8224,5729 +8274,5763 @@ (get_local $$l10n$3) ) (br $label$continue$L1) - (br $switch$25) - ) - ) - (block - (set_local $$cnt$0 - (get_local $$cnt$1) - ) - (set_local $$incdec$ptr169275 - (get_local $$incdec$ptr169$lcssa) - ) - (set_local $$l$0 - (get_local $$sub$ptr$sub) - ) - (set_local $$l10n$0 - (get_local $$l10n$3) ) - (br $label$continue$L1) ) ) + (br $switch$24) ) - (br $switch$24) ) - ) - (block - (set_local $$cmp240 - (i32.gt_u - (get_local $$p$0) - (i32.const 8) + (block + (set_local $$cmp240 + (i32.gt_u + (get_local $$p$0) + (i32.const 8) + ) ) - ) - (set_local $$cond245 - (if - (get_local $$cmp240) - (get_local $$p$0) - (i32.const 8) + (set_local $$cond245 + (if + (get_local $$cmp240) + (get_local $$p$0) + (i32.const 8) + ) ) - ) - (set_local $$or246 - (i32.or - (get_local $$fl$1$and219) - (i32.const 8) + (set_local $$or246 + (i32.or + (get_local $$fl$1$and219) + (i32.const 8) + ) ) + (set_local $$fl$3 + (get_local $$or246) + ) + (set_local $$p$1 + (get_local $$cond245) + ) + (set_local $$t$1 + (i32.const 120) + ) + (set_local $label + (i32.const 64) + ) + (br $switch$24) ) - (set_local $$fl$3 - (get_local $$or246) - ) - (set_local $$p$1 - (get_local $$cond245) - ) - (set_local $$t$1 - (i32.const 120) - ) - (set_local $label - (i32.const 64) - ) - (br $switch$24) ) + (nop) ) - (nop) - ) - (block - (set_local $$fl$3 - (get_local $$fl$1$and219) - ) - (set_local $$p$1 - (get_local $$p$0) - ) - (set_local $$t$1 - (get_local $$t$0) - ) - (set_local $label - (i32.const 64) + (block + (set_local $$fl$3 + (get_local $$fl$1$and219) + ) + (set_local $$p$1 + (get_local $$p$0) + ) + (set_local $$t$1 + (get_local $$t$0) + ) + (set_local $label + (i32.const 64) + ) + (br $switch$24) ) - (br $switch$24) - ) - ) - (block - (set_local $$116 - (get_local $$arg) ) - (set_local $$117 - (get_local $$116) - ) - (set_local $$118 - (i32.load - (get_local $$117) + (block + (set_local $$116 + (get_local $$arg) ) - ) - (set_local $$119 - (i32.add + (set_local $$117 (get_local $$116) - (i32.const 4) - ) - ) - (set_local $$120 - (get_local $$119) - ) - (set_local $$121 - (i32.load - (get_local $$120) ) - ) - (set_local $$122 - (i32.eq - (get_local $$118) - (i32.const 0) + (set_local $$118 + (i32.load + (get_local $$117) + ) ) - ) - (set_local $$123 - (i32.eq - (get_local $$121) - (i32.const 0) + (set_local $$119 + (i32.add + (get_local $$116) + (i32.const 4) + ) ) - ) - (set_local $$124 - (i32.and - (get_local $$122) - (get_local $$123) + (set_local $$120 + (get_local $$119) ) - ) - (if - (get_local $$124) - (set_local $$s$addr$0$lcssa$i$229 - (get_local $$add$ptr205) + (set_local $$121 + (i32.load + (get_local $$120) + ) ) - (block - (set_local $$126 + (set_local $$122 + (i32.eq (get_local $$118) + (i32.const 0) ) - (set_local $$129 + ) + (set_local $$123 + (i32.eq (get_local $$121) + (i32.const 0) + ) + ) + (set_local $$124 + (i32.and + (get_local $$122) + (get_local $$123) ) - (set_local $$s$addr$06$i$221 + ) + (if + (get_local $$124) + (set_local $$s$addr$0$lcssa$i$229 (get_local $$add$ptr205) ) - (loop $while-out$38 $while-in$39 - (set_local $$125 - (i32.and - (get_local $$126) - (i32.const 7) - ) - ) - (set_local $$127 - (i32.or - (get_local $$125) - (i32.const 48) - ) - ) - (set_local $$128 - (i32.and - (get_local $$127) - (i32.const 255) - ) - ) - (set_local $$incdec$ptr$i$225 - (i32.add - (get_local $$s$addr$06$i$221) - (i32.const -1) - ) - ) - (i32.store8 - (get_local $$incdec$ptr$i$225) - (get_local $$128) - ) - (set_local $$130 - (call $_bitshift64Lshr - (get_local $$126) - (get_local $$129) - (i32.const 3) - ) - ) - (set_local $$131 - (i32.load - (i32.const 168) - ) - ) - (set_local $$132 - (i32.eq - (get_local $$130) - (i32.const 0) - ) + (block + (set_local $$126 + (get_local $$118) ) - (set_local $$133 - (i32.eq - (get_local $$131) - (i32.const 0) - ) + (set_local $$129 + (get_local $$121) ) - (set_local $$134 - (i32.and - (get_local $$132) - (get_local $$133) - ) + (set_local $$s$addr$06$i$221 + (get_local $$add$ptr205) ) - (if - (get_local $$134) - (block - (set_local $$s$addr$0$lcssa$i$229 - (get_local $$incdec$ptr$i$225) + (loop $while-in$39 + (block $while-out$38 + (set_local $$125 + (i32.and + (get_local $$126) + (i32.const 7) + ) ) - (br $while-out$38) - ) - (block - (set_local $$126 - (get_local $$130) + (set_local $$127 + (i32.or + (get_local $$125) + (i32.const 48) + ) + ) + (set_local $$128 + (i32.and + (get_local $$127) + (i32.const 255) + ) ) - (set_local $$129 - (get_local $$131) + (set_local $$incdec$ptr$i$225 + (i32.add + (get_local $$s$addr$06$i$221) + (i32.const -1) + ) ) - (set_local $$s$addr$06$i$221 + (i32.store8 (get_local $$incdec$ptr$i$225) + (get_local $$128) + ) + (set_local $$130 + (call $_bitshift64Lshr + (get_local $$126) + (get_local $$129) + (i32.const 3) + ) + ) + (set_local $$131 + (i32.load + (i32.const 168) + ) + ) + (set_local $$132 + (i32.eq + (get_local $$130) + (i32.const 0) + ) + ) + (set_local $$133 + (i32.eq + (get_local $$131) + (i32.const 0) + ) ) + (set_local $$134 + (i32.and + (get_local $$132) + (get_local $$133) + ) + ) + (if + (get_local $$134) + (block + (set_local $$s$addr$0$lcssa$i$229 + (get_local $$incdec$ptr$i$225) + ) + (br $while-out$38) + ) + (block + (set_local $$126 + (get_local $$130) + ) + (set_local $$129 + (get_local $$131) + ) + (set_local $$s$addr$06$i$221 + (get_local $$incdec$ptr$i$225) + ) + ) + ) + (br $while-in$39) ) ) - (br $while-in$39) ) ) - ) - (set_local $$and263 - (i32.and - (get_local $$fl$1$and219) - (i32.const 8) - ) - ) - (set_local $$tobool264 - (i32.eq - (get_local $$and263) - (i32.const 0) - ) - ) - (if - (get_local $$tobool264) - (block - (set_local $$a$0 - (get_local $$s$addr$0$lcssa$i$229) - ) - (set_local $$fl$4 + (set_local $$and263 + (i32.and (get_local $$fl$1$and219) + (i32.const 8) ) - (set_local $$p$2 - (get_local $$p$0) - ) - (set_local $$pl$1 + ) + (set_local $$tobool264 + (i32.eq + (get_local $$and263) (i32.const 0) ) - (set_local $$prefix$1 - (i32.const 4091) - ) - (set_local $label - (i32.const 77) - ) ) - (block - (set_local $$sub$ptr$rhs$cast267 - (get_local $$s$addr$0$lcssa$i$229) - ) - (set_local $$sub$ptr$sub268 - (i32.sub - (get_local $$sub$ptr$lhs$cast317) - (get_local $$sub$ptr$rhs$cast267) + (if + (get_local $$tobool264) + (block + (set_local $$a$0 + (get_local $$s$addr$0$lcssa$i$229) ) - ) - (set_local $$add269 - (i32.add - (get_local $$sub$ptr$sub268) - (i32.const 1) + (set_local $$fl$4 + (get_local $$fl$1$and219) ) - ) - (set_local $$cmp270 - (i32.lt_s + (set_local $$p$2 (get_local $$p$0) - (get_local $$add269) ) - ) - (set_local $$add269$p$0 - (if - (get_local $$cmp270) - (get_local $$add269) - (get_local $$p$0) + (set_local $$pl$1 + (i32.const 0) + ) + (set_local $$prefix$1 + (i32.const 4091) + ) + (set_local $label + (i32.const 77) ) ) - (set_local $$a$0 - (get_local $$s$addr$0$lcssa$i$229) - ) - (set_local $$fl$4 - (get_local $$fl$1$and219) - ) - (set_local $$p$2 - (get_local $$add269$p$0) - ) - (set_local $$pl$1 - (i32.const 0) - ) - (set_local $$prefix$1 - (i32.const 4091) - ) - (set_local $label - (i32.const 77) + (block + (set_local $$sub$ptr$rhs$cast267 + (get_local $$s$addr$0$lcssa$i$229) + ) + (set_local $$sub$ptr$sub268 + (i32.sub + (get_local $$sub$ptr$lhs$cast317) + (get_local $$sub$ptr$rhs$cast267) + ) + ) + (set_local $$add269 + (i32.add + (get_local $$sub$ptr$sub268) + (i32.const 1) + ) + ) + (set_local $$cmp270 + (i32.lt_s + (get_local $$p$0) + (get_local $$add269) + ) + ) + (set_local $$add269$p$0 + (if + (get_local $$cmp270) + (get_local $$add269) + (get_local $$p$0) + ) + ) + (set_local $$a$0 + (get_local $$s$addr$0$lcssa$i$229) + ) + (set_local $$fl$4 + (get_local $$fl$1$and219) + ) + (set_local $$p$2 + (get_local $$add269$p$0) + ) + (set_local $$pl$1 + (i32.const 0) + ) + (set_local $$prefix$1 + (i32.const 4091) + ) + (set_local $label + (i32.const 77) + ) ) ) + (br $switch$24) ) - (br $switch$24) ) + (nop) ) - (nop) - ) - (block - (set_local $$135 - (get_local $$arg) - ) - (set_local $$136 - (get_local $$135) - ) - (set_local $$137 - (i32.load - (get_local $$136) + (block + (set_local $$135 + (get_local $$arg) ) - ) - (set_local $$138 - (i32.add + (set_local $$136 (get_local $$135) - (i32.const 4) ) - ) - (set_local $$139 - (get_local $$138) - ) - (set_local $$140 - (i32.load - (get_local $$139) - ) - ) - (set_local $$141 - (i32.lt_s - (get_local $$140) - (i32.const 0) - ) - ) - (if - (get_local $$141) - (block - (set_local $$142 - (call $_i64Subtract - (i32.const 0) - (i32.const 0) - (get_local $$137) - (get_local $$140) - ) - ) - (set_local $$143 - (i32.load - (i32.const 168) - ) + (set_local $$137 + (i32.load + (get_local $$136) ) - (set_local $$144 - (get_local $$arg) + ) + (set_local $$138 + (i32.add + (get_local $$135) + (i32.const 4) ) - (set_local $$145 - (get_local $$144) + ) + (set_local $$139 + (get_local $$138) + ) + (set_local $$140 + (i32.load + (get_local $$139) ) - (i32.store - (get_local $$145) - (get_local $$142) + ) + (set_local $$141 + (i32.lt_s + (get_local $$140) + (i32.const 0) ) - (set_local $$146 - (i32.add + ) + (if + (get_local $$141) + (block + (set_local $$142 + (call $_i64Subtract + (i32.const 0) + (i32.const 0) + (get_local $$137) + (get_local $$140) + ) + ) + (set_local $$143 + (i32.load + (i32.const 168) + ) + ) + (set_local $$144 + (get_local $$arg) + ) + (set_local $$145 (get_local $$144) - (i32.const 4) ) + (i32.store + (get_local $$145) + (get_local $$142) + ) + (set_local $$146 + (i32.add + (get_local $$144) + (i32.const 4) + ) + ) + (set_local $$147 + (get_local $$146) + ) + (i32.store + (get_local $$147) + (get_local $$143) + ) + (set_local $$148 + (get_local $$142) + ) + (set_local $$149 + (get_local $$143) + ) + (set_local $$pl$0 + (i32.const 1) + ) + (set_local $$prefix$0 + (i32.const 4091) + ) + (set_local $label + (i32.const 76) + ) + (br $label$break$L75) ) - (set_local $$147 - (get_local $$146) - ) - (i32.store - (get_local $$147) - (get_local $$143) - ) - (set_local $$148 - (get_local $$142) - ) - (set_local $$149 - (get_local $$143) - ) - (set_local $$pl$0 - (i32.const 1) - ) - (set_local $$prefix$0 - (i32.const 4091) - ) - (set_local $label - (i32.const 76) - ) - (br $label$break$L75) ) - ) - (set_local $$and289 - (i32.and - (get_local $$fl$1$and219) - (i32.const 2048) + (set_local $$and289 + (i32.and + (get_local $$fl$1$and219) + (i32.const 2048) + ) ) - ) - (set_local $$tobool290 - (i32.eq - (get_local $$and289) - (i32.const 0) + (set_local $$tobool290 + (i32.eq + (get_local $$and289) + (i32.const 0) + ) ) - ) - (if - (get_local $$tobool290) - (block - (set_local $$and294 - (i32.and - (get_local $$fl$1$and219) - (i32.const 1) + (if + (get_local $$tobool290) + (block + (set_local $$and294 + (i32.and + (get_local $$fl$1$and219) + (i32.const 1) + ) ) - ) - (set_local $$tobool295 - (i32.eq + (set_local $$tobool295 + (i32.eq + (get_local $$and294) + (i32.const 0) + ) + ) + (set_local $$$ + (if + (get_local $$tobool295) + (i32.const 4091) + (i32.const 4093) + ) + ) + (set_local $$148 + (get_local $$137) + ) + (set_local $$149 + (get_local $$140) + ) + (set_local $$pl$0 (get_local $$and294) - (i32.const 0) ) - ) - (set_local $$$ - (if - (get_local $$tobool295) - (i32.const 4091) - (i32.const 4093) + (set_local $$prefix$0 + (get_local $$$) + ) + (set_local $label + (i32.const 76) ) ) - (set_local $$148 - (get_local $$137) - ) - (set_local $$149 - (get_local $$140) - ) - (set_local $$pl$0 - (get_local $$and294) - ) - (set_local $$prefix$0 - (get_local $$$) - ) - (set_local $label - (i32.const 76) + (block + (set_local $$148 + (get_local $$137) + ) + (set_local $$149 + (get_local $$140) + ) + (set_local $$pl$0 + (i32.const 1) + ) + (set_local $$prefix$0 + (i32.const 4092) + ) + (set_local $label + (i32.const 76) + ) ) ) - (block - (set_local $$148 - (get_local $$137) - ) - (set_local $$149 - (get_local $$140) - ) - (set_local $$pl$0 - (i32.const 1) - ) - (set_local $$prefix$0 - (i32.const 4092) - ) - (set_local $label - (i32.const 76) - ) + (br $switch$24) + ) + ) + (block + (set_local $$65 + (get_local $$arg) + ) + (set_local $$66 + (get_local $$65) + ) + (set_local $$67 + (i32.load + (get_local $$66) + ) + ) + (set_local $$68 + (i32.add + (get_local $$65) + (i32.const 4) + ) + ) + (set_local $$69 + (get_local $$68) + ) + (set_local $$70 + (i32.load + (get_local $$69) ) ) + (set_local $$148 + (get_local $$67) + ) + (set_local $$149 + (get_local $$70) + ) + (set_local $$pl$0 + (i32.const 0) + ) + (set_local $$prefix$0 + (i32.const 4091) + ) + (set_local $label + (i32.const 76) + ) (br $switch$24) ) ) (block - (set_local $$65 + (set_local $$161 (get_local $$arg) ) - (set_local $$66 - (get_local $$65) + (set_local $$162 + (get_local $$161) ) - (set_local $$67 + (set_local $$163 (i32.load - (get_local $$66) + (get_local $$162) ) ) - (set_local $$68 + (set_local $$164 (i32.add - (get_local $$65) + (get_local $$161) (i32.const 4) ) ) - (set_local $$69 - (get_local $$68) + (set_local $$165 + (get_local $$164) ) - (set_local $$70 + (set_local $$166 (i32.load - (get_local $$69) + (get_local $$165) + ) + ) + (set_local $$167 + (i32.and + (get_local $$163) + (i32.const 255) ) ) - (set_local $$148 - (get_local $$67) + (i32.store8 + (get_local $$add$ptr340) + (get_local $$167) + ) + (set_local $$a$2 + (get_local $$add$ptr340) ) - (set_local $$149 - (get_local $$70) + (set_local $$fl$6 + (get_local $$and219) + ) + (set_local $$p$5 + (i32.const 1) ) - (set_local $$pl$0 + (set_local $$pl$2 (i32.const 0) ) - (set_local $$prefix$0 + (set_local $$prefix$2 (i32.const 4091) ) - (set_local $label - (i32.const 76) + (set_local $$z$2 + (get_local $$add$ptr205) ) (br $switch$24) ) ) (block - (set_local $$161 - (get_local $$arg) - ) - (set_local $$162 - (get_local $$161) - ) - (set_local $$163 - (i32.load - (get_local $$162) - ) - ) - (set_local $$164 - (i32.add - (get_local $$161) - (i32.const 4) - ) - ) - (set_local $$165 - (get_local $$164) + (set_local $$call344 + (call $___errno_location) ) - (set_local $$166 + (set_local $$168 (i32.load - (get_local $$165) - ) - ) - (set_local $$167 - (i32.and - (get_local $$163) - (i32.const 255) - ) - ) - (i32.store8 - (get_local $$add$ptr340) - (get_local $$167) - ) - (set_local $$a$2 - (get_local $$add$ptr340) - ) - (set_local $$fl$6 - (get_local $$and219) - ) - (set_local $$p$5 - (i32.const 1) - ) - (set_local $$pl$2 - (i32.const 0) - ) - (set_local $$prefix$2 - (i32.const 4091) - ) - (set_local $$z$2 - (get_local $$add$ptr205) - ) - (br $switch$24) - ) - ) - (block - (set_local $$call344 - (call $___errno_location) - ) - (set_local $$168 - (i32.load - (get_local $$call344) - ) - ) - (set_local $$call345 - (call $_strerror - (get_local $$168) - ) - ) - (set_local $$a$1 - (get_local $$call345) - ) - (set_local $label - (i32.const 82) - ) - (br $switch$24) - ) - ) - (block - (set_local $$169 - (i32.load - (get_local $$arg) - ) - ) - (set_local $$tobool349 - (i32.ne - (get_local $$169) - (i32.const 0) - ) - ) - (set_local $$cond354 - (if - (get_local $$tobool349) - (get_local $$169) - (i32.const 4101) - ) - ) - (set_local $$a$1 - (get_local $$cond354) - ) - (set_local $label - (i32.const 82) - ) - (br $switch$24) - ) - ) - (block - (set_local $$170 - (get_local $$arg) - ) - (set_local $$171 - (get_local $$170) - ) - (set_local $$172 - (i32.load - (get_local $$171) - ) - ) - (set_local $$173 - (i32.add - (get_local $$170) - (i32.const 4) - ) - ) - (set_local $$174 - (get_local $$173) - ) - (set_local $$175 - (i32.load - (get_local $$174) - ) - ) - (i32.store - (get_local $$wc) - (get_local $$172) - ) - (i32.store - (get_local $$arrayidx370) - (i32.const 0) - ) - (i32.store - (get_local $$arg) - (get_local $$wc) - ) - (set_local $$p$4365 - (i32.const -1) - ) - (set_local $label - (i32.const 86) - ) - (br $switch$24) - ) - ) - (block - (set_local $$cmp377$314 - (i32.eq - (get_local $$p$0) - (i32.const 0) - ) - ) - (if - (get_local $$cmp377$314) - (block - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$1) - (i32.const 0) - (get_local $$fl$1$and219) - ) - (set_local $$i$0$lcssa368 - (i32.const 0) - ) - (set_local $label - (i32.const 98) - ) - ) - (block - (set_local $$p$4365 - (get_local $$p$0) - ) - (set_local $label - (i32.const 86) - ) - ) - ) - (br $switch$24) - ) - ) - (nop) - ) - (nop) - ) - (nop) - ) - (nop) - ) - (nop) - ) - (nop) - ) - (nop) - ) - (block - (set_local $$181 - (f64.load - (get_local $$arg) - ) - ) - (i32.store - (get_local $$e2$i) - (i32.const 0) - ) - (f64.store - (i32.load - (i32.const 24) - ) - (get_local $$181) - ) - (set_local $$182 - (i32.load - (i32.load - (i32.const 24) - ) - ) - ) - (set_local $$183 - (i32.load - (i32.add - (i32.load - (i32.const 24) - ) - (i32.const 4) - ) - ) - ) - (set_local $$184 - (i32.lt_s - (get_local $$183) - (i32.const 0) - ) - ) - (if - (get_local $$184) - (block - (set_local $$sub$i - (f64.neg - (get_local $$181) - ) - ) - (set_local $$pl$0$i - (i32.const 1) - ) - (set_local $$prefix$0$i - (i32.const 4108) - ) - (set_local $$y$addr$0$i - (get_local $$sub$i) - ) - ) - (block - (set_local $$and$i$238 - (i32.and - (get_local $$fl$1$and219) - (i32.const 2048) - ) - ) - (set_local $$tobool9$i - (i32.eq - (get_local $$and$i$238) - (i32.const 0) - ) - ) - (if - (get_local $$tobool9$i) - (block - (set_local $$and12$i - (i32.and - (get_local $$fl$1$and219) - (i32.const 1) - ) - ) - (set_local $$tobool13$i - (i32.eq - (get_local $$and12$i) - (i32.const 0) - ) - ) - (set_local $$$$i - (if - (get_local $$tobool13$i) - (i32.const 4109) - (i32.const 4114) - ) - ) - (set_local $$pl$0$i - (get_local $$and12$i) - ) - (set_local $$prefix$0$i - (get_local $$$$i) - ) - (set_local $$y$addr$0$i - (get_local $$181) - ) - ) - (block - (set_local $$pl$0$i - (i32.const 1) - ) - (set_local $$prefix$0$i - (i32.const 4111) - ) - (set_local $$y$addr$0$i - (get_local $$181) - ) - ) - ) - ) - ) - (f64.store - (i32.load - (i32.const 24) - ) - (get_local $$y$addr$0$i) - ) - (set_local $$185 - (i32.load - (i32.load - (i32.const 24) - ) - ) - ) - (set_local $$186 - (i32.load - (i32.add - (i32.load - (i32.const 24) - ) - (i32.const 4) - ) - ) - ) - (set_local $$187 - (i32.and - (get_local $$186) - (i32.const 2146435072) - ) - ) - (set_local $$188 - (i32.lt_u - (get_local $$187) - (i32.const 2146435072) - ) - ) - (set_local $$189 - (i32.lt_s - (i32.const 0) - (i32.const 0) - ) - ) - (set_local $$190 - (i32.eq - (get_local $$187) - (i32.const 2146435072) - ) - ) - (set_local $$191 - (i32.and - (get_local $$190) - (get_local $$189) - ) - ) - (set_local $$192 - (i32.or - (get_local $$188) - (get_local $$191) - ) - ) - (block $do-once$56 - (if - (get_local $$192) - (block - (set_local $$call55$i - (call $_frexpl - (get_local $$y$addr$0$i) - (get_local $$e2$i) - ) - ) - (set_local $$mul$i$240 - (f64.mul - (get_local $$call55$i) - (f64.const 2) - ) - ) - (set_local $$tobool56$i - (f64.ne - (get_local $$mul$i$240) - (f64.const 0) - ) - ) - (if - (get_local $$tobool56$i) - (block - (set_local $$195 - (i32.load - (get_local $$e2$i) - ) - ) - (set_local $$dec$i - (i32.add - (get_local $$195) - (i32.const -1) - ) - ) - (i32.store - (get_local $$e2$i) - (get_local $$dec$i) - ) - ) - ) - (set_local $$or$i$241 - (i32.or - (get_local $$t$0) - (i32.const 32) - ) - ) - (set_local $$cmp59$i - (i32.eq - (get_local $$or$i$241) - (i32.const 97) - ) - ) - (if - (get_local $$cmp59$i) - (block - (set_local $$and62$i - (i32.and - (get_local $$t$0) - (i32.const 32) - ) - ) - (set_local $$tobool63$i - (i32.eq - (get_local $$and62$i) - (i32.const 0) - ) - ) - (set_local $$add$ptr65$i - (i32.add - (get_local $$prefix$0$i) - (i32.const 9) - ) - ) - (set_local $$prefix$0$add$ptr65$i - (if - (get_local $$tobool63$i) - (get_local $$prefix$0$i) - (get_local $$add$ptr65$i) - ) - ) - (set_local $$add67$i - (i32.or - (get_local $$pl$0$i) - (i32.const 2) - ) - ) - (set_local $$196 - (i32.gt_u - (get_local $$p$0) - (i32.const 11) - ) - ) - (set_local $$sub74$i - (i32.sub - (i32.const 12) - (get_local $$p$0) - ) - ) - (set_local $$tobool76552$i - (i32.eq - (get_local $$sub74$i) - (i32.const 0) - ) - ) - (set_local $$tobool76$i - (i32.or - (get_local $$196) - (get_local $$tobool76552$i) - ) - ) - (block $do-once$58 - (if - (get_local $$tobool76$i) - (set_local $$y$addr$1$i - (get_local $$mul$i$240) - ) - (block - (set_local $$re$1482$i - (get_local $$sub74$i) - ) - (set_local $$round$0481$i - (f64.const 8) - ) - (loop $while-out$60 $while-in$61 - (set_local $$dec78$i - (i32.add - (get_local $$re$1482$i) - (i32.const -1) - ) - ) - (set_local $$mul80$i - (f64.mul - (get_local $$round$0481$i) - (f64.const 16) - ) - ) - (set_local $$tobool79$i - (i32.eq - (get_local $$dec78$i) - (i32.const 0) - ) - ) - (if - (get_local $$tobool79$i) - (block - (set_local $$mul80$i$lcssa - (get_local $$mul80$i) - ) - (br $while-out$60) - ) - (block - (set_local $$re$1482$i - (get_local $$dec78$i) - ) - (set_local $$round$0481$i - (get_local $$mul80$i) - ) - ) - ) - (br $while-in$61) - ) - (set_local $$197 - (i32.load8_s - (get_local $$prefix$0$add$ptr65$i) - ) - ) - (set_local $$cmp82$i - (i32.eq - (i32.shr_s - (i32.shl - (get_local $$197) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const 45) - ) - ) - (if - (get_local $$cmp82$i) - (block - (set_local $$sub85$i - (f64.neg - (get_local $$mul$i$240) - ) - ) - (set_local $$sub86$i - (f64.sub - (get_local $$sub85$i) - (get_local $$mul80$i$lcssa) - ) - ) - (set_local $$add87$i - (f64.add - (get_local $$mul80$i$lcssa) - (get_local $$sub86$i) - ) - ) - (set_local $$sub88$i - (f64.neg - (get_local $$add87$i) - ) - ) - (set_local $$y$addr$1$i - (get_local $$sub88$i) - ) - (br $do-once$58) - ) - (block - (set_local $$add90$i - (f64.add - (get_local $$mul$i$240) - (get_local $$mul80$i$lcssa) - ) - ) - (set_local $$sub91$i - (f64.sub - (get_local $$add90$i) - (get_local $$mul80$i$lcssa) - ) - ) - (set_local $$y$addr$1$i - (get_local $$sub91$i) - ) - (br $do-once$58) - ) - ) - ) - ) - ) - (set_local $$198 - (i32.load - (get_local $$e2$i) - ) - ) - (set_local $$cmp94$i - (i32.lt_s - (get_local $$198) - (i32.const 0) - ) - ) - (set_local $$sub97$i - (i32.sub - (i32.const 0) - (get_local $$198) - ) - ) - (set_local $$cond100$i - (if - (get_local $$cmp94$i) - (get_local $$sub97$i) - (get_local $$198) - ) - ) - (set_local $$199 - (i32.lt_s - (get_local $$cond100$i) - (i32.const 0) - ) - ) - (set_local $$200 - (i32.shr_s - (i32.shl - (get_local $$199) - (i32.const 31) - ) - (i32.const 31) - ) - ) - (set_local $$201 - (call $_fmt_u - (get_local $$cond100$i) - (get_local $$200) - (get_local $$arrayidx$i$236) - ) - ) - (set_local $$cmp103$i - (i32.eq - (get_local $$201) - (get_local $$arrayidx$i$236) - ) - ) - (if - (get_local $$cmp103$i) - (block - (i32.store8 - (get_local $$incdec$ptr106$i) - (i32.const 48) - ) - (set_local $$estr$0$i - (get_local $$incdec$ptr106$i) - ) - ) - (set_local $$estr$0$i - (get_local $$201) - ) - ) - (set_local $$202 - (i32.shr_s - (get_local $$198) - (i32.const 31) - ) - ) - (set_local $$203 - (i32.and - (get_local $$202) - (i32.const 2) - ) - ) - (set_local $$204 - (i32.add - (get_local $$203) - (i32.const 43) - ) - ) - (set_local $$conv111$i - (i32.and - (get_local $$204) - (i32.const 255) - ) - ) - (set_local $$incdec$ptr112$i - (i32.add - (get_local $$estr$0$i) - (i32.const -1) - ) - ) - (i32.store8 - (get_local $$incdec$ptr112$i) - (get_local $$conv111$i) - ) - (set_local $$add113$i - (i32.add - (get_local $$t$0) - (i32.const 15) - ) - ) - (set_local $$conv114$i - (i32.and - (get_local $$add113$i) - (i32.const 255) - ) - ) - (set_local $$incdec$ptr115$i - (i32.add - (get_local $$estr$0$i) - (i32.const -2) - ) - ) - (i32.store8 - (get_local $$incdec$ptr115$i) - (get_local $$conv114$i) - ) - (set_local $$notrhs$i - (i32.lt_s - (get_local $$p$0) - (i32.const 1) - ) - ) - (set_local $$and134$i - (i32.and - (get_local $$fl$1$and219) - (i32.const 8) - ) - ) - (set_local $$tobool135$i - (i32.eq - (get_local $$and134$i) - (i32.const 0) - ) - ) - (set_local $$s$0$i - (get_local $$buf$i) - ) - (set_local $$y$addr$2$i - (get_local $$y$addr$1$i) - ) - (loop $while-out$62 $while-in$63 - (set_local $$conv116$i - (call_import $f64-to-int - (get_local $$y$addr$2$i) - ) - ) - (set_local $$arrayidx117$i - (i32.add - (i32.const 4075) - (get_local $$conv116$i) - ) - ) - (set_local $$205 - (i32.load8_s - (get_local $$arrayidx117$i) - ) - ) - (set_local $$conv118$393$i - (i32.and - (get_local $$205) - (i32.const 255) - ) - ) - (set_local $$or120$i - (i32.or - (get_local $$conv118$393$i) - (get_local $$and62$i) - ) - ) - (set_local $$conv121$i - (i32.and - (get_local $$or120$i) - (i32.const 255) - ) - ) - (set_local $$incdec$ptr122$i - (i32.add - (get_local $$s$0$i) - (i32.const 1) - ) - ) - (i32.store8 - (get_local $$s$0$i) - (get_local $$conv121$i) - ) - (set_local $$conv123$i - (f64.convert_s/i32 - (get_local $$conv116$i) - ) - ) - (set_local $$sub124$i - (f64.sub - (get_local $$y$addr$2$i) - (get_local $$conv123$i) - ) - ) - (set_local $$mul125$i - (f64.mul - (get_local $$sub124$i) - (f64.const 16) - ) - ) - (set_local $$sub$ptr$lhs$cast$i - (get_local $$incdec$ptr122$i) - ) - (set_local $$sub$ptr$sub$i - (i32.sub - (get_local $$sub$ptr$lhs$cast$i) - (get_local $$sub$ptr$rhs$cast$i) - ) - ) - (set_local $$cmp127$i - (i32.eq - (get_local $$sub$ptr$sub$i) - (i32.const 1) - ) - ) - (block $do-once$64 - (if - (get_local $$cmp127$i) - (block - (set_local $$notlhs$i - (f64.eq - (get_local $$mul125$i) - (f64.const 0) - ) - ) - (set_local $$or$cond1$not$i - (i32.and - (get_local $$notrhs$i) - (get_local $$notlhs$i) - ) - ) - (set_local $$or$cond$i - (i32.and - (get_local $$tobool135$i) - (get_local $$or$cond1$not$i) - ) - ) - (if - (get_local $$or$cond$i) - (block - (set_local $$s$1$i - (get_local $$incdec$ptr122$i) - ) - (br $do-once$64) - ) - ) - (set_local $$incdec$ptr137$i - (i32.add - (get_local $$s$0$i) - (i32.const 2) - ) - ) - (i32.store8 - (get_local $$incdec$ptr122$i) - (i32.const 46) - ) - (set_local $$s$1$i - (get_local $$incdec$ptr137$i) - ) - ) - (set_local $$s$1$i - (get_local $$incdec$ptr122$i) - ) - ) - ) - (set_local $$tobool139$i - (f64.ne - (get_local $$mul125$i) - (f64.const 0) - ) - ) - (if - (get_local $$tobool139$i) - (block - (set_local $$s$0$i - (get_local $$s$1$i) - ) - (set_local $$y$addr$2$i - (get_local $$mul125$i) - ) - ) - (block - (set_local $$s$1$i$lcssa - (get_local $$s$1$i) - ) - (br $while-out$62) - ) - ) - (br $while-in$63) - ) - (set_local $$tobool140$i - (i32.ne - (get_local $$p$0) - (i32.const 0) - ) - ) - (set_local $$$pre566$i - (get_local $$s$1$i$lcssa) - ) - (set_local $$sub146$i - (i32.add - (get_local $$sub$ptr$sub145$i) - (get_local $$$pre566$i) - ) - ) - (set_local $$cmp147$i - (i32.lt_s - (get_local $$sub146$i) - (get_local $$p$0) - ) - ) - (set_local $$or$cond384 - (i32.and - (get_local $$tobool140$i) - (get_local $$cmp147$i) - ) - ) - (set_local $$sub$ptr$rhs$cast152$i - (get_local $$incdec$ptr115$i) - ) - (set_local $$add150$i - (i32.add - (get_local $$sub$ptr$sub153$i) - (get_local $$p$0) - ) - ) - (set_local $$add154$i - (i32.sub - (get_local $$add150$i) - (get_local $$sub$ptr$rhs$cast152$i) - ) - ) - (set_local $$sub$ptr$rhs$cast161$i - (get_local $$incdec$ptr115$i) - ) - (set_local $$sub$ptr$sub162$i - (i32.sub - (get_local $$sub$ptr$sub159$i) - (get_local $$sub$ptr$rhs$cast161$i) - ) - ) - (set_local $$add163$i - (i32.add - (get_local $$sub$ptr$sub162$i) - (get_local $$$pre566$i) - ) - ) - (set_local $$l$0$i - (if - (get_local $$or$cond384) - (get_local $$add154$i) - (get_local $$add163$i) - ) - ) - (set_local $$add165$i - (i32.add - (get_local $$l$0$i) - (get_local $$add67$i) - ) - ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$1) - (get_local $$add165$i) - (get_local $$fl$1$and219) - ) - (set_local $$206 - (i32.load - (get_local $$f) - ) - ) - (set_local $$and$i$418$i - (i32.and - (get_local $$206) - (i32.const 32) - ) - ) - (set_local $$tobool$i$419$i - (i32.eq - (get_local $$and$i$418$i) - (i32.const 0) - ) - ) - (if - (get_local $$tobool$i$419$i) - (call $___fwritex - (get_local $$prefix$0$add$ptr65$i) - (get_local $$add67$i) - (get_local $$f) - ) - ) - (set_local $$xor167$i - (i32.xor - (get_local $$fl$1$and219) - (i32.const 65536) - ) - ) - (call $_pad - (get_local $$f) - (i32.const 48) - (get_local $$w$1) - (get_local $$add165$i) - (get_local $$xor167$i) - ) - (set_local $$sub$ptr$sub172$i - (i32.sub - (get_local $$$pre566$i) - (get_local $$sub$ptr$rhs$cast$i) - ) - ) - (set_local $$207 - (i32.load - (get_local $$f) - ) - ) - (set_local $$and$i$424$i - (i32.and - (get_local $$207) - (i32.const 32) - ) - ) - (set_local $$tobool$i$425$i - (i32.eq - (get_local $$and$i$424$i) - (i32.const 0) - ) - ) - (if - (get_local $$tobool$i$425$i) - (call $___fwritex - (get_local $$buf$i) - (get_local $$sub$ptr$sub172$i) - (get_local $$f) - ) - ) - (set_local $$sub$ptr$rhs$cast174$i - (get_local $$incdec$ptr115$i) - ) - (set_local $$sub$ptr$sub175$i - (i32.sub - (get_local $$sub$ptr$lhs$cast160$i) - (get_local $$sub$ptr$rhs$cast174$i) - ) - ) - (set_local $$sum - (i32.add - (get_local $$sub$ptr$sub172$i) - (get_local $$sub$ptr$sub175$i) - ) - ) - (set_local $$sub181$i - (i32.sub - (get_local $$l$0$i) - (get_local $$sum) - ) - ) - (call $_pad - (get_local $$f) - (i32.const 48) - (get_local $$sub181$i) - (i32.const 0) - (i32.const 0) - ) - (set_local $$208 - (i32.load - (get_local $$f) - ) - ) - (set_local $$and$i$430$i - (i32.and - (get_local $$208) - (i32.const 32) - ) - ) - (set_local $$tobool$i$431$i - (i32.eq - (get_local $$and$i$430$i) - (i32.const 0) - ) - ) - (if - (get_local $$tobool$i$431$i) - (call $___fwritex - (get_local $$incdec$ptr115$i) - (get_local $$sub$ptr$sub175$i) - (get_local $$f) - ) - ) - (set_local $$xor186$i - (i32.xor - (get_local $$fl$1$and219) - (i32.const 8192) - ) - ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$1) - (get_local $$add165$i) - (get_local $$xor186$i) - ) - (set_local $$cmp188$i - (i32.lt_s - (get_local $$add165$i) - (get_local $$w$1) - ) - ) - (set_local $$w$add165$i - (if - (get_local $$cmp188$i) - (get_local $$w$1) - (get_local $$add165$i) + (get_local $$call344) + ) + ) + (set_local $$call345 + (call $_strerror + (get_local $$168) + ) + ) + (set_local $$a$1 + (get_local $$call345) + ) + (set_local $label + (i32.const 82) + ) + (br $switch$24) + ) + ) + (block + (set_local $$169 + (i32.load + (get_local $$arg) + ) + ) + (set_local $$tobool349 + (i32.ne + (get_local $$169) + (i32.const 0) + ) + ) + (set_local $$cond354 + (if + (get_local $$tobool349) + (get_local $$169) + (i32.const 4101) + ) + ) + (set_local $$a$1 + (get_local $$cond354) + ) + (set_local $label + (i32.const 82) + ) + (br $switch$24) + ) + ) + (block + (set_local $$170 + (get_local $$arg) + ) + (set_local $$171 + (get_local $$170) + ) + (set_local $$172 + (i32.load + (get_local $$171) + ) + ) + (set_local $$173 + (i32.add + (get_local $$170) + (i32.const 4) + ) + ) + (set_local $$174 + (get_local $$173) + ) + (set_local $$175 + (i32.load + (get_local $$174) + ) + ) + (i32.store + (get_local $$wc) + (get_local $$172) + ) + (i32.store + (get_local $$arrayidx370) + (i32.const 0) + ) + (i32.store + (get_local $$arg) + (get_local $$wc) + ) + (set_local $$p$4365 + (i32.const -1) + ) + (set_local $label + (i32.const 86) + ) + (br $switch$24) + ) + ) + (block + (set_local $$cmp377$314 + (i32.eq + (get_local $$p$0) + (i32.const 0) + ) + ) + (if + (get_local $$cmp377$314) + (block + (call $_pad + (get_local $$f) + (i32.const 32) + (get_local $$w$1) + (i32.const 0) + (get_local $$fl$1$and219) + ) + (set_local $$i$0$lcssa368 + (i32.const 0) + ) + (set_local $label + (i32.const 98) + ) + ) + (block + (set_local $$p$4365 + (get_local $$p$0) + ) + (set_local $label + (i32.const 86) + ) + ) + ) + (br $switch$24) + ) + ) + (nop) ) + (nop) ) - (set_local $$retval$0$i - (get_local $$w$add165$i) - ) - (br $do-once$56) + (nop) ) + (nop) ) - (set_local $$cmp196$i - (i32.lt_s - (get_local $$p$0) - (i32.const 0) + (nop) + ) + (nop) + ) + (nop) + ) + (block + (set_local $$181 + (f64.load + (get_local $$arg) + ) + ) + (i32.store + (get_local $$e2$i) + (i32.const 0) + ) + (f64.store + (i32.load + (i32.const 24) + ) + (get_local $$181) + ) + (set_local $$182 + (i32.load + (i32.load + (i32.const 24) + ) + ) + ) + (set_local $$183 + (i32.load + (i32.add + (i32.load + (i32.const 24) ) + (i32.const 4) ) - (set_local $$$p$i - (if - (get_local $$cmp196$i) - (i32.const 6) - (get_local $$p$0) + ) + ) + (set_local $$184 + (i32.lt_s + (get_local $$183) + (i32.const 0) + ) + ) + (if + (get_local $$184) + (block + (set_local $$sub$i + (f64.neg + (get_local $$181) + ) + ) + (set_local $$pl$0$i + (i32.const 1) + ) + (set_local $$prefix$0$i + (i32.const 4108) + ) + (set_local $$y$addr$0$i + (get_local $$sub$i) + ) + ) + (block + (set_local $$and$i$238 + (i32.and + (get_local $$fl$1$and219) + (i32.const 2048) + ) + ) + (set_local $$tobool9$i + (i32.eq + (get_local $$and$i$238) + (i32.const 0) ) ) (if - (get_local $$tobool56$i) + (get_local $$tobool9$i) (block - (set_local $$mul202$i - (f64.mul - (get_local $$mul$i$240) - (f64.const 268435456) + (set_local $$and12$i + (i32.and + (get_local $$fl$1$and219) + (i32.const 1) ) ) - (set_local $$209 - (i32.load - (get_local $$e2$i) + (set_local $$tobool13$i + (i32.eq + (get_local $$and12$i) + (i32.const 0) ) ) - (set_local $$sub203$i - (i32.add - (get_local $$209) - (i32.const -28) + (set_local $$$$i + (if + (get_local $$tobool13$i) + (i32.const 4109) + (i32.const 4114) ) ) - (i32.store - (get_local $$e2$i) - (get_local $$sub203$i) + (set_local $$pl$0$i + (get_local $$and12$i) ) - (set_local $$210 - (get_local $$sub203$i) + (set_local $$prefix$0$i + (get_local $$$$i) ) - (set_local $$y$addr$3$i - (get_local $$mul202$i) + (set_local $$y$addr$0$i + (get_local $$181) ) ) (block - (set_local $$$pre564$i - (i32.load - (get_local $$e2$i) - ) + (set_local $$pl$0$i + (i32.const 1) ) - (set_local $$210 - (get_local $$$pre564$i) + (set_local $$prefix$0$i + (i32.const 4111) ) - (set_local $$y$addr$3$i - (get_local $$mul$i$240) + (set_local $$y$addr$0$i + (get_local $$181) ) ) ) - (set_local $$cmp205$i - (i32.lt_s - (get_local $$210) - (i32.const 0) - ) + ) + ) + (f64.store + (i32.load + (i32.const 24) + ) + (get_local $$y$addr$0$i) + ) + (set_local $$185 + (i32.load + (i32.load + (i32.const 24) ) - (set_local $$arraydecay208$add$ptr213$i - (if - (get_local $$cmp205$i) - (get_local $$big$i) - (get_local $$add$ptr213$i) + ) + ) + (set_local $$186 + (i32.load + (i32.add + (i32.load + (i32.const 24) ) + (i32.const 4) ) - (set_local $$sub$ptr$rhs$cast345$i - (get_local $$arraydecay208$add$ptr213$i) - ) - (set_local $$y$addr$4$i - (get_local $$y$addr$3$i) - ) - (set_local $$z$0$i - (get_local $$arraydecay208$add$ptr213$i) - ) - (loop $while-out$66 $while-in$67 - (set_local $$conv216$i - (call_import $f64-to-int - (get_local $$y$addr$4$i) - ) - ) - (i32.store - (get_local $$z$0$i) - (get_local $$conv216$i) - ) - (set_local $$incdec$ptr217$i - (i32.add - (get_local $$z$0$i) - (i32.const 4) - ) - ) - (set_local $$conv218$i - (f64.convert_u/i32 - (get_local $$conv216$i) - ) - ) - (set_local $$sub219$i - (f64.sub - (get_local $$y$addr$4$i) - (get_local $$conv218$i) + ) + ) + (set_local $$187 + (i32.and + (get_local $$186) + (i32.const 2146435072) + ) + ) + (set_local $$188 + (i32.lt_u + (get_local $$187) + (i32.const 2146435072) + ) + ) + (set_local $$189 + (i32.lt_s + (i32.const 0) + (i32.const 0) + ) + ) + (set_local $$190 + (i32.eq + (get_local $$187) + (i32.const 2146435072) + ) + ) + (set_local $$191 + (i32.and + (get_local $$190) + (get_local $$189) + ) + ) + (set_local $$192 + (i32.or + (get_local $$188) + (get_local $$191) + ) + ) + (block $do-once$56 + (if + (get_local $$192) + (block + (set_local $$call55$i + (call $_frexpl + (get_local $$y$addr$0$i) + (get_local $$e2$i) ) ) - (set_local $$mul220$i + (set_local $$mul$i$240 (f64.mul - (get_local $$sub219$i) - (f64.const 1e9) + (get_local $$call55$i) + (f64.const 2) ) ) - (set_local $$tobool222$i + (set_local $$tobool56$i (f64.ne - (get_local $$mul220$i) + (get_local $$mul$i$240) (f64.const 0) ) ) (if - (get_local $$tobool222$i) + (get_local $$tobool56$i) (block - (set_local $$y$addr$4$i - (get_local $$mul220$i) + (set_local $$195 + (i32.load + (get_local $$e2$i) + ) ) - (set_local $$z$0$i - (get_local $$incdec$ptr217$i) + (set_local $$dec$i + (i32.add + (get_local $$195) + (i32.const -1) + ) ) - ) - (block - (set_local $$incdec$ptr217$i$lcssa - (get_local $$incdec$ptr217$i) + (i32.store + (get_local $$e2$i) + (get_local $$dec$i) ) - (br $while-out$66) ) ) - (br $while-in$67) - ) - (set_local $$$pr$i - (i32.load - (get_local $$e2$i) - ) - ) - (set_local $$cmp225$547$i - (i32.gt_s - (get_local $$$pr$i) - (i32.const 0) - ) - ) - (if - (get_local $$cmp225$547$i) - (block - (set_local $$211 - (get_local $$$pr$i) - ) - (set_local $$a$1549$i - (get_local $$arraydecay208$add$ptr213$i) + (set_local $$or$i$241 + (i32.or + (get_local $$t$0) + (i32.const 32) ) - (set_local $$z$1548$i - (get_local $$incdec$ptr217$i$lcssa) + ) + (set_local $$cmp59$i + (i32.eq + (get_local $$or$i$241) + (i32.const 97) ) - (loop $while-out$68 $while-in$69 - (set_local $$cmp228$i - (i32.gt_s - (get_local $$211) - (i32.const 29) + ) + (if + (get_local $$cmp59$i) + (block + (set_local $$and62$i + (i32.and + (get_local $$t$0) + (i32.const 32) ) ) - (set_local $$cond233$i - (if - (get_local $$cmp228$i) - (i32.const 29) - (get_local $$211) + (set_local $$tobool63$i + (i32.eq + (get_local $$and62$i) + (i32.const 0) ) ) - (set_local $$d$0$542$i + (set_local $$add$ptr65$i (i32.add - (get_local $$z$1548$i) - (i32.const -4) + (get_local $$prefix$0$i) + (i32.const 9) ) ) - (set_local $$cmp235$543$i - (i32.lt_u - (get_local $$d$0$542$i) - (get_local $$a$1549$i) + (set_local $$prefix$0$add$ptr65$i + (if + (get_local $$tobool63$i) + (get_local $$prefix$0$i) + (get_local $$add$ptr65$i) + ) + ) + (set_local $$add67$i + (i32.or + (get_local $$pl$0$i) + (i32.const 2) ) ) - (block $do-once$70 + (set_local $$196 + (i32.gt_u + (get_local $$p$0) + (i32.const 11) + ) + ) + (set_local $$sub74$i + (i32.sub + (i32.const 12) + (get_local $$p$0) + ) + ) + (set_local $$tobool76552$i + (i32.eq + (get_local $$sub74$i) + (i32.const 0) + ) + ) + (set_local $$tobool76$i + (i32.or + (get_local $$196) + (get_local $$tobool76552$i) + ) + ) + (block $do-once$58 (if - (get_local $$cmp235$543$i) - (set_local $$a$2$ph$i - (get_local $$a$1549$i) + (get_local $$tobool76$i) + (set_local $$y$addr$1$i + (get_local $$mul$i$240) ) (block - (set_local $$carry$0544$i - (i32.const 0) + (set_local $$re$1482$i + (get_local $$sub74$i) ) - (set_local $$d$0545$i - (get_local $$d$0$542$i) + (set_local $$round$0481$i + (f64.const 8) ) - (loop $while-out$72 $while-in$73 - (set_local $$212 - (i32.load - (get_local $$d$0545$i) + (loop $while-in$61 + (block $while-out$60 + (set_local $$dec78$i + (i32.add + (get_local $$re$1482$i) + (i32.const -1) + ) ) - ) - (set_local $$213 - (call $_bitshift64Shl - (get_local $$212) - (i32.const 0) - (get_local $$cond233$i) + (set_local $$mul80$i + (f64.mul + (get_local $$round$0481$i) + (f64.const 16) + ) ) - ) - (set_local $$214 - (i32.load - (i32.const 168) + (set_local $$tobool79$i + (i32.eq + (get_local $$dec78$i) + (i32.const 0) + ) ) - ) - (set_local $$215 - (call $_i64Add - (get_local $$213) - (get_local $$214) - (get_local $$carry$0544$i) - (i32.const 0) + (if + (get_local $$tobool79$i) + (block + (set_local $$mul80$i$lcssa + (get_local $$mul80$i) + ) + (br $while-out$60) + ) + (block + (set_local $$re$1482$i + (get_local $$dec78$i) + ) + (set_local $$round$0481$i + (get_local $$mul80$i) + ) + ) ) + (br $while-in$61) ) - (set_local $$216 - (i32.load - (i32.const 168) - ) + ) + (set_local $$197 + (i32.load8_s + (get_local $$prefix$0$add$ptr65$i) ) - (set_local $$217 - (call $___uremdi3 - (get_local $$215) - (get_local $$216) - (i32.const 1000000000) - (i32.const 0) + ) + (set_local $$cmp82$i + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$197) + (i32.const 24) + ) + (i32.const 24) ) + (i32.const 45) ) - (set_local $$218 - (i32.load - (i32.const 168) + ) + (if + (get_local $$cmp82$i) + (block + (set_local $$sub85$i + (f64.neg + (get_local $$mul$i$240) + ) ) - ) - (i32.store - (get_local $$d$0545$i) - (get_local $$217) - ) - (set_local $$219 - (call $___udivdi3 - (get_local $$215) - (get_local $$216) - (i32.const 1000000000) - (i32.const 0) + (set_local $$sub86$i + (f64.sub + (get_local $$sub85$i) + (get_local $$mul80$i$lcssa) + ) ) - ) - (set_local $$220 - (i32.load - (i32.const 168) + (set_local $$add87$i + (f64.add + (get_local $$mul80$i$lcssa) + (get_local $$sub86$i) + ) ) - ) - (set_local $$d$0$i - (i32.add - (get_local $$d$0545$i) - (i32.const -4) + (set_local $$sub88$i + (f64.neg + (get_local $$add87$i) + ) ) - ) - (set_local $$cmp235$i - (i32.lt_u - (get_local $$d$0$i) - (get_local $$a$1549$i) + (set_local $$y$addr$1$i + (get_local $$sub88$i) ) + (br $do-once$58) ) - (if - (get_local $$cmp235$i) - (block - (set_local $$conv242$i$lcssa - (get_local $$219) + (block + (set_local $$add90$i + (f64.add + (get_local $$mul$i$240) + (get_local $$mul80$i$lcssa) ) - (br $while-out$72) ) - (block - (set_local $$carry$0544$i - (get_local $$219) - ) - (set_local $$d$0545$i - (get_local $$d$0$i) + (set_local $$sub91$i + (f64.sub + (get_local $$add90$i) + (get_local $$mul80$i$lcssa) ) ) - ) - (br $while-in$73) - ) - (set_local $$tobool244$i - (i32.eq - (get_local $$conv242$i$lcssa) - (i32.const 0) - ) - ) - (if - (get_local $$tobool244$i) - (block - (set_local $$a$2$ph$i - (get_local $$a$1549$i) + (set_local $$y$addr$1$i + (get_local $$sub91$i) ) - (br $do-once$70) - ) - ) - (set_local $$incdec$ptr246$i - (i32.add - (get_local $$a$1549$i) - (i32.const -4) + (br $do-once$58) ) ) - (i32.store - (get_local $$incdec$ptr246$i) - (get_local $$conv242$i$lcssa) - ) - (set_local $$a$2$ph$i - (get_local $$incdec$ptr246$i) - ) ) ) ) - (set_local $$z$2$i - (get_local $$z$1548$i) - ) - (loop $while-out$74 $while-in$75 - (set_local $$cmp249$i - (i32.gt_u - (get_local $$z$2$i) - (get_local $$a$2$ph$i) - ) - ) - (if - (i32.eqz - (get_local $$cmp249$i) - ) - (block - (set_local $$z$2$i$lcssa - (get_local $$z$2$i) - ) - (br $while-out$74) - ) - ) - (set_local $$arrayidx251$i - (i32.add - (get_local $$z$2$i) - (i32.const -4) - ) + (set_local $$198 + (i32.load + (get_local $$e2$i) ) - (set_local $$221 - (i32.load - (get_local $$arrayidx251$i) - ) + ) + (set_local $$cmp94$i + (i32.lt_s + (get_local $$198) + (i32.const 0) ) - (set_local $$lnot$i - (i32.eq - (get_local $$221) - (i32.const 0) - ) + ) + (set_local $$sub97$i + (i32.sub + (i32.const 0) + (get_local $$198) ) + ) + (set_local $$cond100$i (if - (get_local $$lnot$i) - (set_local $$z$2$i - (get_local $$arrayidx251$i) - ) - (block - (set_local $$z$2$i$lcssa - (get_local $$z$2$i) - ) - (br $while-out$74) - ) + (get_local $$cmp94$i) + (get_local $$sub97$i) + (get_local $$198) ) - (br $while-in$75) ) - (set_local $$222 - (i32.load - (get_local $$e2$i) + (set_local $$199 + (i32.lt_s + (get_local $$cond100$i) + (i32.const 0) ) ) - (set_local $$sub256$i - (i32.sub - (get_local $$222) - (get_local $$cond233$i) + (set_local $$200 + (i32.shr_s + (i32.shl + (get_local $$199) + (i32.const 31) + ) + (i32.const 31) ) ) - (i32.store - (get_local $$e2$i) - (get_local $$sub256$i) + (set_local $$201 + (call $_fmt_u + (get_local $$cond100$i) + (get_local $$200) + (get_local $$arrayidx$i$236) + ) ) - (set_local $$cmp225$i - (i32.gt_s - (get_local $$sub256$i) - (i32.const 0) + (set_local $$cmp103$i + (i32.eq + (get_local $$201) + (get_local $$arrayidx$i$236) ) ) (if - (get_local $$cmp225$i) + (get_local $$cmp103$i) (block - (set_local $$211 - (get_local $$sub256$i) - ) - (set_local $$a$1549$i - (get_local $$a$2$ph$i) + (i32.store8 + (get_local $$incdec$ptr106$i) + (i32.const 48) ) - (set_local $$z$1548$i - (get_local $$z$2$i$lcssa) + (set_local $$estr$0$i + (get_local $$incdec$ptr106$i) ) ) - (block - (set_local $$$pr477$i - (get_local $$sub256$i) - ) - (set_local $$a$1$lcssa$i - (get_local $$a$2$ph$i) - ) - (set_local $$z$1$lcssa$i - (get_local $$z$2$i$lcssa) - ) - (br $while-out$68) + (set_local $$estr$0$i + (get_local $$201) ) ) - (br $while-in$69) - ) - ) - (block - (set_local $$$pr477$i - (get_local $$$pr$i) - ) - (set_local $$a$1$lcssa$i - (get_local $$arraydecay208$add$ptr213$i) - ) - (set_local $$z$1$lcssa$i - (get_local $$incdec$ptr217$i$lcssa) - ) - ) - ) - (set_local $$cmp259$537$i - (i32.lt_s - (get_local $$$pr477$i) - (i32.const 0) - ) - ) - (if - (get_local $$cmp259$537$i) - (block - (set_local $$add273$i - (i32.add - (get_local $$$p$i) - (i32.const 25) + (set_local $$202 + (i32.shr_s + (get_local $$198) + (i32.const 31) + ) ) - ) - (set_local $$div274$i - (i32.and - (call_import $i32s-div - (get_local $$add273$i) - (i32.const 9) + (set_local $$203 + (i32.and + (get_local $$202) + (i32.const 2) ) - (i32.const -1) ) - ) - (set_local $$add275$i - (i32.add - (get_local $$div274$i) - (i32.const 1) + (set_local $$204 + (i32.add + (get_local $$203) + (i32.const 43) + ) ) - ) - (set_local $$cmp299$i - (i32.eq - (get_local $$or$i$241) - (i32.const 102) + (set_local $$conv111$i + (i32.and + (get_local $$204) + (i32.const 255) + ) ) - ) - (set_local $$223 - (get_local $$$pr477$i) - ) - (set_local $$a$3539$i - (get_local $$a$1$lcssa$i) - ) - (set_local $$z$3538$i - (get_local $$z$1$lcssa$i) - ) - (loop $while-out$76 $while-in$77 - (set_local $$sub264$i - (i32.sub - (i32.const 0) - (get_local $$223) + (set_local $$incdec$ptr112$i + (i32.add + (get_local $$estr$0$i) + (i32.const -1) ) ) - (set_local $$cmp265$i - (i32.gt_s - (get_local $$sub264$i) - (i32.const 9) + (i32.store8 + (get_local $$incdec$ptr112$i) + (get_local $$conv111$i) + ) + (set_local $$add113$i + (i32.add + (get_local $$t$0) + (i32.const 15) ) ) - (set_local $$cond271$i - (if - (get_local $$cmp265$i) - (i32.const 9) - (get_local $$sub264$i) + (set_local $$conv114$i + (i32.and + (get_local $$add113$i) + (i32.const 255) ) ) - (set_local $$cmp277$533$i - (i32.lt_u - (get_local $$a$3539$i) - (get_local $$z$3538$i) + (set_local $$incdec$ptr115$i + (i32.add + (get_local $$estr$0$i) + (i32.const -2) ) ) - (block $do-once$78 - (if - (get_local $$cmp277$533$i) - (block - (set_local $$shl280$i - (i32.shl - (i32.const 1) - (get_local $$cond271$i) - ) + (i32.store8 + (get_local $$incdec$ptr115$i) + (get_local $$conv114$i) + ) + (set_local $$notrhs$i + (i32.lt_s + (get_local $$p$0) + (i32.const 1) + ) + ) + (set_local $$and134$i + (i32.and + (get_local $$fl$1$and219) + (i32.const 8) + ) + ) + (set_local $$tobool135$i + (i32.eq + (get_local $$and134$i) + (i32.const 0) + ) + ) + (set_local $$s$0$i + (get_local $$buf$i) + ) + (set_local $$y$addr$2$i + (get_local $$y$addr$1$i) + ) + (loop $while-in$63 + (block $while-out$62 + (set_local $$conv116$i + (call_import $f64-to-int + (get_local $$y$addr$2$i) + ) + ) + (set_local $$arrayidx117$i + (i32.add + (i32.const 4075) + (get_local $$conv116$i) + ) + ) + (set_local $$205 + (i32.load8_s + (get_local $$arrayidx117$i) + ) + ) + (set_local $$conv118$393$i + (i32.and + (get_local $$205) + (i32.const 255) + ) + ) + (set_local $$or120$i + (i32.or + (get_local $$conv118$393$i) + (get_local $$and62$i) ) - (set_local $$sub281$i - (i32.add - (get_local $$shl280$i) - (i32.const -1) - ) + ) + (set_local $$conv121$i + (i32.and + (get_local $$or120$i) + (i32.const 255) ) - (set_local $$shr285$i - (i32.shr_u - (i32.const 1000000000) - (get_local $$cond271$i) - ) + ) + (set_local $$incdec$ptr122$i + (i32.add + (get_local $$s$0$i) + (i32.const 1) ) - (set_local $$carry262$0535$i - (i32.const 0) + ) + (i32.store8 + (get_local $$s$0$i) + (get_local $$conv121$i) + ) + (set_local $$conv123$i + (f64.convert_s/i32 + (get_local $$conv116$i) ) - (set_local $$d$1534$i - (get_local $$a$3539$i) + ) + (set_local $$sub124$i + (f64.sub + (get_local $$y$addr$2$i) + (get_local $$conv123$i) ) - (loop $while-out$80 $while-in$81 - (set_local $$225 - (i32.load - (get_local $$d$1534$i) - ) - ) - (set_local $$and282$i - (i32.and - (get_local $$225) - (get_local $$sub281$i) - ) - ) - (set_local $$shr283$i - (i32.shr_u - (get_local $$225) - (get_local $$cond271$i) - ) - ) - (set_local $$add284$i - (i32.add - (get_local $$shr283$i) - (get_local $$carry262$0535$i) - ) - ) - (i32.store - (get_local $$d$1534$i) - (get_local $$add284$i) - ) - (set_local $$mul286$i - (i32.mul - (get_local $$and282$i) - (get_local $$shr285$i) - ) - ) - (set_local $$incdec$ptr288$i - (i32.add - (get_local $$d$1534$i) - (i32.const 4) + ) + (set_local $$mul125$i + (f64.mul + (get_local $$sub124$i) + (f64.const 16) + ) + ) + (set_local $$sub$ptr$lhs$cast$i + (get_local $$incdec$ptr122$i) + ) + (set_local $$sub$ptr$sub$i + (i32.sub + (get_local $$sub$ptr$lhs$cast$i) + (get_local $$sub$ptr$rhs$cast$i) + ) + ) + (set_local $$cmp127$i + (i32.eq + (get_local $$sub$ptr$sub$i) + (i32.const 1) + ) + ) + (block $do-once$64 + (if + (get_local $$cmp127$i) + (block + (set_local $$notlhs$i + (f64.eq + (get_local $$mul125$i) + (f64.const 0) + ) ) - ) - (set_local $$cmp277$i - (i32.lt_u - (get_local $$incdec$ptr288$i) - (get_local $$z$3538$i) + (set_local $$or$cond1$not$i + (i32.and + (get_local $$notrhs$i) + (get_local $$notlhs$i) + ) ) - ) - (if - (get_local $$cmp277$i) - (block - (set_local $$carry262$0535$i - (get_local $$mul286$i) + (set_local $$or$cond$i + (i32.and + (get_local $$tobool135$i) + (get_local $$or$cond1$not$i) ) - (set_local $$d$1534$i - (get_local $$incdec$ptr288$i) + ) + (if + (get_local $$or$cond$i) + (block + (set_local $$s$1$i + (get_local $$incdec$ptr122$i) + ) + (br $do-once$64) ) ) - (block - (set_local $$mul286$i$lcssa - (get_local $$mul286$i) + (set_local $$incdec$ptr137$i + (i32.add + (get_local $$s$0$i) + (i32.const 2) ) - (br $while-out$80) ) - ) - (br $while-in$81) - ) - (set_local $$226 - (i32.load - (get_local $$a$3539$i) - ) - ) - (set_local $$tobool290$i - (i32.eq - (get_local $$226) - (i32.const 0) - ) - ) - (set_local $$incdec$ptr292$i - (i32.add - (get_local $$a$3539$i) - (i32.const 4) - ) - ) - (set_local $$incdec$ptr292$a$3$i - (if - (get_local $$tobool290$i) - (get_local $$incdec$ptr292$i) - (get_local $$a$3539$i) - ) - ) - (set_local $$tobool294$i - (i32.eq - (get_local $$mul286$i$lcssa) - (i32.const 0) - ) - ) - (if - (get_local $$tobool294$i) - (block - (set_local $$incdec$ptr292$a$3573$i - (get_local $$incdec$ptr292$a$3$i) + (i32.store8 + (get_local $$incdec$ptr122$i) + (i32.const 46) ) - (set_local $$z$4$i - (get_local $$z$3538$i) + (set_local $$s$1$i + (get_local $$incdec$ptr137$i) ) - (br $do-once$78) ) - ) - (set_local $$incdec$ptr296$i - (i32.add - (get_local $$z$3538$i) - (i32.const 4) + (set_local $$s$1$i + (get_local $$incdec$ptr122$i) ) ) - (i32.store - (get_local $$z$3538$i) - (get_local $$mul286$i$lcssa) - ) - (set_local $$incdec$ptr292$a$3573$i - (get_local $$incdec$ptr292$a$3$i) - ) - (set_local $$z$4$i - (get_local $$incdec$ptr296$i) - ) ) - (block - (set_local $$224 - (i32.load - (get_local $$a$3539$i) - ) + (set_local $$tobool139$i + (f64.ne + (get_local $$mul125$i) + (f64.const 0) ) - (set_local $$tobool290$569$i - (i32.eq - (get_local $$224) - (i32.const 0) + ) + (if + (get_local $$tobool139$i) + (block + (set_local $$s$0$i + (get_local $$s$1$i) ) - ) - (set_local $$incdec$ptr292$570$i - (i32.add - (get_local $$a$3539$i) - (i32.const 4) + (set_local $$y$addr$2$i + (get_local $$mul125$i) ) ) - (set_local $$incdec$ptr292$a$3$571$i - (if - (get_local $$tobool290$569$i) - (get_local $$incdec$ptr292$570$i) - (get_local $$a$3539$i) + (block + (set_local $$s$1$i$lcssa + (get_local $$s$1$i) ) - ) - (set_local $$incdec$ptr292$a$3573$i - (get_local $$incdec$ptr292$a$3$571$i) - ) - (set_local $$z$4$i - (get_local $$z$3538$i) + (br $while-out$62) ) ) + (br $while-in$63) ) ) - (set_local $$cond304$i - (if - (get_local $$cmp299$i) - (get_local $$arraydecay208$add$ptr213$i) - (get_local $$incdec$ptr292$a$3573$i) + (set_local $$tobool140$i + (i32.ne + (get_local $$p$0) + (i32.const 0) + ) + ) + (set_local $$$pre566$i + (get_local $$s$1$i$lcssa) + ) + (set_local $$sub146$i + (i32.add + (get_local $$sub$ptr$sub145$i) + (get_local $$$pre566$i) ) ) - (set_local $$sub$ptr$lhs$cast305$i - (get_local $$z$4$i) + (set_local $$cmp147$i + (i32.lt_s + (get_local $$sub146$i) + (get_local $$p$0) + ) ) - (set_local $$sub$ptr$rhs$cast306$i - (get_local $$cond304$i) + (set_local $$or$cond384 + (i32.and + (get_local $$tobool140$i) + (get_local $$cmp147$i) + ) ) - (set_local $$sub$ptr$sub307$i - (i32.sub - (get_local $$sub$ptr$lhs$cast305$i) - (get_local $$sub$ptr$rhs$cast306$i) + (set_local $$sub$ptr$rhs$cast152$i + (get_local $$incdec$ptr115$i) + ) + (set_local $$add150$i + (i32.add + (get_local $$sub$ptr$sub153$i) + (get_local $$p$0) ) ) - (set_local $$sub$ptr$div$i - (i32.shr_s - (get_local $$sub$ptr$sub307$i) - (i32.const 2) + (set_local $$add154$i + (i32.sub + (get_local $$add150$i) + (get_local $$sub$ptr$rhs$cast152$i) ) ) - (set_local $$cmp308$i - (i32.gt_s - (get_local $$sub$ptr$div$i) - (get_local $$add275$i) + (set_local $$sub$ptr$rhs$cast161$i + (get_local $$incdec$ptr115$i) + ) + (set_local $$sub$ptr$sub162$i + (i32.sub + (get_local $$sub$ptr$sub159$i) + (get_local $$sub$ptr$rhs$cast161$i) ) ) - (set_local $$add$ptr311$i + (set_local $$add163$i (i32.add - (get_local $$cond304$i) - (i32.shl - (get_local $$add275$i) - (i32.const 2) - ) + (get_local $$sub$ptr$sub162$i) + (get_local $$$pre566$i) ) ) - (set_local $$add$ptr311$z$4$i + (set_local $$l$0$i (if - (get_local $$cmp308$i) - (get_local $$add$ptr311$i) - (get_local $$z$4$i) + (get_local $$or$cond384) + (get_local $$add154$i) + (get_local $$add163$i) ) ) - (set_local $$227 + (set_local $$add165$i + (i32.add + (get_local $$l$0$i) + (get_local $$add67$i) + ) + ) + (call $_pad + (get_local $$f) + (i32.const 32) + (get_local $$w$1) + (get_local $$add165$i) + (get_local $$fl$1$and219) + ) + (set_local $$206 (i32.load - (get_local $$e2$i) + (get_local $$f) + ) + ) + (set_local $$and$i$418$i + (i32.and + (get_local $$206) + (i32.const 32) + ) + ) + (set_local $$tobool$i$419$i + (i32.eq + (get_local $$and$i$418$i) + (i32.const 0) + ) + ) + (if + (get_local $$tobool$i$419$i) + (call $___fwritex + (get_local $$prefix$0$add$ptr65$i) + (get_local $$add67$i) + (get_local $$f) + ) + ) + (set_local $$xor167$i + (i32.xor + (get_local $$fl$1$and219) + (i32.const 65536) + ) + ) + (call $_pad + (get_local $$f) + (i32.const 48) + (get_local $$w$1) + (get_local $$add165$i) + (get_local $$xor167$i) + ) + (set_local $$sub$ptr$sub172$i + (i32.sub + (get_local $$$pre566$i) + (get_local $$sub$ptr$rhs$cast$i) + ) + ) + (set_local $$207 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i$424$i + (i32.and + (get_local $$207) + (i32.const 32) + ) + ) + (set_local $$tobool$i$425$i + (i32.eq + (get_local $$and$i$424$i) + (i32.const 0) + ) + ) + (if + (get_local $$tobool$i$425$i) + (call $___fwritex + (get_local $$buf$i) + (get_local $$sub$ptr$sub172$i) + (get_local $$f) + ) + ) + (set_local $$sub$ptr$rhs$cast174$i + (get_local $$incdec$ptr115$i) + ) + (set_local $$sub$ptr$sub175$i + (i32.sub + (get_local $$sub$ptr$lhs$cast160$i) + (get_local $$sub$ptr$rhs$cast174$i) ) ) - (set_local $$add313$i + (set_local $$sum (i32.add - (get_local $$227) - (get_local $$cond271$i) + (get_local $$sub$ptr$sub172$i) + (get_local $$sub$ptr$sub175$i) ) ) - (i32.store - (get_local $$e2$i) - (get_local $$add313$i) + (set_local $$sub181$i + (i32.sub + (get_local $$l$0$i) + (get_local $$sum) + ) ) - (set_local $$cmp259$i - (i32.lt_s - (get_local $$add313$i) + (call $_pad + (get_local $$f) + (i32.const 48) + (get_local $$sub181$i) + (i32.const 0) + (i32.const 0) + ) + (set_local $$208 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i$430$i + (i32.and + (get_local $$208) + (i32.const 32) + ) + ) + (set_local $$tobool$i$431$i + (i32.eq + (get_local $$and$i$430$i) (i32.const 0) ) ) (if - (get_local $$cmp259$i) - (block - (set_local $$223 - (get_local $$add313$i) - ) - (set_local $$a$3539$i - (get_local $$incdec$ptr292$a$3573$i) - ) - (set_local $$z$3538$i - (get_local $$add$ptr311$z$4$i) - ) + (get_local $$tobool$i$431$i) + (call $___fwritex + (get_local $$incdec$ptr115$i) + (get_local $$sub$ptr$sub175$i) + (get_local $$f) ) - (block - (set_local $$a$3$lcssa$i - (get_local $$incdec$ptr292$a$3573$i) - ) - (set_local $$z$3$lcssa$i - (get_local $$add$ptr311$z$4$i) - ) - (br $while-out$76) + ) + (set_local $$xor186$i + (i32.xor + (get_local $$fl$1$and219) + (i32.const 8192) ) ) - (br $while-in$77) - ) - ) - (block - (set_local $$a$3$lcssa$i - (get_local $$a$1$lcssa$i) + (call $_pad + (get_local $$f) + (i32.const 32) + (get_local $$w$1) + (get_local $$add165$i) + (get_local $$xor186$i) + ) + (set_local $$cmp188$i + (i32.lt_s + (get_local $$add165$i) + (get_local $$w$1) + ) + ) + (set_local $$w$add165$i + (if + (get_local $$cmp188$i) + (get_local $$w$1) + (get_local $$add165$i) + ) + ) + (set_local $$retval$0$i + (get_local $$w$add165$i) + ) + (br $do-once$56) ) - (set_local $$z$3$lcssa$i - (get_local $$z$1$lcssa$i) + ) + (set_local $$cmp196$i + (i32.lt_s + (get_local $$p$0) + (i32.const 0) ) ) - ) - (set_local $$cmp315$i - (i32.lt_u - (get_local $$a$3$lcssa$i) - (get_local $$z$3$lcssa$i) + (set_local $$$p$i + (if + (get_local $$cmp196$i) + (i32.const 6) + (get_local $$p$0) + ) ) - ) - (block $do-once$82 (if - (get_local $$cmp315$i) + (get_local $$tobool56$i) (block - (set_local $$sub$ptr$rhs$cast319$i - (get_local $$a$3$lcssa$i) - ) - (set_local $$sub$ptr$sub320$i - (i32.sub - (get_local $$sub$ptr$rhs$cast345$i) - (get_local $$sub$ptr$rhs$cast319$i) + (set_local $$mul202$i + (f64.mul + (get_local $$mul$i$240) + (f64.const 268435456) ) ) - (set_local $$sub$ptr$div321$i - (i32.shr_s - (get_local $$sub$ptr$sub320$i) - (i32.const 2) + (set_local $$209 + (i32.load + (get_local $$e2$i) ) ) - (set_local $$mul322$i - (i32.mul - (get_local $$sub$ptr$div321$i) - (i32.const 9) + (set_local $$sub203$i + (i32.add + (get_local $$209) + (i32.const -28) ) ) - (set_local $$228 - (i32.load - (get_local $$a$3$lcssa$i) - ) + (i32.store + (get_local $$e2$i) + (get_local $$sub203$i) ) - (set_local $$cmp324$529$i - (i32.lt_u - (get_local $$228) - (i32.const 10) - ) + (set_local $$210 + (get_local $$sub203$i) ) - (if - (get_local $$cmp324$529$i) - (block - (set_local $$e$1$i - (get_local $$mul322$i) - ) - (br $do-once$82) - ) - (block - (set_local $$e$0531$i - (get_local $$mul322$i) - ) - (set_local $$i$0530$i - (i32.const 10) - ) - ) + (set_local $$y$addr$3$i + (get_local $$mul202$i) ) - (loop $while-out$84 $while-in$85 - (set_local $$mul328$i - (i32.mul - (get_local $$i$0530$i) - (i32.const 10) - ) - ) - (set_local $$inc$i - (i32.add - (get_local $$e$0531$i) - (i32.const 1) - ) - ) - (set_local $$cmp324$i - (i32.lt_u - (get_local $$228) - (get_local $$mul328$i) - ) - ) - (if - (get_local $$cmp324$i) - (block - (set_local $$e$1$i - (get_local $$inc$i) - ) - (br $while-out$84) - ) - (block - (set_local $$e$0531$i - (get_local $$inc$i) - ) - (set_local $$i$0530$i - (get_local $$mul328$i) - ) - ) + ) + (block + (set_local $$$pre564$i + (i32.load + (get_local $$e2$i) ) - (br $while-in$85) + ) + (set_local $$210 + (get_local $$$pre564$i) + ) + (set_local $$y$addr$3$i + (get_local $$mul$i$240) ) ) - (set_local $$e$1$i + ) + (set_local $$cmp205$i + (i32.lt_s + (get_local $$210) (i32.const 0) ) ) - ) - (set_local $$cmp333$i - (i32.ne - (get_local $$or$i$241) - (i32.const 102) - ) - ) - (set_local $$mul335$i - (if - (get_local $$cmp333$i) - (get_local $$e$1$i) - (i32.const 0) - ) - ) - (set_local $$sub336$i - (i32.sub - (get_local $$$p$i) - (get_local $$mul335$i) - ) - ) - (set_local $$cmp338$i - (i32.eq - (get_local $$or$i$241) - (i32.const 103) - ) - ) - (set_local $$tobool341$i - (i32.ne - (get_local $$$p$i) - (i32.const 0) - ) - ) - (set_local $$229 - (i32.and - (get_local $$tobool341$i) - (get_local $$cmp338$i) - ) - ) - (set_local $$land$ext$neg$i - (i32.shr_s - (i32.shl - (get_local $$229) - (i32.const 31) + (set_local $$arraydecay208$add$ptr213$i + (if + (get_local $$cmp205$i) + (get_local $$big$i) + (get_local $$add$ptr213$i) ) - (i32.const 31) - ) - ) - (set_local $$sub343$i - (i32.add - (get_local $$sub336$i) - (get_local $$land$ext$neg$i) ) - ) - (set_local $$sub$ptr$lhs$cast344$i - (get_local $$z$3$lcssa$i) - ) - (set_local $$sub$ptr$sub346$i - (i32.sub - (get_local $$sub$ptr$lhs$cast344$i) - (get_local $$sub$ptr$rhs$cast345$i) - ) - ) - (set_local $$sub$ptr$div347$i - (i32.shr_s - (get_local $$sub$ptr$sub346$i) - (i32.const 2) - ) - ) - (set_local $$230 - (i32.mul - (get_local $$sub$ptr$div347$i) - (i32.const 9) + (set_local $$sub$ptr$rhs$cast345$i + (get_local $$arraydecay208$add$ptr213$i) ) - ) - (set_local $$mul349$i - (i32.add - (get_local $$230) - (i32.const -9) + (set_local $$y$addr$4$i + (get_local $$y$addr$3$i) ) - ) - (set_local $$cmp350$i - (i32.lt_s - (get_local $$sub343$i) - (get_local $$mul349$i) + (set_local $$z$0$i + (get_local $$arraydecay208$add$ptr213$i) ) - ) - (if - (get_local $$cmp350$i) - (block - (set_local $$add$ptr354$i - (i32.add - (get_local $$arraydecay208$add$ptr213$i) - (i32.const 4) - ) - ) - (set_local $$add355$i - (i32.add - (get_local $$sub343$i) - (i32.const 9216) - ) - ) - (set_local $$div356$i - (i32.and - (call_import $i32s-div - (get_local $$add355$i) - (i32.const 9) + (loop $while-in$67 + (block $while-out$66 + (set_local $$conv216$i + (call_import $f64-to-int + (get_local $$y$addr$4$i) ) - (i32.const -1) ) - ) - (set_local $$sub357$i - (i32.add - (get_local $$div356$i) - (i32.const -1024) + (i32.store + (get_local $$z$0$i) + (get_local $$conv216$i) ) - ) - (set_local $$add$ptr358$i - (i32.add - (get_local $$add$ptr354$i) - (i32.shl - (get_local $$sub357$i) - (i32.const 2) + (set_local $$incdec$ptr217$i + (i32.add + (get_local $$z$0$i) + (i32.const 4) ) ) - ) - (set_local $$rem360$i - (i32.and - (call_import $i32s-rem - (get_local $$add355$i) - (i32.const 9) + (set_local $$conv218$i + (f64.convert_u/i32 + (get_local $$conv216$i) ) - (i32.const -1) - ) - ) - (set_local $$j$0$524$i - (i32.add - (get_local $$rem360$i) - (i32.const 1) ) - ) - (set_local $$cmp363$525$i - (i32.lt_s - (get_local $$j$0$524$i) - (i32.const 9) + (set_local $$sub219$i + (f64.sub + (get_local $$y$addr$4$i) + (get_local $$conv218$i) + ) ) - ) - (if - (get_local $$cmp363$525$i) - (block - (set_local $$i$1526$i - (i32.const 10) + (set_local $$mul220$i + (f64.mul + (get_local $$sub219$i) + (f64.const 1e9) ) - (set_local $$j$0527$i - (get_local $$j$0$524$i) + ) + (set_local $$tobool222$i + (f64.ne + (get_local $$mul220$i) + (f64.const 0) ) - (loop $while-out$86 $while-in$87 - (set_local $$mul367$i - (i32.mul - (get_local $$i$1526$i) - (i32.const 10) - ) - ) - (set_local $$j$0$i - (i32.add - (get_local $$j$0527$i) - (i32.const 1) - ) + ) + (if + (get_local $$tobool222$i) + (block + (set_local $$y$addr$4$i + (get_local $$mul220$i) ) - (set_local $$exitcond$i - (i32.eq - (get_local $$j$0$i) - (i32.const 9) - ) + (set_local $$z$0$i + (get_local $$incdec$ptr217$i) ) - (if - (get_local $$exitcond$i) - (block - (set_local $$i$1$lcssa$i - (get_local $$mul367$i) - ) - (br $while-out$86) - ) - (block - (set_local $$i$1526$i - (get_local $$mul367$i) - ) - (set_local $$j$0527$i - (get_local $$j$0$i) - ) - ) + ) + (block + (set_local $$incdec$ptr217$i$lcssa + (get_local $$incdec$ptr217$i) ) - (br $while-in$87) + (br $while-out$66) ) ) - (set_local $$i$1$lcssa$i - (i32.const 10) - ) - ) - (set_local $$231 - (i32.load - (get_local $$add$ptr358$i) - ) + (br $while-in$67) ) - (set_local $$rem370$i - (i32.and - (call_import $i32u-rem - (get_local $$231) - (get_local $$i$1$lcssa$i) - ) - (i32.const -1) - ) + ) + (set_local $$$pr$i + (i32.load + (get_local $$e2$i) ) - (set_local $$tobool371$i - (i32.eq - (get_local $$rem370$i) - (i32.const 0) - ) + ) + (set_local $$cmp225$547$i + (i32.gt_s + (get_local $$$pr$i) + (i32.const 0) ) - (set_local $$add$ptr373$i - (i32.add - (get_local $$add$ptr358$i) - (i32.const 4) + ) + (if + (get_local $$cmp225$547$i) + (block + (set_local $$211 + (get_local $$$pr$i) ) - ) - (set_local $$cmp374$i - (i32.eq - (get_local $$add$ptr373$i) - (get_local $$z$3$lcssa$i) + (set_local $$a$1549$i + (get_local $$arraydecay208$add$ptr213$i) ) - ) - (set_local $$or$cond395$i - (i32.and - (get_local $$cmp374$i) - (get_local $$tobool371$i) + (set_local $$z$1548$i + (get_local $$incdec$ptr217$i$lcssa) ) - ) - (block $do-once$88 - (if - (get_local $$or$cond395$i) - (block - (set_local $$a$8$i - (get_local $$a$3$lcssa$i) - ) - (set_local $$d$4$i - (get_local $$add$ptr358$i) - ) - (set_local $$e$4$i - (get_local $$e$1$i) - ) - ) - (block - (set_local $$div378$i - (i32.and - (call_import $i32u-div - (get_local $$231) - (get_local $$i$1$lcssa$i) - ) - (i32.const -1) - ) - ) - (set_local $$and379$i - (i32.and - (get_local $$div378$i) - (i32.const 1) + (loop $while-in$69 + (block $while-out$68 + (set_local $$cmp228$i + (i32.gt_s + (get_local $$211) + (i32.const 29) ) ) - (set_local $$tobool380$i - (i32.eq - (get_local $$and379$i) - (i32.const 0) - ) - ) - (set_local $$$396$i + (set_local $$cond233$i (if - (get_local $$tobool380$i) - (f64.const 9007199254740992) - (f64.const 9007199254740994) - ) - ) - (set_local $$div384$i - (i32.and - (call_import $i32s-div - (get_local $$i$1$lcssa$i) - (i32.const 2) - ) - (i32.const -1) - ) - ) - (set_local $$cmp385$i - (i32.lt_u - (get_local $$rem370$i) - (get_local $$div384$i) + (get_local $$cmp228$i) + (i32.const 29) + (get_local $$211) ) ) - (if - (get_local $$cmp385$i) - (set_local $$small$0$i - (f64.const 0.5) - ) - (block - (set_local $$cmp390$i - (i32.eq - (get_local $$rem370$i) - (get_local $$div384$i) - ) - ) - (set_local $$or$cond397$i - (i32.and - (get_local $$cmp374$i) - (get_local $$cmp390$i) - ) - ) - (set_local $$$404$i - (if - (get_local $$or$cond397$i) - (f64.const 1) - (f64.const 1.5) - ) - ) - (set_local $$small$0$i - (get_local $$$404$i) - ) + (set_local $$d$0$542$i + (i32.add + (get_local $$z$1548$i) + (i32.const -4) ) - ) - (set_local $$tobool400$i - (i32.eq - (get_local $$pl$0$i) - (i32.const 0) + ) + (set_local $$cmp235$543$i + (i32.lt_u + (get_local $$d$0$542$i) + (get_local $$a$1549$i) ) ) - (block $do-once$90 + (block $do-once$70 (if - (get_local $$tobool400$i) + (get_local $$cmp235$543$i) + (set_local $$a$2$ph$i + (get_local $$a$1549$i) + ) (block - (set_local $$round377$1$i - (get_local $$$396$i) + (set_local $$carry$0544$i + (i32.const 0) ) - (set_local $$small$1$i - (get_local $$small$0$i) + (set_local $$d$0545$i + (get_local $$d$0$542$i) ) - ) - (block - (set_local $$232 - (i32.load8_s - (get_local $$prefix$0$i) + (loop $while-in$73 + (block $while-out$72 + (set_local $$212 + (i32.load + (get_local $$d$0545$i) + ) + ) + (set_local $$213 + (call $_bitshift64Shl + (get_local $$212) + (i32.const 0) + (get_local $$cond233$i) + ) + ) + (set_local $$214 + (i32.load + (i32.const 168) + ) + ) + (set_local $$215 + (call $_i64Add + (get_local $$213) + (get_local $$214) + (get_local $$carry$0544$i) + (i32.const 0) + ) + ) + (set_local $$216 + (i32.load + (i32.const 168) + ) + ) + (set_local $$217 + (call $___uremdi3 + (get_local $$215) + (get_local $$216) + (i32.const 1000000000) + (i32.const 0) + ) + ) + (set_local $$218 + (i32.load + (i32.const 168) + ) + ) + (i32.store + (get_local $$d$0545$i) + (get_local $$217) + ) + (set_local $$219 + (call $___udivdi3 + (get_local $$215) + (get_local $$216) + (i32.const 1000000000) + (i32.const 0) + ) + ) + (set_local $$220 + (i32.load + (i32.const 168) + ) + ) + (set_local $$d$0$i + (i32.add + (get_local $$d$0545$i) + (i32.const -4) + ) + ) + (set_local $$cmp235$i + (i32.lt_u + (get_local $$d$0$i) + (get_local $$a$1549$i) + ) + ) + (if + (get_local $$cmp235$i) + (block + (set_local $$conv242$i$lcssa + (get_local $$219) + ) + (br $while-out$72) + ) + (block + (set_local $$carry$0544$i + (get_local $$219) + ) + (set_local $$d$0545$i + (get_local $$d$0$i) + ) + ) + ) + (br $while-in$73) ) ) - (set_local $$cmp403$i + (set_local $$tobool244$i (i32.eq - (i32.shr_s - (i32.shl - (get_local $$232) - (i32.const 24) - ) - (i32.const 24) - ) - (i32.const 45) + (get_local $$conv242$i$lcssa) + (i32.const 0) ) ) (if - (i32.eqz - (get_local $$cmp403$i) - ) + (get_local $$tobool244$i) (block - (set_local $$round377$1$i - (get_local $$$396$i) - ) - (set_local $$small$1$i - (get_local $$small$0$i) + (set_local $$a$2$ph$i + (get_local $$a$1549$i) ) - (br $do-once$90) + (br $do-once$70) ) ) - (set_local $$mul406$i - (f64.neg - (get_local $$$396$i) + (set_local $$incdec$ptr246$i + (i32.add + (get_local $$a$1549$i) + (i32.const -4) ) ) - (set_local $$mul407$i - (f64.neg - (get_local $$small$0$i) + (i32.store + (get_local $$incdec$ptr246$i) + (get_local $$conv242$i$lcssa) + ) + (set_local $$a$2$ph$i + (get_local $$incdec$ptr246$i) + ) + ) + ) + ) + (set_local $$z$2$i + (get_local $$z$1548$i) + ) + (loop $while-in$75 + (block $while-out$74 + (set_local $$cmp249$i + (i32.gt_u + (get_local $$z$2$i) + (get_local $$a$2$ph$i) + ) + ) + (if + (i32.eqz + (get_local $$cmp249$i) + ) + (block + (set_local $$z$2$i$lcssa + (get_local $$z$2$i) ) + (br $while-out$74) + ) + ) + (set_local $$arrayidx251$i + (i32.add + (get_local $$z$2$i) + (i32.const -4) + ) + ) + (set_local $$221 + (i32.load + (get_local $$arrayidx251$i) ) - (set_local $$round377$1$i - (get_local $$mul406$i) + ) + (set_local $$lnot$i + (i32.eq + (get_local $$221) + (i32.const 0) + ) + ) + (if + (get_local $$lnot$i) + (set_local $$z$2$i + (get_local $$arrayidx251$i) ) - (set_local $$small$1$i - (get_local $$mul407$i) + (block + (set_local $$z$2$i$lcssa + (get_local $$z$2$i) + ) + (br $while-out$74) ) ) + (br $while-in$75) ) ) - (set_local $$sub409$i + (set_local $$222 + (i32.load + (get_local $$e2$i) + ) + ) + (set_local $$sub256$i (i32.sub - (get_local $$231) - (get_local $$rem370$i) + (get_local $$222) + (get_local $$cond233$i) ) ) (i32.store - (get_local $$add$ptr358$i) - (get_local $$sub409$i) - ) - (set_local $$add410$i - (f64.add - (get_local $$round377$1$i) - (get_local $$small$1$i) - ) + (get_local $$e2$i) + (get_local $$sub256$i) ) - (set_local $$cmp411$i - (f64.ne - (get_local $$add410$i) - (get_local $$round377$1$i) + (set_local $$cmp225$i + (i32.gt_s + (get_local $$sub256$i) + (i32.const 0) ) ) (if - (i32.eqz - (get_local $$cmp411$i) + (get_local $$cmp225$i) + (block + (set_local $$211 + (get_local $$sub256$i) + ) + (set_local $$a$1549$i + (get_local $$a$2$ph$i) + ) + (set_local $$z$1548$i + (get_local $$z$2$i$lcssa) + ) ) (block - (set_local $$a$8$i - (get_local $$a$3$lcssa$i) + (set_local $$$pr477$i + (get_local $$sub256$i) ) - (set_local $$d$4$i - (get_local $$add$ptr358$i) + (set_local $$a$1$lcssa$i + (get_local $$a$2$ph$i) ) - (set_local $$e$4$i - (get_local $$e$1$i) + (set_local $$z$1$lcssa$i + (get_local $$z$2$i$lcssa) ) - (br $do-once$88) + (br $while-out$68) ) ) - (set_local $$add414$i - (i32.add - (get_local $$sub409$i) - (get_local $$i$1$lcssa$i) + (br $while-in$69) + ) + ) + ) + (block + (set_local $$$pr477$i + (get_local $$$pr$i) + ) + (set_local $$a$1$lcssa$i + (get_local $$arraydecay208$add$ptr213$i) + ) + (set_local $$z$1$lcssa$i + (get_local $$incdec$ptr217$i$lcssa) + ) + ) + ) + (set_local $$cmp259$537$i + (i32.lt_s + (get_local $$$pr477$i) + (i32.const 0) + ) + ) + (if + (get_local $$cmp259$537$i) + (block + (set_local $$add273$i + (i32.add + (get_local $$$p$i) + (i32.const 25) + ) + ) + (set_local $$div274$i + (i32.and + (call_import $i32s-div + (get_local $$add273$i) + (i32.const 9) + ) + (i32.const -1) + ) + ) + (set_local $$add275$i + (i32.add + (get_local $$div274$i) + (i32.const 1) + ) + ) + (set_local $$cmp299$i + (i32.eq + (get_local $$or$i$241) + (i32.const 102) + ) + ) + (set_local $$223 + (get_local $$$pr477$i) + ) + (set_local $$a$3539$i + (get_local $$a$1$lcssa$i) + ) + (set_local $$z$3538$i + (get_local $$z$1$lcssa$i) + ) + (loop $while-in$77 + (block $while-out$76 + (set_local $$sub264$i + (i32.sub + (i32.const 0) + (get_local $$223) ) ) - (i32.store - (get_local $$add$ptr358$i) - (get_local $$add414$i) + (set_local $$cmp265$i + (i32.gt_s + (get_local $$sub264$i) + (i32.const 9) + ) ) - (set_local $$cmp416$519$i - (i32.gt_u - (get_local $$add414$i) - (i32.const 999999999) + (set_local $$cond271$i + (if + (get_local $$cmp265$i) + (i32.const 9) + (get_local $$sub264$i) ) ) - (if - (get_local $$cmp416$519$i) - (block - (set_local $$a$5521$i - (get_local $$a$3$lcssa$i) - ) - (set_local $$d$2520$i - (get_local $$add$ptr358$i) - ) - (loop $while-out$92 $while-in$93 - (set_local $$incdec$ptr419$i + (set_local $$cmp277$533$i + (i32.lt_u + (get_local $$a$3539$i) + (get_local $$z$3538$i) + ) + ) + (block $do-once$78 + (if + (get_local $$cmp277$533$i) + (block + (set_local $$shl280$i + (i32.shl + (i32.const 1) + (get_local $$cond271$i) + ) + ) + (set_local $$sub281$i (i32.add - (get_local $$d$2520$i) - (i32.const -4) + (get_local $$shl280$i) + (i32.const -1) ) ) - (i32.store - (get_local $$d$2520$i) + (set_local $$shr285$i + (i32.shr_u + (i32.const 1000000000) + (get_local $$cond271$i) + ) + ) + (set_local $$carry262$0535$i (i32.const 0) ) - (set_local $$cmp420$i - (i32.lt_u - (get_local $$incdec$ptr419$i) - (get_local $$a$5521$i) - ) + (set_local $$d$1534$i + (get_local $$a$3539$i) ) - (if - (get_local $$cmp420$i) - (block - (set_local $$incdec$ptr423$i + (loop $while-in$81 + (block $while-out$80 + (set_local $$225 + (i32.load + (get_local $$d$1534$i) + ) + ) + (set_local $$and282$i + (i32.and + (get_local $$225) + (get_local $$sub281$i) + ) + ) + (set_local $$shr283$i + (i32.shr_u + (get_local $$225) + (get_local $$cond271$i) + ) + ) + (set_local $$add284$i (i32.add - (get_local $$a$5521$i) - (i32.const -4) + (get_local $$shr283$i) + (get_local $$carry262$0535$i) ) ) (i32.store - (get_local $$incdec$ptr423$i) - (i32.const 0) + (get_local $$d$1534$i) + (get_local $$add284$i) ) - (set_local $$a$6$i - (get_local $$incdec$ptr423$i) + (set_local $$mul286$i + (i32.mul + (get_local $$and282$i) + (get_local $$shr285$i) + ) ) - ) - (set_local $$a$6$i - (get_local $$a$5521$i) + (set_local $$incdec$ptr288$i + (i32.add + (get_local $$d$1534$i) + (i32.const 4) + ) + ) + (set_local $$cmp277$i + (i32.lt_u + (get_local $$incdec$ptr288$i) + (get_local $$z$3538$i) + ) + ) + (if + (get_local $$cmp277$i) + (block + (set_local $$carry262$0535$i + (get_local $$mul286$i) + ) + (set_local $$d$1534$i + (get_local $$incdec$ptr288$i) + ) + ) + (block + (set_local $$mul286$i$lcssa + (get_local $$mul286$i) + ) + (br $while-out$80) + ) + ) + (br $while-in$81) ) ) - (set_local $$233 + (set_local $$226 (i32.load - (get_local $$incdec$ptr419$i) + (get_local $$a$3539$i) + ) + ) + (set_local $$tobool290$i + (i32.eq + (get_local $$226) + (i32.const 0) ) ) - (set_local $$inc425$i + (set_local $$incdec$ptr292$i (i32.add - (get_local $$233) - (i32.const 1) + (get_local $$a$3539$i) + (i32.const 4) ) ) - (i32.store - (get_local $$incdec$ptr419$i) - (get_local $$inc425$i) + (set_local $$incdec$ptr292$a$3$i + (if + (get_local $$tobool290$i) + (get_local $$incdec$ptr292$i) + (get_local $$a$3539$i) + ) ) - (set_local $$cmp416$i - (i32.gt_u - (get_local $$inc425$i) - (i32.const 999999999) + (set_local $$tobool294$i + (i32.eq + (get_local $$mul286$i$lcssa) + (i32.const 0) ) ) (if - (get_local $$cmp416$i) + (get_local $$tobool294$i) (block - (set_local $$a$5521$i - (get_local $$a$6$i) + (set_local $$incdec$ptr292$a$3573$i + (get_local $$incdec$ptr292$a$3$i) ) - (set_local $$d$2520$i - (get_local $$incdec$ptr419$i) + (set_local $$z$4$i + (get_local $$z$3538$i) ) + (br $do-once$78) ) - (block - (set_local $$a$5$lcssa$i - (get_local $$a$6$i) - ) - (set_local $$d$2$lcssa$i - (get_local $$incdec$ptr419$i) - ) - (br $while-out$92) + ) + (set_local $$incdec$ptr296$i + (i32.add + (get_local $$z$3538$i) + (i32.const 4) + ) + ) + (i32.store + (get_local $$z$3538$i) + (get_local $$mul286$i$lcssa) + ) + (set_local $$incdec$ptr292$a$3573$i + (get_local $$incdec$ptr292$a$3$i) + ) + (set_local $$z$4$i + (get_local $$incdec$ptr296$i) + ) + ) + (block + (set_local $$224 + (i32.load + (get_local $$a$3539$i) + ) + ) + (set_local $$tobool290$569$i + (i32.eq + (get_local $$224) + (i32.const 0) + ) + ) + (set_local $$incdec$ptr292$570$i + (i32.add + (get_local $$a$3539$i) + (i32.const 4) + ) + ) + (set_local $$incdec$ptr292$a$3$571$i + (if + (get_local $$tobool290$569$i) + (get_local $$incdec$ptr292$570$i) + (get_local $$a$3539$i) ) ) - (br $while-in$93) + (set_local $$incdec$ptr292$a$3573$i + (get_local $$incdec$ptr292$a$3$571$i) + ) + (set_local $$z$4$i + (get_local $$z$3538$i) + ) ) ) - (block - (set_local $$a$5$lcssa$i - (get_local $$a$3$lcssa$i) - ) - (set_local $$d$2$lcssa$i - (get_local $$add$ptr358$i) - ) + ) + (set_local $$cond304$i + (if + (get_local $$cmp299$i) + (get_local $$arraydecay208$add$ptr213$i) + (get_local $$incdec$ptr292$a$3573$i) ) ) - (set_local $$sub$ptr$rhs$cast428$i - (get_local $$a$5$lcssa$i) + (set_local $$sub$ptr$lhs$cast305$i + (get_local $$z$4$i) ) - (set_local $$sub$ptr$sub429$i + (set_local $$sub$ptr$rhs$cast306$i + (get_local $$cond304$i) + ) + (set_local $$sub$ptr$sub307$i (i32.sub - (get_local $$sub$ptr$rhs$cast345$i) - (get_local $$sub$ptr$rhs$cast428$i) + (get_local $$sub$ptr$lhs$cast305$i) + (get_local $$sub$ptr$rhs$cast306$i) ) ) - (set_local $$sub$ptr$div430$i + (set_local $$sub$ptr$div$i (i32.shr_s - (get_local $$sub$ptr$sub429$i) + (get_local $$sub$ptr$sub307$i) (i32.const 2) ) ) - (set_local $$mul431$i - (i32.mul - (get_local $$sub$ptr$div430$i) - (i32.const 9) + (set_local $$cmp308$i + (i32.gt_s + (get_local $$sub$ptr$div$i) + (get_local $$add275$i) + ) + ) + (set_local $$add$ptr311$i + (i32.add + (get_local $$cond304$i) + (i32.shl + (get_local $$add275$i) + (i32.const 2) + ) ) ) - (set_local $$234 + (set_local $$add$ptr311$z$4$i + (if + (get_local $$cmp308$i) + (get_local $$add$ptr311$i) + (get_local $$z$4$i) + ) + ) + (set_local $$227 (i32.load - (get_local $$a$5$lcssa$i) + (get_local $$e2$i) ) ) - (set_local $$cmp433$515$i - (i32.lt_u - (get_local $$234) - (i32.const 10) + (set_local $$add313$i + (i32.add + (get_local $$227) + (get_local $$cond271$i) + ) + ) + (i32.store + (get_local $$e2$i) + (get_local $$add313$i) + ) + (set_local $$cmp259$i + (i32.lt_s + (get_local $$add313$i) + (i32.const 0) ) ) (if - (get_local $$cmp433$515$i) + (get_local $$cmp259$i) (block - (set_local $$a$8$i - (get_local $$a$5$lcssa$i) + (set_local $$223 + (get_local $$add313$i) ) - (set_local $$d$4$i - (get_local $$d$2$lcssa$i) + (set_local $$a$3539$i + (get_local $$incdec$ptr292$a$3573$i) ) - (set_local $$e$4$i - (get_local $$mul431$i) + (set_local $$z$3538$i + (get_local $$add$ptr311$z$4$i) ) - (br $do-once$88) ) (block - (set_local $$e$2517$i - (get_local $$mul431$i) + (set_local $$a$3$lcssa$i + (get_local $$incdec$ptr292$a$3573$i) ) - (set_local $$i$2516$i - (i32.const 10) + (set_local $$z$3$lcssa$i + (get_local $$add$ptr311$z$4$i) ) + (br $while-out$76) + ) + ) + (br $while-in$77) + ) + ) + ) + (block + (set_local $$a$3$lcssa$i + (get_local $$a$1$lcssa$i) + ) + (set_local $$z$3$lcssa$i + (get_local $$z$1$lcssa$i) + ) + ) + ) + (set_local $$cmp315$i + (i32.lt_u + (get_local $$a$3$lcssa$i) + (get_local $$z$3$lcssa$i) + ) + ) + (block $do-once$82 + (if + (get_local $$cmp315$i) + (block + (set_local $$sub$ptr$rhs$cast319$i + (get_local $$a$3$lcssa$i) + ) + (set_local $$sub$ptr$sub320$i + (i32.sub + (get_local $$sub$ptr$rhs$cast345$i) + (get_local $$sub$ptr$rhs$cast319$i) + ) + ) + (set_local $$sub$ptr$div321$i + (i32.shr_s + (get_local $$sub$ptr$sub320$i) + (i32.const 2) + ) + ) + (set_local $$mul322$i + (i32.mul + (get_local $$sub$ptr$div321$i) + (i32.const 9) + ) + ) + (set_local $$228 + (i32.load + (get_local $$a$3$lcssa$i) + ) + ) + (set_local $$cmp324$529$i + (i32.lt_u + (get_local $$228) + (i32.const 10) + ) + ) + (if + (get_local $$cmp324$529$i) + (block + (set_local $$e$1$i + (get_local $$mul322$i) + ) + (br $do-once$82) + ) + (block + (set_local $$e$0531$i + (get_local $$mul322$i) + ) + (set_local $$i$0530$i + (i32.const 10) ) ) - (loop $while-out$94 $while-in$95 - (set_local $$mul437$i + ) + (loop $while-in$85 + (block $while-out$84 + (set_local $$mul328$i (i32.mul - (get_local $$i$2516$i) + (get_local $$i$0530$i) (i32.const 10) ) ) - (set_local $$inc438$i + (set_local $$inc$i (i32.add - (get_local $$e$2517$i) + (get_local $$e$0531$i) (i32.const 1) ) ) - (set_local $$cmp433$i + (set_local $$cmp324$i (i32.lt_u - (get_local $$234) - (get_local $$mul437$i) + (get_local $$228) + (get_local $$mul328$i) ) ) (if - (get_local $$cmp433$i) + (get_local $$cmp324$i) (block - (set_local $$a$8$i - (get_local $$a$5$lcssa$i) - ) - (set_local $$d$4$i - (get_local $$d$2$lcssa$i) - ) - (set_local $$e$4$i - (get_local $$inc438$i) + (set_local $$e$1$i + (get_local $$inc$i) ) - (br $while-out$94) + (br $while-out$84) ) (block - (set_local $$e$2517$i - (get_local $$inc438$i) + (set_local $$e$0531$i + (get_local $$inc$i) ) - (set_local $$i$2516$i - (get_local $$mul437$i) + (set_local $$i$0530$i + (get_local $$mul328$i) ) ) ) - (br $while-in$95) + (br $while-in$85) ) ) ) - ) - (set_local $$add$ptr442$i - (i32.add - (get_local $$d$4$i) - (i32.const 4) - ) - ) - (set_local $$cmp443$i - (i32.gt_u - (get_local $$z$3$lcssa$i) - (get_local $$add$ptr442$i) - ) - ) - (set_local $$add$ptr442$z$3$i - (if - (get_local $$cmp443$i) - (get_local $$add$ptr442$i) - (get_local $$z$3$lcssa$i) + (set_local $$e$1$i + (i32.const 0) ) ) - (set_local $$a$9$ph$i - (get_local $$a$8$i) - ) - (set_local $$e$5$ph$i - (get_local $$e$4$i) - ) - (set_local $$z$7$ph$i - (get_local $$add$ptr442$z$3$i) - ) ) - (block - (set_local $$a$9$ph$i - (get_local $$a$3$lcssa$i) + (set_local $$cmp333$i + (i32.ne + (get_local $$or$i$241) + (i32.const 102) ) - (set_local $$e$5$ph$i + ) + (set_local $$mul335$i + (if + (get_local $$cmp333$i) (get_local $$e$1$i) + (i32.const 0) ) - (set_local $$z$7$ph$i - (get_local $$z$3$lcssa$i) + ) + (set_local $$sub336$i + (i32.sub + (get_local $$$p$i) + (get_local $$mul335$i) ) ) - ) - (set_local $$sub626$le$i - (i32.sub - (i32.const 0) - (get_local $$e$5$ph$i) + (set_local $$cmp338$i + (i32.eq + (get_local $$or$i$241) + (i32.const 103) + ) ) - ) - (set_local $$z$7$i - (get_local $$z$7$ph$i) - ) - (loop $while-out$96 $while-in$97 - (set_local $$cmp450$i - (i32.gt_u - (get_local $$z$7$i) - (get_local $$a$9$ph$i) + (set_local $$tobool341$i + (i32.ne + (get_local $$$p$i) + (i32.const 0) ) ) - (if - (i32.eqz - (get_local $$cmp450$i) + (set_local $$229 + (i32.and + (get_local $$tobool341$i) + (get_local $$cmp338$i) ) - (block - (set_local $$cmp450$lcssa$i - (i32.const 0) - ) - (set_local $$z$7$i$lcssa - (get_local $$z$7$i) + ) + (set_local $$land$ext$neg$i + (i32.shr_s + (i32.shl + (get_local $$229) + (i32.const 31) ) - (br $while-out$96) + (i32.const 31) ) ) - (set_local $$arrayidx453$i + (set_local $$sub343$i (i32.add - (get_local $$z$7$i) - (i32.const -4) + (get_local $$sub336$i) + (get_local $$land$ext$neg$i) ) ) - (set_local $$235 - (i32.load - (get_local $$arrayidx453$i) + (set_local $$sub$ptr$lhs$cast344$i + (get_local $$z$3$lcssa$i) + ) + (set_local $$sub$ptr$sub346$i + (i32.sub + (get_local $$sub$ptr$lhs$cast344$i) + (get_local $$sub$ptr$rhs$cast345$i) ) ) - (set_local $$lnot455$i - (i32.eq - (get_local $$235) - (i32.const 0) + (set_local $$sub$ptr$div347$i + (i32.shr_s + (get_local $$sub$ptr$sub346$i) + (i32.const 2) ) ) - (if - (get_local $$lnot455$i) - (set_local $$z$7$i - (get_local $$arrayidx453$i) + (set_local $$230 + (i32.mul + (get_local $$sub$ptr$div347$i) + (i32.const 9) ) - (block - (set_local $$cmp450$lcssa$i - (i32.const 1) - ) - (set_local $$z$7$i$lcssa - (get_local $$z$7$i) - ) - (br $while-out$96) + ) + (set_local $$mul349$i + (i32.add + (get_local $$230) + (i32.const -9) + ) + ) + (set_local $$cmp350$i + (i32.lt_s + (get_local $$sub343$i) + (get_local $$mul349$i) ) ) - (br $while-in$97) - ) - (block $do-once$98 (if - (get_local $$cmp338$i) + (get_local $$cmp350$i) (block - (set_local $$236 + (set_local $$add$ptr354$i + (i32.add + (get_local $$arraydecay208$add$ptr213$i) + (i32.const 4) + ) + ) + (set_local $$add355$i + (i32.add + (get_local $$sub343$i) + (i32.const 9216) + ) + ) + (set_local $$div356$i (i32.and - (get_local $$tobool341$i) - (i32.const 1) + (call_import $i32s-div + (get_local $$add355$i) + (i32.const 9) + ) + (i32.const -1) ) ) - (set_local $$inc468$i - (i32.xor - (get_local $$236) - (i32.const 1) + (set_local $$sub357$i + (i32.add + (get_local $$div356$i) + (i32.const -1024) ) ) - (set_local $$$p$inc468$i + (set_local $$add$ptr358$i (i32.add - (get_local $$inc468$i) - (get_local $$$p$i) + (get_local $$add$ptr354$i) + (i32.shl + (get_local $$sub357$i) + (i32.const 2) + ) ) ) - (set_local $$cmp470$i - (i32.gt_s - (get_local $$$p$inc468$i) - (get_local $$e$5$ph$i) + (set_local $$rem360$i + (i32.and + (call_import $i32s-rem + (get_local $$add355$i) + (i32.const 9) + ) + (i32.const -1) ) ) - (set_local $$cmp473$i - (i32.gt_s - (get_local $$e$5$ph$i) - (i32.const -5) + (set_local $$j$0$524$i + (i32.add + (get_local $$rem360$i) + (i32.const 1) ) ) - (set_local $$or$cond2$i - (i32.and - (get_local $$cmp470$i) - (get_local $$cmp473$i) + (set_local $$cmp363$525$i + (i32.lt_s + (get_local $$j$0$524$i) + (i32.const 9) ) ) (if - (get_local $$or$cond2$i) + (get_local $$cmp363$525$i) (block - (set_local $$dec476$i - (i32.add - (get_local $$t$0) - (i32.const -1) - ) + (set_local $$i$1526$i + (i32.const 10) ) - (set_local $$add477$neg$i - (i32.add - (get_local $$$p$inc468$i) - (i32.const -1) - ) + (set_local $$j$0527$i + (get_local $$j$0$524$i) ) - (set_local $$sub478$i - (i32.sub - (get_local $$add477$neg$i) - (get_local $$e$5$ph$i) + (loop $while-in$87 + (block $while-out$86 + (set_local $$mul367$i + (i32.mul + (get_local $$i$1526$i) + (i32.const 10) + ) + ) + (set_local $$j$0$i + (i32.add + (get_local $$j$0527$i) + (i32.const 1) + ) + ) + (set_local $$exitcond$i + (i32.eq + (get_local $$j$0$i) + (i32.const 9) + ) + ) + (if + (get_local $$exitcond$i) + (block + (set_local $$i$1$lcssa$i + (get_local $$mul367$i) + ) + (br $while-out$86) + ) + (block + (set_local $$i$1526$i + (get_local $$mul367$i) + ) + (set_local $$j$0527$i + (get_local $$j$0$i) + ) + ) + ) + (br $while-in$87) ) ) - (set_local $$p$addr$2$i - (get_local $$sub478$i) - ) - (set_local $$t$addr$0$i - (get_local $$dec476$i) - ) ) - (block - (set_local $$sub480$i - (i32.add - (get_local $$t$0) - (i32.const -2) - ) - ) - (set_local $$dec481$i - (i32.add - (get_local $$$p$inc468$i) - (i32.const -1) - ) - ) - (set_local $$p$addr$2$i - (get_local $$dec481$i) - ) - (set_local $$t$addr$0$i - (get_local $$sub480$i) - ) + (set_local $$i$1$lcssa$i + (i32.const 10) + ) + ) + (set_local $$231 + (i32.load + (get_local $$add$ptr358$i) ) ) - (set_local $$and483$i + (set_local $$rem370$i (i32.and - (get_local $$fl$1$and219) - (i32.const 8) + (call_import $i32u-rem + (get_local $$231) + (get_local $$i$1$lcssa$i) + ) + (i32.const -1) ) ) - (set_local $$tobool484$i + (set_local $$tobool371$i (i32.eq - (get_local $$and483$i) + (get_local $$rem370$i) (i32.const 0) ) ) - (if - (i32.eqz - (get_local $$tobool484$i) + (set_local $$add$ptr373$i + (i32.add + (get_local $$add$ptr358$i) + (i32.const 4) ) - (block - (set_local $$and610$pre$phi$iZ2D - (get_local $$and483$i) - ) - (set_local $$p$addr$3$i - (get_local $$p$addr$2$i) - ) - (set_local $$t$addr$1$i - (get_local $$t$addr$0$i) - ) - (br $do-once$98) + ) + (set_local $$cmp374$i + (i32.eq + (get_local $$add$ptr373$i) + (get_local $$z$3$lcssa$i) + ) + ) + (set_local $$or$cond395$i + (i32.and + (get_local $$cmp374$i) + (get_local $$tobool371$i) ) ) - (block $do-once$100 + (block $do-once$88 (if - (get_local $$cmp450$lcssa$i) + (get_local $$or$cond395$i) + (block + (set_local $$a$8$i + (get_local $$a$3$lcssa$i) + ) + (set_local $$d$4$i + (get_local $$add$ptr358$i) + ) + (set_local $$e$4$i + (get_local $$e$1$i) + ) + ) (block - (set_local $$arrayidx489$i - (i32.add - (get_local $$z$7$i$lcssa) - (i32.const -4) + (set_local $$div378$i + (i32.and + (call_import $i32u-div + (get_local $$231) + (get_local $$i$1$lcssa$i) + ) + (i32.const -1) ) ) - (set_local $$237 - (i32.load - (get_local $$arrayidx489$i) + (set_local $$and379$i + (i32.and + (get_local $$div378$i) + (i32.const 1) ) ) - (set_local $$tobool490$i + (set_local $$tobool380$i (i32.eq - (get_local $$237) + (get_local $$and379$i) (i32.const 0) ) ) - (if - (get_local $$tobool490$i) - (block - (set_local $$j$2$i - (i32.const 9) - ) - (br $do-once$100) + (set_local $$$396$i + (if + (get_local $$tobool380$i) + (f64.const 9007199254740992) + (f64.const 9007199254740994) ) ) - (set_local $$rem494$510$i + (set_local $$div384$i (i32.and - (call_import $i32u-rem - (get_local $$237) - (i32.const 10) + (call_import $i32s-div + (get_local $$i$1$lcssa$i) + (i32.const 2) ) (i32.const -1) ) ) - (set_local $$cmp495$511$i - (i32.eq - (get_local $$rem494$510$i) - (i32.const 0) + (set_local $$cmp385$i + (i32.lt_u + (get_local $$rem370$i) + (get_local $$div384$i) ) ) (if - (get_local $$cmp495$511$i) - (block - (set_local $$i$3512$i - (i32.const 10) - ) - (set_local $$j$1513$i - (i32.const 0) - ) + (get_local $$cmp385$i) + (set_local $$small$0$i + (f64.const 0.5) ) (block - (set_local $$j$2$i - (i32.const 0) - ) - (br $do-once$100) - ) - ) - (loop $while-out$102 $while-in$103 - (set_local $$mul499$i - (i32.mul - (get_local $$i$3512$i) - (i32.const 10) + (set_local $$cmp390$i + (i32.eq + (get_local $$rem370$i) + (get_local $$div384$i) + ) ) - ) - (set_local $$inc500$i - (i32.add - (get_local $$j$1513$i) - (i32.const 1) + (set_local $$or$cond397$i + (i32.and + (get_local $$cmp374$i) + (get_local $$cmp390$i) + ) ) - ) - (set_local $$rem494$i - (i32.and - (call_import $i32u-rem - (get_local $$237) - (get_local $$mul499$i) + (set_local $$$404$i + (if + (get_local $$or$cond397$i) + (f64.const 1) + (f64.const 1.5) ) - (i32.const -1) ) - ) - (set_local $$cmp495$i - (i32.eq - (get_local $$rem494$i) - (i32.const 0) + (set_local $$small$0$i + (get_local $$$404$i) ) ) + ) + (set_local $$tobool400$i + (i32.eq + (get_local $$pl$0$i) + (i32.const 0) + ) + ) + (block $do-once$90 (if - (get_local $$cmp495$i) + (get_local $$tobool400$i) (block - (set_local $$i$3512$i - (get_local $$mul499$i) + (set_local $$round377$1$i + (get_local $$$396$i) ) - (set_local $$j$1513$i - (get_local $$inc500$i) + (set_local $$small$1$i + (get_local $$small$0$i) ) ) (block - (set_local $$j$2$i - (get_local $$inc500$i) + (set_local $$232 + (i32.load8_s + (get_local $$prefix$0$i) + ) + ) + (set_local $$cmp403$i + (i32.eq + (i32.shr_s + (i32.shl + (get_local $$232) + (i32.const 24) + ) + (i32.const 24) + ) + (i32.const 45) + ) + ) + (if + (i32.eqz + (get_local $$cmp403$i) + ) + (block + (set_local $$round377$1$i + (get_local $$$396$i) + ) + (set_local $$small$1$i + (get_local $$small$0$i) + ) + (br $do-once$90) + ) + ) + (set_local $$mul406$i + (f64.neg + (get_local $$$396$i) + ) + ) + (set_local $$mul407$i + (f64.neg + (get_local $$small$0$i) + ) + ) + (set_local $$round377$1$i + (get_local $$mul406$i) + ) + (set_local $$small$1$i + (get_local $$mul407$i) ) - (br $while-out$102) ) ) - (br $while-in$103) ) - ) - (set_local $$j$2$i - (i32.const 9) - ) - ) - ) - (set_local $$or504$i - (i32.or - (get_local $$t$addr$0$i) - (i32.const 32) - ) - ) - (set_local $$cmp505$i - (i32.eq - (get_local $$or504$i) - (i32.const 102) - ) - ) - (set_local $$sub$ptr$lhs$cast508$i - (get_local $$z$7$i$lcssa) - ) - (set_local $$sub$ptr$sub510$i - (i32.sub - (get_local $$sub$ptr$lhs$cast508$i) - (get_local $$sub$ptr$rhs$cast345$i) - ) - ) - (set_local $$sub$ptr$div511$i - (i32.shr_s - (get_local $$sub$ptr$sub510$i) - (i32.const 2) - ) - ) - (set_local $$238 - (i32.mul - (get_local $$sub$ptr$div511$i) - (i32.const 9) - ) - ) - (set_local $$mul513$i - (i32.add - (get_local $$238) - (i32.const -9) - ) - ) - (if - (get_local $$cmp505$i) - (block - (set_local $$sub514$i - (i32.sub - (get_local $$mul513$i) - (get_local $$j$2$i) + (set_local $$sub409$i + (i32.sub + (get_local $$231) + (get_local $$rem370$i) + ) ) - ) - (set_local $$cmp515$i - (i32.lt_s - (get_local $$sub514$i) - (i32.const 0) + (i32.store + (get_local $$add$ptr358$i) + (get_local $$sub409$i) ) - ) - (set_local $$$sub514$i - (if - (get_local $$cmp515$i) - (i32.const 0) - (get_local $$sub514$i) + (set_local $$add410$i + (f64.add + (get_local $$round377$1$i) + (get_local $$small$1$i) + ) ) - ) - (set_local $$cmp528$i - (i32.lt_s - (get_local $$p$addr$2$i) - (get_local $$$sub514$i) + (set_local $$cmp411$i + (f64.ne + (get_local $$add410$i) + (get_local $$round377$1$i) + ) ) - ) - (set_local $$p$addr$2$$sub514398$i (if - (get_local $$cmp528$i) - (get_local $$p$addr$2$i) - (get_local $$$sub514$i) + (i32.eqz + (get_local $$cmp411$i) + ) + (block + (set_local $$a$8$i + (get_local $$a$3$lcssa$i) + ) + (set_local $$d$4$i + (get_local $$add$ptr358$i) + ) + (set_local $$e$4$i + (get_local $$e$1$i) + ) + (br $do-once$88) + ) ) - ) - (set_local $$and610$pre$phi$iZ2D - (i32.const 0) - ) - (set_local $$p$addr$3$i - (get_local $$p$addr$2$$sub514398$i) - ) - (set_local $$t$addr$1$i - (get_local $$t$addr$0$i) - ) - (br $do-once$98) - ) - (block - (set_local $$add561$i - (i32.add - (get_local $$mul513$i) - (get_local $$e$5$ph$i) + (set_local $$add414$i + (i32.add + (get_local $$sub409$i) + (get_local $$i$1$lcssa$i) + ) ) - ) - (set_local $$sub562$i - (i32.sub - (get_local $$add561$i) - (get_local $$j$2$i) + (i32.store + (get_local $$add$ptr358$i) + (get_local $$add414$i) ) - ) - (set_local $$cmp563$i - (i32.lt_s - (get_local $$sub562$i) - (i32.const 0) + (set_local $$cmp416$519$i + (i32.gt_u + (get_local $$add414$i) + (i32.const 999999999) + ) ) - ) - (set_local $$$sub562$i (if - (get_local $$cmp563$i) - (i32.const 0) - (get_local $$sub562$i) + (get_local $$cmp416$519$i) + (block + (set_local $$a$5521$i + (get_local $$a$3$lcssa$i) + ) + (set_local $$d$2520$i + (get_local $$add$ptr358$i) + ) + (loop $while-in$93 + (block $while-out$92 + (set_local $$incdec$ptr419$i + (i32.add + (get_local $$d$2520$i) + (i32.const -4) + ) + ) + (i32.store + (get_local $$d$2520$i) + (i32.const 0) + ) + (set_local $$cmp420$i + (i32.lt_u + (get_local $$incdec$ptr419$i) + (get_local $$a$5521$i) + ) + ) + (if + (get_local $$cmp420$i) + (block + (set_local $$incdec$ptr423$i + (i32.add + (get_local $$a$5521$i) + (i32.const -4) + ) + ) + (i32.store + (get_local $$incdec$ptr423$i) + (i32.const 0) + ) + (set_local $$a$6$i + (get_local $$incdec$ptr423$i) + ) + ) + (set_local $$a$6$i + (get_local $$a$5521$i) + ) + ) + (set_local $$233 + (i32.load + (get_local $$incdec$ptr419$i) + ) + ) + (set_local $$inc425$i + (i32.add + (get_local $$233) + (i32.const 1) + ) + ) + (i32.store + (get_local $$incdec$ptr419$i) + (get_local $$inc425$i) + ) + (set_local $$cmp416$i + (i32.gt_u + (get_local $$inc425$i) + (i32.const 999999999) + ) + ) + (if + (get_local $$cmp416$i) + (block + (set_local $$a$5521$i + (get_local $$a$6$i) + ) + (set_local $$d$2520$i + (get_local $$incdec$ptr419$i) + ) + ) + (block + (set_local $$a$5$lcssa$i + (get_local $$a$6$i) + ) + (set_local $$d$2$lcssa$i + (get_local $$incdec$ptr419$i) + ) + (br $while-out$92) + ) + ) + (br $while-in$93) + ) + ) + ) + (block + (set_local $$a$5$lcssa$i + (get_local $$a$3$lcssa$i) + ) + (set_local $$d$2$lcssa$i + (get_local $$add$ptr358$i) + ) + ) ) - ) - (set_local $$cmp577$i - (i32.lt_s - (get_local $$p$addr$2$i) - (get_local $$$sub562$i) + (set_local $$sub$ptr$rhs$cast428$i + (get_local $$a$5$lcssa$i) + ) + (set_local $$sub$ptr$sub429$i + (i32.sub + (get_local $$sub$ptr$rhs$cast345$i) + (get_local $$sub$ptr$rhs$cast428$i) + ) + ) + (set_local $$sub$ptr$div430$i + (i32.shr_s + (get_local $$sub$ptr$sub429$i) + (i32.const 2) + ) + ) + (set_local $$mul431$i + (i32.mul + (get_local $$sub$ptr$div430$i) + (i32.const 9) + ) + ) + (set_local $$234 + (i32.load + (get_local $$a$5$lcssa$i) + ) + ) + (set_local $$cmp433$515$i + (i32.lt_u + (get_local $$234) + (i32.const 10) + ) + ) + (if + (get_local $$cmp433$515$i) + (block + (set_local $$a$8$i + (get_local $$a$5$lcssa$i) + ) + (set_local $$d$4$i + (get_local $$d$2$lcssa$i) + ) + (set_local $$e$4$i + (get_local $$mul431$i) + ) + (br $do-once$88) + ) + (block + (set_local $$e$2517$i + (get_local $$mul431$i) + ) + (set_local $$i$2516$i + (i32.const 10) + ) + ) ) - ) - (set_local $$p$addr$2$$sub562399$i - (if - (get_local $$cmp577$i) - (get_local $$p$addr$2$i) - (get_local $$$sub562$i) + (loop $while-in$95 + (block $while-out$94 + (set_local $$mul437$i + (i32.mul + (get_local $$i$2516$i) + (i32.const 10) + ) + ) + (set_local $$inc438$i + (i32.add + (get_local $$e$2517$i) + (i32.const 1) + ) + ) + (set_local $$cmp433$i + (i32.lt_u + (get_local $$234) + (get_local $$mul437$i) + ) + ) + (if + (get_local $$cmp433$i) + (block + (set_local $$a$8$i + (get_local $$a$5$lcssa$i) + ) + (set_local $$d$4$i + (get_local $$d$2$lcssa$i) + ) + (set_local $$e$4$i + (get_local $$inc438$i) + ) + (br $while-out$94) + ) + (block + (set_local $$e$2517$i + (get_local $$inc438$i) + ) + (set_local $$i$2516$i + (get_local $$mul437$i) + ) + ) + ) + (br $while-in$95) + ) ) ) - (set_local $$and610$pre$phi$iZ2D - (i32.const 0) - ) - (set_local $$p$addr$3$i - (get_local $$p$addr$2$$sub562399$i) - ) - (set_local $$t$addr$1$i - (get_local $$t$addr$0$i) - ) - (br $do-once$98) ) ) - ) - (block - (set_local $$$pre567$i - (i32.and - (get_local $$fl$1$and219) - (i32.const 8) + (set_local $$add$ptr442$i + (i32.add + (get_local $$d$4$i) + (i32.const 4) ) ) - (set_local $$and610$pre$phi$iZ2D - (get_local $$$pre567$i) + (set_local $$cmp443$i + (i32.gt_u + (get_local $$z$3$lcssa$i) + (get_local $$add$ptr442$i) + ) ) - (set_local $$p$addr$3$i - (get_local $$$p$i) + (set_local $$add$ptr442$z$3$i + (if + (get_local $$cmp443$i) + (get_local $$add$ptr442$i) + (get_local $$z$3$lcssa$i) + ) ) - (set_local $$t$addr$1$i - (get_local $$t$0) + (set_local $$a$9$ph$i + (get_local $$a$8$i) ) - ) - ) - ) - (set_local $$239 - (i32.or - (get_local $$p$addr$3$i) - (get_local $$and610$pre$phi$iZ2D) - ) - ) - (set_local $$240 - (i32.ne - (get_local $$239) - (i32.const 0) - ) - ) - (set_local $$lor$ext$i - (i32.and - (get_local $$240) - (i32.const 1) - ) - ) - (set_local $$or613$i - (i32.or - (get_local $$t$addr$1$i) - (i32.const 32) - ) - ) - (set_local $$cmp614$i - (i32.eq - (get_local $$or613$i) - (i32.const 102) - ) - ) - (if - (get_local $$cmp614$i) - (block - (set_local $$cmp617$i - (i32.gt_s - (get_local $$e$5$ph$i) - (i32.const 0) + (set_local $$e$5$ph$i + (get_local $$e$4$i) + ) + (set_local $$z$7$ph$i + (get_local $$add$ptr442$z$3$i) ) ) - (set_local $$add620$i - (if - (get_local $$cmp617$i) - (get_local $$e$5$ph$i) - (i32.const 0) + (block + (set_local $$a$9$ph$i + (get_local $$a$3$lcssa$i) + ) + (set_local $$e$5$ph$i + (get_local $$e$1$i) + ) + (set_local $$z$7$ph$i + (get_local $$z$3$lcssa$i) ) ) - (set_local $$estr$2$i + ) + (set_local $$sub626$le$i + (i32.sub (i32.const 0) - ) - (set_local $$sub$ptr$sub650$pn$i - (get_local $$add620$i) + (get_local $$e$5$ph$i) ) ) - (block - (set_local $$cmp623$i - (i32.lt_s - (get_local $$e$5$ph$i) - (i32.const 0) + (set_local $$z$7$i + (get_local $$z$7$ph$i) + ) + (loop $while-in$97 + (block $while-out$96 + (set_local $$cmp450$i + (i32.gt_u + (get_local $$z$7$i) + (get_local $$a$9$ph$i) + ) ) - ) - (set_local $$cond629$i (if - (get_local $$cmp623$i) - (get_local $$sub626$le$i) - (get_local $$e$5$ph$i) - ) - ) - (set_local $$241 - (i32.lt_s - (get_local $$cond629$i) - (i32.const 0) + (i32.eqz + (get_local $$cmp450$i) + ) + (block + (set_local $$cmp450$lcssa$i + (i32.const 0) + ) + (set_local $$z$7$i$lcssa + (get_local $$z$7$i) + ) + (br $while-out$96) + ) ) - ) - (set_local $$242 - (i32.shr_s - (i32.shl - (get_local $$241) - (i32.const 31) + (set_local $$arrayidx453$i + (i32.add + (get_local $$z$7$i) + (i32.const -4) ) - (i32.const 31) ) - ) - (set_local $$243 - (call $_fmt_u - (get_local $$cond629$i) - (get_local $$242) - (get_local $$arrayidx$i$236) + (set_local $$235 + (i32.load + (get_local $$arrayidx453$i) + ) ) - ) - (set_local $$sub$ptr$rhs$cast634$504$i - (get_local $$243) - ) - (set_local $$sub$ptr$sub635$505$i - (i32.sub - (get_local $$sub$ptr$lhs$cast160$i) - (get_local $$sub$ptr$rhs$cast634$504$i) + (set_local $$lnot455$i + (i32.eq + (get_local $$235) + (i32.const 0) + ) ) - ) - (set_local $$cmp636$506$i - (i32.lt_s - (get_local $$sub$ptr$sub635$505$i) - (i32.const 2) + (if + (get_local $$lnot455$i) + (set_local $$z$7$i + (get_local $$arrayidx453$i) + ) + (block + (set_local $$cmp450$lcssa$i + (i32.const 1) + ) + (set_local $$z$7$i$lcssa + (get_local $$z$7$i) + ) + (br $while-out$96) + ) ) + (br $while-in$97) ) + ) + (block $do-once$98 (if - (get_local $$cmp636$506$i) + (get_local $$cmp338$i) (block - (set_local $$estr$1507$i - (get_local $$243) + (set_local $$236 + (i32.and + (get_local $$tobool341$i) + (i32.const 1) + ) ) - (loop $while-out$104 $while-in$105 - (set_local $$incdec$ptr639$i - (i32.add - (get_local $$estr$1507$i) - (i32.const -1) - ) + (set_local $$inc468$i + (i32.xor + (get_local $$236) + (i32.const 1) ) - (i32.store8 - (get_local $$incdec$ptr639$i) - (i32.const 48) + ) + (set_local $$$p$inc468$i + (i32.add + (get_local $$inc468$i) + (get_local $$$p$i) ) - (set_local $$sub$ptr$rhs$cast634$i - (get_local $$incdec$ptr639$i) + ) + (set_local $$cmp470$i + (i32.gt_s + (get_local $$$p$inc468$i) + (get_local $$e$5$ph$i) ) - (set_local $$sub$ptr$sub635$i - (i32.sub - (get_local $$sub$ptr$lhs$cast160$i) - (get_local $$sub$ptr$rhs$cast634$i) - ) + ) + (set_local $$cmp473$i + (i32.gt_s + (get_local $$e$5$ph$i) + (i32.const -5) ) - (set_local $$cmp636$i - (i32.lt_s - (get_local $$sub$ptr$sub635$i) - (i32.const 2) + ) + (set_local $$or$cond2$i + (i32.and + (get_local $$cmp470$i) + (get_local $$cmp473$i) + ) + ) + (if + (get_local $$or$cond2$i) + (block + (set_local $$dec476$i + (i32.add + (get_local $$t$0) + (i32.const -1) + ) + ) + (set_local $$add477$neg$i + (i32.add + (get_local $$$p$inc468$i) + (i32.const -1) + ) + ) + (set_local $$sub478$i + (i32.sub + (get_local $$add477$neg$i) + (get_local $$e$5$ph$i) + ) + ) + (set_local $$p$addr$2$i + (get_local $$sub478$i) + ) + (set_local $$t$addr$0$i + (get_local $$dec476$i) ) ) - (if - (get_local $$cmp636$i) - (set_local $$estr$1507$i - (get_local $$incdec$ptr639$i) + (block + (set_local $$sub480$i + (i32.add + (get_local $$t$0) + (i32.const -2) + ) ) - (block - (set_local $$estr$1$lcssa$i - (get_local $$incdec$ptr639$i) + (set_local $$dec481$i + (i32.add + (get_local $$$p$inc468$i) + (i32.const -1) ) - (br $while-out$104) + ) + (set_local $$p$addr$2$i + (get_local $$dec481$i) + ) + (set_local $$t$addr$0$i + (get_local $$sub480$i) ) ) - (br $while-in$105) - ) - ) - (set_local $$estr$1$lcssa$i - (get_local $$243) - ) - ) - (set_local $$244 - (i32.shr_s - (get_local $$e$5$ph$i) - (i32.const 31) - ) - ) - (set_local $$245 - (i32.and - (get_local $$244) - (i32.const 2) - ) - ) - (set_local $$246 - (i32.add - (get_local $$245) - (i32.const 43) - ) - ) - (set_local $$conv644$i - (i32.and - (get_local $$246) - (i32.const 255) - ) - ) - (set_local $$incdec$ptr645$i - (i32.add - (get_local $$estr$1$lcssa$i) - (i32.const -1) - ) - ) - (i32.store8 - (get_local $$incdec$ptr645$i) - (get_local $$conv644$i) - ) - (set_local $$conv646$i - (i32.and - (get_local $$t$addr$1$i) - (i32.const 255) - ) - ) - (set_local $$incdec$ptr647$i - (i32.add - (get_local $$estr$1$lcssa$i) - (i32.const -2) - ) - ) - (i32.store8 - (get_local $$incdec$ptr647$i) - (get_local $$conv646$i) - ) - (set_local $$sub$ptr$rhs$cast649$i - (get_local $$incdec$ptr647$i) - ) - (set_local $$sub$ptr$sub650$i - (i32.sub - (get_local $$sub$ptr$lhs$cast160$i) - (get_local $$sub$ptr$rhs$cast649$i) - ) - ) - (set_local $$estr$2$i - (get_local $$incdec$ptr647$i) - ) - (set_local $$sub$ptr$sub650$pn$i - (get_local $$sub$ptr$sub650$i) - ) - ) - ) - (set_local $$add608$i - (i32.add - (get_local $$pl$0$i) - (i32.const 1) - ) - ) - (set_local $$add612$i - (i32.add - (get_local $$add608$i) - (get_local $$p$addr$3$i) - ) - ) - (set_local $$l$1$i - (i32.add - (get_local $$add612$i) - (get_local $$lor$ext$i) - ) - ) - (set_local $$add653$i - (i32.add - (get_local $$l$1$i) - (get_local $$sub$ptr$sub650$pn$i) - ) - ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$1) - (get_local $$add653$i) - (get_local $$fl$1$and219) - ) - (set_local $$247 - (i32.load - (get_local $$f) - ) - ) - (set_local $$and$i$436$i - (i32.and - (get_local $$247) - (i32.const 32) - ) - ) - (set_local $$tobool$i$437$i - (i32.eq - (get_local $$and$i$436$i) - (i32.const 0) - ) - ) - (if - (get_local $$tobool$i$437$i) - (call $___fwritex - (get_local $$prefix$0$i) - (get_local $$pl$0$i) - (get_local $$f) - ) - ) - (set_local $$xor655$i - (i32.xor - (get_local $$fl$1$and219) - (i32.const 65536) - ) - ) - (call $_pad - (get_local $$f) - (i32.const 48) - (get_local $$w$1) - (get_local $$add653$i) - (get_local $$xor655$i) - ) - (block $do-once$106 - (if - (get_local $$cmp614$i) - (block - (set_local $$cmp660$i - (i32.gt_u - (get_local $$a$9$ph$i) - (get_local $$arraydecay208$add$ptr213$i) - ) - ) - (set_local $$r$0$a$9$i - (if - (get_local $$cmp660$i) - (get_local $$arraydecay208$add$ptr213$i) - (get_local $$a$9$ph$i) ) - ) - (set_local $$d$5494$i - (get_local $$r$0$a$9$i) - ) - (loop $while-out$114 $while-in$115 - (set_local $$248 - (i32.load - (get_local $$d$5494$i) + (set_local $$and483$i + (i32.and + (get_local $$fl$1$and219) + (i32.const 8) ) ) - (set_local $$249 - (call $_fmt_u - (get_local $$248) + (set_local $$tobool484$i + (i32.eq + (get_local $$and483$i) (i32.const 0) - (get_local $$add$ptr671$i) ) ) - (set_local $$cmp673$i - (i32.eq - (get_local $$d$5494$i) - (get_local $$r$0$a$9$i) + (if + (i32.eqz + (get_local $$tobool484$i) + ) + (block + (set_local $$and610$pre$phi$iZ2D + (get_local $$and483$i) + ) + (set_local $$p$addr$3$i + (get_local $$p$addr$2$i) + ) + (set_local $$t$addr$1$i + (get_local $$t$addr$0$i) + ) + (br $do-once$98) ) ) - (block $do-once$116 + (block $do-once$100 (if - (get_local $$cmp673$i) + (get_local $$cmp450$lcssa$i) (block - (set_local $$cmp686$i + (set_local $$arrayidx489$i + (i32.add + (get_local $$z$7$i$lcssa) + (i32.const -4) + ) + ) + (set_local $$237 + (i32.load + (get_local $$arrayidx489$i) + ) + ) + (set_local $$tobool490$i (i32.eq - (get_local $$249) - (get_local $$add$ptr671$i) + (get_local $$237) + (i32.const 0) ) ) (if - (i32.eqz - (get_local $$cmp686$i) - ) + (get_local $$tobool490$i) (block - (set_local $$s668$1$i - (get_local $$249) + (set_local $$j$2$i + (i32.const 9) ) - (br $do-once$116) + (br $do-once$100) ) ) - (i32.store8 - (get_local $$incdec$ptr689$i) - (i32.const 48) - ) - (set_local $$s668$1$i - (get_local $$incdec$ptr689$i) + (set_local $$rem494$510$i + (i32.and + (call_import $i32u-rem + (get_local $$237) + (i32.const 10) + ) + (i32.const -1) + ) ) - ) - (block - (set_local $$cmp678$491$i - (i32.gt_u - (get_local $$249) - (get_local $$buf$i) + (set_local $$cmp495$511$i + (i32.eq + (get_local $$rem494$510$i) + (i32.const 0) ) ) (if - (get_local $$cmp678$491$i) - (set_local $$s668$0492$i - (get_local $$249) + (get_local $$cmp495$511$i) + (block + (set_local $$i$3512$i + (i32.const 10) + ) + (set_local $$j$1513$i + (i32.const 0) + ) ) (block - (set_local $$s668$1$i - (get_local $$249) + (set_local $$j$2$i + (i32.const 0) ) - (br $do-once$116) + (br $do-once$100) ) ) - (loop $while-out$118 $while-in$119 - (set_local $$incdec$ptr681$i - (i32.add - (get_local $$s668$0492$i) - (i32.const -1) + (loop $while-in$103 + (block $while-out$102 + (set_local $$mul499$i + (i32.mul + (get_local $$i$3512$i) + (i32.const 10) + ) ) - ) - (i32.store8 - (get_local $$incdec$ptr681$i) - (i32.const 48) - ) - (set_local $$cmp678$i - (i32.gt_u - (get_local $$incdec$ptr681$i) - (get_local $$buf$i) + (set_local $$inc500$i + (i32.add + (get_local $$j$1513$i) + (i32.const 1) + ) ) - ) - (if - (get_local $$cmp678$i) - (set_local $$s668$0492$i - (get_local $$incdec$ptr681$i) + (set_local $$rem494$i + (i32.and + (call_import $i32u-rem + (get_local $$237) + (get_local $$mul499$i) + ) + (i32.const -1) + ) ) - (block - (set_local $$s668$1$i - (get_local $$incdec$ptr681$i) + (set_local $$cmp495$i + (i32.eq + (get_local $$rem494$i) + (i32.const 0) + ) + ) + (if + (get_local $$cmp495$i) + (block + (set_local $$i$3512$i + (get_local $$mul499$i) + ) + (set_local $$j$1513$i + (get_local $$inc500$i) + ) + ) + (block + (set_local $$j$2$i + (get_local $$inc500$i) + ) + (br $while-out$102) ) - (br $while-out$118) ) + (br $while-in$103) ) - (br $while-in$119) ) ) + (set_local $$j$2$i + (i32.const 9) + ) ) ) - (set_local $$250 - (i32.load - (get_local $$f) - ) - ) - (set_local $$and$i$442$i - (i32.and - (get_local $$250) + (set_local $$or504$i + (i32.or + (get_local $$t$addr$0$i) (i32.const 32) ) ) - (set_local $$tobool$i$443$i + (set_local $$cmp505$i (i32.eq - (get_local $$and$i$442$i) - (i32.const 0) + (get_local $$or504$i) + (i32.const 102) + ) + ) + (set_local $$sub$ptr$lhs$cast508$i + (get_local $$z$7$i$lcssa) + ) + (set_local $$sub$ptr$sub510$i + (i32.sub + (get_local $$sub$ptr$lhs$cast508$i) + (get_local $$sub$ptr$rhs$cast345$i) + ) + ) + (set_local $$sub$ptr$div511$i + (i32.shr_s + (get_local $$sub$ptr$sub510$i) + (i32.const 2) + ) + ) + (set_local $$238 + (i32.mul + (get_local $$sub$ptr$div511$i) + (i32.const 9) + ) + ) + (set_local $$mul513$i + (i32.add + (get_local $$238) + (i32.const -9) ) ) (if - (get_local $$tobool$i$443$i) + (get_local $$cmp505$i) + (block + (set_local $$sub514$i + (i32.sub + (get_local $$mul513$i) + (get_local $$j$2$i) + ) + ) + (set_local $$cmp515$i + (i32.lt_s + (get_local $$sub514$i) + (i32.const 0) + ) + ) + (set_local $$$sub514$i + (if + (get_local $$cmp515$i) + (i32.const 0) + (get_local $$sub514$i) + ) + ) + (set_local $$cmp528$i + (i32.lt_s + (get_local $$p$addr$2$i) + (get_local $$$sub514$i) + ) + ) + (set_local $$p$addr$2$$sub514398$i + (if + (get_local $$cmp528$i) + (get_local $$p$addr$2$i) + (get_local $$$sub514$i) + ) + ) + (set_local $$and610$pre$phi$iZ2D + (i32.const 0) + ) + (set_local $$p$addr$3$i + (get_local $$p$addr$2$$sub514398$i) + ) + (set_local $$t$addr$1$i + (get_local $$t$addr$0$i) + ) + (br $do-once$98) + ) (block - (set_local $$sub$ptr$rhs$cast695$i - (get_local $$s668$1$i) + (set_local $$add561$i + (i32.add + (get_local $$mul513$i) + (get_local $$e$5$ph$i) + ) ) - (set_local $$sub$ptr$sub696$i + (set_local $$sub562$i (i32.sub - (get_local $$sub$ptr$lhs$cast694$i) - (get_local $$sub$ptr$rhs$cast695$i) + (get_local $$add561$i) + (get_local $$j$2$i) + ) + ) + (set_local $$cmp563$i + (i32.lt_s + (get_local $$sub562$i) + (i32.const 0) + ) + ) + (set_local $$$sub562$i + (if + (get_local $$cmp563$i) + (i32.const 0) + (get_local $$sub562$i) + ) + ) + (set_local $$cmp577$i + (i32.lt_s + (get_local $$p$addr$2$i) + (get_local $$$sub562$i) + ) + ) + (set_local $$p$addr$2$$sub562399$i + (if + (get_local $$cmp577$i) + (get_local $$p$addr$2$i) + (get_local $$$sub562$i) ) ) - (call $___fwritex - (get_local $$s668$1$i) - (get_local $$sub$ptr$sub696$i) - (get_local $$f) + (set_local $$and610$pre$phi$iZ2D + (i32.const 0) + ) + (set_local $$p$addr$3$i + (get_local $$p$addr$2$$sub562399$i) ) + (set_local $$t$addr$1$i + (get_local $$t$addr$0$i) + ) + (br $do-once$98) ) ) - (set_local $$incdec$ptr698$i - (i32.add - (get_local $$d$5494$i) - (i32.const 4) + ) + (block + (set_local $$$pre567$i + (i32.and + (get_local $$fl$1$and219) + (i32.const 8) ) ) - (set_local $$cmp665$i - (i32.gt_u - (get_local $$incdec$ptr698$i) - (get_local $$arraydecay208$add$ptr213$i) - ) + (set_local $$and610$pre$phi$iZ2D + (get_local $$$pre567$i) + ) + (set_local $$p$addr$3$i + (get_local $$$p$i) ) + (set_local $$t$addr$1$i + (get_local $$t$0) + ) + ) + ) + ) + (set_local $$239 + (i32.or + (get_local $$p$addr$3$i) + (get_local $$and610$pre$phi$iZ2D) + ) + ) + (set_local $$240 + (i32.ne + (get_local $$239) + (i32.const 0) + ) + ) + (set_local $$lor$ext$i + (i32.and + (get_local $$240) + (i32.const 1) + ) + ) + (set_local $$or613$i + (i32.or + (get_local $$t$addr$1$i) + (i32.const 32) + ) + ) + (set_local $$cmp614$i + (i32.eq + (get_local $$or613$i) + (i32.const 102) + ) + ) + (if + (get_local $$cmp614$i) + (block + (set_local $$cmp617$i + (i32.gt_s + (get_local $$e$5$ph$i) + (i32.const 0) + ) + ) + (set_local $$add620$i (if - (get_local $$cmp665$i) - (block - (set_local $$incdec$ptr698$i$lcssa - (get_local $$incdec$ptr698$i) - ) - (br $while-out$114) - ) - (set_local $$d$5494$i - (get_local $$incdec$ptr698$i) - ) + (get_local $$cmp617$i) + (get_local $$e$5$ph$i) + (i32.const 0) ) - (br $while-in$115) ) - (set_local $$251 - (i32.eq - (get_local $$239) + (set_local $$estr$2$i + (i32.const 0) + ) + (set_local $$sub$ptr$sub650$pn$i + (get_local $$add620$i) + ) + ) + (block + (set_local $$cmp623$i + (i32.lt_s + (get_local $$e$5$ph$i) (i32.const 0) ) ) - (block $do-once$120 + (set_local $$cond629$i (if - (i32.eqz - (get_local $$251) + (get_local $$cmp623$i) + (get_local $$sub626$le$i) + (get_local $$e$5$ph$i) + ) + ) + (set_local $$241 + (i32.lt_s + (get_local $$cond629$i) + (i32.const 0) + ) + ) + (set_local $$242 + (i32.shr_s + (i32.shl + (get_local $$241) + (i32.const 31) ) - (block - (set_local $$252 - (i32.load - (get_local $$f) + (i32.const 31) + ) + ) + (set_local $$243 + (call $_fmt_u + (get_local $$cond629$i) + (get_local $$242) + (get_local $$arrayidx$i$236) + ) + ) + (set_local $$sub$ptr$rhs$cast634$504$i + (get_local $$243) + ) + (set_local $$sub$ptr$sub635$505$i + (i32.sub + (get_local $$sub$ptr$lhs$cast160$i) + (get_local $$sub$ptr$rhs$cast634$504$i) + ) + ) + (set_local $$cmp636$506$i + (i32.lt_s + (get_local $$sub$ptr$sub635$505$i) + (i32.const 2) + ) + ) + (if + (get_local $$cmp636$506$i) + (block + (set_local $$estr$1507$i + (get_local $$243) + ) + (loop $while-in$105 + (block $while-out$104 + (set_local $$incdec$ptr639$i + (i32.add + (get_local $$estr$1507$i) + (i32.const -1) + ) ) - ) - (set_local $$and$i$448$i - (i32.and - (get_local $$252) - (i32.const 32) + (i32.store8 + (get_local $$incdec$ptr639$i) + (i32.const 48) ) - ) - (set_local $$tobool$i$449$i - (i32.eq - (get_local $$and$i$448$i) - (i32.const 0) + (set_local $$sub$ptr$rhs$cast634$i + (get_local $$incdec$ptr639$i) ) - ) - (if - (i32.eqz - (get_local $$tobool$i$449$i) + (set_local $$sub$ptr$sub635$i + (i32.sub + (get_local $$sub$ptr$lhs$cast160$i) + (get_local $$sub$ptr$rhs$cast634$i) + ) + ) + (set_local $$cmp636$i + (i32.lt_s + (get_local $$sub$ptr$sub635$i) + (i32.const 2) + ) + ) + (if + (get_local $$cmp636$i) + (set_local $$estr$1507$i + (get_local $$incdec$ptr639$i) + ) + (block + (set_local $$estr$1$lcssa$i + (get_local $$incdec$ptr639$i) + ) + (br $while-out$104) + ) ) - (br $do-once$120) - ) - (call $___fwritex - (i32.const 4143) - (i32.const 1) - (get_local $$f) + (br $while-in$105) ) ) ) + (set_local $$estr$1$lcssa$i + (get_local $$243) + ) ) - (set_local $$cmp707$486$i - (i32.lt_u - (get_local $$incdec$ptr698$i$lcssa) - (get_local $$z$7$i$lcssa) + (set_local $$244 + (i32.shr_s + (get_local $$e$5$ph$i) + (i32.const 31) ) ) - (set_local $$cmp710$487$i - (i32.gt_s - (get_local $$p$addr$3$i) - (i32.const 0) + (set_local $$245 + (i32.and + (get_local $$244) + (i32.const 2) + ) + ) + (set_local $$246 + (i32.add + (get_local $$245) + (i32.const 43) ) ) - (set_local $$253 + (set_local $$conv644$i (i32.and - (get_local $$cmp710$487$i) - (get_local $$cmp707$486$i) + (get_local $$246) + (i32.const 255) ) ) - (if - (get_local $$253) - (block - (set_local $$d$6488$i - (get_local $$incdec$ptr698$i$lcssa) + (set_local $$incdec$ptr645$i + (i32.add + (get_local $$estr$1$lcssa$i) + (i32.const -1) + ) + ) + (i32.store8 + (get_local $$incdec$ptr645$i) + (get_local $$conv644$i) + ) + (set_local $$conv646$i + (i32.and + (get_local $$t$addr$1$i) + (i32.const 255) + ) + ) + (set_local $$incdec$ptr647$i + (i32.add + (get_local $$estr$1$lcssa$i) + (i32.const -2) + ) + ) + (i32.store8 + (get_local $$incdec$ptr647$i) + (get_local $$conv646$i) + ) + (set_local $$sub$ptr$rhs$cast649$i + (get_local $$incdec$ptr647$i) + ) + (set_local $$sub$ptr$sub650$i + (i32.sub + (get_local $$sub$ptr$lhs$cast160$i) + (get_local $$sub$ptr$rhs$cast649$i) + ) + ) + (set_local $$estr$2$i + (get_local $$incdec$ptr647$i) + ) + (set_local $$sub$ptr$sub650$pn$i + (get_local $$sub$ptr$sub650$i) + ) + ) + ) + (set_local $$add608$i + (i32.add + (get_local $$pl$0$i) + (i32.const 1) + ) + ) + (set_local $$add612$i + (i32.add + (get_local $$add608$i) + (get_local $$p$addr$3$i) + ) + ) + (set_local $$l$1$i + (i32.add + (get_local $$add612$i) + (get_local $$lor$ext$i) + ) + ) + (set_local $$add653$i + (i32.add + (get_local $$l$1$i) + (get_local $$sub$ptr$sub650$pn$i) + ) + ) + (call $_pad + (get_local $$f) + (i32.const 32) + (get_local $$w$1) + (get_local $$add653$i) + (get_local $$fl$1$and219) + ) + (set_local $$247 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i$436$i + (i32.and + (get_local $$247) + (i32.const 32) + ) + ) + (set_local $$tobool$i$437$i + (i32.eq + (get_local $$and$i$436$i) + (i32.const 0) + ) + ) + (if + (get_local $$tobool$i$437$i) + (call $___fwritex + (get_local $$prefix$0$i) + (get_local $$pl$0$i) + (get_local $$f) + ) + ) + (set_local $$xor655$i + (i32.xor + (get_local $$fl$1$and219) + (i32.const 65536) + ) + ) + (call $_pad + (get_local $$f) + (i32.const 48) + (get_local $$w$1) + (get_local $$add653$i) + (get_local $$xor655$i) + ) + (block $do-once$106 + (if + (get_local $$cmp614$i) + (block + (set_local $$cmp660$i + (i32.gt_u + (get_local $$a$9$ph$i) + (get_local $$arraydecay208$add$ptr213$i) ) - (set_local $$p$addr$4489$i - (get_local $$p$addr$3$i) + ) + (set_local $$r$0$a$9$i + (if + (get_local $$cmp660$i) + (get_local $$arraydecay208$add$ptr213$i) + (get_local $$a$9$ph$i) ) - (loop $while-out$122 $while-in$123 - (set_local $$254 + ) + (set_local $$d$5494$i + (get_local $$r$0$a$9$i) + ) + (loop $while-in$115 + (block $while-out$114 + (set_local $$248 (i32.load - (get_local $$d$6488$i) + (get_local $$d$5494$i) ) ) - (set_local $$255 + (set_local $$249 (call $_fmt_u - (get_local $$254) + (get_local $$248) (i32.const 0) (get_local $$add$ptr671$i) ) ) - (set_local $$cmp722$483$i - (i32.gt_u - (get_local $$255) - (get_local $$buf$i) + (set_local $$cmp673$i + (i32.eq + (get_local $$d$5494$i) + (get_local $$r$0$a$9$i) ) ) - (if - (get_local $$cmp722$483$i) - (block - (set_local $$s715$0484$i - (get_local $$255) - ) - (loop $while-out$124 $while-in$125 - (set_local $$incdec$ptr725$i - (i32.add - (get_local $$s715$0484$i) - (i32.const -1) + (block $do-once$116 + (if + (get_local $$cmp673$i) + (block + (set_local $$cmp686$i + (i32.eq + (get_local $$249) + (get_local $$add$ptr671$i) + ) + ) + (if + (i32.eqz + (get_local $$cmp686$i) + ) + (block + (set_local $$s668$1$i + (get_local $$249) + ) + (br $do-once$116) ) ) (i32.store8 - (get_local $$incdec$ptr725$i) + (get_local $$incdec$ptr689$i) (i32.const 48) ) - (set_local $$cmp722$i + (set_local $$s668$1$i + (get_local $$incdec$ptr689$i) + ) + ) + (block + (set_local $$cmp678$491$i (i32.gt_u - (get_local $$incdec$ptr725$i) + (get_local $$249) (get_local $$buf$i) ) ) (if - (get_local $$cmp722$i) - (set_local $$s715$0484$i - (get_local $$incdec$ptr725$i) + (get_local $$cmp678$491$i) + (set_local $$s668$0492$i + (get_local $$249) ) (block - (set_local $$s715$0$lcssa$i - (get_local $$incdec$ptr725$i) + (set_local $$s668$1$i + (get_local $$249) + ) + (br $do-once$116) + ) + ) + (loop $while-in$119 + (block $while-out$118 + (set_local $$incdec$ptr681$i + (i32.add + (get_local $$s668$0492$i) + (i32.const -1) + ) + ) + (i32.store8 + (get_local $$incdec$ptr681$i) + (i32.const 48) + ) + (set_local $$cmp678$i + (i32.gt_u + (get_local $$incdec$ptr681$i) + (get_local $$buf$i) + ) ) - (br $while-out$124) + (if + (get_local $$cmp678$i) + (set_local $$s668$0492$i + (get_local $$incdec$ptr681$i) + ) + (block + (set_local $$s668$1$i + (get_local $$incdec$ptr681$i) + ) + (br $while-out$118) + ) + ) + (br $while-in$119) ) ) - (br $while-in$125) ) ) - (set_local $$s715$0$lcssa$i - (get_local $$255) - ) ) - (set_local $$256 + (set_local $$250 (i32.load (get_local $$f) ) ) - (set_local $$and$i$454$i + (set_local $$and$i$442$i (i32.and - (get_local $$256) + (get_local $$250) (i32.const 32) ) ) - (set_local $$tobool$i$455$i + (set_local $$tobool$i$443$i (i32.eq - (get_local $$and$i$454$i) + (get_local $$and$i$442$i) (i32.const 0) ) ) (if - (get_local $$tobool$i$455$i) + (get_local $$tobool$i$443$i) (block - (set_local $$cmp727$i - (i32.gt_s - (get_local $$p$addr$4489$i) - (i32.const 9) - ) + (set_local $$sub$ptr$rhs$cast695$i + (get_local $$s668$1$i) ) - (set_local $$cond732$i - (if - (get_local $$cmp727$i) - (i32.const 9) - (get_local $$p$addr$4489$i) + (set_local $$sub$ptr$sub696$i + (i32.sub + (get_local $$sub$ptr$lhs$cast694$i) + (get_local $$sub$ptr$rhs$cast695$i) ) ) (call $___fwritex - (get_local $$s715$0$lcssa$i) - (get_local $$cond732$i) + (get_local $$s668$1$i) + (get_local $$sub$ptr$sub696$i) (get_local $$f) ) ) ) - (set_local $$incdec$ptr734$i + (set_local $$incdec$ptr698$i (i32.add - (get_local $$d$6488$i) + (get_local $$d$5494$i) (i32.const 4) ) ) - (set_local $$sub735$i - (i32.add - (get_local $$p$addr$4489$i) - (i32.const -9) + (set_local $$cmp665$i + (i32.gt_u + (get_local $$incdec$ptr698$i) + (get_local $$arraydecay208$add$ptr213$i) ) ) - (set_local $$cmp707$i - (i32.lt_u - (get_local $$incdec$ptr734$i) - (get_local $$z$7$i$lcssa) + (if + (get_local $$cmp665$i) + (block + (set_local $$incdec$ptr698$i$lcssa + (get_local $$incdec$ptr698$i) + ) + (br $while-out$114) ) - ) - (set_local $$cmp710$i - (i32.gt_s - (get_local $$p$addr$4489$i) - (i32.const 9) + (set_local $$d$5494$i + (get_local $$incdec$ptr698$i) ) ) - (set_local $$257 - (i32.and - (get_local $$cmp710$i) - (get_local $$cmp707$i) + (br $while-in$115) + ) + ) + (set_local $$251 + (i32.eq + (get_local $$239) + (i32.const 0) + ) + ) + (block $do-once$120 + (if + (i32.eqz + (get_local $$251) + ) + (block + (set_local $$252 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i$448$i + (i32.and + (get_local $$252) + (i32.const 32) + ) + ) + (set_local $$tobool$i$449$i + (i32.eq + (get_local $$and$i$448$i) + (i32.const 0) + ) + ) + (if + (i32.eqz + (get_local $$tobool$i$449$i) + ) + (br $do-once$120) + ) + (call $___fwritex + (i32.const 4143) + (i32.const 1) + (get_local $$f) ) ) - (if - (get_local $$257) - (block - (set_local $$d$6488$i - (get_local $$incdec$ptr734$i) + ) + ) + (set_local $$cmp707$486$i + (i32.lt_u + (get_local $$incdec$ptr698$i$lcssa) + (get_local $$z$7$i$lcssa) + ) + ) + (set_local $$cmp710$487$i + (i32.gt_s + (get_local $$p$addr$3$i) + (i32.const 0) + ) + ) + (set_local $$253 + (i32.and + (get_local $$cmp710$487$i) + (get_local $$cmp707$486$i) + ) + ) + (if + (get_local $$253) + (block + (set_local $$d$6488$i + (get_local $$incdec$ptr698$i$lcssa) + ) + (set_local $$p$addr$4489$i + (get_local $$p$addr$3$i) + ) + (loop $while-in$123 + (block $while-out$122 + (set_local $$254 + (i32.load + (get_local $$d$6488$i) + ) + ) + (set_local $$255 + (call $_fmt_u + (get_local $$254) + (i32.const 0) + (get_local $$add$ptr671$i) + ) + ) + (set_local $$cmp722$483$i + (i32.gt_u + (get_local $$255) + (get_local $$buf$i) + ) + ) + (if + (get_local $$cmp722$483$i) + (block + (set_local $$s715$0484$i + (get_local $$255) + ) + (loop $while-in$125 + (block $while-out$124 + (set_local $$incdec$ptr725$i + (i32.add + (get_local $$s715$0484$i) + (i32.const -1) + ) + ) + (i32.store8 + (get_local $$incdec$ptr725$i) + (i32.const 48) + ) + (set_local $$cmp722$i + (i32.gt_u + (get_local $$incdec$ptr725$i) + (get_local $$buf$i) + ) + ) + (if + (get_local $$cmp722$i) + (set_local $$s715$0484$i + (get_local $$incdec$ptr725$i) + ) + (block + (set_local $$s715$0$lcssa$i + (get_local $$incdec$ptr725$i) + ) + (br $while-out$124) + ) + ) + (br $while-in$125) + ) + ) + ) + (set_local $$s715$0$lcssa$i + (get_local $$255) + ) + ) + (set_local $$256 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i$454$i + (i32.and + (get_local $$256) + (i32.const 32) + ) + ) + (set_local $$tobool$i$455$i + (i32.eq + (get_local $$and$i$454$i) + (i32.const 0) + ) + ) + (if + (get_local $$tobool$i$455$i) + (block + (set_local $$cmp727$i + (i32.gt_s + (get_local $$p$addr$4489$i) + (i32.const 9) + ) + ) + (set_local $$cond732$i + (if + (get_local $$cmp727$i) + (i32.const 9) + (get_local $$p$addr$4489$i) + ) + ) + (call $___fwritex + (get_local $$s715$0$lcssa$i) + (get_local $$cond732$i) + (get_local $$f) + ) + ) ) - (set_local $$p$addr$4489$i - (get_local $$sub735$i) + (set_local $$incdec$ptr734$i + (i32.add + (get_local $$d$6488$i) + (i32.const 4) + ) ) - ) - (block - (set_local $$p$addr$4$lcssa$i - (get_local $$sub735$i) + (set_local $$sub735$i + (i32.add + (get_local $$p$addr$4489$i) + (i32.const -9) + ) + ) + (set_local $$cmp707$i + (i32.lt_u + (get_local $$incdec$ptr734$i) + (get_local $$z$7$i$lcssa) + ) + ) + (set_local $$cmp710$i + (i32.gt_s + (get_local $$p$addr$4489$i) + (i32.const 9) + ) + ) + (set_local $$257 + (i32.and + (get_local $$cmp710$i) + (get_local $$cmp707$i) + ) + ) + (if + (get_local $$257) + (block + (set_local $$d$6488$i + (get_local $$incdec$ptr734$i) + ) + (set_local $$p$addr$4489$i + (get_local $$sub735$i) + ) + ) + (block + (set_local $$p$addr$4$lcssa$i + (get_local $$sub735$i) + ) + (br $while-out$122) + ) ) - (br $while-out$122) + (br $while-in$123) ) ) - (br $while-in$123) + ) + (set_local $$p$addr$4$lcssa$i + (get_local $$p$addr$3$i) ) ) - (set_local $$p$addr$4$lcssa$i - (get_local $$p$addr$3$i) + (set_local $$add737$i + (i32.add + (get_local $$p$addr$4$lcssa$i) + (i32.const 9) + ) ) - ) - (set_local $$add737$i - (i32.add - (get_local $$p$addr$4$lcssa$i) + (call $_pad + (get_local $$f) + (i32.const 48) + (get_local $$add737$i) (i32.const 9) + (i32.const 0) ) ) - (call $_pad - (get_local $$f) - (i32.const 48) - (get_local $$add737$i) - (i32.const 9) - (i32.const 0) - ) - ) - (block - (set_local $$add$ptr742$i - (i32.add - (get_local $$a$9$ph$i) - (i32.const 4) - ) - ) - (set_local $$z$7$add$ptr742$i - (if - (get_local $$cmp450$lcssa$i) - (get_local $$z$7$i$lcssa) - (get_local $$add$ptr742$i) - ) - ) - (set_local $$cmp748$499$i - (i32.gt_s - (get_local $$p$addr$3$i) - (i32.const -1) - ) - ) - (if - (get_local $$cmp748$499$i) - (block - (set_local $$tobool781$i - (i32.eq - (get_local $$and610$pre$phi$iZ2D) - (i32.const 0) - ) - ) - (set_local $$d$7500$i + (block + (set_local $$add$ptr742$i + (i32.add (get_local $$a$9$ph$i) + (i32.const 4) ) - (set_local $$p$addr$5501$i + ) + (set_local $$z$7$add$ptr742$i + (if + (get_local $$cmp450$lcssa$i) + (get_local $$z$7$i$lcssa) + (get_local $$add$ptr742$i) + ) + ) + (set_local $$cmp748$499$i + (i32.gt_s (get_local $$p$addr$3$i) + (i32.const -1) ) - (loop $while-out$108 $while-in$109 - (set_local $$258 - (i32.load - (get_local $$d$7500$i) - ) - ) - (set_local $$259 - (call $_fmt_u - (get_local $$258) - (i32.const 0) - (get_local $$add$ptr671$i) - ) - ) - (set_local $$cmp760$i + ) + (if + (get_local $$cmp748$499$i) + (block + (set_local $$tobool781$i (i32.eq - (get_local $$259) - (get_local $$add$ptr671$i) + (get_local $$and610$pre$phi$iZ2D) + (i32.const 0) ) ) - (if - (get_local $$cmp760$i) - (block - (i32.store8 - (get_local $$incdec$ptr689$i) - (i32.const 48) - ) - (set_local $$s753$0$i - (get_local $$incdec$ptr689$i) - ) - ) - (set_local $$s753$0$i - (get_local $$259) - ) + (set_local $$d$7500$i + (get_local $$a$9$ph$i) ) - (set_local $$cmp765$i - (i32.eq - (get_local $$d$7500$i) - (get_local $$a$9$ph$i) - ) + (set_local $$p$addr$5501$i + (get_local $$p$addr$3$i) ) - (block $do-once$110 - (if - (get_local $$cmp765$i) - (block - (set_local $$incdec$ptr776$i - (i32.add - (get_local $$s753$0$i) - (i32.const 1) - ) + (loop $while-in$109 + (block $while-out$108 + (set_local $$258 + (i32.load + (get_local $$d$7500$i) ) - (set_local $$260 - (i32.load - (get_local $$f) - ) + ) + (set_local $$259 + (call $_fmt_u + (get_local $$258) + (i32.const 0) + (get_local $$add$ptr671$i) ) - (set_local $$and$i$460$i - (i32.and - (get_local $$260) - (i32.const 32) - ) + ) + (set_local $$cmp760$i + (i32.eq + (get_local $$259) + (get_local $$add$ptr671$i) ) - (set_local $$tobool$i$461$i - (i32.eq - (get_local $$and$i$460$i) - (i32.const 0) + ) + (if + (get_local $$cmp760$i) + (block + (i32.store8 + (get_local $$incdec$ptr689$i) + (i32.const 48) ) - ) - (if - (get_local $$tobool$i$461$i) - (call $___fwritex - (get_local $$s753$0$i) - (i32.const 1) - (get_local $$f) + (set_local $$s753$0$i + (get_local $$incdec$ptr689$i) ) ) - (set_local $$cmp777$i - (i32.lt_s - (get_local $$p$addr$5501$i) - (i32.const 1) - ) + (set_local $$s753$0$i + (get_local $$259) ) - (set_local $$or$cond401$i - (i32.and - (get_local $$tobool781$i) - (get_local $$cmp777$i) - ) + ) + (set_local $$cmp765$i + (i32.eq + (get_local $$d$7500$i) + (get_local $$a$9$ph$i) ) + ) + (block $do-once$110 (if - (get_local $$or$cond401$i) + (get_local $$cmp765$i) (block + (set_local $$incdec$ptr776$i + (i32.add + (get_local $$s753$0$i) + (i32.const 1) + ) + ) + (set_local $$260 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i$460$i + (i32.and + (get_local $$260) + (i32.const 32) + ) + ) + (set_local $$tobool$i$461$i + (i32.eq + (get_local $$and$i$460$i) + (i32.const 0) + ) + ) + (if + (get_local $$tobool$i$461$i) + (call $___fwritex + (get_local $$s753$0$i) + (i32.const 1) + (get_local $$f) + ) + ) + (set_local $$cmp777$i + (i32.lt_s + (get_local $$p$addr$5501$i) + (i32.const 1) + ) + ) + (set_local $$or$cond401$i + (i32.and + (get_local $$tobool781$i) + (get_local $$cmp777$i) + ) + ) + (if + (get_local $$or$cond401$i) + (block + (set_local $$s753$2$i + (get_local $$incdec$ptr776$i) + ) + (br $do-once$110) + ) + ) + (set_local $$261 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i$466$i + (i32.and + (get_local $$261) + (i32.const 32) + ) + ) + (set_local $$tobool$i$467$i + (i32.eq + (get_local $$and$i$466$i) + (i32.const 0) + ) + ) + (if + (i32.eqz + (get_local $$tobool$i$467$i) + ) + (block + (set_local $$s753$2$i + (get_local $$incdec$ptr776$i) + ) + (br $do-once$110) + ) + ) + (drop + (call $___fwritex + (i32.const 4143) + (i32.const 1) + (get_local $$f) + ) + ) (set_local $$s753$2$i (get_local $$incdec$ptr776$i) ) - (br $do-once$110) - ) - ) - (set_local $$261 - (i32.load - (get_local $$f) - ) - ) - (set_local $$and$i$466$i - (i32.and - (get_local $$261) - (i32.const 32) - ) - ) - (set_local $$tobool$i$467$i - (i32.eq - (get_local $$and$i$466$i) - (i32.const 0) - ) - ) - (if - (i32.eqz - (get_local $$tobool$i$467$i) ) (block - (set_local $$s753$2$i - (get_local $$incdec$ptr776$i) + (set_local $$cmp770$495$i + (i32.gt_u + (get_local $$s753$0$i) + (get_local $$buf$i) + ) + ) + (if + (get_local $$cmp770$495$i) + (set_local $$s753$1496$i + (get_local $$s753$0$i) + ) + (block + (set_local $$s753$2$i + (get_local $$s753$0$i) + ) + (br $do-once$110) + ) + ) + (loop $while-in$113 + (block $while-out$112 + (set_local $$incdec$ptr773$i + (i32.add + (get_local $$s753$1496$i) + (i32.const -1) + ) + ) + (i32.store8 + (get_local $$incdec$ptr773$i) + (i32.const 48) + ) + (set_local $$cmp770$i + (i32.gt_u + (get_local $$incdec$ptr773$i) + (get_local $$buf$i) + ) + ) + (if + (get_local $$cmp770$i) + (set_local $$s753$1496$i + (get_local $$incdec$ptr773$i) + ) + (block + (set_local $$s753$2$i + (get_local $$incdec$ptr773$i) + ) + (br $while-out$112) + ) + ) + (br $while-in$113) + ) ) - (br $do-once$110) ) ) - (drop - (call $___fwritex - (i32.const 4143) - (i32.const 1) - (get_local $$f) - ) + ) + (set_local $$sub$ptr$rhs$cast788$i + (get_local $$s753$2$i) + ) + (set_local $$sub$ptr$sub789$i + (i32.sub + (get_local $$sub$ptr$lhs$cast694$i) + (get_local $$sub$ptr$rhs$cast788$i) ) - (set_local $$s753$2$i - (get_local $$incdec$ptr776$i) + ) + (set_local $$262 + (i32.load + (get_local $$f) ) ) - (block - (set_local $$cmp770$495$i - (i32.gt_u - (get_local $$s753$0$i) - (get_local $$buf$i) - ) + (set_local $$and$i$472$i + (i32.and + (get_local $$262) + (i32.const 32) ) - (if - (get_local $$cmp770$495$i) - (set_local $$s753$1496$i - (get_local $$s753$0$i) - ) - (block - (set_local $$s753$2$i - (get_local $$s753$0$i) - ) - (br $do-once$110) - ) + ) + (set_local $$tobool$i$473$i + (i32.eq + (get_local $$and$i$472$i) + (i32.const 0) ) - (loop $while-out$112 $while-in$113 - (set_local $$incdec$ptr773$i - (i32.add - (get_local $$s753$1496$i) - (i32.const -1) + ) + (if + (get_local $$tobool$i$473$i) + (block + (set_local $$cmp790$i + (i32.gt_s + (get_local $$p$addr$5501$i) + (get_local $$sub$ptr$sub789$i) ) ) - (i32.store8 - (get_local $$incdec$ptr773$i) - (i32.const 48) - ) - (set_local $$cmp770$i - (i32.gt_u - (get_local $$incdec$ptr773$i) - (get_local $$buf$i) + (set_local $$cond800$i + (if + (get_local $$cmp790$i) + (get_local $$sub$ptr$sub789$i) + (get_local $$p$addr$5501$i) ) ) - (if - (get_local $$cmp770$i) - (set_local $$s753$1496$i - (get_local $$incdec$ptr773$i) - ) - (block - (set_local $$s753$2$i - (get_local $$incdec$ptr773$i) - ) - (br $while-out$112) - ) + (call $___fwritex + (get_local $$s753$2$i) + (get_local $$cond800$i) + (get_local $$f) ) - (br $while-in$113) ) ) - ) - ) - (set_local $$sub$ptr$rhs$cast788$i - (get_local $$s753$2$i) - ) - (set_local $$sub$ptr$sub789$i - (i32.sub - (get_local $$sub$ptr$lhs$cast694$i) - (get_local $$sub$ptr$rhs$cast788$i) - ) - ) - (set_local $$262 - (i32.load - (get_local $$f) - ) - ) - (set_local $$and$i$472$i - (i32.and - (get_local $$262) - (i32.const 32) - ) - ) - (set_local $$tobool$i$473$i - (i32.eq - (get_local $$and$i$472$i) - (i32.const 0) - ) - ) - (if - (get_local $$tobool$i$473$i) - (block - (set_local $$cmp790$i - (i32.gt_s + (set_local $$sub806$i + (i32.sub (get_local $$p$addr$5501$i) (get_local $$sub$ptr$sub789$i) ) ) - (set_local $$cond800$i - (if - (get_local $$cmp790$i) - (get_local $$sub$ptr$sub789$i) - (get_local $$p$addr$5501$i) + (set_local $$incdec$ptr808$i + (i32.add + (get_local $$d$7500$i) + (i32.const 4) ) ) - (call $___fwritex - (get_local $$s753$2$i) - (get_local $$cond800$i) - (get_local $$f) + (set_local $$cmp745$i + (i32.lt_u + (get_local $$incdec$ptr808$i) + (get_local $$z$7$add$ptr742$i) + ) ) - ) - ) - (set_local $$sub806$i - (i32.sub - (get_local $$p$addr$5501$i) - (get_local $$sub$ptr$sub789$i) - ) - ) - (set_local $$incdec$ptr808$i - (i32.add - (get_local $$d$7500$i) - (i32.const 4) - ) - ) - (set_local $$cmp745$i - (i32.lt_u - (get_local $$incdec$ptr808$i) - (get_local $$z$7$add$ptr742$i) - ) - ) - (set_local $$cmp748$i - (i32.gt_s - (get_local $$sub806$i) - (i32.const -1) - ) - ) - (set_local $$263 - (i32.and - (get_local $$cmp745$i) - (get_local $$cmp748$i) - ) - ) - (if - (get_local $$263) - (block - (set_local $$d$7500$i - (get_local $$incdec$ptr808$i) + (set_local $$cmp748$i + (i32.gt_s + (get_local $$sub806$i) + (i32.const -1) + ) ) - (set_local $$p$addr$5501$i - (get_local $$sub806$i) + (set_local $$263 + (i32.and + (get_local $$cmp745$i) + (get_local $$cmp748$i) + ) ) - ) - (block - (set_local $$p$addr$5$lcssa$i - (get_local $$sub806$i) + (if + (get_local $$263) + (block + (set_local $$d$7500$i + (get_local $$incdec$ptr808$i) + ) + (set_local $$p$addr$5501$i + (get_local $$sub806$i) + ) + ) + (block + (set_local $$p$addr$5$lcssa$i + (get_local $$sub806$i) + ) + (br $while-out$108) + ) ) - (br $while-out$108) + (br $while-in$109) ) ) - (br $while-in$109) + ) + (set_local $$p$addr$5$lcssa$i + (get_local $$p$addr$3$i) ) ) - (set_local $$p$addr$5$lcssa$i - (get_local $$p$addr$3$i) + (set_local $$add810$i + (i32.add + (get_local $$p$addr$5$lcssa$i) + (i32.const 18) + ) ) - ) - (set_local $$add810$i - (i32.add - (get_local $$p$addr$5$lcssa$i) + (call $_pad + (get_local $$f) + (i32.const 48) + (get_local $$add810$i) (i32.const 18) + (i32.const 0) ) - ) - (call $_pad - (get_local $$f) - (i32.const 48) - (get_local $$add810$i) - (i32.const 18) - (i32.const 0) - ) - (set_local $$264 - (i32.load - (get_local $$f) + (set_local $$264 + (i32.load + (get_local $$f) + ) ) - ) - (set_local $$and$i$i - (i32.and - (get_local $$264) - (i32.const 32) + (set_local $$and$i$i + (i32.and + (get_local $$264) + (i32.const 32) + ) ) - ) - (set_local $$tobool$i$i - (i32.eq - (get_local $$and$i$i) - (i32.const 0) + (set_local $$tobool$i$i + (i32.eq + (get_local $$and$i$i) + (i32.const 0) + ) ) - ) - (if - (i32.eqz - (get_local $$tobool$i$i) + (if + (i32.eqz + (get_local $$tobool$i$i) + ) + (br $do-once$106) ) - (br $do-once$106) - ) - (set_local $$sub$ptr$rhs$cast812$i - (get_local $$estr$2$i) - ) - (set_local $$sub$ptr$sub813$i - (i32.sub - (get_local $$sub$ptr$lhs$cast160$i) - (get_local $$sub$ptr$rhs$cast812$i) + (set_local $$sub$ptr$rhs$cast812$i + (get_local $$estr$2$i) + ) + (set_local $$sub$ptr$sub813$i + (i32.sub + (get_local $$sub$ptr$lhs$cast160$i) + (get_local $$sub$ptr$rhs$cast812$i) + ) + ) + (call $___fwritex + (get_local $$estr$2$i) + (get_local $$sub$ptr$sub813$i) + (get_local $$f) ) - ) - (call $___fwritex - (get_local $$estr$2$i) - (get_local $$sub$ptr$sub813$i) - (get_local $$f) ) ) ) - ) - (set_local $$xor816$i - (i32.xor - (get_local $$fl$1$and219) - (i32.const 8192) - ) - ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$1) - (get_local $$add653$i) - (get_local $$xor816$i) - ) - (set_local $$cmp818$i - (i32.lt_s - (get_local $$add653$i) - (get_local $$w$1) + (set_local $$xor816$i + (i32.xor + (get_local $$fl$1$and219) + (i32.const 8192) + ) ) - ) - (set_local $$w$add653$i - (if - (get_local $$cmp818$i) + (call $_pad + (get_local $$f) + (i32.const 32) (get_local $$w$1) (get_local $$add653$i) + (get_local $$xor816$i) ) - ) - (set_local $$retval$0$i - (get_local $$w$add653$i) - ) - ) - (block - (set_local $$and36$i - (i32.and - (get_local $$t$0) - (i32.const 32) + (set_local $$cmp818$i + (i32.lt_s + (get_local $$add653$i) + (get_local $$w$1) + ) ) - ) - (set_local $$tobool37$i - (i32.ne - (get_local $$and36$i) - (i32.const 0) + (set_local $$w$add653$i + (if + (get_local $$cmp818$i) + (get_local $$w$1) + (get_local $$add653$i) + ) ) - ) - (set_local $$cond$i - (if - (get_local $$tobool37$i) - (i32.const 4127) - (i32.const 4131) + (set_local $$retval$0$i + (get_local $$w$add653$i) ) ) - (set_local $$cmp38$i - (i32.or - (f64.ne - (get_local $$y$addr$0$i) - (get_local $$y$addr$0$i) + (block + (set_local $$and36$i + (i32.and + (get_local $$t$0) + (i32.const 32) ) - (f64.ne - (f64.const 0) - (f64.const 0) + ) + (set_local $$tobool37$i + (i32.ne + (get_local $$and36$i) + (i32.const 0) ) ) - ) - (set_local $$cond43$i - (if - (get_local $$tobool37$i) - (i32.const 4135) - (i32.const 4139) + (set_local $$cond$i + (if + (get_local $$tobool37$i) + (i32.const 4127) + (i32.const 4131) + ) ) - ) - (set_local $$pl$1$i - (if - (get_local $$cmp38$i) - (i32.const 0) - (get_local $$pl$0$i) + (set_local $$cmp38$i + (i32.or + (f64.ne + (get_local $$y$addr$0$i) + (get_local $$y$addr$0$i) + ) + (f64.ne + (f64.const 0) + (f64.const 0) + ) + ) ) - ) - (set_local $$s35$0$i - (if - (get_local $$cmp38$i) - (get_local $$cond43$i) - (get_local $$cond$i) + (set_local $$cond43$i + (if + (get_local $$tobool37$i) + (i32.const 4135) + (i32.const 4139) + ) ) - ) - (set_local $$add$i$239 - (i32.add - (get_local $$pl$1$i) - (i32.const 3) + (set_local $$pl$1$i + (if + (get_local $$cmp38$i) + (i32.const 0) + (get_local $$pl$0$i) + ) ) - ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$1) - (get_local $$add$i$239) - (get_local $$and219) - ) - (set_local $$193 - (i32.load - (get_local $$f) + (set_local $$s35$0$i + (if + (get_local $$cmp38$i) + (get_local $$cond43$i) + (get_local $$cond$i) + ) ) - ) - (set_local $$and$i$406$i - (i32.and - (get_local $$193) + (set_local $$add$i$239 + (i32.add + (get_local $$pl$1$i) + (i32.const 3) + ) + ) + (call $_pad + (get_local $$f) (i32.const 32) + (get_local $$w$1) + (get_local $$add$i$239) + (get_local $$and219) ) - ) - (set_local $$tobool$i$407$i - (i32.eq - (get_local $$and$i$406$i) - (i32.const 0) + (set_local $$193 + (i32.load + (get_local $$f) + ) ) - ) - (if - (get_local $$tobool$i$407$i) - (block - (drop - (call $___fwritex - (get_local $$prefix$0$i) - (get_local $$pl$1$i) - (get_local $$f) - ) + (set_local $$and$i$406$i + (i32.and + (get_local $$193) + (i32.const 32) ) - (set_local $$$pre$i - (i32.load - (get_local $$f) + ) + (set_local $$tobool$i$407$i + (i32.eq + (get_local $$and$i$406$i) + (i32.const 0) + ) + ) + (if + (get_local $$tobool$i$407$i) + (block + (drop + (call $___fwritex + (get_local $$prefix$0$i) + (get_local $$pl$1$i) + (get_local $$f) + ) + ) + (set_local $$$pre$i + (i32.load + (get_local $$f) + ) + ) + (set_local $$194 + (get_local $$$pre$i) ) ) (set_local $$194 - (get_local $$$pre$i) + (get_local $$193) ) ) - (set_local $$194 - (get_local $$193) - ) - ) - (set_local $$and$i$412$i - (i32.and - (get_local $$194) - (i32.const 32) - ) - ) - (set_local $$tobool$i$413$i - (i32.eq - (get_local $$and$i$412$i) - (i32.const 0) + (set_local $$and$i$412$i + (i32.and + (get_local $$194) + (i32.const 32) + ) ) - ) - (if - (get_local $$tobool$i$413$i) - (call $___fwritex - (get_local $$s35$0$i) - (i32.const 3) - (get_local $$f) + (set_local $$tobool$i$413$i + (i32.eq + (get_local $$and$i$412$i) + (i32.const 0) + ) ) - ) - (set_local $$xor$i - (i32.xor - (get_local $$fl$1$and219) - (i32.const 8192) + (if + (get_local $$tobool$i$413$i) + (call $___fwritex + (get_local $$s35$0$i) + (i32.const 3) + (get_local $$f) + ) ) - ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$1) - (get_local $$add$i$239) - (get_local $$xor$i) - ) - (set_local $$cmp48$i - (i32.lt_s - (get_local $$add$i$239) - (get_local $$w$1) + (set_local $$xor$i + (i32.xor + (get_local $$fl$1$and219) + (i32.const 8192) + ) ) - ) - (set_local $$cond53$i - (if - (get_local $$cmp48$i) + (call $_pad + (get_local $$f) + (i32.const 32) (get_local $$w$1) (get_local $$add$i$239) + (get_local $$xor$i) + ) + (set_local $$cmp48$i + (i32.lt_s + (get_local $$add$i$239) + (get_local $$w$1) + ) + ) + (set_local $$cond53$i + (if + (get_local $$cmp48$i) + (get_local $$w$1) + (get_local $$add$i$239) + ) + ) + (set_local $$retval$0$i + (get_local $$cond53$i) ) - ) - (set_local $$retval$0$i - (get_local $$cond53$i) ) ) ) + (set_local $$cnt$0 + (get_local $$cnt$1) + ) + (set_local $$incdec$ptr169275 + (get_local $$incdec$ptr169$lcssa) + ) + (set_local $$l$0 + (get_local $$retval$0$i) + ) + (set_local $$l10n$0 + (get_local $$l10n$3) + ) + (br $label$continue$L1) + (br $switch$24) ) - (set_local $$cnt$0 - (get_local $$cnt$1) + ) + (block + (set_local $$a$2 + (get_local $$incdec$ptr169275) ) - (set_local $$incdec$ptr169275 - (get_local $$incdec$ptr169$lcssa) + (set_local $$fl$6 + (get_local $$fl$1$and219) ) - (set_local $$l$0 - (get_local $$retval$0$i) + (set_local $$p$5 + (get_local $$p$0) ) - (set_local $$l10n$0 - (get_local $$l10n$3) + (set_local $$pl$2 + (i32.const 0) + ) + (set_local $$prefix$2 + (i32.const 4091) + ) + (set_local $$z$2 + (get_local $$add$ptr205) ) - (br $label$continue$L1) - (br $switch$24) - ) - ) - (block - (set_local $$a$2 - (get_local $$incdec$ptr169275) - ) - (set_local $$fl$6 - (get_local $$fl$1$and219) - ) - (set_local $$p$5 - (get_local $$p$0) - ) - (set_local $$pl$2 - (i32.const 0) - ) - (set_local $$prefix$2 - (i32.const 4091) - ) - (set_local $$z$2 - (get_local $$add$ptr205) ) ) ) ) - ) - (block $label$break$L308 - (if - (i32.eq - (get_local $label) - (i32.const 64) - ) - (block - (set_local $label - (i32.const 0) - ) - (set_local $$90 - (get_local $$arg) - ) - (set_local $$91 - (get_local $$90) - ) - (set_local $$92 - (i32.load - (get_local $$91) - ) + (block $label$break$L308 + (if + (i32.eq + (get_local $label) + (i32.const 64) ) - (set_local $$93 - (i32.add - (get_local $$90) - (i32.const 4) + (block + (set_local $label + (i32.const 0) ) - ) - (set_local $$94 - (get_local $$93) - ) - (set_local $$95 - (i32.load - (get_local $$94) + (set_local $$90 + (get_local $$arg) ) - ) - (set_local $$and249 - (i32.and - (get_local $$t$1) - (i32.const 32) + (set_local $$91 + (get_local $$90) ) - ) - (set_local $$96 - (i32.eq - (get_local $$92) - (i32.const 0) + (set_local $$92 + (i32.load + (get_local $$91) + ) ) - ) - (set_local $$97 - (i32.eq - (get_local $$95) - (i32.const 0) + (set_local $$93 + (i32.add + (get_local $$90) + (i32.const 4) + ) ) - ) - (set_local $$98 - (i32.and - (get_local $$96) - (get_local $$97) + (set_local $$94 + (get_local $$93) ) - ) - (if - (get_local $$98) - (block - (set_local $$a$0 - (get_local $$add$ptr205) - ) - (set_local $$fl$4 - (get_local $$fl$3) + (set_local $$95 + (i32.load + (get_local $$94) ) - (set_local $$p$2 - (get_local $$p$1) + ) + (set_local $$and249 + (i32.and + (get_local $$t$1) + (i32.const 32) ) - (set_local $$pl$1 + ) + (set_local $$96 + (i32.eq + (get_local $$92) (i32.const 0) ) - (set_local $$prefix$1 - (i32.const 4091) - ) - (set_local $label - (i32.const 77) - ) ) - (block - (set_local $$101 + (set_local $$97 + (i32.eq (get_local $$95) + (i32.const 0) ) - (set_local $$99 - (get_local $$92) - ) - (set_local $$s$addr$06$i - (get_local $$add$ptr205) + ) + (set_local $$98 + (i32.and + (get_local $$96) + (get_local $$97) ) - (loop $while-out$133 $while-in$134 - (set_local $$idxprom$i - (i32.and - (get_local $$99) - (i32.const 15) - ) - ) - (set_local $$arrayidx$i - (i32.add - (i32.const 4075) - (get_local $$idxprom$i) - ) - ) - (set_local $$100 - (i32.load8_s - (get_local $$arrayidx$i) - ) - ) - (set_local $$conv$4$i$211 - (i32.and - (get_local $$100) - (i32.const 255) - ) - ) - (set_local $$or$i - (i32.or - (get_local $$conv$4$i$211) - (get_local $$and249) - ) + ) + (if + (get_local $$98) + (block + (set_local $$a$0 + (get_local $$add$ptr205) ) - (set_local $$conv1$i - (i32.and - (get_local $$or$i) - (i32.const 255) - ) + (set_local $$fl$4 + (get_local $$fl$3) ) - (set_local $$incdec$ptr$i$212 - (i32.add - (get_local $$s$addr$06$i) - (i32.const -1) - ) + (set_local $$p$2 + (get_local $$p$1) ) - (i32.store8 - (get_local $$incdec$ptr$i$212) - (get_local $$conv1$i) + (set_local $$pl$1 + (i32.const 0) ) - (set_local $$102 - (call $_bitshift64Lshr - (get_local $$99) - (get_local $$101) - (i32.const 4) - ) + (set_local $$prefix$1 + (i32.const 4091) ) - (set_local $$103 - (i32.load - (i32.const 168) - ) + (set_local $label + (i32.const 77) ) - (set_local $$104 - (i32.eq - (get_local $$102) - (i32.const 0) - ) + ) + (block + (set_local $$101 + (get_local $$95) ) - (set_local $$105 - (i32.eq - (get_local $$103) - (i32.const 0) - ) + (set_local $$99 + (get_local $$92) ) - (set_local $$106 - (i32.and - (get_local $$104) - (get_local $$105) - ) + (set_local $$s$addr$06$i + (get_local $$add$ptr205) ) - (if - (get_local $$106) - (block - (set_local $$incdec$ptr$i$212$lcssa - (get_local $$incdec$ptr$i$212) + (loop $while-in$134 + (block $while-out$133 + (set_local $$idxprom$i + (i32.and + (get_local $$99) + (i32.const 15) + ) ) - (br $while-out$133) - ) - (block - (set_local $$101 - (get_local $$103) + (set_local $$arrayidx$i + (i32.add + (i32.const 4075) + (get_local $$idxprom$i) + ) ) - (set_local $$99 - (get_local $$102) + (set_local $$100 + (i32.load8_s + (get_local $$arrayidx$i) + ) + ) + (set_local $$conv$4$i$211 + (i32.and + (get_local $$100) + (i32.const 255) + ) + ) + (set_local $$or$i + (i32.or + (get_local $$conv$4$i$211) + (get_local $$and249) + ) ) - (set_local $$s$addr$06$i + (set_local $$conv1$i + (i32.and + (get_local $$or$i) + (i32.const 255) + ) + ) + (set_local $$incdec$ptr$i$212 + (i32.add + (get_local $$s$addr$06$i) + (i32.const -1) + ) + ) + (i32.store8 (get_local $$incdec$ptr$i$212) + (get_local $$conv1$i) + ) + (set_local $$102 + (call $_bitshift64Lshr + (get_local $$99) + (get_local $$101) + (i32.const 4) + ) + ) + (set_local $$103 + (i32.load + (i32.const 168) + ) + ) + (set_local $$104 + (i32.eq + (get_local $$102) + (i32.const 0) + ) + ) + (set_local $$105 + (i32.eq + (get_local $$103) + (i32.const 0) + ) + ) + (set_local $$106 + (i32.and + (get_local $$104) + (get_local $$105) + ) + ) + (if + (get_local $$106) + (block + (set_local $$incdec$ptr$i$212$lcssa + (get_local $$incdec$ptr$i$212) + ) + (br $while-out$133) + ) + (block + (set_local $$101 + (get_local $$103) + ) + (set_local $$99 + (get_local $$102) + ) + (set_local $$s$addr$06$i + (get_local $$incdec$ptr$i$212) + ) + ) ) + (br $while-in$134) ) ) - (br $while-in$134) - ) - (set_local $$107 - (get_local $$arg) - ) - (set_local $$108 - (get_local $$107) - ) - (set_local $$109 - (i32.load - (get_local $$108) - ) - ) - (set_local $$110 - (i32.add - (get_local $$107) - (i32.const 4) + (set_local $$107 + (get_local $$arg) ) - ) - (set_local $$111 - (get_local $$110) - ) - (set_local $$112 - (i32.load - (get_local $$111) + (set_local $$108 + (get_local $$107) ) - ) - (set_local $$113 - (i32.eq - (get_local $$109) - (i32.const 0) + (set_local $$109 + (i32.load + (get_local $$108) + ) ) - ) - (set_local $$114 - (i32.eq - (get_local $$112) - (i32.const 0) + (set_local $$110 + (i32.add + (get_local $$107) + (i32.const 4) + ) ) - ) - (set_local $$115 - (i32.and - (get_local $$113) - (get_local $$114) + (set_local $$111 + (get_local $$110) ) - ) - (set_local $$and254 - (i32.and - (get_local $$fl$3) - (i32.const 8) + (set_local $$112 + (i32.load + (get_local $$111) + ) ) - ) - (set_local $$tobool255 - (i32.eq - (get_local $$and254) - (i32.const 0) + (set_local $$113 + (i32.eq + (get_local $$109) + (i32.const 0) + ) ) - ) - (set_local $$or$cond193 - (i32.or - (get_local $$tobool255) - (get_local $$115) + (set_local $$114 + (i32.eq + (get_local $$112) + (i32.const 0) + ) ) - ) - (if - (get_local $$or$cond193) - (block - (set_local $$a$0 - (get_local $$incdec$ptr$i$212$lcssa) + (set_local $$115 + (i32.and + (get_local $$113) + (get_local $$114) ) - (set_local $$fl$4 + ) + (set_local $$and254 + (i32.and (get_local $$fl$3) + (i32.const 8) ) - (set_local $$p$2 - (get_local $$p$1) - ) - (set_local $$pl$1 + ) + (set_local $$tobool255 + (i32.eq + (get_local $$and254) (i32.const 0) ) - (set_local $$prefix$1 - (i32.const 4091) - ) - (set_local $label - (i32.const 77) + ) + (set_local $$or$cond193 + (i32.or + (get_local $$tobool255) + (get_local $$115) ) ) - (block - (set_local $$shr - (i32.shr_s - (get_local $$t$1) - (i32.const 4) + (if + (get_local $$or$cond193) + (block + (set_local $$a$0 + (get_local $$incdec$ptr$i$212$lcssa) ) - ) - (set_local $$add$ptr257 - (i32.add + (set_local $$fl$4 + (get_local $$fl$3) + ) + (set_local $$p$2 + (get_local $$p$1) + ) + (set_local $$pl$1 + (i32.const 0) + ) + (set_local $$prefix$1 (i32.const 4091) - (get_local $$shr) + ) + (set_local $label + (i32.const 77) ) ) - (set_local $$a$0 - (get_local $$incdec$ptr$i$212$lcssa) - ) - (set_local $$fl$4 - (get_local $$fl$3) - ) - (set_local $$p$2 - (get_local $$p$1) - ) - (set_local $$pl$1 - (i32.const 2) - ) - (set_local $$prefix$1 - (get_local $$add$ptr257) - ) - (set_local $label - (i32.const 77) + (block + (set_local $$shr + (i32.shr_s + (get_local $$t$1) + (i32.const 4) + ) + ) + (set_local $$add$ptr257 + (i32.add + (i32.const 4091) + (get_local $$shr) + ) + ) + (set_local $$a$0 + (get_local $$incdec$ptr$i$212$lcssa) + ) + (set_local $$fl$4 + (get_local $$fl$3) + ) + (set_local $$p$2 + (get_local $$p$1) + ) + (set_local $$pl$1 + (i32.const 2) + ) + (set_local $$prefix$1 + (get_local $$add$ptr257) + ) + (set_local $label + (i32.const 77) + ) ) ) ) ) ) - ) - (if - (i32.eq - (get_local $label) - (i32.const 76) - ) - (block - (set_local $label - (i32.const 0) - ) - (set_local $$150 - (call $_fmt_u - (get_local $$148) - (get_local $$149) - (get_local $$add$ptr205) - ) - ) - (set_local $$a$0 - (get_local $$150) - ) - (set_local $$fl$4 - (get_local $$fl$1$and219) - ) - (set_local $$p$2 - (get_local $$p$0) - ) - (set_local $$pl$1 - (get_local $$pl$0) - ) - (set_local $$prefix$1 - (get_local $$prefix$0) - ) - (set_local $label - (i32.const 77) - ) - ) (if (i32.eq (get_local $label) - (i32.const 82) + (i32.const 76) ) (block (set_local $label (i32.const 0) ) - (set_local $$call356 - (call $_memchr - (get_local $$a$1) - (i32.const 0) - (get_local $$p$0) - ) - ) - (set_local $$tobool357 - (i32.eq - (get_local $$call356) - (i32.const 0) - ) - ) - (set_local $$sub$ptr$lhs$cast361 - (get_local $$call356) - ) - (set_local $$sub$ptr$rhs$cast362 - (get_local $$a$1) - ) - (set_local $$sub$ptr$sub363 - (i32.sub - (get_local $$sub$ptr$lhs$cast361) - (get_local $$sub$ptr$rhs$cast362) - ) - ) - (set_local $$add$ptr359 - (i32.add - (get_local $$a$1) - (get_local $$p$0) - ) - ) - (set_local $$z$1 - (if - (get_local $$tobool357) - (get_local $$add$ptr359) - (get_local $$call356) - ) - ) - (set_local $$p$3 - (if - (get_local $$tobool357) - (get_local $$p$0) - (get_local $$sub$ptr$sub363) + (set_local $$150 + (call $_fmt_u + (get_local $$148) + (get_local $$149) + (get_local $$add$ptr205) ) ) - (set_local $$a$2 - (get_local $$a$1) + (set_local $$a$0 + (get_local $$150) ) - (set_local $$fl$6 - (get_local $$and219) + (set_local $$fl$4 + (get_local $$fl$1$and219) ) - (set_local $$p$5 - (get_local $$p$3) + (set_local $$p$2 + (get_local $$p$0) ) - (set_local $$pl$2 - (i32.const 0) + (set_local $$pl$1 + (get_local $$pl$0) ) - (set_local $$prefix$2 - (i32.const 4091) + (set_local $$prefix$1 + (get_local $$prefix$0) ) - (set_local $$z$2 - (get_local $$z$1) + (set_local $label + (i32.const 77) ) ) (if (i32.eq (get_local $label) - (i32.const 86) + (i32.const 82) ) (block (set_local $label (i32.const 0) ) - (set_local $$176 - (i32.load - (get_local $$arg) + (set_local $$call356 + (call $_memchr + (get_local $$a$1) + (i32.const 0) + (get_local $$p$0) ) ) - (set_local $$i$0316 - (i32.const 0) + (set_local $$tobool357 + (i32.eq + (get_local $$call356) + (i32.const 0) + ) ) - (set_local $$l$1315 - (i32.const 0) + (set_local $$sub$ptr$lhs$cast361 + (get_local $$call356) ) - (set_local $$ws$0317 - (get_local $$176) + (set_local $$sub$ptr$rhs$cast362 + (get_local $$a$1) ) - (loop $while-out$129 $while-in$130 - (set_local $$177 - (i32.load - (get_local $$ws$0317) - ) - ) - (set_local $$tobool380 - (i32.eq - (get_local $$177) - (i32.const 0) - ) - ) - (if - (get_local $$tobool380) - (block - (set_local $$i$0$lcssa - (get_local $$i$0316) - ) - (set_local $$l$2 - (get_local $$l$1315) - ) - (br $while-out$129) - ) - ) - (set_local $$call384 - (call $_wctomb - (get_local $$mb) - (get_local $$177) - ) - ) - (set_local $$cmp385 - (i32.lt_s - (get_local $$call384) - (i32.const 0) - ) - ) - (set_local $$sub389 - (i32.sub - (get_local $$p$4365) - (get_local $$i$0316) - ) - ) - (set_local $$cmp390 - (i32.gt_u - (get_local $$call384) - (get_local $$sub389) - ) + (set_local $$sub$ptr$sub363 + (i32.sub + (get_local $$sub$ptr$lhs$cast361) + (get_local $$sub$ptr$rhs$cast362) ) - (set_local $$or$cond195 - (i32.or - (get_local $$cmp385) - (get_local $$cmp390) - ) + ) + (set_local $$add$ptr359 + (i32.add + (get_local $$a$1) + (get_local $$p$0) ) + ) + (set_local $$z$1 (if - (get_local $$or$cond195) - (block - (set_local $$i$0$lcssa - (get_local $$i$0316) - ) - (set_local $$l$2 - (get_local $$call384) - ) - (br $while-out$129) - ) - ) - (set_local $$incdec$ptr383 - (i32.add - (get_local $$ws$0317) - (i32.const 4) - ) - ) - (set_local $$add395 - (i32.add - (get_local $$call384) - (get_local $$i$0316) - ) - ) - (set_local $$cmp377 - (i32.gt_u - (get_local $$p$4365) - (get_local $$add395) - ) + (get_local $$tobool357) + (get_local $$add$ptr359) + (get_local $$call356) ) + ) + (set_local $$p$3 (if - (get_local $$cmp377) - (block - (set_local $$i$0316 - (get_local $$add395) - ) - (set_local $$l$1315 - (get_local $$call384) - ) - (set_local $$ws$0317 - (get_local $$incdec$ptr383) - ) - ) - (block - (set_local $$i$0$lcssa - (get_local $$add395) - ) - (set_local $$l$2 - (get_local $$call384) - ) - (br $while-out$129) - ) + (get_local $$tobool357) + (get_local $$p$0) + (get_local $$sub$ptr$sub363) ) - (br $while-in$130) ) - (set_local $$cmp397 - (i32.lt_s - (get_local $$l$2) - (i32.const 0) - ) + (set_local $$a$2 + (get_local $$a$1) ) - (if - (get_local $$cmp397) - (block - (set_local $$retval$0 - (i32.const -1) - ) - (br $label$break$L1) - ) + (set_local $$fl$6 + (get_local $$and219) ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$1) - (get_local $$i$0$lcssa) - (get_local $$fl$1$and219) + (set_local $$p$5 + (get_local $$p$3) ) - (set_local $$cmp404$324 - (i32.eq - (get_local $$i$0$lcssa) + (set_local $$pl$2 + (i32.const 0) + ) + (set_local $$prefix$2 + (i32.const 4091) + ) + (set_local $$z$2 + (get_local $$z$1) + ) + ) + (if + (i32.eq + (get_local $label) + (i32.const 86) + ) + (block + (set_local $label (i32.const 0) ) - ) - (if - (get_local $$cmp404$324) - (block - (set_local $$i$0$lcssa368 - (i32.const 0) - ) - (set_local $label - (i32.const 98) + (set_local $$176 + (i32.load + (get_local $$arg) ) ) - (block - (set_local $$178 - (i32.load - (get_local $$arg) - ) - ) - (set_local $$i$1325 - (i32.const 0) - ) - (set_local $$ws$1326 - (get_local $$178) - ) - (loop $while-out$131 $while-in$132 - (set_local $$179 + (set_local $$i$0316 + (i32.const 0) + ) + (set_local $$l$1315 + (i32.const 0) + ) + (set_local $$ws$0317 + (get_local $$176) + ) + (loop $while-in$130 + (block $while-out$129 + (set_local $$177 (i32.load - (get_local $$ws$1326) + (get_local $$ws$0317) ) ) - (set_local $$tobool407 + (set_local $$tobool380 (i32.eq - (get_local $$179) + (get_local $$177) (i32.const 0) ) ) (if - (get_local $$tobool407) + (get_local $$tobool380) (block - (set_local $$i$0$lcssa368 - (get_local $$i$0$lcssa) + (set_local $$i$0$lcssa + (get_local $$i$0316) ) - (set_local $label - (i32.const 98) + (set_local $$l$2 + (get_local $$l$1315) ) - (br $label$break$L308) - ) - ) - (set_local $$incdec$ptr410 - (i32.add - (get_local $$ws$1326) - (i32.const 4) + (br $while-out$129) ) ) - (set_local $$call411 + (set_local $$call384 (call $_wctomb (get_local $$mb) - (get_local $$179) + (get_local $$177) ) ) - (set_local $$add412 - (i32.add - (get_local $$call411) - (get_local $$i$1325) + (set_local $$cmp385 + (i32.lt_s + (get_local $$call384) + (i32.const 0) ) ) - (set_local $$cmp413 - (i32.gt_s - (get_local $$add412) - (get_local $$i$0$lcssa) + (set_local $$sub389 + (i32.sub + (get_local $$p$4365) + (get_local $$i$0316) + ) + ) + (set_local $$cmp390 + (i32.gt_u + (get_local $$call384) + (get_local $$sub389) + ) + ) + (set_local $$or$cond195 + (i32.or + (get_local $$cmp385) + (get_local $$cmp390) ) ) (if - (get_local $$cmp413) + (get_local $$or$cond195) (block - (set_local $$i$0$lcssa368 - (get_local $$i$0$lcssa) + (set_local $$i$0$lcssa + (get_local $$i$0316) ) - (set_local $label - (i32.const 98) + (set_local $$l$2 + (get_local $$call384) ) - (br $label$break$L308) + (br $while-out$129) ) ) - (set_local $$180 - (i32.load - (get_local $$f) + (set_local $$incdec$ptr383 + (i32.add + (get_local $$ws$0317) + (i32.const 4) ) ) - (set_local $$and$i$231 - (i32.and - (get_local $$180) - (i32.const 32) + (set_local $$add395 + (i32.add + (get_local $$call384) + (get_local $$i$0316) ) ) - (set_local $$tobool$i$232 - (i32.eq - (get_local $$and$i$231) - (i32.const 0) + (set_local $$cmp377 + (i32.gt_u + (get_local $$p$4365) + (get_local $$add395) ) ) (if - (get_local $$tobool$i$232) - (call $___fwritex - (get_local $$mb) - (get_local $$call411) - (get_local $$f) + (get_local $$cmp377) + (block + (set_local $$i$0316 + (get_local $$add395) + ) + (set_local $$l$1315 + (get_local $$call384) + ) + (set_local $$ws$0317 + (get_local $$incdec$ptr383) + ) + ) + (block + (set_local $$i$0$lcssa + (get_local $$add395) + ) + (set_local $$l$2 + (get_local $$call384) + ) + (br $while-out$129) ) ) - (set_local $$cmp404 - (i32.lt_u - (get_local $$add412) - (get_local $$i$0$lcssa) + (br $while-in$130) + ) + ) + (set_local $$cmp397 + (i32.lt_s + (get_local $$l$2) + (i32.const 0) + ) + ) + (if + (get_local $$cmp397) + (block + (set_local $$retval$0 + (i32.const -1) + ) + (br $label$break$L1) + ) + ) + (call $_pad + (get_local $$f) + (i32.const 32) + (get_local $$w$1) + (get_local $$i$0$lcssa) + (get_local $$fl$1$and219) + ) + (set_local $$cmp404$324 + (i32.eq + (get_local $$i$0$lcssa) + (i32.const 0) + ) + ) + (if + (get_local $$cmp404$324) + (block + (set_local $$i$0$lcssa368 + (i32.const 0) + ) + (set_local $label + (i32.const 98) + ) + ) + (block + (set_local $$178 + (i32.load + (get_local $$arg) ) ) - (if - (get_local $$cmp404) - (block - (set_local $$i$1325 - (get_local $$add412) + (set_local $$i$1325 + (i32.const 0) + ) + (set_local $$ws$1326 + (get_local $$178) + ) + (loop $while-in$132 + (block $while-out$131 + (set_local $$179 + (i32.load + (get_local $$ws$1326) + ) ) - (set_local $$ws$1326 - (get_local $$incdec$ptr410) + (set_local $$tobool407 + (i32.eq + (get_local $$179) + (i32.const 0) + ) ) - ) - (block - (set_local $$i$0$lcssa368 - (get_local $$i$0$lcssa) + (if + (get_local $$tobool407) + (block + (set_local $$i$0$lcssa368 + (get_local $$i$0$lcssa) + ) + (set_local $label + (i32.const 98) + ) + (br $label$break$L308) + ) ) - (set_local $label - (i32.const 98) + (set_local $$incdec$ptr410 + (i32.add + (get_local $$ws$1326) + (i32.const 4) + ) + ) + (set_local $$call411 + (call $_wctomb + (get_local $$mb) + (get_local $$179) + ) + ) + (set_local $$add412 + (i32.add + (get_local $$call411) + (get_local $$i$1325) + ) + ) + (set_local $$cmp413 + (i32.gt_s + (get_local $$add412) + (get_local $$i$0$lcssa) + ) + ) + (if + (get_local $$cmp413) + (block + (set_local $$i$0$lcssa368 + (get_local $$i$0$lcssa) + ) + (set_local $label + (i32.const 98) + ) + (br $label$break$L308) + ) + ) + (set_local $$180 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i$231 + (i32.and + (get_local $$180) + (i32.const 32) + ) + ) + (set_local $$tobool$i$232 + (i32.eq + (get_local $$and$i$231) + (i32.const 0) + ) + ) + (if + (get_local $$tobool$i$232) + (call $___fwritex + (get_local $$mb) + (get_local $$call411) + (get_local $$f) + ) + ) + (set_local $$cmp404 + (i32.lt_u + (get_local $$add412) + (get_local $$i$0$lcssa) + ) + ) + (if + (get_local $$cmp404) + (block + (set_local $$i$1325 + (get_local $$add412) + ) + (set_local $$ws$1326 + (get_local $$incdec$ptr410) + ) + ) + (block + (set_local $$i$0$lcssa368 + (get_local $$i$0$lcssa) + ) + (set_local $label + (i32.const 98) + ) + (br $while-out$131) + ) ) - (br $while-out$131) + (br $while-in$132) ) ) - (br $while-in$132) ) ) ) @@ -13955,372 +14039,372 @@ ) ) ) - ) - (if - (i32.eq - (get_local $label) - (i32.const 98) - ) - (block - (set_local $label - (i32.const 0) + (if + (i32.eq + (get_local $label) + (i32.const 98) ) - (set_local $$xor - (i32.xor - (get_local $$fl$1$and219) - (i32.const 8192) + (block + (set_local $label + (i32.const 0) ) - ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$1) - (get_local $$i$0$lcssa368) - (get_local $$xor) - ) - (set_local $$cmp421 - (i32.gt_s - (get_local $$w$1) - (get_local $$i$0$lcssa368) + (set_local $$xor + (i32.xor + (get_local $$fl$1$and219) + (i32.const 8192) + ) ) - ) - (set_local $$cond426 - (if - (get_local $$cmp421) + (call $_pad + (get_local $$f) + (i32.const 32) (get_local $$w$1) (get_local $$i$0$lcssa368) + (get_local $$xor) ) - ) - (set_local $$cnt$0 - (get_local $$cnt$1) - ) - (set_local $$incdec$ptr169275 - (get_local $$incdec$ptr169$lcssa) - ) - (set_local $$l$0 - (get_local $$cond426) - ) - (set_local $$l10n$0 - (get_local $$l10n$3) - ) - (br $label$continue$L1) - ) - ) - (if - (i32.eq - (get_local $label) - (i32.const 77) - ) - (block - (set_local $label - (i32.const 0) - ) - (set_local $$cmp306 - (i32.gt_s - (get_local $$p$2) - (i32.const -1) - ) - ) - (set_local $$and309 - (i32.and - (get_local $$fl$4) - (i32.const -65537) - ) - ) - (set_local $$and309$fl$4 - (if - (get_local $$cmp306) - (get_local $$and309) - (get_local $$fl$4) - ) - ) - (set_local $$151 - (get_local $$arg) - ) - (set_local $$152 - (get_local $$151) - ) - (set_local $$153 - (i32.load - (get_local $$152) - ) - ) - (set_local $$154 - (i32.add - (get_local $$151) - (i32.const 4) - ) - ) - (set_local $$155 - (get_local $$154) - ) - (set_local $$156 - (i32.load - (get_local $$155) - ) - ) - (set_local $$157 - (i32.ne - (get_local $$153) - (i32.const 0) - ) - ) - (set_local $$158 - (i32.ne - (get_local $$156) - (i32.const 0) - ) - ) - (set_local $$159 - (i32.or - (get_local $$157) - (get_local $$158) - ) - ) - (set_local $$tobool314 - (i32.ne - (get_local $$p$2) - (i32.const 0) - ) - ) - (set_local $$or$cond - (i32.or - (get_local $$tobool314) - (get_local $$159) - ) - ) - (if - (get_local $$or$cond) - (block - (set_local $$sub$ptr$rhs$cast318 - (get_local $$a$0) - ) - (set_local $$sub$ptr$sub319 - (i32.sub - (get_local $$sub$ptr$lhs$cast317) - (get_local $$sub$ptr$rhs$cast318) - ) - ) - (set_local $$160 - (i32.and - (get_local $$159) - (i32.const 1) - ) - ) - (set_local $$lnot$ext - (i32.xor - (get_local $$160) - (i32.const 1) - ) - ) - (set_local $$add322 - (i32.add - (get_local $$lnot$ext) - (get_local $$sub$ptr$sub319) - ) + (set_local $$cmp421 + (i32.gt_s + (get_local $$w$1) + (get_local $$i$0$lcssa368) ) - (set_local $$cmp323 - (i32.gt_s - (get_local $$p$2) - (get_local $$add322) - ) + ) + (set_local $$cond426 + (if + (get_local $$cmp421) + (get_local $$w$1) + (get_local $$i$0$lcssa368) ) - (set_local $$p$2$add322 - (if - (get_local $$cmp323) - (get_local $$p$2) - (get_local $$add322) - ) + ) + (set_local $$cnt$0 + (get_local $$cnt$1) + ) + (set_local $$incdec$ptr169275 + (get_local $$incdec$ptr169$lcssa) + ) + (set_local $$l$0 + (get_local $$cond426) + ) + (set_local $$l10n$0 + (get_local $$l10n$3) + ) + (br $label$continue$L1) + ) + ) + (if + (i32.eq + (get_local $label) + (i32.const 77) + ) + (block + (set_local $label + (i32.const 0) + ) + (set_local $$cmp306 + (i32.gt_s + (get_local $$p$2) + (i32.const -1) ) - (set_local $$a$2 - (get_local $$a$0) + ) + (set_local $$and309 + (i32.and + (get_local $$fl$4) + (i32.const -65537) ) - (set_local $$fl$6 - (get_local $$and309$fl$4) + ) + (set_local $$and309$fl$4 + (if + (get_local $$cmp306) + (get_local $$and309) + (get_local $$fl$4) ) - (set_local $$p$5 - (get_local $$p$2$add322) + ) + (set_local $$151 + (get_local $$arg) + ) + (set_local $$152 + (get_local $$151) + ) + (set_local $$153 + (i32.load + (get_local $$152) ) - (set_local $$pl$2 - (get_local $$pl$1) + ) + (set_local $$154 + (i32.add + (get_local $$151) + (i32.const 4) ) - (set_local $$prefix$2 - (get_local $$prefix$1) + ) + (set_local $$155 + (get_local $$154) + ) + (set_local $$156 + (i32.load + (get_local $$155) ) - (set_local $$z$2 - (get_local $$add$ptr205) + ) + (set_local $$157 + (i32.ne + (get_local $$153) + (i32.const 0) ) ) - (block - (set_local $$a$2 - (get_local $$add$ptr205) + (set_local $$158 + (i32.ne + (get_local $$156) + (i32.const 0) ) - (set_local $$fl$6 - (get_local $$and309$fl$4) + ) + (set_local $$159 + (i32.or + (get_local $$157) + (get_local $$158) ) - (set_local $$p$5 + ) + (set_local $$tobool314 + (i32.ne + (get_local $$p$2) (i32.const 0) ) - (set_local $$pl$2 - (get_local $$pl$1) + ) + (set_local $$or$cond + (i32.or + (get_local $$tobool314) + (get_local $$159) ) - (set_local $$prefix$2 - (get_local $$prefix$1) + ) + (if + (get_local $$or$cond) + (block + (set_local $$sub$ptr$rhs$cast318 + (get_local $$a$0) + ) + (set_local $$sub$ptr$sub319 + (i32.sub + (get_local $$sub$ptr$lhs$cast317) + (get_local $$sub$ptr$rhs$cast318) + ) + ) + (set_local $$160 + (i32.and + (get_local $$159) + (i32.const 1) + ) + ) + (set_local $$lnot$ext + (i32.xor + (get_local $$160) + (i32.const 1) + ) + ) + (set_local $$add322 + (i32.add + (get_local $$lnot$ext) + (get_local $$sub$ptr$sub319) + ) + ) + (set_local $$cmp323 + (i32.gt_s + (get_local $$p$2) + (get_local $$add322) + ) + ) + (set_local $$p$2$add322 + (if + (get_local $$cmp323) + (get_local $$p$2) + (get_local $$add322) + ) + ) + (set_local $$a$2 + (get_local $$a$0) + ) + (set_local $$fl$6 + (get_local $$and309$fl$4) + ) + (set_local $$p$5 + (get_local $$p$2$add322) + ) + (set_local $$pl$2 + (get_local $$pl$1) + ) + (set_local $$prefix$2 + (get_local $$prefix$1) + ) + (set_local $$z$2 + (get_local $$add$ptr205) + ) ) - (set_local $$z$2 - (get_local $$add$ptr205) + (block + (set_local $$a$2 + (get_local $$add$ptr205) + ) + (set_local $$fl$6 + (get_local $$and309$fl$4) + ) + (set_local $$p$5 + (i32.const 0) + ) + (set_local $$pl$2 + (get_local $$pl$1) + ) + (set_local $$prefix$2 + (get_local $$prefix$1) + ) + (set_local $$z$2 + (get_local $$add$ptr205) + ) ) ) ) ) - ) - (set_local $$sub$ptr$lhs$cast431 - (get_local $$z$2) - ) - (set_local $$sub$ptr$rhs$cast432 - (get_local $$a$2) - ) - (set_local $$sub$ptr$sub433 - (i32.sub - (get_local $$sub$ptr$lhs$cast431) - (get_local $$sub$ptr$rhs$cast432) + (set_local $$sub$ptr$lhs$cast431 + (get_local $$z$2) ) - ) - (set_local $$cmp434 - (i32.lt_s - (get_local $$p$5) - (get_local $$sub$ptr$sub433) + (set_local $$sub$ptr$rhs$cast432 + (get_local $$a$2) ) - ) - (set_local $$sub$ptr$sub433$p$5 - (if - (get_local $$cmp434) - (get_local $$sub$ptr$sub433) - (get_local $$p$5) + (set_local $$sub$ptr$sub433 + (i32.sub + (get_local $$sub$ptr$lhs$cast431) + (get_local $$sub$ptr$rhs$cast432) + ) ) - ) - (set_local $$add441 - (i32.add - (get_local $$pl$2) - (get_local $$sub$ptr$sub433$p$5) + (set_local $$cmp434 + (i32.lt_s + (get_local $$p$5) + (get_local $$sub$ptr$sub433) + ) ) - ) - (set_local $$cmp442 - (i32.lt_s - (get_local $$w$1) + (set_local $$sub$ptr$sub433$p$5 + (if + (get_local $$cmp434) + (get_local $$sub$ptr$sub433) + (get_local $$p$5) + ) + ) + (set_local $$add441 + (i32.add + (get_local $$pl$2) + (get_local $$sub$ptr$sub433$p$5) + ) + ) + (set_local $$cmp442 + (i32.lt_s + (get_local $$w$1) + (get_local $$add441) + ) + ) + (set_local $$w$2 + (if + (get_local $$cmp442) + (get_local $$add441) + (get_local $$w$1) + ) + ) + (call $_pad + (get_local $$f) + (i32.const 32) + (get_local $$w$2) (get_local $$add441) + (get_local $$fl$6) + ) + (set_local $$265 + (i32.load + (get_local $$f) + ) + ) + (set_local $$and$i$244 + (i32.and + (get_local $$265) + (i32.const 32) + ) + ) + (set_local $$tobool$i$245 + (i32.eq + (get_local $$and$i$244) + (i32.const 0) + ) ) - ) - (set_local $$w$2 (if - (get_local $$cmp442) + (get_local $$tobool$i$245) + (call $___fwritex + (get_local $$prefix$2) + (get_local $$pl$2) + (get_local $$f) + ) + ) + (set_local $$xor449 + (i32.xor + (get_local $$fl$6) + (i32.const 65536) + ) + ) + (call $_pad + (get_local $$f) + (i32.const 48) + (get_local $$w$2) (get_local $$add441) - (get_local $$w$1) + (get_local $$xor449) ) - ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$2) - (get_local $$add441) - (get_local $$fl$6) - ) - (set_local $$265 - (i32.load + (call $_pad (get_local $$f) + (i32.const 48) + (get_local $$sub$ptr$sub433$p$5) + (get_local $$sub$ptr$sub433) + (i32.const 0) ) - ) - (set_local $$and$i$244 - (i32.and - (get_local $$265) - (i32.const 32) + (set_local $$266 + (i32.load + (get_local $$f) + ) ) - ) - (set_local $$tobool$i$245 - (i32.eq - (get_local $$and$i$244) - (i32.const 0) + (set_local $$and$i$216 + (i32.and + (get_local $$266) + (i32.const 32) + ) ) - ) - (if - (get_local $$tobool$i$245) - (call $___fwritex - (get_local $$prefix$2) - (get_local $$pl$2) - (get_local $$f) + (set_local $$tobool$i$217 + (i32.eq + (get_local $$and$i$216) + (i32.const 0) + ) ) - ) - (set_local $$xor449 - (i32.xor - (get_local $$fl$6) - (i32.const 65536) + (if + (get_local $$tobool$i$217) + (call $___fwritex + (get_local $$a$2) + (get_local $$sub$ptr$sub433) + (get_local $$f) + ) ) - ) - (call $_pad - (get_local $$f) - (i32.const 48) - (get_local $$w$2) - (get_local $$add441) - (get_local $$xor449) - ) - (call $_pad - (get_local $$f) - (i32.const 48) - (get_local $$sub$ptr$sub433$p$5) - (get_local $$sub$ptr$sub433) - (i32.const 0) - ) - (set_local $$266 - (i32.load - (get_local $$f) + (set_local $$xor457 + (i32.xor + (get_local $$fl$6) + (i32.const 8192) + ) ) - ) - (set_local $$and$i$216 - (i32.and - (get_local $$266) + (call $_pad + (get_local $$f) (i32.const 32) + (get_local $$w$2) + (get_local $$add441) + (get_local $$xor457) ) - ) - (set_local $$tobool$i$217 - (i32.eq - (get_local $$and$i$216) - (i32.const 0) + (set_local $$cnt$0 + (get_local $$cnt$1) ) - ) - (if - (get_local $$tobool$i$217) - (call $___fwritex - (get_local $$a$2) - (get_local $$sub$ptr$sub433) - (get_local $$f) + (set_local $$incdec$ptr169275 + (get_local $$incdec$ptr169$lcssa) ) - ) - (set_local $$xor457 - (i32.xor - (get_local $$fl$6) - (i32.const 8192) + (set_local $$l$0 + (get_local $$w$2) ) + (set_local $$l10n$0 + (get_local $$l10n$3) + ) + (br $label$continue$L1) ) - (call $_pad - (get_local $$f) - (i32.const 32) - (get_local $$w$2) - (get_local $$add441) - (get_local $$xor457) - ) - (set_local $$cnt$0 - (get_local $$cnt$1) - ) - (set_local $$incdec$ptr169275 - (get_local $$incdec$ptr169$lcssa) - ) - (set_local $$l$0 - (get_local $$w$2) - ) - (set_local $$l10n$0 - (get_local $$l10n$3) - ) - (br $label$continue$L1) ) (block $label$break$L343 (if @@ -14353,75 +14437,77 @@ (set_local $$i$2299 (i32.const 1) ) - (loop $while-out$136 $while-in$137 - (set_local $$arrayidx469 - (i32.add - (get_local $$nl_type) - (i32.shl - (get_local $$i$2299) - (i32.const 2) + (loop $while-in$137 + (block $while-out$136 + (set_local $$arrayidx469 + (i32.add + (get_local $$nl_type) + (i32.shl + (get_local $$i$2299) + (i32.const 2) + ) + ) + ) + (set_local $$267 + (i32.load + (get_local $$arrayidx469) + ) + ) + (set_local $$tobool470 + (i32.eq + (get_local $$267) + (i32.const 0) + ) + ) + (if + (get_local $$tobool470) + (block + (set_local $$i$2299$lcssa + (get_local $$i$2299) + ) + (br $while-out$136) + ) + ) + (set_local $$add$ptr473 + (i32.add + (get_local $$nl_arg) + (i32.shl + (get_local $$i$2299) + (i32.const 3) + ) ) ) - ) - (set_local $$267 - (i32.load - (get_local $$arrayidx469) - ) - ) - (set_local $$tobool470 - (i32.eq + (call $_pop_arg_336 + (get_local $$add$ptr473) (get_local $$267) - (i32.const 0) + (get_local $$ap) ) - ) - (if - (get_local $$tobool470) - (block - (set_local $$i$2299$lcssa + (set_local $$inc + (i32.add (get_local $$i$2299) + (i32.const 1) ) - (br $while-out$136) ) - ) - (set_local $$add$ptr473 - (i32.add - (get_local $$nl_arg) - (i32.shl - (get_local $$i$2299) - (i32.const 3) + (set_local $$cmp466 + (i32.lt_s + (get_local $$inc) + (i32.const 10) ) ) - ) - (call $_pop_arg_336 - (get_local $$add$ptr473) - (get_local $$267) - (get_local $$ap) - ) - (set_local $$inc - (i32.add - (get_local $$i$2299) - (i32.const 1) - ) - ) - (set_local $$cmp466 - (i32.lt_s - (get_local $$inc) - (i32.const 10) - ) - ) - (if - (get_local $$cmp466) - (set_local $$i$2299 - (get_local $$inc) - ) - (block - (set_local $$retval$0 - (i32.const 1) + (if + (get_local $$cmp466) + (set_local $$i$2299 + (get_local $$inc) + ) + (block + (set_local $$retval$0 + (i32.const 1) + ) + (br $label$break$L343) ) - (br $label$break$L343) ) + (br $while-in$137) ) - (br $while-in$137) ) (set_local $$cmp478$295 (i32.lt_s @@ -14435,63 +14521,65 @@ (set_local $$i$3296 (get_local $$i$2299$lcssa) ) - (loop $while-out$138 $while-in$139 - (set_local $$arrayidx481 - (i32.add - (get_local $$nl_type) - (i32.shl - (get_local $$i$3296) - (i32.const 2) + (loop $while-in$139 + (block $while-out$138 + (set_local $$arrayidx481 + (i32.add + (get_local $$nl_type) + (i32.shl + (get_local $$i$3296) + (i32.const 2) + ) ) ) - ) - (set_local $$268 - (i32.load - (get_local $$arrayidx481) - ) - ) - (set_local $$lnot483 - (i32.eq - (get_local $$268) - (i32.const 0) - ) - ) - (set_local $$inc488 - (i32.add - (get_local $$i$3296) - (i32.const 1) + (set_local $$268 + (i32.load + (get_local $$arrayidx481) + ) ) - ) - (if - (i32.eqz - (get_local $$lnot483) + (set_local $$lnot483 + (i32.eq + (get_local $$268) + (i32.const 0) + ) ) - (block - (set_local $$retval$0 - (i32.const -1) + (set_local $$inc488 + (i32.add + (get_local $$i$3296) + (i32.const 1) ) - (br $label$break$L343) ) - ) - (set_local $$cmp478 - (i32.lt_s - (get_local $$inc488) - (i32.const 10) + (if + (i32.eqz + (get_local $$lnot483) + ) + (block + (set_local $$retval$0 + (i32.const -1) + ) + (br $label$break$L343) + ) ) - ) - (if - (get_local $$cmp478) - (set_local $$i$3296 - (get_local $$inc488) + (set_local $$cmp478 + (i32.lt_s + (get_local $$inc488) + (i32.const 10) + ) ) - (block - (set_local $$retval$0 - (i32.const 1) + (if + (get_local $$cmp478) + (set_local $$i$3296 + (get_local $$inc488) + ) + (block + (set_local $$retval$0 + (i32.const 1) + ) + (br $while-out$138) ) - (br $while-out$138) ) + (br $while-in$139) ) - (br $while-in$139) ) ) (set_local $$retval$0 @@ -15905,112 +15993,114 @@ (set_local $$s$addr$013 (get_local $$s) ) - (loop $while-out$0 $while-in$1 - (set_local $$9 - (call $___uremdi3 - (get_local $$7) - (get_local $$8) - (i32.const 10) - (i32.const 0) - ) - ) - (set_local $$10 - (i32.load - (i32.const 168) - ) - ) - (set_local $$11 - (i32.or - (get_local $$9) - (i32.const 48) - ) - ) - (set_local $$12 - (i32.and - (get_local $$11) - (i32.const 255) + (loop $while-in$1 + (block $while-out$0 + (set_local $$9 + (call $___uremdi3 + (get_local $$7) + (get_local $$8) + (i32.const 10) + (i32.const 0) + ) ) - ) - (set_local $$incdec$ptr - (i32.add - (get_local $$s$addr$013) - (i32.const -1) + (set_local $$10 + (i32.load + (i32.const 168) + ) ) - ) - (i32.store8 - (get_local $$incdec$ptr) - (get_local $$12) - ) - (set_local $$13 - (call $___udivdi3 - (get_local $$7) - (get_local $$8) - (i32.const 10) - (i32.const 0) + (set_local $$11 + (i32.or + (get_local $$9) + (i32.const 48) + ) ) - ) - (set_local $$14 - (i32.load - (i32.const 168) + (set_local $$12 + (i32.and + (get_local $$11) + (i32.const 255) + ) ) - ) - (set_local $$15 - (i32.gt_u - (get_local $$8) - (i32.const 9) + (set_local $$incdec$ptr + (i32.add + (get_local $$s$addr$013) + (i32.const -1) + ) ) - ) - (set_local $$16 - (i32.gt_u - (get_local $$7) - (i32.const -1) + (i32.store8 + (get_local $$incdec$ptr) + (get_local $$12) ) - ) - (set_local $$17 - (i32.eq - (get_local $$8) - (i32.const 9) + (set_local $$13 + (call $___udivdi3 + (get_local $$7) + (get_local $$8) + (i32.const 10) + (i32.const 0) + ) ) - ) - (set_local $$18 - (i32.and - (get_local $$17) - (get_local $$16) + (set_local $$14 + (i32.load + (i32.const 168) + ) ) - ) - (set_local $$19 - (i32.or - (get_local $$15) - (get_local $$18) + (set_local $$15 + (i32.gt_u + (get_local $$8) + (i32.const 9) + ) ) - ) - (if - (get_local $$19) - (block - (set_local $$7 - (get_local $$13) + (set_local $$16 + (i32.gt_u + (get_local $$7) + (i32.const -1) ) - (set_local $$8 - (get_local $$14) + ) + (set_local $$17 + (i32.eq + (get_local $$8) + (i32.const 9) ) - (set_local $$s$addr$013 - (get_local $$incdec$ptr) + ) + (set_local $$18 + (i32.and + (get_local $$17) + (get_local $$16) ) ) - (block - (set_local $$21 - (get_local $$13) + (set_local $$19 + (i32.or + (get_local $$15) + (get_local $$18) ) - (set_local $$22 - (get_local $$14) + ) + (if + (get_local $$19) + (block + (set_local $$7 + (get_local $$13) + ) + (set_local $$8 + (get_local $$14) + ) + (set_local $$s$addr$013 + (get_local $$incdec$ptr) + ) ) - (set_local $$incdec$ptr$lcssa - (get_local $$incdec$ptr) + (block + (set_local $$21 + (get_local $$13) + ) + (set_local $$22 + (get_local $$14) + ) + (set_local $$incdec$ptr$lcssa + (get_local $$incdec$ptr) + ) + (br $while-out$0) ) - (br $while-out$0) ) + (br $while-in$1) ) - (br $while-in$1) ) (set_local $$s$addr$0$lcssa (get_local $$incdec$ptr$lcssa) @@ -16046,71 +16136,73 @@ (set_local $$y$010 (get_local $$x$addr$0$lcssa$off0) ) - (loop $while-out$2 $while-in$3 - (set_local $$rem4 - (i32.and - (call_import $i32u-rem - (get_local $$y$010) - (i32.const 10) + (loop $while-in$3 + (block $while-out$2 + (set_local $$rem4 + (i32.and + (call_import $i32u-rem + (get_local $$y$010) + (i32.const 10) + ) + (i32.const -1) ) - (i32.const -1) - ) - ) - (set_local $$add5 - (i32.or - (get_local $$rem4) - (i32.const 48) ) - ) - (set_local $$conv6 - (i32.and - (get_local $$add5) - (i32.const 255) + (set_local $$add5 + (i32.or + (get_local $$rem4) + (i32.const 48) + ) ) - ) - (set_local $$incdec$ptr7 - (i32.add - (get_local $$s$addr$19) - (i32.const -1) + (set_local $$conv6 + (i32.and + (get_local $$add5) + (i32.const 255) + ) ) - ) - (i32.store8 - (get_local $$incdec$ptr7) - (get_local $$conv6) - ) - (set_local $$div9 - (i32.and - (call_import $i32u-div - (get_local $$y$010) - (i32.const 10) + (set_local $$incdec$ptr7 + (i32.add + (get_local $$s$addr$19) + (i32.const -1) ) - (i32.const -1) ) - ) - (set_local $$20 - (i32.lt_u - (get_local $$y$010) - (i32.const 10) + (i32.store8 + (get_local $$incdec$ptr7) + (get_local $$conv6) ) - ) - (if - (get_local $$20) - (block - (set_local $$s$addr$1$lcssa - (get_local $$incdec$ptr7) + (set_local $$div9 + (i32.and + (call_import $i32u-div + (get_local $$y$010) + (i32.const 10) + ) + (i32.const -1) ) - (br $while-out$2) ) - (block - (set_local $$s$addr$19 - (get_local $$incdec$ptr7) + (set_local $$20 + (i32.lt_u + (get_local $$y$010) + (i32.const 10) ) - (set_local $$y$010 - (get_local $$div9) + ) + (if + (get_local $$20) + (block + (set_local $$s$addr$1$lcssa + (get_local $$incdec$ptr7) + ) + (br $while-out$2) + ) + (block + (set_local $$s$addr$19 + (get_local $$incdec$ptr7) + ) + (set_local $$y$010 + (get_local $$div9) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) @@ -16268,70 +16360,72 @@ (set_local $$tobool$i18 (get_local $$tobool$i$16) ) - (loop $while-out$2 $while-in$3 - (if - (get_local $$tobool$i18) - (block - (drop - (call $___fwritex - (get_local $$pad) - (i32.const 256) - (get_local $$f) + (loop $while-in$3 + (block $while-out$2 + (if + (get_local $$tobool$i18) + (block + (drop + (call $___fwritex + (get_local $$pad) + (i32.const 256) + (get_local $$f) + ) ) - ) - (set_local $$$pre - (i32.load - (get_local $$f) + (set_local $$$pre + (i32.load + (get_local $$f) + ) + ) + (set_local $$2 + (get_local $$$pre) ) ) (set_local $$2 - (get_local $$$pre) + (get_local $$4) ) ) - (set_local $$2 - (get_local $$4) - ) - ) - (set_local $$sub5 - (i32.add - (get_local $$l$addr$017) - (i32.const -256) - ) - ) - (set_local $$cmp3 - (i32.gt_u - (get_local $$sub5) - (i32.const 255) - ) - ) - (set_local $$and$i - (i32.and - (get_local $$2) - (i32.const 32) + (set_local $$sub5 + (i32.add + (get_local $$l$addr$017) + (i32.const -256) + ) ) - ) - (set_local $$tobool$i - (i32.eq - (get_local $$and$i) - (i32.const 0) + (set_local $$cmp3 + (i32.gt_u + (get_local $$sub5) + (i32.const 255) + ) ) - ) - (if - (get_local $$cmp3) - (block - (set_local $$4 + (set_local $$and$i + (i32.and (get_local $$2) + (i32.const 32) ) - (set_local $$l$addr$017 - (get_local $$sub5) + ) + (set_local $$tobool$i + (i32.eq + (get_local $$and$i) + (i32.const 0) ) - (set_local $$tobool$i18 - (get_local $$tobool$i) + ) + (if + (get_local $$cmp3) + (block + (set_local $$4 + (get_local $$2) + ) + (set_local $$l$addr$017 + (get_local $$sub5) + ) + (set_local $$tobool$i18 + (get_local $$tobool$i) + ) ) + (br $while-out$2) ) - (br $while-out$2) + (br $while-in$3) ) - (br $while-in$3) ) (set_local $$3 (i32.and @@ -18590,117 +18684,119 @@ (set_local $$v$0$i (get_local $$20) ) - (loop $while-out$23 $while-in$24 - (set_local $$arrayidx23$i - (i32.add - (get_local $$t$0$i) - (i32.const 16) + (loop $while-in$24 + (block $while-out$23 + (set_local $$arrayidx23$i + (i32.add + (get_local $$t$0$i) + (i32.const 16) + ) ) - ) - (set_local $$22 - (i32.load - (get_local $$arrayidx23$i) + (set_local $$22 + (i32.load + (get_local $$arrayidx23$i) + ) ) - ) - (set_local $$cmp$i - (i32.eq - (get_local $$22) - (i32.const 0) + (set_local $$cmp$i + (i32.eq + (get_local $$22) + (i32.const 0) + ) ) - ) - (if - (get_local $$cmp$i) - (block - (set_local $$arrayidx27$i - (i32.add - (get_local $$t$0$i) - (i32.const 20) + (if + (get_local $$cmp$i) + (block + (set_local $$arrayidx27$i + (i32.add + (get_local $$t$0$i) + (i32.const 20) + ) ) - ) - (set_local $$23 - (i32.load - (get_local $$arrayidx27$i) + (set_local $$23 + (i32.load + (get_local $$arrayidx27$i) + ) ) - ) - (set_local $$cmp28$i - (i32.eq - (get_local $$23) - (i32.const 0) + (set_local $$cmp28$i + (i32.eq + (get_local $$23) + (i32.const 0) + ) ) - ) - (if - (get_local $$cmp28$i) - (block - (set_local $$rsize$0$i$lcssa - (get_local $$rsize$0$i) + (if + (get_local $$cmp28$i) + (block + (set_local $$rsize$0$i$lcssa + (get_local $$rsize$0$i) + ) + (set_local $$v$0$i$lcssa + (get_local $$v$0$i) + ) + (br $while-out$23) ) - (set_local $$v$0$i$lcssa - (get_local $$v$0$i) + (set_local $$cond4$i + (get_local $$23) ) - (br $while-out$23) - ) - (set_local $$cond4$i - (get_local $$23) ) ) + (set_local $$cond4$i + (get_local $$22) + ) ) - (set_local $$cond4$i - (get_local $$22) + (set_local $$head29$i + (i32.add + (get_local $$cond4$i) + (i32.const 4) + ) ) - ) - (set_local $$head29$i - (i32.add - (get_local $$cond4$i) - (i32.const 4) + (set_local $$24 + (i32.load + (get_local $$head29$i) + ) ) - ) - (set_local $$24 - (i32.load - (get_local $$head29$i) + (set_local $$and30$i + (i32.and + (get_local $$24) + (i32.const -8) + ) ) - ) - (set_local $$and30$i - (i32.and - (get_local $$24) - (i32.const -8) + (set_local $$sub31$i + (i32.sub + (get_local $$and30$i) + (get_local $$cond) + ) ) - ) - (set_local $$sub31$i - (i32.sub - (get_local $$and30$i) - (get_local $$cond) + (set_local $$cmp32$i + (i32.lt_u + (get_local $$sub31$i) + (get_local $$rsize$0$i) + ) ) - ) - (set_local $$cmp32$i - (i32.lt_u - (get_local $$sub31$i) - (get_local $$rsize$0$i) + (set_local $$sub31$rsize$0$i + (if + (get_local $$cmp32$i) + (get_local $$sub31$i) + (get_local $$rsize$0$i) + ) ) - ) - (set_local $$sub31$rsize$0$i - (if - (get_local $$cmp32$i) - (get_local $$sub31$i) - (get_local $$rsize$0$i) + (set_local $$cond$v$0$i + (if + (get_local $$cmp32$i) + (get_local $$cond4$i) + (get_local $$v$0$i) + ) ) - ) - (set_local $$cond$v$0$i - (if - (get_local $$cmp32$i) + (set_local $$rsize$0$i + (get_local $$sub31$rsize$0$i) + ) + (set_local $$t$0$i (get_local $$cond4$i) - (get_local $$v$0$i) ) + (set_local $$v$0$i + (get_local $$cond$v$0$i) + ) + (br $while-in$24) ) - (set_local $$rsize$0$i - (get_local $$sub31$rsize$0$i) - ) - (set_local $$t$0$i - (get_local $$cond4$i) - ) - (set_local $$v$0$i - (get_local $$cond$v$0$i) - ) - (br $while-in$24) ) (set_local $$25 (i32.load @@ -18831,76 +18927,78 @@ ) ) ) - (loop $while-out$27 $while-in$28 - (set_local $$arrayidx71$i - (i32.add - (get_local $$R$1$i) - (i32.const 20) - ) - ) - (set_local $$33 - (i32.load - (get_local $$arrayidx71$i) - ) - ) - (set_local $$cmp72$i - (i32.eq - (get_local $$33) - (i32.const 0) - ) - ) - (if - (i32.eqz - (get_local $$cmp72$i) - ) - (block - (set_local $$R$1$i - (get_local $$33) + (loop $while-in$28 + (block $while-out$27 + (set_local $$arrayidx71$i + (i32.add + (get_local $$R$1$i) + (i32.const 20) ) - (set_local $$RP$1$i + ) + (set_local $$33 + (i32.load (get_local $$arrayidx71$i) ) - (br $while-in$28) - ) - ) - (set_local $$arrayidx75$i - (i32.add - (get_local $$R$1$i) - (i32.const 16) ) - ) - (set_local $$34 - (i32.load - (get_local $$arrayidx75$i) + (set_local $$cmp72$i + (i32.eq + (get_local $$33) + (i32.const 0) + ) ) - ) - (set_local $$cmp76$i - (i32.eq - (get_local $$34) - (i32.const 0) + (if + (i32.eqz + (get_local $$cmp72$i) + ) + (block + (set_local $$R$1$i + (get_local $$33) + ) + (set_local $$RP$1$i + (get_local $$arrayidx71$i) + ) + (br $while-in$28) + ) ) - ) - (if - (get_local $$cmp76$i) - (block - (set_local $$R$1$i$lcssa + (set_local $$arrayidx75$i + (i32.add (get_local $$R$1$i) + (i32.const 16) ) - (set_local $$RP$1$i$lcssa - (get_local $$RP$1$i) + ) + (set_local $$34 + (i32.load + (get_local $$arrayidx75$i) ) - (br $while-out$27) ) - (block - (set_local $$R$1$i + (set_local $$cmp76$i + (i32.eq (get_local $$34) + (i32.const 0) ) - (set_local $$RP$1$i - (get_local $$arrayidx75$i) + ) + (if + (get_local $$cmp76$i) + (block + (set_local $$R$1$i$lcssa + (get_local $$R$1$i) + ) + (set_local $$RP$1$i$lcssa + (get_local $$RP$1$i) + ) + (br $while-out$27) + ) + (block + (set_local $$R$1$i + (get_local $$34) + ) + (set_local $$RP$1$i + (get_local $$arrayidx75$i) + ) ) ) + (br $while-in$28) ) - (br $while-in$28) ) (set_local $$cmp81$i (i32.lt_u @@ -19906,200 +20004,202 @@ (set_local $$v$0$i$153 (i32.const 0) ) - (loop $while-out$3 $while-in$4 - (set_local $$head$i$154 - (i32.add - (get_local $$t$0$i$151) - (i32.const 4) - ) - ) - (set_local $$53 - (i32.load - (get_local $$head$i$154) + (loop $while-in$4 + (block $while-out$3 + (set_local $$head$i$154 + (i32.add + (get_local $$t$0$i$151) + (i32.const 4) + ) ) - ) - (set_local $$and32$i - (i32.and - (get_local $$53) - (i32.const -8) + (set_local $$53 + (i32.load + (get_local $$head$i$154) + ) ) - ) - (set_local $$sub33$i - (i32.sub - (get_local $$and32$i) - (get_local $$and145) + (set_local $$and32$i + (i32.and + (get_local $$53) + (i32.const -8) + ) ) - ) - (set_local $$cmp34$i - (i32.lt_u - (get_local $$sub33$i) - (get_local $$rsize$0$i$152) + (set_local $$sub33$i + (i32.sub + (get_local $$and32$i) + (get_local $$and145) + ) ) - ) - (if - (get_local $$cmp34$i) - (block - (set_local $$cmp36$i - (i32.eq - (get_local $$and32$i) - (get_local $$and145) - ) + (set_local $$cmp34$i + (i32.lt_u + (get_local $$sub33$i) + (get_local $$rsize$0$i$152) ) - (if - (get_local $$cmp36$i) - (block - (set_local $$rsize$49$i - (get_local $$sub33$i) - ) - (set_local $$t$48$i - (get_local $$t$0$i$151) - ) - (set_local $$v$410$i - (get_local $$t$0$i$151) - ) - (set_local $label - (i32.const 90) + ) + (if + (get_local $$cmp34$i) + (block + (set_local $$cmp36$i + (i32.eq + (get_local $$and32$i) + (get_local $$and145) ) - (br $label$break$L123) ) - (block - (set_local $$rsize$1$i - (get_local $$sub33$i) + (if + (get_local $$cmp36$i) + (block + (set_local $$rsize$49$i + (get_local $$sub33$i) + ) + (set_local $$t$48$i + (get_local $$t$0$i$151) + ) + (set_local $$v$410$i + (get_local $$t$0$i$151) + ) + (set_local $label + (i32.const 90) + ) + (br $label$break$L123) ) - (set_local $$v$1$i - (get_local $$t$0$i$151) + (block + (set_local $$rsize$1$i + (get_local $$sub33$i) + ) + (set_local $$v$1$i + (get_local $$t$0$i$151) + ) ) ) ) - ) - (block - (set_local $$rsize$1$i - (get_local $$rsize$0$i$152) - ) - (set_local $$v$1$i - (get_local $$v$0$i$153) + (block + (set_local $$rsize$1$i + (get_local $$rsize$0$i$152) + ) + (set_local $$v$1$i + (get_local $$v$0$i$153) + ) ) ) - ) - (set_local $$arrayidx40$i - (i32.add - (get_local $$t$0$i$151) - (i32.const 20) - ) - ) - (set_local $$54 - (i32.load - (get_local $$arrayidx40$i) - ) - ) - (set_local $$shr41$i - (i32.shr_u - (get_local $$sizebits$0$i) - (i32.const 31) - ) - ) - (set_local $$arrayidx44$i - (i32.add + (set_local $$arrayidx40$i (i32.add (get_local $$t$0$i$151) - (i32.const 16) + (i32.const 20) ) - (i32.shl - (get_local $$shr41$i) - (i32.const 2) - ) - ) - ) - (set_local $$55 - (i32.load - (get_local $$arrayidx44$i) - ) - ) - (set_local $$cmp45$i$155 - (i32.eq - (get_local $$54) - (i32.const 0) - ) - ) - (set_local $$cmp46$i - (i32.eq - (get_local $$54) - (get_local $$55) - ) - ) - (set_local $$or$cond1$i - (i32.or - (get_local $$cmp45$i$155) - (get_local $$cmp46$i) ) - ) - (set_local $$rst$1$i - (if - (get_local $$or$cond1$i) - (get_local $$rst$0$i) - (get_local $$54) + (set_local $$54 + (i32.load + (get_local $$arrayidx40$i) + ) ) - ) - (set_local $$cmp49$i - (i32.eq - (get_local $$55) - (i32.const 0) + (set_local $$shr41$i + (i32.shr_u + (get_local $$sizebits$0$i) + (i32.const 31) + ) ) - ) - (set_local $$56 - (i32.and - (get_local $$cmp49$i) - (i32.const 1) + (set_local $$arrayidx44$i + (i32.add + (i32.add + (get_local $$t$0$i$151) + (i32.const 16) + ) + (i32.shl + (get_local $$shr41$i) + (i32.const 2) + ) + ) ) - ) - (set_local $$shl52$i - (i32.xor - (get_local $$56) - (i32.const 1) + (set_local $$55 + (i32.load + (get_local $$arrayidx44$i) + ) ) - ) - (set_local $$sizebits$0$shl52$i - (i32.shl - (get_local $$sizebits$0$i) - (get_local $$shl52$i) + (set_local $$cmp45$i$155 + (i32.eq + (get_local $$54) + (i32.const 0) + ) ) - ) - (if - (get_local $$cmp49$i) - (block - (set_local $$rsize$3$i - (get_local $$rsize$1$i) + (set_local $$cmp46$i + (i32.eq + (get_local $$54) + (get_local $$55) ) - (set_local $$t$2$i - (get_local $$rst$1$i) + ) + (set_local $$or$cond1$i + (i32.or + (get_local $$cmp45$i$155) + (get_local $$cmp46$i) ) - (set_local $$v$3$i - (get_local $$v$1$i) + ) + (set_local $$rst$1$i + (if + (get_local $$or$cond1$i) + (get_local $$rst$0$i) + (get_local $$54) ) - (set_local $label - (i32.const 86) + ) + (set_local $$cmp49$i + (i32.eq + (get_local $$55) + (i32.const 0) ) - (br $while-out$3) ) - (block - (set_local $$rsize$0$i$152 - (get_local $$rsize$1$i) + (set_local $$56 + (i32.and + (get_local $$cmp49$i) + (i32.const 1) ) - (set_local $$rst$0$i - (get_local $$rst$1$i) + ) + (set_local $$shl52$i + (i32.xor + (get_local $$56) + (i32.const 1) ) - (set_local $$sizebits$0$i - (get_local $$sizebits$0$shl52$i) + ) + (set_local $$sizebits$0$shl52$i + (i32.shl + (get_local $$sizebits$0$i) + (get_local $$shl52$i) ) - (set_local $$t$0$i$151 - (get_local $$55) + ) + (if + (get_local $$cmp49$i) + (block + (set_local $$rsize$3$i + (get_local $$rsize$1$i) + ) + (set_local $$t$2$i + (get_local $$rst$1$i) + ) + (set_local $$v$3$i + (get_local $$v$1$i) + ) + (set_local $label + (i32.const 86) + ) + (br $while-out$3) ) - (set_local $$v$0$i$153 - (get_local $$v$1$i) + (block + (set_local $$rsize$0$i$152 + (get_local $$rsize$1$i) + ) + (set_local $$rst$0$i + (get_local $$rst$1$i) + ) + (set_local $$sizebits$0$i + (get_local $$sizebits$0$shl52$i) + ) + (set_local $$t$0$i$151 + (get_local $$55) + ) + (set_local $$v$0$i$153 + (get_local $$v$1$i) + ) ) ) + (br $while-in$4) ) - (br $while-in$4) ) ) ) @@ -20368,134 +20468,136 @@ (get_local $label) (i32.const 90) ) - (loop $while-out$5 $while-in$6 - (set_local $label - (i32.const 0) - ) - (set_local $$head99$i - (i32.add - (get_local $$t$48$i) - (i32.const 4) - ) - ) - (set_local $$58 - (i32.load - (get_local $$head99$i) - ) - ) - (set_local $$and100$i - (i32.and - (get_local $$58) - (i32.const -8) + (loop $while-in$6 + (block $while-out$5 + (set_local $label + (i32.const 0) ) - ) - (set_local $$sub101$i - (i32.sub - (get_local $$and100$i) - (get_local $$and145) + (set_local $$head99$i + (i32.add + (get_local $$t$48$i) + (i32.const 4) + ) ) - ) - (set_local $$cmp102$i - (i32.lt_u - (get_local $$sub101$i) - (get_local $$rsize$49$i) + (set_local $$58 + (i32.load + (get_local $$head99$i) + ) ) - ) - (set_local $$sub101$rsize$4$i - (if - (get_local $$cmp102$i) - (get_local $$sub101$i) - (get_local $$rsize$49$i) + (set_local $$and100$i + (i32.and + (get_local $$58) + (i32.const -8) + ) ) - ) - (set_local $$t$4$v$4$i - (if - (get_local $$cmp102$i) - (get_local $$t$48$i) - (get_local $$v$410$i) + (set_local $$sub101$i + (i32.sub + (get_local $$and100$i) + (get_local $$and145) + ) ) - ) - (set_local $$arrayidx106$i - (i32.add - (get_local $$t$48$i) - (i32.const 16) + (set_local $$cmp102$i + (i32.lt_u + (get_local $$sub101$i) + (get_local $$rsize$49$i) + ) ) - ) - (set_local $$59 - (i32.load - (get_local $$arrayidx106$i) + (set_local $$sub101$rsize$4$i + (if + (get_local $$cmp102$i) + (get_local $$sub101$i) + (get_local $$rsize$49$i) + ) ) - ) - (set_local $$cmp107$i$157 - (i32.eq - (get_local $$59) - (i32.const 0) + (set_local $$t$4$v$4$i + (if + (get_local $$cmp102$i) + (get_local $$t$48$i) + (get_local $$v$410$i) + ) ) - ) - (if - (i32.eqz - (get_local $$cmp107$i$157) + (set_local $$arrayidx106$i + (i32.add + (get_local $$t$48$i) + (i32.const 16) + ) ) - (block - (set_local $$rsize$49$i - (get_local $$sub101$rsize$4$i) + (set_local $$59 + (i32.load + (get_local $$arrayidx106$i) ) - (set_local $$t$48$i + ) + (set_local $$cmp107$i$157 + (i32.eq (get_local $$59) + (i32.const 0) ) - (set_local $$v$410$i - (get_local $$t$4$v$4$i) + ) + (if + (i32.eqz + (get_local $$cmp107$i$157) ) - (set_local $label - (i32.const 90) + (block + (set_local $$rsize$49$i + (get_local $$sub101$rsize$4$i) + ) + (set_local $$t$48$i + (get_local $$59) + ) + (set_local $$v$410$i + (get_local $$t$4$v$4$i) + ) + (set_local $label + (i32.const 90) + ) + (br $while-in$6) ) - (br $while-in$6) - ) - ) - (set_local $$arrayidx113$i$159 - (i32.add - (get_local $$t$48$i) - (i32.const 20) - ) - ) - (set_local $$60 - (i32.load - (get_local $$arrayidx113$i$159) - ) - ) - (set_local $$cmp97$i - (i32.eq - (get_local $$60) - (i32.const 0) ) - ) - (if - (get_local $$cmp97$i) - (block - (set_local $$rsize$4$lcssa$i - (get_local $$sub101$rsize$4$i) - ) - (set_local $$v$4$lcssa$i - (get_local $$t$4$v$4$i) + (set_local $$arrayidx113$i$159 + (i32.add + (get_local $$t$48$i) + (i32.const 20) ) - (br $while-out$5) ) - (block - (set_local $$rsize$49$i - (get_local $$sub101$rsize$4$i) + (set_local $$60 + (i32.load + (get_local $$arrayidx113$i$159) ) - (set_local $$t$48$i + ) + (set_local $$cmp97$i + (i32.eq (get_local $$60) + (i32.const 0) ) - (set_local $$v$410$i - (get_local $$t$4$v$4$i) + ) + (if + (get_local $$cmp97$i) + (block + (set_local $$rsize$4$lcssa$i + (get_local $$sub101$rsize$4$i) + ) + (set_local $$v$4$lcssa$i + (get_local $$t$4$v$4$i) + ) + (br $while-out$5) ) - (set_local $label - (i32.const 90) + (block + (set_local $$rsize$49$i + (get_local $$sub101$rsize$4$i) + ) + (set_local $$t$48$i + (get_local $$60) + ) + (set_local $$v$410$i + (get_local $$t$4$v$4$i) + ) + (set_local $label + (i32.const 90) + ) ) ) + (br $while-in$6) ) - (br $while-in$6) ) ) (set_local $$cmp116$i @@ -20650,85 +20752,87 @@ ) ) ) - (block - (set_local $$R$1$i$168 - (get_local $$68) - ) - (set_local $$RP$1$i$167 - (get_local $$arrayidx151$i) - ) - ) - ) - (loop $while-out$9 $while-in$10 - (set_local $$arrayidx161$i - (i32.add - (get_local $$R$1$i$168) - (i32.const 20) - ) - ) - (set_local $$70 - (i32.load - (get_local $$arrayidx161$i) - ) - ) - (set_local $$cmp162$i - (i32.eq - (get_local $$70) - (i32.const 0) - ) - ) - (if - (i32.eqz - (get_local $$cmp162$i) + (block + (set_local $$R$1$i$168 + (get_local $$68) ) - (block - (set_local $$R$1$i$168 - (get_local $$70) + (set_local $$RP$1$i$167 + (get_local $$arrayidx151$i) + ) + ) + ) + (loop $while-in$10 + (block $while-out$9 + (set_local $$arrayidx161$i + (i32.add + (get_local $$R$1$i$168) + (i32.const 20) ) - (set_local $$RP$1$i$167 + ) + (set_local $$70 + (i32.load (get_local $$arrayidx161$i) ) - (br $while-in$10) ) - ) - (set_local $$arrayidx165$i$169 - (i32.add - (get_local $$R$1$i$168) - (i32.const 16) - ) - ) - (set_local $$71 - (i32.load - (get_local $$arrayidx165$i$169) + (set_local $$cmp162$i + (i32.eq + (get_local $$70) + (i32.const 0) + ) ) - ) - (set_local $$cmp166$i - (i32.eq - (get_local $$71) - (i32.const 0) + (if + (i32.eqz + (get_local $$cmp162$i) + ) + (block + (set_local $$R$1$i$168 + (get_local $$70) + ) + (set_local $$RP$1$i$167 + (get_local $$arrayidx161$i) + ) + (br $while-in$10) + ) ) - ) - (if - (get_local $$cmp166$i) - (block - (set_local $$R$1$i$168$lcssa + (set_local $$arrayidx165$i$169 + (i32.add (get_local $$R$1$i$168) + (i32.const 16) ) - (set_local $$RP$1$i$167$lcssa - (get_local $$RP$1$i$167) + ) + (set_local $$71 + (i32.load + (get_local $$arrayidx165$i$169) ) - (br $while-out$9) ) - (block - (set_local $$R$1$i$168 + (set_local $$cmp166$i + (i32.eq (get_local $$71) + (i32.const 0) ) - (set_local $$RP$1$i$167 - (get_local $$arrayidx165$i$169) + ) + (if + (get_local $$cmp166$i) + (block + (set_local $$R$1$i$168$lcssa + (get_local $$R$1$i$168) + ) + (set_local $$RP$1$i$167$lcssa + (get_local $$RP$1$i$167) + ) + (br $while-out$9) + ) + (block + (set_local $$R$1$i$168 + (get_local $$71) + ) + (set_local $$RP$1$i$167 + (get_local $$arrayidx165$i$169) + ) ) ) + (br $while-in$10) ) - (br $while-in$10) ) (set_local $$cmp171$i (i32.lt_u @@ -21716,101 +21820,103 @@ (set_local $$T$0$i (get_local $$87) ) - (loop $while-out$17 $while-in$18 - (set_local $$head386$i - (i32.add - (get_local $$T$0$i) - (i32.const 4) - ) - ) - (set_local $$88 - (i32.load - (get_local $$head386$i) + (loop $while-in$18 + (block $while-out$17 + (set_local $$head386$i + (i32.add + (get_local $$T$0$i) + (i32.const 4) + ) ) - ) - (set_local $$and387$i - (i32.and - (get_local $$88) - (i32.const -8) + (set_local $$88 + (i32.load + (get_local $$head386$i) + ) ) - ) - (set_local $$cmp388$i - (i32.eq - (get_local $$and387$i) - (get_local $$rsize$4$lcssa$i) + (set_local $$and387$i + (i32.and + (get_local $$88) + (i32.const -8) + ) ) - ) - (if - (get_local $$cmp388$i) - (block - (set_local $$T$0$i$lcssa - (get_local $$T$0$i) + (set_local $$cmp388$i + (i32.eq + (get_local $$and387$i) + (get_local $$rsize$4$lcssa$i) ) - (set_local $label - (i32.const 148) + ) + (if + (get_local $$cmp388$i) + (block + (set_local $$T$0$i$lcssa + (get_local $$T$0$i) + ) + (set_local $label + (i32.const 148) + ) + (br $while-out$17) ) - (br $while-out$17) ) - ) - (set_local $$shr391$i - (i32.shr_u - (get_local $$K373$0$i) - (i32.const 31) + (set_local $$shr391$i + (i32.shr_u + (get_local $$K373$0$i) + (i32.const 31) + ) ) - ) - (set_local $$arrayidx394$i - (i32.add + (set_local $$arrayidx394$i (i32.add - (get_local $$T$0$i) - (i32.const 16) + (i32.add + (get_local $$T$0$i) + (i32.const 16) + ) + (i32.shl + (get_local $$shr391$i) + (i32.const 2) + ) ) + ) + (set_local $$shl395$i (i32.shl - (get_local $$shr391$i) - (i32.const 2) + (get_local $$K373$0$i) + (i32.const 1) ) ) - ) - (set_local $$shl395$i - (i32.shl - (get_local $$K373$0$i) - (i32.const 1) - ) - ) - (set_local $$89 - (i32.load - (get_local $$arrayidx394$i) - ) - ) - (set_local $$cmp396$i - (i32.eq - (get_local $$89) - (i32.const 0) - ) - ) - (if - (get_local $$cmp396$i) - (block - (set_local $$T$0$i$lcssa293 - (get_local $$T$0$i) - ) - (set_local $$arrayidx394$i$lcssa + (set_local $$89 + (i32.load (get_local $$arrayidx394$i) ) - (set_local $label - (i32.const 145) + ) + (set_local $$cmp396$i + (i32.eq + (get_local $$89) + (i32.const 0) ) - (br $while-out$17) ) - (block - (set_local $$K373$0$i - (get_local $$shl395$i) + (if + (get_local $$cmp396$i) + (block + (set_local $$T$0$i$lcssa293 + (get_local $$T$0$i) + ) + (set_local $$arrayidx394$i$lcssa + (get_local $$arrayidx394$i) + ) + (set_local $label + (i32.const 145) + ) + (br $while-out$17) ) - (set_local $$T$0$i - (get_local $$89) + (block + (set_local $$K373$0$i + (get_local $$shl395$i) + ) + (set_local $$T$0$i + (get_local $$89) + ) ) ) + (br $while-in$18) ) - (br $while-in$18) ) (if (i32.eq @@ -22487,90 +22593,92 @@ (set_local $$sp$0$i$i (i32.const 624) ) - (loop $while-out$37 $while-in$38 - (set_local $$105 - (i32.load - (get_local $$sp$0$i$i) - ) - ) - (set_local $$cmp$i$9$i - (i32.gt_u - (get_local $$105) - (get_local $$104) + (loop $while-in$38 + (block $while-out$37 + (set_local $$105 + (i32.load + (get_local $$sp$0$i$i) + ) ) - ) - (if - (i32.eqz - (get_local $$cmp$i$9$i) + (set_local $$cmp$i$9$i + (i32.gt_u + (get_local $$105) + (get_local $$104) + ) ) - (block - (set_local $$size$i$i - (i32.add - (get_local $$sp$0$i$i) - (i32.const 4) - ) + (if + (i32.eqz + (get_local $$cmp$i$9$i) ) - (set_local $$106 - (i32.load - (get_local $$size$i$i) + (block + (set_local $$size$i$i + (i32.add + (get_local $$sp$0$i$i) + (i32.const 4) + ) ) - ) - (set_local $$add$ptr$i$i - (i32.add - (get_local $$105) - (get_local $$106) + (set_local $$106 + (i32.load + (get_local $$size$i$i) + ) ) - ) - (set_local $$cmp2$i$i - (i32.gt_u - (get_local $$add$ptr$i$i) - (get_local $$104) + (set_local $$add$ptr$i$i + (i32.add + (get_local $$105) + (get_local $$106) + ) ) - ) - (if - (get_local $$cmp2$i$i) - (block - (set_local $$base$i$i$lcssa - (get_local $$sp$0$i$i) + (set_local $$cmp2$i$i + (i32.gt_u + (get_local $$add$ptr$i$i) + (get_local $$104) ) - (set_local $$size$i$i$lcssa - (get_local $$size$i$i) + ) + (if + (get_local $$cmp2$i$i) + (block + (set_local $$base$i$i$lcssa + (get_local $$sp$0$i$i) + ) + (set_local $$size$i$i$lcssa + (get_local $$size$i$i) + ) + (br $while-out$37) ) - (br $while-out$37) ) ) ) - ) - (set_local $$next$i$i - (i32.add - (get_local $$sp$0$i$i) - (i32.const 8) - ) - ) - (set_local $$107 - (i32.load - (get_local $$next$i$i) + (set_local $$next$i$i + (i32.add + (get_local $$sp$0$i$i) + (i32.const 8) + ) ) - ) - (set_local $$cmp3$i$i - (i32.eq - (get_local $$107) - (i32.const 0) + (set_local $$107 + (i32.load + (get_local $$next$i$i) + ) ) - ) - (if - (get_local $$cmp3$i$i) - (block - (set_local $label - (i32.const 173) + (set_local $$cmp3$i$i + (i32.eq + (get_local $$107) + (i32.const 0) ) - (br $label$break$L259) ) - (set_local $$sp$0$i$i - (get_local $$107) + (if + (get_local $$cmp3$i$i) + (block + (set_local $label + (i32.const 173) + ) + (br $label$break$L259) + ) + (set_local $$sp$0$i$i + (get_local $$107) + ) ) + (br $while-in$38) ) - (br $while-in$38) ) (set_local $$112 (i32.load @@ -23269,62 +23377,64 @@ (set_local $$i$01$i$i (i32.const 0) ) - (loop $while-out$77 $while-in$78 - (set_local $$shl$i$i - (i32.shl - (get_local $$i$01$i$i) - (i32.const 1) - ) - ) - (set_local $$arrayidx$i$i - (i32.add - (i32.const 216) + (loop $while-in$78 + (block $while-out$77 + (set_local $$shl$i$i (i32.shl - (get_local $$shl$i$i) - (i32.const 2) + (get_local $$i$01$i$i) + (i32.const 1) ) ) - ) - (set_local $$122 - (i32.add - (get_local $$arrayidx$i$i) - (i32.const 12) + (set_local $$arrayidx$i$i + (i32.add + (i32.const 216) + (i32.shl + (get_local $$shl$i$i) + (i32.const 2) + ) + ) ) - ) - (i32.store - (get_local $$122) - (get_local $$arrayidx$i$i) - ) - (set_local $$123 - (i32.add + (set_local $$122 + (i32.add + (get_local $$arrayidx$i$i) + (i32.const 12) + ) + ) + (i32.store + (get_local $$122) (get_local $$arrayidx$i$i) - (i32.const 8) ) - ) - (i32.store - (get_local $$123) - (get_local $$arrayidx$i$i) - ) - (set_local $$inc$i$i - (i32.add - (get_local $$i$01$i$i) - (i32.const 1) + (set_local $$123 + (i32.add + (get_local $$arrayidx$i$i) + (i32.const 8) + ) + ) + (i32.store + (get_local $$123) + (get_local $$arrayidx$i$i) ) - ) - (set_local $$exitcond$i$i - (i32.eq - (get_local $$inc$i$i) - (i32.const 32) + (set_local $$inc$i$i + (i32.add + (get_local $$i$01$i$i) + (i32.const 1) + ) ) - ) - (if - (get_local $$exitcond$i$i) - (br $while-out$77) - (set_local $$i$01$i$i - (get_local $$inc$i$i) + (set_local $$exitcond$i$i + (i32.eq + (get_local $$inc$i$i) + (i32.const 32) + ) + ) + (if + (get_local $$exitcond$i$i) + (br $while-out$77) + (set_local $$i$01$i$i + (get_local $$inc$i$i) + ) ) + (br $while-in$78) ) - (br $while-in$78) ) (set_local $$sub172$i (i32.add @@ -23438,81 +23548,83 @@ (set_local $$sp$0108$i (i32.const 624) ) - (loop $while-out$46 $while-in$47 - (set_local $$127 - (i32.load - (get_local $$sp$0108$i) - ) - ) - (set_local $$size188$i - (i32.add - (get_local $$sp$0108$i) - (i32.const 4) - ) - ) - (set_local $$128 - (i32.load - (get_local $$size188$i) + (loop $while-in$47 + (block $while-out$46 + (set_local $$127 + (i32.load + (get_local $$sp$0108$i) + ) ) - ) - (set_local $$add$ptr189$i - (i32.add - (get_local $$127) - (get_local $$128) + (set_local $$size188$i + (i32.add + (get_local $$sp$0108$i) + (i32.const 4) + ) ) - ) - (set_local $$cmp190$i - (i32.eq - (get_local $$tbase$796$i) - (get_local $$add$ptr189$i) + (set_local $$128 + (i32.load + (get_local $$size188$i) + ) ) - ) - (if - (get_local $$cmp190$i) - (block - (set_local $$$lcssa + (set_local $$add$ptr189$i + (i32.add (get_local $$127) - ) - (set_local $$$lcssa290 (get_local $$128) ) - (set_local $$size188$i$lcssa - (get_local $$size188$i) - ) - (set_local $$sp$0108$i$lcssa - (get_local $$sp$0108$i) + ) + (set_local $$cmp190$i + (i32.eq + (get_local $$tbase$796$i) + (get_local $$add$ptr189$i) ) - (set_local $label - (i32.const 203) + ) + (if + (get_local $$cmp190$i) + (block + (set_local $$$lcssa + (get_local $$127) + ) + (set_local $$$lcssa290 + (get_local $$128) + ) + (set_local $$size188$i$lcssa + (get_local $$size188$i) + ) + (set_local $$sp$0108$i$lcssa + (get_local $$sp$0108$i) + ) + (set_local $label + (i32.const 203) + ) + (br $while-out$46) ) - (br $while-out$46) ) - ) - (set_local $$next$i - (i32.add - (get_local $$sp$0108$i) - (i32.const 8) + (set_local $$next$i + (i32.add + (get_local $$sp$0108$i) + (i32.const 8) + ) ) - ) - (set_local $$129 - (i32.load - (get_local $$next$i) + (set_local $$129 + (i32.load + (get_local $$next$i) + ) ) - ) - (set_local $$cmp186$i - (i32.eq - (get_local $$129) - (i32.const 0) + (set_local $$cmp186$i + (i32.eq + (get_local $$129) + (i32.const 0) + ) ) - ) - (if - (get_local $$cmp186$i) - (br $while-out$46) - (set_local $$sp$0108$i - (get_local $$129) + (if + (get_local $$cmp186$i) + (br $while-out$46) + (set_local $$sp$0108$i + (get_local $$129) + ) ) + (br $while-in$47) ) - (br $while-in$47) ) (if (i32.eq @@ -23731,63 +23843,65 @@ (set_local $$sp$1107$i (i32.const 624) ) - (loop $while-out$48 $while-in$49 - (set_local $$136 - (i32.load - (get_local $$sp$1107$i) - ) - ) - (set_local $$cmp228$i - (i32.eq - (get_local $$136) - (get_local $$add$ptr227$i) - ) - ) - (if - (get_local $$cmp228$i) - (block - (set_local $$base226$i$lcssa - (get_local $$sp$1107$i) - ) - (set_local $$sp$1107$i$lcssa + (loop $while-in$49 + (block $while-out$48 + (set_local $$136 + (i32.load (get_local $$sp$1107$i) ) - (set_local $label - (i32.const 211) + ) + (set_local $$cmp228$i + (i32.eq + (get_local $$136) + (get_local $$add$ptr227$i) ) - (br $while-out$48) ) - ) - (set_local $$next231$i - (i32.add - (get_local $$sp$1107$i) - (i32.const 8) + (if + (get_local $$cmp228$i) + (block + (set_local $$base226$i$lcssa + (get_local $$sp$1107$i) + ) + (set_local $$sp$1107$i$lcssa + (get_local $$sp$1107$i) + ) + (set_local $label + (i32.const 211) + ) + (br $while-out$48) + ) ) - ) - (set_local $$137 - (i32.load - (get_local $$next231$i) + (set_local $$next231$i + (i32.add + (get_local $$sp$1107$i) + (i32.const 8) + ) ) - ) - (set_local $$cmp224$i - (i32.eq - (get_local $$137) - (i32.const 0) + (set_local $$137 + (i32.load + (get_local $$next231$i) + ) ) - ) - (if - (get_local $$cmp224$i) - (block - (set_local $$sp$0$i$i$i - (i32.const 624) + (set_local $$cmp224$i + (i32.eq + (get_local $$137) + (i32.const 0) ) - (br $while-out$48) ) - (set_local $$sp$1107$i - (get_local $$137) + (if + (get_local $$cmp224$i) + (block + (set_local $$sp$0$i$i$i + (i32.const 624) + ) + (br $while-out$48) + ) + (set_local $$sp$1107$i + (get_local $$137) + ) ) + (br $while-in$49) ) - (br $while-in$49) ) (if (i32.eq @@ -24431,76 +24545,78 @@ ) ) ) - (loop $while-out$55 $while-in$56 - (set_local $$arrayidx103$i$i - (i32.add - (get_local $$R$1$i$i) - (i32.const 20) - ) - ) - (set_local $$161 - (i32.load - (get_local $$arrayidx103$i$i) - ) - ) - (set_local $$cmp104$i$i - (i32.eq - (get_local $$161) - (i32.const 0) - ) - ) - (if - (i32.eqz - (get_local $$cmp104$i$i) - ) - (block - (set_local $$R$1$i$i - (get_local $$161) + (loop $while-in$56 + (block $while-out$55 + (set_local $$arrayidx103$i$i + (i32.add + (get_local $$R$1$i$i) + (i32.const 20) ) - (set_local $$RP$1$i$i + ) + (set_local $$161 + (i32.load (get_local $$arrayidx103$i$i) ) - (br $while-in$56) - ) - ) - (set_local $$arrayidx107$i$i - (i32.add - (get_local $$R$1$i$i) - (i32.const 16) ) - ) - (set_local $$162 - (i32.load - (get_local $$arrayidx107$i$i) + (set_local $$cmp104$i$i + (i32.eq + (get_local $$161) + (i32.const 0) + ) ) - ) - (set_local $$cmp108$i$i - (i32.eq - (get_local $$162) - (i32.const 0) + (if + (i32.eqz + (get_local $$cmp104$i$i) + ) + (block + (set_local $$R$1$i$i + (get_local $$161) + ) + (set_local $$RP$1$i$i + (get_local $$arrayidx103$i$i) + ) + (br $while-in$56) + ) ) - ) - (if - (get_local $$cmp108$i$i) - (block - (set_local $$R$1$i$i$lcssa + (set_local $$arrayidx107$i$i + (i32.add (get_local $$R$1$i$i) + (i32.const 16) ) - (set_local $$RP$1$i$i$lcssa - (get_local $$RP$1$i$i) + ) + (set_local $$162 + (i32.load + (get_local $$arrayidx107$i$i) ) - (br $while-out$55) ) - (block - (set_local $$R$1$i$i + (set_local $$cmp108$i$i + (i32.eq (get_local $$162) + (i32.const 0) ) - (set_local $$RP$1$i$i - (get_local $$arrayidx107$i$i) + ) + (if + (get_local $$cmp108$i$i) + (block + (set_local $$R$1$i$i$lcssa + (get_local $$R$1$i$i) + ) + (set_local $$RP$1$i$i$lcssa + (get_local $$RP$1$i$i) + ) + (br $while-out$55) + ) + (block + (set_local $$R$1$i$i + (get_local $$162) + ) + (set_local $$RP$1$i$i + (get_local $$arrayidx107$i$i) + ) ) ) + (br $while-in$56) ) - (br $while-in$56) ) (set_local $$cmp112$i$i (i32.lt_u @@ -25466,101 +25582,103 @@ (set_local $$T$0$i$58$i (get_local $$178) ) - (loop $while-out$69 $while-in$70 - (set_local $$head317$i$i - (i32.add - (get_local $$T$0$i$58$i) - (i32.const 4) - ) - ) - (set_local $$179 - (i32.load - (get_local $$head317$i$i) + (loop $while-in$70 + (block $while-out$69 + (set_local $$head317$i$i + (i32.add + (get_local $$T$0$i$58$i) + (i32.const 4) + ) ) - ) - (set_local $$and318$i$i - (i32.and - (get_local $$179) - (i32.const -8) + (set_local $$179 + (i32.load + (get_local $$head317$i$i) + ) ) - ) - (set_local $$cmp319$i$i - (i32.eq - (get_local $$and318$i$i) - (get_local $$qsize$0$i$i) + (set_local $$and318$i$i + (i32.and + (get_local $$179) + (i32.const -8) + ) ) - ) - (if - (get_local $$cmp319$i$i) - (block - (set_local $$T$0$i$58$i$lcssa - (get_local $$T$0$i$58$i) + (set_local $$cmp319$i$i + (i32.eq + (get_local $$and318$i$i) + (get_local $$qsize$0$i$i) ) - (set_local $label - (i32.const 281) + ) + (if + (get_local $$cmp319$i$i) + (block + (set_local $$T$0$i$58$i$lcssa + (get_local $$T$0$i$58$i) + ) + (set_local $label + (i32.const 281) + ) + (br $while-out$69) ) - (br $while-out$69) ) - ) - (set_local $$shr322$i$i - (i32.shr_u - (get_local $$K305$0$i$i) - (i32.const 31) + (set_local $$shr322$i$i + (i32.shr_u + (get_local $$K305$0$i$i) + (i32.const 31) + ) ) - ) - (set_local $$arrayidx325$i$i - (i32.add + (set_local $$arrayidx325$i$i (i32.add - (get_local $$T$0$i$58$i) - (i32.const 16) + (i32.add + (get_local $$T$0$i$58$i) + (i32.const 16) + ) + (i32.shl + (get_local $$shr322$i$i) + (i32.const 2) + ) ) + ) + (set_local $$shl326$i$i (i32.shl - (get_local $$shr322$i$i) - (i32.const 2) + (get_local $$K305$0$i$i) + (i32.const 1) ) ) - ) - (set_local $$shl326$i$i - (i32.shl - (get_local $$K305$0$i$i) - (i32.const 1) - ) - ) - (set_local $$180 - (i32.load - (get_local $$arrayidx325$i$i) - ) - ) - (set_local $$cmp327$i$i - (i32.eq - (get_local $$180) - (i32.const 0) - ) - ) - (if - (get_local $$cmp327$i$i) - (block - (set_local $$T$0$i$58$i$lcssa283 - (get_local $$T$0$i$58$i) - ) - (set_local $$arrayidx325$i$i$lcssa + (set_local $$180 + (i32.load (get_local $$arrayidx325$i$i) ) - (set_local $label - (i32.const 278) + ) + (set_local $$cmp327$i$i + (i32.eq + (get_local $$180) + (i32.const 0) ) - (br $while-out$69) ) - (block - (set_local $$K305$0$i$i - (get_local $$shl326$i$i) + (if + (get_local $$cmp327$i$i) + (block + (set_local $$T$0$i$58$i$lcssa283 + (get_local $$T$0$i$58$i) + ) + (set_local $$arrayidx325$i$i$lcssa + (get_local $$arrayidx325$i$i) + ) + (set_local $label + (i32.const 278) + ) + (br $while-out$69) ) - (set_local $$T$0$i$58$i - (get_local $$180) + (block + (set_local $$K305$0$i$i + (get_local $$shl326$i$i) + ) + (set_local $$T$0$i$58$i + (get_local $$180) + ) ) ) + (br $while-in$70) ) - (br $while-in$70) ) (if (i32.eq @@ -25737,72 +25855,74 @@ ) ) ) - (loop $while-out$71 $while-in$72 - (set_local $$185 - (i32.load - (get_local $$sp$0$i$i$i) - ) - ) - (set_local $$cmp$i$i$i - (i32.gt_u - (get_local $$185) - (get_local $$119) + (loop $while-in$72 + (block $while-out$71 + (set_local $$185 + (i32.load + (get_local $$sp$0$i$i$i) + ) ) - ) - (if - (i32.eqz - (get_local $$cmp$i$i$i) + (set_local $$cmp$i$i$i + (i32.gt_u + (get_local $$185) + (get_local $$119) + ) ) - (block - (set_local $$size$i$i$i - (i32.add - (get_local $$sp$0$i$i$i) - (i32.const 4) - ) + (if + (i32.eqz + (get_local $$cmp$i$i$i) ) - (set_local $$186 - (i32.load - (get_local $$size$i$i$i) + (block + (set_local $$size$i$i$i + (i32.add + (get_local $$sp$0$i$i$i) + (i32.const 4) + ) ) - ) - (set_local $$add$ptr$i$i$i - (i32.add - (get_local $$185) - (get_local $$186) + (set_local $$186 + (i32.load + (get_local $$size$i$i$i) + ) ) - ) - (set_local $$cmp2$i$i$i - (i32.gt_u - (get_local $$add$ptr$i$i$i) - (get_local $$119) + (set_local $$add$ptr$i$i$i + (i32.add + (get_local $$185) + (get_local $$186) + ) ) - ) - (if - (get_local $$cmp2$i$i$i) - (block - (set_local $$add$ptr$i$i$i$lcssa + (set_local $$cmp2$i$i$i + (i32.gt_u (get_local $$add$ptr$i$i$i) + (get_local $$119) + ) + ) + (if + (get_local $$cmp2$i$i$i) + (block + (set_local $$add$ptr$i$i$i$lcssa + (get_local $$add$ptr$i$i$i) + ) + (br $while-out$71) ) - (br $while-out$71) ) ) ) - ) - (set_local $$next$i$i$i - (i32.add - (get_local $$sp$0$i$i$i) - (i32.const 8) + (set_local $$next$i$i$i + (i32.add + (get_local $$sp$0$i$i$i) + (i32.const 8) + ) ) - ) - (set_local $$187 - (i32.load - (get_local $$next$i$i$i) + (set_local $$187 + (i32.load + (get_local $$next$i$i$i) + ) ) + (set_local $$sp$0$i$i$i + (get_local $$187) + ) + (br $while-in$72) ) - (set_local $$sp$0$i$i$i - (get_local $$187) - ) - (br $while-in$72) ) (set_local $$add$ptr2$i$i (i32.add @@ -26065,37 +26185,39 @@ (set_local $$p$0$i$i (get_local $$add$ptr15$i$i) ) - (loop $while-out$73 $while-in$74 - (set_local $$add$ptr24$i$i - (i32.add - (get_local $$p$0$i$i) - (i32.const 4) + (loop $while-in$74 + (block $while-out$73 + (set_local $$add$ptr24$i$i + (i32.add + (get_local $$p$0$i$i) + (i32.const 4) + ) ) - ) - (i32.store - (get_local $$add$ptr24$i$i) - (i32.const 7) - ) - (set_local $$193 - (i32.add + (i32.store (get_local $$add$ptr24$i$i) - (i32.const 4) + (i32.const 7) ) - ) - (set_local $$cmp27$i$i - (i32.lt_u - (get_local $$193) - (get_local $$add$ptr$i$i$i$lcssa) + (set_local $$193 + (i32.add + (get_local $$add$ptr24$i$i) + (i32.const 4) + ) ) - ) - (if - (get_local $$cmp27$i$i) - (set_local $$p$0$i$i - (get_local $$add$ptr24$i$i) + (set_local $$cmp27$i$i + (i32.lt_u + (get_local $$193) + (get_local $$add$ptr$i$i$i$lcssa) + ) + ) + (if + (get_local $$cmp27$i$i) + (set_local $$p$0$i$i + (get_local $$add$ptr24$i$i) + ) + (br $while-out$73) ) - (br $while-out$73) + (br $while-in$74) ) - (br $while-in$74) ) (set_local $$cmp28$i$i (i32.eq @@ -26625,101 +26747,103 @@ (set_local $$T$0$i$i (get_local $$200) ) - (loop $while-out$75 $while-in$76 - (set_local $$head118$i$i - (i32.add - (get_local $$T$0$i$i) - (i32.const 4) - ) - ) - (set_local $$201 - (i32.load - (get_local $$head118$i$i) + (loop $while-in$76 + (block $while-out$75 + (set_local $$head118$i$i + (i32.add + (get_local $$T$0$i$i) + (i32.const 4) + ) ) - ) - (set_local $$and119$i$i - (i32.and - (get_local $$201) - (i32.const -8) + (set_local $$201 + (i32.load + (get_local $$head118$i$i) + ) ) - ) - (set_local $$cmp120$i$i - (i32.eq - (get_local $$and119$i$i) - (get_local $$sub$ptr$sub$i$i) + (set_local $$and119$i$i + (i32.and + (get_local $$201) + (i32.const -8) + ) ) - ) - (if - (get_local $$cmp120$i$i) - (block - (set_local $$T$0$i$i$lcssa - (get_local $$T$0$i$i) + (set_local $$cmp120$i$i + (i32.eq + (get_local $$and119$i$i) + (get_local $$sub$ptr$sub$i$i) ) - (set_local $label - (i32.const 307) + ) + (if + (get_local $$cmp120$i$i) + (block + (set_local $$T$0$i$i$lcssa + (get_local $$T$0$i$i) + ) + (set_local $label + (i32.const 307) + ) + (br $while-out$75) ) - (br $while-out$75) ) - ) - (set_local $$shr123$i$i - (i32.shr_u - (get_local $$K105$0$i$i) - (i32.const 31) + (set_local $$shr123$i$i + (i32.shr_u + (get_local $$K105$0$i$i) + (i32.const 31) + ) ) - ) - (set_local $$arrayidx126$i$i - (i32.add + (set_local $$arrayidx126$i$i (i32.add - (get_local $$T$0$i$i) - (i32.const 16) + (i32.add + (get_local $$T$0$i$i) + (i32.const 16) + ) + (i32.shl + (get_local $$shr123$i$i) + (i32.const 2) + ) ) + ) + (set_local $$shl127$i$i (i32.shl - (get_local $$shr123$i$i) - (i32.const 2) + (get_local $$K105$0$i$i) + (i32.const 1) ) ) - ) - (set_local $$shl127$i$i - (i32.shl - (get_local $$K105$0$i$i) - (i32.const 1) - ) - ) - (set_local $$202 - (i32.load - (get_local $$arrayidx126$i$i) - ) - ) - (set_local $$cmp128$i$i - (i32.eq - (get_local $$202) - (i32.const 0) - ) - ) - (if - (get_local $$cmp128$i$i) - (block - (set_local $$T$0$i$i$lcssa284 - (get_local $$T$0$i$i) - ) - (set_local $$arrayidx126$i$i$lcssa + (set_local $$202 + (i32.load (get_local $$arrayidx126$i$i) ) - (set_local $label - (i32.const 304) + ) + (set_local $$cmp128$i$i + (i32.eq + (get_local $$202) + (i32.const 0) ) - (br $while-out$75) ) - (block - (set_local $$K105$0$i$i - (get_local $$shl127$i$i) + (if + (get_local $$cmp128$i$i) + (block + (set_local $$T$0$i$i$lcssa284 + (get_local $$T$0$i$i) + ) + (set_local $$arrayidx126$i$i$lcssa + (get_local $$arrayidx126$i$i) + ) + (set_local $label + (i32.const 304) + ) + (br $while-out$75) ) - (set_local $$T$0$i$i - (get_local $$202) + (block + (set_local $$K105$0$i$i + (get_local $$shl127$i$i) + ) + (set_local $$T$0$i$i + (get_local $$202) + ) ) ) + (br $while-in$76) ) - (br $while-in$76) ) (if (i32.eq @@ -27880,76 +28004,78 @@ ) ) ) - (loop $while-out$4 $while-in$5 - (set_local $$arrayidx108 - (i32.add - (get_local $$R$1) - (i32.const 20) - ) - ) - (set_local $$16 - (i32.load - (get_local $$arrayidx108) - ) - ) - (set_local $$cmp109 - (i32.eq - (get_local $$16) - (i32.const 0) - ) - ) - (if - (i32.eqz - (get_local $$cmp109) - ) - (block - (set_local $$R$1 - (get_local $$16) + (loop $while-in$5 + (block $while-out$4 + (set_local $$arrayidx108 + (i32.add + (get_local $$R$1) + (i32.const 20) ) - (set_local $$RP$1 + ) + (set_local $$16 + (i32.load (get_local $$arrayidx108) ) - (br $while-in$5) - ) - ) - (set_local $$arrayidx113 - (i32.add - (get_local $$R$1) - (i32.const 16) ) - ) - (set_local $$17 - (i32.load - (get_local $$arrayidx113) + (set_local $$cmp109 + (i32.eq + (get_local $$16) + (i32.const 0) + ) ) - ) - (set_local $$cmp114 - (i32.eq - (get_local $$17) - (i32.const 0) + (if + (i32.eqz + (get_local $$cmp109) + ) + (block + (set_local $$R$1 + (get_local $$16) + ) + (set_local $$RP$1 + (get_local $$arrayidx108) + ) + (br $while-in$5) + ) ) - ) - (if - (get_local $$cmp114) - (block - (set_local $$R$1$lcssa + (set_local $$arrayidx113 + (i32.add (get_local $$R$1) + (i32.const 16) ) - (set_local $$RP$1$lcssa - (get_local $$RP$1) + ) + (set_local $$17 + (i32.load + (get_local $$arrayidx113) ) - (br $while-out$4) ) - (block - (set_local $$R$1 + (set_local $$cmp114 + (i32.eq (get_local $$17) + (i32.const 0) ) - (set_local $$RP$1 - (get_local $$arrayidx113) + ) + (if + (get_local $$cmp114) + (block + (set_local $$R$1$lcssa + (get_local $$R$1) + ) + (set_local $$RP$1$lcssa + (get_local $$RP$1) + ) + (br $while-out$4) + ) + (block + (set_local $$R$1 + (get_local $$17) + ) + (set_local $$RP$1 + (get_local $$arrayidx113) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (set_local $$cmp118 (i32.lt_u @@ -28919,77 +29045,79 @@ (get_local $$arrayidx362) ) ) - ) - (loop $while-out$12 $while-in$13 - (set_local $$arrayidx374 - (i32.add - (get_local $$R332$1) - (i32.const 20) - ) - ) - (set_local $$49 - (i32.load - (get_local $$arrayidx374) - ) - ) - (set_local $$cmp375 - (i32.eq - (get_local $$49) - (i32.const 0) - ) - ) - (if - (i32.eqz - (get_local $$cmp375) - ) - (block - (set_local $$R332$1 - (get_local $$49) + ) + (loop $while-in$13 + (block $while-out$12 + (set_local $$arrayidx374 + (i32.add + (get_local $$R332$1) + (i32.const 20) ) - (set_local $$RP360$1 + ) + (set_local $$49 + (i32.load (get_local $$arrayidx374) ) - (br $while-in$13) - ) - ) - (set_local $$arrayidx379 - (i32.add - (get_local $$R332$1) - (i32.const 16) ) - ) - (set_local $$50 - (i32.load - (get_local $$arrayidx379) + (set_local $$cmp375 + (i32.eq + (get_local $$49) + (i32.const 0) + ) ) - ) - (set_local $$cmp380 - (i32.eq - (get_local $$50) - (i32.const 0) + (if + (i32.eqz + (get_local $$cmp375) + ) + (block + (set_local $$R332$1 + (get_local $$49) + ) + (set_local $$RP360$1 + (get_local $$arrayidx374) + ) + (br $while-in$13) + ) ) - ) - (if - (get_local $$cmp380) - (block - (set_local $$R332$1$lcssa + (set_local $$arrayidx379 + (i32.add (get_local $$R332$1) + (i32.const 16) ) - (set_local $$RP360$1$lcssa - (get_local $$RP360$1) + ) + (set_local $$50 + (i32.load + (get_local $$arrayidx379) ) - (br $while-out$12) ) - (block - (set_local $$R332$1 + (set_local $$cmp380 + (i32.eq (get_local $$50) + (i32.const 0) ) - (set_local $$RP360$1 - (get_local $$arrayidx379) + ) + (if + (get_local $$cmp380) + (block + (set_local $$R332$1$lcssa + (get_local $$R332$1) + ) + (set_local $$RP360$1$lcssa + (get_local $$RP360$1) + ) + (br $while-out$12) + ) + (block + (set_local $$R332$1 + (get_local $$50) + ) + (set_local $$RP360$1 + (get_local $$arrayidx379) + ) ) ) + (br $while-in$13) ) - (br $while-in$13) ) (set_local $$51 (i32.load @@ -29978,101 +30106,103 @@ (set_local $$T$0 (get_local $$67) ) - (loop $while-out$18 $while-in$19 - (set_local $$head591 - (i32.add - (get_local $$T$0) - (i32.const 4) - ) - ) - (set_local $$68 - (i32.load - (get_local $$head591) + (loop $while-in$19 + (block $while-out$18 + (set_local $$head591 + (i32.add + (get_local $$T$0) + (i32.const 4) + ) ) - ) - (set_local $$and592 - (i32.and - (get_local $$68) - (i32.const -8) + (set_local $$68 + (i32.load + (get_local $$head591) + ) ) - ) - (set_local $$cmp593 - (i32.eq - (get_local $$and592) - (get_local $$psize$2) + (set_local $$and592 + (i32.and + (get_local $$68) + (i32.const -8) + ) ) - ) - (if - (get_local $$cmp593) - (block - (set_local $$T$0$lcssa - (get_local $$T$0) + (set_local $$cmp593 + (i32.eq + (get_local $$and592) + (get_local $$psize$2) ) - (set_local $label - (i32.const 130) + ) + (if + (get_local $$cmp593) + (block + (set_local $$T$0$lcssa + (get_local $$T$0) + ) + (set_local $label + (i32.const 130) + ) + (br $while-out$18) ) - (br $while-out$18) ) - ) - (set_local $$shr596 - (i32.shr_u - (get_local $$K583$0) - (i32.const 31) + (set_local $$shr596 + (i32.shr_u + (get_local $$K583$0) + (i32.const 31) + ) ) - ) - (set_local $$arrayidx599 - (i32.add + (set_local $$arrayidx599 (i32.add - (get_local $$T$0) - (i32.const 16) + (i32.add + (get_local $$T$0) + (i32.const 16) + ) + (i32.shl + (get_local $$shr596) + (i32.const 2) + ) ) + ) + (set_local $$shl600 (i32.shl - (get_local $$shr596) - (i32.const 2) + (get_local $$K583$0) + (i32.const 1) ) ) - ) - (set_local $$shl600 - (i32.shl - (get_local $$K583$0) - (i32.const 1) - ) - ) - (set_local $$69 - (i32.load - (get_local $$arrayidx599) - ) - ) - (set_local $$cmp601 - (i32.eq - (get_local $$69) - (i32.const 0) - ) - ) - (if - (get_local $$cmp601) - (block - (set_local $$T$0$lcssa319 - (get_local $$T$0) - ) - (set_local $$arrayidx599$lcssa + (set_local $$69 + (i32.load (get_local $$arrayidx599) ) - (set_local $label - (i32.const 127) + ) + (set_local $$cmp601 + (i32.eq + (get_local $$69) + (i32.const 0) ) - (br $while-out$18) ) - (block - (set_local $$K583$0 - (get_local $$shl600) + (if + (get_local $$cmp601) + (block + (set_local $$T$0$lcssa319 + (get_local $$T$0) + ) + (set_local $$arrayidx599$lcssa + (get_local $$arrayidx599) + ) + (set_local $label + (i32.const 127) + ) + (br $while-out$18) ) - (set_local $$T$0 - (get_local $$69) + (block + (set_local $$K583$0 + (get_local $$shl600) + ) + (set_local $$T$0 + (get_local $$69) + ) ) ) + (br $while-in$19) ) - (br $while-in$19) ) (if (i32.eq @@ -30258,32 +30388,34 @@ ) (return) ) - (loop $while-out$20 $while-in$21 - (set_local $$sp$0$i - (i32.load - (get_local $$sp$0$in$i) + (loop $while-in$21 + (block $while-out$20 + (set_local $$sp$0$i + (i32.load + (get_local $$sp$0$in$i) + ) ) - ) - (set_local $$cmp$i - (i32.eq - (get_local $$sp$0$i) - (i32.const 0) + (set_local $$cmp$i + (i32.eq + (get_local $$sp$0$i) + (i32.const 0) + ) ) - ) - (set_local $$next4$i - (i32.add - (get_local $$sp$0$i) - (i32.const 8) + (set_local $$next4$i + (i32.add + (get_local $$sp$0$i) + (i32.const 8) + ) ) - ) - (if - (get_local $$cmp$i) - (br $while-out$20) - (set_local $$sp$0$in$i - (get_local $$next4$i) + (if + (get_local $$cmp$i) + (br $while-out$20) + (set_local $$sp$0$in$i + (get_local $$next4$i) + ) ) + (br $while-in$21) ) - (br $while-in$21) ) (i32.store (i32.const 208) @@ -30433,81 +30565,87 @@ (get_local $unaligned) ) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.lt_s - (get_local $ptr) - (get_local $unaligned) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eqz + (i32.lt_s + (get_local $ptr) + (get_local $unaligned) + ) ) + (br $while-out$0) ) - (br $while-out$0) - ) - (block - (i32.store8 - (get_local $ptr) - (get_local $value) - ) - (set_local $ptr - (i32.add + (block + (i32.store8 (get_local $ptr) - (i32.const 1) + (get_local $value) + ) + (set_local $ptr + (i32.add + (get_local $ptr) + (i32.const 1) + ) ) ) + (br $while-in$1) ) - (br $while-in$1) ) ) ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (i32.lt_s - (get_local $ptr) - (get_local $stop4) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (i32.lt_s + (get_local $ptr) + (get_local $stop4) + ) ) + (br $while-out$2) ) - (br $while-out$2) - ) - (block - (i32.store - (get_local $ptr) - (get_local $value4) - ) - (set_local $ptr - (i32.add + (block + (i32.store (get_local $ptr) - (i32.const 4) + (get_local $value4) + ) + (set_local $ptr + (i32.add + (get_local $ptr) + (i32.const 4) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (if - (i32.eqz - (i32.lt_s - (get_local $ptr) - (get_local $stop) + (loop $while-in$5 + (block $while-out$4 + (if + (i32.eqz + (i32.lt_s + (get_local $ptr) + (get_local $stop) + ) ) + (br $while-out$4) ) - (br $while-out$4) - ) - (block - (i32.store8 - (get_local $ptr) - (get_local $value) - ) - (set_local $ptr - (i32.add + (block + (i32.store8 (get_local $ptr) - (i32.const 1) + (get_local $value) + ) + (set_local $ptr + (i32.add + (get_local $ptr) + (i32.const 1) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (return (i32.sub @@ -30668,130 +30806,136 @@ ) ) (block - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.and - (get_local $dest) - (i32.const 3) - ) - ) - (br $while-out$0) - ) - (block + (loop $while-in$1 + (block $while-out$0 (if - (i32.eq - (get_local $num) - (i32.const 0) - ) - (return - (get_local $ret) + (i32.eqz + (i32.and + (get_local $dest) + (i32.const 3) + ) ) + (br $while-out$0) ) - (i32.store8 - (get_local $dest) - (i32.load8_s - (get_local $src) + (block + (if + (i32.eq + (get_local $num) + (i32.const 0) + ) + (return + (get_local $ret) + ) ) - ) - (set_local $dest - (i32.add + (i32.store8 (get_local $dest) - (i32.const 1) + (i32.load8_s + (get_local $src) + ) ) - ) - (set_local $src - (i32.add - (get_local $src) - (i32.const 1) + (set_local $dest + (i32.add + (get_local $dest) + (i32.const 1) + ) ) - ) - (set_local $num - (i32.sub - (get_local $num) - (i32.const 1) + (set_local $src + (i32.add + (get_local $src) + (i32.const 1) + ) ) - ) - ) - (br $while-in$1) - ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (i32.ge_s - (get_local $num) - (i32.const 4) + (set_local $num + (i32.sub + (get_local $num) + (i32.const 1) + ) ) ) - (br $while-out$2) + (br $while-in$1) ) - (block - (i32.store - (get_local $dest) - (i32.load - (get_local $src) + ) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (i32.ge_s + (get_local $num) + (i32.const 4) + ) ) + (br $while-out$2) ) - (set_local $dest - (i32.add + (block + (i32.store (get_local $dest) - (i32.const 4) + (i32.load + (get_local $src) + ) ) - ) - (set_local $src - (i32.add - (get_local $src) - (i32.const 4) + (set_local $dest + (i32.add + (get_local $dest) + (i32.const 4) + ) ) - ) - (set_local $num - (i32.sub - (get_local $num) - (i32.const 4) + (set_local $src + (i32.add + (get_local $src) + (i32.const 4) + ) + ) + (set_local $num + (i32.sub + (get_local $num) + (i32.const 4) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (if - (i32.eqz - (i32.gt_s - (get_local $num) - (i32.const 0) - ) - ) - (br $while-out$4) - ) - (block - (i32.store8 - (get_local $dest) - (i32.load8_s - (get_local $src) + (loop $while-in$5 + (block $while-out$4 + (if + (i32.eqz + (i32.gt_s + (get_local $num) + (i32.const 0) + ) ) + (br $while-out$4) ) - (set_local $dest - (i32.add + (block + (i32.store8 (get_local $dest) - (i32.const 1) + (i32.load8_s + (get_local $src) + ) ) - ) - (set_local $src - (i32.add - (get_local $src) - (i32.const 1) + (set_local $dest + (i32.add + (get_local $dest) + (i32.const 1) + ) ) - ) - (set_local $num - (i32.sub - (get_local $num) - (i32.const 1) + (set_local $src + (i32.add + (get_local $src) + (i32.const 1) + ) + ) + (set_local $num + (i32.sub + (get_local $num) + (i32.const 1) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (return (get_local $ret) @@ -32439,172 +32583,174 @@ (set_local $$carry_0203 (i32.const 0) ) - (loop $while-out$2 $while-in$3 - (set_local $$147 - (i32.or - (i32.shr_u - (get_local $$q_sroa_0_1199) - (i32.const 31) - ) - (i32.shl - (get_local $$q_sroa_1_1198) - (i32.const 1) - ) - ) - ) - (set_local $$149 - (i32.or - (get_local $$carry_0203) - (i32.shl - (get_local $$q_sroa_0_1199) - (i32.const 1) + (loop $while-in$3 + (block $while-out$2 + (set_local $$147 + (i32.or + (i32.shr_u + (get_local $$q_sroa_0_1199) + (i32.const 31) + ) + (i32.shl + (get_local $$q_sroa_1_1198) + (i32.const 1) + ) ) ) - ) - (set_local $$r_sroa_0_0_insert_insert42$0 - (i32.or - (i32.const 0) + (set_local $$149 (i32.or + (get_local $$carry_0203) (i32.shl - (get_local $$r_sroa_0_1201) + (get_local $$q_sroa_0_1199) (i32.const 1) ) + ) + ) + (set_local $$r_sroa_0_0_insert_insert42$0 + (i32.or + (i32.const 0) + (i32.or + (i32.shl + (get_local $$r_sroa_0_1201) + (i32.const 1) + ) + (i32.shr_u + (get_local $$q_sroa_1_1198) + (i32.const 31) + ) + ) + ) + ) + (set_local $$r_sroa_0_0_insert_insert42$1 + (i32.or (i32.shr_u - (get_local $$q_sroa_1_1198) + (get_local $$r_sroa_0_1201) (i32.const 31) ) + (i32.shl + (get_local $$r_sroa_1_1200) + (i32.const 1) + ) ) ) - ) - (set_local $$r_sroa_0_0_insert_insert42$1 - (i32.or - (i32.shr_u - (get_local $$r_sroa_0_1201) - (i32.const 31) - ) - (i32.shl - (get_local $$r_sroa_1_1200) - (i32.const 1) + (drop + (call $_i64Subtract + (get_local $$137$0) + (get_local $$137$1) + (get_local $$r_sroa_0_0_insert_insert42$0) + (get_local $$r_sroa_0_0_insert_insert42$1) ) ) - ) - (drop - (call $_i64Subtract - (get_local $$137$0) - (get_local $$137$1) - (get_local $$r_sroa_0_0_insert_insert42$0) - (get_local $$r_sroa_0_0_insert_insert42$1) - ) - ) - (set_local $$150$1 - (i32.load - (i32.const 168) - ) - ) - (set_local $$151$0 - (i32.or - (i32.shr_s - (get_local $$150$1) - (i32.const 31) + (set_local $$150$1 + (i32.load + (i32.const 168) ) - (i32.shl - (if - (i32.lt_s - (get_local $$150$1) + ) + (set_local $$151$0 + (i32.or + (i32.shr_s + (get_local $$150$1) + (i32.const 31) + ) + (i32.shl + (if + (i32.lt_s + (get_local $$150$1) + (i32.const 0) + ) + (i32.const -1) (i32.const 0) ) - (i32.const -1) - (i32.const 0) + (i32.const 1) ) - (i32.const 1) ) ) - ) - (set_local $$152 - (i32.and - (get_local $$151$0) - (i32.const 1) - ) - ) - (set_local $$154$0 - (call $_i64Subtract - (get_local $$r_sroa_0_0_insert_insert42$0) - (get_local $$r_sroa_0_0_insert_insert42$1) + (set_local $$152 (i32.and (get_local $$151$0) - (get_local $$d_sroa_0_0_insert_insert99$0) + (i32.const 1) ) - (i32.and - (i32.or - (i32.shr_s - (if - (i32.lt_s - (get_local $$150$1) + ) + (set_local $$154$0 + (call $_i64Subtract + (get_local $$r_sroa_0_0_insert_insert42$0) + (get_local $$r_sroa_0_0_insert_insert42$1) + (i32.and + (get_local $$151$0) + (get_local $$d_sroa_0_0_insert_insert99$0) + ) + (i32.and + (i32.or + (i32.shr_s + (if + (i32.lt_s + (get_local $$150$1) + (i32.const 0) + ) + (i32.const -1) (i32.const 0) ) - (i32.const -1) - (i32.const 0) + (i32.const 31) ) - (i32.const 31) - ) - (i32.shl - (if - (i32.lt_s - (get_local $$150$1) + (i32.shl + (if + (i32.lt_s + (get_local $$150$1) + (i32.const 0) + ) + (i32.const -1) (i32.const 0) ) - (i32.const -1) - (i32.const 0) + (i32.const 1) ) - (i32.const 1) ) + (get_local $$d_sroa_0_0_insert_insert99$1) ) - (get_local $$d_sroa_0_0_insert_insert99$1) ) ) - ) - (set_local $$r_sroa_0_0_extract_trunc - (get_local $$154$0) - ) - (set_local $$r_sroa_1_4_extract_trunc - (i32.load - (i32.const 168) - ) - ) - (set_local $$155 - (i32.sub - (get_local $$sr_1202) - (i32.const 1) - ) - ) - (if - (i32.eq - (get_local $$155) - (i32.const 0) + (set_local $$r_sroa_0_0_extract_trunc + (get_local $$154$0) ) - (br $while-out$2) - (block - (set_local $$q_sroa_1_1198 - (get_local $$147) - ) - (set_local $$q_sroa_0_1199 - (get_local $$149) - ) - (set_local $$r_sroa_1_1200 - (get_local $$r_sroa_1_4_extract_trunc) + (set_local $$r_sroa_1_4_extract_trunc + (i32.load + (i32.const 168) ) - (set_local $$r_sroa_0_1201 - (get_local $$r_sroa_0_0_extract_trunc) + ) + (set_local $$155 + (i32.sub + (get_local $$sr_1202) + (i32.const 1) ) - (set_local $$sr_1202 + ) + (if + (i32.eq (get_local $$155) + (i32.const 0) ) - (set_local $$carry_0203 - (get_local $$152) + (br $while-out$2) + (block + (set_local $$q_sroa_1_1198 + (get_local $$147) + ) + (set_local $$q_sroa_0_1199 + (get_local $$149) + ) + (set_local $$r_sroa_1_1200 + (get_local $$r_sroa_1_4_extract_trunc) + ) + (set_local $$r_sroa_0_1201 + (get_local $$r_sroa_0_0_extract_trunc) + ) + (set_local $$sr_1202 + (get_local $$155) + ) + (set_local $$carry_0203 + (get_local $$152) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) (set_local $$q_sroa_1_1_lcssa (get_local $$147) diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c index d22a30e9c..f60b62785 100644 --- a/test/example/c-api-kitchen-sink.c +++ b/test/example/c-api-kitchen-sink.c @@ -185,9 +185,8 @@ void test_core() { BinaryenBlock(module, NULL, NULL, 0), // block with no name BinaryenIf(module, temp1, temp2, temp3), BinaryenIf(module, temp4, temp5, NULL), - BinaryenLoop(module, "out", "in", makeInt32(module, 0)), - BinaryenLoop(module, NULL, "in2", makeInt32(module, 0)), - BinaryenLoop(module, NULL, NULL, makeInt32(module, 0)), + BinaryenLoop(module, "in", makeInt32(module, 0)), + BinaryenLoop(module, NULL, makeInt32(module, 0)), BinaryenBreak(module, "the-value", temp6, temp7), BinaryenBreak(module, "the-nothing", makeInt32(module, 2), NULL), BinaryenBreak(module, "the-value", NULL, makeInt32(module, 3)), diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt index 37e7b6040..74bb0c25e 100644 --- a/test/example/c-api-kitchen-sink.txt +++ b/test/example/c-api-kitchen-sink.txt @@ -411,12 +411,7 @@ BinaryenFloat64: 4 (i32.const 5) ) (drop - (loop $out $in - (i32.const 0) - ) - ) - (drop - (loop $in2 + (loop $in (i32.const 0) ) ) @@ -1099,17 +1094,19 @@ optimized: ) ) (func $loop-tail (type $v) - (loop $block$3$break $shape$0$continue - (call_import $check - (i32.const 0) - ) - (call_import $check - (i32.const 1) - ) - (if - (i32.const 10) - (br $shape$0$continue) - (br $block$3$break) + (block $block$3$break + (loop $shape$0$continue + (call_import $check + (i32.const 0) + ) + (call_import $check + (i32.const 1) + ) + (if + (i32.const 10) + (br $shape$0$continue) + (br $block$3$break) + ) ) ) (call_import $check @@ -1121,20 +1118,22 @@ optimized: (i32.const 0) ) (block $block$7$break - (loop $block$4$break $shape$1$continue - (call_import $check - (i32.const 1) - ) - (br_if $block$7$break - (i32.const 0) - ) - (call_import $check - (i32.const 2) - ) - (if - (i32.const -6) - (br $block$4$break) - (br $shape$1$continue) + (block $block$4$break + (loop $shape$1$continue + (call_import $check + (i32.const 1) + ) + (br_if $block$7$break + (i32.const 0) + ) + (call_import $check + (i32.const 2) + ) + (if + (i32.const -6) + (br $block$4$break) + (br $shape$1$continue) + ) ) ) (call_import $check @@ -1484,86 +1483,84 @@ int main() { expressions[198] = BinaryenIf(the_module, expressions[13], expressions[14], expressions[15]); expressions[199] = BinaryenIf(the_module, expressions[16], expressions[17], expressions[0]); expressions[200] = BinaryenConst(the_module, BinaryenLiteralInt32(0)); - expressions[201] = BinaryenLoop(the_module, "out", "in", expressions[200]); + expressions[201] = BinaryenLoop(the_module, "in", expressions[200]); expressions[202] = BinaryenConst(the_module, BinaryenLiteralInt32(0)); - expressions[203] = BinaryenLoop(the_module, NULL, "in2", expressions[202]); - expressions[204] = BinaryenConst(the_module, BinaryenLiteralInt32(0)); - expressions[205] = BinaryenLoop(the_module, NULL, NULL, expressions[204]); - expressions[206] = BinaryenBreak(the_module, "the-value", expressions[18], expressions[19]); - expressions[207] = BinaryenConst(the_module, BinaryenLiteralInt32(2)); - expressions[208] = BinaryenBreak(the_module, "the-nothing", expressions[207], expressions[0]); - expressions[209] = BinaryenConst(the_module, BinaryenLiteralInt32(3)); - expressions[210] = BinaryenBreak(the_module, "the-value", expressions[0], expressions[209]); - expressions[211] = BinaryenBreak(the_module, "the-nothing", expressions[0], expressions[0]); + expressions[203] = BinaryenLoop(the_module, NULL, expressions[202]); + expressions[204] = BinaryenBreak(the_module, "the-value", expressions[18], expressions[19]); + expressions[205] = BinaryenConst(the_module, BinaryenLiteralInt32(2)); + expressions[206] = BinaryenBreak(the_module, "the-nothing", expressions[205], expressions[0]); + expressions[207] = BinaryenConst(the_module, BinaryenLiteralInt32(3)); + expressions[208] = BinaryenBreak(the_module, "the-value", expressions[0], expressions[207]); + expressions[209] = BinaryenBreak(the_module, "the-nothing", expressions[0], expressions[0]); { const char* names[] = { "the-value" }; - expressions[212] = BinaryenSwitch(the_module, names, 1, "the-value", expressions[20], expressions[21]); + expressions[210] = BinaryenSwitch(the_module, names, 1, "the-value", expressions[20], expressions[21]); } - expressions[213] = BinaryenConst(the_module, BinaryenLiteralInt32(2)); + expressions[211] = BinaryenConst(the_module, BinaryenLiteralInt32(2)); { const char* names[] = { "the-nothing" }; - expressions[214] = BinaryenSwitch(the_module, names, 1, "the-nothing", expressions[213], expressions[0]); + expressions[212] = BinaryenSwitch(the_module, names, 1, "the-nothing", expressions[211], expressions[0]); } { BinaryenExpressionRef operands[] = { expressions[9], expressions[10], expressions[11], expressions[12] }; - expressions[215] = BinaryenCall(the_module, "kitchen()sinker", operands, 4, 1); + expressions[213] = BinaryenCall(the_module, "kitchen()sinker", operands, 4, 1); } - expressions[216] = BinaryenUnary(the_module, 20, expressions[215]); + expressions[214] = BinaryenUnary(the_module, 20, expressions[213]); { BinaryenExpressionRef operands[] = { expressions[7], expressions[8] }; - expressions[217] = BinaryenCallImport(the_module, "an-imported", operands, 2, 3); + expressions[215] = BinaryenCallImport(the_module, "an-imported", operands, 2, 3); } - expressions[218] = BinaryenUnary(the_module, 25, expressions[217]); - expressions[219] = BinaryenUnary(the_module, 20, expressions[218]); - expressions[220] = BinaryenConst(the_module, BinaryenLiteralInt32(2449)); + expressions[216] = BinaryenUnary(the_module, 25, expressions[215]); + expressions[217] = BinaryenUnary(the_module, 20, expressions[216]); + expressions[218] = BinaryenConst(the_module, BinaryenLiteralInt32(2449)); { BinaryenExpressionRef operands[] = { expressions[9], expressions[10], expressions[11], expressions[12] }; - expressions[221] = BinaryenCallIndirect(the_module, expressions[220], operands, 4, "iiIfF"); - } - expressions[222] = BinaryenUnary(the_module, 20, expressions[221]); - expressions[223] = BinaryenGetLocal(the_module, 0, 1); - expressions[224] = BinaryenDrop(the_module, expressions[223]); - expressions[225] = BinaryenConst(the_module, BinaryenLiteralInt32(101)); - expressions[226] = BinaryenSetLocal(the_module, 0, expressions[225]); - expressions[227] = BinaryenConst(the_module, BinaryenLiteralInt32(102)); - expressions[228] = BinaryenTeeLocal(the_module, 0, expressions[227]); - expressions[229] = BinaryenDrop(the_module, expressions[228]); - expressions[230] = BinaryenConst(the_module, BinaryenLiteralInt32(1)); - expressions[231] = BinaryenLoad(the_module, 4, 0, 0, 0, 1, expressions[230]); - expressions[232] = BinaryenConst(the_module, BinaryenLiteralInt32(8)); - expressions[233] = BinaryenLoad(the_module, 1, 1, 2, 4, 2, expressions[232]); - expressions[234] = BinaryenConst(the_module, BinaryenLiteralInt32(2)); - expressions[235] = BinaryenLoad(the_module, 4, 0, 0, 0, 3, expressions[234]); - expressions[236] = BinaryenConst(the_module, BinaryenLiteralInt32(9)); - expressions[237] = BinaryenLoad(the_module, 8, 0, 2, 8, 4, expressions[236]); - expressions[238] = BinaryenStore(the_module, 4, 0, 0, expressions[25], expressions[26], 1); - expressions[239] = BinaryenStore(the_module, 8, 2, 4, expressions[27], expressions[28], 2); - expressions[240] = BinaryenSelect(the_module, expressions[22], expressions[23], expressions[24]); - expressions[241] = BinaryenConst(the_module, BinaryenLiteralInt32(1337)); - expressions[242] = BinaryenReturn(the_module, expressions[241]); - expressions[243] = BinaryenNop(the_module); - expressions[244] = BinaryenUnreachable(the_module); + expressions[219] = BinaryenCallIndirect(the_module, expressions[218], operands, 4, "iiIfF"); + } + expressions[220] = BinaryenUnary(the_module, 20, expressions[219]); + expressions[221] = BinaryenGetLocal(the_module, 0, 1); + expressions[222] = BinaryenDrop(the_module, expressions[221]); + expressions[223] = BinaryenConst(the_module, BinaryenLiteralInt32(101)); + expressions[224] = BinaryenSetLocal(the_module, 0, expressions[223]); + expressions[225] = BinaryenConst(the_module, BinaryenLiteralInt32(102)); + expressions[226] = BinaryenTeeLocal(the_module, 0, expressions[225]); + expressions[227] = BinaryenDrop(the_module, expressions[226]); + expressions[228] = BinaryenConst(the_module, BinaryenLiteralInt32(1)); + expressions[229] = BinaryenLoad(the_module, 4, 0, 0, 0, 1, expressions[228]); + expressions[230] = BinaryenConst(the_module, BinaryenLiteralInt32(8)); + expressions[231] = BinaryenLoad(the_module, 1, 1, 2, 4, 2, expressions[230]); + expressions[232] = BinaryenConst(the_module, BinaryenLiteralInt32(2)); + expressions[233] = BinaryenLoad(the_module, 4, 0, 0, 0, 3, expressions[232]); + expressions[234] = BinaryenConst(the_module, BinaryenLiteralInt32(9)); + expressions[235] = BinaryenLoad(the_module, 8, 0, 2, 8, 4, expressions[234]); + expressions[236] = BinaryenStore(the_module, 4, 0, 0, expressions[25], expressions[26], 1); + expressions[237] = BinaryenStore(the_module, 8, 2, 4, expressions[27], expressions[28], 2); + expressions[238] = BinaryenSelect(the_module, expressions[22], expressions[23], expressions[24]); + expressions[239] = BinaryenConst(the_module, BinaryenLiteralInt32(1337)); + expressions[240] = BinaryenReturn(the_module, expressions[239]); + expressions[241] = BinaryenNop(the_module); + expressions[242] = BinaryenUnreachable(the_module); BinaryenExpressionPrint(expressions[36]); (f32.neg (f32.const -33.61199951171875) ) { - BinaryenExpressionRef children[] = { expressions[30], expressions[32], expressions[34], expressions[36], expressions[38], expressions[40], expressions[42], expressions[44], expressions[46], expressions[48], expressions[50], expressions[52], expressions[54], expressions[56], expressions[58], expressions[60], expressions[62], expressions[64], expressions[66], expressions[68], expressions[70], expressions[72], expressions[74], expressions[76], expressions[78], expressions[80], expressions[82], expressions[84], expressions[86], expressions[88], expressions[90], expressions[92], expressions[94], expressions[96], expressions[98], expressions[100], expressions[103], expressions[106], expressions[109], expressions[112], expressions[115], expressions[118], expressions[121], expressions[124], expressions[127], expressions[130], expressions[133], expressions[136], expressions[139], expressions[142], expressions[145], expressions[148], expressions[151], expressions[154], expressions[157], expressions[160], expressions[163], expressions[166], expressions[169], expressions[172], expressions[175], expressions[178], expressions[181], expressions[184], expressions[187], expressions[190], expressions[193], expressions[196], expressions[197], expressions[198], expressions[199], expressions[201], expressions[203], expressions[205], expressions[206], expressions[208], expressions[210], expressions[211], expressions[212], expressions[214], expressions[216], expressions[219], expressions[222], expressions[224], expressions[226], expressions[229], expressions[231], expressions[233], expressions[235], expressions[237], expressions[238], expressions[239], expressions[240], expressions[242], expressions[243], expressions[244] }; - expressions[245] = BinaryenBlock(the_module, "the-value", children, 96); + BinaryenExpressionRef children[] = { expressions[30], expressions[32], expressions[34], expressions[36], expressions[38], expressions[40], expressions[42], expressions[44], expressions[46], expressions[48], expressions[50], expressions[52], expressions[54], expressions[56], expressions[58], expressions[60], expressions[62], expressions[64], expressions[66], expressions[68], expressions[70], expressions[72], expressions[74], expressions[76], expressions[78], expressions[80], expressions[82], expressions[84], expressions[86], expressions[88], expressions[90], expressions[92], expressions[94], expressions[96], expressions[98], expressions[100], expressions[103], expressions[106], expressions[109], expressions[112], expressions[115], expressions[118], expressions[121], expressions[124], expressions[127], expressions[130], expressions[133], expressions[136], expressions[139], expressions[142], expressions[145], expressions[148], expressions[151], expressions[154], expressions[157], expressions[160], expressions[163], expressions[166], expressions[169], expressions[172], expressions[175], expressions[178], expressions[181], expressions[184], expressions[187], expressions[190], expressions[193], expressions[196], expressions[197], expressions[198], expressions[199], expressions[201], expressions[203], expressions[204], expressions[206], expressions[208], expressions[209], expressions[210], expressions[212], expressions[214], expressions[217], expressions[220], expressions[222], expressions[224], expressions[227], expressions[229], expressions[231], expressions[233], expressions[235], expressions[236], expressions[237], expressions[238], expressions[240], expressions[241], expressions[242] }; + expressions[243] = BinaryenBlock(the_module, "the-value", children, 95); } - expressions[246] = BinaryenDrop(the_module, expressions[245]); + expressions[244] = BinaryenDrop(the_module, expressions[243]); { - BinaryenExpressionRef children[] = { expressions[246] }; - expressions[247] = BinaryenBlock(the_module, "the-nothing", children, 1); + BinaryenExpressionRef children[] = { expressions[244] }; + expressions[245] = BinaryenBlock(the_module, "the-nothing", children, 1); } - expressions[248] = BinaryenConst(the_module, BinaryenLiteralInt32(42)); + expressions[246] = BinaryenConst(the_module, BinaryenLiteralInt32(42)); { - BinaryenExpressionRef children[] = { expressions[247], expressions[248] }; - expressions[249] = BinaryenBlock(the_module, "the-body", children, 2); + BinaryenExpressionRef children[] = { expressions[245], expressions[246] }; + expressions[247] = BinaryenBlock(the_module, "the-body", children, 2); } { BinaryenType varTypes[] = { 1 }; - functions[0] = BinaryenAddFunction(the_module, "kitchen()sinker", functionTypes[0], varTypes, 1, expressions[249]); + functions[0] = BinaryenAddFunction(the_module, "kitchen()sinker", functionTypes[0], varTypes, 1, expressions[247]); } { BinaryenIndex paramTypes[] = { 1, 4 }; @@ -2005,12 +2002,7 @@ int main() { (i32.const 5) ) (drop - (loop $out $in - (i32.const 0) - ) - ) - (drop - (loop $in2 + (loop $in (i32.const 0) ) ) @@ -3157,17 +3149,19 @@ optimized: ) ) (func $loop-tail (type $v) - (loop $block$3$break $shape$0$continue - (call_import $check - (i32.const 0) - ) - (call_import $check - (i32.const 1) - ) - (if - (i32.const 10) - (br $shape$0$continue) - (br $block$3$break) + (block $block$3$break + (loop $shape$0$continue + (call_import $check + (i32.const 0) + ) + (call_import $check + (i32.const 1) + ) + (if + (i32.const 10) + (br $shape$0$continue) + (br $block$3$break) + ) ) ) (call_import $check @@ -3179,20 +3173,22 @@ optimized: (i32.const 0) ) (block $block$7$break - (loop $block$4$break $shape$1$continue - (call_import $check - (i32.const 1) - ) - (br_if $block$7$break - (i32.const 0) - ) - (call_import $check - (i32.const 2) - ) - (if - (i32.const -6) - (br $block$4$break) - (br $shape$1$continue) + (block $block$4$break + (loop $shape$1$continue + (call_import $check + (i32.const 1) + ) + (br_if $block$7$break + (i32.const 0) + ) + (call_import $check + (i32.const 2) + ) + (if + (i32.const -6) + (br $block$4$break) + (br $shape$1$continue) + ) ) ) (call_import $check diff --git a/test/example/c-api-kitchen-sink.txt.txt b/test/example/c-api-kitchen-sink.txt.txt index 29b242c2f..a572b8de8 100644 --- a/test/example/c-api-kitchen-sink.txt.txt +++ b/test/example/c-api-kitchen-sink.txt.txt @@ -406,12 +406,7 @@ (i32.const 5) ) (drop - (loop $out $in - (i32.const 0) - ) - ) - (drop - (loop $in2 + (loop $in (i32.const 0) ) ) @@ -1092,17 +1087,19 @@ ) ) (func $loop-tail (type $v) - (loop $block$3$break $shape$0$continue - (call_import $check - (i32.const 0) - ) - (call_import $check - (i32.const 1) - ) - (if - (i32.const 10) - (br $shape$0$continue) - (br $block$3$break) + (block $block$3$break + (loop $shape$0$continue + (call_import $check + (i32.const 0) + ) + (call_import $check + (i32.const 1) + ) + (if + (i32.const 10) + (br $shape$0$continue) + (br $block$3$break) + ) ) ) (call_import $check @@ -1114,20 +1111,22 @@ (i32.const 0) ) (block $block$7$break - (loop $block$4$break $shape$1$continue - (call_import $check - (i32.const 1) - ) - (br_if $block$7$break - (i32.const 0) - ) - (call_import $check - (i32.const 2) - ) - (if - (i32.const -6) - (br $block$4$break) - (br $shape$1$continue) + (block $block$4$break + (loop $shape$1$continue + (call_import $check + (i32.const 1) + ) + (br_if $block$7$break + (i32.const 0) + ) + (call_import $check + (i32.const 2) + ) + (if + (i32.const -6) + (br $block$4$break) + (br $shape$1$continue) + ) ) ) (call_import $check diff --git a/test/memorygrowth.fromasm b/test/memorygrowth.fromasm index 4b5409dcb..2f3294438 100644 --- a/test/memorygrowth.fromasm +++ b/test/memorygrowth.fromasm @@ -784,70 +784,72 @@ (set_local $3 (get_local $25) ) - (loop $while-out$23 $while-in$24 - (if - (tee_local $25 - (i32.load offset=16 - (get_local $12) - ) - ) - (set_local $0 - (get_local $25) - ) + (loop $while-in$24 + (block $while-out$23 (if - (tee_local $16 - (i32.load offset=20 + (tee_local $25 + (i32.load offset=16 (get_local $12) ) ) (set_local $0 - (get_local $16) + (get_local $25) ) - (block - (set_local $32 - (get_local $2) + (if + (tee_local $16 + (i32.load offset=20 + (get_local $12) + ) ) - (set_local $26 - (get_local $3) + (set_local $0 + (get_local $16) + ) + (block + (set_local $32 + (get_local $2) + ) + (set_local $26 + (get_local $3) + ) + (br $while-out$23) ) - (br $while-out$23) ) ) - ) - (set_local $16 - (i32.lt_u - (tee_local $25 - (i32.sub - (i32.and - (i32.load offset=4 - (get_local $0) + (set_local $16 + (i32.lt_u + (tee_local $25 + (i32.sub + (i32.and + (i32.load offset=4 + (get_local $0) + ) + (i32.const -8) ) - (i32.const -8) + (get_local $14) ) - (get_local $14) ) + (get_local $2) ) - (get_local $2) ) - ) - (set_local $2 - (select - (get_local $25) - (get_local $2) - (get_local $16) + (set_local $2 + (select + (get_local $25) + (get_local $2) + (get_local $16) + ) ) - ) - (set_local $12 - (get_local $0) - ) - (set_local $3 - (select + (set_local $12 (get_local $0) - (get_local $3) - (get_local $16) ) + (set_local $3 + (select + (get_local $0) + (get_local $3) + (get_local $16) + ) + ) + (br $while-in$24) ) - (br $while-in$24) ) (if (i32.lt_u @@ -934,50 +936,52 @@ ) ) ) - (loop $while-out$27 $while-in$28 - (if - (tee_local $7 - (i32.load - (tee_local $8 - (i32.add - (get_local $11) - (i32.const 20) + (loop $while-in$28 + (block $while-out$27 + (if + (tee_local $7 + (i32.load + (tee_local $8 + (i32.add + (get_local $11) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $11 - (get_local $7) - ) - (set_local $0 - (get_local $8) + (block + (set_local $11 + (get_local $7) + ) + (set_local $0 + (get_local $8) + ) + (br $while-in$28) ) - (br $while-in$28) ) - ) - (if - (tee_local $7 - (i32.load - (tee_local $8 - (i32.add - (get_local $11) - (i32.const 16) + (if + (tee_local $7 + (i32.load + (tee_local $8 + (i32.add + (get_local $11) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $11 - (get_local $7) - ) - (set_local $0 - (get_local $8) + (block + (set_local $11 + (get_local $7) + ) + (set_local $0 + (get_local $8) + ) ) + (br $while-out$27) ) - (br $while-out$27) + (br $while-in$28) ) - (br $while-in$28) ) (if (i32.lt_u @@ -1579,145 +1583,147 @@ (set_local $5 (i32.const 0) ) - (loop $while-out$3 $while-in$4 - (if - (i32.lt_u - (tee_local $29 - (i32.sub - (tee_local $27 - (i32.and - (i32.load offset=4 - (get_local $19) + (loop $while-in$4 + (block $while-out$3 + (if + (i32.lt_u + (tee_local $29 + (i32.sub + (tee_local $27 + (i32.and + (i32.load offset=4 + (get_local $19) + ) + (i32.const -8) ) - (i32.const -8) ) + (get_local $2) ) - (get_local $2) ) + (get_local $7) ) - (get_local $7) - ) - (if - (i32.eq - (get_local $27) - (get_local $2) - ) - (block - (set_local $36 - (get_local $29) - ) - (set_local $18 - (get_local $19) + (if + (i32.eq + (get_local $27) + (get_local $2) ) - (set_local $17 - (get_local $19) + (block + (set_local $36 + (get_local $29) + ) + (set_local $18 + (get_local $19) + ) + (set_local $17 + (get_local $19) + ) + (set_local $7 + (i32.const 90) + ) + (br $label$break$a) ) - (set_local $7 - (i32.const 90) + (block + (set_local $4 + (get_local $29) + ) + (set_local $0 + (get_local $19) + ) ) - (br $label$break$a) ) (block (set_local $4 - (get_local $29) + (get_local $7) ) (set_local $0 - (get_local $19) + (get_local $5) ) ) ) - (block - (set_local $4 - (get_local $7) - ) - (set_local $0 - (get_local $5) + (set_local $27 + (select + (get_local $25) + (tee_local $29 + (i32.load offset=20 + (get_local $19) + ) + ) + (i32.or + (i32.eq + (get_local $29) + (i32.const 0) + ) + (i32.eq + (get_local $29) + (tee_local $19 + (i32.load + (i32.add + (i32.add + (get_local $19) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + (i32.const 2) + ) + ) + ) + ) + ) + ) ) ) - ) - (set_local $27 - (select - (get_local $25) + (if (tee_local $29 - (i32.load offset=20 + (i32.eq (get_local $19) + (i32.const 0) ) ) - (i32.or - (i32.eq - (get_local $29) - (i32.const 0) + (block + (set_local $40 + (get_local $4) ) - (i32.eq - (get_local $29) - (tee_local $19 - (i32.load - (i32.add - (i32.add - (get_local $19) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $3) - (i32.const 31) - ) - (i32.const 2) - ) + (set_local $12 + (get_local $27) + ) + (set_local $38 + (get_local $0) + ) + (set_local $7 + (i32.const 86) + ) + (br $while-out$3) + ) + (block + (set_local $7 + (get_local $4) + ) + (set_local $25 + (get_local $27) + ) + (set_local $3 + (i32.shl + (get_local $3) + (i32.xor + (i32.and + (get_local $29) + (i32.const 1) ) + (i32.const 1) ) ) ) + (set_local $5 + (get_local $0) + ) ) ) + (br $while-in$4) ) - (if - (tee_local $29 - (i32.eq - (get_local $19) - (i32.const 0) - ) - ) - (block - (set_local $40 - (get_local $4) - ) - (set_local $12 - (get_local $27) - ) - (set_local $38 - (get_local $0) - ) - (set_local $7 - (i32.const 86) - ) - (br $while-out$3) - ) - (block - (set_local $7 - (get_local $4) - ) - (set_local $25 - (get_local $27) - ) - (set_local $3 - (i32.shl - (get_local $3) - (i32.xor - (i32.and - (get_local $29) - (i32.const 1) - ) - (i32.const 1) - ) - ) - ) - (set_local $5 - (get_local $0) - ) - ) - ) - (br $while-in$4) ) ) (block @@ -1914,84 +1920,86 @@ (get_local $7) (i32.const 90) ) - (loop $while-out$5 $while-in$6 - (set_local $7 - (i32.const 0) - ) - (set_local $3 - (i32.lt_u - (tee_local $5 - (i32.sub - (i32.and - (i32.load offset=4 - (get_local $18) + (loop $while-in$6 + (block $while-out$5 + (set_local $7 + (i32.const 0) + ) + (set_local $3 + (i32.lt_u + (tee_local $5 + (i32.sub + (i32.and + (i32.load offset=4 + (get_local $18) + ) + (i32.const -8) ) - (i32.const -8) + (get_local $2) ) - (get_local $2) ) - ) - (get_local $36) - ) - ) - (set_local $12 - (select - (get_local $5) - (get_local $36) - (get_local $3) - ) - ) - (set_local $5 - (select - (get_local $18) - (get_local $17) - (get_local $3) - ) - ) - (if - (tee_local $3 - (i32.load offset=16 - (get_local $18) + (get_local $36) ) ) - (block - (set_local $36 - (get_local $12) - ) - (set_local $18 - (get_local $3) - ) - (set_local $17 + (set_local $12 + (select (get_local $5) + (get_local $36) + (get_local $3) ) - (br $while-in$6) ) - ) - (if - (tee_local $18 - (i32.load offset=20 + (set_local $5 + (select (get_local $18) + (get_local $17) + (get_local $3) ) ) - (block - (set_local $36 - (get_local $12) + (if + (tee_local $3 + (i32.load offset=16 + (get_local $18) + ) ) - (set_local $17 - (get_local $5) + (block + (set_local $36 + (get_local $12) + ) + (set_local $18 + (get_local $3) + ) + (set_local $17 + (get_local $5) + ) + (br $while-in$6) ) ) - (block - (set_local $22 - (get_local $12) + (if + (tee_local $18 + (i32.load offset=20 + (get_local $18) + ) ) - (set_local $9 - (get_local $5) + (block + (set_local $36 + (get_local $12) + ) + (set_local $17 + (get_local $5) + ) + ) + (block + (set_local $22 + (get_local $12) + ) + (set_local $9 + (get_local $5) + ) + (br $while-out$5) ) - (br $while-out$5) ) + (br $while-in$6) ) - (br $while-in$6) ) ) (if @@ -2087,50 +2095,52 @@ ) ) ) - (loop $while-out$9 $while-in$10 - (if - (tee_local $16 - (i32.load - (tee_local $14 - (i32.add - (get_local $11) - (i32.const 20) + (loop $while-in$10 + (block $while-out$9 + (if + (tee_local $16 + (i32.load + (tee_local $14 + (i32.add + (get_local $11) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $11 - (get_local $16) - ) - (set_local $0 - (get_local $14) + (block + (set_local $11 + (get_local $16) + ) + (set_local $0 + (get_local $14) + ) + (br $while-in$10) ) - (br $while-in$10) ) - ) - (if - (tee_local $16 - (i32.load - (tee_local $14 - (i32.add - (get_local $11) - (i32.const 16) + (if + (tee_local $16 + (i32.load + (tee_local $14 + (i32.add + (get_local $11) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $11 - (get_local $16) - ) - (set_local $0 - (get_local $14) + (block + (set_local $11 + (get_local $16) + ) + (set_local $0 + (get_local $14) + ) ) + (br $while-out$9) ) - (br $while-out$9) + (br $while-in$10) ) - (br $while-in$10) ) (if (i32.lt_u @@ -2713,72 +2723,74 @@ (get_local $0) ) ) - (loop $while-out$17 $while-in$18 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $14) + (loop $while-in$18 + (block $while-out$17 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $14) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $22) - ) - (block - (set_local $21 - (get_local $14) + (get_local $22) ) - (set_local $7 - (i32.const 148) + (block + (set_local $21 + (get_local $14) + ) + (set_local $7 + (i32.const 148) + ) + (br $while-out$17) ) - (br $while-out$17) ) - ) - (if - (tee_local $3 - (i32.load - (tee_local $0 - (i32.add + (if + (tee_local $3 + (i32.load + (tee_local $0 (i32.add - (get_local $14) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $8) - (i32.const 31) + (i32.add + (get_local $14) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $8) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $8 - (i32.shl - (get_local $8) - (i32.const 1) + (block + (set_local $8 + (i32.shl + (get_local $8) + (i32.const 1) + ) + ) + (set_local $14 + (get_local $3) ) ) - (set_local $14 - (get_local $3) - ) - ) - (block - (set_local $6 - (get_local $0) - ) - (set_local $24 - (get_local $14) - ) - (set_local $7 - (i32.const 145) + (block + (set_local $6 + (get_local $0) + ) + (set_local $24 + (get_local $14) + ) + (set_local $7 + (i32.const 145) + ) + (br $while-out$17) ) - (br $while-out$17) ) + (br $while-in$18) ) - (br $while-in$18) ) (if (i32.eq @@ -3219,58 +3231,60 @@ (set_local $13 (i32.const 1656) ) - (loop $while-out$35 $while-in$36 - (if - (i32.le_u - (tee_local $20 - (i32.load - (get_local $13) - ) - ) - (get_local $22) - ) + (loop $while-in$36 + (block $while-out$35 (if - (i32.gt_u - (i32.add - (get_local $20) + (i32.le_u + (tee_local $20 (i32.load - (tee_local $23 - (i32.add - (get_local $13) - (i32.const 4) - ) - ) + (get_local $13) ) ) (get_local $22) ) - (block - (set_local $0 - (get_local $13) - ) - (set_local $17 - (get_local $23) - ) - (br $while-out$35) - ) - ) - ) - (if - (i32.eqz - (tee_local $13 - (i32.load offset=8 - (get_local $13) + (if + (i32.gt_u + (i32.add + (get_local $20) + (i32.load + (tee_local $23 + (i32.add + (get_local $13) + (i32.const 4) + ) + ) + ) + ) + (get_local $22) + ) + (block + (set_local $0 + (get_local $13) + ) + (set_local $17 + (get_local $23) + ) + (br $while-out$35) ) ) ) - (block - (set_local $7 - (i32.const 171) + (if + (i32.eqz + (tee_local $13 + (i32.load offset=8 + (get_local $13) + ) + ) + ) + (block + (set_local $7 + (i32.const 171) + ) + (br $label$break$c) ) - (br $label$break$c) ) + (br $while-in$36) ) - (br $while-in$36) ) (if (i32.lt_u @@ -3687,55 +3701,57 @@ (set_local $1 (i32.const 1656) ) - (loop $do-out$44 $do-in$45 - (if - (i32.eq - (get_local $28) - (i32.add - (tee_local $4 - (i32.load - (get_local $1) + (loop $do-in$45 + (block $do-out$44 + (if + (i32.eq + (get_local $28) + (i32.add + (tee_local $4 + (i32.load + (get_local $1) + ) ) - ) - (tee_local $21 - (i32.load - (tee_local $15 - (i32.add - (get_local $1) - (i32.const 4) + (tee_local $21 + (i32.load + (tee_local $15 + (i32.add + (get_local $1) + (i32.const 4) + ) ) ) ) ) ) - ) - (block - (set_local $50 - (get_local $4) - ) - (set_local $51 - (get_local $15) - ) - (set_local $52 - (get_local $21) - ) - (set_local $35 - (get_local $1) - ) - (set_local $7 - (i32.const 201) + (block + (set_local $50 + (get_local $4) + ) + (set_local $51 + (get_local $15) + ) + (set_local $52 + (get_local $21) + ) + (set_local $35 + (get_local $1) + ) + (set_local $7 + (i32.const 201) + ) + (br $do-out$44) ) - (br $do-out$44) ) - ) - (br_if $do-in$45 - (i32.ne - (tee_local $1 - (i32.load offset=8 - (get_local $1) + (br_if $do-in$45 + (i32.ne + (tee_local $1 + (i32.load offset=8 + (get_local $1) + ) ) + (i32.const 0) ) - (i32.const 0) ) ) ) @@ -3874,43 +3890,45 @@ (set_local $1 (i32.const 1656) ) - (loop $while-out$46 $while-in$47 - (if - (i32.eq - (i32.load - (get_local $1) - ) - (get_local $15) - ) - (block - (set_local $53 - (get_local $1) - ) - (set_local $45 - (get_local $1) - ) - (set_local $7 - (i32.const 209) + (loop $while-in$47 + (block $while-out$46 + (if + (i32.eq + (i32.load + (get_local $1) + ) + (get_local $15) ) - (br $while-out$46) - ) - ) - (if - (i32.eqz - (tee_local $1 - (i32.load offset=8 + (block + (set_local $53 + (get_local $1) + ) + (set_local $45 (get_local $1) ) + (set_local $7 + (i32.const 209) + ) + (br $while-out$46) ) ) - (block - (set_local $37 - (i32.const 1656) + (if + (i32.eqz + (tee_local $1 + (i32.load offset=8 + (get_local $1) + ) + ) + ) + (block + (set_local $37 + (i32.const 1656) + ) + (br $while-out$46) ) - (br $while-out$46) ) + (br $while-in$47) ) - (br $while-in$47) ) (if (i32.eq @@ -4313,50 +4331,52 @@ ) ) ) - (loop $while-out$53 $while-in$54 - (if - (tee_local $20 - (i32.load - (tee_local $13 - (i32.add - (get_local $11) - (i32.const 20) + (loop $while-in$54 + (block $while-out$53 + (if + (tee_local $20 + (i32.load + (tee_local $13 + (i32.add + (get_local $11) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $11 - (get_local $20) - ) - (set_local $0 - (get_local $13) + (block + (set_local $11 + (get_local $20) + ) + (set_local $0 + (get_local $13) + ) + (br $while-in$54) ) - (br $while-in$54) ) - ) - (if - (tee_local $20 - (i32.load - (tee_local $13 - (i32.add - (get_local $11) - (i32.const 16) + (if + (tee_local $20 + (i32.load + (tee_local $13 + (i32.add + (get_local $11) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $11 - (get_local $20) - ) - (set_local $0 - (get_local $13) + (block + (set_local $11 + (get_local $20) + ) + (set_local $0 + (get_local $13) + ) ) + (br $while-out$53) ) - (br $while-out$53) + (br $while-in$54) ) - (br $while-in$54) ) (if (i32.lt_u @@ -4937,72 +4957,74 @@ (get_local $2) ) ) - (loop $while-out$67 $while-in$68 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $6) + (loop $while-in$68 + (block $while-out$67 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $6) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $11) - ) - (block - (set_local $42 - (get_local $6) + (get_local $11) ) - (set_local $7 - (i32.const 279) + (block + (set_local $42 + (get_local $6) + ) + (set_local $7 + (i32.const 279) + ) + (br $while-out$67) ) - (br $while-out$67) ) - ) - (if - (tee_local $17 - (i32.load - (tee_local $2 - (i32.add + (if + (tee_local $17 + (i32.load + (tee_local $2 (i32.add - (get_local $6) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $13) - (i32.const 31) + (i32.add + (get_local $6) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $13) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $13 - (i32.shl - (get_local $13) - (i32.const 1) + (block + (set_local $13 + (i32.shl + (get_local $13) + (i32.const 1) + ) + ) + (set_local $6 + (get_local $17) ) ) - (set_local $6 - (get_local $17) - ) - ) - (block - (set_local $48 - (get_local $2) - ) - (set_local $54 - (get_local $6) - ) - (set_local $7 - (i32.const 276) + (block + (set_local $48 + (get_local $2) + ) + (set_local $54 + (get_local $6) + ) + (set_local $7 + (i32.const 276) + ) + (br $while-out$67) ) - (br $while-out$67) ) + (br $while-in$68) ) - (br $while-in$68) ) (if (i32.eq @@ -5107,42 +5129,44 @@ ) ) ) - (loop $while-out$69 $while-in$70 - (if - (i32.le_u - (tee_local $1 - (i32.load - (get_local $37) - ) - ) - (get_local $10) - ) + (loop $while-in$70 + (block $while-out$69 (if - (i32.gt_u - (tee_local $24 - (i32.add - (get_local $1) - (i32.load offset=4 - (get_local $37) - ) + (i32.le_u + (tee_local $1 + (i32.load + (get_local $37) ) ) (get_local $10) ) - (block - (set_local $0 - (get_local $24) + (if + (i32.gt_u + (tee_local $24 + (i32.add + (get_local $1) + (i32.load offset=4 + (get_local $37) + ) + ) + ) + (get_local $10) + ) + (block + (set_local $0 + (get_local $24) + ) + (br $while-out$69) ) - (br $while-out$69) ) ) - ) - (set_local $37 - (i32.load offset=8 - (get_local $37) + (set_local $37 + (i32.load offset=8 + (get_local $37) + ) ) + (br $while-in$70) ) - (br $while-in$70) ) (set_local $24 (i32.add @@ -5652,72 +5676,74 @@ (get_local $2) ) ) - (loop $while-out$73 $while-in$74 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $17) + (loop $while-in$74 + (block $while-out$73 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $17) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $1) - ) - (block - (set_local $32 - (get_local $17) + (get_local $1) ) - (set_local $7 - (i32.const 305) + (block + (set_local $32 + (get_local $17) + ) + (set_local $7 + (i32.const 305) + ) + (br $while-out$73) ) - (br $while-out$73) ) - ) - (if - (tee_local $6 - (i32.load - (tee_local $2 - (i32.add + (if + (tee_local $6 + (i32.load + (tee_local $2 (i32.add - (get_local $17) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $4) - (i32.const 31) + (i32.add + (get_local $17) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $4) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $4 - (i32.shl - (get_local $4) - (i32.const 1) + (block + (set_local $4 + (i32.shl + (get_local $4) + (i32.const 1) + ) + ) + (set_local $17 + (get_local $6) ) ) - (set_local $17 - (get_local $6) - ) - ) - (block - (set_local $26 - (get_local $2) - ) - (set_local $11 - (get_local $17) - ) - (set_local $7 - (i32.const 302) + (block + (set_local $26 + (get_local $2) + ) + (set_local $11 + (get_local $17) + ) + (set_local $7 + (i32.const 302) + ) + (br $while-out$73) ) - (br $while-out$73) ) + (br $while-in$74) ) - (br $while-in$74) ) (if (i32.eq @@ -6403,58 +6429,60 @@ ) ) ) - (loop $while-out$4 $while-in$5 - (if - (tee_local $11 - (i32.load - (tee_local $6 - (i32.add - (get_local $1) - (i32.const 20) + (loop $while-in$5 + (block $while-out$4 + (if + (tee_local $11 + (i32.load + (tee_local $6 + (i32.add + (get_local $1) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $1 - (get_local $11) - ) - (set_local $4 - (get_local $6) + (block + (set_local $1 + (get_local $11) + ) + (set_local $4 + (get_local $6) + ) + (br $while-in$5) ) - (br $while-in$5) ) - ) - (if - (tee_local $11 - (i32.load - (tee_local $6 - (i32.add - (get_local $1) - (i32.const 16) + (if + (tee_local $11 + (i32.load + (tee_local $6 + (i32.add + (get_local $1) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $1 - (get_local $11) - ) - (set_local $4 - (get_local $6) - ) - ) - (block - (set_local $6 - (get_local $1) + (block + (set_local $1 + (get_local $11) + ) + (set_local $4 + (get_local $6) + ) ) - (set_local $10 - (get_local $4) + (block + (set_local $6 + (get_local $1) + ) + (set_local $10 + (get_local $4) + ) + (br $while-out$4) ) - (br $while-out$4) ) + (br $while-in$5) ) - (br $while-in$5) ) (if (i32.lt_u @@ -7075,50 +7103,52 @@ ) ) ) - (loop $while-out$12 $while-in$13 - (if - (tee_local $11 - (i32.load - (tee_local $1 - (i32.add - (get_local $0) - (i32.const 20) + (loop $while-in$13 + (block $while-out$12 + (if + (tee_local $11 + (i32.load + (tee_local $1 + (i32.add + (get_local $0) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $0 - (get_local $11) - ) - (set_local $4 - (get_local $1) + (block + (set_local $0 + (get_local $11) + ) + (set_local $4 + (get_local $1) + ) + (br $while-in$13) ) - (br $while-in$13) ) - ) - (if - (tee_local $11 - (i32.load - (tee_local $1 - (i32.add - (get_local $0) - (i32.const 16) + (if + (tee_local $11 + (i32.load + (tee_local $1 + (i32.add + (get_local $0) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $0 - (get_local $11) - ) - (set_local $4 - (get_local $1) + (block + (set_local $0 + (get_local $11) + ) + (set_local $4 + (get_local $1) + ) ) + (br $while-out$12) ) - (br $while-out$12) + (br $while-in$13) ) - (br $while-in$13) ) (if (i32.lt_u @@ -7653,72 +7683,74 @@ (get_local $3) ) ) - (loop $while-out$18 $while-in$19 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $1) + (loop $while-in$19 + (block $while-out$18 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $1) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $0) - ) - (block - (set_local $16 - (get_local $1) + (get_local $0) ) - (set_local $0 - (i32.const 130) + (block + (set_local $16 + (get_local $1) + ) + (set_local $0 + (i32.const 130) + ) + (br $while-out$18) ) - (br $while-out$18) ) - ) - (if - (tee_local $12 - (i32.load - (tee_local $8 - (i32.add + (if + (tee_local $12 + (i32.load + (tee_local $8 (i32.add - (get_local $1) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $13) - (i32.const 31) + (i32.add + (get_local $1) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $13) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $13 - (i32.shl - (get_local $13) - (i32.const 1) + (block + (set_local $13 + (i32.shl + (get_local $13) + (i32.const 1) + ) + ) + (set_local $1 + (get_local $12) ) ) - (set_local $1 - (get_local $12) - ) - ) - (block - (set_local $18 - (get_local $8) - ) - (set_local $19 - (get_local $1) - ) - (set_local $0 - (i32.const 127) + (block + (set_local $18 + (get_local $8) + ) + (set_local $19 + (get_local $1) + ) + (set_local $0 + (i32.const 127) + ) + (br $while-out$18) ) - (br $while-out$18) ) + (br $while-in$19) ) - (br $while-in$19) ) (if (i32.eq @@ -7852,22 +7884,24 @@ (i32.const 1664) ) ) - (loop $while-out$20 $while-in$21 - (if - (tee_local $2 - (i32.load - (get_local $0) + (loop $while-in$21 + (block $while-out$20 + (if + (tee_local $2 + (i32.load + (get_local $0) + ) ) - ) - (set_local $0 - (i32.add - (get_local $2) - (i32.const 8) + (set_local $0 + (i32.add + (get_local $2) + (i32.const 8) + ) ) + (br $while-out$20) ) - (br $while-out$20) + (br $while-in$21) ) - (br $while-in$21) ) (i32.store (i32.const 1240) @@ -7980,209 +8014,211 @@ (get_local $2) ) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eq - (get_local $5) - (tee_local $6 - (if - (i32.load - (i32.const 1160) - ) - (block - (call_import $ra - (i32.const 1) - (get_local $0) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eq + (get_local $5) + (tee_local $6 + (if + (i32.load + (i32.const 1160) ) - (i32.store - (get_local $13) - (i32.load - (get_local $1) + (block + (call_import $ra + (i32.const 1) + (get_local $0) ) - ) - (i32.store offset=4 - (get_local $13) - (get_local $4) - ) - (i32.store offset=8 - (get_local $13) - (get_local $3) - ) - (set_local $10 - (call $Pa - (call_import $ya - (i32.const 146) - (get_local $13) + (i32.store + (get_local $13) + (i32.load + (get_local $1) ) ) - ) - (call_import $oa - (i32.const 0) - ) - (get_local $10) - ) - (block - (i32.store - (get_local $12) - (i32.load - (get_local $1) + (i32.store offset=4 + (get_local $13) + (get_local $4) ) + (i32.store offset=8 + (get_local $13) + (get_local $3) + ) + (set_local $10 + (call $Pa + (call_import $ya + (i32.const 146) + (get_local $13) + ) + ) + ) + (call_import $oa + (i32.const 0) + ) + (get_local $10) ) - (i32.store offset=4 - (get_local $12) - (get_local $4) - ) - (i32.store offset=8 - (get_local $12) - (get_local $3) - ) - (call $Pa - (call_import $ya - (i32.const 146) + (block + (i32.store (get_local $12) + (i32.load + (get_local $1) + ) + ) + (i32.store offset=4 + (get_local $12) + (get_local $4) + ) + (i32.store offset=8 + (get_local $12) + (get_local $3) + ) + (call $Pa + (call_import $ya + (i32.const 146) + (get_local $12) + ) ) ) ) ) ) - ) - (block - (set_local $1 - (i32.const 6) - ) - (br $while-out$0) - ) - ) - (if - (i32.lt_s - (get_local $6) - (i32.const 0) - ) - (block - (set_local $17 - (get_local $4) - ) - (set_local $18 - (get_local $3) - ) - (set_local $1 - (i32.const 8) + (block + (set_local $1 + (i32.const 6) + ) + (br $while-out$0) ) - (br $while-out$0) ) - ) - (set_local $10 - (i32.sub - (get_local $5) - (get_local $6) - ) - ) - (set_local $3 (if - (i32.gt_u + (i32.lt_s (get_local $6) - (tee_local $5 - (i32.load offset=4 - (get_local $4) - ) - ) + (i32.const 0) ) (block - (i32.store - (get_local $9) - (tee_local $7 - (i32.load - (get_local $8) - ) - ) - ) - (i32.store - (get_local $14) - (get_local $7) - ) - (set_local $6 - (i32.sub - (get_local $6) - (get_local $5) - ) - ) - (set_local $7 - (i32.add - (get_local $4) - (i32.const 8) - ) + (set_local $17 + (get_local $4) ) - (set_local $15 - (i32.add - (get_local $3) - (i32.const -1) - ) + (set_local $18 + (get_local $3) ) - (i32.load offset=12 - (get_local $4) + (set_local $1 + (i32.const 8) ) + (br $while-out$0) + ) + ) + (set_local $10 + (i32.sub + (get_local $5) + (get_local $6) ) + ) + (set_local $3 (if - (i32.eq - (get_local $3) - (i32.const 2) + (i32.gt_u + (get_local $6) + (tee_local $5 + (i32.load offset=4 + (get_local $4) + ) + ) ) (block (i32.store (get_local $9) - (i32.add + (tee_local $7 (i32.load - (get_local $9) + (get_local $8) ) + ) + ) + (i32.store + (get_local $14) + (get_local $7) + ) + (set_local $6 + (i32.sub (get_local $6) + (get_local $5) ) ) (set_local $7 - (get_local $4) + (i32.add + (get_local $4) + (i32.const 8) + ) ) (set_local $15 - (i32.const 2) + (i32.add + (get_local $3) + (i32.const -1) + ) ) - (get_local $5) - ) - (block - (set_local $7 + (i32.load offset=12 (get_local $4) ) - (set_local $15 + ) + (if + (i32.eq (get_local $3) + (i32.const 2) + ) + (block + (i32.store + (get_local $9) + (i32.add + (i32.load + (get_local $9) + ) + (get_local $6) + ) + ) + (set_local $7 + (get_local $4) + ) + (set_local $15 + (i32.const 2) + ) + (get_local $5) + ) + (block + (set_local $7 + (get_local $4) + ) + (set_local $15 + (get_local $3) + ) + (get_local $5) ) - (get_local $5) ) ) ) - ) - (i32.store - (get_local $7) - (i32.add - (i32.load - (get_local $7) + (i32.store + (get_local $7) + (i32.add + (i32.load + (get_local $7) + ) + (get_local $6) ) - (get_local $6) ) - ) - (i32.store offset=4 - (get_local $7) - (i32.sub - (get_local $3) - (get_local $6) + (i32.store offset=4 + (get_local $7) + (i32.sub + (get_local $3) + (get_local $6) + ) ) + (set_local $4 + (get_local $7) + ) + (set_local $3 + (get_local $15) + ) + (set_local $5 + (get_local $10) + ) + (br $while-in$1) ) - (set_local $4 - (get_local $7) - ) - (set_local $3 - (get_local $15) - ) - (set_local $5 - (get_local $10) - ) - (br $while-in$1) ) (if (i32.eq @@ -8372,49 +8408,51 @@ (set_local $3 (get_local $1) ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (get_local $3) - ) - (block - (set_local $2 - (get_local $0) - ) - (set_local $3 - (i32.const 0) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (get_local $3) ) - (br $label$break$b - (get_local $1) + (block + (set_local $2 + (get_local $0) + ) + (set_local $3 + (i32.const 0) + ) + (br $label$break$b + (get_local $1) + ) ) ) - ) - (if - (i32.eq - (i32.load8_s - (i32.add - (get_local $0) - (tee_local $7 - (i32.add - (get_local $3) - (i32.const -1) + (if + (i32.eq + (i32.load8_s + (i32.add + (get_local $0) + (tee_local $7 + (i32.add + (get_local $3) + (i32.const -1) + ) ) ) ) + (i32.const 10) ) - (i32.const 10) - ) - (block - (set_local $4 - (get_local $3) + (block + (set_local $4 + (get_local $3) + ) + (br $while-out$2) + ) + (set_local $3 + (get_local $7) ) - (br $while-out$2) - ) - (set_local $3 - (get_local $7) ) + (br $while-in$3) ) - (br $while-in$3) ) (if (i32.lt_u @@ -8512,45 +8550,47 @@ (set_local $4 (get_local $3) ) - (loop $while-out$1 $while-in$2 - (if - (i32.eqz - (i32.load8_s - (get_local $0) + (loop $while-in$2 + (block $while-out$1 + (if + (i32.eqz + (i32.load8_s + (get_local $0) + ) ) - ) - (block - (set_local $5 - (get_local $4) + (block + (set_local $5 + (get_local $4) + ) + (br $label$break$a) ) - (br $label$break$a) ) - ) - (if - (i32.eqz - (i32.and - (tee_local $4 - (tee_local $0 - (i32.add - (get_local $0) - (i32.const 1) + (if + (i32.eqz + (i32.and + (tee_local $4 + (tee_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) ) + (i32.const 3) ) - (i32.const 3) - ) - ) - (block - (set_local $2 - (get_local $0) ) - (set_local $1 - (i32.const 4) + (block + (set_local $2 + (get_local $0) + ) + (set_local $1 + (i32.const 4) + ) + (br $while-out$1) ) - (br $while-out$1) ) + (br $while-in$2) ) - (br $while-in$2) ) ) (block @@ -8572,34 +8612,36 @@ (set_local $1 (get_local $2) ) - (loop $while-out$3 $while-in$4 - (if - (i32.and - (i32.xor - (i32.and - (tee_local $2 - (i32.load - (get_local $1) + (loop $while-in$4 + (block $while-out$3 + (if + (i32.and + (i32.xor + (i32.and + (tee_local $2 + (i32.load + (get_local $1) + ) ) + (i32.const -2139062144) ) (i32.const -2139062144) ) - (i32.const -2139062144) - ) - (i32.add - (get_local $2) - (i32.const -16843009) + (i32.add + (get_local $2) + (i32.const -16843009) + ) ) - ) - (br $while-out$3) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 4) + (br $while-out$3) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 4) + ) ) ) + (br $while-in$4) ) - (br $while-in$4) ) (if (i32.shr_s @@ -8616,22 +8658,24 @@ (set_local $2 (get_local $1) ) - (loop $while-out$5 $while-in$6 - (if - (i32.load8_s - (tee_local $1 - (i32.add - (get_local $2) - (i32.const 1) + (loop $while-in$6 + (block $while-out$5 + (if + (i32.load8_s + (tee_local $1 + (i32.add + (get_local $2) + (i32.const 1) + ) ) ) + (set_local $2 + (get_local $1) + ) + (br $while-out$5) ) - (set_local $2 - (get_local $1) - ) - (br $while-out$5) + (br $while-in$6) ) - (br $while-in$6) ) ) ) @@ -8719,62 +8763,64 @@ (set_local $2 (get_local $0) ) - (loop $while-out$2 $while-in$3 - (set_local $0 - (if - (i32.gt_s - (i32.load offset=76 + (loop $while-in$3 + (block $while-out$2 + (set_local $0 + (if + (i32.gt_s + (i32.load offset=76 + (get_local $1) + ) + (i32.const -1) + ) + (call $Ya (get_local $1) ) - (i32.const -1) - ) - (call $Ya - (get_local $1) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $2 - (if - (i32.gt_u - (i32.load offset=20 - (get_local $1) - ) - (i32.load offset=28 - (get_local $1) + (set_local $2 + (if + (i32.gt_u + (i32.load offset=20 + (get_local $1) + ) + (i32.load offset=28 + (get_local $1) + ) ) - ) - (i32.or - (call $$a - (get_local $1) + (i32.or + (call $$a + (get_local $1) + ) + (get_local $2) ) (get_local $2) ) - (get_local $2) ) - ) - (if - (get_local $0) - (call $Ta - (get_local $1) + (if + (get_local $0) + (call $Ta + (get_local $1) + ) ) - ) - (if - (i32.eqz - (tee_local $1 - (i32.load offset=56 - (get_local $1) + (if + (i32.eqz + (tee_local $1 + (i32.load offset=56 + (get_local $1) + ) ) ) - ) - (block - (set_local $0 - (get_local $2) + (block + (set_local $0 + (get_local $2) + ) + (br $while-out$2) ) - (br $while-out$2) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) @@ -9104,116 +9150,122 @@ ) ) (block - (loop $while-out$0 $while-in$1 - (br_if $while-out$0 - (i32.eqz - (i32.and - (get_local $0) - (i32.const 3) + (loop $while-in$1 + (block $while-out$0 + (br_if $while-out$0 + (i32.eqz + (i32.and + (get_local $0) + (i32.const 3) + ) ) ) - ) - (if - (i32.eqz - (get_local $2) - ) - (return - (get_local $3) - ) - ) - (i32.store8 - (get_local $0) - (i32.load8_s - (get_local $1) + (if + (i32.eqz + (get_local $2) + ) + (return + (get_local $3) + ) ) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (i32.load8_s + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) ) - ) - (br $while-in$1) - ) - (loop $while-out$2 $while-in$3 - (br_if $while-out$2 - (i32.lt_s - (get_local $2) - (i32.const 4) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) ) + (br $while-in$1) ) - (i32.store - (get_local $0) - (i32.load - (get_local $1) + ) + (loop $while-in$3 + (block $while-out$2 + (br_if $while-out$2 + (i32.lt_s + (get_local $2) + (i32.const 4) + ) ) - ) - (set_local $0 - (i32.add + (i32.store (get_local $0) - (i32.const 4) + (i32.load + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 4) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 4) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 4) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 4) + ) ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 4) + ) + ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (br_if $while-out$4 - (i32.le_s - (get_local $2) - (i32.const 0) - ) - ) - (i32.store8 - (get_local $0) - (i32.load8_s - (get_local $1) + (loop $while-in$5 + (block $while-out$4 + (br_if $while-out$4 + (i32.le_s + (get_local $2) + (i32.const 0) + ) ) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (i32.load8_s + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) + ) + (br $while-in$5) ) - (br $while-in$5) ) (get_local $3) ) @@ -9286,66 +9338,72 @@ (get_local $3) ) ) - (loop $while-out$0 $while-in$1 - (br_if $while-out$0 - (i32.ge_s - (get_local $0) - (get_local $3) + (loop $while-in$1 + (block $while-out$0 + (br_if $while-out$0 + (i32.ge_s + (get_local $0) + (get_local $3) + ) ) - ) - (i32.store8 - (get_local $0) - (get_local $1) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (get_local $1) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) + (br $while-in$1) ) - (br $while-in$1) ) ) ) - (loop $while-out$2 $while-in$3 - (br_if $while-out$2 - (i32.ge_s - (get_local $0) - (get_local $6) + (loop $while-in$3 + (block $while-out$2 + (br_if $while-out$2 + (i32.ge_s + (get_local $0) + (get_local $6) + ) ) - ) - (i32.store - (get_local $0) - (get_local $5) - ) - (set_local $0 - (i32.add + (i32.store (get_local $0) - (i32.const 4) + (get_local $5) ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 4) + ) + ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (br_if $while-out$4 - (i32.ge_s - (get_local $0) - (get_local $4) + (loop $while-in$5 + (block $while-out$4 + (br_if $while-out$4 + (i32.ge_s + (get_local $0) + (get_local $4) + ) ) - ) - (i32.store8 - (get_local $0) - (get_local $1) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (get_local $1) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) + (br $while-in$5) ) - (br $while-in$5) ) (i32.sub (get_local $0) diff --git a/test/memorygrowth.fromasm.imprecise b/test/memorygrowth.fromasm.imprecise index 65be97cf1..2ae9ff495 100644 --- a/test/memorygrowth.fromasm.imprecise +++ b/test/memorygrowth.fromasm.imprecise @@ -783,70 +783,72 @@ (set_local $3 (get_local $25) ) - (loop $while-out$23 $while-in$24 - (if - (tee_local $25 - (i32.load offset=16 - (get_local $12) - ) - ) - (set_local $0 - (get_local $25) - ) + (loop $while-in$24 + (block $while-out$23 (if - (tee_local $16 - (i32.load offset=20 + (tee_local $25 + (i32.load offset=16 (get_local $12) ) ) (set_local $0 - (get_local $16) + (get_local $25) ) - (block - (set_local $32 - (get_local $2) + (if + (tee_local $16 + (i32.load offset=20 + (get_local $12) + ) ) - (set_local $26 - (get_local $3) + (set_local $0 + (get_local $16) + ) + (block + (set_local $32 + (get_local $2) + ) + (set_local $26 + (get_local $3) + ) + (br $while-out$23) ) - (br $while-out$23) ) ) - ) - (set_local $16 - (i32.lt_u - (tee_local $25 - (i32.sub - (i32.and - (i32.load offset=4 - (get_local $0) + (set_local $16 + (i32.lt_u + (tee_local $25 + (i32.sub + (i32.and + (i32.load offset=4 + (get_local $0) + ) + (i32.const -8) ) - (i32.const -8) + (get_local $14) ) - (get_local $14) ) + (get_local $2) ) - (get_local $2) ) - ) - (set_local $2 - (select - (get_local $25) - (get_local $2) - (get_local $16) + (set_local $2 + (select + (get_local $25) + (get_local $2) + (get_local $16) + ) ) - ) - (set_local $12 - (get_local $0) - ) - (set_local $3 - (select + (set_local $12 (get_local $0) - (get_local $3) - (get_local $16) ) + (set_local $3 + (select + (get_local $0) + (get_local $3) + (get_local $16) + ) + ) + (br $while-in$24) ) - (br $while-in$24) ) (if (i32.lt_u @@ -933,50 +935,52 @@ ) ) ) - (loop $while-out$27 $while-in$28 - (if - (tee_local $7 - (i32.load - (tee_local $8 - (i32.add - (get_local $11) - (i32.const 20) + (loop $while-in$28 + (block $while-out$27 + (if + (tee_local $7 + (i32.load + (tee_local $8 + (i32.add + (get_local $11) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $11 - (get_local $7) - ) - (set_local $0 - (get_local $8) + (block + (set_local $11 + (get_local $7) + ) + (set_local $0 + (get_local $8) + ) + (br $while-in$28) ) - (br $while-in$28) ) - ) - (if - (tee_local $7 - (i32.load - (tee_local $8 - (i32.add - (get_local $11) - (i32.const 16) + (if + (tee_local $7 + (i32.load + (tee_local $8 + (i32.add + (get_local $11) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $11 - (get_local $7) - ) - (set_local $0 - (get_local $8) + (block + (set_local $11 + (get_local $7) + ) + (set_local $0 + (get_local $8) + ) ) + (br $while-out$27) ) - (br $while-out$27) + (br $while-in$28) ) - (br $while-in$28) ) (if (i32.lt_u @@ -1578,145 +1582,147 @@ (set_local $5 (i32.const 0) ) - (loop $while-out$3 $while-in$4 - (if - (i32.lt_u - (tee_local $29 - (i32.sub - (tee_local $27 - (i32.and - (i32.load offset=4 - (get_local $19) + (loop $while-in$4 + (block $while-out$3 + (if + (i32.lt_u + (tee_local $29 + (i32.sub + (tee_local $27 + (i32.and + (i32.load offset=4 + (get_local $19) + ) + (i32.const -8) ) - (i32.const -8) ) + (get_local $2) ) - (get_local $2) ) + (get_local $7) ) - (get_local $7) - ) - (if - (i32.eq - (get_local $27) - (get_local $2) - ) - (block - (set_local $36 - (get_local $29) - ) - (set_local $18 - (get_local $19) + (if + (i32.eq + (get_local $27) + (get_local $2) ) - (set_local $17 - (get_local $19) + (block + (set_local $36 + (get_local $29) + ) + (set_local $18 + (get_local $19) + ) + (set_local $17 + (get_local $19) + ) + (set_local $7 + (i32.const 90) + ) + (br $label$break$a) ) - (set_local $7 - (i32.const 90) + (block + (set_local $4 + (get_local $29) + ) + (set_local $0 + (get_local $19) + ) ) - (br $label$break$a) ) (block (set_local $4 - (get_local $29) + (get_local $7) ) (set_local $0 - (get_local $19) + (get_local $5) ) ) ) - (block - (set_local $4 - (get_local $7) - ) - (set_local $0 - (get_local $5) + (set_local $27 + (select + (get_local $25) + (tee_local $29 + (i32.load offset=20 + (get_local $19) + ) + ) + (i32.or + (i32.eq + (get_local $29) + (i32.const 0) + ) + (i32.eq + (get_local $29) + (tee_local $19 + (i32.load + (i32.add + (i32.add + (get_local $19) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + (i32.const 2) + ) + ) + ) + ) + ) + ) ) ) - ) - (set_local $27 - (select - (get_local $25) + (if (tee_local $29 - (i32.load offset=20 + (i32.eq (get_local $19) + (i32.const 0) ) ) - (i32.or - (i32.eq - (get_local $29) - (i32.const 0) + (block + (set_local $40 + (get_local $4) ) - (i32.eq - (get_local $29) - (tee_local $19 - (i32.load - (i32.add - (i32.add - (get_local $19) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $3) - (i32.const 31) - ) - (i32.const 2) - ) + (set_local $12 + (get_local $27) + ) + (set_local $38 + (get_local $0) + ) + (set_local $7 + (i32.const 86) + ) + (br $while-out$3) + ) + (block + (set_local $7 + (get_local $4) + ) + (set_local $25 + (get_local $27) + ) + (set_local $3 + (i32.shl + (get_local $3) + (i32.xor + (i32.and + (get_local $29) + (i32.const 1) ) + (i32.const 1) ) ) ) + (set_local $5 + (get_local $0) + ) ) ) + (br $while-in$4) ) - (if - (tee_local $29 - (i32.eq - (get_local $19) - (i32.const 0) - ) - ) - (block - (set_local $40 - (get_local $4) - ) - (set_local $12 - (get_local $27) - ) - (set_local $38 - (get_local $0) - ) - (set_local $7 - (i32.const 86) - ) - (br $while-out$3) - ) - (block - (set_local $7 - (get_local $4) - ) - (set_local $25 - (get_local $27) - ) - (set_local $3 - (i32.shl - (get_local $3) - (i32.xor - (i32.and - (get_local $29) - (i32.const 1) - ) - (i32.const 1) - ) - ) - ) - (set_local $5 - (get_local $0) - ) - ) - ) - (br $while-in$4) ) ) (block @@ -1913,84 +1919,86 @@ (get_local $7) (i32.const 90) ) - (loop $while-out$5 $while-in$6 - (set_local $7 - (i32.const 0) - ) - (set_local $3 - (i32.lt_u - (tee_local $5 - (i32.sub - (i32.and - (i32.load offset=4 - (get_local $18) + (loop $while-in$6 + (block $while-out$5 + (set_local $7 + (i32.const 0) + ) + (set_local $3 + (i32.lt_u + (tee_local $5 + (i32.sub + (i32.and + (i32.load offset=4 + (get_local $18) + ) + (i32.const -8) ) - (i32.const -8) + (get_local $2) ) - (get_local $2) ) - ) - (get_local $36) - ) - ) - (set_local $12 - (select - (get_local $5) - (get_local $36) - (get_local $3) - ) - ) - (set_local $5 - (select - (get_local $18) - (get_local $17) - (get_local $3) - ) - ) - (if - (tee_local $3 - (i32.load offset=16 - (get_local $18) + (get_local $36) ) ) - (block - (set_local $36 - (get_local $12) - ) - (set_local $18 - (get_local $3) - ) - (set_local $17 + (set_local $12 + (select (get_local $5) + (get_local $36) + (get_local $3) ) - (br $while-in$6) ) - ) - (if - (tee_local $18 - (i32.load offset=20 + (set_local $5 + (select (get_local $18) + (get_local $17) + (get_local $3) ) ) - (block - (set_local $36 - (get_local $12) + (if + (tee_local $3 + (i32.load offset=16 + (get_local $18) + ) ) - (set_local $17 - (get_local $5) + (block + (set_local $36 + (get_local $12) + ) + (set_local $18 + (get_local $3) + ) + (set_local $17 + (get_local $5) + ) + (br $while-in$6) ) ) - (block - (set_local $22 - (get_local $12) + (if + (tee_local $18 + (i32.load offset=20 + (get_local $18) + ) ) - (set_local $9 - (get_local $5) + (block + (set_local $36 + (get_local $12) + ) + (set_local $17 + (get_local $5) + ) + ) + (block + (set_local $22 + (get_local $12) + ) + (set_local $9 + (get_local $5) + ) + (br $while-out$5) ) - (br $while-out$5) ) + (br $while-in$6) ) - (br $while-in$6) ) ) (if @@ -2086,50 +2094,52 @@ ) ) ) - (loop $while-out$9 $while-in$10 - (if - (tee_local $16 - (i32.load - (tee_local $14 - (i32.add - (get_local $11) - (i32.const 20) + (loop $while-in$10 + (block $while-out$9 + (if + (tee_local $16 + (i32.load + (tee_local $14 + (i32.add + (get_local $11) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $11 - (get_local $16) - ) - (set_local $0 - (get_local $14) + (block + (set_local $11 + (get_local $16) + ) + (set_local $0 + (get_local $14) + ) + (br $while-in$10) ) - (br $while-in$10) ) - ) - (if - (tee_local $16 - (i32.load - (tee_local $14 - (i32.add - (get_local $11) - (i32.const 16) + (if + (tee_local $16 + (i32.load + (tee_local $14 + (i32.add + (get_local $11) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $11 - (get_local $16) - ) - (set_local $0 - (get_local $14) + (block + (set_local $11 + (get_local $16) + ) + (set_local $0 + (get_local $14) + ) ) + (br $while-out$9) ) - (br $while-out$9) + (br $while-in$10) ) - (br $while-in$10) ) (if (i32.lt_u @@ -2712,72 +2722,74 @@ (get_local $0) ) ) - (loop $while-out$17 $while-in$18 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $14) + (loop $while-in$18 + (block $while-out$17 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $14) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $22) - ) - (block - (set_local $21 - (get_local $14) + (get_local $22) ) - (set_local $7 - (i32.const 148) + (block + (set_local $21 + (get_local $14) + ) + (set_local $7 + (i32.const 148) + ) + (br $while-out$17) ) - (br $while-out$17) ) - ) - (if - (tee_local $3 - (i32.load - (tee_local $0 - (i32.add + (if + (tee_local $3 + (i32.load + (tee_local $0 (i32.add - (get_local $14) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $8) - (i32.const 31) + (i32.add + (get_local $14) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $8) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $8 - (i32.shl - (get_local $8) - (i32.const 1) + (block + (set_local $8 + (i32.shl + (get_local $8) + (i32.const 1) + ) + ) + (set_local $14 + (get_local $3) ) ) - (set_local $14 - (get_local $3) - ) - ) - (block - (set_local $6 - (get_local $0) - ) - (set_local $24 - (get_local $14) - ) - (set_local $7 - (i32.const 145) + (block + (set_local $6 + (get_local $0) + ) + (set_local $24 + (get_local $14) + ) + (set_local $7 + (i32.const 145) + ) + (br $while-out$17) ) - (br $while-out$17) ) + (br $while-in$18) ) - (br $while-in$18) ) (if (i32.eq @@ -3218,58 +3230,60 @@ (set_local $13 (i32.const 1656) ) - (loop $while-out$35 $while-in$36 - (if - (i32.le_u - (tee_local $20 - (i32.load - (get_local $13) - ) - ) - (get_local $22) - ) + (loop $while-in$36 + (block $while-out$35 (if - (i32.gt_u - (i32.add - (get_local $20) + (i32.le_u + (tee_local $20 (i32.load - (tee_local $23 - (i32.add - (get_local $13) - (i32.const 4) - ) - ) + (get_local $13) ) ) (get_local $22) ) - (block - (set_local $0 - (get_local $13) - ) - (set_local $17 - (get_local $23) - ) - (br $while-out$35) - ) - ) - ) - (if - (i32.eqz - (tee_local $13 - (i32.load offset=8 - (get_local $13) + (if + (i32.gt_u + (i32.add + (get_local $20) + (i32.load + (tee_local $23 + (i32.add + (get_local $13) + (i32.const 4) + ) + ) + ) + ) + (get_local $22) + ) + (block + (set_local $0 + (get_local $13) + ) + (set_local $17 + (get_local $23) + ) + (br $while-out$35) ) ) ) - (block - (set_local $7 - (i32.const 171) + (if + (i32.eqz + (tee_local $13 + (i32.load offset=8 + (get_local $13) + ) + ) + ) + (block + (set_local $7 + (i32.const 171) + ) + (br $label$break$c) ) - (br $label$break$c) ) + (br $while-in$36) ) - (br $while-in$36) ) (if (i32.lt_u @@ -3686,55 +3700,57 @@ (set_local $1 (i32.const 1656) ) - (loop $do-out$44 $do-in$45 - (if - (i32.eq - (get_local $28) - (i32.add - (tee_local $4 - (i32.load - (get_local $1) + (loop $do-in$45 + (block $do-out$44 + (if + (i32.eq + (get_local $28) + (i32.add + (tee_local $4 + (i32.load + (get_local $1) + ) ) - ) - (tee_local $21 - (i32.load - (tee_local $15 - (i32.add - (get_local $1) - (i32.const 4) + (tee_local $21 + (i32.load + (tee_local $15 + (i32.add + (get_local $1) + (i32.const 4) + ) ) ) ) ) ) - ) - (block - (set_local $50 - (get_local $4) - ) - (set_local $51 - (get_local $15) - ) - (set_local $52 - (get_local $21) - ) - (set_local $35 - (get_local $1) - ) - (set_local $7 - (i32.const 201) + (block + (set_local $50 + (get_local $4) + ) + (set_local $51 + (get_local $15) + ) + (set_local $52 + (get_local $21) + ) + (set_local $35 + (get_local $1) + ) + (set_local $7 + (i32.const 201) + ) + (br $do-out$44) ) - (br $do-out$44) ) - ) - (br_if $do-in$45 - (i32.ne - (tee_local $1 - (i32.load offset=8 - (get_local $1) + (br_if $do-in$45 + (i32.ne + (tee_local $1 + (i32.load offset=8 + (get_local $1) + ) ) + (i32.const 0) ) - (i32.const 0) ) ) ) @@ -3873,43 +3889,45 @@ (set_local $1 (i32.const 1656) ) - (loop $while-out$46 $while-in$47 - (if - (i32.eq - (i32.load - (get_local $1) - ) - (get_local $15) - ) - (block - (set_local $53 - (get_local $1) - ) - (set_local $45 - (get_local $1) - ) - (set_local $7 - (i32.const 209) + (loop $while-in$47 + (block $while-out$46 + (if + (i32.eq + (i32.load + (get_local $1) + ) + (get_local $15) ) - (br $while-out$46) - ) - ) - (if - (i32.eqz - (tee_local $1 - (i32.load offset=8 + (block + (set_local $53 + (get_local $1) + ) + (set_local $45 (get_local $1) ) + (set_local $7 + (i32.const 209) + ) + (br $while-out$46) ) ) - (block - (set_local $37 - (i32.const 1656) + (if + (i32.eqz + (tee_local $1 + (i32.load offset=8 + (get_local $1) + ) + ) + ) + (block + (set_local $37 + (i32.const 1656) + ) + (br $while-out$46) ) - (br $while-out$46) ) + (br $while-in$47) ) - (br $while-in$47) ) (if (i32.eq @@ -4312,50 +4330,52 @@ ) ) ) - (loop $while-out$53 $while-in$54 - (if - (tee_local $20 - (i32.load - (tee_local $13 - (i32.add - (get_local $11) - (i32.const 20) + (loop $while-in$54 + (block $while-out$53 + (if + (tee_local $20 + (i32.load + (tee_local $13 + (i32.add + (get_local $11) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $11 - (get_local $20) - ) - (set_local $0 - (get_local $13) + (block + (set_local $11 + (get_local $20) + ) + (set_local $0 + (get_local $13) + ) + (br $while-in$54) ) - (br $while-in$54) ) - ) - (if - (tee_local $20 - (i32.load - (tee_local $13 - (i32.add - (get_local $11) - (i32.const 16) + (if + (tee_local $20 + (i32.load + (tee_local $13 + (i32.add + (get_local $11) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $11 - (get_local $20) - ) - (set_local $0 - (get_local $13) + (block + (set_local $11 + (get_local $20) + ) + (set_local $0 + (get_local $13) + ) ) + (br $while-out$53) ) - (br $while-out$53) + (br $while-in$54) ) - (br $while-in$54) ) (if (i32.lt_u @@ -4936,72 +4956,74 @@ (get_local $2) ) ) - (loop $while-out$67 $while-in$68 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $6) + (loop $while-in$68 + (block $while-out$67 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $6) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $11) - ) - (block - (set_local $42 - (get_local $6) + (get_local $11) ) - (set_local $7 - (i32.const 279) + (block + (set_local $42 + (get_local $6) + ) + (set_local $7 + (i32.const 279) + ) + (br $while-out$67) ) - (br $while-out$67) ) - ) - (if - (tee_local $17 - (i32.load - (tee_local $2 - (i32.add + (if + (tee_local $17 + (i32.load + (tee_local $2 (i32.add - (get_local $6) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $13) - (i32.const 31) + (i32.add + (get_local $6) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $13) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $13 - (i32.shl - (get_local $13) - (i32.const 1) + (block + (set_local $13 + (i32.shl + (get_local $13) + (i32.const 1) + ) + ) + (set_local $6 + (get_local $17) ) ) - (set_local $6 - (get_local $17) - ) - ) - (block - (set_local $48 - (get_local $2) - ) - (set_local $54 - (get_local $6) - ) - (set_local $7 - (i32.const 276) + (block + (set_local $48 + (get_local $2) + ) + (set_local $54 + (get_local $6) + ) + (set_local $7 + (i32.const 276) + ) + (br $while-out$67) ) - (br $while-out$67) ) + (br $while-in$68) ) - (br $while-in$68) ) (if (i32.eq @@ -5106,42 +5128,44 @@ ) ) ) - (loop $while-out$69 $while-in$70 - (if - (i32.le_u - (tee_local $1 - (i32.load - (get_local $37) - ) - ) - (get_local $10) - ) + (loop $while-in$70 + (block $while-out$69 (if - (i32.gt_u - (tee_local $24 - (i32.add - (get_local $1) - (i32.load offset=4 - (get_local $37) - ) + (i32.le_u + (tee_local $1 + (i32.load + (get_local $37) ) ) (get_local $10) ) - (block - (set_local $0 - (get_local $24) + (if + (i32.gt_u + (tee_local $24 + (i32.add + (get_local $1) + (i32.load offset=4 + (get_local $37) + ) + ) + ) + (get_local $10) + ) + (block + (set_local $0 + (get_local $24) + ) + (br $while-out$69) ) - (br $while-out$69) ) ) - ) - (set_local $37 - (i32.load offset=8 - (get_local $37) + (set_local $37 + (i32.load offset=8 + (get_local $37) + ) ) + (br $while-in$70) ) - (br $while-in$70) ) (set_local $24 (i32.add @@ -5651,72 +5675,74 @@ (get_local $2) ) ) - (loop $while-out$73 $while-in$74 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $17) + (loop $while-in$74 + (block $while-out$73 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $17) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $1) - ) - (block - (set_local $32 - (get_local $17) + (get_local $1) ) - (set_local $7 - (i32.const 305) + (block + (set_local $32 + (get_local $17) + ) + (set_local $7 + (i32.const 305) + ) + (br $while-out$73) ) - (br $while-out$73) ) - ) - (if - (tee_local $6 - (i32.load - (tee_local $2 - (i32.add + (if + (tee_local $6 + (i32.load + (tee_local $2 (i32.add - (get_local $17) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $4) - (i32.const 31) + (i32.add + (get_local $17) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $4) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $4 - (i32.shl - (get_local $4) - (i32.const 1) + (block + (set_local $4 + (i32.shl + (get_local $4) + (i32.const 1) + ) + ) + (set_local $17 + (get_local $6) ) ) - (set_local $17 - (get_local $6) - ) - ) - (block - (set_local $26 - (get_local $2) - ) - (set_local $11 - (get_local $17) - ) - (set_local $7 - (i32.const 302) + (block + (set_local $26 + (get_local $2) + ) + (set_local $11 + (get_local $17) + ) + (set_local $7 + (i32.const 302) + ) + (br $while-out$73) ) - (br $while-out$73) ) + (br $while-in$74) ) - (br $while-in$74) ) (if (i32.eq @@ -6402,58 +6428,60 @@ ) ) ) - (loop $while-out$4 $while-in$5 - (if - (tee_local $11 - (i32.load - (tee_local $6 - (i32.add - (get_local $1) - (i32.const 20) + (loop $while-in$5 + (block $while-out$4 + (if + (tee_local $11 + (i32.load + (tee_local $6 + (i32.add + (get_local $1) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $1 - (get_local $11) - ) - (set_local $4 - (get_local $6) + (block + (set_local $1 + (get_local $11) + ) + (set_local $4 + (get_local $6) + ) + (br $while-in$5) ) - (br $while-in$5) ) - ) - (if - (tee_local $11 - (i32.load - (tee_local $6 - (i32.add - (get_local $1) - (i32.const 16) + (if + (tee_local $11 + (i32.load + (tee_local $6 + (i32.add + (get_local $1) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $1 - (get_local $11) - ) - (set_local $4 - (get_local $6) - ) - ) - (block - (set_local $6 - (get_local $1) + (block + (set_local $1 + (get_local $11) + ) + (set_local $4 + (get_local $6) + ) ) - (set_local $10 - (get_local $4) + (block + (set_local $6 + (get_local $1) + ) + (set_local $10 + (get_local $4) + ) + (br $while-out$4) ) - (br $while-out$4) ) + (br $while-in$5) ) - (br $while-in$5) ) (if (i32.lt_u @@ -7074,50 +7102,52 @@ ) ) ) - (loop $while-out$12 $while-in$13 - (if - (tee_local $11 - (i32.load - (tee_local $1 - (i32.add - (get_local $0) - (i32.const 20) + (loop $while-in$13 + (block $while-out$12 + (if + (tee_local $11 + (i32.load + (tee_local $1 + (i32.add + (get_local $0) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $0 - (get_local $11) - ) - (set_local $4 - (get_local $1) + (block + (set_local $0 + (get_local $11) + ) + (set_local $4 + (get_local $1) + ) + (br $while-in$13) ) - (br $while-in$13) ) - ) - (if - (tee_local $11 - (i32.load - (tee_local $1 - (i32.add - (get_local $0) - (i32.const 16) + (if + (tee_local $11 + (i32.load + (tee_local $1 + (i32.add + (get_local $0) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $0 - (get_local $11) - ) - (set_local $4 - (get_local $1) + (block + (set_local $0 + (get_local $11) + ) + (set_local $4 + (get_local $1) + ) ) + (br $while-out$12) ) - (br $while-out$12) + (br $while-in$13) ) - (br $while-in$13) ) (if (i32.lt_u @@ -7652,72 +7682,74 @@ (get_local $3) ) ) - (loop $while-out$18 $while-in$19 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $1) + (loop $while-in$19 + (block $while-out$18 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $1) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $0) - ) - (block - (set_local $16 - (get_local $1) + (get_local $0) ) - (set_local $0 - (i32.const 130) + (block + (set_local $16 + (get_local $1) + ) + (set_local $0 + (i32.const 130) + ) + (br $while-out$18) ) - (br $while-out$18) ) - ) - (if - (tee_local $12 - (i32.load - (tee_local $8 - (i32.add + (if + (tee_local $12 + (i32.load + (tee_local $8 (i32.add - (get_local $1) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $13) - (i32.const 31) + (i32.add + (get_local $1) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $13) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $13 - (i32.shl - (get_local $13) - (i32.const 1) + (block + (set_local $13 + (i32.shl + (get_local $13) + (i32.const 1) + ) + ) + (set_local $1 + (get_local $12) ) ) - (set_local $1 - (get_local $12) - ) - ) - (block - (set_local $18 - (get_local $8) - ) - (set_local $19 - (get_local $1) - ) - (set_local $0 - (i32.const 127) + (block + (set_local $18 + (get_local $8) + ) + (set_local $19 + (get_local $1) + ) + (set_local $0 + (i32.const 127) + ) + (br $while-out$18) ) - (br $while-out$18) ) + (br $while-in$19) ) - (br $while-in$19) ) (if (i32.eq @@ -7851,22 +7883,24 @@ (i32.const 1664) ) ) - (loop $while-out$20 $while-in$21 - (if - (tee_local $2 - (i32.load - (get_local $0) + (loop $while-in$21 + (block $while-out$20 + (if + (tee_local $2 + (i32.load + (get_local $0) + ) ) - ) - (set_local $0 - (i32.add - (get_local $2) - (i32.const 8) + (set_local $0 + (i32.add + (get_local $2) + (i32.const 8) + ) ) + (br $while-out$20) ) - (br $while-out$20) + (br $while-in$21) ) - (br $while-in$21) ) (i32.store (i32.const 1240) @@ -7979,209 +8013,211 @@ (get_local $2) ) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eq - (get_local $5) - (tee_local $6 - (if - (i32.load - (i32.const 1160) - ) - (block - (call_import $ra - (i32.const 1) - (get_local $0) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eq + (get_local $5) + (tee_local $6 + (if + (i32.load + (i32.const 1160) ) - (i32.store - (get_local $13) - (i32.load - (get_local $1) + (block + (call_import $ra + (i32.const 1) + (get_local $0) ) - ) - (i32.store offset=4 - (get_local $13) - (get_local $4) - ) - (i32.store offset=8 - (get_local $13) - (get_local $3) - ) - (set_local $10 - (call $Pa - (call_import $ya - (i32.const 146) - (get_local $13) + (i32.store + (get_local $13) + (i32.load + (get_local $1) ) ) - ) - (call_import $oa - (i32.const 0) - ) - (get_local $10) - ) - (block - (i32.store - (get_local $12) - (i32.load - (get_local $1) + (i32.store offset=4 + (get_local $13) + (get_local $4) ) + (i32.store offset=8 + (get_local $13) + (get_local $3) + ) + (set_local $10 + (call $Pa + (call_import $ya + (i32.const 146) + (get_local $13) + ) + ) + ) + (call_import $oa + (i32.const 0) + ) + (get_local $10) ) - (i32.store offset=4 - (get_local $12) - (get_local $4) - ) - (i32.store offset=8 - (get_local $12) - (get_local $3) - ) - (call $Pa - (call_import $ya - (i32.const 146) + (block + (i32.store (get_local $12) + (i32.load + (get_local $1) + ) + ) + (i32.store offset=4 + (get_local $12) + (get_local $4) + ) + (i32.store offset=8 + (get_local $12) + (get_local $3) + ) + (call $Pa + (call_import $ya + (i32.const 146) + (get_local $12) + ) ) ) ) ) ) - ) - (block - (set_local $1 - (i32.const 6) - ) - (br $while-out$0) - ) - ) - (if - (i32.lt_s - (get_local $6) - (i32.const 0) - ) - (block - (set_local $17 - (get_local $4) - ) - (set_local $18 - (get_local $3) - ) - (set_local $1 - (i32.const 8) + (block + (set_local $1 + (i32.const 6) + ) + (br $while-out$0) ) - (br $while-out$0) ) - ) - (set_local $10 - (i32.sub - (get_local $5) - (get_local $6) - ) - ) - (set_local $3 (if - (i32.gt_u + (i32.lt_s (get_local $6) - (tee_local $5 - (i32.load offset=4 - (get_local $4) - ) - ) + (i32.const 0) ) (block - (i32.store - (get_local $9) - (tee_local $7 - (i32.load - (get_local $8) - ) - ) - ) - (i32.store - (get_local $14) - (get_local $7) - ) - (set_local $6 - (i32.sub - (get_local $6) - (get_local $5) - ) - ) - (set_local $7 - (i32.add - (get_local $4) - (i32.const 8) - ) + (set_local $17 + (get_local $4) ) - (set_local $15 - (i32.add - (get_local $3) - (i32.const -1) - ) + (set_local $18 + (get_local $3) ) - (i32.load offset=12 - (get_local $4) + (set_local $1 + (i32.const 8) ) + (br $while-out$0) + ) + ) + (set_local $10 + (i32.sub + (get_local $5) + (get_local $6) ) + ) + (set_local $3 (if - (i32.eq - (get_local $3) - (i32.const 2) + (i32.gt_u + (get_local $6) + (tee_local $5 + (i32.load offset=4 + (get_local $4) + ) + ) ) (block (i32.store (get_local $9) - (i32.add + (tee_local $7 (i32.load - (get_local $9) + (get_local $8) ) + ) + ) + (i32.store + (get_local $14) + (get_local $7) + ) + (set_local $6 + (i32.sub (get_local $6) + (get_local $5) ) ) (set_local $7 - (get_local $4) + (i32.add + (get_local $4) + (i32.const 8) + ) ) (set_local $15 - (i32.const 2) + (i32.add + (get_local $3) + (i32.const -1) + ) ) - (get_local $5) - ) - (block - (set_local $7 + (i32.load offset=12 (get_local $4) ) - (set_local $15 + ) + (if + (i32.eq (get_local $3) + (i32.const 2) + ) + (block + (i32.store + (get_local $9) + (i32.add + (i32.load + (get_local $9) + ) + (get_local $6) + ) + ) + (set_local $7 + (get_local $4) + ) + (set_local $15 + (i32.const 2) + ) + (get_local $5) + ) + (block + (set_local $7 + (get_local $4) + ) + (set_local $15 + (get_local $3) + ) + (get_local $5) ) - (get_local $5) ) ) ) - ) - (i32.store - (get_local $7) - (i32.add - (i32.load - (get_local $7) + (i32.store + (get_local $7) + (i32.add + (i32.load + (get_local $7) + ) + (get_local $6) ) - (get_local $6) ) - ) - (i32.store offset=4 - (get_local $7) - (i32.sub - (get_local $3) - (get_local $6) + (i32.store offset=4 + (get_local $7) + (i32.sub + (get_local $3) + (get_local $6) + ) ) + (set_local $4 + (get_local $7) + ) + (set_local $3 + (get_local $15) + ) + (set_local $5 + (get_local $10) + ) + (br $while-in$1) ) - (set_local $4 - (get_local $7) - ) - (set_local $3 - (get_local $15) - ) - (set_local $5 - (get_local $10) - ) - (br $while-in$1) ) (if (i32.eq @@ -8371,49 +8407,51 @@ (set_local $3 (get_local $1) ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (get_local $3) - ) - (block - (set_local $2 - (get_local $0) - ) - (set_local $3 - (i32.const 0) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (get_local $3) ) - (br $label$break$b - (get_local $1) + (block + (set_local $2 + (get_local $0) + ) + (set_local $3 + (i32.const 0) + ) + (br $label$break$b + (get_local $1) + ) ) ) - ) - (if - (i32.eq - (i32.load8_s - (i32.add - (get_local $0) - (tee_local $7 - (i32.add - (get_local $3) - (i32.const -1) + (if + (i32.eq + (i32.load8_s + (i32.add + (get_local $0) + (tee_local $7 + (i32.add + (get_local $3) + (i32.const -1) + ) ) ) ) + (i32.const 10) ) - (i32.const 10) - ) - (block - (set_local $4 - (get_local $3) + (block + (set_local $4 + (get_local $3) + ) + (br $while-out$2) + ) + (set_local $3 + (get_local $7) ) - (br $while-out$2) - ) - (set_local $3 - (get_local $7) ) + (br $while-in$3) ) - (br $while-in$3) ) (if (i32.lt_u @@ -8511,45 +8549,47 @@ (set_local $4 (get_local $3) ) - (loop $while-out$1 $while-in$2 - (if - (i32.eqz - (i32.load8_s - (get_local $0) + (loop $while-in$2 + (block $while-out$1 + (if + (i32.eqz + (i32.load8_s + (get_local $0) + ) ) - ) - (block - (set_local $5 - (get_local $4) + (block + (set_local $5 + (get_local $4) + ) + (br $label$break$a) ) - (br $label$break$a) ) - ) - (if - (i32.eqz - (i32.and - (tee_local $4 - (tee_local $0 - (i32.add - (get_local $0) - (i32.const 1) + (if + (i32.eqz + (i32.and + (tee_local $4 + (tee_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) ) + (i32.const 3) ) - (i32.const 3) - ) - ) - (block - (set_local $2 - (get_local $0) ) - (set_local $1 - (i32.const 4) + (block + (set_local $2 + (get_local $0) + ) + (set_local $1 + (i32.const 4) + ) + (br $while-out$1) ) - (br $while-out$1) ) + (br $while-in$2) ) - (br $while-in$2) ) ) (block @@ -8571,34 +8611,36 @@ (set_local $1 (get_local $2) ) - (loop $while-out$3 $while-in$4 - (if - (i32.and - (i32.xor - (i32.and - (tee_local $2 - (i32.load - (get_local $1) + (loop $while-in$4 + (block $while-out$3 + (if + (i32.and + (i32.xor + (i32.and + (tee_local $2 + (i32.load + (get_local $1) + ) ) + (i32.const -2139062144) ) (i32.const -2139062144) ) - (i32.const -2139062144) - ) - (i32.add - (get_local $2) - (i32.const -16843009) + (i32.add + (get_local $2) + (i32.const -16843009) + ) ) - ) - (br $while-out$3) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 4) + (br $while-out$3) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 4) + ) ) ) + (br $while-in$4) ) - (br $while-in$4) ) (if (i32.shr_s @@ -8615,22 +8657,24 @@ (set_local $2 (get_local $1) ) - (loop $while-out$5 $while-in$6 - (if - (i32.load8_s - (tee_local $1 - (i32.add - (get_local $2) - (i32.const 1) + (loop $while-in$6 + (block $while-out$5 + (if + (i32.load8_s + (tee_local $1 + (i32.add + (get_local $2) + (i32.const 1) + ) ) ) + (set_local $2 + (get_local $1) + ) + (br $while-out$5) ) - (set_local $2 - (get_local $1) - ) - (br $while-out$5) + (br $while-in$6) ) - (br $while-in$6) ) ) ) @@ -8718,62 +8762,64 @@ (set_local $2 (get_local $0) ) - (loop $while-out$2 $while-in$3 - (set_local $0 - (if - (i32.gt_s - (i32.load offset=76 + (loop $while-in$3 + (block $while-out$2 + (set_local $0 + (if + (i32.gt_s + (i32.load offset=76 + (get_local $1) + ) + (i32.const -1) + ) + (call $Ya (get_local $1) ) - (i32.const -1) - ) - (call $Ya - (get_local $1) + (i32.const 0) ) - (i32.const 0) ) - ) - (set_local $2 - (if - (i32.gt_u - (i32.load offset=20 - (get_local $1) - ) - (i32.load offset=28 - (get_local $1) + (set_local $2 + (if + (i32.gt_u + (i32.load offset=20 + (get_local $1) + ) + (i32.load offset=28 + (get_local $1) + ) ) - ) - (i32.or - (call $$a - (get_local $1) + (i32.or + (call $$a + (get_local $1) + ) + (get_local $2) ) (get_local $2) ) - (get_local $2) ) - ) - (if - (get_local $0) - (call $Ta - (get_local $1) + (if + (get_local $0) + (call $Ta + (get_local $1) + ) ) - ) - (if - (i32.eqz - (tee_local $1 - (i32.load offset=56 - (get_local $1) + (if + (i32.eqz + (tee_local $1 + (i32.load offset=56 + (get_local $1) + ) ) ) - ) - (block - (set_local $0 - (get_local $2) + (block + (set_local $0 + (get_local $2) + ) + (br $while-out$2) ) - (br $while-out$2) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) @@ -9103,116 +9149,122 @@ ) ) (block - (loop $while-out$0 $while-in$1 - (br_if $while-out$0 - (i32.eqz - (i32.and - (get_local $0) - (i32.const 3) + (loop $while-in$1 + (block $while-out$0 + (br_if $while-out$0 + (i32.eqz + (i32.and + (get_local $0) + (i32.const 3) + ) ) ) - ) - (if - (i32.eqz - (get_local $2) - ) - (return - (get_local $3) - ) - ) - (i32.store8 - (get_local $0) - (i32.load8_s - (get_local $1) + (if + (i32.eqz + (get_local $2) + ) + (return + (get_local $3) + ) ) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (i32.load8_s + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) ) - ) - (br $while-in$1) - ) - (loop $while-out$2 $while-in$3 - (br_if $while-out$2 - (i32.lt_s - (get_local $2) - (i32.const 4) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) ) + (br $while-in$1) ) - (i32.store - (get_local $0) - (i32.load - (get_local $1) + ) + (loop $while-in$3 + (block $while-out$2 + (br_if $while-out$2 + (i32.lt_s + (get_local $2) + (i32.const 4) + ) ) - ) - (set_local $0 - (i32.add + (i32.store (get_local $0) - (i32.const 4) + (i32.load + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 4) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 4) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 4) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 4) + ) ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 4) + ) + ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (br_if $while-out$4 - (i32.le_s - (get_local $2) - (i32.const 0) - ) - ) - (i32.store8 - (get_local $0) - (i32.load8_s - (get_local $1) + (loop $while-in$5 + (block $while-out$4 + (br_if $while-out$4 + (i32.le_s + (get_local $2) + (i32.const 0) + ) ) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (i32.load8_s + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) + ) + (br $while-in$5) ) - (br $while-in$5) ) (get_local $3) ) @@ -9285,66 +9337,72 @@ (get_local $3) ) ) - (loop $while-out$0 $while-in$1 - (br_if $while-out$0 - (i32.ge_s - (get_local $0) - (get_local $3) + (loop $while-in$1 + (block $while-out$0 + (br_if $while-out$0 + (i32.ge_s + (get_local $0) + (get_local $3) + ) ) - ) - (i32.store8 - (get_local $0) - (get_local $1) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (get_local $1) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) + (br $while-in$1) ) - (br $while-in$1) ) ) ) - (loop $while-out$2 $while-in$3 - (br_if $while-out$2 - (i32.ge_s - (get_local $0) - (get_local $6) + (loop $while-in$3 + (block $while-out$2 + (br_if $while-out$2 + (i32.ge_s + (get_local $0) + (get_local $6) + ) ) - ) - (i32.store - (get_local $0) - (get_local $5) - ) - (set_local $0 - (i32.add + (i32.store (get_local $0) - (i32.const 4) + (get_local $5) ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 4) + ) + ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (br_if $while-out$4 - (i32.ge_s - (get_local $0) - (get_local $4) + (loop $while-in$5 + (block $while-out$4 + (br_if $while-out$4 + (i32.ge_s + (get_local $0) + (get_local $4) + ) ) - ) - (i32.store8 - (get_local $0) - (get_local $1) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (get_local $1) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) + (br $while-in$5) ) - (br $while-in$5) ) (i32.sub (get_local $0) diff --git a/test/memorygrowth.fromasm.imprecise.no-opts b/test/memorygrowth.fromasm.imprecise.no-opts index be0a35505..ab9a5c6c0 100644 --- a/test/memorygrowth.fromasm.imprecise.no-opts +++ b/test/memorygrowth.fromasm.imprecise.no-opts @@ -912,88 +912,90 @@ (set_local $s (get_local $j) ) - (loop $while-out$23 $while-in$24 - (set_local $j - (i32.load - (i32.add - (get_local $g) - (i32.const 16) + (loop $while-in$24 + (block $while-out$23 + (set_local $j + (i32.load + (i32.add + (get_local $g) + (i32.const 16) + ) ) ) - ) - (if - (i32.eqz - (get_local $j) - ) - (block - (set_local $f - (i32.load - (i32.add - (get_local $g) - (i32.const 20) - ) - ) + (if + (i32.eqz + (get_local $j) ) - (if - (i32.eqz - (get_local $f) + (block + (set_local $f + (i32.load + (i32.add + (get_local $g) + (i32.const 20) + ) + ) ) - (block - (set_local $z - (get_local $e) + (if + (i32.eqz + (get_local $f) ) - (set_local $A - (get_local $s) + (block + (set_local $z + (get_local $e) + ) + (set_local $A + (get_local $s) + ) + (br $while-out$23) + ) + (set_local $B + (get_local $f) ) - (br $while-out$23) - ) - (set_local $B - (get_local $f) ) ) + (set_local $B + (get_local $j) + ) ) - (set_local $B - (get_local $j) - ) - ) - (set_local $j - (i32.sub - (i32.and - (i32.load - (i32.add - (get_local $B) - (i32.const 4) + (set_local $j + (i32.sub + (i32.and + (i32.load + (i32.add + (get_local $B) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) + (get_local $d) ) - (get_local $d) ) - ) - (set_local $f - (i32.lt_u - (get_local $j) - (get_local $e) + (set_local $f + (i32.lt_u + (get_local $j) + (get_local $e) + ) ) - ) - (set_local $e - (if - (get_local $f) - (get_local $j) - (get_local $e) + (set_local $e + (if + (get_local $f) + (get_local $j) + (get_local $e) + ) ) - ) - (set_local $g - (get_local $B) - ) - (set_local $s - (if - (get_local $f) + (set_local $g (get_local $B) - (get_local $s) ) + (set_local $s + (if + (get_local $f) + (get_local $B) + (get_local $s) + ) + ) + (br $while-in$24) ) - (br $while-in$24) ) (set_local $s (i32.load @@ -1099,64 +1101,66 @@ ) ) ) - (loop $while-out$27 $while-in$28 - (set_local $q - (i32.add - (get_local $D) - (i32.const 20) - ) - ) - (set_local $u - (i32.load - (get_local $q) - ) - ) - (if - (get_local $u) - (block - (set_local $D - (get_local $u) + (loop $while-in$28 + (block $while-out$27 + (set_local $q + (i32.add + (get_local $D) + (i32.const 20) ) - (set_local $E + ) + (set_local $u + (i32.load (get_local $q) ) - (br $while-in$28) - ) - ) - (set_local $q - (i32.add - (get_local $D) - (i32.const 16) ) - ) - (set_local $u - (i32.load - (get_local $q) - ) - ) - (if - (i32.eqz + (if (get_local $u) + (block + (set_local $D + (get_local $u) + ) + (set_local $E + (get_local $q) + ) + (br $while-in$28) + ) ) - (block - (set_local $F + (set_local $q + (i32.add (get_local $D) + (i32.const 16) ) - (set_local $G - (get_local $E) + ) + (set_local $u + (i32.load + (get_local $q) ) - (br $while-out$27) ) - (block - (set_local $D + (if + (i32.eqz (get_local $u) ) - (set_local $E - (get_local $q) + (block + (set_local $F + (get_local $D) + ) + (set_local $G + (get_local $E) + ) + (br $while-out$27) + ) + (block + (set_local $D + (get_local $u) + ) + (set_local $E + (get_local $q) + ) ) ) + (br $while-in$28) ) - (br $while-in$28) ) (if (i32.lt_u @@ -1874,156 +1878,158 @@ (set_local $i (i32.const 0) ) - (loop $while-out$3 $while-in$4 - (set_local $m - (i32.and - (i32.load - (i32.add - (get_local $o) - (i32.const 4) + (loop $while-in$4 + (block $while-out$3 + (set_local $m + (i32.and + (i32.load + (i32.add + (get_local $o) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) - ) - ) - (set_local $l - (i32.sub - (get_local $m) - (get_local $e) - ) - ) - (if - (i32.lt_u - (get_local $l) - (get_local $u) ) - (if - (i32.eq + (set_local $l + (i32.sub (get_local $m) (get_local $e) ) - (block - (set_local $O - (get_local $l) - ) - (set_local $P - (get_local $o) + ) + (if + (i32.lt_u + (get_local $l) + (get_local $u) + ) + (if + (i32.eq + (get_local $m) + (get_local $e) ) - (set_local $Q - (get_local $o) + (block + (set_local $O + (get_local $l) + ) + (set_local $P + (get_local $o) + ) + (set_local $Q + (get_local $o) + ) + (set_local $N + (i32.const 90) + ) + (br $label$break$a) ) - (set_local $N - (i32.const 90) + (block + (set_local $R + (get_local $l) + ) + (set_local $S + (get_local $o) + ) ) - (br $label$break$a) ) (block (set_local $R - (get_local $l) + (get_local $u) ) (set_local $S - (get_local $o) + (get_local $i) ) ) ) - (block - (set_local $R - (get_local $u) - ) - (set_local $S - (get_local $i) - ) - ) - ) - (set_local $l - (i32.load - (i32.add - (get_local $o) - (i32.const 20) - ) - ) - ) - (set_local $o - (i32.load - (i32.add + (set_local $l + (i32.load (i32.add (get_local $o) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $s) - (i32.const 31) - ) - (i32.const 2) + (i32.const 20) ) ) ) - ) - (set_local $m - (if - (i32.or - (i32.eq - (get_local $l) - (i32.const 0) - ) - (i32.eq - (get_local $l) - (get_local $o) + (set_local $o + (i32.load + (i32.add + (i32.add + (get_local $o) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $s) + (i32.const 31) + ) + (i32.const 2) + ) ) ) - (get_local $j) - (get_local $l) - ) - ) - (set_local $l - (i32.eq - (get_local $o) - (i32.const 0) ) - ) - (if - (get_local $l) - (block - (set_local $K - (get_local $R) - ) - (set_local $L - (get_local $m) - ) - (set_local $M - (get_local $S) - ) - (set_local $N - (i32.const 86) + (set_local $m + (if + (i32.or + (i32.eq + (get_local $l) + (i32.const 0) + ) + (i32.eq + (get_local $l) + (get_local $o) + ) + ) + (get_local $j) + (get_local $l) ) - (br $while-out$3) ) - (block - (set_local $u - (get_local $R) + (set_local $l + (i32.eq + (get_local $o) + (i32.const 0) ) - (set_local $j - (get_local $m) + ) + (if + (get_local $l) + (block + (set_local $K + (get_local $R) + ) + (set_local $L + (get_local $m) + ) + (set_local $M + (get_local $S) + ) + (set_local $N + (i32.const 86) + ) + (br $while-out$3) ) - (set_local $s - (i32.shl - (get_local $s) - (i32.xor - (i32.and - (get_local $l) + (block + (set_local $u + (get_local $R) + ) + (set_local $j + (get_local $m) + ) + (set_local $s + (i32.shl + (get_local $s) + (i32.xor + (i32.and + (get_local $l) + (i32.const 1) + ) (i32.const 1) ) - (i32.const 1) ) ) - ) - (set_local $i - (get_local $S) + (set_local $i + (get_local $S) + ) ) ) + (br $while-in$4) ) - (br $while-in$4) ) ) ) @@ -2224,104 +2230,106 @@ (get_local $N) (i32.const 90) ) - (loop $while-out$5 $while-in$6 - (set_local $N - (i32.const 0) - ) - (set_local $i - (i32.sub - (i32.and - (i32.load - (i32.add - (get_local $P) - (i32.const 4) + (loop $while-in$6 + (block $while-out$5 + (set_local $N + (i32.const 0) + ) + (set_local $i + (i32.sub + (i32.and + (i32.load + (i32.add + (get_local $P) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) + (get_local $e) ) - (get_local $e) - ) - ) - (set_local $s - (i32.lt_u - (get_local $i) - (get_local $O) - ) - ) - (set_local $g - (if - (get_local $s) - (get_local $i) - (get_local $O) - ) - ) - (set_local $i - (if - (get_local $s) - (get_local $P) - (get_local $Q) ) - ) - (set_local $s - (i32.load - (i32.add - (get_local $P) - (i32.const 16) + (set_local $s + (i32.lt_u + (get_local $i) + (get_local $O) ) ) - ) - (if - (get_local $s) - (block - (set_local $O - (get_local $g) - ) - (set_local $P + (set_local $g + (if (get_local $s) - ) - (set_local $Q (get_local $i) + (get_local $O) ) - (set_local $N - (i32.const 90) - ) - (br $while-in$6) ) - ) - (set_local $P - (i32.load - (i32.add + (set_local $i + (if + (get_local $s) (get_local $P) - (i32.const 20) + (get_local $Q) ) ) - ) - (if - (i32.eqz - (get_local $P) + (set_local $s + (i32.load + (i32.add + (get_local $P) + (i32.const 16) + ) + ) ) - (block - (set_local $U - (get_local $g) + (if + (get_local $s) + (block + (set_local $O + (get_local $g) + ) + (set_local $P + (get_local $s) + ) + (set_local $Q + (get_local $i) + ) + (set_local $N + (i32.const 90) + ) + (br $while-in$6) ) - (set_local $V - (get_local $i) + ) + (set_local $P + (i32.load + (i32.add + (get_local $P) + (i32.const 20) + ) ) - (br $while-out$5) ) - (block - (set_local $O - (get_local $g) + (if + (i32.eqz + (get_local $P) ) - (set_local $Q - (get_local $i) + (block + (set_local $U + (get_local $g) + ) + (set_local $V + (get_local $i) + ) + (br $while-out$5) ) - (set_local $N - (i32.const 90) + (block + (set_local $O + (get_local $g) + ) + (set_local $Q + (get_local $i) + ) + (set_local $N + (i32.const 90) + ) ) ) + (br $while-in$6) ) - (br $while-in$6) ) ) (if @@ -2446,65 +2454,67 @@ ) ) ) - (loop $while-out$9 $while-in$10 - (set_local $d - (i32.add - (get_local $X) - (i32.const 20) - ) - ) - (set_local $f - (i32.load - (get_local $d) - ) - ) - (if - (get_local $f) - (block - (set_local $X - (get_local $f) + (loop $while-in$10 + (block $while-out$9 + (set_local $d + (i32.add + (get_local $X) + (i32.const 20) ) - (set_local $Y + ) + (set_local $f + (i32.load (get_local $d) ) - (br $while-in$10) - ) - ) - (set_local $d - (i32.add - (get_local $X) - (i32.const 16) - ) - ) - (set_local $f - (i32.load - (get_local $d) ) - ) - (if - (i32.eqz + (if (get_local $f) + (block + (set_local $X + (get_local $f) + ) + (set_local $Y + (get_local $d) + ) + (br $while-in$10) + ) ) - (block - (set_local $Z + (set_local $d + (i32.add (get_local $X) + (i32.const 16) ) - (set_local $_ - (get_local $Y) + ) + (set_local $f + (i32.load + (get_local $d) ) - (br $while-out$9) ) - (block - (set_local $X + (if + (i32.eqz (get_local $f) ) - (set_local $Y - (get_local $d) + (block + (set_local $Z + (get_local $X) + ) + (set_local $_ + (get_local $Y) + ) + (br $while-out$9) ) - ) - ) - (br $while-in$10) - ) + (block + (set_local $X + (get_local $f) + ) + (set_local $Y + (get_local $d) + ) + ) + ) + (br $while-in$10) + ) + ) (if (i32.lt_u (get_local $_) @@ -3194,79 +3204,81 @@ (get_local $t) ) ) - (loop $while-out$17 $while-in$18 - (if - (i32.eq - (i32.and - (i32.load - (i32.add - (get_local $d) - (i32.const 4) + (loop $while-in$18 + (block $while-out$17 + (if + (i32.eq + (i32.and + (i32.load + (i32.add + (get_local $d) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $U) - ) - (block - (set_local $ca - (get_local $d) + (get_local $U) ) - (set_local $N - (i32.const 148) + (block + (set_local $ca + (get_local $d) + ) + (set_local $N + (i32.const 148) + ) + (br $while-out$17) ) - (br $while-out$17) ) - ) - (set_local $t - (i32.add + (set_local $t (i32.add - (get_local $d) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $q) - (i32.const 31) + (i32.add + (get_local $d) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $q) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (set_local $s - (i32.load - (get_local $t) - ) - ) - (if - (i32.eqz - (get_local $s) - ) - (block - (set_local $da + (set_local $s + (i32.load (get_local $t) ) - (set_local $ea - (get_local $d) - ) - (set_local $N - (i32.const 145) - ) - (br $while-out$17) ) - (block - (set_local $q - (i32.shl - (get_local $q) - (i32.const 1) + (if + (i32.eqz + (get_local $s) + ) + (block + (set_local $da + (get_local $t) + ) + (set_local $ea + (get_local $d) + ) + (set_local $N + (i32.const 145) ) + (br $while-out$17) ) - (set_local $d - (get_local $s) + (block + (set_local $q + (i32.shl + (get_local $q) + (i32.const 1) + ) + ) + (set_local $d + (get_local $s) + ) ) ) + (br $while-in$18) ) - (br $while-in$18) ) (if (i32.eq @@ -3782,66 +3794,68 @@ (set_local $aa (i32.const 1656) ) - (loop $while-out$35 $while-in$36 - (set_local $ba - (i32.load - (get_local $aa) - ) - ) - (if - (i32.le_u - (get_local $ba) - (get_local $U) + (loop $while-in$36 + (block $while-out$35 + (set_local $ba + (i32.load + (get_local $aa) + ) ) - (block - (set_local $$ - (i32.add - (get_local $aa) - (i32.const 4) - ) + (if + (i32.le_u + (get_local $ba) + (get_local $U) ) - (if - (i32.gt_u + (block + (set_local $$ (i32.add - (get_local $ba) - (i32.load - (get_local $$) - ) + (get_local $aa) + (i32.const 4) ) - (get_local $U) ) - (block - (set_local $fa - (get_local $aa) + (if + (i32.gt_u + (i32.add + (get_local $ba) + (i32.load + (get_local $$) + ) + ) + (get_local $U) ) - (set_local $ga - (get_local $$) + (block + (set_local $fa + (get_local $aa) + ) + (set_local $ga + (get_local $$) + ) + (br $while-out$35) ) - (br $while-out$35) ) ) ) - ) - (set_local $aa - (i32.load - (i32.add - (get_local $aa) - (i32.const 8) + (set_local $aa + (i32.load + (i32.add + (get_local $aa) + (i32.const 8) + ) ) ) - ) - (if - (i32.eqz - (get_local $aa) - ) - (block - (set_local $N - (i32.const 171) + (if + (i32.eqz + (get_local $aa) + ) + (block + (set_local $N + (i32.const 171) + ) + (br $label$break$c) ) - (br $label$break$c) ) + (br $while-in$36) ) - (br $while-in$36) ) (set_local $aa (i32.and @@ -4346,43 +4360,45 @@ (set_local $ma (i32.const 0) ) - (loop $do-out$75 $do-in$76 - (set_local $c - (i32.add - (i32.const 1248) - (i32.shl + (loop $do-in$76 + (block $do-out$75 + (set_local $c + (i32.add + (i32.const 1248) (i32.shl - (get_local $ma) - (i32.const 1) + (i32.shl + (get_local $ma) + (i32.const 1) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (i32.store - (i32.add + (i32.store + (i32.add + (get_local $c) + (i32.const 12) + ) (get_local $c) - (i32.const 12) ) - (get_local $c) - ) - (i32.store - (i32.add + (i32.store + (i32.add + (get_local $c) + (i32.const 8) + ) (get_local $c) - (i32.const 8) ) - (get_local $c) - ) - (set_local $ma - (i32.add - (get_local $ma) - (i32.const 1) + (set_local $ma + (i32.add + (get_local $ma) + (i32.const 1) + ) ) - ) - (br_if $do-in$76 - (i32.ne - (get_local $ma) - (i32.const 32) + (br_if $do-in$76 + (i32.ne + (get_local $ma) + (i32.const 32) + ) ) ) ) @@ -4465,64 +4481,66 @@ (set_local $ka (i32.const 1656) ) - (loop $do-out$44 $do-in$45 - (set_local $ma - (i32.load - (get_local $ka) - ) - ) - (set_local $c - (i32.add - (get_local $ka) - (i32.const 4) - ) - ) - (set_local $ca - (i32.load - (get_local $c) - ) - ) - (if - (i32.eq - (get_local $ha) - (i32.add - (get_local $ma) - (get_local $ca) - ) - ) - (block - (set_local $na - (get_local $ma) - ) - (set_local $oa - (get_local $c) - ) - (set_local $pa - (get_local $ca) - ) - (set_local $ra + (loop $do-in$45 + (block $do-out$44 + (set_local $ma + (i32.load (get_local $ka) ) - (set_local $N - (i32.const 201) - ) - (br $do-out$44) ) - ) - (set_local $ka - (i32.load + (set_local $c (i32.add (get_local $ka) - (i32.const 8) + (i32.const 4) ) ) - ) - (br_if $do-in$45 - (i32.ne - (get_local $ka) - (i32.const 0) - ) - ) + (set_local $ca + (i32.load + (get_local $c) + ) + ) + (if + (i32.eq + (get_local $ha) + (i32.add + (get_local $ma) + (get_local $ca) + ) + ) + (block + (set_local $na + (get_local $ma) + ) + (set_local $oa + (get_local $c) + ) + (set_local $pa + (get_local $ca) + ) + (set_local $ra + (get_local $ka) + ) + (set_local $N + (i32.const 201) + ) + (br $do-out$44) + ) + ) + (set_local $ka + (i32.load + (i32.add + (get_local $ka) + (i32.const 8) + ) + ) + ) + (br_if $do-in$45 + (i32.ne + (get_local $ka) + (i32.const 0) + ) + ) + ) ) (if (i32.eq @@ -4673,47 +4691,49 @@ (set_local $ka (i32.const 1656) ) - (loop $while-out$46 $while-in$47 - (if - (i32.eq - (i32.load - (get_local $ka) - ) - (get_local $c) - ) - (block - (set_local $ua - (get_local $ka) + (loop $while-in$47 + (block $while-out$46 + (if + (i32.eq + (i32.load + (get_local $ka) + ) + (get_local $c) ) - (set_local $va - (get_local $ka) + (block + (set_local $ua + (get_local $ka) + ) + (set_local $va + (get_local $ka) + ) + (set_local $N + (i32.const 209) + ) + (br $while-out$46) ) - (set_local $N - (i32.const 209) + ) + (set_local $ka + (i32.load + (i32.add + (get_local $ka) + (i32.const 8) + ) ) - (br $while-out$46) ) - ) - (set_local $ka - (i32.load - (i32.add + (if + (i32.eqz (get_local $ka) - (i32.const 8) ) - ) - ) - (if - (i32.eqz - (get_local $ka) - ) - (block - (set_local $wa - (i32.const 1656) + (block + (set_local $wa + (i32.const 1656) + ) + (br $while-out$46) ) - (br $while-out$46) ) + (br $while-in$47) ) - (br $while-in$47) ) (if (i32.eq @@ -5166,64 +5186,66 @@ ) ) ) - (loop $while-out$53 $while-in$54 - (set_local $aa - (i32.add - (get_local $za) - (i32.const 20) - ) - ) - (set_local $ba - (i32.load - (get_local $aa) - ) - ) - (if - (get_local $ba) - (block - (set_local $za - (get_local $ba) + (loop $while-in$54 + (block $while-out$53 + (set_local $aa + (i32.add + (get_local $za) + (i32.const 20) ) - (set_local $Aa + ) + (set_local $ba + (i32.load (get_local $aa) ) - (br $while-in$54) - ) - ) - (set_local $aa - (i32.add - (get_local $za) - (i32.const 16) - ) - ) - (set_local $ba - (i32.load - (get_local $aa) ) - ) - (if - (i32.eqz + (if (get_local $ba) + (block + (set_local $za + (get_local $ba) + ) + (set_local $Aa + (get_local $aa) + ) + (br $while-in$54) + ) ) - (block - (set_local $Ba + (set_local $aa + (i32.add (get_local $za) + (i32.const 16) ) - (set_local $Ca - (get_local $Aa) + ) + (set_local $ba + (i32.load + (get_local $aa) ) - (br $while-out$53) ) - (block - (set_local $za + (if + (i32.eqz (get_local $ba) ) - (set_local $Aa - (get_local $aa) + (block + (set_local $Ba + (get_local $za) + ) + (set_local $Ca + (get_local $Aa) + ) + (br $while-out$53) + ) + (block + (set_local $za + (get_local $ba) + ) + (set_local $Aa + (get_local $aa) + ) ) ) + (br $while-in$54) ) - (br $while-in$54) ) (if (i32.lt_u @@ -5913,79 +5935,81 @@ (get_local $e) ) ) - (loop $while-out$67 $while-in$68 - (if - (i32.eq - (i32.and - (i32.load - (i32.add - (get_local $la) - (i32.const 4) + (loop $while-in$68 + (block $while-out$67 + (if + (i32.eq + (i32.and + (i32.load + (i32.add + (get_local $la) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $Ea) - ) - (block - (set_local $Ia - (get_local $la) + (get_local $Ea) ) - (set_local $N - (i32.const 279) + (block + (set_local $Ia + (get_local $la) + ) + (set_local $N + (i32.const 279) + ) + (br $while-out$67) ) - (br $while-out$67) ) - ) - (set_local $e - (i32.add + (set_local $e (i32.add - (get_local $la) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $aa) - (i32.const 31) + (i32.add + (get_local $la) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $aa) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (set_local $ga - (i32.load - (get_local $e) - ) - ) - (if - (i32.eqz - (get_local $ga) - ) - (block - (set_local $Ja + (set_local $ga + (i32.load (get_local $e) ) - (set_local $Ka - (get_local $la) - ) - (set_local $N - (i32.const 276) - ) - (br $while-out$67) ) - (block - (set_local $aa - (i32.shl - (get_local $aa) - (i32.const 1) + (if + (i32.eqz + (get_local $ga) + ) + (block + (set_local $Ja + (get_local $e) + ) + (set_local $Ka + (get_local $la) + ) + (set_local $N + (i32.const 276) ) + (br $while-out$67) ) - (set_local $la - (get_local $ga) + (block + (set_local $aa + (i32.shl + (get_local $aa) + (i32.const 1) + ) + ) + (set_local $la + (get_local $ga) + ) ) ) + (br $while-in$68) ) - (br $while-in$68) ) (if (i32.eq @@ -6124,52 +6148,54 @@ ) ) ) - (loop $while-out$69 $while-in$70 - (set_local $ka - (i32.load - (get_local $wa) - ) - ) - (if - (i32.le_u - (get_local $ka) - (get_local $ja) + (loop $while-in$70 + (block $while-out$69 + (set_local $ka + (i32.load + (get_local $wa) + ) ) - (block - (set_local $ea - (i32.add - (get_local $ka) - (i32.load - (i32.add - (get_local $wa) - (i32.const 4) + (if + (i32.le_u + (get_local $ka) + (get_local $ja) + ) + (block + (set_local $ea + (i32.add + (get_local $ka) + (i32.load + (i32.add + (get_local $wa) + (i32.const 4) + ) ) ) ) - ) - (if - (i32.gt_u - (get_local $ea) - (get_local $ja) - ) - (block - (set_local $La + (if + (i32.gt_u (get_local $ea) + (get_local $ja) + ) + (block + (set_local $La + (get_local $ea) + ) + (br $while-out$69) ) - (br $while-out$69) ) ) ) - ) - (set_local $wa - (i32.load - (i32.add - (get_local $wa) - (i32.const 8) + (set_local $wa + (i32.load + (i32.add + (get_local $wa) + (i32.const 8) + ) ) ) + (br $while-in$70) ) - (br $while-in$70) ) (set_local $ca (i32.add @@ -6366,24 +6392,26 @@ (i32.const 24) ) ) - (loop $do-out$71 $do-in$72 - (set_local $ka - (i32.add - (get_local $ka) - (i32.const 4) - ) - ) - (i32.store - (get_local $ka) - (i32.const 7) - ) - (br_if $do-in$72 - (i32.lt_u + (loop $do-in$72 + (block $do-out$71 + (set_local $ka (i32.add (get_local $ka) (i32.const 4) ) - (get_local $La) + ) + (i32.store + (get_local $ka) + (i32.const 7) + ) + (br_if $do-in$72 + (i32.lt_u + (i32.add + (get_local $ka) + (i32.const 4) + ) + (get_local $La) + ) ) ) ) @@ -6758,79 +6786,81 @@ (get_local $e) ) ) - (loop $while-out$73 $while-in$74 - (if - (i32.eq - (i32.and - (i32.load - (i32.add - (get_local $ga) - (i32.const 4) + (loop $while-in$74 + (block $while-out$73 + (if + (i32.eq + (i32.and + (i32.load + (i32.add + (get_local $ga) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $ka) - ) - (block - (set_local $Pa - (get_local $ga) + (get_local $ka) ) - (set_local $N - (i32.const 305) + (block + (set_local $Pa + (get_local $ga) + ) + (set_local $N + (i32.const 305) + ) + (br $while-out$73) ) - (br $while-out$73) ) - ) - (set_local $e - (i32.add + (set_local $e (i32.add - (get_local $ga) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $ma) - (i32.const 31) + (i32.add + (get_local $ga) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $ma) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (set_local $la - (i32.load - (get_local $e) - ) - ) - (if - (i32.eqz - (get_local $la) - ) - (block - (set_local $Ra + (set_local $la + (i32.load (get_local $e) ) - (set_local $Sa - (get_local $ga) - ) - (set_local $N - (i32.const 302) - ) - (br $while-out$73) ) - (block - (set_local $ma - (i32.shl - (get_local $ma) - (i32.const 1) + (if + (i32.eqz + (get_local $la) + ) + (block + (set_local $Ra + (get_local $e) ) + (set_local $Sa + (get_local $ga) + ) + (set_local $N + (i32.const 302) + ) + (br $while-out$73) ) - (set_local $ga - (get_local $la) + (block + (set_local $ma + (i32.shl + (get_local $ma) + (i32.const 1) + ) + ) + (set_local $ga + (get_local $la) + ) ) ) + (br $while-in$74) ) - (br $while-in$74) ) (if (i32.eq @@ -7482,64 +7512,66 @@ ) ) ) - (loop $while-out$4 $while-in$5 - (set_local $l - (i32.add - (get_local $t) - (i32.const 20) - ) - ) - (set_local $q - (i32.load - (get_local $l) - ) - ) - (if - (get_local $q) - (block - (set_local $t - (get_local $q) + (loop $while-in$5 + (block $while-out$4 + (set_local $l + (i32.add + (get_local $t) + (i32.const 20) ) - (set_local $u + ) + (set_local $q + (i32.load (get_local $l) ) - (br $while-in$5) - ) - ) - (set_local $l - (i32.add - (get_local $t) - (i32.const 16) - ) - ) - (set_local $q - (i32.load - (get_local $l) ) - ) - (if - (i32.eqz + (if (get_local $q) + (block + (set_local $t + (get_local $q) + ) + (set_local $u + (get_local $l) + ) + (br $while-in$5) + ) ) - (block - (set_local $v + (set_local $l + (i32.add (get_local $t) + (i32.const 16) ) - (set_local $w - (get_local $u) + ) + (set_local $q + (i32.load + (get_local $l) ) - (br $while-out$4) ) - (block - (set_local $t + (if + (i32.eqz (get_local $q) ) - (set_local $u - (get_local $l) + (block + (set_local $v + (get_local $t) + ) + (set_local $w + (get_local $u) + ) + (br $while-out$4) + ) + (block + (set_local $t + (get_local $q) + ) + (set_local $u + (get_local $l) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (if (i32.lt_u @@ -8239,68 +8271,70 @@ ) ) ) - (loop $while-out$12 $while-in$13 - (set_local $t - (i32.add - (get_local $z) - (i32.const 20) - ) - ) - (set_local $p - (i32.load - (get_local $t) - ) - ) - (if - (get_local $p) - (block - (set_local $z - (get_local $p) + (loop $while-in$13 + (block $while-out$12 + (set_local $t + (i32.add + (get_local $z) + (i32.const 20) ) - (set_local $A + ) + (set_local $p + (i32.load (get_local $t) ) - (br $while-in$13) - ) - ) - (set_local $t - (i32.add - (get_local $z) - (i32.const 16) - ) - ) - (set_local $p - (i32.load - (get_local $t) ) - ) - (if - (i32.eqz + (if (get_local $p) + (block + (set_local $z + (get_local $p) + ) + (set_local $A + (get_local $t) + ) + (br $while-in$13) + ) ) - (block - (set_local $B + (set_local $t + (i32.add (get_local $z) + (i32.const 16) ) - (set_local $C - (get_local $A) - ) - (br $while-out$12) ) - (block - (set_local $z - (get_local $p) - ) - (set_local $A + (set_local $p + (i32.load (get_local $t) ) ) - ) - (br $while-in$13) - ) - (if - (i32.lt_u - (get_local $C) + (if + (i32.eqz + (get_local $p) + ) + (block + (set_local $B + (get_local $z) + ) + (set_local $C + (get_local $A) + ) + (br $while-out$12) + ) + (block + (set_local $z + (get_local $p) + ) + (set_local $A + (get_local $t) + ) + ) + ) + (br $while-in$13) + ) + ) + (if + (i32.lt_u + (get_local $C) (i32.load (i32.const 1224) ) @@ -8988,79 +9022,81 @@ (get_local $s) ) ) - (loop $while-out$18 $while-in$19 - (if - (i32.eq - (i32.and - (i32.load - (i32.add - (get_local $b) - (i32.const 4) + (loop $while-in$19 + (block $while-out$18 + (if + (i32.eq + (i32.and + (i32.load + (i32.add + (get_local $b) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $D) - ) - (block - (set_local $H - (get_local $b) + (get_local $D) ) - (set_local $I - (i32.const 130) + (block + (set_local $H + (get_local $b) + ) + (set_local $I + (i32.const 130) + ) + (br $while-out$18) ) - (br $while-out$18) ) - ) - (set_local $n - (i32.add + (set_local $n (i32.add - (get_local $b) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $F) - (i32.const 31) + (i32.add + (get_local $b) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $F) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (set_local $y - (i32.load - (get_local $n) - ) - ) - (if - (i32.eqz - (get_local $y) - ) - (block - (set_local $J + (set_local $y + (i32.load (get_local $n) ) - (set_local $K - (get_local $b) - ) - (set_local $I - (i32.const 127) - ) - (br $while-out$18) ) - (block - (set_local $F - (i32.shl - (get_local $F) - (i32.const 1) + (if + (i32.eqz + (get_local $y) + ) + (block + (set_local $J + (get_local $n) + ) + (set_local $K + (get_local $b) + ) + (set_local $I + (i32.const 127) ) + (br $while-out$18) ) - (set_local $b - (get_local $y) + (block + (set_local $F + (i32.shl + (get_local $F) + (i32.const 1) + ) + ) + (set_local $b + (get_local $y) + ) ) ) + (br $while-in$19) ) - (br $while-in$19) ) (if (i32.eq @@ -9201,25 +9237,27 @@ ) (return) ) - (loop $while-out$20 $while-in$21 - (set_local $m - (i32.load - (get_local $L) - ) - ) - (if - (i32.eqz - (get_local $m) + (loop $while-in$21 + (block $while-out$20 + (set_local $m + (i32.load + (get_local $L) + ) ) - (br $while-out$20) - (set_local $L - (i32.add + (if + (i32.eqz (get_local $m) - (i32.const 8) + ) + (br $while-out$20) + (set_local $L + (i32.add + (get_local $m) + (i32.const 8) + ) ) ) + (br $while-in$21) ) - (br $while-in$21) ) (i32.store (i32.const 1240) @@ -9352,247 +9390,249 @@ (get_local $c) ) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.load - (i32.const 1160) - ) - ) - (block - (i32.store - (get_local $e) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eqz (i32.load - (get_local $b) + (i32.const 1160) ) ) - (i32.store - (i32.add + (block + (i32.store (get_local $e) - (i32.const 4) + (i32.load + (get_local $b) + ) ) - (get_local $m) - ) - (i32.store - (i32.add - (get_local $e) - (i32.const 8) + (i32.store + (i32.add + (get_local $e) + (i32.const 4) + ) + (get_local $m) ) - (get_local $g) - ) - (set_local $o - (call $Pa - (call_import $ya - (i32.const 146) + (i32.store + (i32.add (get_local $e) + (i32.const 8) ) + (get_local $g) ) - ) - ) - (block - (call_import $ra - (i32.const 1) - (get_local $a) - ) - (i32.store - (get_local $f) - (i32.load - (get_local $b) + (set_local $o + (call $Pa + (call_import $ya + (i32.const 146) + (get_local $e) + ) + ) ) ) - (i32.store - (i32.add - (get_local $f) - (i32.const 4) + (block + (call_import $ra + (i32.const 1) + (get_local $a) ) - (get_local $m) - ) - (i32.store - (i32.add + (i32.store (get_local $f) - (i32.const 8) + (i32.load + (get_local $b) + ) ) - (get_local $g) - ) - (set_local $l - (call $Pa - (call_import $ya - (i32.const 146) + (i32.store + (i32.add + (get_local $f) + (i32.const 4) + ) + (get_local $m) + ) + (i32.store + (i32.add (get_local $f) + (i32.const 8) + ) + (get_local $g) + ) + (set_local $l + (call $Pa + (call_import $ya + (i32.const 146) + (get_local $f) + ) ) ) + (call_import $oa + (i32.const 0) + ) + (set_local $o + (get_local $l) + ) + ) + ) + (if + (i32.eq + (get_local $n) + (get_local $o) + ) + (block + (set_local $p + (i32.const 6) + ) + (br $while-out$0) ) - (call_import $oa + ) + (if + (i32.lt_s + (get_local $o) (i32.const 0) ) - (set_local $o - (get_local $l) + (block + (set_local $q + (get_local $m) + ) + (set_local $s + (get_local $g) + ) + (set_local $p + (i32.const 8) + ) + (br $while-out$0) ) ) - ) - (if - (i32.eq - (get_local $n) - (get_local $o) + (set_local $l + (i32.sub + (get_local $n) + (get_local $o) + ) ) - (block - (set_local $p - (i32.const 6) - ) - (br $while-out$0) - ) - ) - (if - (i32.lt_s - (get_local $o) - (i32.const 0) - ) - (block - (set_local $q - (get_local $m) - ) - (set_local $s - (get_local $g) - ) - (set_local $p - (i32.const 8) - ) - (br $while-out$0) - ) - ) - (set_local $l - (i32.sub - (get_local $n) - (get_local $o) - ) - ) - (set_local $t - (i32.load - (i32.add - (get_local $m) - (i32.const 4) - ) - ) - ) - (if - (i32.gt_u - (get_local $o) - (get_local $t) - ) - (block - (set_local $u - (i32.load - (get_local $i) - ) - ) - (i32.store - (get_local $h) - (get_local $u) - ) - (i32.store - (get_local $j) - (get_local $u) - ) - (set_local $v - (i32.load - (i32.add - (get_local $m) - (i32.const 12) - ) - ) - ) - (set_local $w - (i32.sub - (get_local $o) - (get_local $t) - ) - ) - (set_local $x - (i32.add - (get_local $m) - (i32.const 8) - ) - ) - (set_local $y - (i32.add - (get_local $g) - (i32.const -1) - ) + (set_local $t + (i32.load + (i32.add + (get_local $m) + (i32.const 4) + ) ) ) (if - (i32.eq - (get_local $g) - (i32.const 2) + (i32.gt_u + (get_local $o) + (get_local $t) ) (block + (set_local $u + (i32.load + (get_local $i) + ) + ) (i32.store (get_local $h) - (i32.add - (i32.load - (get_local $h) - ) - (get_local $o) - ) + (get_local $u) + ) + (i32.store + (get_local $j) + (get_local $u) ) (set_local $v - (get_local $t) + (i32.load + (i32.add + (get_local $m) + (i32.const 12) + ) + ) ) (set_local $w - (get_local $o) + (i32.sub + (get_local $o) + (get_local $t) + ) ) (set_local $x - (get_local $m) + (i32.add + (get_local $m) + (i32.const 8) + ) ) (set_local $y - (i32.const 2) + (i32.add + (get_local $g) + (i32.const -1) + ) ) ) - (block - (set_local $v - (get_local $t) + (if + (i32.eq + (get_local $g) + (i32.const 2) ) - (set_local $w - (get_local $o) + (block + (i32.store + (get_local $h) + (i32.add + (i32.load + (get_local $h) + ) + (get_local $o) + ) + ) + (set_local $v + (get_local $t) + ) + (set_local $w + (get_local $o) + ) + (set_local $x + (get_local $m) + ) + (set_local $y + (i32.const 2) + ) ) - (set_local $x - (get_local $m) + (block + (set_local $v + (get_local $t) + ) + (set_local $w + (get_local $o) + ) + (set_local $x + (get_local $m) + ) + (set_local $y + (get_local $g) + ) ) - (set_local $y - (get_local $g) + ) + ) + (i32.store + (get_local $x) + (i32.add + (i32.load + (get_local $x) ) + (get_local $w) ) ) - ) - (i32.store - (get_local $x) - (i32.add - (i32.load + (i32.store + (i32.add (get_local $x) + (i32.const 4) + ) + (i32.sub + (get_local $v) + (get_local $w) ) - (get_local $w) ) - ) - (i32.store - (i32.add + (set_local $m (get_local $x) - (i32.const 4) ) - (i32.sub - (get_local $v) - (get_local $w) + (set_local $g + (get_local $y) ) + (set_local $n + (get_local $l) + ) + (br $while-in$1) ) - (set_local $m - (get_local $x) - ) - (set_local $g - (get_local $y) - ) - (set_local $n - (get_local $l) - ) - (br $while-in$1) ) (if (i32.eq @@ -9820,54 +9860,56 @@ (set_local $d (get_local $b) ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (get_local $d) - ) - (block - (set_local $l - (get_local $b) - ) - (set_local $m - (get_local $a) - ) - (set_local $n - (get_local $j) - ) - (set_local $o - (i32.const 0) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (get_local $d) ) - (br $label$break$b) - ) - ) - (set_local $p - (i32.add - (get_local $d) - (i32.const -1) - ) - ) - (if - (i32.eq - (i32.load8_s - (i32.add + (block + (set_local $l + (get_local $b) + ) + (set_local $m (get_local $a) - (get_local $p) ) + (set_local $n + (get_local $j) + ) + (set_local $o + (i32.const 0) + ) + (br $label$break$b) ) - (i32.const 10) ) - (block - (set_local $q + (set_local $p + (i32.add (get_local $d) + (i32.const -1) ) - (br $while-out$2) ) - (set_local $d - (get_local $p) + (if + (i32.eq + (i32.load8_s + (i32.add + (get_local $a) + (get_local $p) + ) + ) + (i32.const 10) + ) + (block + (set_local $q + (get_local $d) + ) + (br $while-out$2) + ) + (set_local $d + (get_local $p) + ) ) + (br $while-in$3) ) - (br $while-in$3) ) (if (i32.lt_u @@ -10000,50 +10042,52 @@ (set_local $f (get_local $b) ) - (loop $while-out$1 $while-in$2 - (if - (i32.eqz - (i32.load8_s - (get_local $e) + (loop $while-in$2 + (block $while-out$1 + (if + (i32.eqz + (i32.load8_s + (get_local $e) + ) + ) + (block + (set_local $g + (get_local $f) + ) + (br $label$break$a) ) ) - (block - (set_local $g - (get_local $f) + (set_local $h + (i32.add + (get_local $e) + (i32.const 1) ) - (br $label$break$a) ) - ) - (set_local $h - (i32.add - (get_local $e) - (i32.const 1) + (set_local $f + (get_local $h) ) - ) - (set_local $f - (get_local $h) - ) - (if - (i32.eqz - (i32.and - (get_local $f) - (i32.const 3) + (if + (i32.eqz + (i32.and + (get_local $f) + (i32.const 3) + ) ) - ) - (block - (set_local $c - (get_local $h) + (block + (set_local $c + (get_local $h) + ) + (set_local $d + (i32.const 4) + ) + (br $while-out$1) ) - (set_local $d - (i32.const 4) + (set_local $e + (get_local $h) ) - (br $while-out$1) - ) - (set_local $e - (get_local $h) ) + (br $while-in$2) ) - (br $while-in$2) ) ) ) @@ -10057,45 +10101,47 @@ (set_local $d (get_local $c) ) - (loop $while-out$3 $while-in$4 - (set_local $c - (i32.load - (get_local $d) + (loop $while-in$4 + (block $while-out$3 + (set_local $c + (i32.load + (get_local $d) + ) ) - ) - (if - (i32.eqz - (i32.and - (i32.xor - (i32.and - (get_local $c) + (if + (i32.eqz + (i32.and + (i32.xor + (i32.and + (get_local $c) + (i32.const -2139062144) + ) (i32.const -2139062144) ) - (i32.const -2139062144) + (i32.add + (get_local $c) + (i32.const -16843009) + ) ) + ) + (set_local $d (i32.add - (get_local $c) - (i32.const -16843009) + (get_local $d) + (i32.const 4) ) ) - ) - (set_local $d - (i32.add - (get_local $d) - (i32.const 4) - ) - ) - (block - (set_local $j - (get_local $c) - ) - (set_local $l - (get_local $d) + (block + (set_local $j + (get_local $c) + ) + (set_local $l + (get_local $d) + ) + (br $while-out$3) ) - (br $while-out$3) ) + (br $while-in$4) ) - (br $while-in$4) ) (if (i32.eqz @@ -10117,30 +10163,32 @@ (set_local $j (get_local $l) ) - (loop $while-out$5 $while-in$6 - (set_local $l - (i32.add - (get_local $j) - (i32.const 1) - ) - ) - (if - (i32.eqz - (i32.load8_s - (get_local $l) + (loop $while-in$6 + (block $while-out$5 + (set_local $l + (i32.add + (get_local $j) + (i32.const 1) ) ) - (block - (set_local $m + (if + (i32.eqz + (i32.load8_s + (get_local $l) + ) + ) + (block + (set_local $m + (get_local $l) + ) + (br $while-out$5) + ) + (set_local $j (get_local $l) ) - (br $while-out$5) - ) - (set_local $j - (get_local $l) ) + (br $while-in$6) ) - (br $while-in$6) ) ) ) @@ -10209,82 +10257,84 @@ (set_local $c (get_local $b) ) - (loop $while-out$2 $while-in$3 - (if - (i32.gt_s - (i32.load - (i32.add + (loop $while-in$3 + (block $while-out$2 + (if + (i32.gt_s + (i32.load + (i32.add + (get_local $e) + (i32.const 76) + ) + ) + (i32.const -1) + ) + (set_local $f + (call $Ya (get_local $e) - (i32.const 76) ) ) - (i32.const -1) - ) - (set_local $f - (call $Ya - (get_local $e) + (set_local $f + (i32.const 0) ) ) - (set_local $f - (i32.const 0) - ) - ) - (if - (i32.gt_u - (i32.load - (i32.add - (get_local $e) - (i32.const 20) + (if + (i32.gt_u + (i32.load + (i32.add + (get_local $e) + (i32.const 20) + ) ) - ) - (i32.load - (i32.add - (get_local $e) - (i32.const 28) + (i32.load + (i32.add + (get_local $e) + (i32.const 28) + ) ) ) - ) - (set_local $g - (i32.or - (call $$a - (get_local $e) + (set_local $g + (i32.or + (call $$a + (get_local $e) + ) + (get_local $c) ) + ) + (set_local $g (get_local $c) ) - ) - (set_local $g - (get_local $c) - ) - ) - (if - (get_local $f) - (call $Ta - (get_local $e) - ) - ) - (set_local $e - (i32.load - (i32.add + ) + (if + (get_local $f) + (call $Ta (get_local $e) - (i32.const 56) ) ) - ) - (if - (i32.eqz - (get_local $e) + (set_local $e + (i32.load + (i32.add + (get_local $e) + (i32.const 56) + ) + ) ) - (block - (set_local $d + (if + (i32.eqz + (get_local $e) + ) + (block + (set_local $d + (get_local $g) + ) + (br $while-out$2) + ) + (set_local $c (get_local $g) ) - (br $while-out$2) - ) - (set_local $c - (get_local $g) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) @@ -10714,129 +10764,135 @@ ) ) (block - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.and - (get_local $a) - (i32.const 3) - ) - ) - (br $while-out$0) - ) - (block + (loop $while-in$1 + (block $while-out$0 (if (i32.eqz - (get_local $c) - ) - (return - (get_local $d) + (i32.and + (get_local $a) + (i32.const 3) + ) ) + (br $while-out$0) ) - (i32.store8 - (get_local $a) - (i32.load8_s - (get_local $b) + (block + (if + (i32.eqz + (get_local $c) + ) + (return + (get_local $d) + ) ) - ) - (set_local $a - (i32.add + (i32.store8 (get_local $a) - (i32.const 1) + (i32.load8_s + (get_local $b) + ) ) - ) - (set_local $b - (i32.add - (get_local $b) - (i32.const 1) + (set_local $a + (i32.add + (get_local $a) + (i32.const 1) + ) ) - ) - (set_local $c - (i32.sub - (get_local $c) - (i32.const 1) + (set_local $b + (i32.add + (get_local $b) + (i32.const 1) + ) ) - ) - ) - (br $while-in$1) - ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (i32.ge_s - (get_local $c) - (i32.const 4) + (set_local $c + (i32.sub + (get_local $c) + (i32.const 1) + ) ) ) - (br $while-out$2) + (br $while-in$1) ) - (block - (i32.store - (get_local $a) - (i32.load - (get_local $b) + ) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (i32.ge_s + (get_local $c) + (i32.const 4) + ) ) + (br $while-out$2) ) - (set_local $a - (i32.add + (block + (i32.store (get_local $a) - (i32.const 4) + (i32.load + (get_local $b) + ) ) - ) - (set_local $b - (i32.add - (get_local $b) - (i32.const 4) + (set_local $a + (i32.add + (get_local $a) + (i32.const 4) + ) ) - ) - (set_local $c - (i32.sub - (get_local $c) - (i32.const 4) + (set_local $b + (i32.add + (get_local $b) + (i32.const 4) + ) + ) + (set_local $c + (i32.sub + (get_local $c) + (i32.const 4) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (if - (i32.eqz - (i32.gt_s - (get_local $c) - (i32.const 0) - ) - ) - (br $while-out$4) - ) - (block - (i32.store8 - (get_local $a) - (i32.load8_s - (get_local $b) + (loop $while-in$5 + (block $while-out$4 + (if + (i32.eqz + (i32.gt_s + (get_local $c) + (i32.const 0) + ) ) + (br $while-out$4) ) - (set_local $a - (i32.add + (block + (i32.store8 (get_local $a) - (i32.const 1) + (i32.load8_s + (get_local $b) + ) ) - ) - (set_local $b - (i32.add - (get_local $b) - (i32.const 1) + (set_local $a + (i32.add + (get_local $a) + (i32.const 1) + ) ) - ) - (set_local $c - (i32.sub - (get_local $c) - (i32.const 1) + (set_local $b + (i32.add + (get_local $b) + (i32.const 1) + ) + ) + (set_local $c + (i32.sub + (get_local $c) + (i32.const 1) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (return (get_local $d) @@ -10916,81 +10972,87 @@ (get_local $e) ) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.lt_s - (get_local $a) - (get_local $e) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eqz + (i32.lt_s + (get_local $a) + (get_local $e) + ) ) + (br $while-out$0) ) - (br $while-out$0) - ) - (block - (i32.store8 - (get_local $a) - (get_local $b) - ) - (set_local $a - (i32.add + (block + (i32.store8 (get_local $a) - (i32.const 1) + (get_local $b) + ) + (set_local $a + (i32.add + (get_local $a) + (i32.const 1) + ) ) ) + (br $while-in$1) ) - (br $while-in$1) ) ) ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (i32.lt_s - (get_local $a) - (get_local $g) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (i32.lt_s + (get_local $a) + (get_local $g) + ) ) + (br $while-out$2) ) - (br $while-out$2) - ) - (block - (i32.store - (get_local $a) - (get_local $f) - ) - (set_local $a - (i32.add + (block + (i32.store (get_local $a) - (i32.const 4) + (get_local $f) + ) + (set_local $a + (i32.add + (get_local $a) + (i32.const 4) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (if - (i32.eqz - (i32.lt_s - (get_local $a) - (get_local $d) + (loop $while-in$5 + (block $while-out$4 + (if + (i32.eqz + (i32.lt_s + (get_local $a) + (get_local $d) + ) ) + (br $while-out$4) ) - (br $while-out$4) - ) - (block - (i32.store8 - (get_local $a) - (get_local $b) - ) - (set_local $a - (i32.add + (block + (i32.store8 (get_local $a) - (i32.const 1) + (get_local $b) + ) + (set_local $a + (i32.add + (get_local $a) + (i32.const 1) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (return (i32.sub diff --git a/test/memorygrowth.fromasm.no-opts b/test/memorygrowth.fromasm.no-opts index 166cd316c..5a993bcd0 100644 --- a/test/memorygrowth.fromasm.no-opts +++ b/test/memorygrowth.fromasm.no-opts @@ -913,88 +913,90 @@ (set_local $s (get_local $j) ) - (loop $while-out$23 $while-in$24 - (set_local $j - (i32.load - (i32.add - (get_local $g) - (i32.const 16) + (loop $while-in$24 + (block $while-out$23 + (set_local $j + (i32.load + (i32.add + (get_local $g) + (i32.const 16) + ) ) ) - ) - (if - (i32.eqz - (get_local $j) - ) - (block - (set_local $f - (i32.load - (i32.add - (get_local $g) - (i32.const 20) - ) - ) + (if + (i32.eqz + (get_local $j) ) - (if - (i32.eqz - (get_local $f) + (block + (set_local $f + (i32.load + (i32.add + (get_local $g) + (i32.const 20) + ) + ) ) - (block - (set_local $z - (get_local $e) + (if + (i32.eqz + (get_local $f) ) - (set_local $A - (get_local $s) + (block + (set_local $z + (get_local $e) + ) + (set_local $A + (get_local $s) + ) + (br $while-out$23) + ) + (set_local $B + (get_local $f) ) - (br $while-out$23) - ) - (set_local $B - (get_local $f) ) ) + (set_local $B + (get_local $j) + ) ) - (set_local $B - (get_local $j) - ) - ) - (set_local $j - (i32.sub - (i32.and - (i32.load - (i32.add - (get_local $B) - (i32.const 4) + (set_local $j + (i32.sub + (i32.and + (i32.load + (i32.add + (get_local $B) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) + (get_local $d) ) - (get_local $d) ) - ) - (set_local $f - (i32.lt_u - (get_local $j) - (get_local $e) + (set_local $f + (i32.lt_u + (get_local $j) + (get_local $e) + ) ) - ) - (set_local $e - (if - (get_local $f) - (get_local $j) - (get_local $e) + (set_local $e + (if + (get_local $f) + (get_local $j) + (get_local $e) + ) ) - ) - (set_local $g - (get_local $B) - ) - (set_local $s - (if - (get_local $f) + (set_local $g (get_local $B) - (get_local $s) ) + (set_local $s + (if + (get_local $f) + (get_local $B) + (get_local $s) + ) + ) + (br $while-in$24) ) - (br $while-in$24) ) (set_local $s (i32.load @@ -1100,64 +1102,66 @@ ) ) ) - (loop $while-out$27 $while-in$28 - (set_local $q - (i32.add - (get_local $D) - (i32.const 20) - ) - ) - (set_local $u - (i32.load - (get_local $q) - ) - ) - (if - (get_local $u) - (block - (set_local $D - (get_local $u) + (loop $while-in$28 + (block $while-out$27 + (set_local $q + (i32.add + (get_local $D) + (i32.const 20) ) - (set_local $E + ) + (set_local $u + (i32.load (get_local $q) ) - (br $while-in$28) - ) - ) - (set_local $q - (i32.add - (get_local $D) - (i32.const 16) ) - ) - (set_local $u - (i32.load - (get_local $q) - ) - ) - (if - (i32.eqz + (if (get_local $u) + (block + (set_local $D + (get_local $u) + ) + (set_local $E + (get_local $q) + ) + (br $while-in$28) + ) ) - (block - (set_local $F + (set_local $q + (i32.add (get_local $D) + (i32.const 16) ) - (set_local $G - (get_local $E) + ) + (set_local $u + (i32.load + (get_local $q) ) - (br $while-out$27) ) - (block - (set_local $D + (if + (i32.eqz (get_local $u) ) - (set_local $E - (get_local $q) + (block + (set_local $F + (get_local $D) + ) + (set_local $G + (get_local $E) + ) + (br $while-out$27) + ) + (block + (set_local $D + (get_local $u) + ) + (set_local $E + (get_local $q) + ) ) ) + (br $while-in$28) ) - (br $while-in$28) ) (if (i32.lt_u @@ -1875,156 +1879,158 @@ (set_local $i (i32.const 0) ) - (loop $while-out$3 $while-in$4 - (set_local $m - (i32.and - (i32.load - (i32.add - (get_local $o) - (i32.const 4) + (loop $while-in$4 + (block $while-out$3 + (set_local $m + (i32.and + (i32.load + (i32.add + (get_local $o) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) - ) - ) - (set_local $l - (i32.sub - (get_local $m) - (get_local $e) - ) - ) - (if - (i32.lt_u - (get_local $l) - (get_local $u) ) - (if - (i32.eq + (set_local $l + (i32.sub (get_local $m) (get_local $e) ) - (block - (set_local $O - (get_local $l) - ) - (set_local $P - (get_local $o) + ) + (if + (i32.lt_u + (get_local $l) + (get_local $u) + ) + (if + (i32.eq + (get_local $m) + (get_local $e) ) - (set_local $Q - (get_local $o) + (block + (set_local $O + (get_local $l) + ) + (set_local $P + (get_local $o) + ) + (set_local $Q + (get_local $o) + ) + (set_local $N + (i32.const 90) + ) + (br $label$break$a) ) - (set_local $N - (i32.const 90) + (block + (set_local $R + (get_local $l) + ) + (set_local $S + (get_local $o) + ) ) - (br $label$break$a) ) (block (set_local $R - (get_local $l) + (get_local $u) ) (set_local $S - (get_local $o) + (get_local $i) ) ) ) - (block - (set_local $R - (get_local $u) - ) - (set_local $S - (get_local $i) - ) - ) - ) - (set_local $l - (i32.load - (i32.add - (get_local $o) - (i32.const 20) - ) - ) - ) - (set_local $o - (i32.load - (i32.add + (set_local $l + (i32.load (i32.add (get_local $o) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $s) - (i32.const 31) - ) - (i32.const 2) + (i32.const 20) ) ) ) - ) - (set_local $m - (if - (i32.or - (i32.eq - (get_local $l) - (i32.const 0) - ) - (i32.eq - (get_local $l) - (get_local $o) + (set_local $o + (i32.load + (i32.add + (i32.add + (get_local $o) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $s) + (i32.const 31) + ) + (i32.const 2) + ) ) ) - (get_local $j) - (get_local $l) - ) - ) - (set_local $l - (i32.eq - (get_local $o) - (i32.const 0) ) - ) - (if - (get_local $l) - (block - (set_local $K - (get_local $R) - ) - (set_local $L - (get_local $m) - ) - (set_local $M - (get_local $S) - ) - (set_local $N - (i32.const 86) + (set_local $m + (if + (i32.or + (i32.eq + (get_local $l) + (i32.const 0) + ) + (i32.eq + (get_local $l) + (get_local $o) + ) + ) + (get_local $j) + (get_local $l) ) - (br $while-out$3) ) - (block - (set_local $u - (get_local $R) + (set_local $l + (i32.eq + (get_local $o) + (i32.const 0) ) - (set_local $j - (get_local $m) + ) + (if + (get_local $l) + (block + (set_local $K + (get_local $R) + ) + (set_local $L + (get_local $m) + ) + (set_local $M + (get_local $S) + ) + (set_local $N + (i32.const 86) + ) + (br $while-out$3) ) - (set_local $s - (i32.shl - (get_local $s) - (i32.xor - (i32.and - (get_local $l) + (block + (set_local $u + (get_local $R) + ) + (set_local $j + (get_local $m) + ) + (set_local $s + (i32.shl + (get_local $s) + (i32.xor + (i32.and + (get_local $l) + (i32.const 1) + ) (i32.const 1) ) - (i32.const 1) ) ) - ) - (set_local $i - (get_local $S) + (set_local $i + (get_local $S) + ) ) ) + (br $while-in$4) ) - (br $while-in$4) ) ) ) @@ -2225,104 +2231,106 @@ (get_local $N) (i32.const 90) ) - (loop $while-out$5 $while-in$6 - (set_local $N - (i32.const 0) - ) - (set_local $i - (i32.sub - (i32.and - (i32.load - (i32.add - (get_local $P) - (i32.const 4) + (loop $while-in$6 + (block $while-out$5 + (set_local $N + (i32.const 0) + ) + (set_local $i + (i32.sub + (i32.and + (i32.load + (i32.add + (get_local $P) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) + (get_local $e) ) - (get_local $e) - ) - ) - (set_local $s - (i32.lt_u - (get_local $i) - (get_local $O) - ) - ) - (set_local $g - (if - (get_local $s) - (get_local $i) - (get_local $O) - ) - ) - (set_local $i - (if - (get_local $s) - (get_local $P) - (get_local $Q) ) - ) - (set_local $s - (i32.load - (i32.add - (get_local $P) - (i32.const 16) + (set_local $s + (i32.lt_u + (get_local $i) + (get_local $O) ) ) - ) - (if - (get_local $s) - (block - (set_local $O - (get_local $g) - ) - (set_local $P + (set_local $g + (if (get_local $s) - ) - (set_local $Q (get_local $i) + (get_local $O) ) - (set_local $N - (i32.const 90) - ) - (br $while-in$6) ) - ) - (set_local $P - (i32.load - (i32.add + (set_local $i + (if + (get_local $s) (get_local $P) - (i32.const 20) + (get_local $Q) ) ) - ) - (if - (i32.eqz - (get_local $P) + (set_local $s + (i32.load + (i32.add + (get_local $P) + (i32.const 16) + ) + ) ) - (block - (set_local $U - (get_local $g) + (if + (get_local $s) + (block + (set_local $O + (get_local $g) + ) + (set_local $P + (get_local $s) + ) + (set_local $Q + (get_local $i) + ) + (set_local $N + (i32.const 90) + ) + (br $while-in$6) ) - (set_local $V - (get_local $i) + ) + (set_local $P + (i32.load + (i32.add + (get_local $P) + (i32.const 20) + ) ) - (br $while-out$5) ) - (block - (set_local $O - (get_local $g) + (if + (i32.eqz + (get_local $P) ) - (set_local $Q - (get_local $i) + (block + (set_local $U + (get_local $g) + ) + (set_local $V + (get_local $i) + ) + (br $while-out$5) ) - (set_local $N - (i32.const 90) + (block + (set_local $O + (get_local $g) + ) + (set_local $Q + (get_local $i) + ) + (set_local $N + (i32.const 90) + ) ) ) + (br $while-in$6) ) - (br $while-in$6) ) ) (if @@ -2447,65 +2455,67 @@ ) ) ) - (loop $while-out$9 $while-in$10 - (set_local $d - (i32.add - (get_local $X) - (i32.const 20) - ) - ) - (set_local $f - (i32.load - (get_local $d) - ) - ) - (if - (get_local $f) - (block - (set_local $X - (get_local $f) + (loop $while-in$10 + (block $while-out$9 + (set_local $d + (i32.add + (get_local $X) + (i32.const 20) ) - (set_local $Y + ) + (set_local $f + (i32.load (get_local $d) ) - (br $while-in$10) - ) - ) - (set_local $d - (i32.add - (get_local $X) - (i32.const 16) - ) - ) - (set_local $f - (i32.load - (get_local $d) ) - ) - (if - (i32.eqz + (if (get_local $f) + (block + (set_local $X + (get_local $f) + ) + (set_local $Y + (get_local $d) + ) + (br $while-in$10) + ) ) - (block - (set_local $Z + (set_local $d + (i32.add (get_local $X) + (i32.const 16) ) - (set_local $_ - (get_local $Y) + ) + (set_local $f + (i32.load + (get_local $d) ) - (br $while-out$9) ) - (block - (set_local $X + (if + (i32.eqz (get_local $f) ) - (set_local $Y - (get_local $d) + (block + (set_local $Z + (get_local $X) + ) + (set_local $_ + (get_local $Y) + ) + (br $while-out$9) ) - ) - ) - (br $while-in$10) - ) + (block + (set_local $X + (get_local $f) + ) + (set_local $Y + (get_local $d) + ) + ) + ) + (br $while-in$10) + ) + ) (if (i32.lt_u (get_local $_) @@ -3195,79 +3205,81 @@ (get_local $t) ) ) - (loop $while-out$17 $while-in$18 - (if - (i32.eq - (i32.and - (i32.load - (i32.add - (get_local $d) - (i32.const 4) + (loop $while-in$18 + (block $while-out$17 + (if + (i32.eq + (i32.and + (i32.load + (i32.add + (get_local $d) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $U) - ) - (block - (set_local $ca - (get_local $d) + (get_local $U) ) - (set_local $N - (i32.const 148) + (block + (set_local $ca + (get_local $d) + ) + (set_local $N + (i32.const 148) + ) + (br $while-out$17) ) - (br $while-out$17) ) - ) - (set_local $t - (i32.add + (set_local $t (i32.add - (get_local $d) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $q) - (i32.const 31) + (i32.add + (get_local $d) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $q) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (set_local $s - (i32.load - (get_local $t) - ) - ) - (if - (i32.eqz - (get_local $s) - ) - (block - (set_local $da + (set_local $s + (i32.load (get_local $t) ) - (set_local $ea - (get_local $d) - ) - (set_local $N - (i32.const 145) - ) - (br $while-out$17) ) - (block - (set_local $q - (i32.shl - (get_local $q) - (i32.const 1) + (if + (i32.eqz + (get_local $s) + ) + (block + (set_local $da + (get_local $t) + ) + (set_local $ea + (get_local $d) + ) + (set_local $N + (i32.const 145) ) + (br $while-out$17) ) - (set_local $d - (get_local $s) + (block + (set_local $q + (i32.shl + (get_local $q) + (i32.const 1) + ) + ) + (set_local $d + (get_local $s) + ) ) ) + (br $while-in$18) ) - (br $while-in$18) ) (if (i32.eq @@ -3783,66 +3795,68 @@ (set_local $aa (i32.const 1656) ) - (loop $while-out$35 $while-in$36 - (set_local $ba - (i32.load - (get_local $aa) - ) - ) - (if - (i32.le_u - (get_local $ba) - (get_local $U) + (loop $while-in$36 + (block $while-out$35 + (set_local $ba + (i32.load + (get_local $aa) + ) ) - (block - (set_local $$ - (i32.add - (get_local $aa) - (i32.const 4) - ) + (if + (i32.le_u + (get_local $ba) + (get_local $U) ) - (if - (i32.gt_u + (block + (set_local $$ (i32.add - (get_local $ba) - (i32.load - (get_local $$) - ) + (get_local $aa) + (i32.const 4) ) - (get_local $U) ) - (block - (set_local $fa - (get_local $aa) + (if + (i32.gt_u + (i32.add + (get_local $ba) + (i32.load + (get_local $$) + ) + ) + (get_local $U) ) - (set_local $ga - (get_local $$) + (block + (set_local $fa + (get_local $aa) + ) + (set_local $ga + (get_local $$) + ) + (br $while-out$35) ) - (br $while-out$35) ) ) ) - ) - (set_local $aa - (i32.load - (i32.add - (get_local $aa) - (i32.const 8) + (set_local $aa + (i32.load + (i32.add + (get_local $aa) + (i32.const 8) + ) ) ) - ) - (if - (i32.eqz - (get_local $aa) - ) - (block - (set_local $N - (i32.const 171) + (if + (i32.eqz + (get_local $aa) + ) + (block + (set_local $N + (i32.const 171) + ) + (br $label$break$c) ) - (br $label$break$c) ) + (br $while-in$36) ) - (br $while-in$36) ) (set_local $aa (i32.and @@ -4347,43 +4361,45 @@ (set_local $ma (i32.const 0) ) - (loop $do-out$75 $do-in$76 - (set_local $c - (i32.add - (i32.const 1248) - (i32.shl + (loop $do-in$76 + (block $do-out$75 + (set_local $c + (i32.add + (i32.const 1248) (i32.shl - (get_local $ma) - (i32.const 1) + (i32.shl + (get_local $ma) + (i32.const 1) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (i32.store - (i32.add + (i32.store + (i32.add + (get_local $c) + (i32.const 12) + ) (get_local $c) - (i32.const 12) ) - (get_local $c) - ) - (i32.store - (i32.add + (i32.store + (i32.add + (get_local $c) + (i32.const 8) + ) (get_local $c) - (i32.const 8) ) - (get_local $c) - ) - (set_local $ma - (i32.add - (get_local $ma) - (i32.const 1) + (set_local $ma + (i32.add + (get_local $ma) + (i32.const 1) + ) ) - ) - (br_if $do-in$76 - (i32.ne - (get_local $ma) - (i32.const 32) + (br_if $do-in$76 + (i32.ne + (get_local $ma) + (i32.const 32) + ) ) ) ) @@ -4466,64 +4482,66 @@ (set_local $ka (i32.const 1656) ) - (loop $do-out$44 $do-in$45 - (set_local $ma - (i32.load - (get_local $ka) - ) - ) - (set_local $c - (i32.add - (get_local $ka) - (i32.const 4) - ) - ) - (set_local $ca - (i32.load - (get_local $c) - ) - ) - (if - (i32.eq - (get_local $ha) - (i32.add - (get_local $ma) - (get_local $ca) - ) - ) - (block - (set_local $na - (get_local $ma) - ) - (set_local $oa - (get_local $c) - ) - (set_local $pa - (get_local $ca) - ) - (set_local $ra + (loop $do-in$45 + (block $do-out$44 + (set_local $ma + (i32.load (get_local $ka) ) - (set_local $N - (i32.const 201) - ) - (br $do-out$44) ) - ) - (set_local $ka - (i32.load + (set_local $c (i32.add (get_local $ka) - (i32.const 8) + (i32.const 4) ) ) - ) - (br_if $do-in$45 - (i32.ne - (get_local $ka) - (i32.const 0) - ) - ) + (set_local $ca + (i32.load + (get_local $c) + ) + ) + (if + (i32.eq + (get_local $ha) + (i32.add + (get_local $ma) + (get_local $ca) + ) + ) + (block + (set_local $na + (get_local $ma) + ) + (set_local $oa + (get_local $c) + ) + (set_local $pa + (get_local $ca) + ) + (set_local $ra + (get_local $ka) + ) + (set_local $N + (i32.const 201) + ) + (br $do-out$44) + ) + ) + (set_local $ka + (i32.load + (i32.add + (get_local $ka) + (i32.const 8) + ) + ) + ) + (br_if $do-in$45 + (i32.ne + (get_local $ka) + (i32.const 0) + ) + ) + ) ) (if (i32.eq @@ -4674,47 +4692,49 @@ (set_local $ka (i32.const 1656) ) - (loop $while-out$46 $while-in$47 - (if - (i32.eq - (i32.load - (get_local $ka) - ) - (get_local $c) - ) - (block - (set_local $ua - (get_local $ka) + (loop $while-in$47 + (block $while-out$46 + (if + (i32.eq + (i32.load + (get_local $ka) + ) + (get_local $c) ) - (set_local $va - (get_local $ka) + (block + (set_local $ua + (get_local $ka) + ) + (set_local $va + (get_local $ka) + ) + (set_local $N + (i32.const 209) + ) + (br $while-out$46) ) - (set_local $N - (i32.const 209) + ) + (set_local $ka + (i32.load + (i32.add + (get_local $ka) + (i32.const 8) + ) ) - (br $while-out$46) ) - ) - (set_local $ka - (i32.load - (i32.add + (if + (i32.eqz (get_local $ka) - (i32.const 8) ) - ) - ) - (if - (i32.eqz - (get_local $ka) - ) - (block - (set_local $wa - (i32.const 1656) + (block + (set_local $wa + (i32.const 1656) + ) + (br $while-out$46) ) - (br $while-out$46) ) + (br $while-in$47) ) - (br $while-in$47) ) (if (i32.eq @@ -5167,64 +5187,66 @@ ) ) ) - (loop $while-out$53 $while-in$54 - (set_local $aa - (i32.add - (get_local $za) - (i32.const 20) - ) - ) - (set_local $ba - (i32.load - (get_local $aa) - ) - ) - (if - (get_local $ba) - (block - (set_local $za - (get_local $ba) + (loop $while-in$54 + (block $while-out$53 + (set_local $aa + (i32.add + (get_local $za) + (i32.const 20) ) - (set_local $Aa + ) + (set_local $ba + (i32.load (get_local $aa) ) - (br $while-in$54) - ) - ) - (set_local $aa - (i32.add - (get_local $za) - (i32.const 16) - ) - ) - (set_local $ba - (i32.load - (get_local $aa) ) - ) - (if - (i32.eqz + (if (get_local $ba) + (block + (set_local $za + (get_local $ba) + ) + (set_local $Aa + (get_local $aa) + ) + (br $while-in$54) + ) ) - (block - (set_local $Ba + (set_local $aa + (i32.add (get_local $za) + (i32.const 16) ) - (set_local $Ca - (get_local $Aa) + ) + (set_local $ba + (i32.load + (get_local $aa) ) - (br $while-out$53) ) - (block - (set_local $za + (if + (i32.eqz (get_local $ba) ) - (set_local $Aa - (get_local $aa) + (block + (set_local $Ba + (get_local $za) + ) + (set_local $Ca + (get_local $Aa) + ) + (br $while-out$53) + ) + (block + (set_local $za + (get_local $ba) + ) + (set_local $Aa + (get_local $aa) + ) ) ) + (br $while-in$54) ) - (br $while-in$54) ) (if (i32.lt_u @@ -5914,79 +5936,81 @@ (get_local $e) ) ) - (loop $while-out$67 $while-in$68 - (if - (i32.eq - (i32.and - (i32.load - (i32.add - (get_local $la) - (i32.const 4) + (loop $while-in$68 + (block $while-out$67 + (if + (i32.eq + (i32.and + (i32.load + (i32.add + (get_local $la) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $Ea) - ) - (block - (set_local $Ia - (get_local $la) + (get_local $Ea) ) - (set_local $N - (i32.const 279) + (block + (set_local $Ia + (get_local $la) + ) + (set_local $N + (i32.const 279) + ) + (br $while-out$67) ) - (br $while-out$67) ) - ) - (set_local $e - (i32.add + (set_local $e (i32.add - (get_local $la) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $aa) - (i32.const 31) + (i32.add + (get_local $la) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $aa) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (set_local $ga - (i32.load - (get_local $e) - ) - ) - (if - (i32.eqz - (get_local $ga) - ) - (block - (set_local $Ja + (set_local $ga + (i32.load (get_local $e) ) - (set_local $Ka - (get_local $la) - ) - (set_local $N - (i32.const 276) - ) - (br $while-out$67) ) - (block - (set_local $aa - (i32.shl - (get_local $aa) - (i32.const 1) + (if + (i32.eqz + (get_local $ga) + ) + (block + (set_local $Ja + (get_local $e) + ) + (set_local $Ka + (get_local $la) + ) + (set_local $N + (i32.const 276) ) + (br $while-out$67) ) - (set_local $la - (get_local $ga) + (block + (set_local $aa + (i32.shl + (get_local $aa) + (i32.const 1) + ) + ) + (set_local $la + (get_local $ga) + ) ) ) + (br $while-in$68) ) - (br $while-in$68) ) (if (i32.eq @@ -6125,52 +6149,54 @@ ) ) ) - (loop $while-out$69 $while-in$70 - (set_local $ka - (i32.load - (get_local $wa) - ) - ) - (if - (i32.le_u - (get_local $ka) - (get_local $ja) + (loop $while-in$70 + (block $while-out$69 + (set_local $ka + (i32.load + (get_local $wa) + ) ) - (block - (set_local $ea - (i32.add - (get_local $ka) - (i32.load - (i32.add - (get_local $wa) - (i32.const 4) + (if + (i32.le_u + (get_local $ka) + (get_local $ja) + ) + (block + (set_local $ea + (i32.add + (get_local $ka) + (i32.load + (i32.add + (get_local $wa) + (i32.const 4) + ) ) ) ) - ) - (if - (i32.gt_u - (get_local $ea) - (get_local $ja) - ) - (block - (set_local $La + (if + (i32.gt_u (get_local $ea) + (get_local $ja) + ) + (block + (set_local $La + (get_local $ea) + ) + (br $while-out$69) ) - (br $while-out$69) ) ) ) - ) - (set_local $wa - (i32.load - (i32.add - (get_local $wa) - (i32.const 8) + (set_local $wa + (i32.load + (i32.add + (get_local $wa) + (i32.const 8) + ) ) ) + (br $while-in$70) ) - (br $while-in$70) ) (set_local $ca (i32.add @@ -6367,24 +6393,26 @@ (i32.const 24) ) ) - (loop $do-out$71 $do-in$72 - (set_local $ka - (i32.add - (get_local $ka) - (i32.const 4) - ) - ) - (i32.store - (get_local $ka) - (i32.const 7) - ) - (br_if $do-in$72 - (i32.lt_u + (loop $do-in$72 + (block $do-out$71 + (set_local $ka (i32.add (get_local $ka) (i32.const 4) ) - (get_local $La) + ) + (i32.store + (get_local $ka) + (i32.const 7) + ) + (br_if $do-in$72 + (i32.lt_u + (i32.add + (get_local $ka) + (i32.const 4) + ) + (get_local $La) + ) ) ) ) @@ -6759,79 +6787,81 @@ (get_local $e) ) ) - (loop $while-out$73 $while-in$74 - (if - (i32.eq - (i32.and - (i32.load - (i32.add - (get_local $ga) - (i32.const 4) + (loop $while-in$74 + (block $while-out$73 + (if + (i32.eq + (i32.and + (i32.load + (i32.add + (get_local $ga) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $ka) - ) - (block - (set_local $Pa - (get_local $ga) + (get_local $ka) ) - (set_local $N - (i32.const 305) + (block + (set_local $Pa + (get_local $ga) + ) + (set_local $N + (i32.const 305) + ) + (br $while-out$73) ) - (br $while-out$73) ) - ) - (set_local $e - (i32.add + (set_local $e (i32.add - (get_local $ga) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $ma) - (i32.const 31) + (i32.add + (get_local $ga) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $ma) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (set_local $la - (i32.load - (get_local $e) - ) - ) - (if - (i32.eqz - (get_local $la) - ) - (block - (set_local $Ra + (set_local $la + (i32.load (get_local $e) ) - (set_local $Sa - (get_local $ga) - ) - (set_local $N - (i32.const 302) - ) - (br $while-out$73) ) - (block - (set_local $ma - (i32.shl - (get_local $ma) - (i32.const 1) + (if + (i32.eqz + (get_local $la) + ) + (block + (set_local $Ra + (get_local $e) ) + (set_local $Sa + (get_local $ga) + ) + (set_local $N + (i32.const 302) + ) + (br $while-out$73) ) - (set_local $ga - (get_local $la) + (block + (set_local $ma + (i32.shl + (get_local $ma) + (i32.const 1) + ) + ) + (set_local $ga + (get_local $la) + ) ) ) + (br $while-in$74) ) - (br $while-in$74) ) (if (i32.eq @@ -7483,64 +7513,66 @@ ) ) ) - (loop $while-out$4 $while-in$5 - (set_local $l - (i32.add - (get_local $t) - (i32.const 20) - ) - ) - (set_local $q - (i32.load - (get_local $l) - ) - ) - (if - (get_local $q) - (block - (set_local $t - (get_local $q) + (loop $while-in$5 + (block $while-out$4 + (set_local $l + (i32.add + (get_local $t) + (i32.const 20) ) - (set_local $u + ) + (set_local $q + (i32.load (get_local $l) ) - (br $while-in$5) - ) - ) - (set_local $l - (i32.add - (get_local $t) - (i32.const 16) - ) - ) - (set_local $q - (i32.load - (get_local $l) ) - ) - (if - (i32.eqz + (if (get_local $q) + (block + (set_local $t + (get_local $q) + ) + (set_local $u + (get_local $l) + ) + (br $while-in$5) + ) ) - (block - (set_local $v + (set_local $l + (i32.add (get_local $t) + (i32.const 16) ) - (set_local $w - (get_local $u) + ) + (set_local $q + (i32.load + (get_local $l) ) - (br $while-out$4) ) - (block - (set_local $t + (if + (i32.eqz (get_local $q) ) - (set_local $u - (get_local $l) + (block + (set_local $v + (get_local $t) + ) + (set_local $w + (get_local $u) + ) + (br $while-out$4) + ) + (block + (set_local $t + (get_local $q) + ) + (set_local $u + (get_local $l) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (if (i32.lt_u @@ -8240,68 +8272,70 @@ ) ) ) - (loop $while-out$12 $while-in$13 - (set_local $t - (i32.add - (get_local $z) - (i32.const 20) - ) - ) - (set_local $p - (i32.load - (get_local $t) - ) - ) - (if - (get_local $p) - (block - (set_local $z - (get_local $p) + (loop $while-in$13 + (block $while-out$12 + (set_local $t + (i32.add + (get_local $z) + (i32.const 20) ) - (set_local $A + ) + (set_local $p + (i32.load (get_local $t) ) - (br $while-in$13) - ) - ) - (set_local $t - (i32.add - (get_local $z) - (i32.const 16) - ) - ) - (set_local $p - (i32.load - (get_local $t) ) - ) - (if - (i32.eqz + (if (get_local $p) + (block + (set_local $z + (get_local $p) + ) + (set_local $A + (get_local $t) + ) + (br $while-in$13) + ) ) - (block - (set_local $B + (set_local $t + (i32.add (get_local $z) + (i32.const 16) ) - (set_local $C - (get_local $A) - ) - (br $while-out$12) ) - (block - (set_local $z - (get_local $p) - ) - (set_local $A + (set_local $p + (i32.load (get_local $t) ) ) - ) - (br $while-in$13) - ) - (if - (i32.lt_u - (get_local $C) + (if + (i32.eqz + (get_local $p) + ) + (block + (set_local $B + (get_local $z) + ) + (set_local $C + (get_local $A) + ) + (br $while-out$12) + ) + (block + (set_local $z + (get_local $p) + ) + (set_local $A + (get_local $t) + ) + ) + ) + (br $while-in$13) + ) + ) + (if + (i32.lt_u + (get_local $C) (i32.load (i32.const 1224) ) @@ -8989,79 +9023,81 @@ (get_local $s) ) ) - (loop $while-out$18 $while-in$19 - (if - (i32.eq - (i32.and - (i32.load - (i32.add - (get_local $b) - (i32.const 4) + (loop $while-in$19 + (block $while-out$18 + (if + (i32.eq + (i32.and + (i32.load + (i32.add + (get_local $b) + (i32.const 4) + ) ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $D) - ) - (block - (set_local $H - (get_local $b) + (get_local $D) ) - (set_local $I - (i32.const 130) + (block + (set_local $H + (get_local $b) + ) + (set_local $I + (i32.const 130) + ) + (br $while-out$18) ) - (br $while-out$18) ) - ) - (set_local $n - (i32.add + (set_local $n (i32.add - (get_local $b) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $F) - (i32.const 31) + (i32.add + (get_local $b) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $F) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) - ) - (set_local $y - (i32.load - (get_local $n) - ) - ) - (if - (i32.eqz - (get_local $y) - ) - (block - (set_local $J + (set_local $y + (i32.load (get_local $n) ) - (set_local $K - (get_local $b) - ) - (set_local $I - (i32.const 127) - ) - (br $while-out$18) ) - (block - (set_local $F - (i32.shl - (get_local $F) - (i32.const 1) + (if + (i32.eqz + (get_local $y) + ) + (block + (set_local $J + (get_local $n) + ) + (set_local $K + (get_local $b) + ) + (set_local $I + (i32.const 127) ) + (br $while-out$18) ) - (set_local $b - (get_local $y) + (block + (set_local $F + (i32.shl + (get_local $F) + (i32.const 1) + ) + ) + (set_local $b + (get_local $y) + ) ) ) + (br $while-in$19) ) - (br $while-in$19) ) (if (i32.eq @@ -9202,25 +9238,27 @@ ) (return) ) - (loop $while-out$20 $while-in$21 - (set_local $m - (i32.load - (get_local $L) - ) - ) - (if - (i32.eqz - (get_local $m) + (loop $while-in$21 + (block $while-out$20 + (set_local $m + (i32.load + (get_local $L) + ) ) - (br $while-out$20) - (set_local $L - (i32.add + (if + (i32.eqz (get_local $m) - (i32.const 8) + ) + (br $while-out$20) + (set_local $L + (i32.add + (get_local $m) + (i32.const 8) + ) ) ) + (br $while-in$21) ) - (br $while-in$21) ) (i32.store (i32.const 1240) @@ -9353,247 +9391,249 @@ (get_local $c) ) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.load - (i32.const 1160) - ) - ) - (block - (i32.store - (get_local $e) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eqz (i32.load - (get_local $b) + (i32.const 1160) ) ) - (i32.store - (i32.add + (block + (i32.store (get_local $e) - (i32.const 4) + (i32.load + (get_local $b) + ) ) - (get_local $m) - ) - (i32.store - (i32.add - (get_local $e) - (i32.const 8) + (i32.store + (i32.add + (get_local $e) + (i32.const 4) + ) + (get_local $m) ) - (get_local $g) - ) - (set_local $o - (call $Pa - (call_import $ya - (i32.const 146) + (i32.store + (i32.add (get_local $e) + (i32.const 8) ) + (get_local $g) ) - ) - ) - (block - (call_import $ra - (i32.const 1) - (get_local $a) - ) - (i32.store - (get_local $f) - (i32.load - (get_local $b) + (set_local $o + (call $Pa + (call_import $ya + (i32.const 146) + (get_local $e) + ) + ) ) ) - (i32.store - (i32.add - (get_local $f) - (i32.const 4) + (block + (call_import $ra + (i32.const 1) + (get_local $a) ) - (get_local $m) - ) - (i32.store - (i32.add + (i32.store (get_local $f) - (i32.const 8) + (i32.load + (get_local $b) + ) ) - (get_local $g) - ) - (set_local $l - (call $Pa - (call_import $ya - (i32.const 146) + (i32.store + (i32.add + (get_local $f) + (i32.const 4) + ) + (get_local $m) + ) + (i32.store + (i32.add (get_local $f) + (i32.const 8) + ) + (get_local $g) + ) + (set_local $l + (call $Pa + (call_import $ya + (i32.const 146) + (get_local $f) + ) ) ) + (call_import $oa + (i32.const 0) + ) + (set_local $o + (get_local $l) + ) + ) + ) + (if + (i32.eq + (get_local $n) + (get_local $o) + ) + (block + (set_local $p + (i32.const 6) + ) + (br $while-out$0) ) - (call_import $oa + ) + (if + (i32.lt_s + (get_local $o) (i32.const 0) ) - (set_local $o - (get_local $l) + (block + (set_local $q + (get_local $m) + ) + (set_local $s + (get_local $g) + ) + (set_local $p + (i32.const 8) + ) + (br $while-out$0) ) ) - ) - (if - (i32.eq - (get_local $n) - (get_local $o) + (set_local $l + (i32.sub + (get_local $n) + (get_local $o) + ) ) - (block - (set_local $p - (i32.const 6) - ) - (br $while-out$0) - ) - ) - (if - (i32.lt_s - (get_local $o) - (i32.const 0) - ) - (block - (set_local $q - (get_local $m) - ) - (set_local $s - (get_local $g) - ) - (set_local $p - (i32.const 8) - ) - (br $while-out$0) - ) - ) - (set_local $l - (i32.sub - (get_local $n) - (get_local $o) - ) - ) - (set_local $t - (i32.load - (i32.add - (get_local $m) - (i32.const 4) - ) - ) - ) - (if - (i32.gt_u - (get_local $o) - (get_local $t) - ) - (block - (set_local $u - (i32.load - (get_local $i) - ) - ) - (i32.store - (get_local $h) - (get_local $u) - ) - (i32.store - (get_local $j) - (get_local $u) - ) - (set_local $v - (i32.load - (i32.add - (get_local $m) - (i32.const 12) - ) - ) - ) - (set_local $w - (i32.sub - (get_local $o) - (get_local $t) - ) - ) - (set_local $x - (i32.add - (get_local $m) - (i32.const 8) - ) - ) - (set_local $y - (i32.add - (get_local $g) - (i32.const -1) - ) + (set_local $t + (i32.load + (i32.add + (get_local $m) + (i32.const 4) + ) ) ) (if - (i32.eq - (get_local $g) - (i32.const 2) + (i32.gt_u + (get_local $o) + (get_local $t) ) (block + (set_local $u + (i32.load + (get_local $i) + ) + ) (i32.store (get_local $h) - (i32.add - (i32.load - (get_local $h) - ) - (get_local $o) - ) + (get_local $u) + ) + (i32.store + (get_local $j) + (get_local $u) ) (set_local $v - (get_local $t) + (i32.load + (i32.add + (get_local $m) + (i32.const 12) + ) + ) ) (set_local $w - (get_local $o) + (i32.sub + (get_local $o) + (get_local $t) + ) ) (set_local $x - (get_local $m) + (i32.add + (get_local $m) + (i32.const 8) + ) ) (set_local $y - (i32.const 2) + (i32.add + (get_local $g) + (i32.const -1) + ) ) ) - (block - (set_local $v - (get_local $t) + (if + (i32.eq + (get_local $g) + (i32.const 2) ) - (set_local $w - (get_local $o) + (block + (i32.store + (get_local $h) + (i32.add + (i32.load + (get_local $h) + ) + (get_local $o) + ) + ) + (set_local $v + (get_local $t) + ) + (set_local $w + (get_local $o) + ) + (set_local $x + (get_local $m) + ) + (set_local $y + (i32.const 2) + ) ) - (set_local $x - (get_local $m) + (block + (set_local $v + (get_local $t) + ) + (set_local $w + (get_local $o) + ) + (set_local $x + (get_local $m) + ) + (set_local $y + (get_local $g) + ) ) - (set_local $y - (get_local $g) + ) + ) + (i32.store + (get_local $x) + (i32.add + (i32.load + (get_local $x) ) + (get_local $w) ) ) - ) - (i32.store - (get_local $x) - (i32.add - (i32.load + (i32.store + (i32.add (get_local $x) + (i32.const 4) + ) + (i32.sub + (get_local $v) + (get_local $w) ) - (get_local $w) ) - ) - (i32.store - (i32.add + (set_local $m (get_local $x) - (i32.const 4) ) - (i32.sub - (get_local $v) - (get_local $w) + (set_local $g + (get_local $y) ) + (set_local $n + (get_local $l) + ) + (br $while-in$1) ) - (set_local $m - (get_local $x) - ) - (set_local $g - (get_local $y) - ) - (set_local $n - (get_local $l) - ) - (br $while-in$1) ) (if (i32.eq @@ -9821,54 +9861,56 @@ (set_local $d (get_local $b) ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (get_local $d) - ) - (block - (set_local $l - (get_local $b) - ) - (set_local $m - (get_local $a) - ) - (set_local $n - (get_local $j) - ) - (set_local $o - (i32.const 0) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (get_local $d) ) - (br $label$break$b) - ) - ) - (set_local $p - (i32.add - (get_local $d) - (i32.const -1) - ) - ) - (if - (i32.eq - (i32.load8_s - (i32.add + (block + (set_local $l + (get_local $b) + ) + (set_local $m (get_local $a) - (get_local $p) ) + (set_local $n + (get_local $j) + ) + (set_local $o + (i32.const 0) + ) + (br $label$break$b) ) - (i32.const 10) ) - (block - (set_local $q + (set_local $p + (i32.add (get_local $d) + (i32.const -1) ) - (br $while-out$2) ) - (set_local $d - (get_local $p) + (if + (i32.eq + (i32.load8_s + (i32.add + (get_local $a) + (get_local $p) + ) + ) + (i32.const 10) + ) + (block + (set_local $q + (get_local $d) + ) + (br $while-out$2) + ) + (set_local $d + (get_local $p) + ) ) + (br $while-in$3) ) - (br $while-in$3) ) (if (i32.lt_u @@ -10001,50 +10043,52 @@ (set_local $f (get_local $b) ) - (loop $while-out$1 $while-in$2 - (if - (i32.eqz - (i32.load8_s - (get_local $e) + (loop $while-in$2 + (block $while-out$1 + (if + (i32.eqz + (i32.load8_s + (get_local $e) + ) + ) + (block + (set_local $g + (get_local $f) + ) + (br $label$break$a) ) ) - (block - (set_local $g - (get_local $f) + (set_local $h + (i32.add + (get_local $e) + (i32.const 1) ) - (br $label$break$a) ) - ) - (set_local $h - (i32.add - (get_local $e) - (i32.const 1) + (set_local $f + (get_local $h) ) - ) - (set_local $f - (get_local $h) - ) - (if - (i32.eqz - (i32.and - (get_local $f) - (i32.const 3) + (if + (i32.eqz + (i32.and + (get_local $f) + (i32.const 3) + ) ) - ) - (block - (set_local $c - (get_local $h) + (block + (set_local $c + (get_local $h) + ) + (set_local $d + (i32.const 4) + ) + (br $while-out$1) ) - (set_local $d - (i32.const 4) + (set_local $e + (get_local $h) ) - (br $while-out$1) - ) - (set_local $e - (get_local $h) ) + (br $while-in$2) ) - (br $while-in$2) ) ) ) @@ -10058,45 +10102,47 @@ (set_local $d (get_local $c) ) - (loop $while-out$3 $while-in$4 - (set_local $c - (i32.load - (get_local $d) + (loop $while-in$4 + (block $while-out$3 + (set_local $c + (i32.load + (get_local $d) + ) ) - ) - (if - (i32.eqz - (i32.and - (i32.xor - (i32.and - (get_local $c) + (if + (i32.eqz + (i32.and + (i32.xor + (i32.and + (get_local $c) + (i32.const -2139062144) + ) (i32.const -2139062144) ) - (i32.const -2139062144) + (i32.add + (get_local $c) + (i32.const -16843009) + ) ) + ) + (set_local $d (i32.add - (get_local $c) - (i32.const -16843009) + (get_local $d) + (i32.const 4) ) ) - ) - (set_local $d - (i32.add - (get_local $d) - (i32.const 4) - ) - ) - (block - (set_local $j - (get_local $c) - ) - (set_local $l - (get_local $d) + (block + (set_local $j + (get_local $c) + ) + (set_local $l + (get_local $d) + ) + (br $while-out$3) ) - (br $while-out$3) ) + (br $while-in$4) ) - (br $while-in$4) ) (if (i32.eqz @@ -10118,30 +10164,32 @@ (set_local $j (get_local $l) ) - (loop $while-out$5 $while-in$6 - (set_local $l - (i32.add - (get_local $j) - (i32.const 1) - ) - ) - (if - (i32.eqz - (i32.load8_s - (get_local $l) + (loop $while-in$6 + (block $while-out$5 + (set_local $l + (i32.add + (get_local $j) + (i32.const 1) ) ) - (block - (set_local $m + (if + (i32.eqz + (i32.load8_s + (get_local $l) + ) + ) + (block + (set_local $m + (get_local $l) + ) + (br $while-out$5) + ) + (set_local $j (get_local $l) ) - (br $while-out$5) - ) - (set_local $j - (get_local $l) ) + (br $while-in$6) ) - (br $while-in$6) ) ) ) @@ -10210,82 +10258,84 @@ (set_local $c (get_local $b) ) - (loop $while-out$2 $while-in$3 - (if - (i32.gt_s - (i32.load - (i32.add + (loop $while-in$3 + (block $while-out$2 + (if + (i32.gt_s + (i32.load + (i32.add + (get_local $e) + (i32.const 76) + ) + ) + (i32.const -1) + ) + (set_local $f + (call $Ya (get_local $e) - (i32.const 76) ) ) - (i32.const -1) - ) - (set_local $f - (call $Ya - (get_local $e) + (set_local $f + (i32.const 0) ) ) - (set_local $f - (i32.const 0) - ) - ) - (if - (i32.gt_u - (i32.load - (i32.add - (get_local $e) - (i32.const 20) + (if + (i32.gt_u + (i32.load + (i32.add + (get_local $e) + (i32.const 20) + ) ) - ) - (i32.load - (i32.add - (get_local $e) - (i32.const 28) + (i32.load + (i32.add + (get_local $e) + (i32.const 28) + ) ) ) - ) - (set_local $g - (i32.or - (call $$a - (get_local $e) + (set_local $g + (i32.or + (call $$a + (get_local $e) + ) + (get_local $c) ) + ) + (set_local $g (get_local $c) ) - ) - (set_local $g - (get_local $c) - ) - ) - (if - (get_local $f) - (call $Ta - (get_local $e) - ) - ) - (set_local $e - (i32.load - (i32.add + ) + (if + (get_local $f) + (call $Ta (get_local $e) - (i32.const 56) ) ) - ) - (if - (i32.eqz - (get_local $e) + (set_local $e + (i32.load + (i32.add + (get_local $e) + (i32.const 56) + ) + ) ) - (block - (set_local $d + (if + (i32.eqz + (get_local $e) + ) + (block + (set_local $d + (get_local $g) + ) + (br $while-out$2) + ) + (set_local $c (get_local $g) ) - (br $while-out$2) - ) - (set_local $c - (get_local $g) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) @@ -10715,129 +10765,135 @@ ) ) (block - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.and - (get_local $a) - (i32.const 3) - ) - ) - (br $while-out$0) - ) - (block + (loop $while-in$1 + (block $while-out$0 (if (i32.eqz - (get_local $c) - ) - (return - (get_local $d) + (i32.and + (get_local $a) + (i32.const 3) + ) ) + (br $while-out$0) ) - (i32.store8 - (get_local $a) - (i32.load8_s - (get_local $b) + (block + (if + (i32.eqz + (get_local $c) + ) + (return + (get_local $d) + ) ) - ) - (set_local $a - (i32.add + (i32.store8 (get_local $a) - (i32.const 1) + (i32.load8_s + (get_local $b) + ) ) - ) - (set_local $b - (i32.add - (get_local $b) - (i32.const 1) + (set_local $a + (i32.add + (get_local $a) + (i32.const 1) + ) ) - ) - (set_local $c - (i32.sub - (get_local $c) - (i32.const 1) + (set_local $b + (i32.add + (get_local $b) + (i32.const 1) + ) ) - ) - ) - (br $while-in$1) - ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (i32.ge_s - (get_local $c) - (i32.const 4) + (set_local $c + (i32.sub + (get_local $c) + (i32.const 1) + ) ) ) - (br $while-out$2) + (br $while-in$1) ) - (block - (i32.store - (get_local $a) - (i32.load - (get_local $b) + ) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (i32.ge_s + (get_local $c) + (i32.const 4) + ) ) + (br $while-out$2) ) - (set_local $a - (i32.add + (block + (i32.store (get_local $a) - (i32.const 4) + (i32.load + (get_local $b) + ) ) - ) - (set_local $b - (i32.add - (get_local $b) - (i32.const 4) + (set_local $a + (i32.add + (get_local $a) + (i32.const 4) + ) ) - ) - (set_local $c - (i32.sub - (get_local $c) - (i32.const 4) + (set_local $b + (i32.add + (get_local $b) + (i32.const 4) + ) + ) + (set_local $c + (i32.sub + (get_local $c) + (i32.const 4) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (if - (i32.eqz - (i32.gt_s - (get_local $c) - (i32.const 0) - ) - ) - (br $while-out$4) - ) - (block - (i32.store8 - (get_local $a) - (i32.load8_s - (get_local $b) + (loop $while-in$5 + (block $while-out$4 + (if + (i32.eqz + (i32.gt_s + (get_local $c) + (i32.const 0) + ) ) + (br $while-out$4) ) - (set_local $a - (i32.add + (block + (i32.store8 (get_local $a) - (i32.const 1) + (i32.load8_s + (get_local $b) + ) ) - ) - (set_local $b - (i32.add - (get_local $b) - (i32.const 1) + (set_local $a + (i32.add + (get_local $a) + (i32.const 1) + ) ) - ) - (set_local $c - (i32.sub - (get_local $c) - (i32.const 1) + (set_local $b + (i32.add + (get_local $b) + (i32.const 1) + ) + ) + (set_local $c + (i32.sub + (get_local $c) + (i32.const 1) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (return (get_local $d) @@ -10917,81 +10973,87 @@ (get_local $e) ) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.lt_s - (get_local $a) - (get_local $e) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eqz + (i32.lt_s + (get_local $a) + (get_local $e) + ) ) + (br $while-out$0) ) - (br $while-out$0) - ) - (block - (i32.store8 - (get_local $a) - (get_local $b) - ) - (set_local $a - (i32.add + (block + (i32.store8 (get_local $a) - (i32.const 1) + (get_local $b) + ) + (set_local $a + (i32.add + (get_local $a) + (i32.const 1) + ) ) ) + (br $while-in$1) ) - (br $while-in$1) ) ) ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (i32.lt_s - (get_local $a) - (get_local $g) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (i32.lt_s + (get_local $a) + (get_local $g) + ) ) + (br $while-out$2) ) - (br $while-out$2) - ) - (block - (i32.store - (get_local $a) - (get_local $f) - ) - (set_local $a - (i32.add + (block + (i32.store (get_local $a) - (i32.const 4) + (get_local $f) + ) + (set_local $a + (i32.add + (get_local $a) + (i32.const 4) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (if - (i32.eqz - (i32.lt_s - (get_local $a) - (get_local $d) + (loop $while-in$5 + (block $while-out$4 + (if + (i32.eqz + (i32.lt_s + (get_local $a) + (get_local $d) + ) ) + (br $while-out$4) ) - (br $while-out$4) - ) - (block - (i32.store8 - (get_local $a) - (get_local $b) - ) - (set_local $a - (i32.add + (block + (i32.store8 (get_local $a) - (i32.const 1) + (get_local $b) + ) + (set_local $a + (i32.add + (get_local $a) + (i32.const 1) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (return (i32.sub diff --git a/test/passes/coalesce-locals-learning.txt b/test/passes/coalesce-locals-learning.txt index 6ec6f94ae..a9039e4d8 100644 --- a/test/passes/coalesce-locals-learning.txt +++ b/test/passes/coalesce-locals-learning.txt @@ -375,17 +375,19 @@ (func $loop (type $2) (local $0 i32) (local $1 i32) - (loop $out $in - (drop - (get_local $0) - ) - (set_local $0 - (i32.const 0) - ) - (drop - (get_local $1) + (block $out + (loop $in + (drop + (get_local $0) + ) + (set_local $0 + (i32.const 0) + ) + (drop + (get_local $1) + ) + (br $in) ) - (br $in) ) ) (func $interfere-in-dead (type $2) @@ -711,129 +713,135 @@ ) ) (block $block2 - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.and - (get_local $0) - (i32.const 3) - ) - ) - (br $while-out$0) - ) - (block $block4 + (block $while-out$0 + (loop $while-in$1 (if (i32.eqz - (get_local $2) - ) - (return - (get_local $3) + (i32.and + (get_local $0) + (i32.const 3) + ) ) - ) - (i32.store8 - (get_local $0) - (i32.load8_s - (get_local $1) + (br $while-out$0) + ) + (block $block4 + (if + (i32.eqz + (get_local $2) + ) + (return + (get_local $3) + ) ) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (i32.load8_s + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) ) - ) - ) - (br $while-in$1) - ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (i32.ge_s - (get_local $2) - (i32.const 4) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) ) ) - (br $while-out$2) + (br $while-in$1) ) - (block $block7 - (i32.store - (get_local $0) - (i32.load - (get_local $1) + ) + (block $while-out$2 + (loop $while-in$3 + (if + (i32.eqz + (i32.ge_s + (get_local $2) + (i32.const 4) + ) ) + (br $while-out$2) ) - (set_local $0 - (i32.add + (block $block7 + (i32.store (get_local $0) - (i32.const 4) + (i32.load + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 4) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 4) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 4) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 4) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 4) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (if - (i32.eqz - (i32.gt_s - (get_local $2) - (i32.const 0) - ) - ) - (br $while-out$4) - ) - (block $block9 - (i32.store8 - (get_local $0) - (i32.load8_s - (get_local $1) + (block $while-out$4 + (loop $while-in$5 + (if + (i32.eqz + (i32.gt_s + (get_local $2) + (i32.const 0) + ) ) + (br $while-out$4) ) - (set_local $0 - (i32.add + (block $block9 + (i32.store8 (get_local $0) - (i32.const 1) + (i32.load8_s + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (return (get_local $3) diff --git a/test/passes/coalesce-locals-learning.wast b/test/passes/coalesce-locals-learning.wast index 1e82a73b9..469a034ba 100644 --- a/test/passes/coalesce-locals-learning.wast +++ b/test/passes/coalesce-locals-learning.wast @@ -384,17 +384,19 @@ (func $loop (type $2) (local $x i32) (local $y i32) - (loop $out $in - (drop - (get_local $x) - ) - (set_local $x - (i32.const 0) - ) - (drop - (get_local $y) + (block $out + (loop $in + (drop + (get_local $x) + ) + (set_local $x + (i32.const 0) + ) + (drop + (get_local $y) + ) + (br $in) ) - (br $in) ) ) (func $interfere-in-dead (type $2) @@ -733,129 +735,135 @@ ) ) (block $block2 - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.and - (get_local $i1) - (i32.const 3) - ) - ) - (br $while-out$0) - ) - (block $block4 + (block $while-out$0 + (loop $while-in$1 (if (i32.eqz - (get_local $i3) - ) - (return - (get_local $i4) + (i32.and + (get_local $i1) + (i32.const 3) + ) ) - ) - (i32.store8 - (get_local $i1) - (i32.load8_s - (get_local $i2) + (br $while-out$0) + ) + (block $block4 + (if + (i32.eqz + (get_local $i3) + ) + (return + (get_local $i4) + ) ) - ) - (set_local $i1 - (i32.add + (i32.store8 (get_local $i1) - (i32.const 1) + (i32.load8_s + (get_local $i2) + ) ) - ) - (set_local $i2 - (i32.add - (get_local $i2) - (i32.const 1) + (set_local $i1 + (i32.add + (get_local $i1) + (i32.const 1) + ) ) - ) - (set_local $i3 - (i32.sub - (get_local $i3) - (i32.const 1) + (set_local $i2 + (i32.add + (get_local $i2) + (i32.const 1) + ) ) - ) - ) - (br $while-in$1) - ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (i32.ge_s - (get_local $i3) - (i32.const 4) + (set_local $i3 + (i32.sub + (get_local $i3) + (i32.const 1) + ) ) ) - (br $while-out$2) + (br $while-in$1) ) - (block $block7 - (i32.store - (get_local $i1) - (i32.load - (get_local $i2) + ) + (block $while-out$2 + (loop $while-in$3 + (if + (i32.eqz + (i32.ge_s + (get_local $i3) + (i32.const 4) + ) ) + (br $while-out$2) ) - (set_local $i1 - (i32.add + (block $block7 + (i32.store (get_local $i1) - (i32.const 4) + (i32.load + (get_local $i2) + ) ) - ) - (set_local $i2 - (i32.add - (get_local $i2) - (i32.const 4) + (set_local $i1 + (i32.add + (get_local $i1) + (i32.const 4) + ) ) - ) - (set_local $i3 - (i32.sub - (get_local $i3) - (i32.const 4) + (set_local $i2 + (i32.add + (get_local $i2) + (i32.const 4) + ) + ) + (set_local $i3 + (i32.sub + (get_local $i3) + (i32.const 4) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (if - (i32.eqz - (i32.gt_s - (get_local $i3) - (i32.const 0) - ) - ) - (br $while-out$4) - ) - (block $block9 - (i32.store8 - (get_local $i1) - (i32.load8_s - (get_local $i2) + (block $while-out$4 + (loop $while-in$5 + (if + (i32.eqz + (i32.gt_s + (get_local $i3) + (i32.const 0) + ) ) + (br $while-out$4) ) - (set_local $i1 - (i32.add + (block $block9 + (i32.store8 (get_local $i1) - (i32.const 1) + (i32.load8_s + (get_local $i2) + ) ) - ) - (set_local $i2 - (i32.add - (get_local $i2) - (i32.const 1) + (set_local $i1 + (i32.add + (get_local $i1) + (i32.const 1) + ) ) - ) - (set_local $i3 - (i32.sub - (get_local $i3) - (i32.const 1) + (set_local $i2 + (i32.add + (get_local $i2) + (i32.const 1) + ) + ) + (set_local $i3 + (i32.sub + (get_local $i3) + (i32.const 1) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (return (get_local $i4) diff --git a/test/passes/coalesce-locals.txt b/test/passes/coalesce-locals.txt index b8d97b921..3a038ca27 100644 --- a/test/passes/coalesce-locals.txt +++ b/test/passes/coalesce-locals.txt @@ -375,7 +375,7 @@ (func $loop (type $2) (local $0 i32) (local $1 i32) - (loop $out $in + (loop $in (drop (get_local $0) ) @@ -712,129 +712,135 @@ ) ) (block $block2 - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.and - (get_local $0) - (i32.const 3) - ) - ) - (br $while-out$0) - ) - (block $block4 + (block $while-out$0 + (loop $while-in$1 (if (i32.eqz - (get_local $2) + (i32.and + (get_local $0) + (i32.const 3) + ) ) - (return - (get_local $3) - ) - ) - (i32.store8 - (get_local $0) - (i32.load8_s - (get_local $1) + (br $while-out$0) + ) + (block $block4 + (if + (i32.eqz + (get_local $2) + ) + (return + (get_local $3) + ) ) - ) - (set_local $0 - (i32.add + (i32.store8 (get_local $0) - (i32.const 1) + (i32.load8_s + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) ) - ) - ) - (br $while-in$1) - ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (i32.ge_s - (get_local $2) - (i32.const 4) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) ) ) - (br $while-out$2) + (br $while-in$1) ) - (block $block7 - (i32.store - (get_local $0) - (i32.load - (get_local $1) + ) + (block $while-out$2 + (loop $while-in$3 + (if + (i32.eqz + (i32.ge_s + (get_local $2) + (i32.const 4) + ) ) + (br $while-out$2) ) - (set_local $0 - (i32.add + (block $block7 + (i32.store (get_local $0) - (i32.const 4) + (i32.load + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 4) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 4) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 4) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 4) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 4) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (if - (i32.eqz - (i32.gt_s - (get_local $2) - (i32.const 0) - ) - ) - (br $while-out$4) - ) - (block $block9 - (i32.store8 - (get_local $0) - (i32.load8_s - (get_local $1) + (block $while-out$4 + (loop $while-in$5 + (if + (i32.eqz + (i32.gt_s + (get_local $2) + (i32.const 0) + ) ) + (br $while-out$4) ) - (set_local $0 - (i32.add + (block $block9 + (i32.store8 (get_local $0) - (i32.const 1) + (i32.load8_s + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (return (get_local $3) diff --git a/test/passes/coalesce-locals.wast b/test/passes/coalesce-locals.wast index 568b3741c..713fd7dd9 100644 --- a/test/passes/coalesce-locals.wast +++ b/test/passes/coalesce-locals.wast @@ -384,7 +384,7 @@ (func $loop (type $2) (local $x i32) (local $y i32) - (loop $out $in + (loop $in (drop (get_local $x) ) @@ -733,129 +733,135 @@ ) ) (block $block2 - (loop $while-out$0 $while-in$1 - (if - (i32.eqz - (i32.and - (get_local $i1) - (i32.const 3) - ) - ) - (br $while-out$0) - ) - (block $block4 + (block $while-out$0 + (loop $while-in$1 (if (i32.eqz - (get_local $i3) + (i32.and + (get_local $i1) + (i32.const 3) + ) ) - (return - (get_local $i4) + (br $while-out$0) + ) + (block $block4 + (if + (i32.eqz + (get_local $i3) + ) + (return + (get_local $i4) + ) ) - ) - (i32.store8 - (get_local $i1) - (i32.load8_s - (get_local $i2) - ) - ) - (set_local $i1 - (i32.add + (i32.store8 (get_local $i1) - (i32.const 1) + (i32.load8_s + (get_local $i2) + ) ) - ) - (set_local $i2 - (i32.add - (get_local $i2) - (i32.const 1) + (set_local $i1 + (i32.add + (get_local $i1) + (i32.const 1) + ) ) - ) - (set_local $i3 - (i32.sub - (get_local $i3) - (i32.const 1) + (set_local $i2 + (i32.add + (get_local $i2) + (i32.const 1) + ) ) - ) - ) - (br $while-in$1) - ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (i32.ge_s - (get_local $i3) - (i32.const 4) + (set_local $i3 + (i32.sub + (get_local $i3) + (i32.const 1) + ) ) ) - (br $while-out$2) + (br $while-in$1) ) - (block $block7 - (i32.store - (get_local $i1) - (i32.load - (get_local $i2) + ) + (block $while-out$2 + (loop $while-in$3 + (if + (i32.eqz + (i32.ge_s + (get_local $i3) + (i32.const 4) + ) ) + (br $while-out$2) ) - (set_local $i1 - (i32.add + (block $block7 + (i32.store (get_local $i1) - (i32.const 4) + (i32.load + (get_local $i2) + ) ) - ) - (set_local $i2 - (i32.add - (get_local $i2) - (i32.const 4) + (set_local $i1 + (i32.add + (get_local $i1) + (i32.const 4) + ) ) - ) - (set_local $i3 - (i32.sub - (get_local $i3) - (i32.const 4) + (set_local $i2 + (i32.add + (get_local $i2) + (i32.const 4) + ) + ) + (set_local $i3 + (i32.sub + (get_local $i3) + (i32.const 4) + ) ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) - (loop $while-out$4 $while-in$5 - (if - (i32.eqz - (i32.gt_s - (get_local $i3) - (i32.const 0) - ) - ) - (br $while-out$4) - ) - (block $block9 - (i32.store8 - (get_local $i1) - (i32.load8_s - (get_local $i2) + (block $while-out$4 + (loop $while-in$5 + (if + (i32.eqz + (i32.gt_s + (get_local $i3) + (i32.const 0) + ) ) + (br $while-out$4) ) - (set_local $i1 - (i32.add + (block $block9 + (i32.store8 (get_local $i1) - (i32.const 1) + (i32.load8_s + (get_local $i2) + ) ) - ) - (set_local $i2 - (i32.add - (get_local $i2) - (i32.const 1) + (set_local $i1 + (i32.add + (get_local $i1) + (i32.const 1) + ) ) - ) - (set_local $i3 - (i32.sub - (get_local $i3) - (i32.const 1) + (set_local $i2 + (i32.add + (get_local $i2) + (i32.const 1) + ) + ) + (set_local $i3 + (i32.sub + (get_local $i3) + (i32.const 1) + ) ) ) + (br $while-in$5) ) - (br $while-in$5) ) (return (get_local $i4) diff --git a/test/passes/dce.txt b/test/passes/dce.txt index 92fea5c28..6e70cd8de 100644 --- a/test/passes/dce.txt +++ b/test/passes/dce.txt @@ -123,16 +123,18 @@ (i32.const 0) (unreachable) ) - (loop $out $in - (br_if $out - (i32.const 1) + (block $out + (loop $in + (br_if $out + (i32.const 1) + ) + (unreachable) ) - (unreachable) ) (if (i32.const 0) (block $block20 - (loop $out $in + (loop $in (br_if $in (i32.const 1) ) diff --git a/test/passes/dce.wast b/test/passes/dce.wast index 22ae25fbc..61b3138e5 100644 --- a/test/passes/dce.wast +++ b/test/passes/dce.wast @@ -194,20 +194,22 @@ ) (if (i32.const 0) - (loop $loop-out17 $loop-in18 + (loop $loop-in18 (unreachable) ) ) - (loop $out $in + (block $out + (loop $in (br_if $out (i32.const 1) ) (unreachable) ) + ) (if (i32.const 0) (block $block20 - (loop $out $in + (loop $in (br_if $in (i32.const 1) ) diff --git a/test/passes/duplicate-function-elimination.txt b/test/passes/duplicate-function-elimination.txt index 022d45052..c37c41fe3 100644 --- a/test/passes/duplicate-function-elimination.txt +++ b/test/passes/duplicate-function-elimination.txt @@ -283,7 +283,7 @@ (memory 0) (type $0 (func)) (func $erase (type $0) - (loop $foo $bar + (loop $bar (nop) ) ) diff --git a/test/passes/duplicate-function-elimination.wast b/test/passes/duplicate-function-elimination.wast index 1e0aaaf33..843e812f9 100644 --- a/test/passes/duplicate-function-elimination.wast +++ b/test/passes/duplicate-function-elimination.wast @@ -335,12 +335,12 @@ (memory 0) (type $0 (func)) (func $erase (type $0) - (loop $foo $bar + (loop $bar (nop) ) ) (func $other (type $0) - (loop $sfo $sjc + (loop $sjc (nop) ) ) diff --git a/test/passes/nm.txt b/test/passes/nm.txt index 8e3771ba2..1b12c5cff 100644 --- a/test/passes/nm.txt +++ b/test/passes/nm.txt @@ -9,7 +9,7 @@ ) (func $b (type $0) (drop - (loop $loop-out0 $loop-in1 + (loop $loop-in1 (nop) (i32.const 1000) ) diff --git a/test/passes/nm.wast b/test/passes/nm.wast index d75a2b99e..8cea1e648 100644 --- a/test/passes/nm.wast +++ b/test/passes/nm.wast @@ -6,7 +6,7 @@ ) (func $b (type $0) (drop - (loop $loop-out0 $loop-in1 + (loop $loop-in1 (nop) (i32.const 1000) ) diff --git a/test/passes/precompute.txt b/test/passes/precompute.txt index 9c40148b6..9825594b6 100644 --- a/test/passes/precompute.txt +++ b/test/passes/precompute.txt @@ -20,7 +20,7 @@ (drop (i32.const 3) ) - (loop $loop-out0 $in + (loop $in (br $in) ) ) diff --git a/test/passes/precompute.wast b/test/passes/precompute.wast index c702f2e8b..808485a34 100644 --- a/test/passes/precompute.wast +++ b/test/passes/precompute.wast @@ -38,7 +38,7 @@ (i32.const 1) ) ) - (loop $loop-out0 $in + (loop $in (br $in) ) ) diff --git a/test/passes/remove-unused-names.txt b/test/passes/remove-unused-names.txt index b36ebb622..fa42e8d28 100644 --- a/test/passes/remove-unused-names.txt +++ b/test/passes/remove-unused-names.txt @@ -6,42 +6,45 @@ (i32.const 0) ) (func $loops (type $1) - (loop $out $in - (br $out) - (br $in) - ) (block $out - (br $out) + (loop $in + (br $out) + (br $in) + ) ) (loop $in (br $in) ) - (loop - (nop) - ) - (loop - (loop $out $in + (nop) + (block $out + (loop $in (br $out) (br $in) ) ) - (block - (loop $out $in + (block $out + (loop $in (br $out) (br $in) ) ) - (loop $out $in - (br $out) - (br $in) + (loop $in + (block $out + (br $out) + (br $in) + ) ) - (loop $out $in - (br $out) - (br $in) + (loop $in + (block $out + (br $out) + (br $in) + ) ) - (loop $out $in - (br $out) - (br $in) + (block $out + (loop $in + (br $out) + (br $in) + ) ) ) (func $merges (type $1) diff --git a/test/passes/remove-unused-names.wast b/test/passes/remove-unused-names.wast index 4b3365bf8..c8efa0c15 100644 --- a/test/passes/remove-unused-names.wast +++ b/test/passes/remove-unused-names.wast @@ -8,45 +8,48 @@ ) ) (func $loops (type $1) - (loop $out $in - (br $out) - (br $in) - ) - (loop $out $in - (br $out) + (block $out + (loop $in + (br $out) + (br $in) + ) ) - (loop $out $in + (loop $in (br $in) ) - (loop $out $in + (loop $in (nop) ) - (loop $out $in - (loop $out $in - (br $out) - (br $in) + (block $out + (loop $in + (block $out + (loop $in + (br $out) + (br $in) + ) + ) ) ) (block $out - (loop $out $in + (loop $in (br $out) (br $in) ) ) - (loop $out $in + (loop $in (block $out (br $out) (br $in) ) ) - (loop $loop-out0 $in + (loop $in (block $out (br $out) (br $in) ) ) (block $out - (loop $loop-out1 $in + (loop $in (br $out) (br $in) ) diff --git a/test/passes/simplify-locals.txt b/test/passes/simplify-locals.txt index f2425b364..60e07f3fb 100644 --- a/test/passes/simplify-locals.txt +++ b/test/passes/simplify-locals.txt @@ -319,7 +319,7 @@ (i32.const 1337) ) (drop - (loop $loop-out4 $loop-in5 + (loop $loop-in5 (drop (get_local $a) ) diff --git a/test/passes/simplify-locals.wast b/test/passes/simplify-locals.wast index 07d7ccd03..d74ebe054 100644 --- a/test/passes/simplify-locals.wast +++ b/test/passes/simplify-locals.wast @@ -366,7 +366,7 @@ (i32.const 1337) ) (drop - (loop $loop-out4 $loop-in5 + (loop $loop-in5 (drop (get_local $a) ) diff --git a/test/passes/vacuum.wast b/test/passes/vacuum.wast index 7dc77eac6..7b8d6a08a 100644 --- a/test/passes/vacuum.wast +++ b/test/passes/vacuum.wast @@ -99,15 +99,15 @@ ) ) (func $loopy (type $1) (param $0 i32) - (loop $loop-out0 $loop-in1 + (loop $loop-in1 (nop) ) - (loop $loop-out2 $loop-in3 + (loop $loop-in3 (nop) (nop) ) (drop - (loop $loop-out4 $loop-in5 + (loop $loop-in5 (drop (get_local $0) ) diff --git a/test/unit.fromasm b/test/unit.fromasm index edb9f5ece..356c935c9 100644 --- a/test/unit.fromasm +++ b/test/unit.fromasm @@ -162,46 +162,42 @@ ) ) ) - (br $switch-default$16) ) - (br $switch-default$16) ) - (block $while-out$10 - ) - (br $switch-default$16) - ) - (loop - (br $switch-default$16) - ) - ) - (loop $label$break$L1 $label$continue$L1 - (loop $label$break$L3 $label$continue$L3 - (block $switch$17 - (block $switch-default$21 - (block $switch-case$20 - (block $switch-case$19 - (block $switch-case$18 - (br_table $switch-case$18 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-case$20 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-case$19 $switch-default$21 - (i32.sub - (get_local $0) - (i32.const -1) + ) + ) + (loop $label$continue$L1 + (block $label$break$L1 + (loop $label$continue$L3 + (block $label$break$L3 + (block $switch$17 + (block $switch-default$21 + (block $switch-case$20 + (block $switch-case$19 + (block $switch-case$18 + (br_table $switch-case$18 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-case$20 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-case$19 $switch-default$21 + (i32.sub + (get_local $0) + (i32.const -1) + ) + ) ) + (br $label$break$L1) ) + (br $switch$17) ) - (br $label$break$L1) + (br $label$break$L3) ) - (br $switch$17) + (br $label$break$L1) ) - (br $label$break$L3) + (br $label$continue$L3) ) - (br $label$break$L1) ) - (br $label$continue$L3) - ) - (call_import $h - (i32.const 120) + (call_import $h + (i32.const 120) + ) + (br $label$continue$L1) ) - (br $label$continue$L1) ) (i32.const 0) ) @@ -290,23 +286,25 @@ (set_local $0 (i32.const 1) ) - (loop $for-out$0 $for-in$1 - (br_if $for-out$0 - (i32.ge_s - (get_local $0) - (i32.const 200) + (loop $for-in$1 + (block $for-out$0 + (br_if $for-out$0 + (i32.ge_s + (get_local $0) + (i32.const 200) + ) ) - ) - (call_import $h - (get_local $0) - ) - (set_local $0 - (i32.add + (call_import $h (get_local $0) - (i32.const 1) ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) + ) + (br $for-in$1) ) - (br $for-in$1) ) ) (func $ceiling_32_64 (param $0 f32) (param $1 f64) diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise index abb6c3317..160047635 100644 --- a/test/unit.fromasm.imprecise +++ b/test/unit.fromasm.imprecise @@ -150,46 +150,42 @@ ) ) ) - (br $switch-default$16) ) - (br $switch-default$16) ) - (block $while-out$10 - ) - (br $switch-default$16) - ) - (loop - (br $switch-default$16) - ) - ) - (loop $label$break$L1 $label$continue$L1 - (loop $label$break$L3 $label$continue$L3 - (block $switch$17 - (block $switch-default$21 - (block $switch-case$20 - (block $switch-case$19 - (block $switch-case$18 - (br_table $switch-case$18 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-case$20 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-case$19 $switch-default$21 - (i32.sub - (get_local $0) - (i32.const -1) + ) + ) + (loop $label$continue$L1 + (block $label$break$L1 + (loop $label$continue$L3 + (block $label$break$L3 + (block $switch$17 + (block $switch-default$21 + (block $switch-case$20 + (block $switch-case$19 + (block $switch-case$18 + (br_table $switch-case$18 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-case$20 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-case$19 $switch-default$21 + (i32.sub + (get_local $0) + (i32.const -1) + ) + ) ) + (br $label$break$L1) ) + (br $switch$17) ) - (br $label$break$L1) + (br $label$break$L3) ) - (br $switch$17) + (br $label$break$L1) ) - (br $label$break$L3) + (br $label$continue$L3) ) - (br $label$break$L1) ) - (br $label$continue$L3) - ) - (call_import $h - (i32.const 120) + (call_import $h + (i32.const 120) + ) + (br $label$continue$L1) ) - (br $label$continue$L1) ) (i32.const 0) ) @@ -272,23 +268,25 @@ (set_local $0 (i32.const 1) ) - (loop $for-out$0 $for-in$1 - (br_if $for-out$0 - (i32.ge_s - (get_local $0) - (i32.const 200) + (loop $for-in$1 + (block $for-out$0 + (br_if $for-out$0 + (i32.ge_s + (get_local $0) + (i32.const 200) + ) ) - ) - (call_import $h - (get_local $0) - ) - (set_local $0 - (i32.add + (call_import $h (get_local $0) - (i32.const 1) ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) + ) + (br $for-in$1) ) - (br $for-in$1) ) ) (func $ceiling_32_64 (param $0 f32) (param $1 f64) diff --git a/test/unit.fromasm.imprecise.no-opts b/test/unit.fromasm.imprecise.no-opts index b7f63c67b..65f556365 100644 --- a/test/unit.fromasm.imprecise.no-opts +++ b/test/unit.fromasm.imprecise.no-opts @@ -251,63 +251,71 @@ (br $label$break$Lout) ) (block - (loop $while-out$10 $while-in$11 - (br $while-out$10) - (br $while-in$11) + (loop $while-in$11 + (block $while-out$10 + (br $while-out$10) + (br $while-in$11) + ) ) (br $label$break$Lout) ) ) (block - (loop $while-out$13 $while-in$14 - (br $label$break$Lout) - (br $while-in$14) + (loop $while-in$14 + (block $while-out$13 + (br $label$break$Lout) + (br $while-in$14) + ) ) (br $label$break$Lout) ) ) ) - (loop $label$break$L1 $label$continue$L1 - (loop $label$break$L3 $label$continue$L3 - (block $switch$17 - (block $switch-default$21 - (block $switch-default$21 - (block $switch-case$20 - (block $switch-case$19 - (block $switch-case$18 - (br_table $switch-case$18 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-case$20 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-case$19 $switch-default$21 - (i32.sub - (get_local $x) - (i32.const -1) + (loop $label$continue$L1 + (block $label$break$L1 + (loop $label$continue$L3 + (block $label$break$L3 + (block $switch$17 + (block $switch-default$21 + (block $switch-default$21 + (block $switch-case$20 + (block $switch-case$19 + (block $switch-case$18 + (br_table $switch-case$18 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-case$20 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-case$19 $switch-default$21 + (i32.sub + (get_local $x) + (i32.const -1) + ) + ) + ) + (block + (br $label$break$L1) + (br $switch$17) + ) + ) + (block + (set_local $waka + (i32.const 1) ) + (br $switch$17) ) ) (block - (br $label$break$L1) + (br $label$break$L3) (br $switch$17) ) ) - (block - (set_local $waka - (i32.const 1) - ) - (br $switch$17) - ) - ) - (block - (br $label$break$L3) - (br $switch$17) + (br $label$break$L1) ) ) - (br $label$break$L1) + (br $label$continue$L3) ) ) - (br $label$continue$L3) - ) - (call_import $h - (i32.const 120) + (call_import $h + (i32.const 120) + ) + (br $label$continue$L1) ) - (br $label$continue$L1) ) (return (i32.const 0) @@ -493,26 +501,28 @@ (set_local $i (i32.const 1) ) - (loop $for-out$0 $for-in$1 - (if - (i32.eqz - (i32.lt_s - (get_local $i) - (i32.const 200) + (loop $for-in$1 + (block $for-out$0 + (if + (i32.eqz + (i32.lt_s + (get_local $i) + (i32.const 200) + ) ) + (br $for-out$0) ) - (br $for-out$0) - ) - (call_import $h - (get_local $i) - ) - (set_local $i - (i32.add + (call_import $h (get_local $i) - (i32.const 1) ) + (set_local $i + (i32.add + (get_local $i) + (i32.const 1) + ) + ) + (br $for-in$1) ) - (br $for-in$1) ) ) (func $ceiling_32_64 (param $u f32) (param $B f64) @@ -557,23 +567,27 @@ ) ) (func $continues - (loop $while-out$0 $while-in$1 - (call_import $print - (i32.const 1) - ) - (loop $do-once$2 $unlikely-continue$3 + (loop $while-in$1 + (block $while-out$0 (call_import $print - (i32.const 5) + (i32.const 1) ) - (if - (i32.const 0) - (br $unlikely-continue$3) + (block $do-once$2 + (loop $unlikely-continue$3 + (call_import $print + (i32.const 5) + ) + (if + (i32.const 0) + (br $unlikely-continue$3) + ) + ) ) + (call_import $print + (i32.const 2) + ) + (br $while-in$1) ) - (call_import $print - (i32.const 2) - ) - (br $while-in$1) ) ) (func $bitcasts (param $i i32) (param $f f32) diff --git a/test/unit.fromasm.no-opts b/test/unit.fromasm.no-opts index 55966a172..a170b7676 100644 --- a/test/unit.fromasm.no-opts +++ b/test/unit.fromasm.no-opts @@ -257,63 +257,71 @@ (br $label$break$Lout) ) (block - (loop $while-out$10 $while-in$11 - (br $while-out$10) - (br $while-in$11) + (loop $while-in$11 + (block $while-out$10 + (br $while-out$10) + (br $while-in$11) + ) ) (br $label$break$Lout) ) ) (block - (loop $while-out$13 $while-in$14 - (br $label$break$Lout) - (br $while-in$14) + (loop $while-in$14 + (block $while-out$13 + (br $label$break$Lout) + (br $while-in$14) + ) ) (br $label$break$Lout) ) ) ) - (loop $label$break$L1 $label$continue$L1 - (loop $label$break$L3 $label$continue$L3 - (block $switch$17 - (block $switch-default$21 - (block $switch-default$21 - (block $switch-case$20 - (block $switch-case$19 - (block $switch-case$18 - (br_table $switch-case$18 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-case$20 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-case$19 $switch-default$21 - (i32.sub - (get_local $x) - (i32.const -1) + (loop $label$continue$L1 + (block $label$break$L1 + (loop $label$continue$L3 + (block $label$break$L3 + (block $switch$17 + (block $switch-default$21 + (block $switch-default$21 + (block $switch-case$20 + (block $switch-case$19 + (block $switch-case$18 + (br_table $switch-case$18 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-case$20 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-default$21 $switch-case$19 $switch-default$21 + (i32.sub + (get_local $x) + (i32.const -1) + ) + ) + ) + (block + (br $label$break$L1) + (br $switch$17) + ) + ) + (block + (set_local $waka + (i32.const 1) ) + (br $switch$17) ) ) (block - (br $label$break$L1) + (br $label$break$L3) (br $switch$17) ) ) - (block - (set_local $waka - (i32.const 1) - ) - (br $switch$17) - ) - ) - (block - (br $label$break$L3) - (br $switch$17) + (br $label$break$L1) ) ) - (br $label$break$L1) + (br $label$continue$L3) ) ) - (br $label$continue$L3) - ) - (call_import $h - (i32.const 120) + (call_import $h + (i32.const 120) + ) + (br $label$continue$L1) ) - (br $label$continue$L1) ) (return (i32.const 0) @@ -499,26 +507,28 @@ (set_local $i (i32.const 1) ) - (loop $for-out$0 $for-in$1 - (if - (i32.eqz - (i32.lt_s - (get_local $i) - (i32.const 200) + (loop $for-in$1 + (block $for-out$0 + (if + (i32.eqz + (i32.lt_s + (get_local $i) + (i32.const 200) + ) ) + (br $for-out$0) ) - (br $for-out$0) - ) - (call_import $h - (get_local $i) - ) - (set_local $i - (i32.add + (call_import $h (get_local $i) - (i32.const 1) ) + (set_local $i + (i32.add + (get_local $i) + (i32.const 1) + ) + ) + (br $for-in$1) ) - (br $for-in$1) ) ) (func $ceiling_32_64 (param $u f32) (param $B f64) @@ -563,23 +573,27 @@ ) ) (func $continues - (loop $while-out$0 $while-in$1 - (call_import $print - (i32.const 1) - ) - (loop $do-once$2 $unlikely-continue$3 + (loop $while-in$1 + (block $while-out$0 (call_import $print - (i32.const 5) + (i32.const 1) ) - (if - (i32.const 0) - (br $unlikely-continue$3) + (block $do-once$2 + (loop $unlikely-continue$3 + (call_import $print + (i32.const 5) + ) + (if + (i32.const 0) + (br $unlikely-continue$3) + ) + ) ) + (call_import $print + (i32.const 2) + ) + (br $while-in$1) ) - (call_import $print - (i32.const 2) - ) - (br $while-in$1) ) ) (func $bitcasts (param $i i32) (param $f f32) diff --git a/test/unit.wast b/test/unit.wast index b4105ed0b..ca0e811a9 100644 --- a/test/unit.wast +++ b/test/unit.wast @@ -253,8 +253,8 @@ ) (br $label$break$Lout) ) - (block $block0 - (loop $while-out$10 $while-in$11 + (block $while-out$10 + (loop $while-in$11 (block $block1 (br $while-out$10) (br $while-in$11) @@ -263,8 +263,8 @@ (br $label$break$Lout) ) ) - (block $block2 - (loop $while-out$13 $while-in$14 + (block $while-out$13 + (loop $while-in$14 (block $block3 (br $label$break$Lout) (br $while-in$14) @@ -429,7 +429,7 @@ (i32.const 0) ) (func $loop-roundtrip (type $7) (param $0 f64) (result f64) - (loop $loop-out0 $loop-in1 + (loop $loop-in1 (drop (get_local $0) ) diff --git a/test/unit.wast.fromBinary b/test/unit.wast.fromBinary index 971b89fb7..0e681de27 100644 --- a/test/unit.wast.fromBinary +++ b/test/unit.wast.fromBinary @@ -266,17 +266,17 @@ (br $label$9) ) (block $label$15 - (loop $label$16 $label$17 + (loop $label$16 + (br $label$15) (br $label$16) - (br $label$17) ) (br $label$9) ) ) - (block $label$18 - (loop $label$19 $label$20 + (block $label$17 + (loop $label$18 (br $label$9) - (br $label$20) + (br $label$18) ) (br $label$9) ) @@ -439,7 +439,7 @@ ) ) (func $loop-roundtrip (type $7) (param $var$0 f64) (result f64) - (loop $label$0 $label$1 + (loop $label$0 (drop (get_local $var$0) ) -- cgit v1.2.3 From 2e2e0241a10c0eccb89365c1b50217d6d0d3a386 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 18 Aug 2016 11:15:39 -0700 Subject: export kinds --- src/asm2wasm.h | 8 ++++- src/binaryen-c.cpp | 8 ++++- src/passes/Print.cpp | 15 +++++---- src/wasm-binary.h | 39 +++++++++++++++++----- src/wasm-linker.cpp | 7 +++- src/wasm-linker.h | 1 + src/wasm-s-parser.h | 28 ++++++++++++---- src/wasm-validator.h | 14 ++++---- src/wasm.h | 9 ++++- test/emcc_O2_hello_world.fromasm | 2 +- test/emcc_O2_hello_world.fromasm.imprecise | 2 +- test/emcc_O2_hello_world.fromasm.imprecise.no-opts | 2 +- test/emcc_O2_hello_world.fromasm.no-opts | 2 +- test/emcc_hello_world.fromasm | 2 +- test/emcc_hello_world.fromasm.imprecise | 2 +- test/emcc_hello_world.fromasm.imprecise.no-opts | 2 +- test/emcc_hello_world.fromasm.no-opts | 2 +- test/example/c-api-kitchen-sink.txt | 4 +-- test/example/c-api-kitchen-sink.txt.txt | 2 +- test/example/relooper-fuzz.txt | 4 +-- test/example/relooper-fuzz1.txt | 4 +-- test/hello_world.fromasm | 2 +- test/hello_world.fromasm.imprecise | 2 +- test/hello_world.fromasm.imprecise.no-opts | 2 +- test/hello_world.fromasm.no-opts | 2 +- test/memorygrowth.fromasm | 2 +- test/memorygrowth.fromasm.imprecise | 2 +- test/memorygrowth.fromasm.imprecise.no-opts | 2 +- test/memorygrowth.fromasm.no-opts | 2 +- test/min.fromasm | 2 +- test/min.fromasm.imprecise | 2 +- test/min.fromasm.imprecise.no-opts | 2 +- test/min.fromasm.no-opts | 2 +- test/two_sides.fromasm | 2 +- test/two_sides.fromasm.imprecise | 2 +- test/two_sides.fromasm.imprecise.no-opts | 2 +- test/two_sides.fromasm.no-opts | 2 +- test/unit.fromasm | 2 +- test/unit.fromasm.imprecise | 2 +- test/unit.fromasm.imprecise.no-opts | 2 +- test/unit.fromasm.no-opts | 2 +- 41 files changed, 131 insertions(+), 68 deletions(-) (limited to 'src/binaryen-c.cpp') diff --git a/src/asm2wasm.h b/src/asm2wasm.h index 4d2ddb0cd..c88563109 100644 --- a/src/asm2wasm.h +++ b/src/asm2wasm.h @@ -710,6 +710,7 @@ void Asm2WasmBuilder::processAsm(Ref ast) { auto* export_ = new Export; export_->name = key; export_->value = value; + export_->kind = Export::Function; wasm.addExport(export_); exported[key] = export_; } @@ -813,10 +814,15 @@ void Asm2WasmBuilder::processAsm(Ref ast) { )); auto export_ = new Export; export_->name = export_->value = GROW_WASM_MEMORY; + export_->kind = Export::Function; wasm.addExport(export_); } - wasm.memory.exportName = MEMORY; + auto memoryExport = make_unique(); + memoryExport->name = MEMORY; + memoryExport->value = Name::fromInt(0); + memoryExport->kind = Export::Memory; + wasm.addExport(memoryExport.release()); #if 0 // enable asm2wasm i64 optimizations when browsers have consistent i64 support in wasm if (udivmoddi4.is() && getTempRet0.is()) { diff --git a/src/binaryen-c.cpp b/src/binaryen-c.cpp index 8703237d5..e333f64d8 100644 --- a/src/binaryen-c.cpp +++ b/src/binaryen-c.cpp @@ -805,7 +805,13 @@ void BinaryenSetMemory(BinaryenModuleRef module, BinaryenIndex initial, Binaryen auto* wasm = (Module*)module; wasm->memory.initial = initial; wasm->memory.max = maximum; - if (exportName) wasm->memory.exportName = exportName; + if (exportName) { + auto memoryExport = make_unique(); + memoryExport->name = exportName; + memoryExport->value = Name::fromInt(0); + memoryExport->kind = Export::Memory; + wasm->addExport(memoryExport.release()); + } for (BinaryenIndex i = 0; i < numSegments; i++) { wasm->memory.segments.emplace_back((Expression*)segmentOffsets[i], segments[i], segmentSizes[i]); } diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index 02e9b9065..0152f917c 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -543,7 +543,14 @@ struct PrintSExpression : public Visitor { void visitExport(Export *curr) { printOpening(o, "export "); printText(o, curr->name.str) << ' '; - printName(curr->value) << ')'; + switch (curr->kind) { + case Export::Function: printName(curr->value); break; + case Export::Table: o << "table"; break; + case Export::Memory: o << "memory"; break; + case Export::Global: o << "global "; printName(curr->value); break; + default: WASM_UNREACHABLE(); + } + o << ')'; } void visitGlobal(Global *curr) { printOpening(o, "global "); @@ -636,12 +643,6 @@ struct PrintSExpression : public Visitor { } o << "\")\n"; } - if (curr->memory.exportName.is()) { - doIndent(o, indent); - printOpening(o, "export "); - printText(o, curr->memory.exportName.str) << " memory)"; - o << maybeNewLine; - } if (curr->start.is()) { doIndent(o, indent); printOpening(o, "start") << ' ' << curr->start << ')'; diff --git a/src/wasm-binary.h b/src/wasm-binary.h index fa4b78c9d..e250e26ff 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -531,8 +531,7 @@ public: if (debug) std::cerr << "== writeMemory" << std::endl; auto start = startSection(BinaryConsts::Section::Memory); o << U32LEB(wasm->memory.initial) - << U32LEB(wasm->memory.max) - << int8_t(wasm->memory.exportName.is()); // export memory + << U32LEB(wasm->memory.max); finishSection(start); } @@ -692,7 +691,14 @@ public: o << U32LEB(wasm->exports.size()); for (auto& curr : wasm->exports) { if (debug) std::cerr << "write one" << std::endl; - o << U32LEB(getFunctionIndex(curr->value)); + o << U32LEB(curr->kind); + switch (curr->kind) { + case Export::Function: o << U32LEB(getFunctionIndex(curr->value)); break; + case Export::Table: o << U32LEB(0); break; + case Export::Memory: o << U32LEB(0); break; + case Export::Global: o << U32LEB(getGlobalIndex(curr->value)); break; + default: WASM_UNREACHABLE(); + } writeInlineString(curr->name.str); } finishSection(start); @@ -741,6 +747,19 @@ public: return mappedFunctions[name]; } + std::map mappedGlobals; // name of the Global => index + uint32_t getGlobalIndex(Name name) { + if (!mappedGlobals.size()) { + // Create name => index mapping. + for (size_t i = 0; i < wasm->globals.size(); i++) { + assert(mappedGlobals.count(wasm->globals[i]->name) == 0); + mappedGlobals[wasm->globals[i]->name] = i; + } + } + assert(mappedGlobals.count(name)); + return mappedGlobals[name]; + } + void writeFunctionTable() { if (wasm->table.segments.size() == 0) return; if (debug) std::cerr << "== writeFunctionTable" << std::endl; @@ -1437,10 +1456,6 @@ public: if (debug) std::cerr << "== readMemory" << std::endl; wasm.memory.initial = getU32LEB(); wasm.memory.max = getU32LEB(); - auto exportMemory = getInt8(); - if (exportMemory) { - wasm.memory.exportName = Name("memory"); - } } void readSignatures() { @@ -1578,8 +1593,8 @@ public: for (size_t i = 0; i < num; i++) { if (debug) std::cerr << "read one" << std::endl; auto curr = new Export; + curr->kind = (Export::Kind)getU32LEB(); auto index = getU32LEB(); - assert(index < functionTypes.size()); curr->name = getInlineString(); exportIndexes[curr] = index; } @@ -1644,7 +1659,13 @@ public: for (auto& iter : exportIndexes) { Export* curr = iter.first; - curr->value = wasm.functions[iter.second]->name; + switch (curr->kind) { + case Export::Function: curr->value = wasm.functions[iter.second]->name; break; + case Export::Table: curr->value = Name::fromInt(0); break; + case Export::Memory: curr->value = Name::fromInt(0); break; + case Export::Global: curr->value = wasm.globals[iter.second]->name; break; + default: WASM_UNREACHABLE(); + } wasm.addExport(curr); } diff --git a/src/wasm-linker.cpp b/src/wasm-linker.cpp index b1160e94a..9e968598a 100644 --- a/src/wasm-linker.cpp +++ b/src/wasm-linker.cpp @@ -106,7 +106,12 @@ void Linker::layout() { } if (userMaxMemory) out.wasm.memory.max = userMaxMemory / Memory::kPageSize; - out.wasm.memory.exportName = MEMORY; + + auto memoryExport = make_unique(); + memoryExport->name = MEMORY; + memoryExport->value = Name::fromInt(0); + memoryExport->kind = Export::Memory; + out.wasm.addExport(memoryExport.release()); // XXX For now, export all functions marked .globl. for (Name name : out.globls) exportFunction(name, false); diff --git a/src/wasm-linker.h b/src/wasm-linker.h index a6f5d319a..21d336273 100644 --- a/src/wasm-linker.h +++ b/src/wasm-linker.h @@ -310,6 +310,7 @@ class Linker { if (out.wasm.checkExport(name)) return; // Already exported auto exp = new Export; exp->name = exp->value = name; + exp->kind = Export::Function; out.wasm.addExport(exp); } diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h index 429dde417..b6270217b 100644 --- a/src/wasm-s-parser.h +++ b/src/wasm-s-parser.h @@ -443,6 +443,7 @@ private: auto ex = make_unique(); ex->name = exportName; ex->value = name; + ex->kind = Export::Function; wasm.addExport(ex.release()); } functionCounter++; @@ -1405,15 +1406,28 @@ private: } void parseExport(Element& s) { + std::unique_ptr ex = make_unique(); if (!s[2]->dollared() && !std::isdigit(s[2]->str()[0])) { - assert(s[2]->str() == MEMORY); - if (!hasMemory) throw ParseException("memory exported but no memory"); - wasm.memory.exportName = s[1]->str(); - return; + ex->name = s[1]->str(); + if (s[2]->str() == MEMORY) { + if (!hasMemory) throw ParseException("memory exported but no memory"); + ex->value = Name::fromInt(0); + ex->kind = Export::Memory; + } else if (s[2]->str() == TABLE) { + ex->value = Name::fromInt(0); + ex->kind = Export::Table; + } else if (s[2]->str() == GLOBAL) { + ex->value = s[3]->str(); + ex->kind = Export::Table; + } else { + WASM_UNREACHABLE(); + } + } else { + // function + ex->name = s[1]->str(); + ex->value = s[2]->str(); + ex->kind = Export::Function; } - std::unique_ptr ex = make_unique(); - ex->name = s[1]->str(); - ex->value = s[2]->str(); wasm.addExport(ex.release()); } diff --git a/src/wasm-validator.h b/src/wasm-validator.h index ffdd2a2b7..77bf6d3e9 100644 --- a/src/wasm-validator.h +++ b/src/wasm-validator.h @@ -367,14 +367,16 @@ public: std::set exportNames; for (auto& exp : curr->exports) { Name name = exp->value; - bool found = false; - for (auto& func : curr->functions) { - if (func->name == name) { - found = true; - break; + if (exp->kind == Export::Function) { + bool found = false; + for (auto& func : curr->functions) { + if (func->name == name) { + found = true; + break; + } } + shouldBeTrue(found, name, "module exports must be found"); } - shouldBeTrue(found, name, "module exports must be found"); Name exportName = exp->name; shouldBeFalse(exportNames.count(exportName) > 0, exportName, "module exports must be unique"); exportNames.insert(exportName); diff --git a/src/wasm.h b/src/wasm.h index 43c8b192b..f93fb3a80 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -1438,8 +1438,16 @@ public: class Export { public: + enum Kind { + Function = 0, + Table = 1, + Memory = 2, + Global = 3, + }; + Name name; // exported name Name value; // internal name + Kind kind; }; class Table { @@ -1484,7 +1492,6 @@ public: Address initial, max; // sizes are in pages std::vector segments; - Name exportName; Memory() : initial(0), max(kMaxSize) {} }; diff --git a/test/emcc_O2_hello_world.fromasm b/test/emcc_O2_hello_world.fromasm index fce0596e6..1414e1782 100644 --- a/test/emcc_O2_hello_world.fromasm +++ b/test/emcc_O2_hello_world.fromasm @@ -1,6 +1,5 @@ (module (memory 256 256) - (export "memory" memory) (type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32))) (type $FUNCSIG$iii (func (param i32 i32) (result i32))) (type $FUNCSIG$ii (func (param i32) (result i32))) @@ -42,6 +41,7 @@ (export "dynCall_ii" $dynCall_ii) (export "dynCall_iiii" $dynCall_iiii) (export "dynCall_vi" $dynCall_vi) + (export "memory" memory) (table 18 18 anyfunc) (elem (i32.const 0) $b0 $___stdio_close $b1 $b1 $___stdout_write $___stdio_seek $b1 $___stdio_write $b1 $b1 $b2 $b2 $b2 $b2 $_cleanup_418 $b2 $b2 $b2) (func $_malloc (param $0 i32) (result i32) diff --git a/test/emcc_O2_hello_world.fromasm.imprecise b/test/emcc_O2_hello_world.fromasm.imprecise index 8ecf57704..769fc3dd6 100644 --- a/test/emcc_O2_hello_world.fromasm.imprecise +++ b/test/emcc_O2_hello_world.fromasm.imprecise @@ -1,6 +1,5 @@ (module (memory 256 256) - (export "memory" memory) (type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32))) (type $FUNCSIG$ii (func (param i32) (result i32))) (type $FUNCSIG$vi (func (param i32))) @@ -41,6 +40,7 @@ (export "dynCall_ii" $dynCall_ii) (export "dynCall_iiii" $dynCall_iiii) (export "dynCall_vi" $dynCall_vi) + (export "memory" memory) (table 18 18 anyfunc) (elem (i32.const 0) $b0 $___stdio_close $b1 $b1 $___stdout_write $___stdio_seek $b1 $___stdio_write $b1 $b1 $b2 $b2 $b2 $b2 $_cleanup_418 $b2 $b2 $b2) (func $_malloc (param $0 i32) (result i32) diff --git a/test/emcc_O2_hello_world.fromasm.imprecise.no-opts b/test/emcc_O2_hello_world.fromasm.imprecise.no-opts index 163015994..79748fc64 100644 --- a/test/emcc_O2_hello_world.fromasm.imprecise.no-opts +++ b/test/emcc_O2_hello_world.fromasm.imprecise.no-opts @@ -1,6 +1,5 @@ (module (memory 256 256) - (export "memory" memory) (type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32))) (type $FUNCSIG$ii (func (param i32) (result i32))) (type $FUNCSIG$vi (func (param i32))) @@ -41,6 +40,7 @@ (export "dynCall_ii" $dynCall_ii) (export "dynCall_iiii" $dynCall_iiii) (export "dynCall_vi" $dynCall_vi) + (export "memory" memory) (table 18 18 anyfunc) (elem (i32.const 0) $b0 $___stdio_close $b1 $b1 $___stdout_write $___stdio_seek $b1 $___stdio_write $b1 $b1 $b2 $b2 $b2 $b2 $_cleanup_418 $b2 $b2 $b2) (func $_malloc (param $i1 i32) (result i32) diff --git a/test/emcc_O2_hello_world.fromasm.no-opts b/test/emcc_O2_hello_world.fromasm.no-opts index d8589967a..907460e39 100644 --- a/test/emcc_O2_hello_world.fromasm.no-opts +++ b/test/emcc_O2_hello_world.fromasm.no-opts @@ -1,6 +1,5 @@ (module (memory 256 256) - (export "memory" memory) (type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32))) (type $FUNCSIG$iii (func (param i32 i32) (result i32))) (type $FUNCSIG$ii (func (param i32) (result i32))) @@ -42,6 +41,7 @@ (export "dynCall_ii" $dynCall_ii) (export "dynCall_iiii" $dynCall_iiii) (export "dynCall_vi" $dynCall_vi) + (export "memory" memory) (table 18 18 anyfunc) (elem (i32.const 0) $b0 $___stdio_close $b1 $b1 $___stdout_write $___stdio_seek $b1 $___stdio_write $b1 $b1 $b2 $b2 $b2 $b2 $_cleanup_418 $b2 $b2 $b2) (func $_malloc (param $i1 i32) (result i32) diff --git a/test/emcc_hello_world.fromasm b/test/emcc_hello_world.fromasm index ea3485584..6154be66d 100644 --- a/test/emcc_hello_world.fromasm +++ b/test/emcc_hello_world.fromasm @@ -1,6 +1,5 @@ (module (memory 256 256) - (export "memory" memory) (type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32))) (type $FUNCSIG$id (func (param f64) (result i32))) (type $FUNCSIG$iii (func (param i32 i32) (result i32))) @@ -55,6 +54,7 @@ (export "dynCall_iiii" $dynCall_iiii) (export "dynCall_vi" $dynCall_vi) (export "___udivmoddi4" $___udivmoddi4) + (export "memory" memory) (table 18 18 anyfunc) (elem (i32.const 0) $b0 $___stdio_close $b1 $b1 $___stdout_write $___stdio_seek $___stdio_write $b1 $b1 $b1 $b2 $b2 $b2 $b2 $b2 $_cleanup $b2 $b2) (func $stackAlloc (param $0 i32) (result i32) diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise index 06efe55d2..e51d8ce07 100644 --- a/test/emcc_hello_world.fromasm.imprecise +++ b/test/emcc_hello_world.fromasm.imprecise @@ -1,6 +1,5 @@ (module (memory 256 256) - (export "memory" memory) (type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32))) (type $FUNCSIG$ii (func (param i32) (result i32))) (type $FUNCSIG$vi (func (param i32))) @@ -49,6 +48,7 @@ (export "dynCall_iiii" $dynCall_iiii) (export "dynCall_vi" $dynCall_vi) (export "___udivmoddi4" $___udivmoddi4) + (export "memory" memory) (table 18 18 anyfunc) (elem (i32.const 0) $b0 $___stdio_close $b1 $b1 $___stdout_write $___stdio_seek $___stdio_write $b1 $b1 $b1 $b2 $b2 $b2 $b2 $b2 $_cleanup $b2 $b2) (func $stackAlloc (param $0 i32) (result i32) diff --git a/test/emcc_hello_world.fromasm.imprecise.no-opts b/test/emcc_hello_world.fromasm.imprecise.no-opts index 5e469d9bb..77f4b2a7f 100644 --- a/test/emcc_hello_world.fromasm.imprecise.no-opts +++ b/test/emcc_hello_world.fromasm.imprecise.no-opts @@ -1,6 +1,5 @@ (module (memory 256 256) - (export "memory" memory) (type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32))) (type $FUNCSIG$ii (func (param i32) (result i32))) (type $FUNCSIG$vi (func (param i32))) @@ -49,6 +48,7 @@ (export "dynCall_iiii" $dynCall_iiii) (export "dynCall_vi" $dynCall_vi) (export "___udivmoddi4" $___udivmoddi4) + (export "memory" memory) (table 18 18 anyfunc) (elem (i32.const 0) $b0 $___stdio_close $b1 $b1 $___stdout_write $___stdio_seek $___stdio_write $b1 $b1 $b1 $b2 $b2 $b2 $b2 $b2 $_cleanup $b2 $b2) (func $stackAlloc (param $size i32) (result i32) diff --git a/test/emcc_hello_world.fromasm.no-opts b/test/emcc_hello_world.fromasm.no-opts index d1295a8bd..4d2fb5e7a 100644 --- a/test/emcc_hello_world.fromasm.no-opts +++ b/test/emcc_hello_world.fromasm.no-opts @@ -1,6 +1,5 @@ (module (memory 256 256) - (export "memory" memory) (type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32))) (type $FUNCSIG$id (func (param f64) (result i32))) (type $FUNCSIG$iii (func (param i32 i32) (result i32))) @@ -55,6 +54,7 @@ (export "dynCall_iiii" $dynCall_iiii) (export "dynCall_vi" $dynCall_vi) (export "___udivmoddi4" $___udivmoddi4) + (export "memory" memory) (table 18 18 anyfunc) (elem (i32.const 0) $b0 $___stdio_close $b1 $b1 $___stdout_write $___stdio_seek $___stdio_write $b1 $b1 $b1 $b2 $b2 $b2 $b2 $b2 $_cleanup $b2 $b2) (func $stackAlloc (param $size i32) (result i32) diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt index 61b29a2eb..a49a8abcc 100644 --- a/test/example/c-api-kitchen-sink.txt +++ b/test/example/c-api-kitchen-sink.txt @@ -9,7 +9,6 @@ BinaryenFloat64: 4 (module (memory 1 256) (data (i32.const 10) "hello, world") - (export "mem" memory) (start $starter) (type $iiIfF (func (param i32 i64 f32 f64) (result i32))) (type $fiF (func (param i32 f64) (result f32))) @@ -17,6 +16,7 @@ BinaryenFloat64: 4 (type $3 (func)) (import $an-imported "module" "base" (param i32 f64) (result f32)) (export "kitchen_sinker" "$kitchen()sinker") + (export "mem" memory) (table 1 1 anyfunc) (elem (i32.const 0) "$kitchen()sinker") (func "$kitchen()sinker" (type $iiIfF) (param $0 i32) (param $1 i64) (param $2 f32) (param $3 f64) (result i32) @@ -1600,7 +1600,6 @@ int main() { (module (memory 1 256) (data (i32.const 10) "hello, world") - (export "mem" memory) (start $starter) (type $iiIfF (func (param i32 i64 f32 f64) (result i32))) (type $fiF (func (param i32 f64) (result f32))) @@ -1608,6 +1607,7 @@ int main() { (type $3 (func)) (import $an-imported "module" "base" (param i32 f64) (result f32)) (export "kitchen_sinker" "$kitchen()sinker") + (export "mem" memory) (table 1 1 anyfunc) (elem (i32.const 0) "$kitchen()sinker") (func "$kitchen()sinker" (type $iiIfF) (param $0 i32) (param $1 i64) (param $2 f32) (param $3 f64) (result i32) diff --git a/test/example/c-api-kitchen-sink.txt.txt b/test/example/c-api-kitchen-sink.txt.txt index a572b8de8..cf9177060 100644 --- a/test/example/c-api-kitchen-sink.txt.txt +++ b/test/example/c-api-kitchen-sink.txt.txt @@ -4,7 +4,6 @@ (module (memory 1 256) (data (i32.const 10) "hello, world") - (export "mem" memory) (start $starter) (type $iiIfF (func (param i32 i64 f32 f64) (result i32))) (type $fiF (func (param i32 f64) (result f32))) @@ -12,6 +11,7 @@ (type $3 (func)) (import $an-imported "module" "base" (param i32 f64) (result f32)) (export "kitchen_sinker" "$kitchen()sinker") + (export "mem" memory) (table 1 1 anyfunc) (elem (i32.const 0) "$kitchen()sinker") (func "$kitchen()sinker" (type $iiIfF) (param $0 i32) (param $1 i64) (param $2 f32) (param $3 f64) (result i32) diff --git a/test/example/relooper-fuzz.txt b/test/example/relooper-fuzz.txt index 2836a05de..730106cf9 100644 --- a/test/example/relooper-fuzz.txt +++ b/test/example/relooper-fuzz.txt @@ -1,11 +1,11 @@ (module (memory 1 1) - (export "mem" memory) (start $main) (type $i (func (result i32))) (type $v (func)) (type $vi (func (param i32))) (import $print "spectest" "print" (param i32)) + (export "mem" memory) (func $check (type $i) (result i32) (if (i32.eq @@ -293,12 +293,12 @@ ) (module (memory 1 1) - (export "mem" memory) (start $main) (type $i (func (result i32))) (type $v (func)) (type $vi (func (param i32))) (import $print "spectest" "print" (param i32)) + (export "mem" memory) (func $check (type $i) (result i32) (if (i32.eq diff --git a/test/example/relooper-fuzz1.txt b/test/example/relooper-fuzz1.txt index 32456c82a..f219e9f96 100644 --- a/test/example/relooper-fuzz1.txt +++ b/test/example/relooper-fuzz1.txt @@ -1,11 +1,11 @@ (module (memory 1 1) - (export "mem" memory) (start $main) (type $i (func (result i32))) (type $v (func)) (type $vi (func (param i32))) (import $print "spectest" "print" (param i32)) + (export "mem" memory) (func $check (type $i) (result i32) (if (i32.eq @@ -269,12 +269,12 @@ ) (module (memory 1 1) - (export "mem" memory) (start $main) (type $i (func (result i32))) (type $v (func)) (type $vi (func (param i32))) (import $print "spectest" "print" (param i32)) + (export "mem" memory) (func $check (type $i) (result i32) (if (i32.eq diff --git a/test/hello_world.fromasm b/test/hello_world.fromasm index 66f728c52..675ef17ca 100644 --- a/test/hello_world.fromasm +++ b/test/hello_world.fromasm @@ -1,7 +1,7 @@ (module (memory 256 256) - (export "memory" memory) (export "add" $add) + (export "memory" memory) (func $add (param $0 i32) (param $1 i32) (result i32) (i32.add (get_local $0) diff --git a/test/hello_world.fromasm.imprecise b/test/hello_world.fromasm.imprecise index 66f728c52..675ef17ca 100644 --- a/test/hello_world.fromasm.imprecise +++ b/test/hello_world.fromasm.imprecise @@ -1,7 +1,7 @@ (module (memory 256 256) - (export "memory" memory) (export "add" $add) + (export "memory" memory) (func $add (param $0 i32) (param $1 i32) (result i32) (i32.add (get_local $0) diff --git a/test/hello_world.fromasm.imprecise.no-opts b/test/hello_world.fromasm.imprecise.no-opts index 435e41a60..368ffaff3 100644 --- a/test/hello_world.fromasm.imprecise.no-opts +++ b/test/hello_world.fromasm.imprecise.no-opts @@ -1,7 +1,7 @@ (module (memory 256 256) - (export "memory" memory) (export "add" $add) + (export "memory" memory) (func $add (param $x i32) (param $y i32) (result i32) (return (i32.add diff --git a/test/hello_world.fromasm.no-opts b/test/hello_world.fromasm.no-opts index 435e41a60..368ffaff3 100644 --- a/test/hello_world.fromasm.no-opts +++ b/test/hello_world.fromasm.no-opts @@ -1,7 +1,7 @@ (module (memory 256 256) - (export "memory" memory) (export "add" $add) + (export "memory" memory) (func $add (param $x i32) (param $y i32) (result i32) (return (i32.add diff --git a/test/memorygrowth.fromasm b/test/memorygrowth.fromasm index 7a7a98113..692c8438f 100644 --- a/test/memorygrowth.fromasm +++ b/test/memorygrowth.fromasm @@ -1,6 +1,5 @@ (module (memory 256 256) - (export "memory" memory) (type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32))) (type $FUNCSIG$iii (func (param i32 i32) (result i32))) (type $FUNCSIG$ii (func (param i32) (result i32))) @@ -40,6 +39,7 @@ (export "dynCall_iiii" $lb) (export "dynCall_vi" $mb) (export "__growWasmMemory" $__growWasmMemory) + (export "memory" memory) (table 8 8 anyfunc) (elem (i32.const 0) $nb $Oa $ob $Va $Ua $Ra $pb $Sa) (func $eb (param $0 i32) (result i32) diff --git a/test/memorygrowth.fromasm.imprecise b/test/memorygrowth.fromasm.imprecise index 220266314..2e22608a8 100644 --- a/test/memorygrowth.fromasm.imprecise +++ b/test/memorygrowth.fromasm.imprecise @@ -1,6 +1,5 @@ (module (memory 256 256) - (export "memory" memory) (type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32))) (type $FUNCSIG$ii (func (param i32) (result i32))) (type $FUNCSIG$vi (func (param i32))) @@ -39,6 +38,7 @@ (export "dynCall_iiii" $lb) (export "dynCall_vi" $mb) (export "__growWasmMemory" $__growWasmMemory) + (export "memory" memory) (table 8 8 anyfunc) (elem (i32.const 0) $nb $Oa $ob $Va $Ua $Ra $pb $Sa) (func $eb (param $0 i32) (result i32) diff --git a/test/memorygrowth.fromasm.imprecise.no-opts b/test/memorygrowth.fromasm.imprecise.no-opts index a25625c64..f121bfc20 100644 --- a/test/memorygrowth.fromasm.imprecise.no-opts +++ b/test/memorygrowth.fromasm.imprecise.no-opts @@ -1,6 +1,5 @@ (module (memory 256 256) - (export "memory" memory) (type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32))) (type $FUNCSIG$ii (func (param i32) (result i32))) (type $FUNCSIG$vi (func (param i32))) @@ -39,6 +38,7 @@ (export "dynCall_iiii" $lb) (export "dynCall_vi" $mb) (export "__growWasmMemory" $__growWasmMemory) + (export "memory" memory) (table 8 8 anyfunc) (elem (i32.const 0) $nb $Oa $ob $Va $Ua $Ra $pb $Sa) (func $eb (param $a i32) (result i32) diff --git a/test/memorygrowth.fromasm.no-opts b/test/memorygrowth.fromasm.no-opts index f2cf43833..88e2e1869 100644 --- a/test/memorygrowth.fromasm.no-opts +++ b/test/memorygrowth.fromasm.no-opts @@ -1,6 +1,5 @@ (module (memory 256 256) - (export "memory" memory) (type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32))) (type $FUNCSIG$iii (func (param i32 i32) (result i32))) (type $FUNCSIG$ii (func (param i32) (result i32))) @@ -40,6 +39,7 @@ (export "dynCall_iiii" $lb) (export "dynCall_vi" $mb) (export "__growWasmMemory" $__growWasmMemory) + (export "memory" memory) (table 8 8 anyfunc) (elem (i32.const 0) $nb $Oa $ob $Va $Ua $Ra $pb $Sa) (func $eb (param $a i32) (result i32) diff --git a/test/min.fromasm b/test/min.fromasm index b5d826e4f..06967379c 100644 --- a/test/min.fromasm +++ b/test/min.fromasm @@ -1,7 +1,7 @@ (module (memory 256 256) - (export "memory" memory) (export "floats" $floats) + (export "memory" memory) (func $floats (param $0 f32) (result f32) (local $1 f32) (f32.add diff --git a/test/min.fromasm.imprecise b/test/min.fromasm.imprecise index b5d826e4f..06967379c 100644 --- a/test/min.fromasm.imprecise +++ b/test/min.fromasm.imprecise @@ -1,7 +1,7 @@ (module (memory 256 256) - (export "memory" memory) (export "floats" $floats) + (export "memory" memory) (func $floats (param $0 f32) (result f32) (local $1 f32) (f32.add diff --git a/test/min.fromasm.imprecise.no-opts b/test/min.fromasm.imprecise.no-opts index bde70a203..ff101cc82 100644 --- a/test/min.fromasm.imprecise.no-opts +++ b/test/min.fromasm.imprecise.no-opts @@ -1,7 +1,7 @@ (module (memory 256 256) - (export "memory" memory) (export "floats" $floats) + (export "memory" memory) (func $floats (param $f f32) (result f32) (local $t f32) (return diff --git a/test/min.fromasm.no-opts b/test/min.fromasm.no-opts index bde70a203..ff101cc82 100644 --- a/test/min.fromasm.no-opts +++ b/test/min.fromasm.no-opts @@ -1,7 +1,7 @@ (module (memory 256 256) - (export "memory" memory) (export "floats" $floats) + (export "memory" memory) (func $floats (param $f f32) (result f32) (local $t f32) (return diff --git a/test/two_sides.fromasm b/test/two_sides.fromasm index 0b1ed182d..9d114dc8c 100644 --- a/test/two_sides.fromasm +++ b/test/two_sides.fromasm @@ -1,9 +1,9 @@ (module (memory 256 256) - (export "memory" memory) (type $FUNCSIG$id (func (param f64) (result i32))) (import $f64-to-int "asm2wasm" "f64-to-int" (param f64) (result i32)) (export "_test" $_test) + (export "memory" memory) (func $_test (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32) (result i32) (local $5 f64) (if diff --git a/test/two_sides.fromasm.imprecise b/test/two_sides.fromasm.imprecise index 77ea9a202..3e982aef2 100644 --- a/test/two_sides.fromasm.imprecise +++ b/test/two_sides.fromasm.imprecise @@ -1,7 +1,7 @@ (module (memory 256 256) - (export "memory" memory) (export "_test" $_test) + (export "memory" memory) (func $_test (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32) (result i32) (local $5 f64) (if diff --git a/test/two_sides.fromasm.imprecise.no-opts b/test/two_sides.fromasm.imprecise.no-opts index 6c2aa1d83..d76c31b7e 100644 --- a/test/two_sides.fromasm.imprecise.no-opts +++ b/test/two_sides.fromasm.imprecise.no-opts @@ -1,7 +1,7 @@ (module (memory 256 256) - (export "memory" memory) (export "_test" $_test) + (export "memory" memory) (func $_test (param $i1 i32) (param $i2 i32) (param $i3 i32) (param $i4 i32) (param $i5 i32) (result i32) (local $d6 f64) (if diff --git a/test/two_sides.fromasm.no-opts b/test/two_sides.fromasm.no-opts index 719566b73..e0b639049 100644 --- a/test/two_sides.fromasm.no-opts +++ b/test/two_sides.fromasm.no-opts @@ -1,9 +1,9 @@ (module (memory 256 256) - (export "memory" memory) (type $FUNCSIG$id (func (param f64) (result i32))) (import $f64-to-int "asm2wasm" "f64-to-int" (param f64) (result i32)) (export "_test" $_test) + (export "memory" memory) (func $_test (param $i1 i32) (param $i2 i32) (param $i3 i32) (param $i4 i32) (param $i5 i32) (result i32) (local $d6 f64) (if diff --git a/test/unit.fromasm b/test/unit.fromasm index 356c935c9..1abe2a5e8 100644 --- a/test/unit.fromasm +++ b/test/unit.fromasm @@ -1,6 +1,5 @@ (module (memory 256 256) - (export "memory" memory) (type $FUNCSIG$id (func (param f64) (result i32))) (type $FUNCSIG$ddd (func (param f64 f64) (result f64))) (type $FUNCSIG$iii (func (param i32 i32) (result i32))) @@ -15,6 +14,7 @@ (import $i32u-div "asm2wasm" "i32u-div" (param i32 i32) (result i32)) (export "big_negative" $big_negative) (export "pick" $big_negative) + (export "memory" memory) (table 10 10 anyfunc) (elem (i32.const 0) $big_negative $big_negative $big_negative $big_negative $big_negative $big_negative $importedDoubles $big_negative $big_negative $cneg) (func $big_negative diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise index 160047635..bba8a11a4 100644 --- a/test/unit.fromasm.imprecise +++ b/test/unit.fromasm.imprecise @@ -1,6 +1,5 @@ (module (memory 256 256) - (export "memory" memory) (type $FUNCSIG$ddd (func (param f64 f64) (result f64))) (type $FUNCSIG$vf (func (param f32))) (type $FUNCSIG$vi (func (param i32))) @@ -11,6 +10,7 @@ (import $f64-rem "asm2wasm" "f64-rem" (param f64 f64) (result f64)) (export "big_negative" $big_negative) (export "pick" $big_negative) + (export "memory" memory) (table 10 10 anyfunc) (elem (i32.const 0) $big_negative $big_negative $big_negative $big_negative $big_negative $big_negative $importedDoubles $big_negative $big_negative $cneg) (func $big_negative diff --git a/test/unit.fromasm.imprecise.no-opts b/test/unit.fromasm.imprecise.no-opts index 05e93926b..824606764 100644 --- a/test/unit.fromasm.imprecise.no-opts +++ b/test/unit.fromasm.imprecise.no-opts @@ -1,6 +1,5 @@ (module (memory 256 256) - (export "memory" memory) (type $FUNCSIG$ddd (func (param f64 f64) (result f64))) (type $FUNCSIG$vf (func (param f32))) (type $FUNCSIG$vi (func (param i32))) @@ -11,6 +10,7 @@ (import $f64-rem "asm2wasm" "f64-rem" (param f64 f64) (result f64)) (export "big_negative" $big_negative) (export "pick" $exportMe) + (export "memory" memory) (table 10 10 anyfunc) (elem (i32.const 0) $z $big_negative $z $z $w $w $importedDoubles $w $z $cneg) (func $big_negative diff --git a/test/unit.fromasm.no-opts b/test/unit.fromasm.no-opts index ae894c99e..5fba592a6 100644 --- a/test/unit.fromasm.no-opts +++ b/test/unit.fromasm.no-opts @@ -1,6 +1,5 @@ (module (memory 256 256) - (export "memory" memory) (type $FUNCSIG$id (func (param f64) (result i32))) (type $FUNCSIG$ddd (func (param f64 f64) (result f64))) (type $FUNCSIG$iii (func (param i32 i32) (result i32))) @@ -15,6 +14,7 @@ (import $i32u-div "asm2wasm" "i32u-div" (param i32 i32) (result i32)) (export "big_negative" $big_negative) (export "pick" $exportMe) + (export "memory" memory) (table 10 10 anyfunc) (elem (i32.const 0) $z $big_negative $z $z $w $w $importedDoubles $w $z $cneg) (func $big_negative -- cgit v1.2.3 From 793863a5d0e2f864f46dac86baa8e12c63b5b004 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 18 Aug 2016 15:53:45 -0700 Subject: import kinds --- src/asm2wasm.h | 5 +++++ src/binaryen-c.cpp | 1 + src/binaryen-c.h | 2 +- src/passes/Print.cpp | 7 +++++++ src/wasm-binary.h | 27 +++++++++++++++++++----- src/wasm-linker.cpp | 2 ++ src/wasm-s-parser.h | 58 +++++++++++++++++++++++++++++++++------------------- src/wasm.h | 10 ++++++++- 8 files changed, 84 insertions(+), 28 deletions(-) (limited to 'src/binaryen-c.cpp') diff --git a/src/asm2wasm.h b/src/asm2wasm.h index c88563109..10ad769ac 100644 --- a/src/asm2wasm.h +++ b/src/asm2wasm.h @@ -524,6 +524,7 @@ void Asm2WasmBuilder::processAsm(Ref ast) { allocateGlobal(name, type, true, import->module, import->base); delete import; } else { + import->kind = Import::Function; wasm.addImport(import); } }; @@ -1087,6 +1088,7 @@ Function* Asm2WasmBuilder::processFunction(Ref ast) { import->module = ASM2WASM; import->base = F64_REM; import->type = ensureFunctionType("ddd", &wasm); + import->kind = Import::Function; wasm.addImport(import); } return call; @@ -1112,6 +1114,7 @@ Function* Asm2WasmBuilder::processFunction(Ref ast) { import->module = ASM2WASM; import->base = call->target; import->type = ensureFunctionType("iii", &wasm); + import->kind = Import::Function; wasm.addImport(import); } return call; @@ -1150,6 +1153,7 @@ Function* Asm2WasmBuilder::processFunction(Ref ast) { import->module = ASM2WASM; import->base = DEBUGGER; import->type = ensureFunctionType("v", &wasm); + import->kind = Import::Function; wasm.addImport(import); } return call; @@ -1262,6 +1266,7 @@ Function* Asm2WasmBuilder::processFunction(Ref ast) { import->module = ASM2WASM; import->base = F64_TO_INT; import->type = ensureFunctionType("id", &wasm); + import->kind = Import::Function; wasm.addImport(import); } return ret; diff --git a/src/binaryen-c.cpp b/src/binaryen-c.cpp index e333f64d8..ac64b188d 100644 --- a/src/binaryen-c.cpp +++ b/src/binaryen-c.cpp @@ -718,6 +718,7 @@ BinaryenImportRef BinaryenAddImport(BinaryenModuleRef module, const char* intern ret->module = externalModuleName; ret->base = externalBaseName; ret->type = (FunctionType*)type; + ret->kind = Import::Function; wasm->addImport(ret); return ret; } diff --git a/src/binaryen-c.h b/src/binaryen-c.h index 5d7520a77..9ecb3f409 100644 --- a/src/binaryen-c.h +++ b/src/binaryen-c.h @@ -373,7 +373,7 @@ void BinaryenModuleOptimize(BinaryenModuleRef module); void BinaryenModuleAutoDrop(BinaryenModuleRef module); // Serialize a module into binary form. -// @return how many bytes were written. This will be less than or equal to bufferSize +// @return how many bytes were written. This will be less than or equal to outputSize size_t BinaryenModuleWrite(BinaryenModuleRef module, char* output, size_t outputSize); // Deserialize a module from binary form. diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index 0152f917c..e9e70c1b0 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -534,6 +534,13 @@ struct PrintSExpression : public Visitor { } void visitImport(Import *curr) { printOpening(o, "import "); + switch (curr->kind) { + case Export::Function: break; + case Export::Table: o << "table "; break; + case Export::Memory: o << "memory "; break; + case Export::Global: o << "global "; break; + default: WASM_UNREACHABLE(); + } printName(curr->name) << ' '; printText(o, curr->module.str) << ' '; printText(o, curr->base.str); diff --git a/src/wasm-binary.h b/src/wasm-binary.h index e250e26ff..0949e324b 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -572,7 +572,14 @@ public: o << U32LEB(wasm->imports.size()); for (auto& import : wasm->imports) { if (debug) std::cerr << "write one" << std::endl; - o << U32LEB(getFunctionTypeIndex(import->type->name)); + o << U32LEB(import->kind); + switch (import->kind) { + case Export::Function: o << U32LEB(getFunctionTypeIndex(import->type->name)); + case Export::Table: break; + case Export::Memory: break; + case Export::Global: break; + default: WASM_UNREACHABLE(); + } writeInlineString(import->module.str); writeInlineString(import->base.str); } @@ -1492,10 +1499,20 @@ public: if (debug) std::cerr << "read one" << std::endl; auto curr = new Import; curr->name = Name(std::string("import$") + std::to_string(i)); - auto index = getU32LEB(); - assert(index < wasm.functionTypes.size()); - curr->type = wasm.getFunctionType(index); - assert(curr->type->name.is()); + curr->kind = (Import::Kind)getU32LEB(); + switch (curr->kind) { + case Export::Function: { + auto index = getU32LEB(); + assert(index < wasm.functionTypes.size()); + curr->type = wasm.getFunctionType(index); + assert(curr->type->name.is()); + break; + } + case Export::Table: break; + case Export::Memory: break; + case Export::Global: break; + default: WASM_UNREACHABLE(); + } curr->module = getInlineString(); curr->base = getInlineString(); wasm.addImport(curr); diff --git a/src/wasm-linker.cpp b/src/wasm-linker.cpp index 9e968598a..1631e17a9 100644 --- a/src/wasm-linker.cpp +++ b/src/wasm-linker.cpp @@ -50,6 +50,7 @@ void Linker::ensureImport(Name target, std::string signature) { import->name = import->base = target; import->module = ENV; import->type = ensureFunctionType(signature, &out.wasm); + import->kind = Import::Function; out.wasm.addImport(import); } } @@ -339,6 +340,7 @@ void Linker::emscriptenGlue(std::ostream& o) { import->name = import->base = curr->target; import->module = ENV; import->type = ensureFunctionType(getSig(curr), &parent->out.wasm); + import->kind = Import::Function; parent->out.wasm.addImport(import); } } diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h index b6270217b..17185a925 100644 --- a/src/wasm-s-parser.h +++ b/src/wasm-s-parser.h @@ -1440,33 +1440,49 @@ private: im->name = Name::fromInt(importCounter); } importCounter++; + if (!s[i]->quoted()) { + if (s[i]->str() == MEMORY) { + im->kind = Import::Memory; + } else if (s[2]->str() == TABLE) { + im->kind = Import::Table; + } else if (s[2]->str() == GLOBAL) { + im->kind = Import::Table; + } else { + WASM_UNREACHABLE(); + } + i++; + } else { + im->kind = Import::Function; + } im->module = s[i++]->str(); if (!s[i]->isStr()) throw ParseException("no name for import"); im->base = s[i++]->str(); - std::unique_ptr type = make_unique(); - if (s.size() > i) { - Element& params = *s[i]; - IString id = params[0]->str(); - if (id == PARAM) { - for (size_t i = 1; i < params.size(); i++) { - type->params.push_back(stringToWasmType(params[i]->str())); + if (im->kind == Import::Function) { + std::unique_ptr type = make_unique(); + if (s.size() > i) { + Element& params = *s[i]; + IString id = params[0]->str(); + if (id == PARAM) { + for (size_t i = 1; i < params.size(); i++) { + type->params.push_back(stringToWasmType(params[i]->str())); + } + } else if (id == RESULT) { + type->result = stringToWasmType(params[1]->str()); + } else if (id == TYPE) { + IString name = params[1]->str(); + if (!wasm.checkFunctionType(name)) throw ParseException("bad function type for import"); + *type = *wasm.getFunctionType(name); + } else { + throw ParseException("bad import element"); + } + if (s.size() > i+1) { + Element& result = *s[i+1]; + assert(result[0]->str() == RESULT); + type->result = stringToWasmType(result[1]->str()); } - } else if (id == RESULT) { - type->result = stringToWasmType(params[1]->str()); - } else if (id == TYPE) { - IString name = params[1]->str(); - if (!wasm.checkFunctionType(name)) throw ParseException("bad function type for import"); - *type = *wasm.getFunctionType(name); - } else { - throw ParseException("bad import element"); - } - if (s.size() > i+1) { - Element& result = *s[i+1]; - assert(result[0]->str() == RESULT); - type->result = stringToWasmType(result[1]->str()); } + im->type = ensureFunctionType(getSig(type.get()), &wasm); } - im->type = ensureFunctionType(getSig(type.get()), &wasm); wasm.addImport(im.release()); } diff --git a/src/wasm.h b/src/wasm.h index f93fb3a80..f26cf05a9 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -1430,10 +1430,18 @@ public: class Import { public: + enum Kind { + Function = 0, + Table = 1, + Memory = 2, + Global = 3, + }; + Import() : type(nullptr) {} Name name, module, base; // name = module.base - FunctionType* type; + Kind kind; + FunctionType* type; // for Function imports }; class Export { -- cgit v1.2.3 From a10ca64dc04bdba4fbf4a468604c0c88f62a4a8d Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 18 Aug 2016 17:56:01 -0700 Subject: import type for globals --- src/asm2wasm.h | 12 ++++++------ src/binaryen-c.cpp | 2 +- src/passes/Print.cpp | 8 +++++++- src/passes/RemoveImports.cpp | 2 +- src/wasm-binary.h | 12 ++++++------ src/wasm-linker.cpp | 4 ++-- src/wasm-s-parser.h | 6 ++++-- src/wasm-validator.h | 10 ++++++---- src/wasm.h | 5 +++-- 9 files changed, 36 insertions(+), 25 deletions(-) (limited to 'src/binaryen-c.cpp') diff --git a/src/asm2wasm.h b/src/asm2wasm.h index 10ad769ac..48c52080d 100644 --- a/src/asm2wasm.h +++ b/src/asm2wasm.h @@ -738,10 +738,10 @@ void Asm2WasmBuilder::processAsm(Ref ast) { // special math builtins FunctionType* builtin = getBuiltinFunctionType(import->module, import->base); if (builtin) { - import->type = builtin; + import->functionType = builtin; continue; } - import->type = ensureFunctionType(getSig(importedFunctionTypes[name].get()), &wasm); + import->functionType = ensureFunctionType(getSig(importedFunctionTypes[name].get()), &wasm); } else if (import->module != ASM2WASM) { // special-case the special module // never actually used toErase.push_back(name); @@ -1087,7 +1087,7 @@ Function* Asm2WasmBuilder::processFunction(Ref ast) { import->name = F64_REM; import->module = ASM2WASM; import->base = F64_REM; - import->type = ensureFunctionType("ddd", &wasm); + import->functionType = ensureFunctionType("ddd", &wasm); import->kind = Import::Function; wasm.addImport(import); } @@ -1113,7 +1113,7 @@ Function* Asm2WasmBuilder::processFunction(Ref ast) { import->name = call->target; import->module = ASM2WASM; import->base = call->target; - import->type = ensureFunctionType("iii", &wasm); + import->functionType = ensureFunctionType("iii", &wasm); import->kind = Import::Function; wasm.addImport(import); } @@ -1152,7 +1152,7 @@ Function* Asm2WasmBuilder::processFunction(Ref ast) { import->name = DEBUGGER; import->module = ASM2WASM; import->base = DEBUGGER; - import->type = ensureFunctionType("v", &wasm); + import->functionType = ensureFunctionType("v", &wasm); import->kind = Import::Function; wasm.addImport(import); } @@ -1265,7 +1265,7 @@ Function* Asm2WasmBuilder::processFunction(Ref ast) { import->name = F64_TO_INT; import->module = ASM2WASM; import->base = F64_TO_INT; - import->type = ensureFunctionType("id", &wasm); + import->functionType = ensureFunctionType("id", &wasm); import->kind = Import::Function; wasm.addImport(import); } diff --git a/src/binaryen-c.cpp b/src/binaryen-c.cpp index ac64b188d..3ce24bdbd 100644 --- a/src/binaryen-c.cpp +++ b/src/binaryen-c.cpp @@ -717,7 +717,7 @@ BinaryenImportRef BinaryenAddImport(BinaryenModuleRef module, const char* intern ret->name = internalName; ret->module = externalModuleName; ret->base = externalBaseName; - ret->type = (FunctionType*)type; + ret->functionType = (FunctionType*)type; ret->kind = Import::Function; wasm->addImport(ret); return ret; diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index e9e70c1b0..3e5339932 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -544,7 +544,13 @@ struct PrintSExpression : public Visitor { printName(curr->name) << ' '; printText(o, curr->module.str) << ' '; printText(o, curr->base.str); - if (curr->type) visitFunctionType(curr->type); + switch (curr->kind) { + case Export::Function: if (curr->functionType) visitFunctionType(curr->functionType); break; + case Export::Table: break; + case Export::Memory: break; + case Export::Global: o << printWasmType(curr->globalType); break; + default: WASM_UNREACHABLE(); + } o << ')'; } void visitExport(Export *curr) { diff --git a/src/passes/RemoveImports.cpp b/src/passes/RemoveImports.cpp index 0b3f50049..19d6c3eb1 100644 --- a/src/passes/RemoveImports.cpp +++ b/src/passes/RemoveImports.cpp @@ -37,7 +37,7 @@ struct RemoveImports : public WalkerPassgetImport(curr->target)->type->result; + WasmType type = module->getImport(curr->target)->functionType->result; if (type == none) { replaceCurrent(allocator->alloc()); } else { diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 0949e324b..4db728fd6 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -574,10 +574,10 @@ public: if (debug) std::cerr << "write one" << std::endl; o << U32LEB(import->kind); switch (import->kind) { - case Export::Function: o << U32LEB(getFunctionTypeIndex(import->type->name)); + case Export::Function: o << U32LEB(getFunctionTypeIndex(import->functionType->name)); case Export::Table: break; case Export::Memory: break; - case Export::Global: break; + case Export::Global: o << binaryWasmType(import->globalType);break; default: WASM_UNREACHABLE(); } writeInlineString(import->module.str); @@ -1504,13 +1504,13 @@ public: case Export::Function: { auto index = getU32LEB(); assert(index < wasm.functionTypes.size()); - curr->type = wasm.getFunctionType(index); - assert(curr->type->name.is()); + curr->functionType = wasm.getFunctionType(index); + assert(curr->functionType->name.is()); break; } case Export::Table: break; case Export::Memory: break; - case Export::Global: break; + case Export::Global: curr->globalType = getWasmType(); break; default: WASM_UNREACHABLE(); } curr->module = getInlineString(); @@ -1932,7 +1932,7 @@ public: WASM_UNUSED(arity); auto import = wasm.getImport(getU32LEB()); curr->target = import->name; - auto type = import->type; + auto type = import->functionType; assert(type); auto num = type->params.size(); assert(num == arity); diff --git a/src/wasm-linker.cpp b/src/wasm-linker.cpp index 1631e17a9..04deddf4a 100644 --- a/src/wasm-linker.cpp +++ b/src/wasm-linker.cpp @@ -49,7 +49,7 @@ void Linker::ensureImport(Name target, std::string signature) { auto import = new Import; import->name = import->base = target; import->module = ENV; - import->type = ensureFunctionType(signature, &out.wasm); + import->functionType = ensureFunctionType(signature, &out.wasm); import->kind = Import::Function; out.wasm.addImport(import); } @@ -339,7 +339,7 @@ void Linker::emscriptenGlue(std::ostream& o) { auto import = new Import; import->name = import->base = curr->target; import->module = ENV; - import->type = ensureFunctionType(getSig(curr), &parent->out.wasm); + import->functionType = ensureFunctionType(getSig(curr), &parent->out.wasm); import->kind = Import::Function; parent->out.wasm.addImport(import); } diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h index 17185a925..50d566baf 100644 --- a/src/wasm-s-parser.h +++ b/src/wasm-s-parser.h @@ -1216,7 +1216,7 @@ private: auto ret = allocator.alloc(); ret->target = s[1]->str(); Import* import = wasm.getImport(ret->target); - ret->type = import->type->result; + ret->type = import->functionType->result; parseCallOperands(s, 2, s.size(), ret); return ret; } @@ -1481,7 +1481,9 @@ private: type->result = stringToWasmType(result[1]->str()); } } - im->type = ensureFunctionType(getSig(type.get()), &wasm); + im->functionType = ensureFunctionType(getSig(type.get()), &wasm); + } else if (im->kind == Import::Global) { + im->globalType = stringToWasmType(s[i]->str()); } wasm.addImport(im.release()); } diff --git a/src/wasm-validator.h b/src/wasm-validator.h index 77bf6d3e9..92ae24688 100644 --- a/src/wasm-validator.h +++ b/src/wasm-validator.h @@ -167,7 +167,7 @@ public: void visitCallImport(CallImport *curr) { auto* import = getModule()->checkImport(curr->target); if (!shouldBeTrue(!!import, curr, "call_import target must exist")) return; - auto* type = import->type; + auto* type = import->functionType; if (!shouldBeTrue(curr->operands.size() == type->params.size(), curr, "call param number must match")) return; for (size_t i = 0; i < curr->operands.size(); i++) { if (!shouldBeEqualOrFirstIsUnreachable(curr->operands[i]->type, type->params[i], curr, "call param types must match")) { @@ -314,9 +314,11 @@ public: void visitImport(Import* curr) { if (!validateWebConstraints) return; - shouldBeUnequal(curr->type->result, i64, curr->name, "Imported function must not have i64 return type"); - for (WasmType param : curr->type->params) { - shouldBeUnequal(param, i64, curr->name, "Imported function must not have i64 parameters"); + if (curr->kind == Import::Function) { + shouldBeUnequal(curr->functionType->result, i64, curr->name, "Imported function must not have i64 return type"); + for (WasmType param : curr->functionType->params) { + shouldBeUnequal(param, i64, curr->name, "Imported function must not have i64 parameters"); + } } } diff --git a/src/wasm.h b/src/wasm.h index f26cf05a9..a2f6a74db 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -1437,11 +1437,12 @@ public: Global = 3, }; - Import() : type(nullptr) {} + Import() : functionType(nullptr), globalType(none) {} Name name, module, base; // name = module.base Kind kind; - FunctionType* type; // for Function imports + FunctionType* functionType; // for Function imports + WasmType globalType; // for Global imports }; class Export { -- cgit v1.2.3