; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_compiled_3)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }
%struct.wasm_rt_funcref_t = type { ptr, ptr, ptr }

@w2c_hermes_t1 = external constant ptr, align 8

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) #3

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @func_types_eq(ptr noundef, ptr noundef) #3

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) #1

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ATwineChar160x3A0x3Aconcat0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x290x20const(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1

declare i32 @w2c_hermes_snprintf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3AthrowExcessiveCapacityError0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) #5 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.w2c_hermes, ptr %17, i32 0, i32 3
  %19 = load i32, ptr %18, align 8, !tbaa !11
  store i32 %19, ptr %11, align 4, !tbaa !9
  store i32 304, ptr %12, align 4, !tbaa !9
  %20 = load i32, ptr %12, align 4, !tbaa !9
  %21 = load i32, ptr %11, align 4, !tbaa !9
  %22 = sub i32 %21, %20
  store i32 %22, ptr %11, align 4, !tbaa !9
  %23 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %23, ptr %7, align 4, !tbaa !9
  %24 = load i32, ptr %11, align 4, !tbaa !9
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.w2c_hermes, ptr %25, i32 0, i32 3
  store i32 %24, ptr %26, align 8, !tbaa !11
  %27 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %27, ptr %11, align 4, !tbaa !9
  store i32 1027068, ptr %12, align 4, !tbaa !9
  %28 = load i32, ptr %11, align 4, !tbaa !9
  %29 = load i32, ptr %12, align 4, !tbaa !9
  %30 = icmp ule i32 %28, %29
  %31 = zext i1 %30 to i32
  store i32 %31, ptr %11, align 4, !tbaa !9
  %32 = load i32, ptr %11, align 4, !tbaa !9
  %33 = icmp ne i32 %32, 0
  br i1 %33, label %34, label %52

34:                                               ; preds = %3
  store i32 0, ptr %11, align 4, !tbaa !9
  %35 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %35, ptr %7, align 4, !tbaa !9
  store i32 163211, ptr %12, align 4, !tbaa !9
  %36 = load i32, ptr %12, align 4, !tbaa !9
  %37 = load i32, ptr %11, align 4, !tbaa !9
  %38 = add i32 %37, %36
  store i32 %38, ptr %11, align 4, !tbaa !9
  %39 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %39, ptr %12, align 4, !tbaa !9
  store i32 61343, ptr %13, align 4, !tbaa !9
  %40 = load i32, ptr %13, align 4, !tbaa !9
  %41 = load i32, ptr %12, align 4, !tbaa !9
  %42 = add i32 %41, %40
  store i32 %42, ptr %12, align 4, !tbaa !9
  store i32 225, ptr %13, align 4, !tbaa !9
  %43 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %43, ptr %14, align 4, !tbaa !9
  store i32 48764, ptr %15, align 4, !tbaa !9
  %44 = load i32, ptr %15, align 4, !tbaa !9
  %45 = load i32, ptr %14, align 4, !tbaa !9
  %46 = add i32 %45, %44
  store i32 %46, ptr %14, align 4, !tbaa !9
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = load i32, ptr %11, align 4, !tbaa !9
  %49 = load i32, ptr %12, align 4, !tbaa !9
  %50 = load i32, ptr %13, align 4, !tbaa !9
  %51 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef %50, i32 noundef %51)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

