| 1 |
(module |
| 2 |
(type $check (;0;) (func (param i32 i32) (result i32))) |
| 3 |
(type $block-sig-1 (;1;) (func)) |
| 4 |
(type $block-sig-2 (;2;) (func (result i32))) |
| 5 |
(type $block-sig-3 (;3;) (func (param i32))) |
| 6 |
(type $block-sig-4 (;4;) (func (param i32 f64 i32) (result i32 f64 i32))) |
| 7 |
(type (;5;) (func (param i32) (result i32))) |
| 8 |
(type (;6;) (func (param i32) (result i32 i32))) |
| 9 |
(type (;7;) (func (result i32 i64 i32))) |
| 10 |
(type (;8;) (func (result i32 i32))) |
| 11 |
(type (;9;) (func (result f32 f32))) |
| 12 |
(type (;10;) (func (param i32) (result i32 i32 i64))) |
| 13 |
(type (;11;) (func (result i32 i32 i64))) |
| 14 |
(type (;12;) (func (param i32 i32) (result i32 i32))) |
| 15 |
(type (;13;) (func (param i64 i64 i32) (result i64 i32))) |
| 16 |
(type (;14;) (func (param i64 i64) (result i64))) |
| 17 |
(type (;15;) (func (param i64) (result i64))) |
| 18 |
(table (;0;) 1 1 funcref) |
| 19 |
(memory (;0;) 1) |
| 20 |
(global $a (;0;) (mut i32) i32.const 10) |
| 21 |
(export "empty" (func 1)) |
| 22 |
(export "singular" (func 2)) |
| 23 |
(export "multi" (func 3)) |
| 24 |
(export "nested" (func 4)) |
| 25 |
(export "as-select-first" (func 5)) |
| 26 |
(export "as-select-mid" (func 6)) |
| 27 |
(export "as-select-last" (func 7)) |
| 28 |
(export "as-loop-first" (func 8)) |
| 29 |
(export "as-loop-mid" (func 9)) |
| 30 |
(export "as-loop-last" (func 10)) |
| 31 |
(export "as-if-condition" (func 11)) |
| 32 |
(export "as-br_if-first" (func 12)) |
| 33 |
(export "as-br_if-last" (func 13)) |
| 34 |
(export "as-br_table-first" (func 14)) |
| 35 |
(export "as-br_table-last" (func 15)) |
| 36 |
(export "as-call_indirect-first" (func 17)) |
| 37 |
(export "as-call_indirect-mid" (func 18)) |
| 38 |
(export "as-call_indirect-last" (func 19)) |
| 39 |
(export "as-store-first" (func 20)) |
| 40 |
(export "as-store-last" (func 21)) |
| 41 |
(export "as-memory.grow-value" (func 22)) |
| 42 |
(export "as-call-value" (func 24)) |
| 43 |
(export "as-return-value" (func 25)) |
| 44 |
(export "as-drop-operand" (func 26)) |
| 45 |
(export "as-br-value" (func 27)) |
| 46 |
(export "as-local.set-value" (func 28)) |
| 47 |
(export "as-local.tee-value" (func 29)) |
| 48 |
(export "as-global.set-value" (func 30)) |
| 49 |
(export "as-load-operand" (func 31)) |
| 50 |
(export "as-unary-operand" (func 32)) |
| 51 |
(export "as-binary-operand" (func 33)) |
| 52 |
(export "as-test-operand" (func 34)) |
| 53 |
(export "as-compare-operand" (func 35)) |
| 54 |
(export "as-binary-operands" (func 36)) |
| 55 |
(export "as-compare-operands" (func 37)) |
| 56 |
(export "as-mixed-operands" (func 38)) |
| 57 |
(export "break-bare" (func 39)) |
| 58 |
(export "break-value" (func 40)) |
| 59 |
(export "break-multi-value" (func 41)) |
| 60 |
(export "param" (func 42)) |
| 61 |
(export "params" (func 43)) |
| 62 |
(export "params-id" (func 44)) |
| 63 |
(export "param-break" (func 45)) |
| 64 |
(export "params-break" (func 46)) |
| 65 |
(export "params-id-break" (func 47)) |
| 66 |
(export "effects" (func 48)) |
| 67 |
(export "add64_u_with_carry" (func $add64_u_with_carry)) |
| 68 |
(export "add64_u_saturated" (func $add64_u_saturated)) |
| 69 |
(export "type-use" (func 51)) |
| 70 |
(export "atypical-condition" (func 52)) |
| 71 |
(elem (;0;) (table 0) (i32.const 0) func $func) |
| 72 |
(func $dummy (;0;) (type $block-sig-1)) |
| 73 |
(func (;1;) (type $block-sig-3) (param i32) |
| 74 |
local.get 0 |
| 75 |
if ;; label = @1 |
| 76 |
end |
| 77 |
local.get 0 |
| 78 |
if ;; label = @1 |
| 79 |
else |
| 80 |
end |
| 81 |
local.get 0 |
| 82 |
if $l |
| 83 |
end |
| 84 |
local.get 0 |
| 85 |
if $l |
| 86 |
else |
| 87 |
end |
| 88 |
) |
| 89 |
(func (;2;) (type 5) (param i32) (result i32) |
| 90 |
local.get 0 |
| 91 |
if ;; label = @1 |
| 92 |
nop |
| 93 |
end |
| 94 |
local.get 0 |
| 95 |
if ;; label = @1 |
| 96 |
nop |
| 97 |
else |
| 98 |
nop |
| 99 |
end |
| 100 |
local.get 0 |
| 101 |
if (result i32) ;; label = @1 |
| 102 |
i32.const 7 |
| 103 |
else |
| 104 |
i32.const 8 |
| 105 |
end |
| 106 |
) |
| 107 |
(func (;3;) (type 6) (param i32) (result i32 i32) |
| 108 |
local.get 0 |
| 109 |
if ;; label = @1 |
| 110 |
call $dummy |
| 111 |
call $dummy |
| 112 |
call $dummy |
| 113 |
end |
| 114 |
local.get 0 |
| 115 |
if ;; label = @1 |
| 116 |
else |
| 117 |
call $dummy |
| 118 |
call $dummy |
| 119 |
call $dummy |
| 120 |
end |
| 121 |
local.get 0 |
| 122 |
if (result i32) ;; label = @1 |
| 123 |
call $dummy |
| 124 |
call $dummy |
| 125 |
i32.const 8 |
| 126 |
call $dummy |
| 127 |
else |
| 128 |
call $dummy |
| 129 |
call $dummy |
| 130 |
i32.const 9 |
| 131 |
call $dummy |
| 132 |
end |
| 133 |
local.get 0 |
| 134 |
if (type 7) (result i32 i64 i32) ;; label = @1 |
| 135 |
call $dummy |
| 136 |
call $dummy |
| 137 |
i32.const 1 |
| 138 |
call $dummy |
| 139 |
call $dummy |
| 140 |
call $dummy |
| 141 |
i64.const 2 |
| 142 |
call $dummy |
| 143 |
call $dummy |
| 144 |
call $dummy |
| 145 |
i32.const 3 |
| 146 |
call $dummy |
| 147 |
else |
| 148 |
call $dummy |
| 149 |
call $dummy |
| 150 |
i32.const -1 |
| 151 |
call $dummy |
| 152 |
call $dummy |
| 153 |
call $dummy |
| 154 |
i64.const -2 |
| 155 |
call $dummy |
| 156 |
call $dummy |
| 157 |
call $dummy |
| 158 |
i32.const -3 |
| 159 |
call $dummy |
| 160 |
end |
| 161 |
drop |
| 162 |
drop |
| 163 |
) |
| 164 |
(func (;4;) (type $check) (param i32 i32) (result i32) |
| 165 |
local.get 0 |
| 166 |
if (result i32) ;; label = @1 |
| 167 |
local.get 1 |
| 168 |
if ;; label = @2 |
| 169 |
call $dummy |
| 170 |
block ;; label = @3 |
| 171 |
end |
| 172 |
nop |
| 173 |
end |
| 174 |
local.get 1 |
| 175 |
if ;; label = @2 |
| 176 |
else |
| 177 |
call $dummy |
| 178 |
block ;; label = @3 |
| 179 |
end |
| 180 |
nop |
| 181 |
end |
| 182 |
local.get 1 |
| 183 |
if (result i32) ;; label = @2 |
| 184 |
call $dummy |
| 185 |
i32.const 9 |
| 186 |
else |
| 187 |
call $dummy |
| 188 |
i32.const 10 |
| 189 |
end |
| 190 |
else |
| 191 |
local.get 1 |
| 192 |
if ;; label = @2 |
| 193 |
call $dummy |
| 194 |
block ;; label = @3 |
| 195 |
end |
| 196 |
nop |
| 197 |
end |
| 198 |
local.get 1 |
| 199 |
if ;; label = @2 |
| 200 |
else |
| 201 |
call $dummy |
| 202 |
block ;; label = @3 |
| 203 |
end |
| 204 |
nop |
| 205 |
end |
| 206 |
local.get 1 |
| 207 |
if (result i32) ;; label = @2 |
| 208 |
call $dummy |
| 209 |
i32.const 10 |
| 210 |
else |
| 211 |
call $dummy |
| 212 |
i32.const 11 |
| 213 |
end |
| 214 |
end |
| 215 |
) |
| 216 |
(func (;5;) (type 5) (param i32) (result i32) |
| 217 |
local.get 0 |
| 218 |
if (result i32) ;; label = @1 |
| 219 |
call $dummy |
| 220 |
i32.const 1 |
| 221 |
else |
| 222 |
call $dummy |
| 223 |
i32.const 0 |
| 224 |
end |
| 225 |
i32.const 2 |
| 226 |
i32.const 3 |
| 227 |
select |
| 228 |
) |
| 229 |
(func (;6;) (type 5) (param i32) (result i32) |
| 230 |
i32.const 2 |
| 231 |
local.get 0 |
| 232 |
if (result i32) ;; label = @1 |
| 233 |
call $dummy |
| 234 |
i32.const 1 |
| 235 |
else |
| 236 |
call $dummy |
| 237 |
i32.const 0 |
| 238 |
end |
| 239 |
i32.const 3 |
| 240 |
select |
| 241 |
) |
| 242 |
(func (;7;) (type 5) (param i32) (result i32) |
| 243 |
i32.const 2 |
| 244 |
i32.const 3 |
| 245 |
local.get 0 |
| 246 |
if (result i32) ;; label = @1 |
| 247 |
call $dummy |
| 248 |
i32.const 1 |
| 249 |
else |
| 250 |
call $dummy |
| 251 |
i32.const 0 |
| 252 |
end |
| 253 |
select |
| 254 |
) |
| 255 |
(func (;8;) (type 5) (param i32) (result i32) |
| 256 |
loop (result i32) ;; label = @1 |
| 257 |
local.get 0 |
| 258 |
if (result i32) ;; label = @2 |
| 259 |
call $dummy |
| 260 |
i32.const 1 |
| 261 |
else |
| 262 |
call $dummy |
| 263 |
i32.const 0 |
| 264 |
end |
| 265 |
call $dummy |
| 266 |
call $dummy |
| 267 |
end |
| 268 |
) |
| 269 |
(func (;9;) (type 5) (param i32) (result i32) |
| 270 |
loop (result i32) ;; label = @1 |
| 271 |
call $dummy |
| 272 |
local.get 0 |
| 273 |
if (result i32) ;; label = @2 |
| 274 |
call $dummy |
| 275 |
i32.const 1 |
| 276 |
else |
| 277 |
call $dummy |
| 278 |
i32.const 0 |
| 279 |
end |
| 280 |
call $dummy |
| 281 |
end |
| 282 |
) |
| 283 |
(func (;10;) (type 5) (param i32) (result i32) |
| 284 |
loop (result i32) ;; label = @1 |
| 285 |
call $dummy |
| 286 |
call $dummy |
| 287 |
local.get 0 |
| 288 |
if (result i32) ;; label = @2 |
| 289 |
call $dummy |
| 290 |
i32.const 1 |
| 291 |
else |
| 292 |
call $dummy |
| 293 |
i32.const 0 |
| 294 |
end |
| 295 |
end |
| 296 |
) |
| 297 |
(func (;11;) (type 5) (param i32) (result i32) |
| 298 |
local.get 0 |
| 299 |
if (result i32) ;; label = @1 |
| 300 |
i32.const 1 |
| 301 |
else |
| 302 |
i32.const 0 |
| 303 |
end |
| 304 |
if (result i32) ;; label = @1 |
| 305 |
call $dummy |
| 306 |
i32.const 2 |
| 307 |
else |
| 308 |
call $dummy |
| 309 |
i32.const 3 |
| 310 |
end |
| 311 |
) |
| 312 |
(func (;12;) (type 5) (param i32) (result i32) |
| 313 |
block (result i32) ;; label = @1 |
| 314 |
local.get 0 |
| 315 |
if (result i32) ;; label = @2 |
| 316 |
call $dummy |
| 317 |
i32.const 1 |
| 318 |
else |
| 319 |
call $dummy |
| 320 |
i32.const 0 |
| 321 |
end |
| 322 |
i32.const 2 |
| 323 |
br_if 0 (;@1;) |
| 324 |
i32.const 3 |
| 325 |
return |
| 326 |
end |
| 327 |
) |
| 328 |
(func (;13;) (type 5) (param i32) (result i32) |
| 329 |
block (result i32) ;; label = @1 |
| 330 |
i32.const 2 |
| 331 |
local.get 0 |
| 332 |
if (result i32) ;; label = @2 |
| 333 |
call $dummy |
| 334 |
i32.const 1 |
| 335 |
else |
| 336 |
call $dummy |
| 337 |
i32.const 0 |
| 338 |
end |
| 339 |
br_if 0 (;@1;) |
| 340 |
i32.const 3 |
| 341 |
return |
| 342 |
end |
| 343 |
) |
| 344 |
(func (;14;) (type 5) (param i32) (result i32) |
| 345 |
block (result i32) ;; label = @1 |
| 346 |
local.get 0 |
| 347 |
if (result i32) ;; label = @2 |
| 348 |
call $dummy |
| 349 |
i32.const 1 |
| 350 |
else |
| 351 |
call $dummy |
| 352 |
i32.const 0 |
| 353 |
end |
| 354 |
i32.const 2 |
| 355 |
br_table 0 (;@1;) 0 (;@1;) |
| 356 |
end |
| 357 |
) |
| 358 |
(func (;15;) (type 5) (param i32) (result i32) |
| 359 |
block (result i32) ;; label = @1 |
| 360 |
i32.const 2 |
| 361 |
local.get 0 |
| 362 |
if (result i32) ;; label = @2 |
| 363 |
call $dummy |
| 364 |
i32.const 1 |
| 365 |
else |
| 366 |
call $dummy |
| 367 |
i32.const 0 |
| 368 |
end |
| 369 |
br_table 0 (;@1;) 0 (;@1;) |
| 370 |
end |
| 371 |
) |
| 372 |
(func $func (;16;) (type $check) (param i32 i32) (result i32) |
| 373 |
local.get 0 |
| 374 |
) |
| 375 |
(func (;17;) (type 5) (param i32) (result i32) |
| 376 |
block (result i32) ;; label = @1 |
| 377 |
local.get 0 |
| 378 |
if (result i32) ;; label = @2 |
| 379 |
call $dummy |
| 380 |
i32.const 1 |
| 381 |
else |
| 382 |
call $dummy |
| 383 |
i32.const 0 |
| 384 |
end |
| 385 |
i32.const 2 |
| 386 |
i32.const 0 |
| 387 |
call_indirect (type $check) |
| 388 |
end |
| 389 |
) |
| 390 |
(func (;18;) (type 5) (param i32) (result i32) |
| 391 |
block (result i32) ;; label = @1 |
| 392 |
i32.const 2 |
| 393 |
local.get 0 |
| 394 |
if (result i32) ;; label = @2 |
| 395 |
call $dummy |
| 396 |
i32.const 1 |
| 397 |
else |
| 398 |
call $dummy |
| 399 |
i32.const 0 |
| 400 |
end |
| 401 |
i32.const 0 |
| 402 |
call_indirect (type $check) |
| 403 |
end |
| 404 |
) |
| 405 |
(func (;19;) (type 5) (param i32) (result i32) |
| 406 |
block (result i32) ;; label = @1 |
| 407 |
i32.const 2 |
| 408 |
i32.const 0 |
| 409 |
local.get 0 |
| 410 |
if (result i32) ;; label = @2 |
| 411 |
call $dummy |
| 412 |
i32.const 1 |
| 413 |
else |
| 414 |
call $dummy |
| 415 |
i32.const 0 |
| 416 |
end |
| 417 |
call_indirect (type $check) |
| 418 |
end |
| 419 |
) |
| 420 |
(func (;20;) (type $block-sig-3) (param i32) |
| 421 |
local.get 0 |
| 422 |
if (result i32) ;; label = @1 |
| 423 |
call $dummy |
| 424 |
i32.const 1 |
| 425 |
else |
| 426 |
call $dummy |
| 427 |
i32.const 0 |
| 428 |
end |
| 429 |
i32.const 2 |
| 430 |
i32.store |
| 431 |
) |
| 432 |
(func (;21;) (type $block-sig-3) (param i32) |
| 433 |
i32.const 2 |
| 434 |
local.get 0 |
| 435 |
if (result i32) ;; label = @1 |
| 436 |
call $dummy |
| 437 |
i32.const 1 |
| 438 |
else |
| 439 |
call $dummy |
| 440 |
i32.const 0 |
| 441 |
end |
| 442 |
i32.store |
| 443 |
) |
| 444 |
(func (;22;) (type 5) (param i32) (result i32) |
| 445 |
local.get 0 |
| 446 |
if (result i32) ;; label = @1 |
| 447 |
i32.const 1 |
| 448 |
else |
| 449 |
i32.const 0 |
| 450 |
end |
| 451 |
memory.grow |
| 452 |
) |
| 453 |
(func $f (;23;) (type 5) (param i32) (result i32) |
| 454 |
local.get 0 |
| 455 |
) |
| 456 |
(func (;24;) (type 5) (param i32) (result i32) |
| 457 |
local.get 0 |
| 458 |
if (result i32) ;; label = @1 |
| 459 |
i32.const 1 |
| 460 |
else |
| 461 |
i32.const 0 |
| 462 |
end |
| 463 |
call $f |
| 464 |
) |
| 465 |
(func (;25;) (type 5) (param i32) (result i32) |
| 466 |
local.get 0 |
| 467 |
if (result i32) ;; label = @1 |
| 468 |
i32.const 1 |
| 469 |
else |
| 470 |
i32.const 0 |
| 471 |
end |
| 472 |
return |
| 473 |
) |
| 474 |
(func (;26;) (type $block-sig-3) (param i32) |
| 475 |
local.get 0 |
| 476 |
if (result i32) ;; label = @1 |
| 477 |
i32.const 1 |
| 478 |
else |
| 479 |
i32.const 0 |
| 480 |
end |
| 481 |
drop |
| 482 |
) |
| 483 |
(func (;27;) (type 5) (param i32) (result i32) |
| 484 |
block (result i32) ;; label = @1 |
| 485 |
local.get 0 |
| 486 |
if (result i32) ;; label = @2 |
| 487 |
i32.const 1 |
| 488 |
else |
| 489 |
i32.const 0 |
| 490 |
end |
| 491 |
br 0 (;@1;) |
| 492 |
end |
| 493 |
) |
| 494 |
(func (;28;) (type 5) (param i32) (result i32) |
| 495 |
(local i32) |
| 496 |
local.get 0 |
| 497 |
if (result i32) ;; label = @1 |
| 498 |
i32.const 1 |
| 499 |
else |
| 500 |
i32.const 0 |
| 501 |
end |
| 502 |
local.set 0 |
| 503 |
local.get 0 |
| 504 |
) |
| 505 |
(func (;29;) (type 5) (param i32) (result i32) |
| 506 |
local.get 0 |
| 507 |
if (result i32) ;; label = @1 |
| 508 |
i32.const 1 |
| 509 |
else |
| 510 |
i32.const 0 |
| 511 |
end |
| 512 |
local.tee 0 |
| 513 |
) |
| 514 |
(func (;30;) (type 5) (param i32) (result i32) |
| 515 |
local.get 0 |
| 516 |
if (result i32) ;; label = @1 |
| 517 |
i32.const 1 |
| 518 |
else |
| 519 |
i32.const 0 |
| 520 |
end |
| 521 |
global.set $a |
| 522 |
global.get $a |
| 523 |
) |
| 524 |
(func (;31;) (type 5) (param i32) (result i32) |
| 525 |
local.get 0 |
| 526 |
if (result i32) ;; label = @1 |
| 527 |
i32.const 11 |
| 528 |
else |
| 529 |
i32.const 10 |
| 530 |
end |
| 531 |
i32.load |
| 532 |
) |
| 533 |
(func (;32;) (type 5) (param i32) (result i32) |
| 534 |
local.get 0 |
| 535 |
if (result i32) ;; label = @1 |
| 536 |
call $dummy |
| 537 |
i32.const 13 |
| 538 |
else |
| 539 |
call $dummy |
| 540 |
i32.const -13 |
| 541 |
end |
| 542 |
i32.ctz |
| 543 |
) |
| 544 |
(func (;33;) (type $check) (param i32 i32) (result i32) |
| 545 |
local.get 0 |
| 546 |
if (result i32) ;; label = @1 |
| 547 |
call $dummy |
| 548 |
i32.const 3 |
| 549 |
else |
| 550 |
call $dummy |
| 551 |
i32.const -3 |
| 552 |
end |
| 553 |
local.get 1 |
| 554 |
if (result i32) ;; label = @1 |
| 555 |
call $dummy |
| 556 |
i32.const 4 |
| 557 |
else |
| 558 |
call $dummy |
| 559 |
i32.const -5 |
| 560 |
end |
| 561 |
i32.mul |
| 562 |
) |
| 563 |
(func (;34;) (type 5) (param i32) (result i32) |
| 564 |
local.get 0 |
| 565 |
if (result i32) ;; label = @1 |
| 566 |
call $dummy |
| 567 |
i32.const 13 |
| 568 |
else |
| 569 |
call $dummy |
| 570 |
i32.const 0 |
| 571 |
end |
| 572 |
i32.eqz |
| 573 |
) |
| 574 |
(func (;35;) (type $check) (param i32 i32) (result i32) |
| 575 |
local.get 0 |
| 576 |
if (result f32) ;; label = @1 |
| 577 |
call $dummy |
| 578 |
f32.const 0x1.8p+1 (;=3;) |
| 579 |
else |
| 580 |
call $dummy |
| 581 |
f32.const -0x1.8p+1 (;=-3;) |
| 582 |
end |
| 583 |
local.get 1 |
| 584 |
if (result f32) ;; label = @1 |
| 585 |
call $dummy |
| 586 |
f32.const 0x1p+2 (;=4;) |
| 587 |
else |
| 588 |
call $dummy |
| 589 |
f32.const -0x1p+2 (;=-4;) |
| 590 |
end |
| 591 |
f32.gt |
| 592 |
) |
| 593 |
(func (;36;) (type 5) (param i32) (result i32) |
| 594 |
local.get 0 |
| 595 |
if (type 8) (result i32 i32) ;; label = @1 |
| 596 |
call $dummy |
| 597 |
i32.const 3 |
| 598 |
call $dummy |
| 599 |
i32.const 4 |
| 600 |
else |
| 601 |
call $dummy |
| 602 |
i32.const 3 |
| 603 |
call $dummy |
| 604 |
i32.const -4 |
| 605 |
end |
| 606 |
i32.mul |
| 607 |
) |
| 608 |
(func (;37;) (type 5) (param i32) (result i32) |
| 609 |
local.get 0 |
| 610 |
if (type 9) (result f32 f32) ;; label = @1 |
| 611 |
call $dummy |
| 612 |
f32.const 0x1.8p+1 (;=3;) |
| 613 |
call $dummy |
| 614 |
f32.const 0x1.8p+1 (;=3;) |
| 615 |
else |
| 616 |
call $dummy |
| 617 |
f32.const -0x1p+1 (;=-2;) |
| 618 |
call $dummy |
| 619 |
f32.const -0x1.8p+1 (;=-3;) |
| 620 |
end |
| 621 |
f32.gt |
| 622 |
) |
| 623 |
(func (;38;) (type 5) (param i32) (result i32) |
| 624 |
local.get 0 |
| 625 |
if (type 8) (result i32 i32) ;; label = @1 |
| 626 |
call $dummy |
| 627 |
i32.const 3 |
| 628 |
call $dummy |
| 629 |
i32.const 4 |
| 630 |
else |
| 631 |
call $dummy |
| 632 |
i32.const -3 |
| 633 |
call $dummy |
| 634 |
i32.const -4 |
| 635 |
end |
| 636 |
i32.const 5 |
| 637 |
i32.add |
| 638 |
i32.mul |
| 639 |
) |
| 640 |
(func (;39;) (type $block-sig-2) (result i32) |
| 641 |
i32.const 1 |
| 642 |
if ;; label = @1 |
| 643 |
br 0 (;@1;) |
| 644 |
unreachable |
| 645 |
end |
| 646 |
i32.const 1 |
| 647 |
if ;; label = @1 |
| 648 |
br 0 (;@1;) |
| 649 |
unreachable |
| 650 |
else |
| 651 |
unreachable |
| 652 |
end |
| 653 |
i32.const 0 |
| 654 |
if ;; label = @1 |
| 655 |
unreachable |
| 656 |
else |
| 657 |
br 0 (;@1;) |
| 658 |
unreachable |
| 659 |
end |
| 660 |
i32.const 1 |
| 661 |
if ;; label = @1 |
| 662 |
i32.const 1 |
| 663 |
br_if 0 (;@1;) |
| 664 |
unreachable |
| 665 |
end |
| 666 |
i32.const 1 |
| 667 |
if ;; label = @1 |
| 668 |
i32.const 1 |
| 669 |
br_if 0 (;@1;) |
| 670 |
unreachable |
| 671 |
else |
| 672 |
unreachable |
| 673 |
end |
| 674 |
i32.const 0 |
| 675 |
if ;; label = @1 |
| 676 |
unreachable |
| 677 |
else |
| 678 |
i32.const 1 |
| 679 |
br_if 0 (;@1;) |
| 680 |
unreachable |
| 681 |
end |
| 682 |
i32.const 1 |
| 683 |
if ;; label = @1 |
| 684 |
i32.const 0 |
| 685 |
br_table 0 (;@1;) |
| 686 |
unreachable |
| 687 |
end |
| 688 |
i32.const 1 |
| 689 |
if ;; label = @1 |
| 690 |
i32.const 0 |
| 691 |
br_table 0 (;@1;) |
| 692 |
unreachable |
| 693 |
else |
| 694 |
unreachable |
| 695 |
end |
| 696 |
i32.const 0 |
| 697 |
if ;; label = @1 |
| 698 |
unreachable |
| 699 |
else |
| 700 |
i32.const 0 |
| 701 |
br_table 0 (;@1;) |
| 702 |
unreachable |
| 703 |
end |
| 704 |
i32.const 19 |
| 705 |
) |
| 706 |
(func (;40;) (type 5) (param i32) (result i32) |
| 707 |
local.get 0 |
| 708 |
if (result i32) ;; label = @1 |
| 709 |
i32.const 18 |
| 710 |
br 0 (;@1;) |
| 711 |
i32.const 19 |
| 712 |
else |
| 713 |
i32.const 21 |
| 714 |
br 0 (;@1;) |
| 715 |
i32.const 20 |
| 716 |
end |
| 717 |
) |
| 718 |
(func (;41;) (type 10) (param i32) (result i32 i32 i64) |
| 719 |
local.get 0 |
| 720 |
if (type 11) (result i32 i32 i64) ;; label = @1 |
| 721 |
i32.const 18 |
| 722 |
i32.const -18 |
| 723 |
i64.const 18 |
| 724 |
br 0 (;@1;) |
| 725 |
i32.const 19 |
| 726 |
i32.const -19 |
| 727 |
i64.const 19 |
| 728 |
else |
| 729 |
i32.const -18 |
| 730 |
i32.const 18 |
| 731 |
i64.const -18 |
| 732 |
br 0 (;@1;) |
| 733 |
i32.const -19 |
| 734 |
i32.const 19 |
| 735 |
i64.const -19 |
| 736 |
end |
| 737 |
) |
| 738 |
(func (;42;) (type 5) (param i32) (result i32) |
| 739 |
i32.const 1 |
| 740 |
local.get 0 |
| 741 |
if (type 5) (param i32) (result i32) ;; label = @1 |
| 742 |
i32.const 2 |
| 743 |
i32.add |
| 744 |
else |
| 745 |
i32.const -2 |
| 746 |
i32.add |
| 747 |
end |
| 748 |
) |
| 749 |
(func (;43;) (type 5) (param i32) (result i32) |
| 750 |
i32.const 1 |
| 751 |
i32.const 2 |
| 752 |
local.get 0 |
| 753 |
if (type $check) (param i32 i32) (result i32) ;; label = @1 |
| 754 |
i32.add |
| 755 |
else |
| 756 |
i32.sub |
| 757 |
end |
| 758 |
) |
| 759 |
(func (;44;) (type 5) (param i32) (result i32) |
| 760 |
i32.const 1 |
| 761 |
i32.const 2 |
| 762 |
local.get 0 |
| 763 |
if (type 12) (param i32 i32) (result i32 i32) ;; label = @1 |
| 764 |
end |
| 765 |
i32.add |
| 766 |
) |
| 767 |
(func (;45;) (type 5) (param i32) (result i32) |
| 768 |
i32.const 1 |
| 769 |
local.get 0 |
| 770 |
if (type 5) (param i32) (result i32) ;; label = @1 |
| 771 |
i32.const 2 |
| 772 |
i32.add |
| 773 |
br 0 (;@1;) |
| 774 |
else |
| 775 |
i32.const -2 |
| 776 |
i32.add |
| 777 |
br 0 (;@1;) |
| 778 |
end |
| 779 |
) |
| 780 |
(func (;46;) (type 5) (param i32) (result i32) |
| 781 |
i32.const 1 |
| 782 |
i32.const 2 |
| 783 |
local.get 0 |
| 784 |
if (type $check) (param i32 i32) (result i32) ;; label = @1 |
| 785 |
i32.add |
| 786 |
br 0 (;@1;) |
| 787 |
else |
| 788 |
i32.sub |
| 789 |
br 0 (;@1;) |
| 790 |
end |
| 791 |
) |
| 792 |
(func (;47;) (type 5) (param i32) (result i32) |
| 793 |
i32.const 1 |
| 794 |
i32.const 2 |
| 795 |
local.get 0 |
| 796 |
if (type 12) (param i32 i32) (result i32 i32) ;; label = @1 |
| 797 |
br 0 (;@1;) |
| 798 |
end |
| 799 |
i32.add |
| 800 |
) |
| 801 |
(func (;48;) (type 5) (param i32) (result i32) |
| 802 |
(local i32) |
| 803 |
block (result i32) ;; label = @1 |
| 804 |
i32.const 1 |
| 805 |
local.set 1 |
| 806 |
local.get 0 |
| 807 |
end |
| 808 |
if ;; label = @1 |
| 809 |
local.get 1 |
| 810 |
i32.const 3 |
| 811 |
i32.mul |
| 812 |
local.set 1 |
| 813 |
local.get 1 |
| 814 |
i32.const 5 |
| 815 |
i32.sub |
| 816 |
local.set 1 |
| 817 |
local.get 1 |
| 818 |
i32.const 7 |
| 819 |
i32.mul |
| 820 |
local.set 1 |
| 821 |
br 0 (;@1;) |
| 822 |
local.get 1 |
| 823 |
i32.const 100 |
| 824 |
i32.mul |
| 825 |
local.set 1 |
| 826 |
else |
| 827 |
local.get 1 |
| 828 |
i32.const 5 |
| 829 |
i32.mul |
| 830 |
local.set 1 |
| 831 |
local.get 1 |
| 832 |
i32.const 7 |
| 833 |
i32.sub |
| 834 |
local.set 1 |
| 835 |
local.get 1 |
| 836 |
i32.const 3 |
| 837 |
i32.mul |
| 838 |
local.set 1 |
| 839 |
br 0 (;@1;) |
| 840 |
local.get 1 |
| 841 |
i32.const 1000 |
| 842 |
i32.mul |
| 843 |
local.set 1 |
| 844 |
end |
| 845 |
local.get 1 |
| 846 |
) |
| 847 |
(func $add64_u_with_carry (;49;) (type 13) (param $i i64) (param $j i64) (param $c i32) (result i64 i32) |
| 848 |
(local $k i64) |
| 849 |
local.get $i |
| 850 |
local.get $j |
| 851 |
i64.add |
| 852 |
local.get $c |
| 853 |
i64.extend_i32_u |
| 854 |
i64.add |
| 855 |
local.set $k |
| 856 |
local.get $k |
| 857 |
local.get $k |
| 858 |
local.get $i |
| 859 |
i64.lt_u |
| 860 |
return |
| 861 |
) |
| 862 |
(func $add64_u_saturated (;50;) (type 14) (param i64 i64) (result i64) |
| 863 |
local.get 0 |
| 864 |
local.get 1 |
| 865 |
i32.const 0 |
| 866 |
call $add64_u_with_carry |
| 867 |
if (type 15) (param i64) (result i64) ;; label = @1 |
| 868 |
drop |
| 869 |
i64.const -1 |
| 870 |
end |
| 871 |
) |
| 872 |
(func (;51;) (type $block-sig-1) |
| 873 |
i32.const 1 |
| 874 |
if (type $block-sig-1) ;; label = @1 |
| 875 |
end |
| 876 |
i32.const 1 |
| 877 |
if (type $block-sig-2) (result i32) ;; label = @1 |
| 878 |
i32.const 0 |
| 879 |
else |
| 880 |
i32.const 2 |
| 881 |
end |
| 882 |
i32.const 1 |
| 883 |
if (type $block-sig-3) (param i32) ;; label = @1 |
| 884 |
drop |
| 885 |
else |
| 886 |
drop |
| 887 |
end |
| 888 |
i32.const 0 |
| 889 |
f64.const 0x0p+0 (;=0;) |
| 890 |
i32.const 0 |
| 891 |
i32.const 1 |
| 892 |
if (type $block-sig-4) (param i32 f64 i32) (result i32 f64 i32) ;; label = @1 |
| 893 |
end |
| 894 |
drop |
| 895 |
drop |
| 896 |
drop |
| 897 |
i32.const 1 |
| 898 |
if (type $block-sig-2) (result i32) ;; label = @1 |
| 899 |
i32.const 0 |
| 900 |
else |
| 901 |
i32.const 2 |
| 902 |
end |
| 903 |
i32.const 1 |
| 904 |
if (type $block-sig-3) (param i32) ;; label = @1 |
| 905 |
drop |
| 906 |
else |
| 907 |
drop |
| 908 |
end |
| 909 |
i32.const 0 |
| 910 |
f64.const 0x0p+0 (;=0;) |
| 911 |
i32.const 0 |
| 912 |
i32.const 1 |
| 913 |
if (type $block-sig-4) (param i32 f64 i32) (result i32 f64 i32) ;; label = @1 |
| 914 |
end |
| 915 |
drop |
| 916 |
drop |
| 917 |
drop |
| 918 |
) |
| 919 |
(func (;52;) (type $block-sig-1) |
| 920 |
i32.const 0 |
| 921 |
if ;; label = @1 |
| 922 |
else |
| 923 |
end |
| 924 |
i32.const 1 |
| 925 |
i32.eqz |
| 926 |
if ;; label = @1 |
| 927 |
else |
| 928 |
end |
| 929 |
) |
| 930 |
) |