(module (type $v (func)) (type $ii (func (param i32) (result i32))) (type $iv (func (param i32))) (type $iiii (func (param i32 i32 i32) (result i32))) (type $iiiiv (func (param i32 i32 i32 i32))) (type $iiiv (func (param i32 i32 i32))) (type $iii (func (param i32 i32) (result i32))) (type $iiv (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 $iIiv (func (param i32 i64 i32))) (type $ifi (func (param i32 f32) (result i32))) (type $ifii (func (param i32 f32 i32) (result i32))) (type $ifiv (func (param i32 f32 i32))) (type $iFi (func (param i32 f64) (result i32))) (type $iFii (func (param i32 f64 i32) (result i32))) (type $iFiv (func (param i32 f64 i32))) (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/\00m\00a\00p\00.\00t\00s\00") (table $0 1 funcref) (elem (i32.const 0) $null) (global $~lib/internal/allocator/AL_BITS i32 (i32.const 3)) (global $~lib/internal/allocator/AL_SIZE i32 (i32.const 8)) (global $~lib/internal/allocator/AL_MASK i32 (i32.const 7)) (global $~lib/internal/allocator/MAX_SIZE_32 i32 (i32.const 1073741824)) (global $~lib/allocator/arena/startOffset (mut i32) (i32.const 0)) (global $~lib/allocator/arena/offset (mut i32) (i32.const 0)) (global $~lib/map/INITIAL_CAPACITY i32 (i32.const 4)) (global $~lib/map/BUCKET_SIZE i32 (i32.const 4)) (global $~lib/internal/arraybuffer/HEADER_SIZE i32 (i32.const 8)) (global $~lib/internal/arraybuffer/MAX_BLENGTH i32 (i32.const 1073741816)) (global $~lib/internal/hash/FNV_OFFSET i32 (i32.const -2128831035)) (global $~lib/internal/hash/FNV_PRIME i32 (i32.const 16777619)) (global $~lib/map/EMPTY i32 (i32.const 1)) (global $~lib/map/FREE_FACTOR f64 (f64.const 0.75)) (global $~lib/map/FILL_FACTOR f64 (f64.const 2.6666666666666665)) (global $HEAP_BASE i32 (i32.const 144)) (export "memory" (memory $0)) (export "table" (table $0)) (start $start) (func $~lib/allocator/arena/__memory_allocate (; 1 ;) (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 global.get $~lib/internal/allocator/MAX_SIZE_32 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 global.get $~lib/internal/allocator/AL_MASK i32.add global.get $~lib/internal/allocator/AL_MASK 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 (; 2 ;) (type $ii) (param $0 i32) (result i32) local.get $0 call $~lib/allocator/arena/__memory_allocate return ) (func $~lib/internal/arraybuffer/computeSize (; 3 ;) (type $ii) (param $0 i32) (result i32) i32.const 1 i32.const 32 local.get $0 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add i32.const 1 i32.sub i32.clz i32.sub i32.shl ) (func $~lib/internal/arraybuffer/allocateUnsafe (; 4 ;) (type $ii) (param $0 i32) (result i32) (local $1 i32) (local $2 i32) local.get $0 global.get $~lib/internal/arraybuffer/MAX_BLENGTH 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 (; 5 ;) (type $iiiv) (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 (; 6 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) local.get $1 global.get $~lib/internal/arraybuffer/MAX_BLENGTH 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 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add local.set $4 i32.const 0 local.set $5 local.get $4 local.get $5 local.get $1 call $~lib/internal/memory/memset end local.get $3 ) (func $~lib/map/Map#clear (; 7 ;) (type $iv) (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 global.get $~lib/map/INITIAL_CAPACITY i32.const 1 i32.sub i32.store offset=4 local.get $0 i32.const 0 i32.const 48 i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store offset=8 local.get $0 global.get $~lib/map/INITIAL_CAPACITY 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/map/Map#constructor (; 8 ;) (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/map/Map#clear local.get $0 ) (func $~lib/internal/hash/hash8 (; 9 ;) (type $ii) (param $0 i32) (result i32) global.get $~lib/internal/hash/FNV_OFFSET local.get $0 i32.xor global.get $~lib/internal/hash/FNV_PRIME i32.mul ) (func $~lib/map/Map#find (; 10 ;) (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 global.get $~lib/map/BUCKET_SIZE 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 global.get $~lib/map/EMPTY 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=8 global.get $~lib/map/EMPTY i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/map/Map#has (; 11 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $1 i32.const 24 i32.shl i32.const 24 i32.shr_s call $~lib/internal/hash/hash8 br $~lib/internal/hash/HASH|inlined.0 end call $~lib/map/Map#find i32.const 0 i32.ne ) (func $~lib/map/Map#rehash (; 12 ;) (type $iiv) (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 global.get $~lib/map/BUCKET_SIZE i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s global.get $~lib/map/FILL_FACTOR f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/map/ENTRY_SIZE|inlined.1 (result i32) i32.const 12 end i32.mul i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $5 local.get $0 i32.load offset=8 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/map/ENTRY_SIZE|inlined.2 (result i32) i32.const 12 end i32.mul i32.add local.set $7 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE 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 global.get $~lib/map/EMPTY i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 i32.load8_s i32.store8 local.get $10 local.get $9 i32.load offset=4 i32.store offset=4 block $~lib/internal/hash/HASH|inlined.2 (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.2 end local.get $1 i32.and local.set $11 local.get $3 local.get $11 global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $12 local.get $10 local.get $12 i32.load offset=8 i32.store offset=8 local.get $12 local.get $8 i32.store offset=8 local.get $8 block $~lib/map/ENTRY_SIZE|inlined.3 (result i32) i32.const 12 end i32.add local.set $8 end local.get $6 block $~lib/map/ENTRY_SIZE|inlined.4 (result i32) i32.const 12 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/map/Map#set (; 13 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 i32.const 24 i32.shl i32.const 24 i32.shr_s call $~lib/internal/hash/hash8 br $~lib/internal/hash/HASH|inlined.1 end local.set $3 local.get $0 local.get $1 local.get $3 call $~lib/map/Map#find local.set $4 local.get $4 if local.get $4 local.get $2 i32.store offset=4 else 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 global.get $~lib/map/FREE_FACTOR 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/map/Map#rehash end local.get $0 i32.load offset=8 local.set $5 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $6 i32.const 1 i32.add i32.store offset=16 local.get $6 end block $~lib/map/ENTRY_SIZE|inlined.5 (result i32) i32.const 12 end i32.mul i32.add local.set $4 local.get $4 local.get $1 i32.store8 local.get $4 local.get $2 i32.store offset=4 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 $3 local.get $0 i32.load offset=4 i32.and global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $6 local.get $4 local.get $6 i32.load offset=8 i32.store offset=8 local.get $6 local.get $4 i32.store offset=8 end ) (func $~lib/map/Map#get (; 14 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.3 (result i32) local.get $1 i32.const 24 i32.shl i32.const 24 i32.shr_s call $~lib/internal/hash/hash8 br $~lib/internal/hash/HASH|inlined.3 end call $~lib/map/Map#find local.set $2 local.get $2 if (result i32) local.get $2 i32.load offset=4 else unreachable end ) (func $~lib/map/Map#get:size (; 15 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/map/Map#delete (; 16 ;) (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.4 (result i32) local.get $1 i32.const 24 i32.shl i32.const 24 i32.shr_s call $~lib/internal/hash/hash8 br $~lib/internal/hash/HASH|inlined.4 end call $~lib/map/Map#find local.set $2 local.get $2 i32.eqz if i32.const 0 return end local.get $2 local.get $2 i32.load offset=8 global.get $~lib/map/EMPTY 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 $3 local.get $3 i32.const 1 i32.add global.get $~lib/map/INITIAL_CAPACITY local.tee $4 local.get $0 i32.load offset=20 local.tee $5 local.get $4 local.get $5 i32.gt_u select i32.ge_u local.tee $4 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s global.get $~lib/map/FREE_FACTOR f64.mul i32.trunc_f64_s i32.lt_s else local.get $4 end if local.get $0 local.get $3 call $~lib/map/Map#rehash end i32.const 1 ) (func $std/map/test (; 17 ;) (type $v) (local $0 i32) (local $1 i32) i32.const 0 call $~lib/map/Map#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/map/Map#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 i32.const 10 local.get $1 i32.const 24 i32.shl i32.const 24 i32.shr_s i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.const 24 i32.shl i32.const 24 i32.shr_s i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 11 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 13 i32.const 2 call $~lib/env/abort unreachable end block $break|1 i32.const 0 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 17 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.const 24 i32.shl i32.const 24 i32.shr_s i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 20 local.get $1 i32.const 24 i32.shl i32.const 24 i32.shr_s i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.const 24 i32.shl i32.const 24 i32.shr_s i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 21 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 23 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 27 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.const 24 i32.shl i32.const 24 i32.shr_s i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 30 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 32 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/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 10 local.get $1 i32.const 24 i32.shl i32.const 24 i32.shr_s i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 40 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/map/Map#clear local.get $0 call $~lib/map/Map#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 46 i32.const 2 call $~lib/env/abort unreachable end ) (func $~lib/map/Map#clear (; 18 ;) (type $iv) (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 global.get $~lib/map/INITIAL_CAPACITY i32.const 1 i32.sub i32.store offset=4 local.get $0 i32.const 0 i32.const 48 i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store offset=8 local.get $0 global.get $~lib/map/INITIAL_CAPACITY 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/map/Map#constructor (; 19 ;) (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/map/Map#clear local.get $0 ) (func $~lib/map/Map#find (; 20 ;) (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 global.get $~lib/map/BUCKET_SIZE 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 global.get $~lib/map/EMPTY 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=8 global.get $~lib/map/EMPTY i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/map/Map#has (; 21 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $1 i32.const 255 i32.and call $~lib/internal/hash/hash8 br $~lib/internal/hash/HASH|inlined.0 end call $~lib/map/Map#find i32.const 0 i32.ne ) (func $~lib/map/Map#rehash (; 22 ;) (type $iiv) (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 global.get $~lib/map/BUCKET_SIZE i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s global.get $~lib/map/FILL_FACTOR f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/map/ENTRY_SIZE|inlined.1 (result i32) i32.const 12 end i32.mul i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $5 local.get $0 i32.load offset=8 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/map/ENTRY_SIZE|inlined.2 (result i32) i32.const 12 end i32.mul i32.add local.set $7 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE 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 global.get $~lib/map/EMPTY i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 i32.load8_u i32.store8 local.get $10 local.get $9 i32.load offset=4 i32.store offset=4 block $~lib/internal/hash/HASH|inlined.2 (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.2 end local.get $1 i32.and local.set $11 local.get $3 local.get $11 global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $12 local.get $10 local.get $12 i32.load offset=8 i32.store offset=8 local.get $12 local.get $8 i32.store offset=8 local.get $8 block $~lib/map/ENTRY_SIZE|inlined.3 (result i32) i32.const 12 end i32.add local.set $8 end local.get $6 block $~lib/map/ENTRY_SIZE|inlined.4 (result i32) i32.const 12 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/map/Map#set (; 23 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 i32.const 255 i32.and call $~lib/internal/hash/hash8 br $~lib/internal/hash/HASH|inlined.1 end local.set $3 local.get $0 local.get $1 local.get $3 call $~lib/map/Map#find local.set $4 local.get $4 if local.get $4 local.get $2 i32.store offset=4 else 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 global.get $~lib/map/FREE_FACTOR 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/map/Map#rehash end local.get $0 i32.load offset=8 local.set $5 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $6 i32.const 1 i32.add i32.store offset=16 local.get $6 end block $~lib/map/ENTRY_SIZE|inlined.5 (result i32) i32.const 12 end i32.mul i32.add local.set $4 local.get $4 local.get $1 i32.store8 local.get $4 local.get $2 i32.store offset=4 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 $3 local.get $0 i32.load offset=4 i32.and global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $6 local.get $4 local.get $6 i32.load offset=8 i32.store offset=8 local.get $6 local.get $4 i32.store offset=8 end ) (func $~lib/map/Map#get (; 24 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.3 (result i32) local.get $1 i32.const 255 i32.and call $~lib/internal/hash/hash8 br $~lib/internal/hash/HASH|inlined.3 end call $~lib/map/Map#find local.set $2 local.get $2 if (result i32) local.get $2 i32.load offset=4 else unreachable end ) (func $~lib/map/Map#get:size (; 25 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/map/Map#delete (; 26 ;) (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.4 (result i32) local.get $1 i32.const 255 i32.and call $~lib/internal/hash/hash8 br $~lib/internal/hash/HASH|inlined.4 end call $~lib/map/Map#find local.set $2 local.get $2 i32.eqz if i32.const 0 return end local.get $2 local.get $2 i32.load offset=8 global.get $~lib/map/EMPTY 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 $3 local.get $3 i32.const 1 i32.add global.get $~lib/map/INITIAL_CAPACITY local.tee $4 local.get $0 i32.load offset=20 local.tee $5 local.get $4 local.get $5 i32.gt_u select i32.ge_u local.tee $4 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s global.get $~lib/map/FREE_FACTOR f64.mul i32.trunc_f64_s i32.lt_s else local.get $4 end if local.get $0 local.get $3 call $~lib/map/Map#rehash end i32.const 1 ) (func $std/map/test (; 27 ;) (type $v) (local $0 i32) (local $1 i32) i32.const 0 call $~lib/map/Map#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/map/Map#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 i32.const 10 local.get $1 i32.const 255 i32.and i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.const 255 i32.and i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 11 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 13 i32.const 2 call $~lib/env/abort unreachable end block $break|1 i32.const 0 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 17 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.const 255 i32.and i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 20 local.get $1 i32.const 255 i32.and i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.const 255 i32.and i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 21 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 23 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 27 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.const 255 i32.and i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 30 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 32 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/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 10 local.get $1 i32.const 255 i32.and i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 40 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/map/Map#clear local.get $0 call $~lib/map/Map#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 46 i32.const 2 call $~lib/env/abort unreachable end ) (func $~lib/map/Map#clear (; 28 ;) (type $iv) (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 global.get $~lib/map/INITIAL_CAPACITY i32.const 1 i32.sub i32.store offset=4 local.get $0 i32.const 0 i32.const 48 i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store offset=8 local.get $0 global.get $~lib/map/INITIAL_CAPACITY 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/map/Map#constructor (; 29 ;) (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/map/Map#clear local.get $0 ) (func $~lib/internal/hash/hash16 (; 30 ;) (type $ii) (param $0 i32) (result i32) (local $1 i32) global.get $~lib/internal/hash/FNV_OFFSET local.set $1 local.get $1 local.get $0 i32.const 255 i32.and i32.xor global.get $~lib/internal/hash/FNV_PRIME i32.mul local.set $1 local.get $1 local.get $0 i32.const 8 i32.shr_u i32.xor global.get $~lib/internal/hash/FNV_PRIME i32.mul local.set $1 local.get $1 ) (func $~lib/map/Map#find (; 31 ;) (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 global.get $~lib/map/BUCKET_SIZE 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 global.get $~lib/map/EMPTY 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=8 global.get $~lib/map/EMPTY i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/map/Map#has (; 32 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $1 i32.const 16 i32.shl i32.const 16 i32.shr_s call $~lib/internal/hash/hash16 br $~lib/internal/hash/HASH|inlined.0 end call $~lib/map/Map#find i32.const 0 i32.ne ) (func $~lib/map/Map#rehash (; 33 ;) (type $iiv) (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 global.get $~lib/map/BUCKET_SIZE i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s global.get $~lib/map/FILL_FACTOR f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/map/ENTRY_SIZE|inlined.1 (result i32) i32.const 12 end i32.mul i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $5 local.get $0 i32.load offset=8 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/map/ENTRY_SIZE|inlined.2 (result i32) i32.const 12 end i32.mul i32.add local.set $7 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE 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 global.get $~lib/map/EMPTY i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 i32.load16_s i32.store16 local.get $10 local.get $9 i32.load offset=4 i32.store offset=4 block $~lib/internal/hash/HASH|inlined.2 (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.2 end local.get $1 i32.and local.set $11 local.get $3 local.get $11 global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $12 local.get $10 local.get $12 i32.load offset=8 i32.store offset=8 local.get $12 local.get $8 i32.store offset=8 local.get $8 block $~lib/map/ENTRY_SIZE|inlined.3 (result i32) i32.const 12 end i32.add local.set $8 end local.get $6 block $~lib/map/ENTRY_SIZE|inlined.4 (result i32) i32.const 12 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/map/Map#set (; 34 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 i32.const 16 i32.shl i32.const 16 i32.shr_s call $~lib/internal/hash/hash16 br $~lib/internal/hash/HASH|inlined.1 end local.set $3 local.get $0 local.get $1 local.get $3 call $~lib/map/Map#find local.set $4 local.get $4 if local.get $4 local.get $2 i32.store offset=4 else 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 global.get $~lib/map/FREE_FACTOR 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/map/Map#rehash end local.get $0 i32.load offset=8 local.set $5 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $6 i32.const 1 i32.add i32.store offset=16 local.get $6 end block $~lib/map/ENTRY_SIZE|inlined.5 (result i32) i32.const 12 end i32.mul i32.add local.set $4 local.get $4 local.get $1 i32.store16 local.get $4 local.get $2 i32.store offset=4 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 $3 local.get $0 i32.load offset=4 i32.and global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $6 local.get $4 local.get $6 i32.load offset=8 i32.store offset=8 local.get $6 local.get $4 i32.store offset=8 end ) (func $~lib/map/Map#get (; 35 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.3 (result i32) local.get $1 i32.const 16 i32.shl i32.const 16 i32.shr_s call $~lib/internal/hash/hash16 br $~lib/internal/hash/HASH|inlined.3 end call $~lib/map/Map#find local.set $2 local.get $2 if (result i32) local.get $2 i32.load offset=4 else unreachable end ) (func $~lib/map/Map#get:size (; 36 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/map/Map#delete (; 37 ;) (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.4 (result i32) local.get $1 i32.const 16 i32.shl i32.const 16 i32.shr_s call $~lib/internal/hash/hash16 br $~lib/internal/hash/HASH|inlined.4 end call $~lib/map/Map#find local.set $2 local.get $2 i32.eqz if i32.const 0 return end local.get $2 local.get $2 i32.load offset=8 global.get $~lib/map/EMPTY 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 $3 local.get $3 i32.const 1 i32.add global.get $~lib/map/INITIAL_CAPACITY local.tee $4 local.get $0 i32.load offset=20 local.tee $5 local.get $4 local.get $5 i32.gt_u select i32.ge_u local.tee $4 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s global.get $~lib/map/FREE_FACTOR f64.mul i32.trunc_f64_s i32.lt_s else local.get $4 end if local.get $0 local.get $3 call $~lib/map/Map#rehash end i32.const 1 ) (func $std/map/test (; 38 ;) (type $v) (local $0 i32) (local $1 i32) i32.const 0 call $~lib/map/Map#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/map/Map#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 i32.const 10 local.get $1 i32.const 16 i32.shl i32.const 16 i32.shr_s i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.const 16 i32.shl i32.const 16 i32.shr_s i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 11 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 13 i32.const 2 call $~lib/env/abort unreachable end block $break|1 i32.const 0 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 17 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.const 16 i32.shl i32.const 16 i32.shr_s i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 20 local.get $1 i32.const 16 i32.shl i32.const 16 i32.shr_s i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.const 16 i32.shl i32.const 16 i32.shr_s i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 21 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 23 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 27 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.const 16 i32.shl i32.const 16 i32.shr_s i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 30 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 32 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/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 10 local.get $1 i32.const 16 i32.shl i32.const 16 i32.shr_s i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 40 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/map/Map#clear local.get $0 call $~lib/map/Map#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 46 i32.const 2 call $~lib/env/abort unreachable end ) (func $~lib/map/Map#clear (; 39 ;) (type $iv) (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 global.get $~lib/map/INITIAL_CAPACITY i32.const 1 i32.sub i32.store offset=4 local.get $0 i32.const 0 i32.const 48 i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store offset=8 local.get $0 global.get $~lib/map/INITIAL_CAPACITY 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/map/Map#constructor (; 40 ;) (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/map/Map#clear local.get $0 ) (func $~lib/map/Map#find (; 41 ;) (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 global.get $~lib/map/BUCKET_SIZE 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 global.get $~lib/map/EMPTY 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=8 global.get $~lib/map/EMPTY i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/map/Map#has (; 42 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $1 i32.const 65535 i32.and call $~lib/internal/hash/hash16 br $~lib/internal/hash/HASH|inlined.0 end call $~lib/map/Map#find i32.const 0 i32.ne ) (func $~lib/map/Map#rehash (; 43 ;) (type $iiv) (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 global.get $~lib/map/BUCKET_SIZE i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s global.get $~lib/map/FILL_FACTOR f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/map/ENTRY_SIZE|inlined.1 (result i32) i32.const 12 end i32.mul i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $5 local.get $0 i32.load offset=8 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/map/ENTRY_SIZE|inlined.2 (result i32) i32.const 12 end i32.mul i32.add local.set $7 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE 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 global.get $~lib/map/EMPTY i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 i32.load16_u i32.store16 local.get $10 local.get $9 i32.load offset=4 i32.store offset=4 block $~lib/internal/hash/HASH|inlined.2 (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.2 end local.get $1 i32.and local.set $11 local.get $3 local.get $11 global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $12 local.get $10 local.get $12 i32.load offset=8 i32.store offset=8 local.get $12 local.get $8 i32.store offset=8 local.get $8 block $~lib/map/ENTRY_SIZE|inlined.3 (result i32) i32.const 12 end i32.add local.set $8 end local.get $6 block $~lib/map/ENTRY_SIZE|inlined.4 (result i32) i32.const 12 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/map/Map#set (; 44 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 i32.const 65535 i32.and call $~lib/internal/hash/hash16 br $~lib/internal/hash/HASH|inlined.1 end local.set $3 local.get $0 local.get $1 local.get $3 call $~lib/map/Map#find local.set $4 local.get $4 if local.get $4 local.get $2 i32.store offset=4 else 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 global.get $~lib/map/FREE_FACTOR 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/map/Map#rehash end local.get $0 i32.load offset=8 local.set $5 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $6 i32.const 1 i32.add i32.store offset=16 local.get $6 end block $~lib/map/ENTRY_SIZE|inlined.5 (result i32) i32.const 12 end i32.mul i32.add local.set $4 local.get $4 local.get $1 i32.store16 local.get $4 local.get $2 i32.store offset=4 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 $3 local.get $0 i32.load offset=4 i32.and global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $6 local.get $4 local.get $6 i32.load offset=8 i32.store offset=8 local.get $6 local.get $4 i32.store offset=8 end ) (func $~lib/map/Map#get (; 45 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.3 (result i32) local.get $1 i32.const 65535 i32.and call $~lib/internal/hash/hash16 br $~lib/internal/hash/HASH|inlined.3 end call $~lib/map/Map#find local.set $2 local.get $2 if (result i32) local.get $2 i32.load offset=4 else unreachable end ) (func $~lib/map/Map#get:size (; 46 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/map/Map#delete (; 47 ;) (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.4 (result i32) local.get $1 i32.const 65535 i32.and call $~lib/internal/hash/hash16 br $~lib/internal/hash/HASH|inlined.4 end call $~lib/map/Map#find local.set $2 local.get $2 i32.eqz if i32.const 0 return end local.get $2 local.get $2 i32.load offset=8 global.get $~lib/map/EMPTY 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 $3 local.get $3 i32.const 1 i32.add global.get $~lib/map/INITIAL_CAPACITY local.tee $4 local.get $0 i32.load offset=20 local.tee $5 local.get $4 local.get $5 i32.gt_u select i32.ge_u local.tee $4 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s global.get $~lib/map/FREE_FACTOR f64.mul i32.trunc_f64_s i32.lt_s else local.get $4 end if local.get $0 local.get $3 call $~lib/map/Map#rehash end i32.const 1 ) (func $std/map/test (; 48 ;) (type $v) (local $0 i32) (local $1 i32) i32.const 0 call $~lib/map/Map#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/map/Map#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 i32.const 10 local.get $1 i32.const 65535 i32.and i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.const 65535 i32.and i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 11 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 13 i32.const 2 call $~lib/env/abort unreachable end block $break|1 i32.const 0 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 17 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.const 65535 i32.and i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 20 local.get $1 i32.const 65535 i32.and i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.const 65535 i32.and i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 21 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 23 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 27 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.const 65535 i32.and i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 30 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 32 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/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 10 local.get $1 i32.const 65535 i32.and i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 40 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/map/Map#clear local.get $0 call $~lib/map/Map#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 46 i32.const 2 call $~lib/env/abort unreachable end ) (func $~lib/map/Map#clear (; 49 ;) (type $iv) (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 global.get $~lib/map/INITIAL_CAPACITY i32.const 1 i32.sub i32.store offset=4 local.get $0 i32.const 0 i32.const 48 i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store offset=8 local.get $0 global.get $~lib/map/INITIAL_CAPACITY 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/map/Map#constructor (; 50 ;) (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/map/Map#clear local.get $0 ) (func $~lib/internal/hash/hash32 (; 51 ;) (type $ii) (param $0 i32) (result i32) (local $1 i32) global.get $~lib/internal/hash/FNV_OFFSET local.set $1 local.get $1 local.get $0 i32.const 255 i32.and i32.xor global.get $~lib/internal/hash/FNV_PRIME i32.mul local.set $1 local.get $1 local.get $0 i32.const 8 i32.shr_u i32.const 255 i32.and i32.xor global.get $~lib/internal/hash/FNV_PRIME i32.mul local.set $1 local.get $1 local.get $0 i32.const 16 i32.shr_u i32.const 255 i32.and i32.xor global.get $~lib/internal/hash/FNV_PRIME i32.mul local.set $1 local.get $1 local.get $0 i32.const 24 i32.shr_u i32.xor global.get $~lib/internal/hash/FNV_PRIME i32.mul local.set $1 local.get $1 ) (func $~lib/map/Map#find (; 52 ;) (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 global.get $~lib/map/BUCKET_SIZE 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 global.get $~lib/map/EMPTY 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=8 global.get $~lib/map/EMPTY i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/map/Map#has (; 53 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $1 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.0 end call $~lib/map/Map#find i32.const 0 i32.ne ) (func $~lib/map/Map#rehash (; 54 ;) (type $iiv) (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 global.get $~lib/map/BUCKET_SIZE i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s global.get $~lib/map/FILL_FACTOR f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/map/ENTRY_SIZE|inlined.1 (result i32) i32.const 12 end i32.mul i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $5 local.get $0 i32.load offset=8 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/map/ENTRY_SIZE|inlined.2 (result i32) i32.const 12 end i32.mul i32.add local.set $7 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE 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 global.get $~lib/map/EMPTY i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 i32.load i32.store local.get $10 local.get $9 i32.load offset=4 i32.store offset=4 block $~lib/internal/hash/HASH|inlined.2 (result i32) local.get $9 i32.load local.set $11 local.get $11 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.2 end local.get $1 i32.and local.set $11 local.get $3 local.get $11 global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $12 local.get $10 local.get $12 i32.load offset=8 i32.store offset=8 local.get $12 local.get $8 i32.store offset=8 local.get $8 block $~lib/map/ENTRY_SIZE|inlined.3 (result i32) i32.const 12 end i32.add local.set $8 end local.get $6 block $~lib/map/ENTRY_SIZE|inlined.4 (result i32) i32.const 12 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/map/Map#set (; 55 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.1 end local.set $3 local.get $0 local.get $1 local.get $3 call $~lib/map/Map#find local.set $4 local.get $4 if local.get $4 local.get $2 i32.store offset=4 else 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 global.get $~lib/map/FREE_FACTOR 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/map/Map#rehash end local.get $0 i32.load offset=8 local.set $5 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $6 i32.const 1 i32.add i32.store offset=16 local.get $6 end block $~lib/map/ENTRY_SIZE|inlined.5 (result i32) i32.const 12 end i32.mul i32.add local.set $4 local.get $4 local.get $1 i32.store local.get $4 local.get $2 i32.store offset=4 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 $3 local.get $0 i32.load offset=4 i32.and global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $6 local.get $4 local.get $6 i32.load offset=8 i32.store offset=8 local.get $6 local.get $4 i32.store offset=8 end ) (func $~lib/map/Map#get (; 56 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.3 (result i32) local.get $1 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.3 end call $~lib/map/Map#find local.set $2 local.get $2 if (result i32) local.get $2 i32.load offset=4 else unreachable end ) (func $~lib/map/Map#get:size (; 57 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/map/Map#delete (; 58 ;) (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.4 (result i32) local.get $1 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.4 end call $~lib/map/Map#find local.set $2 local.get $2 i32.eqz if i32.const 0 return end local.get $2 local.get $2 i32.load offset=8 global.get $~lib/map/EMPTY 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 $3 local.get $3 i32.const 1 i32.add global.get $~lib/map/INITIAL_CAPACITY local.tee $4 local.get $0 i32.load offset=20 local.tee $5 local.get $4 local.get $5 i32.gt_u select i32.ge_u local.tee $4 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s global.get $~lib/map/FREE_FACTOR f64.mul i32.trunc_f64_s i32.lt_s else local.get $4 end if local.get $0 local.get $3 call $~lib/map/Map#rehash end i32.const 1 ) (func $std/map/test (; 59 ;) (type $v) (local $0 i32) (local $1 i32) i32.const 0 call $~lib/map/Map#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/map/Map#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 i32.const 10 local.get $1 i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 11 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 13 i32.const 2 call $~lib/env/abort unreachable end block $break|1 i32.const 0 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 17 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 20 local.get $1 i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 21 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 23 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 27 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 30 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 32 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/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 10 local.get $1 i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 40 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/map/Map#clear local.get $0 call $~lib/map/Map#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 46 i32.const 2 call $~lib/env/abort unreachable end ) (func $~lib/map/Map#clear (; 60 ;) (type $iv) (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 global.get $~lib/map/INITIAL_CAPACITY i32.const 1 i32.sub i32.store offset=4 local.get $0 i32.const 0 i32.const 48 i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store offset=8 local.get $0 global.get $~lib/map/INITIAL_CAPACITY 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/map/Map#constructor (; 61 ;) (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/map/Map#clear local.get $0 ) (func $~lib/map/Map#find (; 62 ;) (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 global.get $~lib/map/BUCKET_SIZE 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 global.get $~lib/map/EMPTY 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=8 global.get $~lib/map/EMPTY i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/map/Map#has (; 63 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $1 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.0 end call $~lib/map/Map#find i32.const 0 i32.ne ) (func $~lib/map/Map#rehash (; 64 ;) (type $iiv) (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 global.get $~lib/map/BUCKET_SIZE i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s global.get $~lib/map/FILL_FACTOR f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/map/ENTRY_SIZE|inlined.1 (result i32) i32.const 12 end i32.mul i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $5 local.get $0 i32.load offset=8 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/map/ENTRY_SIZE|inlined.2 (result i32) i32.const 12 end i32.mul i32.add local.set $7 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE 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 global.get $~lib/map/EMPTY i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 i32.load i32.store local.get $10 local.get $9 i32.load offset=4 i32.store offset=4 block $~lib/internal/hash/HASH|inlined.2 (result i32) local.get $9 i32.load local.set $11 local.get $11 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.2 end local.get $1 i32.and local.set $11 local.get $3 local.get $11 global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $12 local.get $10 local.get $12 i32.load offset=8 i32.store offset=8 local.get $12 local.get $8 i32.store offset=8 local.get $8 block $~lib/map/ENTRY_SIZE|inlined.3 (result i32) i32.const 12 end i32.add local.set $8 end local.get $6 block $~lib/map/ENTRY_SIZE|inlined.4 (result i32) i32.const 12 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/map/Map#set (; 65 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.1 end local.set $3 local.get $0 local.get $1 local.get $3 call $~lib/map/Map#find local.set $4 local.get $4 if local.get $4 local.get $2 i32.store offset=4 else 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 global.get $~lib/map/FREE_FACTOR 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/map/Map#rehash end local.get $0 i32.load offset=8 local.set $5 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $6 i32.const 1 i32.add i32.store offset=16 local.get $6 end block $~lib/map/ENTRY_SIZE|inlined.5 (result i32) i32.const 12 end i32.mul i32.add local.set $4 local.get $4 local.get $1 i32.store local.get $4 local.get $2 i32.store offset=4 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 $3 local.get $0 i32.load offset=4 i32.and global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $6 local.get $4 local.get $6 i32.load offset=8 i32.store offset=8 local.get $6 local.get $4 i32.store offset=8 end ) (func $~lib/map/Map#get (; 66 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.3 (result i32) local.get $1 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.3 end call $~lib/map/Map#find local.set $2 local.get $2 if (result i32) local.get $2 i32.load offset=4 else unreachable end ) (func $~lib/map/Map#get:size (; 67 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/map/Map#delete (; 68 ;) (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.4 (result i32) local.get $1 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.4 end call $~lib/map/Map#find local.set $2 local.get $2 i32.eqz if i32.const 0 return end local.get $2 local.get $2 i32.load offset=8 global.get $~lib/map/EMPTY 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 $3 local.get $3 i32.const 1 i32.add global.get $~lib/map/INITIAL_CAPACITY local.tee $4 local.get $0 i32.load offset=20 local.tee $5 local.get $4 local.get $5 i32.gt_u select i32.ge_u local.tee $4 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s global.get $~lib/map/FREE_FACTOR f64.mul i32.trunc_f64_s i32.lt_s else local.get $4 end if local.get $0 local.get $3 call $~lib/map/Map#rehash end i32.const 1 ) (func $std/map/test (; 69 ;) (type $v) (local $0 i32) (local $1 i32) i32.const 0 call $~lib/map/Map#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/map/Map#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 i32.const 10 local.get $1 i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 11 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 13 i32.const 2 call $~lib/env/abort unreachable end block $break|1 i32.const 0 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 17 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 20 local.get $1 i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 21 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 23 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 27 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 30 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 32 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/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 10 local.get $1 i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 40 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/map/Map#clear local.get $0 call $~lib/map/Map#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 46 i32.const 2 call $~lib/env/abort unreachable end ) (func $~lib/map/Map#clear (; 70 ;) (type $iv) (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 global.get $~lib/map/INITIAL_CAPACITY 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 global.get $~lib/map/INITIAL_CAPACITY 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/map/Map#constructor (; 71 ;) (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/map/Map#clear local.get $0 ) (func $~lib/internal/hash/hash64 (; 72 ;) (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 global.get $~lib/internal/hash/FNV_OFFSET local.set $3 local.get $3 local.get $1 i32.const 255 i32.and i32.xor global.get $~lib/internal/hash/FNV_PRIME i32.mul local.set $3 local.get $3 local.get $1 i32.const 8 i32.shr_u i32.const 255 i32.and i32.xor global.get $~lib/internal/hash/FNV_PRIME i32.mul local.set $3 local.get $3 local.get $1 i32.const 16 i32.shr_u i32.const 255 i32.and i32.xor global.get $~lib/internal/hash/FNV_PRIME i32.mul local.set $3 local.get $3 local.get $1 i32.const 24 i32.shr_u i32.xor global.get $~lib/internal/hash/FNV_PRIME i32.mul local.set $3 local.get $3 local.get $2 i32.const 255 i32.and i32.xor global.get $~lib/internal/hash/FNV_PRIME i32.mul local.set $3 local.get $3 local.get $2 i32.const 8 i32.shr_u i32.const 255 i32.and i32.xor global.get $~lib/internal/hash/FNV_PRIME i32.mul local.set $3 local.get $3 local.get $2 i32.const 16 i32.shr_u i32.const 255 i32.and i32.xor global.get $~lib/internal/hash/FNV_PRIME i32.mul local.set $3 local.get $3 local.get $2 i32.const 24 i32.shr_u i32.xor global.get $~lib/internal/hash/FNV_PRIME i32.mul local.set $3 local.get $3 ) (func $~lib/map/Map#find (; 73 ;) (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 global.get $~lib/map/BUCKET_SIZE 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=12 global.get $~lib/map/EMPTY 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=12 global.get $~lib/map/EMPTY i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/map/Map#has (; 74 ;) (type $iIi) (param $0 i32) (param $1 i64) (result i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $1 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.0 end call $~lib/map/Map#find i32.const 0 i32.ne ) (func $~lib/map/Map#rehash (; 75 ;) (type $iiv) (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 global.get $~lib/map/BUCKET_SIZE i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s global.get $~lib/map/FILL_FACTOR f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/map/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 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/map/ENTRY_SIZE|inlined.2 (result i32) i32.const 16 end i32.mul i32.add local.set $7 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE 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=12 global.get $~lib/map/EMPTY i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 i64.load i64.store local.get $10 local.get $9 i32.load offset=8 i32.store offset=8 block $~lib/internal/hash/HASH|inlined.2 (result i32) local.get $9 i64.load local.set $11 local.get $11 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.2 end local.get $1 i32.and local.set $12 local.get $3 local.get $12 global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $13 local.get $10 local.get $13 i32.load offset=8 i32.store offset=12 local.get $13 local.get $8 i32.store offset=8 local.get $8 block $~lib/map/ENTRY_SIZE|inlined.3 (result i32) i32.const 16 end i32.add local.set $8 end local.get $6 block $~lib/map/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/map/Map#set (; 76 ;) (type $iIiv) (param $0 i32) (param $1 i64) (param $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.1 end local.set $3 local.get $0 local.get $1 local.get $3 call $~lib/map/Map#find local.set $4 local.get $4 if local.get $4 local.get $2 i32.store offset=8 else 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 global.get $~lib/map/FREE_FACTOR 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/map/Map#rehash end local.get $0 i32.load offset=8 local.set $5 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $6 i32.const 1 i32.add i32.store offset=16 local.get $6 end block $~lib/map/ENTRY_SIZE|inlined.5 (result i32) i32.const 16 end i32.mul i32.add local.set $4 local.get $4 local.get $1 i64.store local.get $4 local.get $2 i32.store offset=8 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 $3 local.get $0 i32.load offset=4 i32.and global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $6 local.get $4 local.get $6 i32.load offset=8 i32.store offset=12 local.get $6 local.get $4 i32.store offset=8 end ) (func $~lib/map/Map#get (; 77 ;) (type $iIi) (param $0 i32) (param $1 i64) (result i32) (local $2 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.3 (result i32) local.get $1 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.3 end call $~lib/map/Map#find local.set $2 local.get $2 if (result i32) local.get $2 i32.load offset=8 else unreachable end ) (func $~lib/map/Map#get:size (; 78 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/map/Map#delete (; 79 ;) (type $iIi) (param $0 i32) (param $1 i64) (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.4 (result i32) local.get $1 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.4 end call $~lib/map/Map#find local.set $2 local.get $2 i32.eqz if i32.const 0 return end local.get $2 local.get $2 i32.load offset=12 global.get $~lib/map/EMPTY i32.or i32.store offset=12 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 $3 local.get $3 i32.const 1 i32.add global.get $~lib/map/INITIAL_CAPACITY local.tee $4 local.get $0 i32.load offset=20 local.tee $5 local.get $4 local.get $5 i32.gt_u select i32.ge_u local.tee $4 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s global.get $~lib/map/FREE_FACTOR f64.mul i32.trunc_f64_s i32.lt_s else local.get $4 end if local.get $0 local.get $3 call $~lib/map/Map#rehash end i32.const 1 ) (func $std/map/test (; 80 ;) (type $v) (local $0 i32) (local $1 i64) i32.const 0 call $~lib/map/Map#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/map/Map#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 i32.const 10 local.get $1 i32.wrap_i64 i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.wrap_i64 i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 11 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 13 i32.const 2 call $~lib/env/abort unreachable end block $break|1 i64.const 0 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 17 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.wrap_i64 i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 20 local.get $1 i32.wrap_i64 i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.wrap_i64 i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 21 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 23 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 27 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.wrap_i64 i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 30 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 32 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/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 10 local.get $1 i32.wrap_i64 i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 40 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/map/Map#clear local.get $0 call $~lib/map/Map#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 46 i32.const 2 call $~lib/env/abort unreachable end ) (func $~lib/map/Map#clear (; 81 ;) (type $iv) (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 global.get $~lib/map/INITIAL_CAPACITY 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 global.get $~lib/map/INITIAL_CAPACITY 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/map/Map#constructor (; 82 ;) (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/map/Map#clear local.get $0 ) (func $~lib/map/Map#find (; 83 ;) (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 global.get $~lib/map/BUCKET_SIZE 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=12 global.get $~lib/map/EMPTY 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=12 global.get $~lib/map/EMPTY i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/map/Map#has (; 84 ;) (type $iIi) (param $0 i32) (param $1 i64) (result i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $1 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.0 end call $~lib/map/Map#find i32.const 0 i32.ne ) (func $~lib/map/Map#rehash (; 85 ;) (type $iiv) (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 global.get $~lib/map/BUCKET_SIZE i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s global.get $~lib/map/FILL_FACTOR f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/map/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 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/map/ENTRY_SIZE|inlined.2 (result i32) i32.const 16 end i32.mul i32.add local.set $7 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE 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=12 global.get $~lib/map/EMPTY i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 i64.load i64.store local.get $10 local.get $9 i32.load offset=8 i32.store offset=8 block $~lib/internal/hash/HASH|inlined.2 (result i32) local.get $9 i64.load local.set $11 local.get $11 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.2 end local.get $1 i32.and local.set $12 local.get $3 local.get $12 global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $13 local.get $10 local.get $13 i32.load offset=8 i32.store offset=12 local.get $13 local.get $8 i32.store offset=8 local.get $8 block $~lib/map/ENTRY_SIZE|inlined.3 (result i32) i32.const 16 end i32.add local.set $8 end local.get $6 block $~lib/map/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/map/Map#set (; 86 ;) (type $iIiv) (param $0 i32) (param $1 i64) (param $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.1 end local.set $3 local.get $0 local.get $1 local.get $3 call $~lib/map/Map#find local.set $4 local.get $4 if local.get $4 local.get $2 i32.store offset=8 else 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 global.get $~lib/map/FREE_FACTOR 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/map/Map#rehash end local.get $0 i32.load offset=8 local.set $5 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $6 i32.const 1 i32.add i32.store offset=16 local.get $6 end block $~lib/map/ENTRY_SIZE|inlined.5 (result i32) i32.const 16 end i32.mul i32.add local.set $4 local.get $4 local.get $1 i64.store local.get $4 local.get $2 i32.store offset=8 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 $3 local.get $0 i32.load offset=4 i32.and global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $6 local.get $4 local.get $6 i32.load offset=8 i32.store offset=12 local.get $6 local.get $4 i32.store offset=8 end ) (func $~lib/map/Map#get (; 87 ;) (type $iIi) (param $0 i32) (param $1 i64) (result i32) (local $2 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.3 (result i32) local.get $1 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.3 end call $~lib/map/Map#find local.set $2 local.get $2 if (result i32) local.get $2 i32.load offset=8 else unreachable end ) (func $~lib/map/Map#get:size (; 88 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/map/Map#delete (; 89 ;) (type $iIi) (param $0 i32) (param $1 i64) (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.4 (result i32) local.get $1 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.4 end call $~lib/map/Map#find local.set $2 local.get $2 i32.eqz if i32.const 0 return end local.get $2 local.get $2 i32.load offset=12 global.get $~lib/map/EMPTY i32.or i32.store offset=12 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 $3 local.get $3 i32.const 1 i32.add global.get $~lib/map/INITIAL_CAPACITY local.tee $4 local.get $0 i32.load offset=20 local.tee $5 local.get $4 local.get $5 i32.gt_u select i32.ge_u local.tee $4 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s global.get $~lib/map/FREE_FACTOR f64.mul i32.trunc_f64_s i32.lt_s else local.get $4 end if local.get $0 local.get $3 call $~lib/map/Map#rehash end i32.const 1 ) (func $std/map/test (; 90 ;) (type $v) (local $0 i32) (local $1 i64) i32.const 0 call $~lib/map/Map#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/map/Map#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 i32.const 10 local.get $1 i32.wrap_i64 i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.wrap_i64 i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 11 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 13 i32.const 2 call $~lib/env/abort unreachable end block $break|1 i64.const 0 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 17 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.wrap_i64 i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 20 local.get $1 i32.wrap_i64 i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.wrap_i64 i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 21 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 23 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 27 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.wrap_i64 i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 30 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 32 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/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 10 local.get $1 i32.wrap_i64 i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 40 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/map/Map#clear local.get $0 call $~lib/map/Map#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 46 i32.const 2 call $~lib/env/abort unreachable end ) (func $~lib/map/Map#clear (; 91 ;) (type $iv) (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 global.get $~lib/map/INITIAL_CAPACITY i32.const 1 i32.sub i32.store offset=4 local.get $0 i32.const 0 i32.const 48 i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor i32.store offset=8 local.get $0 global.get $~lib/map/INITIAL_CAPACITY 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/map/Map#constructor (; 92 ;) (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/map/Map#clear local.get $0 ) (func $~lib/map/Map#find (; 93 ;) (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 global.get $~lib/map/BUCKET_SIZE 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 global.get $~lib/map/EMPTY 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=8 global.get $~lib/map/EMPTY i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/map/Map#has (; 94 ;) (type $ifi) (param $0 i32) (param $1 f32) (result i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $1 i32.reinterpret_f32 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.0 end call $~lib/map/Map#find i32.const 0 i32.ne ) (func $~lib/map/Map#rehash (; 95 ;) (type $iiv) (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 global.get $~lib/map/BUCKET_SIZE i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s global.get $~lib/map/FILL_FACTOR f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/map/ENTRY_SIZE|inlined.1 (result i32) i32.const 12 end i32.mul i32.const 1 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $5 local.get $0 i32.load offset=8 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/map/ENTRY_SIZE|inlined.2 (result i32) i32.const 12 end i32.mul i32.add local.set $7 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE 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 global.get $~lib/map/EMPTY i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 f32.load f32.store local.get $10 local.get $9 i32.load offset=4 i32.store offset=4 block $~lib/internal/hash/HASH|inlined.2 (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.2 end local.get $1 i32.and local.set $12 local.get $3 local.get $12 global.get $~lib/map/BUCKET_SIZE 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/map/ENTRY_SIZE|inlined.3 (result i32) i32.const 12 end i32.add local.set $8 end local.get $6 block $~lib/map/ENTRY_SIZE|inlined.4 (result i32) i32.const 12 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/map/Map#set (; 96 ;) (type $ifiv) (param $0 i32) (param $1 f32) (param $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 i32.reinterpret_f32 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.1 end local.set $3 local.get $0 local.get $1 local.get $3 call $~lib/map/Map#find local.set $4 local.get $4 if local.get $4 local.get $2 i32.store offset=4 else 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 global.get $~lib/map/FREE_FACTOR 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/map/Map#rehash end local.get $0 i32.load offset=8 local.set $5 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $6 i32.const 1 i32.add i32.store offset=16 local.get $6 end block $~lib/map/ENTRY_SIZE|inlined.5 (result i32) i32.const 12 end i32.mul i32.add local.set $4 local.get $4 local.get $1 f32.store local.get $4 local.get $2 i32.store offset=4 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 $3 local.get $0 i32.load offset=4 i32.and global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $6 local.get $4 local.get $6 i32.load offset=8 i32.store offset=8 local.get $6 local.get $4 i32.store offset=8 end ) (func $~lib/map/Map#get (; 97 ;) (type $ifi) (param $0 i32) (param $1 f32) (result i32) (local $2 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.3 (result i32) local.get $1 i32.reinterpret_f32 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.3 end call $~lib/map/Map#find local.set $2 local.get $2 if (result i32) local.get $2 i32.load offset=4 else unreachable end ) (func $~lib/map/Map#get:size (; 98 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/map/Map#delete (; 99 ;) (type $ifi) (param $0 i32) (param $1 f32) (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.4 (result i32) local.get $1 i32.reinterpret_f32 call $~lib/internal/hash/hash32 br $~lib/internal/hash/HASH|inlined.4 end call $~lib/map/Map#find local.set $2 local.get $2 i32.eqz if i32.const 0 return end local.get $2 local.get $2 i32.load offset=8 global.get $~lib/map/EMPTY 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 $3 local.get $3 i32.const 1 i32.add global.get $~lib/map/INITIAL_CAPACITY local.tee $4 local.get $0 i32.load offset=20 local.tee $5 local.get $4 local.get $5 i32.gt_u select i32.ge_u local.tee $4 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s global.get $~lib/map/FREE_FACTOR f64.mul i32.trunc_f64_s i32.lt_s else local.get $4 end if local.get $0 local.get $3 call $~lib/map/Map#rehash end i32.const 1 ) (func $std/map/test (; 100 ;) (type $v) (local $0 i32) (local $1 f32) i32.const 0 call $~lib/map/Map#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/map/Map#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 i32.const 10 local.get $1 i32.trunc_f32_s i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.trunc_f32_s i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 11 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 13 i32.const 2 call $~lib/env/abort unreachable end block $break|1 f32.const 0 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 17 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.trunc_f32_s i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 20 local.get $1 i32.trunc_f32_s i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.trunc_f32_s i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 21 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 23 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 27 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.trunc_f32_s i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 30 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 32 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/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 10 local.get $1 i32.trunc_f32_s i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 40 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/map/Map#clear local.get $0 call $~lib/map/Map#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 46 i32.const 2 call $~lib/env/abort unreachable end ) (func $~lib/map/Map#clear (; 101 ;) (type $iv) (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 global.get $~lib/map/INITIAL_CAPACITY 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 global.get $~lib/map/INITIAL_CAPACITY 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/map/Map#constructor (; 102 ;) (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/map/Map#clear local.get $0 ) (func $~lib/map/Map#find (; 103 ;) (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 global.get $~lib/map/BUCKET_SIZE 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=12 global.get $~lib/map/EMPTY 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=12 global.get $~lib/map/EMPTY i32.const -1 i32.xor i32.and local.set $3 end br $continue|0 end end end i32.const 0 ) (func $~lib/map/Map#has (; 104 ;) (type $iFi) (param $0 i32) (param $1 f64) (result i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.0 (result i32) local.get $1 i64.reinterpret_f64 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.0 end call $~lib/map/Map#find i32.const 0 i32.ne ) (func $~lib/map/Map#rehash (; 105 ;) (type $iiv) (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 global.get $~lib/map/BUCKET_SIZE i32.mul i32.const 0 call $~lib/arraybuffer/ArrayBuffer#constructor local.set $3 local.get $2 f64.convert_i32_s global.get $~lib/map/FILL_FACTOR f64.mul i32.trunc_f64_s local.set $4 i32.const 0 local.get $4 block $~lib/map/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 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add local.set $6 local.get $6 local.get $0 i32.load offset=16 block $~lib/map/ENTRY_SIZE|inlined.2 (result i32) i32.const 16 end i32.mul i32.add local.set $7 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE 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=12 global.get $~lib/map/EMPTY i32.and i32.eqz if local.get $8 local.set $10 local.get $10 local.get $9 f64.load f64.store local.get $10 local.get $9 i32.load offset=8 i32.store offset=8 block $~lib/internal/hash/HASH|inlined.2 (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.2 end local.get $1 i32.and local.set $12 local.get $3 local.get $12 global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $13 local.get $10 local.get $13 i32.load offset=8 i32.store offset=12 local.get $13 local.get $8 i32.store offset=8 local.get $8 block $~lib/map/ENTRY_SIZE|inlined.3 (result i32) i32.const 16 end i32.add local.set $8 end local.get $6 block $~lib/map/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/map/Map#set (; 106 ;) (type $iFiv) (param $0 i32) (param $1 f64) (param $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) block $~lib/internal/hash/HASH|inlined.1 (result i32) local.get $1 i64.reinterpret_f64 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.1 end local.set $3 local.get $0 local.get $1 local.get $3 call $~lib/map/Map#find local.set $4 local.get $4 if local.get $4 local.get $2 i32.store offset=8 else 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 global.get $~lib/map/FREE_FACTOR 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/map/Map#rehash end local.get $0 i32.load offset=8 local.set $5 local.get $5 global.get $~lib/internal/arraybuffer/HEADER_SIZE i32.add block (result i32) local.get $0 local.get $0 i32.load offset=16 local.tee $6 i32.const 1 i32.add i32.store offset=16 local.get $6 end block $~lib/map/ENTRY_SIZE|inlined.5 (result i32) i32.const 16 end i32.mul i32.add local.set $4 local.get $4 local.get $1 f64.store local.get $4 local.get $2 i32.store offset=8 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 $3 local.get $0 i32.load offset=4 i32.and global.get $~lib/map/BUCKET_SIZE i32.mul i32.add local.set $6 local.get $4 local.get $6 i32.load offset=8 i32.store offset=12 local.get $6 local.get $4 i32.store offset=8 end ) (func $~lib/map/Map#get (; 107 ;) (type $iFi) (param $0 i32) (param $1 f64) (result i32) (local $2 i32) local.get $0 local.get $1 block $~lib/internal/hash/HASH|inlined.3 (result i32) local.get $1 i64.reinterpret_f64 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.3 end call $~lib/map/Map#find local.set $2 local.get $2 if (result i32) local.get $2 i32.load offset=8 else unreachable end ) (func $~lib/map/Map#get:size (; 108 ;) (type $ii) (param $0 i32) (result i32) local.get $0 i32.load offset=20 ) (func $~lib/map/Map#delete (; 109 ;) (type $iFi) (param $0 i32) (param $1 f64) (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.4 (result i32) local.get $1 i64.reinterpret_f64 call $~lib/internal/hash/hash64 br $~lib/internal/hash/HASH|inlined.4 end call $~lib/map/Map#find local.set $2 local.get $2 i32.eqz if i32.const 0 return end local.get $2 local.get $2 i32.load offset=12 global.get $~lib/map/EMPTY i32.or i32.store offset=12 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 $3 local.get $3 i32.const 1 i32.add global.get $~lib/map/INITIAL_CAPACITY local.tee $4 local.get $0 i32.load offset=20 local.tee $5 local.get $4 local.get $5 i32.gt_u select i32.ge_u local.tee $4 if (result i32) local.get $0 i32.load offset=20 local.get $0 i32.load offset=12 f64.convert_i32_s global.get $~lib/map/FREE_FACTOR f64.mul i32.trunc_f64_s i32.lt_s else local.get $4 end if local.get $0 local.get $3 call $~lib/map/Map#rehash end i32.const 1 ) (func $std/map/test (; 110 ;) (type $v) (local $0 i32) (local $1 f64) i32.const 0 call $~lib/map/Map#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/map/Map#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 i32.const 10 local.get $1 i32.trunc_f64_s i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 10 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.trunc_f64_s i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 11 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 13 i32.const 2 call $~lib/env/abort unreachable end block $break|1 f64.const 0 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 17 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 10 local.get $1 i32.trunc_f64_s i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 18 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 20 local.get $1 i32.trunc_f64_s i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 20 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.trunc_f64_s i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 21 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/map/Map#get:size i32.const 100 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 23 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/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 27 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#get i32.const 20 local.get $1 i32.trunc_f64_s i32.add i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 28 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 30 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 32 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/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 36 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 i32.const 10 local.get $1 i32.trunc_f64_s i32.add call $~lib/map/Map#set local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz if i32.const 0 i32.const 120 i32.const 38 i32.const 4 call $~lib/env/abort unreachable end local.get $0 local.get $1 call $~lib/map/Map#delete drop local.get $0 local.get $1 call $~lib/map/Map#has i32.eqz i32.eqz if i32.const 0 i32.const 120 i32.const 40 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/map/Map#get:size i32.const 50 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 42 i32.const 2 call $~lib/env/abort unreachable end local.get $0 call $~lib/map/Map#clear local.get $0 call $~lib/map/Map#get:size i32.const 0 i32.eq i32.eqz if i32.const 0 i32.const 120 i32.const 46 i32.const 2 call $~lib/env/abort unreachable end ) (func $start (; 111 ;) (type $v) global.get $HEAP_BASE global.get $~lib/internal/allocator/AL_MASK i32.add global.get $~lib/internal/allocator/AL_MASK 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 call $std/map/test call $std/map/test call $std/map/test call $std/map/test call $std/map/test call $std/map/test call $std/map/test call $std/map/test call $std/map/test call $std/map/test ) (func $null (; 112 ;) (type $v) ) )