
Example2.wasm:	file format wasm 0x1

Code Disassembly:

00008e func[0] <inca>:
 00008f: 02 40                      | block
 000091: 20 01                      |   local.get 1
 000093: 50                         |   i64.eqz
 000094: 0d 00                      |   br_if 0
 000096: 03 40                      |   loop
 000098: 20 00                      |     local.get 0
 00009a: 20 00                      |     local.get 0
 00009c: 29 03 00                   |     i64.load 3 0
 00009f: 20 02                      |     local.get 2
 0000a1: 7c                         |     i64.add
 0000a2: 37 03 00                   |     i64.store 3 0
 0000a5: 20 00                      |     local.get 0
 0000a7: 42 08                      |     i64.const 8
 0000a9: 7c                         |     i64.add
 0000aa: 21 00                      |     local.set 0
 0000ac: 20 01                      |     local.get 1
 0000ae: 42 7f                      |     i64.const 18446744073709551615
 0000b0: 7c                         |     i64.add
 0000b1: 22 01                      |     local.tee 1
 0000b3: 50                         |     i64.eqz
 0000b4: 45                         |     i32.eqz
 0000b5: 0d 00                      |     br_if 0
 0000b7: 0b                         |   end
 0000b8: 0b                         | end
 0000b9: 0b                         | end
0000bb func[1] <inc1>:
 0000bc: 20 00                      | local.get 0
 0000be: 20 01                      | local.get 1
 0000c0: 42 01                      | i64.const 1
 0000c2: 10 80 80 80 80 00          | call 0 <inca>
 0000c8: 0b                         | end
0000ca func[2] <__main_void>:
 0000cb: 03 7e                      | local[0..2] type=i64
 0000cd: 23 80 80 80 80 00          | global.get 0 <env.__stack_pointer>
 0000d3: 42 c0 3e                   | i64.const 8000
 0000d6: 7d                         | i64.sub
 0000d7: 22 00                      | local.tee 0
 0000d9: 24 80 80 80 80 00          | global.set 0 <env.__stack_pointer>
 0000df: 42 00                      | i64.const 0
 0000e1: 21 01                      | local.set 1
 0000e3: 20 00                      | local.get 0
 0000e5: 21 02                      | local.set 2
 0000e7: 03 40                      | loop
 0000e9: 20 02                      |   local.get 2
 0000eb: 20 01                      |   local.get 1
 0000ed: 37 03 00                   |   i64.store 3 0
 0000f0: 20 02                      |   local.get 2
 0000f2: 42 08                      |   i64.const 8
 0000f4: 7c                         |   i64.add
 0000f5: 21 02                      |   local.set 2
 0000f7: 20 01                      |   local.get 1
 0000f9: 42 01                      |   i64.const 1
 0000fb: 7c                         |   i64.add
 0000fc: 22 01                      |   local.tee 1
 0000fe: 42 e8 07                   |   i64.const 1000
 000101: 52                         |   i64.ne
 000102: 0d 00                      |   br_if 0
 000104: 0b                         | end
 000105: 20 00                      | local.get 0
 000107: 42 e8 07                   | i64.const 1000
 00010a: 10 81 80 80 80 00          | call 1 <inc1>
 000110: 20 00                      | local.get 0
 000112: 42 c0 3e                   | i64.const 8000
 000115: 7c                         | i64.add
 000116: 24 80 80 80 80 00          | global.set 0 <env.__stack_pointer>
 00011c: 41 00                      | i32.const 0
 00011e: 0b                         | end
000120 func[3] <main>:
 000121: 10 82 80 80 80 00          | call 2 <__main_void>
 000127: 0b                         | end