52:                                               ; preds = %3
  %53 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %53, ptr %11, align 4, !tbaa !9
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.w2c_hermes, ptr %54, i32 0, i32 6
  %56 = load i32, ptr %11, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = add i64 %57, 5640
  %59 = call i32 @i32_load(ptr noundef %55, i64 noundef %58)
  store i32 %59, ptr %11, align 4, !tbaa !9
  %60 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %60, ptr %9, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  store i32 20521, ptr %13, align 4, !tbaa !9
  %61 = load i32, ptr %13, align 4, !tbaa !9
  %62 = load i32, ptr %12, align 4, !tbaa !9
  %63 = add i32 %62, %61
  store i32 %63, ptr %12, align 4, !tbaa !9
  %64 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %64, ptr %13, align 4, !tbaa !9
  store i32 111380, ptr %14, align 4, !tbaa !9
  %65 = load i32, ptr %14, align 4, !tbaa !9
  %66 = load i32, ptr %13, align 4, !tbaa !9
  %67 = add i32 %66, %65
  store i32 %67, ptr %13, align 4, !tbaa !9
  %68 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %68, ptr %14, align 4, !tbaa !9
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.w2c_hermes, ptr %69, i32 0, i32 6
  %71 = load i32, ptr %14, align 4, !tbaa !9
  %72 = zext i32 %71 to i64
  %73 = call i32 @i32_load(ptr noundef %70, i64 noundef %72)
  store i32 %73, ptr %14, align 4, !tbaa !9
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.w2c_hermes, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %14, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = add i64 %77, 8
  %79 = call i32 @i32_load(ptr noundef %75, i64 noundef %78)
  store i32 %79, ptr %14, align 4, !tbaa !9
  %80 = load i32, ptr %14, align 4, !tbaa !9
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.w2c_hermes, ptr %81, i32 0, i32 7
  %83 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %82, i32 0, i32 2
  %84 = load i32, ptr %83, align 4, !tbaa !17
  %85 = icmp ult i32 %80, %84
  br i1 %85, label %86, label %109

86:                                               ; preds = %52
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.w2c_hermes, ptr %87, i32 0, i32 7
  %89 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %88, i32 0, i32 0
  %90 = load ptr, ptr %89, align 8, !tbaa !18
  %91 = load i32, ptr %14, align 4, !tbaa !9
  %92 = zext i32 %91 to i64
  %93 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %90, i64 %92
  %94 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %93, i32 0, i32 1
  %95 = load ptr, ptr %94, align 8, !tbaa !19
  %96 = icmp ne ptr %95, null
  br i1 %96, label %97, label %109

97:                                               ; preds = %86
  %98 = load ptr, ptr @w2c_hermes_t1, align 8, !tbaa !5
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.w2c_hermes, ptr %99, i32 0, i32 7
  %101 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %100, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8, !tbaa !18
  %103 = load i32, ptr %14, align 4, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %102, i64 %104
  %106 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %105, i32 0, i32 0
  %107 = load ptr, ptr %106, align 8, !tbaa !21
  %108 = call zeroext i1 @func_types_eq(ptr noundef %98, ptr noundef %107)
  br label %109

109:                                              ; preds = %97, %86, %52
  %110 = phi i1 [ false, %86 ], [ false, %52 ], [ %108, %97 ]
  %111 = xor i1 %110, true
  %112 = xor i1 %111, true
  %113 = zext i1 %112 to i32
  %114 = sext i32 %113 to i64
  %115 = call i64 @llvm.expect.i64(i64 %114, i64 1)
  %116 = icmp ne i64 %115, 0
  br i1 %116, label %119, label %117

117:                                              ; preds = %109
  call void @wasm_rt_trap(i32 noundef 6) #7
  unreachable

118:                                              ; No predecessors!
  br label %119

