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blocktype: :empty,
instr: [
loop: %{
blocktype: :empty,
instr: [
{:"local.get", 2},
{:"i32.const", 1},
:"i32.add",
{:"local.tee", 2},
{:"local.get", 1},
:"i32.mul",
{:"local.set", 1},
{:"local.get", 0},
{:"local.get", 2},
:"i32.ne",
{:br_if, 0}
]
}
]
}},
{:"local.get", 1}
{:"local.get", 0},
{:"local.get", 1},
:"i32.lt_s",
:select
{:"i32.const", 1},
:"i32.ge_s",
{:if,
%{
blocktype: :empty,
instr: [
loop: %{
blocktype: :empty,
instr: [
{:"local.get", 2},
{:"i32.const", 1},
:"i32.add",
{:"local.tee", 2},
{:"local.get", 1},
:"i32.mul",
{:"local.set", 1},
{:"local.get", 0},
{:"local.get", 2},
:"i32.ne",
{:br_if, 0}
]
}
]
}},
{:"local.get", 1}
{:"local.get", 0},
{:"local.get", 1},
:"i32.lt_s",
:select
int ge(int a, int b) {
if (a >= b) {
return a;
} else {
return b;
}
}