(module (type $ii (func (param i32) (result i32))) (type $iii (func (param i32 i32) (result i32))) (type $iiii (func (param i32 i32 i32) (result i32))) (type $iiiiv (func (param i32 i32 i32 i32))) (import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32))) (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/arraybuffer/HEADER_SIZE i32 (i32.const 8)) (global $~lib/internal/string/HEADER_SIZE i32 (i32.const 4)) (global $HEAP_BASE i32 (i32.const 56)) (memory $0 1) (data (i32.const 8) "\00\00\00\00") (data (i32.const 12) "\0e\00\00\00~\00l\00i\00b\00/\00s\00t\00r\00i\00n\00g\00.\00t\00s\00") (data (i32.const 44) "\04\00\00\00n\00u\00l\00l\00") (export "i32ArrayArrayElementAccess" (func $std/array-access/i32ArrayArrayElementAccess)) (export "stringArrayPropertyAccess" (func $std/array-access/stringArrayPropertyAccess)) (export "stringArrayMethodCall" (func $std/array-access/stringArrayMethodCall)) (export "stringArrayArrayPropertyAccess" (func $std/array-access/stringArrayArrayPropertyAccess)) (export "stringArrayArrayMethodCall" (func $std/array-access/stringArrayArrayMethodCall)) (export "memory" (memory $0)) (func $~lib/array/Array>#__get (; 1 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (set_local $2 (i32.load (get_local $0) ) ) (if (result i32) (i32.lt_u (get_local $1) (i32.shr_u (i32.load (get_local $2) ) (i32.const 2) ) ) (block $~lib/internal/arraybuffer/loadUnsafe,Array>|inlined.0 (result i32) (i32.load offset=8 (i32.add (get_local $2) (i32.shl (get_local $1) (i32.const 2) ) ) ) ) (unreachable) ) ) (func $~lib/array/Array#__get (; 2 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (set_local $2 (i32.load (get_local $0) ) ) (if (result i32) (i32.lt_u (get_local $1) (i32.shr_u (i32.load (get_local $2) ) (i32.const 2) ) ) (block $~lib/internal/arraybuffer/loadUnsafe|inlined.0 (result i32) (i32.load offset=8 (i32.add (get_local $2) (i32.shl (get_local $1) (i32.const 2) ) ) ) ) (unreachable) ) ) (func $std/array-access/i32ArrayArrayElementAccess (; 3 ;) (type $ii) (param $0 i32) (result i32) (call $~lib/array/Array#__get (call $~lib/array/Array>#__get (get_local $0) (i32.const 0) ) (i32.const 1) ) ) (func $~lib/array/Array#__get (; 4 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (set_local $2 (i32.load (get_local $0) ) ) (if (result i32) (i32.lt_u (get_local $1) (i32.shr_u (i32.load (get_local $2) ) (i32.const 2) ) ) (block $~lib/internal/arraybuffer/loadUnsafe|inlined.0 (result i32) (i32.load offset=8 (i32.add (get_local $2) (i32.shl (get_local $1) (i32.const 2) ) ) ) ) (unreachable) ) ) (func $std/array-access/stringArrayPropertyAccess (; 5 ;) (type $ii) (param $0 i32) (result i32) (i32.load (call $~lib/array/Array#__get (get_local $0) (i32.const 0) ) ) ) (func $~lib/memory/compare_memory (; 6 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (if (i32.eq (get_local $0) (get_local $1) ) (return (i32.const 0) ) ) (block $break|0 (loop $continue|0 (if (if (result i32) (get_local $2) (i32.eq (i32.load8_u (get_local $0) ) (i32.load8_u (get_local $1) ) ) (get_local $2) ) (block (block (set_local $2 (i32.sub (get_local $2) (i32.const 1) ) ) (set_local $0 (i32.add (get_local $0) (i32.const 1) ) ) (set_local $1 (i32.add (get_local $1) (i32.const 1) ) ) ) (br $continue|0) ) ) ) ) (if (result i32) (get_local $2) (i32.sub (i32.load8_u (get_local $0) ) (i32.load8_u (get_local $1) ) ) (i32.const 0) ) ) (func $~lib/string/String#startsWith (; 7 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) (local $9 i32) (if (i32.eqz (i32.ne (get_local $0) (i32.const 0) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 12) (i32.const 265) (i32.const 4) ) (unreachable) ) ) (if (i32.eq (get_local $1) (i32.const 0) ) (set_local $1 (i32.const 44) ) ) (set_local $3 (get_local $2) ) (set_local $4 (i32.load (get_local $0) ) ) (set_local $8 (block $~lib/internal/string/clamp|inlined.0 (result i32) (set_local $5 (i32.const 0) ) (select (tee_local $6 (select (tee_local $6 (get_local $3) ) (tee_local $7 (get_local $4) ) (i32.lt_s (get_local $6) (get_local $7) ) ) ) (tee_local $7 (get_local $5) ) (i32.gt_s (get_local $6) (get_local $7) ) ) ) ) (set_local $9 (i32.load (get_local $1) ) ) (if (i32.gt_s (i32.add (get_local $9) (get_local $8) ) (get_local $4) ) (return (i32.const 0) ) ) (i32.eqz (call $~lib/memory/compare_memory (i32.add (i32.add (get_local $0) (i32.const 4) ) (i32.shl (get_local $8) (i32.const 1) ) ) (i32.add (get_local $1) (i32.const 4) ) (i32.shl (get_local $9) (i32.const 1) ) ) ) ) (func $std/array-access/stringArrayMethodCall (; 8 ;) (type $ii) (param $0 i32) (result i32) (call $~lib/string/String#startsWith (call $~lib/array/Array#__get (get_local $0) (i32.const 0) ) (i32.const 8) (i32.const 0) ) ) (func $~lib/array/Array>#__get (; 9 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (set_local $2 (i32.load (get_local $0) ) ) (if (result i32) (i32.lt_u (get_local $1) (i32.shr_u (i32.load (get_local $2) ) (i32.const 2) ) ) (block $~lib/internal/arraybuffer/loadUnsafe,Array>|inlined.0 (result i32) (i32.load offset=8 (i32.add (get_local $2) (i32.shl (get_local $1) (i32.const 2) ) ) ) ) (unreachable) ) ) (func $std/array-access/stringArrayArrayPropertyAccess (; 10 ;) (type $ii) (param $0 i32) (result i32) (i32.load (call $~lib/array/Array#__get (call $~lib/array/Array>#__get (get_local $0) (i32.const 0) ) (i32.const 1) ) ) ) (func $std/array-access/stringArrayArrayMethodCall (; 11 ;) (type $ii) (param $0 i32) (result i32) (call $~lib/string/String#startsWith (call $~lib/array/Array#__get (call $~lib/array/Array>#__get (get_local $0) (i32.const 0) ) (i32.const 1) ) (i32.const 8) (i32.const 0) ) ) )