(module (type $_ (func)) (type $ii (func (param i32) (result i32))) (type $i_ (func (param i32))) (type $iiii (func (param i32 i32 i32) (result i32))) (type $iiii_ (func (param i32 i32 i32 i32))) (type $iii_ (func (param i32 i32 i32))) (type $iii (func (param i32 i32) (result i32))) (type $ii_ (func (param i32 i32))) (type $iIi (func (param i32 i64) (result i32))) (type $Ii (func (param i64) (result i32))) (type $iIii (func (param i32 i64 i32) (result i32))) (type $iI_ (func (param i32 i64))) (type $ifi (func (param i32 f32) (result i32))) (type $fi (func (param f32) (result i32))) (type $ifii (func (param i32 f32 i32) (result i32))) (type $if_ (func (param i32 f32))) (type $iFi (func (param i32 f64) (result i32))) (type $Fi (func (param f64) (result i32))) (type $iFii (func (param i32 f64 i32) (result i32))) (type $iF_ (func (param i32 f64))) (import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32))) (memory $0 1) (data (i32.const 8) "\13\00\00\00~\00l\00i\00b\00/\00a\00r\00r\00a\00y\00b\00u\00f\00f\00e\00r\00.\00t\00s\00") (data (i32.const 56) "\1c\00\00\00~\00l\00i\00b\00/\00i\00n\00t\00e\00r\00n\00a\00l\00/\00a\00r\00r\00a\00y\00b\00u\00f\00f\00e\00r\00.\00t\00s\00") (data (i32.const 120) "\n\00\00\00s\00t\00d\00/\00s\00e\00t\00.\00t\00s\00") (table $0 1 funcref) (elem (i32.const 0) $null) (global $~lib/allocator/arena/startOffset (mut i32) (i32.const 0)) (global $~lib/allocator/arena/offset (mut i32) (i32.const 0)) (global $~lib/memory/HEAP_BASE i32 (i32.const 144)) (export "memory" (memory $0)) (export "table" (table $0)) (start $start) (func $start:~lib/allocator/arena (; 1 ;) (type $_) global.get $~lib/memory/HEAP_BASE i32.const 7 i32.add i32.const 7 i32.const -1 i32.xor i32.and global.set $~lib/allocator/arena/startOffset global.get $~lib/allocator/arena/startOffset global.set $~lib/allocator/arena/offset ) (func $~lib/allocator/arena/__memory_allocate (; 2 ;) (type $ii) (param $0 i32) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) local.get $0 i32.const 1073741824 i32.gt_u if unreachable end global.get $~lib/allocator/arena/offset local.set $1 local.get $1 local.get $0 local.tee $2 i32.const 1 local.tee $3 local.get $2 local.get $3 i32.gt_u select i32.add i32.const 7 i32.add i32.const 7 i32.const -1 i32.xor i32.and local.set $4 current_memory local.set $5 local.get $4 local.get $5 i32.const 16 i32.shl i32.gt_u if local.get $4 local.get $1 i32.sub i32.const 65535 i32.add i32.const 65535 i32.const -1 i32.xor i32.and i32.const 16 i32.shr_u local.set $2 local.get $5 local.tee $3 local.get $2 local.tee $6 local.get $3 local.get $6 i32.gt_s select local.set $3 local.get $3 grow_memory i32.const 0 i32.lt_s if local.get $2 grow_memory i32.const 0 i32.lt_s if unreachable end end end local.get $4 global.set $~lib/allocator/arena/offset local.get $1 ) (func $~lib/memory/memory.allocate (; 3 ;) (type $ii) (param $0 i32) (result i32) local.get $0 call $~lib/allocator/arena/__memory_allocate return ) (func $~lib/internal/arraybuffer/computeSize (; 4 ;) (type $ii) (param $0 i32) (result i32) i32.const 1 i32.const 32 local.get $0 i32.const 8 i32.add i32.const 1 i32.sub i32.clz i32.sub i32.shl ) (func $~lib/internal/arraybuffer/allocateUnsafe (; 5 ;) (type $ii) (param $0 i32) (result i32) (local $1 i32) (local $2 i32) local.get $0 i32.const 1073741816 i32.le_u i32.eqz if i32.const 0 i32.const 56 i32.const 26 i32.const 2 call $~lib/env/abort unreachable end block $~lib/memory/memory.allocate|inlined.0 (result i32) local.get $0 call $~lib/internal/arraybuffer/computeSize local.set $2 local.get $2 call $~lib/allocator/arena/__memory_allocate br $~lib/memory/memory.allocate|inlined.0 end local.set $1 local.get $1 local.get $0 i32.store local.get $1 ) (func $~lib/internal/memory/memset (; 6 ;) (type $iii_) (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) (local $4 i32) (local $5 i64) local.get $2 i32.eqz if return end local.get $0 local.get $1 i32.store8 local.get $0 local.get $2 i32.add i32.const 1 i32.sub local.get $1 i32.store8 local.get $2 i32.const 2 i32.le_u if return end local.get $0 i32.const 1 i32.add local.get $1 i32.store8 local.get $0 i32.const 2 i32.add local.get $1 i32.store8 local.get $0 local.get $2 i32.add i32.const 2 i32.sub local.get $1 i32.store8 local.get $0 local.get $2 i32.add i32.const 3 i32.sub local.get $1 i32.store8 local.get $2 i32.const 6 i32.le_u if return end local.get $0 i32.const 3 i32.add local.get $1 i32.store8 local.get $0 local.get $2 i32.add i32.const 4 i32.sub local.get $1 i32.store8 local.get $2 i32.const 8 i32.le_u if return end i32.const 0 local.get $0 i32.sub i32.const 3 i32.and local.set $3 local.get $0 local.get $3 i32.add local.set $0 local.get $2 local.get $3 i32.sub local.set $2 local.get $2 i32.const -4 i32.and local.set $2 i32.const -1 i32.const 255 i32.div_u local.get $1 i32.const 255 i32.and i32.mul local.set $4 local.get $0 local.get $4 i32.store local.get $0 local.get $2 i32.add i32.const 4 i32.sub local.get $4 i32.store local.get $2 i32.const 8 i32.le_u if return end local.get $0 i32.const 4 i32.add local.get $4 i32.store local.get $0 i32.const 8 i32.add local.get $4 i32.store local.get $0 local.get $2 i32.add i32.const 12 i32.sub local.get $4 i32.store local.get $0 local.get $2 i32.add i32.const 8 i32.sub local.get $4 i32.store local.get $2 i32.const 24 i32.le_u if return end local.get $0 i32.const 12 i32.add local.get $4 i32.store local.get $0 i32.const 16 i32.add local.get $4 i32.store local.get $0 i32.const 20 i32.add local.get $4 i32.store local.get $0 i32.const 24 i32.add local.get $4 i32.store local.get $0 local.get $2 i32.add i32.const 28 i32.sub local.get $4 i32.store local.get $0 local.get $2 i32.add i32.const 24 i32.sub local.get $4 i32.store local.get $0 local.get $2 i32.add i32.const 20 i32.sub local.get $4 i32.store local.get $0 local.get $2 i32.add i32.const 16 i32.sub local.get $4 i32.store i32.const 24 local.get $0 i32.const 4 i32.and i32.add local.set $3 local.get $0 local.get $3 i32.add local.set $0 local.get $2 local.get $3 i32.sub local.set $2 local.get $4 i64.extend_i32_u local.get $4 i64.extend_i32_u i64.const 32 i64.shl i64.or local.set $5 block $break|0 loop $continue|0 local.get $2 i32.const 32 i32.ge_u if block local.get $0 local.get $5 i64.store local.get $0 i32.const 8 i32.add local.get $5 i64.store local.get $0 i32.const 16 i32.add local.get $5 i64.store local.get $0 i32.const 24 i32.add local.get $5 i64.store local.get $2 i32.const 32 i32.sub local.set $2 local.get $0 i32.const 32 i32.add local.set $0 end br $continue|0 end end end ) (func $~lib/arraybuffer/ArrayBuffer#constructor (; 7 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) local.get $1 i32.const 1073741816 i32.gt_u if i32.const 0 i32.const 8 i32.const 47 i32.const 40 call $~lib/env/abort unreachable end local.get $1 call $~lib/internal/arraybuffer/allocateUnsafe local.set $3 local.get $2 i32.const 0 i32.ne i32.eqz if local.get $3 i32.const 8 i32.add local.set $4 i32.const 0 local.set $5 local.get $1 local.set $6 local.get $4 local.get $5 local.get $6 call $~lib/internal/memory/memset end local.get $3 ) (func $~lib/set/Set#clear (; 8 ;) (type $i_) (param $0 i32) local.get $0 i32.const 0 i32.const 16 i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store local.get $0 i32.const 4 i32.const 1 i32.sub i32.store offset=4 local.get $0 i32.const 0 i32.const 32 i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store offset=8 local.get $0 i32.const 4 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 ) (func $~lib/set/Set#constructor (; 9 ;) (type $ii) (param $0 i32) (result i32) block (result i32) local.get $0 i32.eqz if i32.const 24 call $~lib/memory/memory.allocate local.set $0 end local.get $0 i32.const 0 i32.store local.get $0 i32.const 0 i32.store offset=4 local.get $0 i32.const 0 i32.store offset=8 local.get $0 i32.const 0 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 local.get $0 end call $~lib/set/Set#clear local.get $0 ) (func $~lib/internal/hash/hash8 (; 10 ;) (type $ii) (param $0 i32) (result i32) i32.const -2128831035 local.get $0 i32.xor i32.const 16777619 i32.mul ) (func $~lib/internal/hash/HASH (; 11 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.const 24 i32.shl i32.const 24 i32.shr_s call $~lib/internal/hash/hash8 return ) (func $~lib/set/Set#find (; 12 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add i32.load offset=8 local.set $3 block $break|0 loop $continue|0 local.get $3 if block local.get $3 i32.load offset=4 i32.const 1 i32.and i32.eqz local.tee $4 if (result i32) local.get $3 i32.load8_s local.get $1 i32.const 24 i32.shl i32.const 24 i32.shr_s i32.eq else local.get $4 end if local.get $3 return end local.get $3 i32.load offset=4 i32.const 1 i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/set/Set#has (; 13 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 local.get $1 local.get $1 call $~lib/internal/hash/HASH call $~lib/set/Set#find i32.const 0 i32.ne ) (func $~lib/set/Set#rehash (; 14 ;) (type $ii_) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) (local $9 i32) (local $10 i32) (local $11 i32) (local $12 i32) local.get $1 i32.const 1 i32.add local.set $2 i32.const 0 local.get $2 i32.const 4 i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s f64.const 2.6666666666666665 f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/set/ENTRY_SIZE|inlined.1 (result i32) i32.const 8 end i32.mul i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $5 local.get $0 i32.load offset=8 i32.const 8 i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/set/ENTRY_SIZE|inlined.2 (result i32) i32.const 8 end i32.mul i32.add local.set $7 local.get $5 i32.const 8 i32.add local.set $8 block $break|0 loop $continue|0 local.get $6 local.get $7 i32.ne if block local.get $6 local.set $9 local.get $9 i32.load offset=4 i32.const 1 i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 i32.load8_s i32.store8 block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $9 i32.load8_s local.set $11 local.get $11 call $~lib/internal/hash/hash8 br $~lib/internal/hash/HASH|inlined.0 end local.get $1 i32.and local.set $11 local.get $3 local.get $11 i32.const 4 i32.mul i32.add local.set $12 local.get $10 local.get $12 i32.load offset=8 i32.store offset=4 local.get $12 local.get $8 i32.store offset=8 local.get $8 block $~lib/set/ENTRY_SIZE|inlined.3 (result i32) i32.const 8 end i32.add local.set $8 end local.get $6 block $~lib/set/ENTRY_SIZE|inlined.4 (result i32) i32.const 8 end i32.add local.set $6 end br $continue|0 end end end local.get $0 local.get $3 i32.store local.get $0 local.get $1 i32.store offset=4 local.get $0 local.get $5 i32.store offset=8 local.get $0 local.get $4 i32.store offset=12 local.get $0 local.get $0 i32.load offset=20 i32.store offset=16 ) (func $~lib/set/Set#add (; 15 ;) (type $ii_) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) local.get $1 call $~lib/internal/hash/HASH local.set $2 local.get $0 local.get $1 local.get $2 call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if local.get $0 i32.load offset=16 local.get $0 i32.load offset=12 i32.eq if local.get $0 local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s if (result i32) local.get $0 i32.load offset=4 else local.get $0 i32.load offset=4 i32.const 1 i32.shl i32.const 1 i32.or end call $~lib/set/Set#rehash end local.get $0 i32.load offset=8 local.set $4 local.get $4 i32.const 8 i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $5 i32.const 1 i32.add i32.store offset=16 local.get $5 end block $~lib/set/ENTRY_SIZE|inlined.5 (result i32) i32.const 8 end i32.mul i32.add local.set $3 local.get $3 local.get $1 i32.store8 local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.add i32.store offset=20 local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add local.set $5 local.get $3 local.get $5 i32.load offset=8 i32.store offset=4 local.get $5 local.get $3 i32.store offset=8 end ) (func $~lib/set/Set#get:size (; 16 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/set/Set#delete (; 17 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 local.set $2 local.get $2 i32.const 24 i32.shl i32.const 24 i32.shr_s call $~lib/internal/hash/hash8 br $~lib/internal/hash/HASH|inlined.1 end call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if i32.const 0 return end local.get $3 local.get $3 i32.load offset=4 i32.const 1 i32.or i32.store offset=4 local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.sub i32.store offset=20 local.get $0 i32.load offset=4 i32.const 1 i32.shr_u local.set $4 local.get $4 i32.const 1 i32.add i32.const 4 local.tee $2 local.get $0 i32.load offset=20 local.tee $5 local.get $2 local.get $5 i32.gt_u select i32.ge_u local.tee $2 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s else local.get $2 end if local.get $0 local.get $4 call $~lib/set/Set#rehash end i32.const 1 ) (func $std/set/test (; 18 ;) (type $_) (local $0 i32) (local $1 i32) i32.const 0 call $~lib/set/Set#constructor local.set $0 block $break|0 i32.const 0 local.set $1 loop $repeat|0 local.get $1 i32.const 100 i32.lt_s i32.eqz br_if $break|0 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 8 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|0 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 12 i32.const 2 call $~lib/env/abort unreachable end block $break|1 i32.const 50 local.set $1 loop $repeat|1 local.get $1 i32.const 100 i32.lt_s i32.eqz br_if $break|1 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 16 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|1 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 2 call $~lib/env/abort unreachable end block $break|2 i32.const 0 local.set $1 loop $repeat|2 local.get $1 i32.const 50 i32.lt_s i32.eqz br_if $break|2 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 24 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 26 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|2 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 2 call $~lib/env/abort unreachable end block $break|3 i32.const 0 local.set $1 loop $repeat|3 local.get $1 i32.const 50 i32.lt_s i32.eqz br_if $break|3 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 32 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 34 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|3 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/set/Set#clear local.get $0 call $~lib/set/Set#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end ) (func $~lib/set/Set#clear (; 19 ;) (type $i_) (param $0 i32) local.get $0 i32.const 0 i32.const 16 i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store local.get $0 i32.const 4 i32.const 1 i32.sub i32.store offset=4 local.get $0 i32.const 0 i32.const 32 i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store offset=8 local.get $0 i32.const 4 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 ) (func $~lib/set/Set#constructor (; 20 ;) (type $ii) (param $0 i32) (result i32) block (result i32) local.get $0 i32.eqz if i32.const 24 call $~lib/memory/memory.allocate local.set $0 end local.get $0 i32.const 0 i32.store local.get $0 i32.const 0 i32.store offset=4 local.get $0 i32.const 0 i32.store offset=8 local.get $0 i32.const 0 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 local.get $0 end call $~lib/set/Set#clear local.get $0 ) (func $~lib/internal/hash/HASH (; 21 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.const 255 i32.and call $~lib/internal/hash/hash8 return ) (func $~lib/set/Set#find (; 22 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add i32.load offset=8 local.set $3 block $break|0 loop $continue|0 local.get $3 if block local.get $3 i32.load offset=4 i32.const 1 i32.and i32.eqz local.tee $4 if (result i32) local.get $3 i32.load8_u local.get $1 i32.const 255 i32.and i32.eq else local.get $4 end if local.get $3 return end local.get $3 i32.load offset=4 i32.const 1 i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/set/Set#has (; 23 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 local.get $1 local.get $1 call $~lib/internal/hash/HASH call $~lib/set/Set#find i32.const 0 i32.ne ) (func $~lib/set/Set#rehash (; 24 ;) (type $ii_) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) (local $9 i32) (local $10 i32) (local $11 i32) (local $12 i32) local.get $1 i32.const 1 i32.add local.set $2 i32.const 0 local.get $2 i32.const 4 i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s f64.const 2.6666666666666665 f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/set/ENTRY_SIZE|inlined.1 (result i32) i32.const 8 end i32.mul i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $5 local.get $0 i32.load offset=8 i32.const 8 i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/set/ENTRY_SIZE|inlined.2 (result i32) i32.const 8 end i32.mul i32.add local.set $7 local.get $5 i32.const 8 i32.add local.set $8 block $break|0 loop $continue|0 local.get $6 local.get $7 i32.ne if block local.get $6 local.set $9 local.get $9 i32.load offset=4 i32.const 1 i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 i32.load8_u i32.store8 block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $9 i32.load8_u local.set $11 local.get $11 call $~lib/internal/hash/hash8 br $~lib/internal/hash/HASH|inlined.0 end local.get $1 i32.and local.set $11 local.get $3 local.get $11 i32.const 4 i32.mul i32.add local.set $12 local.get $10 local.get $12 i32.load offset=8 i32.store offset=4 local.get $12 local.get $8 i32.store offset=8 local.get $8 block $~lib/set/ENTRY_SIZE|inlined.3 (result i32) i32.const 8 end i32.add local.set $8 end local.get $6 block $~lib/set/ENTRY_SIZE|inlined.4 (result i32) i32.const 8 end i32.add local.set $6 end br $continue|0 end end end local.get $0 local.get $3 i32.store local.get $0 local.get $1 i32.store offset=4 local.get $0 local.get $5 i32.store offset=8 local.get $0 local.get $4 i32.store offset=12 local.get $0 local.get $0 i32.load offset=20 i32.store offset=16 ) (func $~lib/set/Set#add (; 25 ;) (type $ii_) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) local.get $1 call $~lib/internal/hash/HASH local.set $2 local.get $0 local.get $1 local.get $2 call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if local.get $0 i32.load offset=16 local.get $0 i32.load offset=12 i32.eq if local.get $0 local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s if (result i32) local.get $0 i32.load offset=4 else local.get $0 i32.load offset=4 i32.const 1 i32.shl i32.const 1 i32.or end call $~lib/set/Set#rehash end local.get $0 i32.load offset=8 local.set $4 local.get $4 i32.const 8 i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $5 i32.const 1 i32.add i32.store offset=16 local.get $5 end block $~lib/set/ENTRY_SIZE|inlined.5 (result i32) i32.const 8 end i32.mul i32.add local.set $3 local.get $3 local.get $1 i32.store8 local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.add i32.store offset=20 local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add local.set $5 local.get $3 local.get $5 i32.load offset=8 i32.store offset=4 local.get $5 local.get $3 i32.store offset=8 end ) (func $~lib/set/Set#get:size (; 26 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/set/Set#delete (; 27 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 local.set $2 local.get $2 i32.const 255 i32.and call $~lib/internal/hash/hash8 br $~lib/internal/hash/HASH|inlined.1 end call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if i32.const 0 return end local.get $3 local.get $3 i32.load offset=4 i32.const 1 i32.or i32.store offset=4 local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.sub i32.store offset=20 local.get $0 i32.load offset=4 i32.const 1 i32.shr_u local.set $4 local.get $4 i32.const 1 i32.add i32.const 4 local.tee $2 local.get $0 i32.load offset=20 local.tee $5 local.get $2 local.get $5 i32.gt_u select i32.ge_u local.tee $2 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s else local.get $2 end if local.get $0 local.get $4 call $~lib/set/Set#rehash end i32.const 1 ) (func $std/set/test (; 28 ;) (type $_) (local $0 i32) (local $1 i32) i32.const 0 call $~lib/set/Set#constructor local.set $0 block $break|0 i32.const 0 local.set $1 loop $repeat|0 local.get $1 i32.const 100 i32.lt_u i32.eqz br_if $break|0 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 8 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|0 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 12 i32.const 2 call $~lib/env/abort unreachable end block $break|1 i32.const 50 local.set $1 loop $repeat|1 local.get $1 i32.const 100 i32.lt_u i32.eqz br_if $break|1 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 16 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|1 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 2 call $~lib/env/abort unreachable end block $break|2 i32.const 0 local.set $1 loop $repeat|2 local.get $1 i32.const 50 i32.lt_u i32.eqz br_if $break|2 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 24 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 26 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|2 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 2 call $~lib/env/abort unreachable end block $break|3 i32.const 0 local.set $1 loop $repeat|3 local.get $1 i32.const 50 i32.lt_u i32.eqz br_if $break|3 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 32 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 34 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|3 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/set/Set#clear local.get $0 call $~lib/set/Set#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end ) (func $~lib/set/Set#clear (; 29 ;) (type $i_) (param $0 i32) local.get $0 i32.const 0 i32.const 16 i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store local.get $0 i32.const 4 i32.const 1 i32.sub i32.store offset=4 local.get $0 i32.const 0 i32.const 32 i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store offset=8 local.get $0 i32.const 4 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 ) (func $~lib/set/Set#constructor (; 30 ;) (type $ii) (param $0 i32) (result i32) block (result i32) local.get $0 i32.eqz if i32.const 24 call $~lib/memory/memory.allocate local.set $0 end local.get $0 i32.const 0 i32.store local.get $0 i32.const 0 i32.store offset=4 local.get $0 i32.const 0 i32.store offset=8 local.get $0 i32.const 0 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 local.get $0 end call $~lib/set/Set#clear local.get $0 ) (func $~lib/internal/hash/hash16 (; 31 ;) (type $ii) (param $0 i32) (result i32) (local $1 i32) i32.const -2128831035 local.set $1 local.get $1 local.get $0 i32.const 255 i32.and i32.xor i32.const 16777619 i32.mul local.set $1 local.get $1 local.get $0 i32.const 8 i32.shr_u i32.xor i32.const 16777619 i32.mul local.set $1 local.get $1 ) (func $~lib/internal/hash/HASH (; 32 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.const 16 i32.shl i32.const 16 i32.shr_s call $~lib/internal/hash/hash16 return ) (func $~lib/set/Set#find (; 33 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add i32.load offset=8 local.set $3 block $break|0 loop $continue|0 local.get $3 if block local.get $3 i32.load offset=4 i32.const 1 i32.and i32.eqz local.tee $4 if (result i32) local.get $3 i32.load16_s local.get $1 i32.const 16 i32.shl i32.const 16 i32.shr_s i32.eq else local.get $4 end if local.get $3 return end local.get $3 i32.load offset=4 i32.const 1 i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/set/Set#has (; 34 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 local.get $1 local.get $1 call $~lib/internal/hash/HASH call $~lib/set/Set#find i32.const 0 i32.ne ) (func $~lib/set/Set#rehash (; 35 ;) (type $ii_) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) (local $9 i32) (local $10 i32) (local $11 i32) (local $12 i32) local.get $1 i32.const 1 i32.add local.set $2 i32.const 0 local.get $2 i32.const 4 i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s f64.const 2.6666666666666665 f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/set/ENTRY_SIZE|inlined.1 (result i32) i32.const 8 end i32.mul i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $5 local.get $0 i32.load offset=8 i32.const 8 i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/set/ENTRY_SIZE|inlined.2 (result i32) i32.const 8 end i32.mul i32.add local.set $7 local.get $5 i32.const 8 i32.add local.set $8 block $break|0 loop $continue|0 local.get $6 local.get $7 i32.ne if block local.get $6 local.set $9 local.get $9 i32.load offset=4 i32.const 1 i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 i32.load16_s i32.store16 block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $9 i32.load16_s local.set $11 local.get $11 call $~lib/internal/hash/hash16 br $~lib/internal/hash/HASH|inlined.0 end local.get $1 i32.and local.set $11 local.get $3 local.get $11 i32.const 4 i32.mul i32.add local.set $12 local.get $10 local.get $12 i32.load offset=8 i32.store offset=4 local.get $12 local.get $8 i32.store offset=8 local.get $8 block $~lib/set/ENTRY_SIZE|inlined.3 (result i32) i32.const 8 end i32.add local.set $8 end local.get $6 block $~lib/set/ENTRY_SIZE|inlined.4 (result i32) i32.const 8 end i32.add local.set $6 end br $continue|0 end end end local.get $0 local.get $3 i32.store local.get $0 local.get $1 i32.store offset=4 local.get $0 local.get $5 i32.store offset=8 local.get $0 local.get $4 i32.store offset=12 local.get $0 local.get $0 i32.load offset=20 i32.store offset=16 ) (func $~lib/set/Set#add (; 36 ;) (type $ii_) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) local.get $1 call $~lib/internal/hash/HASH local.set $2 local.get $0 local.get $1 local.get $2 call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if local.get $0 i32.load offset=16 local.get $0 i32.load offset=12 i32.eq if local.get $0 local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s if (result i32) local.get $0 i32.load offset=4 else local.get $0 i32.load offset=4 i32.const 1 i32.shl i32.const 1 i32.or end call $~lib/set/Set#rehash end local.get $0 i32.load offset=8 local.set $4 local.get $4 i32.const 8 i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $5 i32.const 1 i32.add i32.store offset=16 local.get $5 end block $~lib/set/ENTRY_SIZE|inlined.5 (result i32) i32.const 8 end i32.mul i32.add local.set $3 local.get $3 local.get $1 i32.store16 local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.add i32.store offset=20 local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add local.set $5 local.get $3 local.get $5 i32.load offset=8 i32.store offset=4 local.get $5 local.get $3 i32.store offset=8 end ) (func $~lib/set/Set#get:size (; 37 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/set/Set#delete (; 38 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 local.set $2 local.get $2 i32.const 16 i32.shl i32.const 16 i32.shr_s call $~lib/internal/hash/hash16 br $~lib/internal/hash/HASH|inlined.1 end call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if i32.const 0 return end local.get $3 local.get $3 i32.load offset=4 i32.const 1 i32.or i32.store offset=4 local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.sub i32.store offset=20 local.get $0 i32.load offset=4 i32.const 1 i32.shr_u local.set $4 local.get $4 i32.const 1 i32.add i32.const 4 local.tee $2 local.get $0 i32.load offset=20 local.tee $5 local.get $2 local.get $5 i32.gt_u select i32.ge_u local.tee $2 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s else local.get $2 end if local.get $0 local.get $4 call $~lib/set/Set#rehash end i32.const 1 ) (func $std/set/test (; 39 ;) (type $_) (local $0 i32) (local $1 i32) i32.const 0 call $~lib/set/Set#constructor local.set $0 block $break|0 i32.const 0 local.set $1 loop $repeat|0 local.get $1 i32.const 100 i32.lt_s i32.eqz br_if $break|0 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 8 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|0 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 12 i32.const 2 call $~lib/env/abort unreachable end block $break|1 i32.const 50 local.set $1 loop $repeat|1 local.get $1 i32.const 100 i32.lt_s i32.eqz br_if $break|1 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 16 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|1 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 2 call $~lib/env/abort unreachable end block $break|2 i32.const 0 local.set $1 loop $repeat|2 local.get $1 i32.const 50 i32.lt_s i32.eqz br_if $break|2 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 24 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 26 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|2 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 2 call $~lib/env/abort unreachable end block $break|3 i32.const 0 local.set $1 loop $repeat|3 local.get $1 i32.const 50 i32.lt_s i32.eqz br_if $break|3 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 32 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 34 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|3 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/set/Set#clear local.get $0 call $~lib/set/Set#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end ) (func $~lib/set/Set#clear (; 40 ;) (type $i_) (param $0 i32) local.get $0 i32.const 0 i32.const 16 i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store local.get $0 i32.const 4 i32.const 1 i32.sub i32.store offset=4 local.get $0 i32.const 0 i32.const 32 i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store offset=8 local.get $0 i32.const 4 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 ) (func $~lib/set/Set#constructor (; 41 ;) (type $ii) (param $0 i32) (result i32) block (result i32) local.get $0 i32.eqz if i32.const 24 call $~lib/memory/memory.allocate local.set $0 end local.get $0 i32.const 0 i32.store local.get $0 i32.const 0 i32.store offset=4 local.get $0 i32.const 0 i32.store offset=8 local.get $0 i32.const 0 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 local.get $0 end call $~lib/set/Set#clear local.get $0 ) (func $~lib/internal/hash/HASH (; 42 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.const 65535 i32.and call $~lib/internal/hash/hash16 return ) (func $~lib/set/Set#find (; 43 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add i32.load offset=8 local.set $3 block $break|0 loop $continue|0 local.get $3 if block local.get $3 i32.load offset=4 i32.const 1 i32.and i32.eqz local.tee $4 if (result i32) local.get $3 i32.load16_u local.get $1 i32.const 65535 i32.and i32.eq else local.get $4 end if local.get $3 return end local.get $3 i32.load offset=4 i32.const 1 i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/set/Set#has (; 44 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 local.get $1 local.get $1 call $~lib/internal/hash/HASH call $~lib/set/Set#find i32.const 0 i32.ne ) (func $~lib/set/Set#rehash (; 45 ;) (type $ii_) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) (local $9 i32) (local $10 i32) (local $11 i32) (local $12 i32) local.get $1 i32.const 1 i32.add local.set $2 i32.const 0 local.get $2 i32.const 4 i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s f64.const 2.6666666666666665 f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/set/ENTRY_SIZE|inlined.1 (result i32) i32.const 8 end i32.mul i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $5 local.get $0 i32.load offset=8 i32.const 8 i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/set/ENTRY_SIZE|inlined.2 (result i32) i32.const 8 end i32.mul i32.add local.set $7 local.get $5 i32.const 8 i32.add local.set $8 block $break|0 loop $continue|0 local.get $6 local.get $7 i32.ne if block local.get $6 local.set $9 local.get $9 i32.load offset=4 i32.const 1 i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 i32.load16_u i32.store16 block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $9 i32.load16_u local.set $11 local.get $11 call $~lib/internal/hash/hash16 br $~lib/internal/hash/HASH|inlined.0 end local.get $1 i32.and local.set $11 local.get $3 local.get $11 i32.const 4 i32.mul i32.add local.set $12 local.get $10 local.get $12 i32.load offset=8 i32.store offset=4 local.get $12 local.get $8 i32.store offset=8 local.get $8 block $~lib/set/ENTRY_SIZE|inlined.3 (result i32) i32.const 8 end i32.add local.set $8 end local.get $6 block $~lib/set/ENTRY_SIZE|inlined.4 (result i32) i32.const 8 end i32.add local.set $6 end br $continue|0 end end end local.get $0 local.get $3 i32.store local.get $0 local.get $1 i32.store offset=4 local.get $0 local.get $5 i32.store offset=8 local.get $0 local.get $4 i32.store offset=12 local.get $0 local.get $0 i32.load offset=20 i32.store offset=16 ) (func $~lib/set/Set#add (; 46 ;) (type $ii_) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) local.get $1 call $~lib/internal/hash/HASH local.set $2 local.get $0 local.get $1 local.get $2 call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if local.get $0 i32.load offset=16 local.get $0 i32.load offset=12 i32.eq if local.get $0 local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s if (result i32) local.get $0 i32.load offset=4 else local.get $0 i32.load offset=4 i32.const 1 i32.shl i32.const 1 i32.or end call $~lib/set/Set#rehash end local.get $0 i32.load offset=8 local.set $4 local.get $4 i32.const 8 i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $5 i32.const 1 i32.add i32.store offset=16 local.get $5 end block $~lib/set/ENTRY_SIZE|inlined.5 (result i32) i32.const 8 end i32.mul i32.add local.set $3 local.get $3 local.get $1 i32.store16 local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.add i32.store offset=20 local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add local.set $5 local.get $3 local.get $5 i32.load offset=8 i32.store offset=4 local.get $5 local.get $3 i32.store offset=8 end ) (func $~lib/set/Set#get:size (; 47 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/set/Set#delete (; 48 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 local.set $2 local.get $2 i32.const 65535 i32.and call $~lib/internal/hash/hash16 br $~lib/internal/hash/HASH|inlined.1 end call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if i32.const 0 return end local.get $3 local.get $3 i32.load offset=4 i32.const 1 i32.or i32.store offset=4 local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.sub i32.store offset=20 local.get $0 i32.load offset=4 i32.const 1 i32.shr_u local.set $4 local.get $4 i32.const 1 i32.add i32.const 4 local.tee $2 local.get $0 i32.load offset=20 local.tee $5 local.get $2 local.get $5 i32.gt_u select i32.ge_u local.tee $2 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s else local.get $2 end if local.get $0 local.get $4 call $~lib/set/Set#rehash end i32.const 1 ) (func $std/set/test (; 49 ;) (type $_) (local $0 i32) (local $1 i32) i32.const 0 call $~lib/set/Set#constructor local.set $0 block $break|0 i32.const 0 local.set $1 loop $repeat|0 local.get $1 i32.const 100 i32.lt_u i32.eqz br_if $break|0 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 8 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|0 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 12 i32.const 2 call $~lib/env/abort unreachable end block $break|1 i32.const 50 local.set $1 loop $repeat|1 local.get $1 i32.const 100 i32.lt_u i32.eqz br_if $break|1 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 16 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|1 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 2 call $~lib/env/abort unreachable end block $break|2 i32.const 0 local.set $1 loop $repeat|2 local.get $1 i32.const 50 i32.lt_u i32.eqz br_if $break|2 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 24 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 26 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|2 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 2 call $~lib/env/abort unreachable end block $break|3 i32.const 0 local.set $1 loop $repeat|3 local.get $1 i32.const 50 i32.lt_u i32.eqz br_if $break|3 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 32 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 34 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|3 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/set/Set#clear local.get $0 call $~lib/set/Set#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end ) (func $~lib/set/Set#clear (; 50 ;) (type $i_) (param $0 i32) local.get $0 i32.const 0 i32.const 16 i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store local.get $0 i32.const 4 i32.const 1 i32.sub i32.store offset=4 local.get $0 i32.const 0 i32.const 32 i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store offset=8 local.get $0 i32.const 4 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 ) (func $~lib/set/Set#constructor (; 51 ;) (type $ii) (param $0 i32) (result i32) block (result i32) local.get $0 i32.eqz if i32.const 24 call $~lib/memory/memory.allocate local.set $0 end local.get $0 i32.const 0 i32.store local.get $0 i32.const 0 i32.store offset=4 local.get $0 i32.const 0 i32.store offset=8 local.get $0 i32.const 0 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 local.get $0 end call $~lib/set/Set#clear local.get $0 ) (func $~lib/internal/hash/hash32 (; 52 ;) (type $ii) (param $0 i32) (result i32) (local $1 i32) i32.const -2128831035 local.set $1 local.get $1 local.get $0 i32.const 255 i32.and i32.xor i32.const 16777619 i32.mul local.set $1 local.get $1 local.get $0 i32.const 8 i32.shr_u i32.const 255 i32.and i32.xor i32.const 16777619 i32.mul local.set $1 local.get $1 local.get $0 i32.const 16 i32.shr_u i32.const 255 i32.and i32.xor i32.const 16777619 i32.mul local.set $1 local.get $1 local.get $0 i32.const 24 i32.shr_u i32.xor i32.const 16777619 i32.mul local.set $1 local.get $1 ) (func $~lib/internal/hash/HASH (; 53 ;) (type $ii) (param $0 i32) (result i32) local.get $0 call $~lib/internal/hash/hash32 return ) (func $~lib/set/Set#find (; 54 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add i32.load offset=8 local.set $3 block $break|0 loop $continue|0 local.get $3 if block local.get $3 i32.load offset=4 i32.const 1 i32.and i32.eqz local.tee $4 if (result i32) local.get $3 i32.load local.get $1 i32.eq else local.get $4 end if local.get $3 return end local.get $3 i32.load offset=4 i32.const 1 i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/set/Set#has (; 55 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 local.get $1 local.get $1 call $~lib/internal/hash/HASH call $~lib/set/Set#find i32.const 0 i32.ne ) (func $~lib/set/Set#rehash (; 56 ;) (type $ii_) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) (local $9 i32) (local $10 i32) (local $11 i32) (local $12 i32) local.get $1 i32.const 1 i32.add local.set $2 i32.const 0 local.get $2 i32.const 4 i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s f64.const 2.6666666666666665 f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/set/ENTRY_SIZE|inlined.1 (result i32) i32.const 8 end i32.mul i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $5 local.get $0 i32.load offset=8 i32.const 8 i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/set/ENTRY_SIZE|inlined.2 (result i32) i32.const 8 end i32.mul i32.add local.set $7 local.get $5 i32.const 8 i32.add local.set $8 block $break|0 loop $continue|0 local.get $6 local.get $7 i32.ne if block local.get $6 local.set $9 local.get $9 i32.load offset=4 i32.const 1 i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 i32.load i32.store block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $9 i32.load local.set $11 local.get $11 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.0 end local.get $1 i32.and local.set $11 local.get $3 local.get $11 i32.const 4 i32.mul i32.add local.set $12 local.get $10 local.get $12 i32.load offset=8 i32.store offset=4 local.get $12 local.get $8 i32.store offset=8 local.get $8 block $~lib/set/ENTRY_SIZE|inlined.3 (result i32) i32.const 8 end i32.add local.set $8 end local.get $6 block $~lib/set/ENTRY_SIZE|inlined.4 (result i32) i32.const 8 end i32.add local.set $6 end br $continue|0 end end end local.get $0 local.get $3 i32.store local.get $0 local.get $1 i32.store offset=4 local.get $0 local.get $5 i32.store offset=8 local.get $0 local.get $4 i32.store offset=12 local.get $0 local.get $0 i32.load offset=20 i32.store offset=16 ) (func $~lib/set/Set#add (; 57 ;) (type $ii_) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) local.get $1 call $~lib/internal/hash/HASH local.set $2 local.get $0 local.get $1 local.get $2 call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if local.get $0 i32.load offset=16 local.get $0 i32.load offset=12 i32.eq if local.get $0 local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s if (result i32) local.get $0 i32.load offset=4 else local.get $0 i32.load offset=4 i32.const 1 i32.shl i32.const 1 i32.or end call $~lib/set/Set#rehash end local.get $0 i32.load offset=8 local.set $4 local.get $4 i32.const 8 i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $5 i32.const 1 i32.add i32.store offset=16 local.get $5 end block $~lib/set/ENTRY_SIZE|inlined.5 (result i32) i32.const 8 end i32.mul i32.add local.set $3 local.get $3 local.get $1 i32.store local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.add i32.store offset=20 local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add local.set $5 local.get $3 local.get $5 i32.load offset=8 i32.store offset=4 local.get $5 local.get $3 i32.store offset=8 end ) (func $~lib/set/Set#get:size (; 58 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/set/Set#delete (; 59 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 local.set $2 local.get $2 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.1 end call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if i32.const 0 return end local.get $3 local.get $3 i32.load offset=4 i32.const 1 i32.or i32.store offset=4 local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.sub i32.store offset=20 local.get $0 i32.load offset=4 i32.const 1 i32.shr_u local.set $4 local.get $4 i32.const 1 i32.add i32.const 4 local.tee $2 local.get $0 i32.load offset=20 local.tee $5 local.get $2 local.get $5 i32.gt_u select i32.ge_u local.tee $2 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s else local.get $2 end if local.get $0 local.get $4 call $~lib/set/Set#rehash end i32.const 1 ) (func $std/set/test (; 60 ;) (type $_) (local $0 i32) (local $1 i32) i32.const 0 call $~lib/set/Set#constructor local.set $0 block $break|0 i32.const 0 local.set $1 loop $repeat|0 local.get $1 i32.const 100 i32.lt_s i32.eqz br_if $break|0 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 8 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|0 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 12 i32.const 2 call $~lib/env/abort unreachable end block $break|1 i32.const 50 local.set $1 loop $repeat|1 local.get $1 i32.const 100 i32.lt_s i32.eqz br_if $break|1 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 16 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|1 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 2 call $~lib/env/abort unreachable end block $break|2 i32.const 0 local.set $1 loop $repeat|2 local.get $1 i32.const 50 i32.lt_s i32.eqz br_if $break|2 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 24 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 26 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|2 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 2 call $~lib/env/abort unreachable end block $break|3 i32.const 0 local.set $1 loop $repeat|3 local.get $1 i32.const 50 i32.lt_s i32.eqz br_if $break|3 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 32 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 34 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|3 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/set/Set#clear local.get $0 call $~lib/set/Set#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end ) (func $~lib/set/Set#clear (; 61 ;) (type $i_) (param $0 i32) local.get $0 i32.const 0 i32.const 16 i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store local.get $0 i32.const 4 i32.const 1 i32.sub i32.store offset=4 local.get $0 i32.const 0 i32.const 32 i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store offset=8 local.get $0 i32.const 4 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 ) (func $~lib/set/Set#constructor (; 62 ;) (type $ii) (param $0 i32) (result i32) block (result i32) local.get $0 i32.eqz if i32.const 24 call $~lib/memory/memory.allocate local.set $0 end local.get $0 i32.const 0 i32.store local.get $0 i32.const 0 i32.store offset=4 local.get $0 i32.const 0 i32.store offset=8 local.get $0 i32.const 0 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 local.get $0 end call $~lib/set/Set#clear local.get $0 ) (func $~lib/internal/hash/HASH (; 63 ;) (type $ii) (param $0 i32) (result i32) local.get $0 call $~lib/internal/hash/hash32 return ) (func $~lib/set/Set#find (; 64 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add i32.load offset=8 local.set $3 block $break|0 loop $continue|0 local.get $3 if block local.get $3 i32.load offset=4 i32.const 1 i32.and i32.eqz local.tee $4 if (result i32) local.get $3 i32.load local.get $1 i32.eq else local.get $4 end if local.get $3 return end local.get $3 i32.load offset=4 i32.const 1 i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/set/Set#has (; 65 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 local.get $1 local.get $1 call $~lib/internal/hash/HASH call $~lib/set/Set#find i32.const 0 i32.ne ) (func $~lib/set/Set#rehash (; 66 ;) (type $ii_) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) (local $9 i32) (local $10 i32) (local $11 i32) (local $12 i32) local.get $1 i32.const 1 i32.add local.set $2 i32.const 0 local.get $2 i32.const 4 i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s f64.const 2.6666666666666665 f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/set/ENTRY_SIZE|inlined.1 (result i32) i32.const 8 end i32.mul i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $5 local.get $0 i32.load offset=8 i32.const 8 i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/set/ENTRY_SIZE|inlined.2 (result i32) i32.const 8 end i32.mul i32.add local.set $7 local.get $5 i32.const 8 i32.add local.set $8 block $break|0 loop $continue|0 local.get $6 local.get $7 i32.ne if block local.get $6 local.set $9 local.get $9 i32.load offset=4 i32.const 1 i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 i32.load i32.store block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $9 i32.load local.set $11 local.get $11 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.0 end local.get $1 i32.and local.set $11 local.get $3 local.get $11 i32.const 4 i32.mul i32.add local.set $12 local.get $10 local.get $12 i32.load offset=8 i32.store offset=4 local.get $12 local.get $8 i32.store offset=8 local.get $8 block $~lib/set/ENTRY_SIZE|inlined.3 (result i32) i32.const 8 end i32.add local.set $8 end local.get $6 block $~lib/set/ENTRY_SIZE|inlined.4 (result i32) i32.const 8 end i32.add local.set $6 end br $continue|0 end end end local.get $0 local.get $3 i32.store local.get $0 local.get $1 i32.store offset=4 local.get $0 local.get $5 i32.store offset=8 local.get $0 local.get $4 i32.store offset=12 local.get $0 local.get $0 i32.load offset=20 i32.store offset=16 ) (func $~lib/set/Set#add (; 67 ;) (type $ii_) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) local.get $1 call $~lib/internal/hash/HASH local.set $2 local.get $0 local.get $1 local.get $2 call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if local.get $0 i32.load offset=16 local.get $0 i32.load offset=12 i32.eq if local.get $0 local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s if (result i32) local.get $0 i32.load offset=4 else local.get $0 i32.load offset=4 i32.const 1 i32.shl i32.const 1 i32.or end call $~lib/set/Set#rehash end local.get $0 i32.load offset=8 local.set $4 local.get $4 i32.const 8 i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $5 i32.const 1 i32.add i32.store offset=16 local.get $5 end block $~lib/set/ENTRY_SIZE|inlined.5 (result i32) i32.const 8 end i32.mul i32.add local.set $3 local.get $3 local.get $1 i32.store local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.add i32.store offset=20 local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add local.set $5 local.get $3 local.get $5 i32.load offset=8 i32.store offset=4 local.get $5 local.get $3 i32.store offset=8 end ) (func $~lib/set/Set#get:size (; 68 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/set/Set#delete (; 69 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 local.set $2 local.get $2 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.1 end call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if i32.const 0 return end local.get $3 local.get $3 i32.load offset=4 i32.const 1 i32.or i32.store offset=4 local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.sub i32.store offset=20 local.get $0 i32.load offset=4 i32.const 1 i32.shr_u local.set $4 local.get $4 i32.const 1 i32.add i32.const 4 local.tee $2 local.get $0 i32.load offset=20 local.tee $5 local.get $2 local.get $5 i32.gt_u select i32.ge_u local.tee $2 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s else local.get $2 end if local.get $0 local.get $4 call $~lib/set/Set#rehash end i32.const 1 ) (func $std/set/test (; 70 ;) (type $_) (local $0 i32) (local $1 i32) i32.const 0 call $~lib/set/Set#constructor local.set $0 block $break|0 i32.const 0 local.set $1 loop $repeat|0 local.get $1 i32.const 100 i32.lt_u i32.eqz br_if $break|0 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 8 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|0 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 12 i32.const 2 call $~lib/env/abort unreachable end block $break|1 i32.const 50 local.set $1 loop $repeat|1 local.get $1 i32.const 100 i32.lt_u i32.eqz br_if $break|1 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 16 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|1 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 2 call $~lib/env/abort unreachable end block $break|2 i32.const 0 local.set $1 loop $repeat|2 local.get $1 i32.const 50 i32.lt_u i32.eqz br_if $break|2 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 24 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 26 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|2 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 2 call $~lib/env/abort unreachable end block $break|3 i32.const 0 local.set $1 loop $repeat|3 local.get $1 i32.const 50 i32.lt_u i32.eqz br_if $break|3 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 32 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 34 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i32.const 1 i32.add local.set $1 br $repeat|3 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/set/Set#clear local.get $0 call $~lib/set/Set#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end ) (func $~lib/set/Set#clear (; 71 ;) (type $i_) (param $0 i32) local.get $0 i32.const 0 i32.const 16 i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store local.get $0 i32.const 4 i32.const 1 i32.sub i32.store offset=4 local.get $0 i32.const 0 i32.const 64 i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store offset=8 local.get $0 i32.const 4 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 ) (func $~lib/set/Set#constructor (; 72 ;) (type $ii) (param $0 i32) (result i32) block (result i32) local.get $0 i32.eqz if i32.const 24 call $~lib/memory/memory.allocate local.set $0 end local.get $0 i32.const 0 i32.store local.get $0 i32.const 0 i32.store offset=4 local.get $0 i32.const 0 i32.store offset=8 local.get $0 i32.const 0 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 local.get $0 end call $~lib/set/Set#clear local.get $0 ) (func $~lib/internal/hash/hash64 (; 73 ;) (type $Ii) (param $0 i64) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) local.get $0 i32.wrap_i64 local.set $1 local.get $0 i64.const 32 i64.shr_u i32.wrap_i64 local.set $2 i32.const -2128831035 local.set $3 local.get $3 local.get $1 i32.const 255 i32.and i32.xor i32.const 16777619 i32.mul local.set $3 local.get $3 local.get $1 i32.const 8 i32.shr_u i32.const 255 i32.and i32.xor i32.const 16777619 i32.mul local.set $3 local.get $3 local.get $1 i32.const 16 i32.shr_u i32.const 255 i32.and i32.xor i32.const 16777619 i32.mul local.set $3 local.get $3 local.get $1 i32.const 24 i32.shr_u i32.xor i32.const 16777619 i32.mul local.set $3 local.get $3 local.get $2 i32.const 255 i32.and i32.xor i32.const 16777619 i32.mul local.set $3 local.get $3 local.get $2 i32.const 8 i32.shr_u i32.const 255 i32.and i32.xor i32.const 16777619 i32.mul local.set $3 local.get $3 local.get $2 i32.const 16 i32.shr_u i32.const 255 i32.and i32.xor i32.const 16777619 i32.mul local.set $3 local.get $3 local.get $2 i32.const 24 i32.shr_u i32.xor i32.const 16777619 i32.mul local.set $3 local.get $3 ) (func $~lib/internal/hash/HASH (; 74 ;) (type $Ii) (param $0 i64) (result i32) local.get $0 call $~lib/internal/hash/hash64 return ) (func $~lib/set/Set#find (; 75 ;) (type $iIii) (param $0 i32) (param $1 i64) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add i32.load offset=8 local.set $3 block $break|0 loop $continue|0 local.get $3 if block local.get $3 i32.load offset=8 i32.const 1 i32.and i32.eqz local.tee $4 if (result i32) local.get $3 i64.load local.get $1 i64.eq else local.get $4 end if local.get $3 return end local.get $3 i32.load offset=8 i32.const 1 i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/set/Set#has (; 76 ;) (type $iIi) (param $0 i32) (param $1 i64) (result i32) local.get $0 local.get $1 local.get $1 call $~lib/internal/hash/HASH call $~lib/set/Set#find i32.const 0 i32.ne ) (func $~lib/set/Set#rehash (; 77 ;) (type $ii_) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) (local $9 i32) (local $10 i32) (local $11 i64) (local $12 i32) (local $13 i32) local.get $1 i32.const 1 i32.add local.set $2 i32.const 0 local.get $2 i32.const 4 i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s f64.const 2.6666666666666665 f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/set/ENTRY_SIZE|inlined.1 (result i32) i32.const 16 end i32.mul i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $5 local.get $0 i32.load offset=8 i32.const 8 i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/set/ENTRY_SIZE|inlined.2 (result i32) i32.const 16 end i32.mul i32.add local.set $7 local.get $5 i32.const 8 i32.add local.set $8 block $break|0 loop $continue|0 local.get $6 local.get $7 i32.ne if block local.get $6 local.set $9 local.get $9 i32.load offset=8 i32.const 1 i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 i64.load i64.store block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $9 i64.load local.set $11 local.get $11 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.0 end local.get $1 i32.and local.set $12 local.get $3 local.get $12 i32.const 4 i32.mul i32.add local.set $13 local.get $10 local.get $13 i32.load offset=8 i32.store offset=8 local.get $13 local.get $8 i32.store offset=8 local.get $8 block $~lib/set/ENTRY_SIZE|inlined.3 (result i32) i32.const 16 end i32.add local.set $8 end local.get $6 block $~lib/set/ENTRY_SIZE|inlined.4 (result i32) i32.const 16 end i32.add local.set $6 end br $continue|0 end end end local.get $0 local.get $3 i32.store local.get $0 local.get $1 i32.store offset=4 local.get $0 local.get $5 i32.store offset=8 local.get $0 local.get $4 i32.store offset=12 local.get $0 local.get $0 i32.load offset=20 i32.store offset=16 ) (func $~lib/set/Set#add (; 78 ;) (type $iI_) (param $0 i32) (param $1 i64) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) local.get $1 call $~lib/internal/hash/HASH local.set $2 local.get $0 local.get $1 local.get $2 call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if local.get $0 i32.load offset=16 local.get $0 i32.load offset=12 i32.eq if local.get $0 local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s if (result i32) local.get $0 i32.load offset=4 else local.get $0 i32.load offset=4 i32.const 1 i32.shl i32.const 1 i32.or end call $~lib/set/Set#rehash end local.get $0 i32.load offset=8 local.set $4 local.get $4 i32.const 8 i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $5 i32.const 1 i32.add i32.store offset=16 local.get $5 end block $~lib/set/ENTRY_SIZE|inlined.5 (result i32) i32.const 16 end i32.mul i32.add local.set $3 local.get $3 local.get $1 i64.store local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.add i32.store offset=20 local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add local.set $5 local.get $3 local.get $5 i32.load offset=8 i32.store offset=8 local.get $5 local.get $3 i32.store offset=8 end ) (func $~lib/set/Set#get:size (; 79 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/set/Set#delete (; 80 ;) (type $iIi) (param $0 i32) (param $1 i64) (result i32) (local $2 i64) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 local.set $2 local.get $2 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.1 end call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if i32.const 0 return end local.get $3 local.get $3 i32.load offset=8 i32.const 1 i32.or i32.store offset=8 local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.sub i32.store offset=20 local.get $0 i32.load offset=4 i32.const 1 i32.shr_u local.set $4 local.get $4 i32.const 1 i32.add i32.const 4 local.tee $5 local.get $0 i32.load offset=20 local.tee $6 local.get $5 local.get $6 i32.gt_u select i32.ge_u local.tee $5 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s else local.get $5 end if local.get $0 local.get $4 call $~lib/set/Set#rehash end i32.const 1 ) (func $std/set/test (; 81 ;) (type $_) (local $0 i32) (local $1 i64) i32.const 0 call $~lib/set/Set#constructor local.set $0 block $break|0 i64.const 0 local.set $1 loop $repeat|0 local.get $1 i64.const 100 i64.lt_s i32.eqz br_if $break|0 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 8 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i64.const 1 i64.add local.set $1 br $repeat|0 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 12 i32.const 2 call $~lib/env/abort unreachable end block $break|1 i64.const 50 local.set $1 loop $repeat|1 local.get $1 i64.const 100 i64.lt_s i32.eqz br_if $break|1 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 16 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i64.const 1 i64.add local.set $1 br $repeat|1 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 2 call $~lib/env/abort unreachable end block $break|2 i64.const 0 local.set $1 loop $repeat|2 local.get $1 i64.const 50 i64.lt_s i32.eqz br_if $break|2 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 24 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 26 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i64.const 1 i64.add local.set $1 br $repeat|2 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 2 call $~lib/env/abort unreachable end block $break|3 i64.const 0 local.set $1 loop $repeat|3 local.get $1 i64.const 50 i64.lt_s i32.eqz br_if $break|3 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 32 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 34 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i64.const 1 i64.add local.set $1 br $repeat|3 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/set/Set#clear local.get $0 call $~lib/set/Set#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end ) (func $~lib/set/Set#clear (; 82 ;) (type $i_) (param $0 i32) local.get $0 i32.const 0 i32.const 16 i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store local.get $0 i32.const 4 i32.const 1 i32.sub i32.store offset=4 local.get $0 i32.const 0 i32.const 64 i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store offset=8 local.get $0 i32.const 4 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 ) (func $~lib/set/Set#constructor (; 83 ;) (type $ii) (param $0 i32) (result i32) block (result i32) local.get $0 i32.eqz if i32.const 24 call $~lib/memory/memory.allocate local.set $0 end local.get $0 i32.const 0 i32.store local.get $0 i32.const 0 i32.store offset=4 local.get $0 i32.const 0 i32.store offset=8 local.get $0 i32.const 0 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 local.get $0 end call $~lib/set/Set#clear local.get $0 ) (func $~lib/internal/hash/HASH (; 84 ;) (type $Ii) (param $0 i64) (result i32) local.get $0 call $~lib/internal/hash/hash64 return ) (func $~lib/set/Set#find (; 85 ;) (type $iIii) (param $0 i32) (param $1 i64) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add i32.load offset=8 local.set $3 block $break|0 loop $continue|0 local.get $3 if block local.get $3 i32.load offset=8 i32.const 1 i32.and i32.eqz local.tee $4 if (result i32) local.get $3 i64.load local.get $1 i64.eq else local.get $4 end if local.get $3 return end local.get $3 i32.load offset=8 i32.const 1 i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/set/Set#has (; 86 ;) (type $iIi) (param $0 i32) (param $1 i64) (result i32) local.get $0 local.get $1 local.get $1 call $~lib/internal/hash/HASH call $~lib/set/Set#find i32.const 0 i32.ne ) (func $~lib/set/Set#rehash (; 87 ;) (type $ii_) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) (local $9 i32) (local $10 i32) (local $11 i64) (local $12 i32) (local $13 i32) local.get $1 i32.const 1 i32.add local.set $2 i32.const 0 local.get $2 i32.const 4 i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s f64.const 2.6666666666666665 f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/set/ENTRY_SIZE|inlined.1 (result i32) i32.const 16 end i32.mul i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $5 local.get $0 i32.load offset=8 i32.const 8 i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/set/ENTRY_SIZE|inlined.2 (result i32) i32.const 16 end i32.mul i32.add local.set $7 local.get $5 i32.const 8 i32.add local.set $8 block $break|0 loop $continue|0 local.get $6 local.get $7 i32.ne if block local.get $6 local.set $9 local.get $9 i32.load offset=8 i32.const 1 i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 i64.load i64.store block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $9 i64.load local.set $11 local.get $11 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.0 end local.get $1 i32.and local.set $12 local.get $3 local.get $12 i32.const 4 i32.mul i32.add local.set $13 local.get $10 local.get $13 i32.load offset=8 i32.store offset=8 local.get $13 local.get $8 i32.store offset=8 local.get $8 block $~lib/set/ENTRY_SIZE|inlined.3 (result i32) i32.const 16 end i32.add local.set $8 end local.get $6 block $~lib/set/ENTRY_SIZE|inlined.4 (result i32) i32.const 16 end i32.add local.set $6 end br $continue|0 end end end local.get $0 local.get $3 i32.store local.get $0 local.get $1 i32.store offset=4 local.get $0 local.get $5 i32.store offset=8 local.get $0 local.get $4 i32.store offset=12 local.get $0 local.get $0 i32.load offset=20 i32.store offset=16 ) (func $~lib/set/Set#add (; 88 ;) (type $iI_) (param $0 i32) (param $1 i64) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) local.get $1 call $~lib/internal/hash/HASH local.set $2 local.get $0 local.get $1 local.get $2 call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if local.get $0 i32.load offset=16 local.get $0 i32.load offset=12 i32.eq if local.get $0 local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s if (result i32) local.get $0 i32.load offset=4 else local.get $0 i32.load offset=4 i32.const 1 i32.shl i32.const 1 i32.or end call $~lib/set/Set#rehash end local.get $0 i32.load offset=8 local.set $4 local.get $4 i32.const 8 i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $5 i32.const 1 i32.add i32.store offset=16 local.get $5 end block $~lib/set/ENTRY_SIZE|inlined.5 (result i32) i32.const 16 end i32.mul i32.add local.set $3 local.get $3 local.get $1 i64.store local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.add i32.store offset=20 local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add local.set $5 local.get $3 local.get $5 i32.load offset=8 i32.store offset=8 local.get $5 local.get $3 i32.store offset=8 end ) (func $~lib/set/Set#get:size (; 89 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/set/Set#delete (; 90 ;) (type $iIi) (param $0 i32) (param $1 i64) (result i32) (local $2 i64) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 local.set $2 local.get $2 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.1 end call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if i32.const 0 return end local.get $3 local.get $3 i32.load offset=8 i32.const 1 i32.or i32.store offset=8 local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.sub i32.store offset=20 local.get $0 i32.load offset=4 i32.const 1 i32.shr_u local.set $4 local.get $4 i32.const 1 i32.add i32.const 4 local.tee $5 local.get $0 i32.load offset=20 local.tee $6 local.get $5 local.get $6 i32.gt_u select i32.ge_u local.tee $5 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s else local.get $5 end if local.get $0 local.get $4 call $~lib/set/Set#rehash end i32.const 1 ) (func $std/set/test (; 91 ;) (type $_) (local $0 i32) (local $1 i64) i32.const 0 call $~lib/set/Set#constructor local.set $0 block $break|0 i64.const 0 local.set $1 loop $repeat|0 local.get $1 i64.const 100 i64.lt_u i32.eqz br_if $break|0 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 8 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i64.const 1 i64.add local.set $1 br $repeat|0 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 12 i32.const 2 call $~lib/env/abort unreachable end block $break|1 i64.const 50 local.set $1 loop $repeat|1 local.get $1 i64.const 100 i64.lt_u i32.eqz br_if $break|1 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 16 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i64.const 1 i64.add local.set $1 br $repeat|1 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 2 call $~lib/env/abort unreachable end block $break|2 i64.const 0 local.set $1 loop $repeat|2 local.get $1 i64.const 50 i64.lt_u i32.eqz br_if $break|2 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 24 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 26 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i64.const 1 i64.add local.set $1 br $repeat|2 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 2 call $~lib/env/abort unreachable end block $break|3 i64.const 0 local.set $1 loop $repeat|3 local.get $1 i64.const 50 i64.lt_u i32.eqz br_if $break|3 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 32 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 34 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 i64.const 1 i64.add local.set $1 br $repeat|3 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/set/Set#clear local.get $0 call $~lib/set/Set#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end ) (func $~lib/set/Set#clear (; 92 ;) (type $i_) (param $0 i32) local.get $0 i32.const 0 i32.const 16 i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store local.get $0 i32.const 4 i32.const 1 i32.sub i32.store offset=4 local.get $0 i32.const 0 i32.const 32 i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store offset=8 local.get $0 i32.const 4 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 ) (func $~lib/set/Set#constructor (; 93 ;) (type $ii) (param $0 i32) (result i32) block (result i32) local.get $0 i32.eqz if i32.const 24 call $~lib/memory/memory.allocate local.set $0 end local.get $0 i32.const 0 i32.store local.get $0 i32.const 0 i32.store offset=4 local.get $0 i32.const 0 i32.store offset=8 local.get $0 i32.const 0 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 local.get $0 end call $~lib/set/Set#clear local.get $0 ) (func $~lib/internal/hash/HASH (; 94 ;) (type $fi) (param $0 f32) (result i32) local.get $0 i32.reinterpret_f32 call $~lib/internal/hash/hash32 return ) (func $~lib/set/Set#find (; 95 ;) (type $ifii) (param $0 i32) (param $1 f32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add i32.load offset=8 local.set $3 block $break|0 loop $continue|0 local.get $3 if block local.get $3 i32.load offset=4 i32.const 1 i32.and i32.eqz local.tee $4 if (result i32) local.get $3 f32.load local.get $1 f32.eq else local.get $4 end if local.get $3 return end local.get $3 i32.load offset=4 i32.const 1 i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/set/Set#has (; 96 ;) (type $ifi) (param $0 i32) (param $1 f32) (result i32) local.get $0 local.get $1 local.get $1 call $~lib/internal/hash/HASH call $~lib/set/Set#find i32.const 0 i32.ne ) (func $~lib/set/Set#rehash (; 97 ;) (type $ii_) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) (local $9 i32) (local $10 i32) (local $11 f32) (local $12 i32) (local $13 i32) local.get $1 i32.const 1 i32.add local.set $2 i32.const 0 local.get $2 i32.const 4 i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s f64.const 2.6666666666666665 f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/set/ENTRY_SIZE|inlined.1 (result i32) i32.const 8 end i32.mul i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $5 local.get $0 i32.load offset=8 i32.const 8 i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/set/ENTRY_SIZE|inlined.2 (result i32) i32.const 8 end i32.mul i32.add local.set $7 local.get $5 i32.const 8 i32.add local.set $8 block $break|0 loop $continue|0 local.get $6 local.get $7 i32.ne if block local.get $6 local.set $9 local.get $9 i32.load offset=4 i32.const 1 i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 f32.load f32.store block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $9 f32.load local.set $11 local.get $11 i32.reinterpret_f32 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.0 end local.get $1 i32.and local.set $12 local.get $3 local.get $12 i32.const 4 i32.mul i32.add local.set $13 local.get $10 local.get $13 i32.load offset=8 i32.store offset=4 local.get $13 local.get $8 i32.store offset=8 local.get $8 block $~lib/set/ENTRY_SIZE|inlined.3 (result i32) i32.const 8 end i32.add local.set $8 end local.get $6 block $~lib/set/ENTRY_SIZE|inlined.4 (result i32) i32.const 8 end i32.add local.set $6 end br $continue|0 end end end local.get $0 local.get $3 i32.store local.get $0 local.get $1 i32.store offset=4 local.get $0 local.get $5 i32.store offset=8 local.get $0 local.get $4 i32.store offset=12 local.get $0 local.get $0 i32.load offset=20 i32.store offset=16 ) (func $~lib/set/Set#add (; 98 ;) (type $if_) (param $0 i32) (param $1 f32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) local.get $1 call $~lib/internal/hash/HASH local.set $2 local.get $0 local.get $1 local.get $2 call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if local.get $0 i32.load offset=16 local.get $0 i32.load offset=12 i32.eq if local.get $0 local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s if (result i32) local.get $0 i32.load offset=4 else local.get $0 i32.load offset=4 i32.const 1 i32.shl i32.const 1 i32.or end call $~lib/set/Set#rehash end local.get $0 i32.load offset=8 local.set $4 local.get $4 i32.const 8 i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $5 i32.const 1 i32.add i32.store offset=16 local.get $5 end block $~lib/set/ENTRY_SIZE|inlined.5 (result i32) i32.const 8 end i32.mul i32.add local.set $3 local.get $3 local.get $1 f32.store local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.add i32.store offset=20 local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add local.set $5 local.get $3 local.get $5 i32.load offset=8 i32.store offset=4 local.get $5 local.get $3 i32.store offset=8 end ) (func $~lib/set/Set#get:size (; 99 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/set/Set#delete (; 100 ;) (type $ifi) (param $0 i32) (param $1 f32) (result i32) (local $2 f32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 local.set $2 local.get $2 i32.reinterpret_f32 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.1 end call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if i32.const 0 return end local.get $3 local.get $3 i32.load offset=4 i32.const 1 i32.or i32.store offset=4 local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.sub i32.store offset=20 local.get $0 i32.load offset=4 i32.const 1 i32.shr_u local.set $4 local.get $4 i32.const 1 i32.add i32.const 4 local.tee $5 local.get $0 i32.load offset=20 local.tee $6 local.get $5 local.get $6 i32.gt_u select i32.ge_u local.tee $5 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s else local.get $5 end if local.get $0 local.get $4 call $~lib/set/Set#rehash end i32.const 1 ) (func $std/set/test (; 101 ;) (type $_) (local $0 i32) (local $1 f32) i32.const 0 call $~lib/set/Set#constructor local.set $0 block $break|0 f32.const 0 local.set $1 loop $repeat|0 local.get $1 f32.const 100 f32.lt i32.eqz br_if $break|0 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 8 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 f32.const 1 f32.add local.set $1 br $repeat|0 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 12 i32.const 2 call $~lib/env/abort unreachable end block $break|1 f32.const 50 local.set $1 loop $repeat|1 local.get $1 f32.const 100 f32.lt i32.eqz br_if $break|1 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 16 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 f32.const 1 f32.add local.set $1 br $repeat|1 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 2 call $~lib/env/abort unreachable end block $break|2 f32.const 0 local.set $1 loop $repeat|2 local.get $1 f32.const 50 f32.lt i32.eqz br_if $break|2 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 24 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 26 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 f32.const 1 f32.add local.set $1 br $repeat|2 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 2 call $~lib/env/abort unreachable end block $break|3 f32.const 0 local.set $1 loop $repeat|3 local.get $1 f32.const 50 f32.lt i32.eqz br_if $break|3 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 32 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 34 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 f32.const 1 f32.add local.set $1 br $repeat|3 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/set/Set#clear local.get $0 call $~lib/set/Set#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end ) (func $~lib/set/Set#clear (; 102 ;) (type $i_) (param $0 i32) local.get $0 i32.const 0 i32.const 16 i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store local.get $0 i32.const 4 i32.const 1 i32.sub i32.store offset=4 local.get $0 i32.const 0 i32.const 64 i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store offset=8 local.get $0 i32.const 4 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 ) (func $~lib/set/Set#constructor (; 103 ;) (type $ii) (param $0 i32) (result i32) block (result i32) local.get $0 i32.eqz if i32.const 24 call $~lib/memory/memory.allocate local.set $0 end local.get $0 i32.const 0 i32.store local.get $0 i32.const 0 i32.store offset=4 local.get $0 i32.const 0 i32.store offset=8 local.get $0 i32.const 0 i32.store offset=12 local.get $0 i32.const 0 i32.store offset=16 local.get $0 i32.const 0 i32.store offset=20 local.get $0 end call $~lib/set/Set#clear local.get $0 ) (func $~lib/internal/hash/HASH (; 104 ;) (type $Fi) (param $0 f64) (result i32) local.get $0 i64.reinterpret_f64 call $~lib/internal/hash/hash64 return ) (func $~lib/set/Set#find (; 105 ;) (type $iFii) (param $0 i32) (param $1 f64) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add i32.load offset=8 local.set $3 block $break|0 loop $continue|0 local.get $3 if block local.get $3 i32.load offset=8 i32.const 1 i32.and i32.eqz local.tee $4 if (result i32) local.get $3 f64.load local.get $1 f64.eq else local.get $4 end if local.get $3 return end local.get $3 i32.load offset=8 i32.const 1 i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/set/Set#has (; 106 ;) (type $iFi) (param $0 i32) (param $1 f64) (result i32) local.get $0 local.get $1 local.get $1 call $~lib/internal/hash/HASH call $~lib/set/Set#find i32.const 0 i32.ne ) (func $~lib/set/Set#rehash (; 107 ;) (type $ii_) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) (local $9 i32) (local $10 i32) (local $11 f64) (local $12 i32) (local $13 i32) local.get $1 i32.const 1 i32.add local.set $2 i32.const 0 local.get $2 i32.const 4 i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s f64.const 2.6666666666666665 f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/set/ENTRY_SIZE|inlined.1 (result i32) i32.const 16 end i32.mul i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $5 local.get $0 i32.load offset=8 i32.const 8 i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/set/ENTRY_SIZE|inlined.2 (result i32) i32.const 16 end i32.mul i32.add local.set $7 local.get $5 i32.const 8 i32.add local.set $8 block $break|0 loop $continue|0 local.get $6 local.get $7 i32.ne if block local.get $6 local.set $9 local.get $9 i32.load offset=8 i32.const 1 i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 f64.load f64.store block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $9 f64.load local.set $11 local.get $11 i64.reinterpret_f64 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.0 end local.get $1 i32.and local.set $12 local.get $3 local.get $12 i32.const 4 i32.mul i32.add local.set $13 local.get $10 local.get $13 i32.load offset=8 i32.store offset=8 local.get $13 local.get $8 i32.store offset=8 local.get $8 block $~lib/set/ENTRY_SIZE|inlined.3 (result i32) i32.const 16 end i32.add local.set $8 end local.get $6 block $~lib/set/ENTRY_SIZE|inlined.4 (result i32) i32.const 16 end i32.add local.set $6 end br $continue|0 end end end local.get $0 local.get $3 i32.store local.get $0 local.get $1 i32.store offset=4 local.get $0 local.get $5 i32.store offset=8 local.get $0 local.get $4 i32.store offset=12 local.get $0 local.get $0 i32.load offset=20 i32.store offset=16 ) (func $~lib/set/Set#add (; 108 ;) (type $iF_) (param $0 i32) (param $1 f64) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) local.get $1 call $~lib/internal/hash/HASH local.set $2 local.get $0 local.get $1 local.get $2 call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if local.get $0 i32.load offset=16 local.get $0 i32.load offset=12 i32.eq if local.get $0 local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s if (result i32) local.get $0 i32.load offset=4 else local.get $0 i32.load offset=4 i32.const 1 i32.shl i32.const 1 i32.or end call $~lib/set/Set#rehash end local.get $0 i32.load offset=8 local.set $4 local.get $4 i32.const 8 i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $5 i32.const 1 i32.add i32.store offset=16 local.get $5 end block $~lib/set/ENTRY_SIZE|inlined.5 (result i32) i32.const 16 end i32.mul i32.add local.set $3 local.get $3 local.get $1 f64.store local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.add i32.store offset=20 local.get $0 i32.load local.get $2 local.get $0 i32.load offset=4 i32.and i32.const 4 i32.mul i32.add local.set $5 local.get $3 local.get $5 i32.load offset=8 i32.store offset=8 local.get $5 local.get $3 i32.store offset=8 end ) (func $~lib/set/Set#get:size (; 109 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/set/Set#delete (; 110 ;) (type $iFi) (param $0 i32) (param $1 f64) (result i32) (local $2 f64) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 local.set $2 local.get $2 i64.reinterpret_f64 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.1 end call $~lib/set/Set#find local.set $3 local.get $3 i32.eqz if i32.const 0 return end local.get $3 local.get $3 i32.load offset=8 i32.const 1 i32.or i32.store offset=8 local.get $0 local.get $0 i32.load offset=20 i32.const 1 i32.sub i32.store offset=20 local.get $0 i32.load offset=4 i32.const 1 i32.shr_u local.set $4 local.get $4 i32.const 1 i32.add i32.const 4 local.tee $5 local.get $0 i32.load offset=20 local.tee $6 local.get $5 local.get $6 i32.gt_u select i32.ge_u local.tee $5 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s f64.const 0.75 f64.mul i32.trunc_f64_s i32.lt_s else local.get $5 end if local.get $0 local.get $4 call $~lib/set/Set#rehash end i32.const 1 ) (func $std/set/test (; 111 ;) (type $_) (local $0 i32) (local $1 f64) i32.const 0 call $~lib/set/Set#constructor local.set $0 block $break|0 f64.const 0 local.set $1 loop $repeat|0 local.get $1 f64.const 100 f64.lt i32.eqz br_if $break|0 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 8 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 f64.const 1 f64.add local.set $1 br $repeat|0 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 12 i32.const 2 call $~lib/env/abort unreachable end block $break|1 f64.const 50 local.set $1 loop $repeat|1 local.get $1 f64.const 100 f64.lt i32.eqz br_if $break|1 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 16 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 f64.const 1 f64.add local.set $1 br $repeat|1 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 2 call $~lib/env/abort unreachable end block $break|2 f64.const 0 local.set $1 loop $repeat|2 local.get $1 f64.const 50 f64.lt i32.eqz br_if $break|2 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 24 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 26 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 f64.const 1 f64.add local.set $1 br $repeat|2 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 2 call $~lib/env/abort unreachable end block $break|3 f64.const 0 local.set $1 loop $repeat|3 local.get $1 f64.const 50 f64.lt i32.eqz br_if $break|3 block local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 32 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#add local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz if i32.const 0 i32.const 120 i32.const 34 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/set/Set#delete drop local.get $0 local.get $1 call $~lib/set/Set#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end end local.get $1 f64.const 1 f64.add local.set $1 br $repeat|3 unreachable end unreachable end local.get $0 call $~lib/set/Set#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/set/Set#clear local.get $0 call $~lib/set/Set#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end ) (func $start:std/set (; 112 ;) (type $_) call $start:~lib/allocator/arena call $std/set/test call $std/set/test call $std/set/test call $std/set/test call $std/set/test call $std/set/test call $std/set/test call $std/set/test call $std/set/test call $std/set/test ) (func $start (; 113 ;) (type $_) call $start:std/set ) (func $null (; 114 ;) (type $_) ) )