MCPcopy Index your code
hub / github.com/sql-js/sql.js / ___mo_lookup

Function ___mo_lookup

js/sql-debug.js:395495–395612  ·  view source on GitHub ↗
($0,$1,$2)

Source from the content-addressed store, hash-verified

395493 return ($8|0);
395494}
395495function ___mo_lookup($0,$1,$2) {
395496 $0 = $0|0;
395497 $1 = $1|0;
395498 $2 = $2|0;
395499 var $$ = 0, $$090 = 0, $$094 = 0, $$191 = 0, $$195 = 0, $$4 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0;
395500 var $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0;
395501 var $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0;
395502 var $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $7 = 0, $8 = 0, $9 = 0, $or$cond = 0, $or$cond102 = 0, $or$cond104 = 0, label = 0, sp = 0;
395503 sp = STACKTOP;
395504 $3 = HEAP32[$0>>2]|0;
395505 $4 = (($3) + 1794895138)|0;
395506 $5 = ((($0)) + 8|0);
395507 $6 = HEAP32[$5>>2]|0;
395508 $7 = (_swapc($6,$4)|0);
395509 $8 = ((($0)) + 12|0);
395510 $9 = HEAP32[$8>>2]|0;
395511 $10 = (_swapc($9,$4)|0);
395512 $11 = ((($0)) + 16|0);
395513 $12 = HEAP32[$11>>2]|0;
395514 $13 = (_swapc($12,$4)|0);
395515 $14 = $1 >>> 2;
395516 $15 = ($7>>>0)<($14>>>0);
395517 L1: do {
395518 if ($15) {
395519 $16 = $7 << 2;
395520 $17 = (($1) - ($16))|0;
395521 $18 = ($10>>>0)<($17>>>0);
395522 $19 = ($13>>>0)<($17>>>0);
395523 $or$cond = $18 & $19;
395524 if ($or$cond) {
395525 $20 = $13 | $10;
395526 $21 = $20 & 3;
395527 $22 = ($21|0)==(0);
395528 if ($22) {
395529 $23 = $10 >>> 2;
395530 $24 = $13 >>> 2;
395531 $$090 = 0;$$094 = $7;
395532 while(1) {
395533 $25 = $$094 >>> 1;
395534 $26 = (($$090) + ($25))|0;
395535 $27 = $26 << 1;
395536 $28 = (($27) + ($23))|0;
395537 $29 = (($0) + ($28<<2)|0);
395538 $30 = HEAP32[$29>>2]|0;
395539 $31 = (_swapc($30,$4)|0);
395540 $32 = (($28) + 1)|0;
395541 $33 = (($0) + ($32<<2)|0);
395542 $34 = HEAP32[$33>>2]|0;
395543 $35 = (_swapc($34,$4)|0);
395544 $36 = ($35>>>0)<($1>>>0);
395545 $37 = (($1) - ($35))|0;
395546 $38 = ($31>>>0)<($37>>>0);
395547 $or$cond102 = $36 & $38;
395548 if (!($or$cond102)) {
395549 $$4 = 0;
395550 break L1;
395551 }
395552 $39 = (($35) + ($31))|0;

Callers 1

___lctrans_implFunction · 0.85

Calls 2

_swapcFunction · 0.85
_strcmpFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…