119:                                              ; preds = %118, %109
  %120 = phi i1 [ true, %109 ], [ false, %118 ]
  %121 = zext i1 %120 to i32
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.w2c_hermes, ptr %122, i32 0, i32 7
  %124 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %123, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8, !tbaa !18
  %126 = load i32, ptr %14, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %125, i64 %127
  %129 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %128, i32 0, i32 1
  %130 = load ptr, ptr %129, align 8, !tbaa !19
  %131 = load ptr, ptr %4, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.w2c_hermes, ptr %131, i32 0, i32 7
  %133 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %132, i32 0, i32 0
  %134 = load ptr, ptr %133, align 8, !tbaa !18
  %135 = load i32, ptr %14, align 4, !tbaa !9
  %136 = zext i32 %135 to i64
  %137 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %134, i64 %136
  %138 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %137, i32 0, i32 2
  %139 = load ptr, ptr %138, align 8, !tbaa !22
  %140 = load i32, ptr %11, align 4, !tbaa !9
  %141 = load i32, ptr %12, align 4, !tbaa !9
  %142 = load i32, ptr %13, align 4, !tbaa !9
  call void %130(ptr noundef %139, i32 noundef %140, i32 noundef %141, i32 noundef %142)
  %143 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %143, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %144 = load ptr, ptr %4, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.w2c_hermes, ptr %144, i32 0, i32 6
  %146 = load i32, ptr %11, align 4, !tbaa !9
  %147 = zext i32 %146 to i64
  %148 = add i64 %147, 176
  %149 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %145, i64 noundef %148, i32 noundef %149)
  %150 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %150, ptr %11, align 4, !tbaa !9
  store i64 326417514497, ptr %16, align 8, !tbaa !23
  %151 = load ptr, ptr %4, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.w2c_hermes, ptr %151, i32 0, i32 6
  %153 = load i32, ptr %11, align 4, !tbaa !9
  %154 = zext i32 %153 to i64
  %155 = add i64 %154, 168
  %156 = load i64, ptr %16, align 8, !tbaa !23
  call void @i64_store(ptr noundef %152, i64 noundef %155, i64 noundef %156)
  %157 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %157, ptr %11, align 4, !tbaa !9
  store i32 3, ptr %12, align 4, !tbaa !9
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.w2c_hermes, ptr %158, i32 0, i32 6
  %160 = load i32, ptr %11, align 4, !tbaa !9
  %161 = zext i32 %160 to i64
  %162 = add i64 %161, 152
  %163 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %159, i64 noundef %162, i32 noundef %163)
  %164 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %164, ptr %11, align 4, !tbaa !9
  %165 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %165, ptr %12, align 4, !tbaa !9
  store i32 210437, ptr %13, align 4, !tbaa !9
  %166 = load i32, ptr %13, align 4, !tbaa !9
  %167 = load i32, ptr %12, align 4, !tbaa !9
  %168 = add i32 %167, %166
  store i32 %168, ptr %12, align 4, !tbaa !9
  %169 = load ptr, ptr %4, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.w2c_hermes, ptr %169, i32 0, i32 6
  %171 = load i32, ptr %11, align 4, !tbaa !9
  %172 = zext i32 %171 to i64
  %173 = add i64 %172, 144
  %174 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %170, i64 noundef %173, i32 noundef %174)
  %175 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %175, ptr %11, align 4, !tbaa !9
  %176 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %176, ptr %12, align 4, !tbaa !9
  %177 = load ptr, ptr %4, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.w2c_hermes, ptr %177, i32 0, i32 6
  %179 = load i32, ptr %11, align 4, !tbaa !9
  %180 = zext i32 %179 to i64
  %181 = add i64 %180, 16
  %182 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %178, i64 noundef %181, i32 noundef %182)
  %183 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %183, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %184 = load ptr, ptr %4, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.w2c_hermes, ptr %184, i32 0, i32 6
  %186 = load i32, ptr %11, align 4, !tbaa !9
  %187 = zext i32 %186 to i64
  %188 = add i64 %187, 136
  %189 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %185, i64 noundef %188, i32 noundef %189)
  %190 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %190, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %191 = load ptr, ptr %4, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.w2c_hermes, ptr %191, i32 0, i32 6
  %193 = load i32, ptr %11, align 4, !tbaa !9
  %194 = zext i32 %193 to i64
  %195 = add i64 %194, 128
  %196 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %192, i64 noundef %195, i32 noundef %196)
  %197 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %197, ptr %11, align 4, !tbaa !9
  store i32 7, ptr %12, align 4, !tbaa !9
  %198 = load ptr, ptr %4, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.w2c_hermes, ptr %198, i32 0, i32 6
  %200 = load i32, ptr %11, align 4, !tbaa !9
  %201 = zext i32 %200 to i64
  %202 = add i64 %201, 112
  %203 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %199, i64 noundef %202, i32 noundef %203)
  store i32 0, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %204 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %204, ptr %13, align 4, !tbaa !9
  store i32 21810, ptr %14, align 4, !tbaa !9
  %205 = load i32, ptr %14, align 4, !tbaa !9
  %206 = load i32, ptr %13, align 4, !tbaa !9
  %207 = add i32 %206, %205
  store i32 %207, ptr %13, align 4, !tbaa !9
  %208 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %208, ptr %9, align 4, !tbaa !9
  %209 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %209, ptr %14, align 4, !tbaa !9
  store i32 16, ptr %15, align 4, !tbaa !9
  %210 = load i32, ptr %15, align 4, !tbaa !9
  %211 = load i32, ptr %14, align 4, !tbaa !9
  %212 = add i32 %211, %210
  store i32 %212, ptr %14, align 4, !tbaa !9
  %213 = load ptr, ptr %4, align 8, !tbaa !5
  %214 = load i32, ptr %11, align 4, !tbaa !9
  %215 = load i32, ptr %12, align 4, !tbaa !9
  %216 = load i32, ptr %13, align 4, !tbaa !9
  %217 = load i32, ptr %14, align 4, !tbaa !9
  %218 = call i32 @w2c_hermes_snprintf(ptr noundef %213, i32 noundef %214, i32 noundef %215, i32 noundef %216, i32 noundef %217)
  store i32 %218, ptr %11, align 4, !tbaa !9
  %219 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %219, ptr %10, align 4, !tbaa !9
  %220 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %220, ptr %11, align 4, !tbaa !9
  %221 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %221, ptr %12, align 4, !tbaa !9
  %222 = load ptr, ptr %4, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.w2c_hermes, ptr %222, i32 0, i32 6
  %224 = load i32, ptr %11, align 4, !tbaa !9
  %225 = zext i32 %224 to i64
  %226 = add i64 %225, 104
  %227 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %223, i64 noundef %226, i32 noundef %227)
  %228 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %228, ptr %11, align 4, !tbaa !9
  %229 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %229, ptr %12, align 4, !tbaa !9
  %230 = load ptr, ptr %4, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.w2c_hermes, ptr %230, i32 0, i32 6
  %232 = load i32, ptr %11, align 4, !tbaa !9
  %233 = zext i32 %232 to i64
  %234 = add i64 %233, 132
  %235 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %231, i64 noundef %234, i32 noundef %235)
  %236 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %236, ptr %11, align 4, !tbaa !9
  store i32 184, ptr %12, align 4, !tbaa !9
  %237 = load i32, ptr %12, align 4, !tbaa !9
  %238 = load i32, ptr %11, align 4, !tbaa !9
  %239 = add i32 %238, %237
  store i32 %239, ptr %11, align 4, !tbaa !9
  %240 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %240, ptr %12, align 4, !tbaa !9
  store i32 144, ptr %13, align 4, !tbaa !9
  %241 = load i32, ptr %13, align 4, !tbaa !9
  %242 = load i32, ptr %12, align 4, !tbaa !9
  %243 = add i32 %242, %241
  store i32 %243, ptr %12, align 4, !tbaa !9
  %244 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %244, ptr %13, align 4, !tbaa !9
  store i32 104, ptr %14, align 4, !tbaa !9
  %245 = load i32, ptr %14, align 4, !tbaa !9
  %246 = load i32, ptr %13, align 4, !tbaa !9
  %247 = add i32 %246, %245
  store i32 %247, ptr %13, align 4, !tbaa !9
  %248 = load ptr, ptr %4, align 8, !tbaa !5
  %249 = load i32, ptr %11, align 4, !tbaa !9
  %250 = load i32, ptr %12, align 4, !tbaa !9
  %251 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ATwineChar160x3A0x3Aconcat0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x290x20const(ptr noundef %248, i32 noundef %249, i32 noundef %250, i32 noundef %251)
  %252 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %252, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %253 = load ptr, ptr %4, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.w2c_hermes, ptr %253, i32 0, i32 6
  %255 = load i32, ptr %11, align 4, !tbaa !9
  %256 = zext i32 %255 to i64
  %257 = add i64 %256, 96
  %258 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %254, i64 noundef %257, i32 noundef %258)
  %259 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %259, ptr %11, align 4, !tbaa !9
  store i64 73014444033, ptr %16, align 8, !tbaa !23
  %260 = load ptr, ptr %4, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.w2c_hermes, ptr %260, i32 0, i32 6
  %262 = load i32, ptr %11, align 4, !tbaa !9
  %263 = zext i32 %262 to i64
  %264 = add i64 %263, 88
  %265 = load i64, ptr %16, align 8, !tbaa !23
  call void @i64_store(ptr noundef %261, i64 noundef %264, i64 noundef %265)
  %266 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %266, ptr %11, align 4, !tbaa !9
  store i32 3, ptr %12, align 4, !tbaa !9
  %267 = load ptr, ptr %4, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.w2c_hermes, ptr %267, i32 0, i32 6
  %269 = load i32, ptr %11, align 4, !tbaa !9
  %270 = zext i32 %269 to i64
  %271 = add i64 %270, 72
  %272 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %268, i64 noundef %271, i32 noundef %272)
  %273 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %273, ptr %11, align 4, !tbaa !9
  %274 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %274, ptr %12, align 4, !tbaa !9
  store i32 210419, ptr %13, align 4, !tbaa !9
  %275 = load i32, ptr %13, align 4, !tbaa !9
  %276 = load i32, ptr %12, align 4, !tbaa !9
  %277 = add i32 %276, %275
  store i32 %277, ptr %12, align 4, !tbaa !9
  %278 = load ptr, ptr %4, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.w2c_hermes, ptr %278, i32 0, i32 6
  %280 = load i32, ptr %11, align 4, !tbaa !9
  %281 = zext i32 %280 to i64
  %282 = add i64 %281, 64
  %283 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %279, i64 noundef %282, i32 noundef %283)
  %284 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %284, ptr %11, align 4, !tbaa !9
  store i32 224, ptr %12, align 4, !tbaa !9
  %285 = load i32, ptr %12, align 4, !tbaa !9
  %286 = load i32, ptr %11, align 4, !tbaa !9
  %287 = add i32 %286, %285
  store i32 %287, ptr %11, align 4, !tbaa !9
  %288 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %288, ptr %12, align 4, !tbaa !9
  store i32 184, ptr %13, align 4, !tbaa !9
  %289 = load i32, ptr %13, align 4, !tbaa !9
  %290 = load i32, ptr %12, align 4, !tbaa !9
  %291 = add i32 %290, %289
  store i32 %291, ptr %12, align 4, !tbaa !9
  %292 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %292, ptr %13, align 4, !tbaa !9
  store i32 -64, ptr %14, align 4, !tbaa !9
  %293 = load i32, ptr %14, align 4, !tbaa !9
  %294 = load i32, ptr %13, align 4, !tbaa !9
  %295 = sub i32 %294, %293
  store i32 %295, ptr %13, align 4, !tbaa !9
  %296 = load ptr, ptr %4, align 8, !tbaa !5
  %297 = load i32, ptr %11, align 4, !tbaa !9
  %298 = load i32, ptr %12, align 4, !tbaa !9
  %299 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ATwineChar160x3A0x3Aconcat0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x290x20const(ptr noundef %296, i32 noundef %297, i32 noundef %298, i32 noundef %299)
  %300 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %300, ptr %11, align 4, !tbaa !9
  store i32 1027068, ptr %12, align 4, !tbaa !9
  %301 = load ptr, ptr %4, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.w2c_hermes, ptr %301, i32 0, i32 6
  %303 = load i32, ptr %11, align 4, !tbaa !9
  %304 = zext i32 %303 to i64
  %305 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %302, i64 noundef %304, i32 noundef %305)
  %306 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %306, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %307 = load ptr, ptr %4, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.w2c_hermes, ptr %307, i32 0, i32 6
  %309 = load i32, ptr %11, align 4, !tbaa !9
  %310 = zext i32 %309 to i64
  %311 = add i64 %310, 56
  %312 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %308, i64 noundef %311, i32 noundef %312)
  %313 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %313, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %314 = load ptr, ptr %4, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.w2c_hermes, ptr %314, i32 0, i32 6
  %316 = load i32, ptr %11, align 4, !tbaa !9
  %317 = zext i32 %316 to i64
  %318 = add i64 %317, 48
  %319 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %315, i64 noundef %318, i32 noundef %319)
  %320 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %320, ptr %11, align 4, !tbaa !9
  store i32 7, ptr %12, align 4, !tbaa !9
  %321 = load ptr, ptr %4, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.w2c_hermes, ptr %321, i32 0, i32 6
  %323 = load i32, ptr %11, align 4, !tbaa !9
  %324 = zext i32 %323 to i64
  %325 = add i64 %324, 32
  %326 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %322, i64 noundef %325, i32 noundef %326)
  store i32 0, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %327 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %327, ptr %13, align 4, !tbaa !9
  %328 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %328, ptr %14, align 4, !tbaa !9
  %329 = load ptr, ptr %4, align 8, !tbaa !5
  %330 = load i32, ptr %11, align 4, !tbaa !9
  %331 = load i32, ptr %12, align 4, !tbaa !9
  %332 = load i32, ptr %13, align 4, !tbaa !9
  %333 = load i32, ptr %14, align 4, !tbaa !9
  %334 = call i32 @w2c_hermes_snprintf(ptr noundef %329, i32 noundef %330, i32 noundef %331, i32 noundef %332, i32 noundef %333)
  store i32 %334, ptr %11, align 4, !tbaa !9
  %335 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %335, ptr %8, align 4, !tbaa !9
  %336 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %336, ptr %11, align 4, !tbaa !9
  store i32 1027068, ptr %12, align 4, !tbaa !9
  %337 = load ptr, ptr %4, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.w2c_hermes, ptr %337, i32 0, i32 6
  %339 = load i32, ptr %11, align 4, !tbaa !9
  %340 = zext i32 %339 to i64
  %341 = add i64 %340, 24
  %342 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %338, i64 noundef %341, i32 noundef %342)
  %343 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %343, ptr %11, align 4, !tbaa !9
  %344 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %344, ptr %12, align 4, !tbaa !9
  %345 = load ptr, ptr %4, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.w2c_hermes, ptr %345, i32 0, i32 6
  %347 = load i32, ptr %11, align 4, !tbaa !9
  %348 = zext i32 %347 to i64
  %349 = add i64 %348, 52
  %350 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %346, i64 noundef %349, i32 noundef %350)
  %351 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %351, ptr %11, align 4, !tbaa !9
  store i32 264, ptr %12, align 4, !tbaa !9
  %352 = load i32, ptr %12, align 4, !tbaa !9
  %353 = load i32, ptr %11, align 4, !tbaa !9
  %354 = add i32 %353, %352
  store i32 %354, ptr %11, align 4, !tbaa !9
  %355 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %355, ptr %12, align 4, !tbaa !9
  store i32 224, ptr %13, align 4, !tbaa !9
  %356 = load i32, ptr %13, align 4, !tbaa !9
  %357 = load i32, ptr %12, align 4, !tbaa !9
  %358 = add i32 %357, %356
  store i32 %358, ptr %12, align 4, !tbaa !9
  %359 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %359, ptr %13, align 4, !tbaa !9
  store i32 24, ptr %14, align 4, !tbaa !9
  %360 = load i32, ptr %14, align 4, !tbaa !9
  %361 = load i32, ptr %13, align 4, !tbaa !9
  %362 = add i32 %361, %360
  store i32 %362, ptr %13, align 4, !tbaa !9
  %363 = load ptr, ptr %4, align 8, !tbaa !5
  %364 = load i32, ptr %11, align 4, !tbaa !9
  %365 = load i32, ptr %12, align 4, !tbaa !9
  %366 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ATwineChar160x3A0x3Aconcat0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x290x20const(ptr noundef %363, i32 noundef %364, i32 noundef %365, i32 noundef %366)
  %367 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %367, ptr %11, align 4, !tbaa !9
  %368 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %368, ptr %12, align 4, !tbaa !9
  store i32 264, ptr %13, align 4, !tbaa !9
  %369 = load i32, ptr %13, align 4, !tbaa !9
  %370 = load i32, ptr %12, align 4, !tbaa !9
  %371 = add i32 %370, %369
  store i32 %371, ptr %12, align 4, !tbaa !9
  %372 = load ptr, ptr %4, align 8, !tbaa !5
  %373 = load i32, ptr %11, align 4, !tbaa !9
  %374 = load i32, ptr %12, align 4, !tbaa !9
  %375 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %372, i32 noundef %373, i32 noundef %374)
  store i32 %375, ptr %11, align 4, !tbaa !9
  %376 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %376, ptr %8, align 4, !tbaa !9
  %377 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %377, ptr %11, align 4, !tbaa !9
  store i32 304, ptr %12, align 4, !tbaa !9
  %378 = load i32, ptr %12, align 4, !tbaa !9
  %379 = load i32, ptr %11, align 4, !tbaa !9
  %380 = add i32 %379, %378
  store i32 %380, ptr %11, align 4, !tbaa !9
  %381 = load i32, ptr %11, align 4, !tbaa !9
  %382 = load ptr, ptr %4, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.w2c_hermes, ptr %382, i32 0, i32 3
  store i32 %381, ptr %383, align 8, !tbaa !11
  %384 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %384, ptr %11, align 4, !tbaa !9
  %385 = load i32, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  ret i32 %385
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #5 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 24}
!12 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !16, i64 80}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}
!17 = !{!12, !10, i64 92}
!18 = !{!12, !6, i64 80}
!19 = !{!20, !6, i64 8}
!20 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!20, !6, i64 0}
!22 = !{!20, !6, i64 16}
!23 = !{!14, !14, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.wasm_rt_funcref_t = type { ptr, ptr, ptr }

@w2c_hermes_t1 = external local_unnamed_addr constant ptr, align 8

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @func_types_eq(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ATwineChar160x3A0x3Aconcat0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x290x20const(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare i32 @w2c_hermes_snprintf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3AthrowExcessiveCapacityError0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #3 {
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = add i32 %5, -304
  store i32 %6, ptr %4, align 8, !tbaa !5
  %7 = icmp ult i32 %2, 1027069
  br i1 %7, label %8, label %9

8:                                                ; preds = %3
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 163211, i32 noundef 61343, i32 noundef 225, i32 noundef 48764) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

9:                                                ; preds = %3
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = zext i32 %1 to i64
  %12 = add nuw nsw i64 %11, 5640
  %13 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %12)
  %14 = zext i32 %13 to i64
  %15 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %14)
  %16 = zext i32 %15 to i64
  %17 = add nuw nsw i64 %16, 8
  %18 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %17)
  %19 = getelementptr inbounds i8, ptr %0, i64 80
  %20 = getelementptr inbounds i8, ptr %0, i64 92
  %21 = load i32, ptr %20, align 4, !tbaa !15
  %22 = icmp ult i32 %18, %21
  br i1 %22, label %23, label %.critedge, !prof !16

