From 3f9758f35a5706ed6d9551f83b3b45f62386ec4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Unneb=C3=A4ck?= Date: Mon, 12 Nov 2018 06:41:04 +0000 Subject: [PATCH] Add DataView to standard library (#316) --- std/assembly/dataview.ts | 129 + std/assembly/index.d.ts | 52 + std/portable/index.d.ts | 44 + tests/compiler/std/dataview.ts | 163 + tests/compiler/std/dataview.untouched.wat | 4654 +++++++++++++++++++++ 5 files changed, 5042 insertions(+) create mode 100644 std/assembly/dataview.ts create mode 100644 tests/compiler/std/dataview.ts create mode 100644 tests/compiler/std/dataview.untouched.wat diff --git a/std/assembly/dataview.ts b/std/assembly/dataview.ts new file mode 100644 index 00000000..581c4caa --- /dev/null +++ b/std/assembly/dataview.ts @@ -0,0 +1,129 @@ +import { HEADER_SIZE } from "./internal/arraybuffer"; + +export class DataView { + constructor( + readonly buffer: ArrayBuffer, + readonly byteOffset: i32 = 0, + readonly byteLength: i32 = i32.MIN_VALUE, + ) { + if (byteLength === i32.MIN_VALUE) byteLength = buffer.byteLength - byteOffset; + + if (byteOffset < 0) throw new RangeError("byteOffset cannot be negative"); + if (byteLength < 0) throw new RangeError("byteLength cannot be negative"); + if (byteOffset + byteLength > buffer.byteLength) throw new RangeError("Length out of range of buffer"); + } + + @inline + getFloat32(byteOffset: i32, littleEndian: boolean = false): f32 { + var result: u32 = load(changetype(this.buffer) + this.byteOffset + byteOffset, HEADER_SIZE); + return reinterpret(littleEndian ? result : bswap(result)); + } + + @inline + getFloat64(byteOffset: i32, littleEndian: boolean = false): f64 { + var result: u64 = load(changetype(this.buffer) + this.byteOffset + byteOffset, HEADER_SIZE); + return reinterpret(littleEndian ? result : bswap(result)); + } + + @inline + getInt8(byteOffset: i32): i8 { + return load(changetype(this.buffer) + this.byteOffset + byteOffset, HEADER_SIZE); + } + + @inline + getInt16(byteOffset: i32, littleEndian: boolean = false): i16 { + var result: i16 = load(changetype(this.buffer) + this.byteOffset + byteOffset, HEADER_SIZE); + return littleEndian ? result : bswap(result); + } + + @inline + getInt32(byteOffset: i32, littleEndian: boolean = false): i32 { + var result: i32 = load(changetype(this.buffer) + this.byteOffset + byteOffset, HEADER_SIZE); + return littleEndian ? result : bswap(result); + } + + @inline + getUint8(byteOffset: i32): u8 { + return load(changetype(this.buffer) + this.byteOffset + byteOffset, HEADER_SIZE); + } + + @inline + getUint16(byteOffset: i32, littleEndian: boolean = false): u16 { + var result: u16 = load(changetype(this.buffer) + this.byteOffset + byteOffset, HEADER_SIZE); + return littleEndian ? result : bswap(result); + } + + @inline + getUint32(byteOffset: i32, littleEndian: boolean = false): u32 { + var result: u32 = load(changetype(this.buffer) + this.byteOffset + byteOffset, HEADER_SIZE); + return littleEndian ? result : bswap(result); + } + + @inline + setFloat32(byteOffset: i32, value: f32, littleEndian: boolean = false): void { + var input: f32 = littleEndian ? value : reinterpret(bswap(reinterpret(value))); + store(changetype(this.buffer) + this.byteOffset + byteOffset, input, HEADER_SIZE); + } + + @inline + setFloat64(byteOffset: i32, value: f64, littleEndian: boolean = false): void { + var input: f64 = littleEndian ? value : reinterpret(bswap(reinterpret(value))); + store(changetype(this.buffer) + this.byteOffset + byteOffset, input, HEADER_SIZE); + } + + @inline + setInt8(byteOffset: i32, value: i8): void { + store(changetype(this.buffer) + this.byteOffset + byteOffset, value, HEADER_SIZE); + } + + @inline + setInt16(byteOffset: i32, value: i16, littleEndian: boolean = false): void { + store(changetype(this.buffer) + this.byteOffset + byteOffset, littleEndian ? value : bswap(value), HEADER_SIZE); + } + + @inline + setInt32(byteOffset: i32, value: i32, littleEndian: boolean = false): void { + store(changetype(this.buffer) + this.byteOffset + byteOffset, littleEndian ? value : bswap(value), HEADER_SIZE); + } + + @inline + setUint8(byteOffset: i32, value: u8): void { + store(changetype(this.buffer) + this.byteOffset + byteOffset, value, HEADER_SIZE); + } + + @inline + setUint16(byteOffset: i32, value: u16, littleEndian: boolean = false): void { + store(changetype(this.buffer) + this.byteOffset + byteOffset, littleEndian ? value : bswap(value), HEADER_SIZE); + } + + @inline + setUint32(byteOffset: i32, value: u32, littleEndian: boolean = false): void { + store(changetype(this.buffer) + this.byteOffset + byteOffset, littleEndian ? value : bswap(value), HEADER_SIZE); + } + + /** + * Non-standard additions that makes sense in WebAssembly, but won't work in JS + */ + + @inline + getInt64(byteOffset: i32, littleEndian: boolean = false): i64 { + var result: i64 = load(changetype(this.buffer) + this.byteOffset + byteOffset, HEADER_SIZE); + return littleEndian ? result : bswap(result); + } + + @inline + getUint64(byteOffset: i32, littleEndian: boolean = false): u64 { + var result: u64 = load(changetype(this.buffer) + this.byteOffset + byteOffset, HEADER_SIZE); + return littleEndian ? result : bswap(result); + } + + @inline + setInt64(byteOffset: i32, value: i64, littleEndian: boolean = false): void { + store(changetype(this.buffer) + this.byteOffset + byteOffset, littleEndian ? value : bswap(value), HEADER_SIZE); + } + + @inline + setUint64(byteOffset: i32, value: u64, littleEndian: boolean = false): void { + store(changetype(this.buffer) + this.byteOffset + byteOffset, littleEndian ? value : bswap(value), HEADER_SIZE); + } +} diff --git a/std/assembly/index.d.ts b/std/assembly/index.d.ts index 70010ad1..de65ca0a 100644 --- a/std/assembly/index.d.ts +++ b/std/assembly/index.d.ts @@ -380,6 +380,58 @@ declare class ArrayBuffer { slice(begin?: i32, end?: i32): ArrayBuffer; } +/** The `DataView` view provides a low-level interface for reading and writing multiple number types in a binary `ArrayBuffer`, without having to care about the platform's endianness. */ +declare class DataView { + /** The `buffer` accessor property represents the `ArrayBuffer` or `SharedArrayBuffer` referenced by the `DataView` at construction time. */ + readonly buffer: ArrayBuffer; + /** The `byteLength` accessor property represents the length (in bytes) of this view from the start of its `ArrayBuffer` or `SharedArrayBuffer`. */ + readonly byteLength: i32; + /** The `byteOffset` accessor property represents the offset (in bytes) of this view from the start of its `ArrayBuffer` or `SharedArrayBuffer`. */ + readonly byteOffset: i32; + /** Constructs a new `DataView` with the given properties */ + constructor(buffer: ArrayBuffer, byteOffset?: i32, byteLength?: i32); + /** The `getFloat32()` method gets a signed 32-bit float (float) at the specified byte offset from the start of the `DataView`. */ + getFloat32(byteOffset: i32, littleEndian?: boolean): f32 + /** The `getFloat64()` method gets a signed 64-bit float (double) at the specified byte offset from the start of the `DataView`. */ + getFloat64(byteOffset: i32, littleEndian?: boolean): f64 + /** The `getInt8()` method gets a signed 8-bit integer (byte) at the specified byte offset from the start of the `DataView`. */ + getInt8(byteOffset: i32): i8 + /** The `getInt16()` method gets a signed 16-bit integer (short) at the specified byte offset from the start of the `DataView`. */ + getInt16(byteOffset: i32, littleEndian?: boolean): i16 + /** The `getInt32()` method gets a signed 32-bit integer (long) at the specified byte offset from the start of the `DataView`. */ + getInt32(byteOffset: i32, littleEndian?: boolean): i32 + /** The `getInt64()` method gets a signed 64-bit integer (long long) at the specified byte offset from the start of the `DataView`. */ + getInt64(byteOffset: i32, littleEndian?: boolean): i64 + /** The `getUint8()` method gets an unsigned 8-bit integer (unsigned byte) at the specified byte offset from the start of the `DataView`. */ + getUint8(byteOffset: i32): u8 + /** The `getUint16()` method gets an unsigned 16-bit integer (unsigned short) at the specified byte offset from the start of the `DataView`. */ + getUint16(byteOffset: i32, littleEndian?: boolean): u16 + /** The `getUint32()` method gets an unsigned 32-bit integer (unsigned long) at the specified byte offset from the start of the `DataView`. */ + getUint32(byteOffset: i32, littleEndian?: boolean): u32 + /** The `getUint64()` method gets an unsigned 64-bit integer (unsigned long long) at the specified byte offset from the start of the `DataView`. */ + getUint64(byteOffset: i32, littleEndian?: boolean): u64 + /** The `setFloat32()` method stores a signed 32-bit float (float) value at the specified byte offset from the start of the `DataView`. */ + setFloat32(byteOffset: i32, value: f32, littleEndian?: boolean): void + /** The `setFloat64()` method stores a signed 64-bit float (double) value at the specified byte offset from the start of the `DataView`. */ + setFloat64(byteOffset: i32, value: f64, littleEndian?: boolean): void + /** The `setInt8()` method stores a signed 8-bit integer (byte) value at the specified byte offset from the start of the `DataView`. */ + setInt8(byteOffset: i32, value: i8): void + /** The `setInt16()` method stores a signed 16-bit integer (short) value at the specified byte offset from the start of the `DataView`. */ + setInt16(byteOffset: i32, value: i16, littleEndian?: boolean): void + /** The `setInt32()` method stores a signed 32-bit integer (long) value at the specified byte offset from the start of the `DataView`. */ + setInt32(byteOffset: i32, value: i32, littleEndian?: boolean): void + /** The `setInt64()` method stores a signed 64-bit integer (long long) value at the specified byte offset from the start of the `DataView`. */ + setInt64(byteOffset: i32, value: i64, littleEndian?: boolean): void + /** The `setUint8()` method stores an unsigned 8-bit integer (byte) value at the specified byte offset from the start of the `DataView`. */ + setUint8(byteOffset: i32, value: u8): void + /** The `setUint16()` method stores an unsigned 16-bit integer (unsigned short) value at the specified byte offset from the start of the `DataView`. */ + setUint16(byteOffset: i32, value: u16, littleEndian?: boolean): void + /** The `setUint32()` method stores an unsigned 32-bit integer (unsigned long) value at the specified byte offset from the start of the `DataView`. */ + setUint32(byteOffset: i32, value: u32, littleEndian?: boolean): void + /** The `setUint64()` method stores an unsigned 64-bit integer (unsigned long long) value at the specified byte offset from the start of the `DataView`. */ + setUint64(byteOffset: i32, value: u64, littleEndian?: boolean): void +} + /** Interface for a typed view on an array buffer. */ interface ArrayBufferView { [key: number]: T; diff --git a/std/portable/index.d.ts b/std/portable/index.d.ts index 04dff225..94b5ddd6 100644 --- a/std/portable/index.d.ts +++ b/std/portable/index.d.ts @@ -243,6 +243,50 @@ declare class ArrayBuffer { slice(begin?: i32, end?: i32): ArrayBuffer; } +/** The `DataView` view provides a low-level interface for reading and writing multiple number types in a binary `ArrayBuffer`, without having to care about the platform's endianness. */ +declare class DataView { + /** The `buffer` accessor property represents the `ArrayBuffer` or `SharedArrayBuffer` referenced by the `DataView` at construction time. */ + readonly buffer: ArrayBuffer; + /** The `byteLength` accessor property represents the length (in bytes) of this view from the start of its `ArrayBuffer` or `SharedArrayBuffer`. */ + readonly byteLength: i32; + /** The `byteOffset` accessor property represents the offset (in bytes) of this view from the start of its `ArrayBuffer` or `SharedArrayBuffer`. */ + readonly byteOffset: i32; + /** Constructs a new `DataView` with the given properties */ + constructor(buffer: ArrayBuffer, byteOffset?: i32, byteLength?: i32); + /** The `getFloat32()` method gets a signed 32-bit float (float) at the specified byte offset from the start of the `DataView`. */ + getFloat32(byteOffset: i32, littleEndian?: boolean): f32 + /** The `getFloat64()` method gets a signed 64-bit float (double) at the specified byte offset from the start of the `DataView`. */ + getFloat64(byteOffset: i32, littleEndian?: boolean): f64 + /** The `getInt8()` method gets a signed 8-bit integer (byte) at the specified byte offset from the start of the `DataView`. */ + getInt8(byteOffset: i32): i8 + /** The `getInt16()` method gets a signed 16-bit integer (short) at the specified byte offset from the start of the `DataView`. */ + getInt16(byteOffset: i32, littleEndian?: boolean): i16 + /** The `getInt32()` method gets a signed 32-bit integer (long) at the specified byte offset from the start of the `DataView`. */ + getInt32(byteOffset: i32, littleEndian?: boolean): i32 + /** The `getUint8()` method gets an unsigned 8-bit integer (unsigned byte) at the specified byte offset from the start of the `DataView`. */ + getUint8(byteOffset: i32): u8 + /** The `getUint16()` method gets an unsigned 16-bit integer (unsigned short) at the specified byte offset from the start of the `DataView`. */ + getUint16(byteOffset: i32, littleEndian?: boolean): u16 + /** The `getUint32()` method gets an unsigned 32-bit integer (unsigned long) at the specified byte offset from the start of the `DataView`. */ + getUint32(byteOffset: i32, littleEndian?: boolean): u32 + /** The `setFloat32()` method stores a signed 32-bit float (float) value at the specified byte offset from the start of the `DataView`. */ + setFloat32(byteOffset: i32, value: f32, littleEndian?: boolean): void + /** The `setFloat64()` method stores a signed 64-bit float (double) value at the specified byte offset from the start of the `DataView`. */ + setFloat64(byteOffset: i32, value: f64, littleEndian?: boolean): void + /** The `setInt8()` method stores a signed 8-bit integer (byte) value at the specified byte offset from the start of the `DataView`. */ + setInt8(byteOffset: i32, value: i8): void + /** The `setInt16()` method stores a signed 16-bit integer (short) value at the specified byte offset from the start of the `DataView`. */ + setInt16(byteOffset: i32, value: i16, littleEndian?: boolean): void + /** The `setInt32()` method stores a signed 32-bit integer (long) value at the specified byte offset from the start of the `DataView`. */ + setInt32(byteOffset: i32, value: i32, littleEndian?: boolean): void + /** The `setUint8()` method stores an unsigned 8-bit integer (byte) value at the specified byte offset from the start of the `DataView`. */ + setUint8(byteOffset: i32, value: u8): void + /** The `setUint16()` method stores an unsigned 16-bit integer (unsigned short) value at the specified byte offset from the start of the `DataView`. */ + setUint16(byteOffset: i32, value: u16, littleEndian?: boolean): void + /** The `setUint32()` method stores an unsigned 32-bit integer (unsigned long) value at the specified byte offset from the start of the `DataView`. */ + setUint32(byteOffset: i32, value: u32, littleEndian?: boolean): void +} + declare class Array { [key: number]: T; length: i32; diff --git a/tests/compiler/std/dataview.ts b/tests/compiler/std/dataview.ts new file mode 100644 index 00000000..b4179eec --- /dev/null +++ b/tests/compiler/std/dataview.ts @@ -0,0 +1,163 @@ +import "allocator/arena"; + +var array = new Uint8Array(8); + +array[0] = 246; +array[1] = 224; +array[2] = 88; +array[3] = 159; +array[4] = 130; +array[5] = 101; +array[6] = 67; +array[7] = 95; + +var view = new DataView(array.buffer, array.byteOffset, array.byteLength); + +assert(view.getFloat32(0, true) === -4.592586247781397e-20); +assert(view.getFloat32(1, true) === -2.3413961970849473e-37); +assert(view.getFloat32(2, true) === 7.710587701863113e+22); +assert(view.getFloat32(3, true) === 229.51023864746094); +assert(view.getFloat32(4, true) === 14079802746555335000.0); + +assert(view.getFloat32(0, false) === -2.2751405188178955e+33); +assert(view.getFloat32(1, false) === -62437351080004160000.0); +assert(view.getFloat32(2, false) === 1403059112509440.0); +assert(view.getFloat32(3, false) === -5.522466503261712e-20); +assert(view.getFloat32(4, false) === -1.6843597451835358e-37); + +assert(view.getFloat64(0, true) === 7.936550095674706e+150); +assert(view.getFloat64(0, false) === -4.1177747581885255e+264); + +assert(view.getInt8(0) === -10); +assert(view.getInt8(1) === -32); +assert(view.getInt8(2) === 88); +assert(view.getInt8(3) === -97); +assert(view.getInt8(4) === -126); +assert(view.getInt8(5) === 101); +assert(view.getInt8(6) === 67); +assert(view.getInt8(7) === 95); + +assert(view.getInt16(0, true) === -7946); +assert(view.getInt16(1, true) === 22752); +assert(view.getInt16(2, true) === -24744); +assert(view.getInt16(3, true) === -32097); +assert(view.getInt16(4, true) === 25986); +assert(view.getInt16(5, true) === 17253); +assert(view.getInt16(6, true) === 24387); + +assert(view.getInt16(0, false) === -2336); +assert(view.getInt16(1, false) === -8104); +assert(view.getInt16(2, false) === 22687); +assert(view.getInt16(3, false) === -24702); +assert(view.getInt16(4, false) === -32155); +assert(view.getInt16(5, false) === 25923); +assert(view.getInt16(6, false) === 17247); + +assert(view.getInt32(0, true) === -1621565194); +assert(view.getInt32(1, true) === -2103486240); +assert(view.getInt32(2, true) === 1703059288); +assert(view.getInt32(3, true) === 1130726047); +assert(view.getInt32(4, true) === 1598252418); + +assert(view.getInt32(0, false) === -153069409); +assert(view.getInt32(1, false) === -531062910); +assert(view.getInt32(2, false) === 1486848613); +assert(view.getInt32(3, false) === -1618844349); +assert(view.getInt32(4, false) === -2107292833); + +assert(view.getInt64(0, true) === 6864441868736323830) +assert(view.getInt64(0, false) === -657428103485373601) + +assert(view.getUint8(0) === 246); +assert(view.getUint8(1) === 224); +assert(view.getUint8(2) === 88); +assert(view.getUint8(3) === 159); +assert(view.getUint8(4) === 130); +assert(view.getUint8(5) === 101); +assert(view.getUint8(6) === 67); +assert(view.getUint8(7) === 95); + +assert(view.getUint16(0, true) === 57590); +assert(view.getUint16(1, true) === 22752); +assert(view.getUint16(2, true) === 40792); +assert(view.getUint16(3, true) === 33439); +assert(view.getUint16(4, true) === 25986); +assert(view.getUint16(5, true) === 17253); +assert(view.getUint16(6, true) === 24387); + +assert(view.getUint16(0, false) === 63200); +assert(view.getUint16(1, false) === 57432); +assert(view.getUint16(2, false) === 22687); +assert(view.getUint16(3, false) === 40834); +assert(view.getUint16(4, false) === 33381); +assert(view.getUint16(5, false) === 25923); +assert(view.getUint16(6, false) === 17247); + +assert(view.getUint32(0, true) === 2673402102); +assert(view.getUint32(1, true) === 2191481056); +assert(view.getUint32(2, true) === 1703059288); +assert(view.getUint32(3, true) === 1130726047); +assert(view.getUint32(4, true) === 1598252418); + +assert(view.getUint32(0, false) === 4141897887); +assert(view.getUint32(1, false) === 3763904386); +assert(view.getUint32(2, false) === 1486848613); +assert(view.getUint32(3, false) === 2676122947); +assert(view.getUint32(4, false) === 2187674463); + +assert(view.getUint64(0, true) === 6864441868736323830) +assert(view.getUint64(0, false) === 17789315970224178015) + +view.setFloat32(0, 1.5976661625240943e-18, true) +assert(view.getFloat32(0, true) === 1.5976661625240943e-18) + +view.setFloat32(0, 1.9762819733816963e+21, false) +assert(view.getFloat32(0, false) === 1.9762819733816963e+21) + +view.setFloat64(0, -1.094252199637739e+148, true) +assert(view.getFloat64(0, true) === -1.094252199637739e+148) + +view.setFloat64(0, 6.022586634778589e-103, false) +assert(view.getFloat64(0, false) === 6.022586634778589e-103) + +view.setInt8(0, 108) +assert(view.getInt8(0) === 108) + +view.setInt16(0, -13360, true) +assert(view.getInt16(0, true) === -13360) + +view.setInt16(0, 14689, false) +assert(view.getInt16(0, false) === 14689) + +view.setInt32(0, 1204680201, true) +assert(view.getInt32(0, true) === 1204680201) + +view.setInt32(0, 660673230, false) +assert(view.getInt32(0, false) === 660673230) + +view.setInt64(0, -3290739641816099749, true) +assert(view.getInt64(0, true) === -3290739641816099749) + +view.setInt64(0, 8178932412950708047, false) +assert(view.getInt64(0, false) === 8178932412950708047) + +view.setUint8(0, 238) +assert(view.getUint8(0) === 238) + +view.setUint16(0, 58856, true) +assert(view.getUint16(0, true) === 58856) + +view.setUint16(0, 60400, false) +assert(view.getUint16(0, false) === 60400) + +view.setUint32(0, 3448161552, true) +assert(view.getUint32(0, true) === 3448161552) + +view.setUint32(0, 2784175665, false) +assert(view.getUint32(0, false) === 2784175665) + +view.setUint64(0, 2334704782995986958, true) +assert(view.getUint64(0, true) === 2334704782995986958) + +view.setUint64(0, 11323557176419695287, false) +assert(view.getUint64(0, false) === 11323557176419695287) diff --git a/tests/compiler/std/dataview.untouched.wat b/tests/compiler/std/dataview.untouched.wat new file mode 100644 index 00000000..229bca63 --- /dev/null +++ b/tests/compiler/std/dataview.untouched.wat @@ -0,0 +1,4654 @@ +(module + (type $iii (func (param i32 i32) (result i32))) + (type $iiiiv (func (param i32 i32 i32 i32))) + (type $ii (func (param i32) (result i32))) + (type $iiiv (func (param i32 i32 i32))) + (type $iiiii (func (param i32 i32 i32 i32) (result i32))) + (type $II (func (param i64) (result i64))) + (type $v (func)) + (import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32))) + (memory $0 1) + (data (i32.const 8) "\1b\00\00\00~\00l\00i\00b\00/\00i\00n\00t\00e\00r\00n\00a\00l\00/\00t\00y\00p\00e\00d\00a\00r\00r\00a\00y\00.\00t\00s\00") + (data (i32.const 72) "\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 136) "\10\00\00\00~\00l\00i\00b\00/\00d\00a\00t\00a\00v\00i\00e\00w\00.\00t\00s\00") + (data (i32.const 176) "\0f\00\00\00s\00t\00d\00/\00d\00a\00t\00a\00v\00i\00e\00w\00.\00t\00s\00") + (table $0 1 anyfunc) + (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/internal/arraybuffer/HEADER_SIZE i32 (i32.const 8)) + (global $~lib/internal/arraybuffer/MAX_BLENGTH i32 (i32.const 1073741816)) + (global $std/dataview/array (mut i32) (i32.const 0)) + (global $~lib/builtins/i32.MIN_VALUE i32 (i32.const -2147483648)) + (global $std/dataview/view (mut i32) (i32.const 0)) + (global $HEAP_BASE i32 (i32.const 212)) + (export "memory" (memory $0)) + (export "table" (table $0)) + (start $start) + (func $~lib/internal/arraybuffer/computeSize (; 1 ;) (type $ii) (param $0 i32) (result i32) + i32.const 1 + i32.const 32 + get_local $0 + get_global $~lib/internal/arraybuffer/HEADER_SIZE + i32.add + i32.const 1 + i32.sub + i32.clz + i32.sub + i32.shl + ) + (func $~lib/allocator/arena/__memory_allocate (; 2 ;) (type $ii) (param $0 i32) (result i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + get_local $0 + get_global $~lib/internal/allocator/MAX_SIZE_32 + i32.gt_u + if + unreachable + end + get_global $~lib/allocator/arena/offset + set_local $1 + get_local $1 + get_local $0 + tee_local $2 + i32.const 1 + tee_local $3 + get_local $2 + get_local $3 + i32.gt_u + select + i32.add + get_global $~lib/internal/allocator/AL_MASK + i32.add + get_global $~lib/internal/allocator/AL_MASK + i32.const -1 + i32.xor + i32.and + set_local $4 + current_memory + set_local $5 + get_local $4 + get_local $5 + i32.const 16 + i32.shl + i32.gt_u + if + get_local $4 + get_local $1 + i32.sub + i32.const 65535 + i32.add + i32.const 65535 + i32.const -1 + i32.xor + i32.and + i32.const 16 + i32.shr_u + set_local $2 + get_local $5 + tee_local $3 + get_local $2 + tee_local $6 + get_local $3 + get_local $6 + i32.gt_s + select + set_local $3 + get_local $3 + grow_memory + i32.const 0 + i32.lt_s + if + get_local $2 + grow_memory + i32.const 0 + i32.lt_s + if + unreachable + end + end + end + get_local $4 + set_global $~lib/allocator/arena/offset + get_local $1 + ) + (func $~lib/internal/arraybuffer/allocateUnsafe (; 3 ;) (type $ii) (param $0 i32) (result i32) + (local $1 i32) + (local $2 i32) + get_local $0 + get_global $~lib/internal/arraybuffer/MAX_BLENGTH + i32.le_u + i32.eqz + if + i32.const 0 + i32.const 72 + i32.const 23 + i32.const 2 + call $~lib/env/abort + unreachable + end + block $~lib/memory/memory.allocate|inlined.0 (result i32) + get_local $0 + call $~lib/internal/arraybuffer/computeSize + set_local $2 + get_local $2 + call $~lib/allocator/arena/__memory_allocate + br $~lib/memory/memory.allocate|inlined.0 + end + set_local $1 + get_local $1 + get_local $0 + i32.store + get_local $1 + ) + (func $~lib/internal/memory/memset (; 4 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i64) + get_local $2 + i32.eqz + if + return + end + get_local $0 + get_local $1 + i32.store8 + get_local $0 + get_local $2 + i32.add + i32.const 1 + i32.sub + get_local $1 + i32.store8 + get_local $2 + i32.const 2 + i32.le_u + if + return + end + get_local $0 + i32.const 1 + i32.add + get_local $1 + i32.store8 + get_local $0 + i32.const 2 + i32.add + get_local $1 + i32.store8 + get_local $0 + get_local $2 + i32.add + i32.const 2 + i32.sub + get_local $1 + i32.store8 + get_local $0 + get_local $2 + i32.add + i32.const 3 + i32.sub + get_local $1 + i32.store8 + get_local $2 + i32.const 6 + i32.le_u + if + return + end + get_local $0 + i32.const 3 + i32.add + get_local $1 + i32.store8 + get_local $0 + get_local $2 + i32.add + i32.const 4 + i32.sub + get_local $1 + i32.store8 + get_local $2 + i32.const 8 + i32.le_u + if + return + end + i32.const 0 + get_local $0 + i32.sub + i32.const 3 + i32.and + set_local $3 + get_local $0 + get_local $3 + i32.add + set_local $0 + get_local $2 + get_local $3 + i32.sub + set_local $2 + get_local $2 + i32.const -4 + i32.and + set_local $2 + i32.const -1 + i32.const 255 + i32.div_u + get_local $1 + i32.const 255 + i32.and + i32.mul + set_local $4 + get_local $0 + get_local $4 + i32.store + get_local $0 + get_local $2 + i32.add + i32.const 4 + i32.sub + get_local $4 + i32.store + get_local $2 + i32.const 8 + i32.le_u + if + return + end + get_local $0 + i32.const 4 + i32.add + get_local $4 + i32.store + get_local $0 + i32.const 8 + i32.add + get_local $4 + i32.store + get_local $0 + get_local $2 + i32.add + i32.const 12 + i32.sub + get_local $4 + i32.store + get_local $0 + get_local $2 + i32.add + i32.const 8 + i32.sub + get_local $4 + i32.store + get_local $2 + i32.const 24 + i32.le_u + if + return + end + get_local $0 + i32.const 12 + i32.add + get_local $4 + i32.store + get_local $0 + i32.const 16 + i32.add + get_local $4 + i32.store + get_local $0 + i32.const 20 + i32.add + get_local $4 + i32.store + get_local $0 + i32.const 24 + i32.add + get_local $4 + i32.store + get_local $0 + get_local $2 + i32.add + i32.const 28 + i32.sub + get_local $4 + i32.store + get_local $0 + get_local $2 + i32.add + i32.const 24 + i32.sub + get_local $4 + i32.store + get_local $0 + get_local $2 + i32.add + i32.const 20 + i32.sub + get_local $4 + i32.store + get_local $0 + get_local $2 + i32.add + i32.const 16 + i32.sub + get_local $4 + i32.store + i32.const 24 + get_local $0 + i32.const 4 + i32.and + i32.add + set_local $3 + get_local $0 + get_local $3 + i32.add + set_local $0 + get_local $2 + get_local $3 + i32.sub + set_local $2 + get_local $4 + i64.extend_u/i32 + get_local $4 + i64.extend_u/i32 + i64.const 32 + i64.shl + i64.or + set_local $5 + block $break|0 + loop $continue|0 + get_local $2 + i32.const 32 + i32.ge_u + if + block + get_local $0 + get_local $5 + i64.store + get_local $0 + i32.const 8 + i32.add + get_local $5 + i64.store + get_local $0 + i32.const 16 + i32.add + get_local $5 + i64.store + get_local $0 + i32.const 24 + i32.add + get_local $5 + i64.store + get_local $2 + i32.const 32 + i32.sub + set_local $2 + get_local $0 + i32.const 32 + i32.add + set_local $0 + end + br $continue|0 + end + end + end + ) + (func $~lib/memory/memory.allocate (; 5 ;) (type $ii) (param $0 i32) (result i32) + get_local $0 + call $~lib/allocator/arena/__memory_allocate + return + ) + (func $~lib/internal/typedarray/TypedArray#constructor (; 6 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + get_local $1 + i32.const 1073741816 + i32.gt_u + if + i32.const 0 + i32.const 8 + i32.const 24 + i32.const 34 + call $~lib/env/abort + unreachable + end + get_local $1 + i32.const 0 + i32.shl + set_local $2 + get_local $2 + call $~lib/internal/arraybuffer/allocateUnsafe + set_local $3 + block $~lib/memory/memory.fill|inlined.0 + get_local $3 + get_global $~lib/internal/arraybuffer/HEADER_SIZE + i32.add + set_local $4 + i32.const 0 + set_local $5 + get_local $4 + get_local $5 + get_local $2 + call $~lib/internal/memory/memset + end + get_local $0 + if (result i32) + get_local $0 + else + block (result i32) + i32.const 12 + call $~lib/memory/memory.allocate + set_local $5 + get_local $5 + i32.const 0 + i32.store + get_local $5 + i32.const 0 + i32.store offset=4 + get_local $5 + i32.const 0 + i32.store offset=8 + get_local $5 + end + tee_local $0 + end + tee_local $0 + get_local $3 + i32.store + get_local $0 + i32.const 0 + i32.store offset=4 + get_local $0 + get_local $2 + i32.store offset=8 + get_local $0 + ) + (func $~lib/internal/typedarray/TypedArray#__set (; 7 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32) + (local $3 i32) + (local $4 i32) + get_local $1 + get_local $0 + i32.load offset=8 + i32.const 0 + i32.shr_u + i32.ge_u + if + i32.const 0 + i32.const 8 + i32.const 51 + i32.const 63 + call $~lib/env/abort + unreachable + end + block $~lib/internal/arraybuffer/storeUnsafeWithOffset|inlined.0 + get_local $0 + i32.load + set_local $3 + get_local $0 + i32.load offset=4 + set_local $4 + get_local $3 + get_local $4 + i32.add + get_local $1 + i32.const 0 + i32.shl + i32.add + get_local $2 + i32.store8 offset=8 + end + ) + (func $~lib/dataview/DataView#constructor (; 8 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) + (local $4 i32) + get_local $3 + get_global $~lib/builtins/i32.MIN_VALUE + i32.eq + if + get_local $1 + i32.load + get_local $2 + i32.sub + set_local $3 + end + get_local $2 + i32.const 0 + i32.lt_s + if + i32.const 0 + i32.const 136 + i32.const 11 + i32.const 24 + call $~lib/env/abort + unreachable + end + get_local $3 + i32.const 0 + i32.lt_s + if + i32.const 0 + i32.const 136 + i32.const 12 + i32.const 24 + call $~lib/env/abort + unreachable + end + get_local $2 + get_local $3 + i32.add + get_local $1 + i32.load + i32.gt_s + if + i32.const 0 + i32.const 136 + i32.const 13 + i32.const 53 + call $~lib/env/abort + unreachable + end + get_local $0 + if (result i32) + get_local $0 + else + block (result i32) + i32.const 12 + call $~lib/memory/memory.allocate + set_local $4 + get_local $4 + get_local $1 + i32.store + get_local $4 + get_local $2 + i32.store offset=4 + get_local $4 + get_local $3 + i32.store offset=8 + get_local $4 + end + tee_local $0 + end + tee_local $0 + ) + (func $~lib/polyfills/bswap (; 9 ;) (type $ii) (param $0 i32) (result i32) + get_local $0 + i32.const -16711936 + i32.and + i32.const 8 + i32.rotl + get_local $0 + i32.const 16711935 + i32.and + i32.const 8 + i32.rotr + i32.or + return + ) + (func $~lib/polyfills/bswap (; 10 ;) (type $II) (param $0 i64) (result i64) + (local $1 i64) + (local $2 i64) + (local $3 i64) + get_local $0 + i64.const 8 + i64.shr_u + i64.const 71777214294589695 + i64.and + set_local $1 + get_local $0 + i64.const 71777214294589695 + i64.and + i64.const 8 + i64.shl + set_local $2 + get_local $1 + get_local $2 + i64.or + set_local $3 + get_local $3 + i64.const 16 + i64.shr_u + i64.const 281470681808895 + i64.and + set_local $1 + get_local $3 + i64.const 281470681808895 + i64.and + i64.const 16 + i64.shl + set_local $2 + get_local $1 + get_local $2 + i64.or + i64.const 32 + i64.rotr + return + ) + (func $~lib/polyfills/bswap (; 11 ;) (type $ii) (param $0 i32) (result i32) + get_local $0 + i32.const 8 + i32.shl + get_local $0 + i32.const 16 + i32.shl + i32.const 16 + i32.shr_s + i32.const 8 + i32.shr_s + i32.const 255 + i32.and + i32.or + return + ) + (func $~lib/polyfills/bswap (; 12 ;) (type $ii) (param $0 i32) (result i32) + get_local $0 + i32.const -16711936 + i32.and + i32.const 8 + i32.rotl + get_local $0 + i32.const 16711935 + i32.and + i32.const 8 + i32.rotr + i32.or + return + ) + (func $~lib/polyfills/bswap (; 13 ;) (type $II) (param $0 i64) (result i64) + (local $1 i64) + (local $2 i64) + (local $3 i64) + get_local $0 + i64.const 8 + i64.shr_u + i64.const 71777214294589695 + i64.and + set_local $1 + get_local $0 + i64.const 71777214294589695 + i64.and + i64.const 8 + i64.shl + set_local $2 + get_local $1 + get_local $2 + i64.or + set_local $3 + get_local $3 + i64.const 16 + i64.shr_u + i64.const 281470681808895 + i64.and + set_local $1 + get_local $3 + i64.const 281470681808895 + i64.and + i64.const 16 + i64.shl + set_local $2 + get_local $1 + get_local $2 + i64.or + i64.const 32 + i64.rotr + return + ) + (func $~lib/polyfills/bswap (; 14 ;) (type $ii) (param $0 i32) (result i32) + get_local $0 + i32.const 8 + i32.shl + get_local $0 + i32.const 65535 + i32.and + i32.const 8 + i32.shr_u + i32.const 255 + i32.and + i32.or + return + ) + (func $start (; 15 ;) (type $v) + (local $0 i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i64) + (local $5 f32) + (local $6 f32) + (local $7 f64) + (local $8 f64) + get_global $HEAP_BASE + get_global $~lib/internal/allocator/AL_MASK + i32.add + get_global $~lib/internal/allocator/AL_MASK + i32.const -1 + i32.xor + i32.and + set_global $~lib/allocator/arena/startOffset + get_global $~lib/allocator/arena/startOffset + set_global $~lib/allocator/arena/offset + i32.const 0 + i32.const 8 + call $~lib/internal/typedarray/TypedArray#constructor + set_global $std/dataview/array + get_global $std/dataview/array + i32.const 0 + i32.const 246 + call $~lib/internal/typedarray/TypedArray#__set + get_global $std/dataview/array + i32.const 1 + i32.const 224 + call $~lib/internal/typedarray/TypedArray#__set + get_global $std/dataview/array + i32.const 2 + i32.const 88 + call $~lib/internal/typedarray/TypedArray#__set + get_global $std/dataview/array + i32.const 3 + i32.const 159 + call $~lib/internal/typedarray/TypedArray#__set + get_global $std/dataview/array + i32.const 4 + i32.const 130 + call $~lib/internal/typedarray/TypedArray#__set + get_global $std/dataview/array + i32.const 5 + i32.const 101 + call $~lib/internal/typedarray/TypedArray#__set + get_global $std/dataview/array + i32.const 6 + i32.const 67 + call $~lib/internal/typedarray/TypedArray#__set + get_global $std/dataview/array + i32.const 7 + i32.const 95 + call $~lib/internal/typedarray/TypedArray#__set + i32.const 0 + get_global $std/dataview/array + i32.load + get_global $std/dataview/array + i32.load offset=4 + get_global $std/dataview/array + i32.load offset=8 + call $~lib/dataview/DataView#constructor + set_global $std/dataview/view + block $~lib/dataview/DataView#getFloat32|inlined.0 (result f32) + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + f32.reinterpret/i32 + end + f32.const -4.592586247781397e-20 + f32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 16 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getFloat32|inlined.1 (result f32) + get_global $std/dataview/view + set_local $3 + i32.const 1 + set_local $2 + i32.const 1 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + f32.reinterpret/i32 + end + f32.const -2.3413961970849473e-37 + f32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 17 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getFloat32|inlined.2 (result f32) + get_global $std/dataview/view + set_local $0 + i32.const 2 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + f32.reinterpret/i32 + end + f32.const 77105877018631129268224 + f32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 18 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getFloat32|inlined.3 (result f32) + get_global $std/dataview/view + set_local $3 + i32.const 3 + set_local $2 + i32.const 1 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + f32.reinterpret/i32 + end + f32.const 229.51023864746094 + f32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 19 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getFloat32|inlined.4 (result f32) + get_global $std/dataview/view + set_local $0 + i32.const 4 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + f32.reinterpret/i32 + end + f32.const 14079802746555334656 + f32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 20 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getFloat32|inlined.5 (result f32) + get_global $std/dataview/view + set_local $3 + i32.const 0 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + f32.reinterpret/i32 + end + f32.const -2275140518817895515269171e9 + f32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 22 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getFloat32|inlined.6 (result f32) + get_global $std/dataview/view + set_local $0 + i32.const 1 + set_local $1 + i32.const 0 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + f32.reinterpret/i32 + end + f32.const -62437351080004157440 + f32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 23 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getFloat32|inlined.7 (result f32) + get_global $std/dataview/view + set_local $3 + i32.const 2 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + f32.reinterpret/i32 + end + f32.const 1403059112509440 + f32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 24 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getFloat32|inlined.8 (result f32) + get_global $std/dataview/view + set_local $0 + i32.const 3 + set_local $1 + i32.const 0 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + f32.reinterpret/i32 + end + f32.const -5.522466503261712e-20 + f32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 25 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getFloat32|inlined.9 (result f32) + get_global $std/dataview/view + set_local $3 + i32.const 4 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + f32.reinterpret/i32 + end + f32.const -1.6843597451835358e-37 + f32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 26 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getFloat64|inlined.0 (result f64) + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i64.load offset=8 + set_local $4 + get_local $2 + if (result i64) + get_local $4 + else + get_local $4 + call $~lib/polyfills/bswap + end + f64.reinterpret/i64 + end + f64.const 7936550095674706383278551e126 + f64.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 28 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getFloat64|inlined.1 (result f64) + get_global $std/dataview/view + set_local $2 + i32.const 0 + set_local $1 + i32.const 0 + set_local $0 + get_local $2 + i32.load + get_local $2 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i64.load offset=8 + set_local $4 + get_local $0 + if (result i64) + get_local $4 + else + get_local $4 + call $~lib/polyfills/bswap + end + f64.reinterpret/i64 + end + f64.const -411777475818852546741639e241 + f64.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 29 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt8|inlined.0 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $1 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load8_s offset=8 + end + i32.const 24 + i32.shl + i32.const 24 + i32.shr_s + i32.const -10 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 31 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt8|inlined.1 (result i32) + get_global $std/dataview/view + set_local $1 + i32.const 1 + set_local $0 + get_local $1 + i32.load + get_local $1 + i32.load offset=4 + i32.add + get_local $0 + i32.add + i32.load8_s offset=8 + end + i32.const 24 + i32.shl + i32.const 24 + i32.shr_s + i32.const -32 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 32 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt8|inlined.2 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 2 + set_local $1 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load8_s offset=8 + end + i32.const 24 + i32.shl + i32.const 24 + i32.shr_s + i32.const 88 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 33 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt8|inlined.3 (result i32) + get_global $std/dataview/view + set_local $1 + i32.const 3 + set_local $0 + get_local $1 + i32.load + get_local $1 + i32.load offset=4 + i32.add + get_local $0 + i32.add + i32.load8_s offset=8 + end + i32.const 24 + i32.shl + i32.const 24 + i32.shr_s + i32.const -97 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 34 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt8|inlined.4 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 4 + set_local $1 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load8_s offset=8 + end + i32.const 24 + i32.shl + i32.const 24 + i32.shr_s + i32.const -126 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 35 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt8|inlined.5 (result i32) + get_global $std/dataview/view + set_local $1 + i32.const 5 + set_local $0 + get_local $1 + i32.load + get_local $1 + i32.load offset=4 + i32.add + get_local $0 + i32.add + i32.load8_s offset=8 + end + i32.const 24 + i32.shl + i32.const 24 + i32.shr_s + i32.const 101 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 36 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt8|inlined.6 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 6 + set_local $1 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load8_s offset=8 + end + i32.const 24 + i32.shl + i32.const 24 + i32.shr_s + i32.const 67 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 37 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt8|inlined.7 (result i32) + get_global $std/dataview/view + set_local $1 + i32.const 7 + set_local $0 + get_local $1 + i32.load + get_local $1 + i32.load offset=4 + i32.add + get_local $0 + i32.add + i32.load8_s offset=8 + end + i32.const 24 + i32.shl + i32.const 24 + i32.shr_s + i32.const 95 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 38 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt16|inlined.0 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load16_s offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 16 + i32.shl + i32.const 16 + i32.shr_s + i32.const -7946 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 40 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt16|inlined.1 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 1 + set_local $2 + i32.const 1 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load16_s offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 16 + i32.shl + i32.const 16 + i32.shr_s + i32.const 22752 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 41 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt16|inlined.2 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 2 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load16_s offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 16 + i32.shl + i32.const 16 + i32.shr_s + i32.const -24744 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 42 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt16|inlined.3 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 3 + set_local $2 + i32.const 1 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load16_s offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 16 + i32.shl + i32.const 16 + i32.shr_s + i32.const -32097 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 43 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt16|inlined.4 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 4 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load16_s offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 16 + i32.shl + i32.const 16 + i32.shr_s + i32.const 25986 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 44 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt16|inlined.5 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 5 + set_local $2 + i32.const 1 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load16_s offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 16 + i32.shl + i32.const 16 + i32.shr_s + i32.const 17253 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 45 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt16|inlined.6 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 6 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load16_s offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 16 + i32.shl + i32.const 16 + i32.shr_s + i32.const 24387 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 46 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt16|inlined.7 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 0 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load16_s offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 16 + i32.shl + i32.const 16 + i32.shr_s + i32.const -2336 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 48 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt16|inlined.8 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 1 + set_local $1 + i32.const 0 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load16_s offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 16 + i32.shl + i32.const 16 + i32.shr_s + i32.const -8104 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 49 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt16|inlined.9 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 2 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load16_s offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 16 + i32.shl + i32.const 16 + i32.shr_s + i32.const 22687 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 50 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt16|inlined.10 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 3 + set_local $1 + i32.const 0 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load16_s offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 16 + i32.shl + i32.const 16 + i32.shr_s + i32.const -24702 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 51 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt16|inlined.11 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 4 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load16_s offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 16 + i32.shl + i32.const 16 + i32.shr_s + i32.const -32155 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 52 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt16|inlined.12 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 5 + set_local $1 + i32.const 0 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load16_s offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 16 + i32.shl + i32.const 16 + i32.shr_s + i32.const 25923 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 53 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt16|inlined.13 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 6 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load16_s offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 16 + i32.shl + i32.const 16 + i32.shr_s + i32.const 17247 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 54 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt32|inlined.0 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const -1621565194 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 56 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt32|inlined.1 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 1 + set_local $2 + i32.const 1 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const -2103486240 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 57 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt32|inlined.2 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 2 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 1703059288 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 58 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt32|inlined.3 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 3 + set_local $2 + i32.const 1 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 1130726047 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 59 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt32|inlined.4 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 4 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 1598252418 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 60 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt32|inlined.5 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 0 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const -153069409 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 62 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt32|inlined.6 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 1 + set_local $1 + i32.const 0 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const -531062910 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 63 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt32|inlined.7 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 2 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 1486848613 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 64 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt32|inlined.8 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 3 + set_local $1 + i32.const 0 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const -1618844349 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 65 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt32|inlined.9 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 4 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const -2107292833 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 66 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt64|inlined.0 (result i64) + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i64.load offset=8 + set_local $4 + get_local $2 + if (result i64) + get_local $4 + else + get_local $4 + call $~lib/polyfills/bswap + end + end + i64.const 6864441868736323830 + i64.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 68 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getInt64|inlined.1 (result i64) + get_global $std/dataview/view + set_local $2 + i32.const 0 + set_local $1 + i32.const 0 + set_local $0 + get_local $2 + i32.load + get_local $2 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i64.load offset=8 + set_local $4 + get_local $0 + if (result i64) + get_local $4 + else + get_local $4 + call $~lib/polyfills/bswap + end + end + i64.const -657428103485373601 + i64.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 69 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint8|inlined.0 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $1 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load8_u offset=8 + end + i32.const 255 + i32.and + i32.const 246 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 71 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint8|inlined.1 (result i32) + get_global $std/dataview/view + set_local $1 + i32.const 1 + set_local $0 + get_local $1 + i32.load + get_local $1 + i32.load offset=4 + i32.add + get_local $0 + i32.add + i32.load8_u offset=8 + end + i32.const 255 + i32.and + i32.const 224 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 72 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint8|inlined.2 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 2 + set_local $1 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load8_u offset=8 + end + i32.const 255 + i32.and + i32.const 88 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 73 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint8|inlined.3 (result i32) + get_global $std/dataview/view + set_local $1 + i32.const 3 + set_local $0 + get_local $1 + i32.load + get_local $1 + i32.load offset=4 + i32.add + get_local $0 + i32.add + i32.load8_u offset=8 + end + i32.const 255 + i32.and + i32.const 159 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 74 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint8|inlined.4 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 4 + set_local $1 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load8_u offset=8 + end + i32.const 255 + i32.and + i32.const 130 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 75 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint8|inlined.5 (result i32) + get_global $std/dataview/view + set_local $1 + i32.const 5 + set_local $0 + get_local $1 + i32.load + get_local $1 + i32.load offset=4 + i32.add + get_local $0 + i32.add + i32.load8_u offset=8 + end + i32.const 255 + i32.and + i32.const 101 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 76 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint8|inlined.6 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 6 + set_local $1 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load8_u offset=8 + end + i32.const 255 + i32.and + i32.const 67 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 77 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint8|inlined.7 (result i32) + get_global $std/dataview/view + set_local $1 + i32.const 7 + set_local $0 + get_local $1 + i32.load + get_local $1 + i32.load offset=4 + i32.add + get_local $0 + i32.add + i32.load8_u offset=8 + end + i32.const 255 + i32.and + i32.const 95 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 78 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint16|inlined.0 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load16_u offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 65535 + i32.and + i32.const 57590 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 80 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint16|inlined.1 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 1 + set_local $2 + i32.const 1 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load16_u offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 65535 + i32.and + i32.const 22752 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 81 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint16|inlined.2 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 2 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load16_u offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 65535 + i32.and + i32.const 40792 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 82 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint16|inlined.3 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 3 + set_local $2 + i32.const 1 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load16_u offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 65535 + i32.and + i32.const 33439 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 83 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint16|inlined.4 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 4 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load16_u offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 65535 + i32.and + i32.const 25986 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 84 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint16|inlined.5 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 5 + set_local $2 + i32.const 1 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load16_u offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 65535 + i32.and + i32.const 17253 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 85 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint16|inlined.6 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 6 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load16_u offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 65535 + i32.and + i32.const 24387 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 86 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint16|inlined.7 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 0 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load16_u offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 65535 + i32.and + i32.const 63200 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 88 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint16|inlined.8 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 1 + set_local $1 + i32.const 0 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load16_u offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 65535 + i32.and + i32.const 57432 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 89 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint16|inlined.9 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 2 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load16_u offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 65535 + i32.and + i32.const 22687 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 90 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint16|inlined.10 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 3 + set_local $1 + i32.const 0 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load16_u offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 65535 + i32.and + i32.const 40834 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 91 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint16|inlined.11 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 4 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load16_u offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 65535 + i32.and + i32.const 33381 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 92 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint16|inlined.12 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 5 + set_local $1 + i32.const 0 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load16_u offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 65535 + i32.and + i32.const 25923 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 93 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint16|inlined.13 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 6 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load16_u offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 65535 + i32.and + i32.const 17247 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 94 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint32|inlined.0 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const -1621565194 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 96 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint32|inlined.1 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 1 + set_local $2 + i32.const 1 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const -2103486240 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 97 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint32|inlined.2 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 2 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 1703059288 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 98 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint32|inlined.3 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 3 + set_local $2 + i32.const 1 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 1130726047 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 99 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint32|inlined.4 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 4 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 1598252418 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 100 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint32|inlined.5 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 0 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const -153069409 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 102 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint32|inlined.6 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 1 + set_local $1 + i32.const 0 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const -531062910 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 103 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint32|inlined.7 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 2 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 1486848613 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 104 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint32|inlined.8 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 3 + set_local $1 + i32.const 0 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load offset=8 + set_local $3 + get_local $2 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const -1618844349 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 105 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint32|inlined.9 (result i32) + get_global $std/dataview/view + set_local $3 + i32.const 4 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load offset=8 + set_local $0 + get_local $1 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const -2107292833 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 106 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint64|inlined.0 (result i64) + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $1 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i64.load offset=8 + set_local $4 + get_local $2 + if (result i64) + get_local $4 + else + get_local $4 + call $~lib/polyfills/bswap + end + end + i64.const 6864441868736323830 + i64.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 108 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#getUint64|inlined.1 (result i64) + get_global $std/dataview/view + set_local $2 + i32.const 0 + set_local $1 + i32.const 0 + set_local $0 + get_local $2 + i32.load + get_local $2 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i64.load offset=8 + set_local $4 + get_local $0 + if (result i64) + get_local $4 + else + get_local $4 + call $~lib/polyfills/bswap + end + end + i64.const -657428103485373601 + i64.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 109 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#setFloat32|inlined.0 + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $1 + f32.const 1.5976661625240943e-18 + set_local $5 + i32.const 1 + set_local $2 + get_local $2 + if (result f32) + get_local $5 + else + get_local $5 + i32.reinterpret/f32 + call $~lib/polyfills/bswap + f32.reinterpret/i32 + end + set_local $6 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $1 + i32.add + get_local $6 + f32.store offset=8 + end + block $~lib/dataview/DataView#getFloat32|inlined.10 (result f32) + get_global $std/dataview/view + set_local $2 + i32.const 0 + set_local $1 + i32.const 1 + set_local $0 + get_local $2 + i32.load + get_local $2 + i32.load offset=4 + i32.add + get_local $1 + i32.add + i32.load offset=8 + set_local $3 + get_local $0 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + f32.reinterpret/i32 + end + f32.const 1.5976661625240943e-18 + f32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 112 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#setFloat32|inlined.1 + get_global $std/dataview/view + set_local $3 + i32.const 0 + set_local $0 + f32.const 1976281973381696323584 + set_local $6 + i32.const 0 + set_local $1 + get_local $1 + if (result f32) + get_local $6 + else + get_local $6 + i32.reinterpret/f32 + call $~lib/polyfills/bswap + f32.reinterpret/i32 + end + set_local $5 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $0 + i32.add + get_local $5 + f32.store offset=8 + end + block $~lib/dataview/DataView#getFloat32|inlined.11 (result f32) + get_global $std/dataview/view + set_local $1 + i32.const 0 + set_local $0 + i32.const 0 + set_local $3 + get_local $1 + i32.load + get_local $1 + i32.load offset=4 + i32.add + get_local $0 + i32.add + i32.load offset=8 + set_local $2 + get_local $3 + if (result i32) + get_local $2 + else + get_local $2 + call $~lib/polyfills/bswap + end + f32.reinterpret/i32 + end + f32.const 1976281973381696323584 + f32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 115 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#setFloat64|inlined.0 + get_global $std/dataview/view + set_local $2 + i32.const 0 + set_local $3 + f64.const -1094252199637739024055454e124 + set_local $7 + i32.const 1 + set_local $0 + get_local $0 + if (result f64) + get_local $7 + else + get_local $7 + i64.reinterpret/f64 + call $~lib/polyfills/bswap + f64.reinterpret/i64 + end + set_local $8 + get_local $2 + i32.load + get_local $2 + i32.load offset=4 + i32.add + get_local $3 + i32.add + get_local $8 + f64.store offset=8 + end + block $~lib/dataview/DataView#getFloat64|inlined.2 (result f64) + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $3 + i32.const 1 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $3 + i32.add + i64.load offset=8 + set_local $4 + get_local $2 + if (result i64) + get_local $4 + else + get_local $4 + call $~lib/polyfills/bswap + end + f64.reinterpret/i64 + end + f64.const -1094252199637739024055454e124 + f64.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 118 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#setFloat64|inlined.1 + get_global $std/dataview/view + set_local $2 + i32.const 0 + set_local $3 + f64.const 6.022586634778589e-103 + set_local $8 + i32.const 0 + set_local $0 + get_local $0 + if (result f64) + get_local $8 + else + get_local $8 + i64.reinterpret/f64 + call $~lib/polyfills/bswap + f64.reinterpret/i64 + end + set_local $7 + get_local $2 + i32.load + get_local $2 + i32.load offset=4 + i32.add + get_local $3 + i32.add + get_local $7 + f64.store offset=8 + end + block $~lib/dataview/DataView#getFloat64|inlined.3 (result f64) + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $3 + i32.const 0 + set_local $2 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $3 + i32.add + i64.load offset=8 + set_local $4 + get_local $2 + if (result i64) + get_local $4 + else + get_local $4 + call $~lib/polyfills/bswap + end + f64.reinterpret/i64 + end + f64.const 6.022586634778589e-103 + f64.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 121 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#setInt8|inlined.0 + get_global $std/dataview/view + set_local $2 + i32.const 0 + set_local $3 + i32.const 108 + set_local $0 + get_local $2 + i32.load + get_local $2 + i32.load offset=4 + i32.add + get_local $3 + i32.add + get_local $0 + i32.store8 offset=8 + end + block $~lib/dataview/DataView#getInt8|inlined.8 (result i32) + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $3 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $3 + i32.add + i32.load8_s offset=8 + end + i32.const 24 + i32.shl + i32.const 24 + i32.shr_s + i32.const 108 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 124 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#setInt16|inlined.0 + get_global $std/dataview/view + set_local $3 + i32.const 0 + set_local $0 + i32.const -13360 + set_local $2 + i32.const 1 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $0 + i32.add + get_local $1 + if (result i32) + get_local $2 + else + get_local $2 + call $~lib/polyfills/bswap + end + i32.store16 offset=8 + end + block $~lib/dataview/DataView#getInt16|inlined.14 (result i32) + get_global $std/dataview/view + set_local $1 + i32.const 0 + set_local $2 + i32.const 1 + set_local $0 + get_local $1 + i32.load + get_local $1 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load16_s offset=8 + set_local $3 + get_local $0 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 16 + i32.shl + i32.const 16 + i32.shr_s + i32.const -13360 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 127 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#setInt16|inlined.1 + get_global $std/dataview/view + set_local $3 + i32.const 0 + set_local $0 + i32.const 14689 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $0 + i32.add + get_local $1 + if (result i32) + get_local $2 + else + get_local $2 + call $~lib/polyfills/bswap + end + i32.store16 offset=8 + end + block $~lib/dataview/DataView#getInt16|inlined.15 (result i32) + get_global $std/dataview/view + set_local $1 + i32.const 0 + set_local $2 + i32.const 0 + set_local $0 + get_local $1 + i32.load + get_local $1 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load16_s offset=8 + set_local $3 + get_local $0 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 16 + i32.shl + i32.const 16 + i32.shr_s + i32.const 14689 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 130 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#setInt32|inlined.0 + get_global $std/dataview/view + set_local $3 + i32.const 0 + set_local $0 + i32.const 1204680201 + set_local $2 + i32.const 1 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $0 + i32.add + get_local $1 + if (result i32) + get_local $2 + else + get_local $2 + call $~lib/polyfills/bswap + end + i32.store offset=8 + end + block $~lib/dataview/DataView#getInt32|inlined.10 (result i32) + get_global $std/dataview/view + set_local $1 + i32.const 0 + set_local $2 + i32.const 1 + set_local $0 + get_local $1 + i32.load + get_local $1 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load offset=8 + set_local $3 + get_local $0 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 1204680201 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 133 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#setInt32|inlined.1 + get_global $std/dataview/view + set_local $3 + i32.const 0 + set_local $0 + i32.const 660673230 + set_local $2 + i32.const 0 + set_local $1 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $0 + i32.add + get_local $1 + if (result i32) + get_local $2 + else + get_local $2 + call $~lib/polyfills/bswap + end + i32.store offset=8 + end + block $~lib/dataview/DataView#getInt32|inlined.11 (result i32) + get_global $std/dataview/view + set_local $1 + i32.const 0 + set_local $2 + i32.const 0 + set_local $0 + get_local $1 + i32.load + get_local $1 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i32.load offset=8 + set_local $3 + get_local $0 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + end + i32.const 660673230 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 136 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#setInt64|inlined.0 + get_global $std/dataview/view + set_local $3 + i32.const 0 + set_local $0 + i64.const -3290739641816099749 + set_local $4 + i32.const 1 + set_local $2 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $0 + i32.add + get_local $2 + if (result i64) + get_local $4 + else + get_local $4 + call $~lib/polyfills/bswap + end + i64.store offset=8 + end + block $~lib/dataview/DataView#getInt64|inlined.2 (result i64) + get_global $std/dataview/view + set_local $2 + i32.const 0 + set_local $0 + i32.const 1 + set_local $3 + get_local $2 + i32.load + get_local $2 + i32.load offset=4 + i32.add + get_local $0 + i32.add + i64.load offset=8 + set_local $4 + get_local $3 + if (result i64) + get_local $4 + else + get_local $4 + call $~lib/polyfills/bswap + end + end + i64.const -3290739641816099749 + i64.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 139 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#setInt64|inlined.1 + get_global $std/dataview/view + set_local $3 + i32.const 0 + set_local $0 + i64.const 8178932412950708047 + set_local $4 + i32.const 0 + set_local $2 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $0 + i32.add + get_local $2 + if (result i64) + get_local $4 + else + get_local $4 + call $~lib/polyfills/bswap + end + i64.store offset=8 + end + block $~lib/dataview/DataView#getInt64|inlined.3 (result i64) + get_global $std/dataview/view + set_local $2 + i32.const 0 + set_local $0 + i32.const 0 + set_local $3 + get_local $2 + i32.load + get_local $2 + i32.load offset=4 + i32.add + get_local $0 + i32.add + i64.load offset=8 + set_local $4 + get_local $3 + if (result i64) + get_local $4 + else + get_local $4 + call $~lib/polyfills/bswap + end + end + i64.const 8178932412950708047 + i64.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 142 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#setUint8|inlined.0 + get_global $std/dataview/view + set_local $3 + i32.const 0 + set_local $0 + i32.const 238 + set_local $2 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $0 + i32.add + get_local $2 + i32.store8 offset=8 + end + block $~lib/dataview/DataView#getUint8|inlined.8 (result i32) + get_global $std/dataview/view + set_local $2 + i32.const 0 + set_local $0 + get_local $2 + i32.load + get_local $2 + i32.load offset=4 + i32.add + get_local $0 + i32.add + i32.load8_u offset=8 + end + i32.const 255 + i32.and + i32.const 238 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 145 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#setUint16|inlined.0 + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $2 + i32.const 58856 + set_local $3 + i32.const 1 + set_local $1 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $2 + i32.add + get_local $1 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + i32.store16 offset=8 + end + block $~lib/dataview/DataView#getUint16|inlined.14 (result i32) + get_global $std/dataview/view + set_local $1 + i32.const 0 + set_local $3 + i32.const 1 + set_local $2 + get_local $1 + i32.load + get_local $1 + i32.load offset=4 + i32.add + get_local $3 + i32.add + i32.load16_u offset=8 + set_local $0 + get_local $2 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 65535 + i32.and + i32.const 58856 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 148 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#setUint16|inlined.1 + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $2 + i32.const 60400 + set_local $3 + i32.const 0 + set_local $1 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $2 + i32.add + get_local $1 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + i32.store16 offset=8 + end + block $~lib/dataview/DataView#getUint16|inlined.15 (result i32) + get_global $std/dataview/view + set_local $1 + i32.const 0 + set_local $3 + i32.const 0 + set_local $2 + get_local $1 + i32.load + get_local $1 + i32.load offset=4 + i32.add + get_local $3 + i32.add + i32.load16_u offset=8 + set_local $0 + get_local $2 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const 65535 + i32.and + i32.const 60400 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 151 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#setUint32|inlined.0 + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $2 + i32.const -846805744 + set_local $3 + i32.const 1 + set_local $1 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $2 + i32.add + get_local $1 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + i32.store offset=8 + end + block $~lib/dataview/DataView#getUint32|inlined.10 (result i32) + get_global $std/dataview/view + set_local $1 + i32.const 0 + set_local $3 + i32.const 1 + set_local $2 + get_local $1 + i32.load + get_local $1 + i32.load offset=4 + i32.add + get_local $3 + i32.add + i32.load offset=8 + set_local $0 + get_local $2 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const -846805744 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 154 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#setUint32|inlined.1 + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $2 + i32.const -1510791631 + set_local $3 + i32.const 0 + set_local $1 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $2 + i32.add + get_local $1 + if (result i32) + get_local $3 + else + get_local $3 + call $~lib/polyfills/bswap + end + i32.store offset=8 + end + block $~lib/dataview/DataView#getUint32|inlined.11 (result i32) + get_global $std/dataview/view + set_local $1 + i32.const 0 + set_local $3 + i32.const 0 + set_local $2 + get_local $1 + i32.load + get_local $1 + i32.load offset=4 + i32.add + get_local $3 + i32.add + i32.load offset=8 + set_local $0 + get_local $2 + if (result i32) + get_local $0 + else + get_local $0 + call $~lib/polyfills/bswap + end + end + i32.const -1510791631 + i32.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 157 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#setUint64|inlined.0 + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $2 + i64.const 2334704782995986958 + set_local $4 + i32.const 1 + set_local $3 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $2 + i32.add + get_local $3 + if (result i64) + get_local $4 + else + get_local $4 + call $~lib/polyfills/bswap + end + i64.store offset=8 + end + block $~lib/dataview/DataView#getUint64|inlined.2 (result i64) + get_global $std/dataview/view + set_local $3 + i32.const 0 + set_local $2 + i32.const 1 + set_local $0 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i64.load offset=8 + set_local $4 + get_local $0 + if (result i64) + get_local $4 + else + get_local $4 + call $~lib/polyfills/bswap + end + end + i64.const 2334704782995986958 + i64.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 160 + i32.const 0 + call $~lib/env/abort + unreachable + end + block $~lib/dataview/DataView#setUint64|inlined.1 + get_global $std/dataview/view + set_local $0 + i32.const 0 + set_local $2 + i64.const -7123186897289856329 + set_local $4 + i32.const 0 + set_local $3 + get_local $0 + i32.load + get_local $0 + i32.load offset=4 + i32.add + get_local $2 + i32.add + get_local $3 + if (result i64) + get_local $4 + else + get_local $4 + call $~lib/polyfills/bswap + end + i64.store offset=8 + end + block $~lib/dataview/DataView#getUint64|inlined.3 (result i64) + get_global $std/dataview/view + set_local $3 + i32.const 0 + set_local $2 + i32.const 0 + set_local $0 + get_local $3 + i32.load + get_local $3 + i32.load offset=4 + i32.add + get_local $2 + i32.add + i64.load offset=8 + set_local $4 + get_local $0 + if (result i64) + get_local $4 + else + get_local $4 + call $~lib/polyfills/bswap + end + end + i64.const -7123186897289856329 + i64.eq + i32.eqz + if + i32.const 0 + i32.const 176 + i32.const 163 + i32.const 0 + call $~lib/env/abort + unreachable + end + ) + (func $null (; 16 ;) (type $v) + ) +)