23:                                               ; preds = %9
  %24 = load ptr, ptr %19, align 8, !tbaa !17
  %25 = zext i32 %18 to i64
  %26 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %24, i64 %25
  %27 = getelementptr inbounds i8, ptr %26, i64 8
  %28 = load ptr, ptr %27, align 8, !tbaa !18
  %.not = icmp eq ptr %28, null
  br i1 %.not, label %.critedge, label %29, !prof !20

29:                                               ; preds = %23
  %30 = load ptr, ptr @w2c_hermes_t1, align 8, !tbaa !21
  %31 = load ptr, ptr %26, align 8, !tbaa !22
  %32 = tail call zeroext i1 @func_types_eq(ptr noundef %30, ptr noundef %31)
  br i1 %32, label %33, label %.critedge, !prof !16

.critedge:                                        ; preds = %23, %9, %29
  tail call void @wasm_rt_trap(i32 noundef 6) #5
  unreachable

33:                                               ; preds = %29
  %34 = load ptr, ptr %19, align 8, !tbaa !17
  %35 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %34, i64 %25
  %36 = getelementptr inbounds i8, ptr %35, i64 8
  %37 = load ptr, ptr %36, align 8, !tbaa !18
  %38 = getelementptr inbounds i8, ptr %35, i64 16
  %39 = load ptr, ptr %38, align 8, !tbaa !23
  tail call void %37(ptr noundef %39, i32 noundef %13, i32 noundef 20521, i32 noundef 111380) #4
  %40 = zext i32 %6 to i64
  %41 = add nuw nsw i64 %40, 176
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %41, i32 noundef 0)
  %42 = add nuw nsw i64 %40, 168
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %42, i64 noundef 326417514497)
  %43 = add nuw nsw i64 %40, 152
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %43, i32 noundef 3)
  %44 = add nuw nsw i64 %40, 144
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %44, i32 noundef 210437)
  %45 = add nuw nsw i64 %40, 16
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %45, i32 noundef %2)
  %46 = add nuw nsw i64 %40, 136
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %46, i32 noundef 0)
  %47 = add nuw nsw i64 %40, 128
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %47, i32 noundef 1)
  %48 = add nuw nsw i64 %40, 112
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %48, i32 noundef 7)
  %49 = add i32 %5, -288
  %50 = tail call i32 @w2c_hermes_snprintf(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 0, i32 noundef 21810, i32 noundef %49) #4
  %51 = add nuw nsw i64 %40, 104
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %51, i32 noundef %2)
  %52 = add nuw nsw i64 %40, 132
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %52, i32 noundef %50)
  %53 = add i32 %5, -120
  %54 = add i32 %5, -160
  %55 = add i32 %5, -200
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ATwineChar160x3A0x3Aconcat0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x290x20const(ptr noundef nonnull %0, i32 noundef %53, i32 noundef %54, i32 noundef %55) #4
  %56 = add nuw nsw i64 %40, 96
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %56, i32 noundef 0)
  %57 = add nuw nsw i64 %40, 88
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %57, i64 noundef 73014444033)
  %58 = add nuw nsw i64 %40, 72
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %58, i32 noundef 3)
  %59 = add nuw nsw i64 %40, 64
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %59, i32 noundef 210419)
  %60 = add i32 %5, -80
  %61 = add i32 %5, -240
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ATwineChar160x3A0x3Aconcat0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x290x20const(ptr noundef nonnull %0, i32 noundef %60, i32 noundef %53, i32 noundef %61) #4
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %40, i32 noundef 1027068)
  %62 = add nuw nsw i64 %40, 56
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %62, i32 noundef 0)
  %63 = add nuw nsw i64 %40, 48
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %63, i32 noundef 1)
  %64 = add nuw nsw i64 %40, 32
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %64, i32 noundef 7)
  %65 = tail call i32 @w2c_hermes_snprintf(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 0, i32 noundef 21810, i32 noundef %6) #4
  %66 = add nuw nsw i64 %40, 24
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %66, i32 noundef 1027068)
  %67 = add nuw nsw i64 %40, 52
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %67, i32 noundef %65)
  %68 = add i32 %5, -40
  %69 = add i32 %5, -280
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ATwineChar160x3A0x3Aconcat0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x290x20const(ptr noundef nonnull %0, i32 noundef %68, i32 noundef %60, i32 noundef %69) #4
  %70 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %68) #4
  store i32 %5, ptr %4, align 8, !tbaa !5
  ret i32 %70
}

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}
!15 = !{!6, !10, i64 92}
!16 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!17 = !{!6, !7, i64 80}
!18 = !{!19, !7, i64 8}
!19 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16}
!20 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!21 = !{!7, !7, i64 0}
!22 = !{!19, !7, i64 0}
!23 = !{!19, !7, i64 16}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,LowerExpectIntrinsicPass,SROAPass,SimplifyCFGPass,TailCallElimPass