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

; 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_t3 = 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: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) #1

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

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

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

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

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

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

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

declare i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef, i32 noundef) #4

declare void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fshared_weak_count0x3A0x3A_0x5Frelease_weak0x280x29(ptr noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3ASourceMapTranslator0x3A0x3AaddSourceMap0x28unsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aunique_ptr0x3Chermes0x3A0x3ASourceMap0x2C0x20std0x3A0x3A_0x5F20x3A0x3Adefault_delete0x3Chermes0x3A0x3ASourceMap0x3E0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #5 {
  %5 = alloca ptr, align 8
  %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 i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, 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
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.w2c_hermes, ptr %23, i32 0, i32 3
  %25 = load i32, ptr %24, align 8, !tbaa !11
  store i32 %25, ptr %17, align 4, !tbaa !9
  store i32 16, ptr %18, align 4, !tbaa !9
  %26 = load i32, ptr %18, align 4, !tbaa !9
  %27 = load i32, ptr %17, align 4, !tbaa !9
  %28 = sub i32 %27, %26
  store i32 %28, ptr %17, align 4, !tbaa !9
  %29 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %29, ptr %11, align 4, !tbaa !9
  %30 = load i32, ptr %17, align 4, !tbaa !9
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.w2c_hermes, ptr %31, i32 0, i32 3
  store i32 %30, ptr %32, align 8, !tbaa !11
  %33 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %33, ptr %17, align 4, !tbaa !9
  %34 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %34, ptr %18, align 4, !tbaa !9
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.w2c_hermes, ptr %35, i32 0, i32 6
  %37 = load i32, ptr %17, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = add i64 %38, 12
  %40 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %36, i64 noundef %39, i32 noundef %40)
  %41 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %41, ptr %17, align 4, !tbaa !9
  %42 = load i32, ptr %17, align 4, !tbaa !9
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %44, label %373

44:                                               ; preds = %4
  %45 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %45, ptr %17, align 4, !tbaa !9
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.w2c_hermes, ptr %46, i32 0, i32 6
  %48 = load i32, ptr %17, align 4, !tbaa !9
  %49 = zext i32 %48 to i64
  %50 = add i64 %49, 4
  %51 = call i32 @i32_load(ptr noundef %47, i64 noundef %50)
  store i32 %51, ptr %17, align 4, !tbaa !9
  %52 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %52, ptr %10, align 4, !tbaa !9
  %53 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %53, ptr %17, align 4, !tbaa !9
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.w2c_hermes, ptr %54, i32 0, i32 6
  %56 = load i32, ptr %17, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = add i64 %57, 16
  %59 = call i32 @i32_load(ptr noundef %55, i64 noundef %58)
  store i32 %59, ptr %17, align 4, !tbaa !9
  %60 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %60, ptr %12, align 4, !tbaa !9
  %61 = load i32, ptr %17, align 4, !tbaa !9
  %62 = icmp ne i32 %61, 0
  %63 = xor i1 %62, true
  %64 = zext i1 %63 to i32
  store i32 %64, ptr %17, align 4, !tbaa !9
  %65 = load i32, ptr %17, align 4, !tbaa !9
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %67, label %68

67:                                               ; preds = %44
  br label %165

68:                                               ; preds = %44
  %69 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %69, ptr %17, align 4, !tbaa !9
  store i32 -2, ptr %18, align 4, !tbaa !9
  %70 = load i32, ptr %17, align 4, !tbaa !9
  %71 = load i32, ptr %18, align 4, !tbaa !9
  %72 = icmp uge i32 %70, %71
  %73 = zext i1 %72 to i32
  store i32 %73, ptr %17, align 4, !tbaa !9
  %74 = load i32, ptr %17, align 4, !tbaa !9
  %75 = icmp ne i32 %74, 0
  br i1 %75, label %76, label %77

76:                                               ; preds = %68
  br label %391

77:                                               ; preds = %68
  %78 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %78, ptr %17, align 4, !tbaa !9
  %79 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %79, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %80 = load i32, ptr %19, align 4, !tbaa !9
  %81 = load i32, ptr %18, align 4, !tbaa !9
  %82 = sub i32 %81, %80
  store i32 %82, ptr %18, align 4, !tbaa !9
  %83 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %83, ptr %16, align 4, !tbaa !9
  %84 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %84, ptr %19, align 4, !tbaa !9
  store i32 37, ptr %20, align 4, !tbaa !9
  %85 = load i32, ptr %20, align 4, !tbaa !9
  %86 = load i32, ptr %19, align 4, !tbaa !9
  %87 = mul i32 %86, %85
  store i32 %87, ptr %19, align 4, !tbaa !9
  %88 = load i32, ptr %19, align 4, !tbaa !9
  %89 = load i32, ptr %18, align 4, !tbaa !9
  %90 = and i32 %89, %88
  store i32 %90, ptr %18, align 4, !tbaa !9
  %91 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %91, ptr %14, align 4, !tbaa !9
  store i32 12, ptr %19, align 4, !tbaa !9
  %92 = load i32, ptr %19, align 4, !tbaa !9
  %93 = load i32, ptr %18, align 4, !tbaa !9
  %94 = mul i32 %93, %92
  store i32 %94, ptr %18, align 4, !tbaa !9
  %95 = load i32, ptr %18, align 4, !tbaa !9
  %96 = load i32, ptr %17, align 4, !tbaa !9
  %97 = add i32 %96, %95
  store i32 %97, ptr %17, align 4, !tbaa !9
  %98 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %98, ptr %9, align 4, !tbaa !9
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.w2c_hermes, ptr %99, i32 0, i32 6
  %101 = load i32, ptr %17, align 4, !tbaa !9
  %102 = zext i32 %101 to i64
  %103 = call i32 @i32_load(ptr noundef %100, i64 noundef %102)
  store i32 %103, ptr %17, align 4, !tbaa !9
  %104 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %104, ptr %15, align 4, !tbaa !9
  %105 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %105, ptr %18, align 4, !tbaa !9
  %106 = load i32, ptr %17, align 4, !tbaa !9
  %107 = load i32, ptr %18, align 4, !tbaa !9
  %108 = icmp eq i32 %106, %107
  %109 = zext i1 %108 to i32
  store i32 %109, ptr %17, align 4, !tbaa !9
  %110 = load i32, ptr %17, align 4, !tbaa !9
  %111 = icmp ne i32 %110, 0
  br i1 %111, label %112, label %113

112:                                              ; preds = %77
  br label %175

113:                                              ; preds = %77
  store i32 1, ptr %17, align 4, !tbaa !9
  %114 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %114, ptr %13, align 4, !tbaa !9
  br label %115

115:                                              ; preds = %163, %113
  %116 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %116, ptr %17, align 4, !tbaa !9
  store i32 -1, ptr %18, align 4, !tbaa !9
  %117 = load i32, ptr %17, align 4, !tbaa !9
  %118 = load i32, ptr %18, align 4, !tbaa !9
  %119 = icmp eq i32 %117, %118
  %120 = zext i1 %119 to i32
  store i32 %120, ptr %17, align 4, !tbaa !9
  %121 = load i32, ptr %17, align 4, !tbaa !9
  %122 = icmp ne i32 %121, 0
  br i1 %122, label %123, label %124

123:                                              ; preds = %115
  br label %165

124:                                              ; preds = %115
  %125 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %125, ptr %17, align 4, !tbaa !9
  %126 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %126, ptr %18, align 4, !tbaa !9
  %127 = load i32, ptr %18, align 4, !tbaa !9
  %128 = load i32, ptr %17, align 4, !tbaa !9
  %129 = add i32 %128, %127
  store i32 %129, ptr %17, align 4, !tbaa !9
  %130 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %130, ptr %9, align 4, !tbaa !9
  %131 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %131, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %132 = load i32, ptr %18, align 4, !tbaa !9
  %133 = load i32, ptr %17, align 4, !tbaa !9
  %134 = add i32 %133, %132
  store i32 %134, ptr %17, align 4, !tbaa !9
  %135 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %135, ptr %13, align 4, !tbaa !9
  %136 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %136, ptr %17, align 4, !tbaa !9
  %137 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %137, ptr %18, align 4, !tbaa !9
  %138 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %138, ptr %19, align 4, !tbaa !9
  %139 = load i32, ptr %19, align 4, !tbaa !9
  %140 = load i32, ptr %18, align 4, !tbaa !9
  %141 = and i32 %140, %139
  store i32 %141, ptr %18, align 4, !tbaa !9
  %142 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %142, ptr %14, align 4, !tbaa !9
  store i32 12, ptr %19, align 4, !tbaa !9
  %143 = load i32, ptr %19, align 4, !tbaa !9
  %144 = load i32, ptr %18, align 4, !tbaa !9
  %145 = mul i32 %144, %143
  store i32 %145, ptr %18, align 4, !tbaa !9
  %146 = load i32, ptr %18, align 4, !tbaa !9
  %147 = load i32, ptr %17, align 4, !tbaa !9
  %148 = add i32 %147, %146
  store i32 %148, ptr %17, align 4, !tbaa !9
  %149 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %149, ptr %9, align 4, !tbaa !9
  %150 = load ptr, ptr %5, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.w2c_hermes, ptr %150, i32 0, i32 6
  %152 = load i32, ptr %17, align 4, !tbaa !9
  %153 = zext i32 %152 to i64
  %154 = call i32 @i32_load(ptr noundef %151, i64 noundef %153)
  store i32 %154, ptr %17, align 4, !tbaa !9
  %155 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %155, ptr %15, align 4, !tbaa !9
  %156 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %156, ptr %18, align 4, !tbaa !9
  %157 = load i32, ptr %17, align 4, !tbaa !9
  %158 = load i32, ptr %18, align 4, !tbaa !9
  %159 = icmp ne i32 %157, %158
  %160 = zext i1 %159 to i32
  store i32 %160, ptr %17, align 4, !tbaa !9
  %161 = load i32, ptr %17, align 4, !tbaa !9
  %162 = icmp ne i32 %161, 0
  br i1 %162, label %163, label %164

163:                                              ; preds = %124
  br label %115

164:                                              ; preds = %124
  br label %175

165:                                              ; preds = %123, %67
  %166 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %166, ptr %17, align 4, !tbaa !9
  %167 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %167, ptr %18, align 4, !tbaa !9
  store i32 12, ptr %19, align 4, !tbaa !9
  %168 = load i32, ptr %19, align 4, !tbaa !9
  %169 = load i32, ptr %18, align 4, !tbaa !9
  %170 = mul i32 %169, %168
  store i32 %170, ptr %18, align 4, !tbaa !9
  %171 = load i32, ptr %18, align 4, !tbaa !9
  %172 = load i32, ptr %17, align 4, !tbaa !9
  %173 = add i32 %172, %171
  store i32 %173, ptr %17, align 4, !tbaa !9
  %174 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %174, ptr %9, align 4, !tbaa !9
  br label %175

175:                                              ; preds = %165, %164, %112
  %176 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %176, ptr %17, align 4, !tbaa !9
  %177 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %177, ptr %18, align 4, !tbaa !9
  %178 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %178, ptr %19, align 4, !tbaa !9
  store i32 12, ptr %20, align 4, !tbaa !9
  %179 = load i32, ptr %20, align 4, !tbaa !9
  %180 = load i32, ptr %19, align 4, !tbaa !9
  %181 = mul i32 %180, %179
  store i32 %181, ptr %19, align 4, !tbaa !9
  %182 = load i32, ptr %19, align 4, !tbaa !9
  %183 = load i32, ptr %18, align 4, !tbaa !9
  %184 = add i32 %183, %182
  store i32 %184, ptr %18, align 4, !tbaa !9
  %185 = load i32, ptr %17, align 4, !tbaa !9
  %186 = load i32, ptr %18, align 4, !tbaa !9
  %187 = icmp ne i32 %185, %186
  %188 = zext i1 %187 to i32
  store i32 %188, ptr %17, align 4, !tbaa !9
  %189 = load i32, ptr %17, align 4, !tbaa !9
  %190 = icmp ne i32 %189, 0
  br i1 %190, label %191, label %192

191:                                              ; preds = %175
  br label %409

192:                                              ; preds = %175
  %193 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %193, ptr %17, align 4, !tbaa !9
  store i32 4, ptr %18, align 4, !tbaa !9
  %194 = load i32, ptr %18, align 4, !tbaa !9
  %195 = load i32, ptr %17, align 4, !tbaa !9
  %196 = add i32 %195, %194
  store i32 %196, ptr %17, align 4, !tbaa !9
  %197 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %197, ptr %18, align 4, !tbaa !9
  store i32 12, ptr %19, align 4, !tbaa !9
  %198 = load i32, ptr %19, align 4, !tbaa !9
  %199 = load i32, ptr %18, align 4, !tbaa !9
  %200 = add i32 %199, %198
  store i32 %200, ptr %18, align 4, !tbaa !9
  %201 = load ptr, ptr %5, align 8, !tbaa !5
  %202 = load i32, ptr %17, align 4, !tbaa !9
  %203 = load i32, ptr %18, align 4, !tbaa !9
  %204 = call i32 @w2c_hermes_llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Cunsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Ashared_ptr0x3Chermes0x3A0x3ASourceMap0x3E0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Cunsigned0x20int0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cunsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Ashared_ptr0x3Chermes0x3A0x3ASourceMap0x3E0x3E0x3E0x2C0x20unsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Ashared_ptr0x3Chermes0x3A0x3ASourceMap0x3E0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Cunsigned0x20int0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cunsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Ashared_ptr0x3Chermes0x3A0x3ASourceMap0x3E0x3E0x3E0x3A0x3AFindAndConstruct0x28unsigned0x20int0x20const0x260x29(ptr noundef %201, i32 noundef %202, i32 noundef %203)
  store i32 %204, ptr %17, align 4, !tbaa !9
  %205 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %205, ptr %7, align 4, !tbaa !9
  store i32 16, ptr %17, align 4, !tbaa !9
  %206 = load ptr, ptr %5, align 8, !tbaa !5
  %207 = load i32, ptr %17, align 4, !tbaa !9
  %208 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %206, i32 noundef %207)
  store i32 %208, ptr %17, align 4, !tbaa !9
  %209 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %209, ptr %6, align 4, !tbaa !9
  %210 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %210, ptr %18, align 4, !tbaa !9
  %211 = load ptr, ptr %5, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.w2c_hermes, ptr %211, i32 0, i32 6
  %213 = load i32, ptr %17, align 4, !tbaa !9
  %214 = zext i32 %213 to i64
  %215 = add i64 %214, 12
  %216 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %212, i64 noundef %215, i32 noundef %216)
  %217 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %217, ptr %17, align 4, !tbaa !9
  store i32 271432, ptr %18, align 4, !tbaa !9
  %218 = load ptr, ptr %5, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.w2c_hermes, ptr %218, i32 0, i32 6
  %220 = load i32, ptr %17, align 4, !tbaa !9
  %221 = zext i32 %220 to i64
  %222 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %219, i64 noundef %221, i32 noundef %222)
  %223 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %223, ptr %17, align 4, !tbaa !9
  store i64 0, ptr %22, align 8, !tbaa !17
  %224 = load ptr, ptr %5, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.w2c_hermes, ptr %224, i32 0, i32 6
  %226 = load i32, ptr %17, align 4, !tbaa !9
  %227 = zext i32 %226 to i64
  %228 = add i64 %227, 4
  %229 = load i64, ptr %22, align 8, !tbaa !17
  call void @i64_store(ptr noundef %225, i64 noundef %228, i64 noundef %229)
  %230 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %230, ptr %17, align 4, !tbaa !9
  %231 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %231, ptr %18, align 4, !tbaa !9
  %232 = load ptr, ptr %5, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.w2c_hermes, ptr %232, i32 0, i32 6
  %234 = load i32, ptr %17, align 4, !tbaa !9
  %235 = zext i32 %234 to i64
  %236 = add i64 %235, 4
  %237 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %233, i64 noundef %236, i32 noundef %237)
  %238 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %238, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %239 = load i32, ptr %18, align 4, !tbaa !9
  %240 = load i32, ptr %17, align 4, !tbaa !9
  %241 = add i32 %240, %239
  store i32 %241, ptr %17, align 4, !tbaa !9
  %242 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %242, ptr %7, align 4, !tbaa !9
  %243 = load ptr, ptr %5, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.w2c_hermes, ptr %243, i32 0, i32 6
  %245 = load i32, ptr %17, align 4, !tbaa !9
  %246 = zext i32 %245 to i64
  %247 = call i32 @i32_load(ptr noundef %244, i64 noundef %246)
  store i32 %247, ptr %17, align 4, !tbaa !9
  %248 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %248, ptr %8, align 4, !tbaa !9
  %249 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %249, ptr %17, align 4, !tbaa !9
  %250 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %250, ptr %18, align 4, !tbaa !9
  %251 = load ptr, ptr %5, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.w2c_hermes, ptr %251, i32 0, i32 6
  %253 = load i32, ptr %17, align 4, !tbaa !9
  %254 = zext i32 %253 to i64
  %255 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %252, i64 noundef %254, i32 noundef %255)
  %256 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %256, ptr %17, align 4, !tbaa !9
  %257 = load i32, ptr %17, align 4, !tbaa !9
  %258 = icmp ne i32 %257, 0
  %259 = xor i1 %258, true
  %260 = zext i1 %259 to i32
  store i32 %260, ptr %17, align 4, !tbaa !9
  %261 = load i32, ptr %17, align 4, !tbaa !9
  %262 = icmp ne i32 %261, 0
  br i1 %262, label %263, label %264

263:                                              ; preds = %192
  br label %365

264:                                              ; preds = %192
  %265 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %265, ptr %17, align 4, !tbaa !9
  %266 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %266, ptr %18, align 4, !tbaa !9
  %267 = load ptr, ptr %5, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.w2c_hermes, ptr %267, i32 0, i32 6
  %269 = load i32, ptr %18, align 4, !tbaa !9
  %270 = zext i32 %269 to i64
  %271 = add i64 %270, 4
  %272 = call i32 @i32_load(ptr noundef %268, i64 noundef %271)
  store i32 %272, ptr %18, align 4, !tbaa !9
  %273 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %273, ptr %6, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %274 = load i32, ptr %19, align 4, !tbaa !9
  %275 = load i32, ptr %18, align 4, !tbaa !9
  %276 = sub i32 %275, %274
  store i32 %276, ptr %18, align 4, !tbaa !9
  %277 = load ptr, ptr %5, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.w2c_hermes, ptr %277, i32 0, i32 6
  %279 = load i32, ptr %17, align 4, !tbaa !9
  %280 = zext i32 %279 to i64
  %281 = add i64 %280, 4
  %282 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %278, i64 noundef %281, i32 noundef %282)
  %283 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %283, ptr %17, align 4, !tbaa !9
  %284 = load i32, ptr %17, align 4, !tbaa !9
  %285 = icmp ne i32 %284, 0
  br i1 %285, label %286, label %287

286:                                              ; preds = %264
  br label %365

287:                                              ; preds = %264
  %288 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %288, ptr %17, align 4, !tbaa !9
  %289 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %289, ptr %18, align 4, !tbaa !9
  %290 = load ptr, ptr %5, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.w2c_hermes, ptr %290, i32 0, i32 6
  %292 = load i32, ptr %18, align 4, !tbaa !9
  %293 = zext i32 %292 to i64
  %294 = call i32 @i32_load(ptr noundef %291, i64 noundef %293)
  store i32 %294, ptr %18, align 4, !tbaa !9
  %295 = load ptr, ptr %5, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.w2c_hermes, ptr %295, i32 0, i32 6
  %297 = load i32, ptr %18, align 4, !tbaa !9
  %298 = zext i32 %297 to i64
  %299 = add i64 %298, 8
  %300 = call i32 @i32_load(ptr noundef %296, i64 noundef %299)
  store i32 %300, ptr %18, align 4, !tbaa !9
  %301 = load i32, ptr %18, align 4, !tbaa !9
  %302 = load ptr, ptr %5, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.w2c_hermes, ptr %302, i32 0, i32 7
  %304 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %303, i32 0, i32 2
  %305 = load i32, ptr %304, align 4, !tbaa !18
  %306 = icmp ult i32 %301, %305
  br i1 %306, label %307, label %330

307:                                              ; preds = %287
  %308 = load ptr, ptr %5, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.w2c_hermes, ptr %308, i32 0, i32 7
  %310 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %309, i32 0, i32 0
  %311 = load ptr, ptr %310, align 8, !tbaa !19
  %312 = load i32, ptr %18, align 4, !tbaa !9
  %313 = zext i32 %312 to i64
  %314 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %311, i64 %313
  %315 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %314, i32 0, i32 1
  %316 = load ptr, ptr %315, align 8, !tbaa !20
  %317 = icmp ne ptr %316, null
  br i1 %317, label %318, label %330

318:                                              ; preds = %307
  %319 = load ptr, ptr @w2c_hermes_t3, align 8, !tbaa !5
  %320 = load ptr, ptr %5, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.w2c_hermes, ptr %320, i32 0, i32 7
  %322 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %321, i32 0, i32 0
  %323 = load ptr, ptr %322, align 8, !tbaa !19
  %324 = load i32, ptr %18, align 4, !tbaa !9
  %325 = zext i32 %324 to i64
  %326 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %323, i64 %325
  %327 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %326, i32 0, i32 0
  %328 = load ptr, ptr %327, align 8, !tbaa !22
  %329 = call zeroext i1 @func_types_eq(ptr noundef %319, ptr noundef %328)
  br label %330

330:                                              ; preds = %318, %307, %287
  %331 = phi i1 [ false, %307 ], [ false, %287 ], [ %329, %318 ]
  %332 = xor i1 %331, true
  %333 = xor i1 %332, true
  %334 = zext i1 %333 to i32
  %335 = sext i32 %334 to i64
  %336 = call i64 @llvm.expect.i64(i64 %335, i64 1)
  %337 = icmp ne i64 %336, 0
  br i1 %337, label %340, label %338

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

339:                                              ; No predecessors!
  br label %340

340:                                              ; preds = %339, %330
  %341 = phi i1 [ true, %330 ], [ false, %339 ]
  %342 = zext i1 %341 to i32
  %343 = load ptr, ptr %5, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.w2c_hermes, ptr %343, i32 0, i32 7
  %345 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %344, i32 0, i32 0
  %346 = load ptr, ptr %345, align 8, !tbaa !19
  %347 = load i32, ptr %18, align 4, !tbaa !9
  %348 = zext i32 %347 to i64
  %349 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %346, i64 %348
  %350 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %349, i32 0, i32 1
  %351 = load ptr, ptr %350, align 8, !tbaa !20
  %352 = load ptr, ptr %5, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.w2c_hermes, ptr %352, i32 0, i32 7
  %354 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %353, i32 0, i32 0
  %355 = load ptr, ptr %354, align 8, !tbaa !19
  %356 = load i32, ptr %18, align 4, !tbaa !9
  %357 = zext i32 %356 to i64
  %358 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %355, i64 %357
  %359 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %358, i32 0, i32 2
  %360 = load ptr, ptr %359, align 8, !tbaa !23
  %361 = load i32, ptr %17, align 4, !tbaa !9
  call void %351(ptr noundef %360, i32 noundef %361)
  %362 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %362, ptr %17, align 4, !tbaa !9
  %363 = load ptr, ptr %5, align 8, !tbaa !5
  %364 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fshared_weak_count0x3A0x3A_0x5Frelease_weak0x280x29(ptr noundef %363, i32 noundef %364)
  br label %365

365:                                              ; preds = %340, %286, %263
  %366 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %366, ptr %17, align 4, !tbaa !9
  store i32 16, ptr %18, align 4, !tbaa !9
  %367 = load i32, ptr %18, align 4, !tbaa !9
  %368 = load i32, ptr %17, align 4, !tbaa !9
  %369 = add i32 %368, %367
  store i32 %369, ptr %17, align 4, !tbaa !9
  %370 = load i32, ptr %17, align 4, !tbaa !9
  %371 = load ptr, ptr %5, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.w2c_hermes, ptr %371, i32 0, i32 3
  store i32 %370, ptr %372, align 8, !tbaa !11
  br label %427

373:                                              ; preds = %4
  store i32 0, ptr %17, align 4, !tbaa !9
  %374 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %374, ptr %6, align 4, !tbaa !9
  store i32 45816, ptr %18, align 4, !tbaa !9
  %375 = load i32, ptr %18, align 4, !tbaa !9
  %376 = load i32, ptr %17, align 4, !tbaa !9
  %377 = add i32 %376, %375
  store i32 %377, ptr %17, align 4, !tbaa !9
  %378 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %378, ptr %18, align 4, !tbaa !9
  store i32 56626, ptr %19, align 4, !tbaa !9
  %379 = load i32, ptr %19, align 4, !tbaa !9
  %380 = load i32, ptr %18, align 4, !tbaa !9
  %381 = add i32 %380, %379
  store i32 %381, ptr %18, align 4, !tbaa !9
  store i32 15, ptr %19, align 4, !tbaa !9
  %382 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %382, ptr %20, align 4, !tbaa !9
  store i32 63757, ptr %21, align 4, !tbaa !9
  %383 = load i32, ptr %21, align 4, !tbaa !9
  %384 = load i32, ptr %20, align 4, !tbaa !9
  %385 = add i32 %384, %383
  store i32 %385, ptr %20, align 4, !tbaa !9
  %386 = load ptr, ptr %5, align 8, !tbaa !5
  %387 = load i32, ptr %17, align 4, !tbaa !9
  %388 = load i32, ptr %18, align 4, !tbaa !9
  %389 = load i32, ptr %19, align 4, !tbaa !9
  %390 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %386, i32 noundef %387, i32 noundef %388, i32 noundef %389, i32 noundef %390)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

391:                                              ; preds = %76
  store i32 0, ptr %17, align 4, !tbaa !9
  %392 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %392, ptr %6, align 4, !tbaa !9
  store i32 204136, ptr %18, align 4, !tbaa !9
  %393 = load i32, ptr %18, align 4, !tbaa !9
  %394 = load i32, ptr %17, align 4, !tbaa !9
  %395 = add i32 %394, %393
  store i32 %395, ptr %17, align 4, !tbaa !9
  %396 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %396, ptr %18, align 4, !tbaa !9
  store i32 81389, ptr %19, align 4, !tbaa !9
  %397 = load i32, ptr %19, align 4, !tbaa !9
  %398 = load i32, ptr %18, align 4, !tbaa !9
  %399 = add i32 %398, %397
  store i32 %399, ptr %18, align 4, !tbaa !9
  store i32 597, ptr %19, align 4, !tbaa !9
  %400 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %400, ptr %20, align 4, !tbaa !9
  store i32 48929, ptr %21, align 4, !tbaa !9
  %401 = load i32, ptr %21, align 4, !tbaa !9
  %402 = load i32, ptr %20, align 4, !tbaa !9
  %403 = add i32 %402, %401
  store i32 %403, ptr %20, align 4, !tbaa !9
  %404 = load ptr, ptr %5, align 8, !tbaa !5
  %405 = load i32, ptr %17, align 4, !tbaa !9
  %406 = load i32, ptr %18, align 4, !tbaa !9
  %407 = load i32, ptr %19, align 4, !tbaa !9
  %408 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %404, i32 noundef %405, i32 noundef %406, i32 noundef %407, i32 noundef %408)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

409:                                              ; preds = %191
  store i32 0, ptr %17, align 4, !tbaa !9
  %410 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %410, ptr %6, align 4, !tbaa !9
  store i32 183802, ptr %18, align 4, !tbaa !9
  %411 = load i32, ptr %18, align 4, !tbaa !9
  %412 = load i32, ptr %17, align 4, !tbaa !9
  %413 = add i32 %412, %411
  store i32 %413, ptr %17, align 4, !tbaa !9
  %414 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %414, ptr %18, align 4, !tbaa !9
  store i32 56626, ptr %19, align 4, !tbaa !9
  %415 = load i32, ptr %19, align 4, !tbaa !9
  %416 = load i32, ptr %18, align 4, !tbaa !9
  %417 = add i32 %416, %415
  store i32 %417, ptr %18, align 4, !tbaa !9
  store i32 18, ptr %19, align 4, !tbaa !9
  %418 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %418, ptr %20, align 4, !tbaa !9
  store i32 63757, ptr %21, align 4, !tbaa !9
  %419 = load i32, ptr %21, align 4, !tbaa !9
  %420 = load i32, ptr %20, align 4, !tbaa !9
  %421 = add i32 %420, %419
  store i32 %421, ptr %20, align 4, !tbaa !9
  %422 = load ptr, ptr %5, align 8, !tbaa !5
  %423 = load i32, ptr %17, align 4, !tbaa !9
  %424 = load i32, ptr %18, align 4, !tbaa !9
  %425 = load i32, ptr %19, align 4, !tbaa !9
  %426 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %422, i32 noundef %423, i32 noundef %424, i32 noundef %425, i32 noundef %426)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

427:                                              ; preds = %365
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, 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
  ret void
}

declare i32 @w2c_hermes_llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Cunsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Ashared_ptr0x3Chermes0x3A0x3ASourceMap0x3E0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Cunsigned0x20int0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cunsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Ashared_ptr0x3Chermes0x3A0x3ASourceMap0x3E0x3E0x3E0x2C0x20unsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Ashared_ptr0x3Chermes0x3A0x3ASourceMap0x3E0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Cunsigned0x20int0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cunsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Ashared_ptr0x3Chermes0x3A0x3ASourceMap0x3E0x3E0x3E0x3A0x3AFindAndConstruct0x28unsigned0x20int0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #3 = { 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 #4 = { "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 #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 = !{!14, !14, i64 0}
!18 = !{!12, !10, i64 92}
!19 = !{!12, !6, i64 80}
!20 = !{!21, !6, i64 8}
!21 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!21, !6, i64 0}
!23 = !{!21, !6, i64 16}


; 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_t3 = external local_unnamed_addr constant ptr, align 8

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

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

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

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

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

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

declare i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fshared_weak_count0x3A0x3A_0x5Frelease_weak0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3ASourceMapTranslator0x3A0x3AaddSourceMap0x28unsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aunique_ptr0x3Chermes0x3A0x3ASourceMap0x2C0x20std0x3A0x3A_0x5F20x3A0x3Adefault_delete0x3Chermes0x3A0x3ASourceMap0x3E0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 {
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = add i32 %6, -16
  store i32 %7, ptr %5, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %7 to i64
  %10 = add nuw nsw i64 %9, 12
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %10, i32 noundef %2)
  %.not = icmp eq i32 %3, 0
  br i1 %.not, label %86, label %11

11:                                               ; preds = %4
  %12 = zext i32 %1 to i64
  %13 = add nuw nsw i64 %12, 4
  %14 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %13)
  %15 = add nuw nsw i64 %12, 16
  %16 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %15)
  %.not230 = icmp eq i32 %16, 0
  br i1 %.not230, label %.loopexit, label %17

17:                                               ; preds = %11
  %18 = icmp ugt i32 %2, -3
  br i1 %18, label %87, label %19

19:                                               ; preds = %17
  %20 = add i32 %16, -1
  %21 = mul i32 %2, 37
  %22 = and i32 %20, %21
  %23 = mul i32 %22, 12
  %24 = add i32 %23, %14
  %25 = zext i32 %24 to i64
  %26 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %25)
  %27 = icmp eq i32 %26, %2
  br i1 %27, label %.loopexit236, label %.preheader

.preheader:                                       ; preds = %19, %29
  %.0223 = phi i32 [ %31, %29 ], [ 1, %19 ]
  %.0222 = phi i32 [ %32, %29 ], [ %22, %19 ]
  %.0 = phi i32 [ %36, %29 ], [ %26, %19 ]
  %28 = icmp eq i32 %.0, -1
  br i1 %28, label %.loopexit, label %29

29:                                               ; preds = %.preheader
  %30 = add i32 %.0222, %.0223
  %31 = add i32 %.0223, 1
  %32 = and i32 %30, %20
  %33 = mul i32 %32, 12
  %34 = add i32 %33, %14
  %35 = zext i32 %34 to i64
  %36 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %35)
  %.not231 = icmp eq i32 %36, %2
  br i1 %.not231, label %.loopexit236, label %.preheader

.loopexit:                                        ; preds = %.preheader, %11
  %37 = mul i32 %16, 12
  %38 = add i32 %37, %14
  br label %.loopexit236

.loopexit236:                                     ; preds = %29, %19, %.loopexit
  %.0224 = phi i32 [ %38, %.loopexit ], [ %24, %19 ], [ %34, %29 ]
  %39 = mul i32 %16, 12
  %40 = add i32 %39, %14
  %.not232 = icmp eq i32 %.0224, %40
  br i1 %.not232, label %41, label %88

41:                                               ; preds = %.loopexit236
  %42 = add i32 %1, 4
  %43 = add i32 %6, -4
  %44 = tail call i32 @w2c_hermes_llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Cunsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Ashared_ptr0x3Chermes0x3A0x3ASourceMap0x3E0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Cunsigned0x20int0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cunsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Ashared_ptr0x3Chermes0x3A0x3ASourceMap0x3E0x3E0x3E0x2C0x20unsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Ashared_ptr0x3Chermes0x3A0x3ASourceMap0x3E0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Cunsigned0x20int0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cunsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Ashared_ptr0x3Chermes0x3A0x3ASourceMap0x3E0x3E0x3E0x3A0x3AFindAndConstruct0x28unsigned0x20int0x20const0x260x29(ptr noundef %0, i32 noundef %42, i32 noundef %43) #4
  %45 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %0, i32 noundef 16) #4
  %46 = zext i32 %45 to i64
  %47 = add nuw nsw i64 %46, 12
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %47, i32 noundef %3)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %46, i32 noundef 271432)
  %48 = add nuw nsw i64 %46, 4
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %48, i64 noundef 0)
  %49 = zext i32 %44 to i64
  %50 = add nuw nsw i64 %49, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %50, i32 noundef %3)
  %51 = add i32 %44, 8
  %52 = zext i32 %51 to i64
  %53 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %52)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %52, i32 noundef %45)
  %.not233 = icmp eq i32 %53, 0
  br i1 %.not233, label %85, label %54

54:                                               ; preds = %41
  %55 = zext i32 %53 to i64
  %56 = add nuw nsw i64 %55, 4
  %57 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %56)
  %58 = add i32 %57, -1
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %56, i32 noundef %58)
  %.not234 = icmp eq i32 %57, 0
  br i1 %.not234, label %59, label %85

59:                                               ; preds = %54
  %60 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %55)
  %61 = zext i32 %60 to i64
  %62 = add nuw nsw i64 %61, 8
  %63 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %62)
  %64 = getelementptr inbounds i8, ptr %0, i64 80
  %65 = getelementptr inbounds i8, ptr %0, i64 92
  %66 = load i32, ptr %65, align 4, !tbaa !15
  %67 = icmp ult i32 %63, %66
  br i1 %67, label %68, label %.critedge, !prof !16

68:                                               ; preds = %59
  %69 = load ptr, ptr %64, align 8, !tbaa !17
  %70 = zext i32 %63 to i64
  %71 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %69, i64 %70
  %72 = getelementptr inbounds i8, ptr %71, i64 8
  %73 = load ptr, ptr %72, align 8, !tbaa !18
  %.not235 = icmp eq ptr %73, null
  br i1 %.not235, label %.critedge, label %74, !prof !20

74:                                               ; preds = %68
  %75 = load ptr, ptr @w2c_hermes_t3, align 8, !tbaa !21
  %76 = load ptr, ptr %71, align 8, !tbaa !22
  %77 = tail call zeroext i1 @func_types_eq(ptr noundef %75, ptr noundef %76)
  br i1 %77, label %78, label %.critedge, !prof !16

.critedge:                                        ; preds = %68, %59, %74
  tail call void @wasm_rt_trap(i32 noundef 6) #5
  unreachable

78:                                               ; preds = %74
  %79 = load ptr, ptr %64, align 8, !tbaa !17
  %80 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %79, i64 %70
  %81 = getelementptr inbounds i8, ptr %80, i64 8
  %82 = load ptr, ptr %81, align 8, !tbaa !18
  %83 = getelementptr inbounds i8, ptr %80, i64 16
  %84 = load ptr, ptr %83, align 8, !tbaa !23
  tail call void %82(ptr noundef %84, i32 noundef %53) #4
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fshared_weak_count0x3A0x3A_0x5Frelease_weak0x280x29(ptr noundef nonnull %0, i32 noundef %53) #4
  br label %85

85:                                               ; preds = %54, %41, %78
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void

86:                                               ; preds = %4
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 45816, i32 noundef 56626, i32 noundef 15, i32 noundef 63757) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

87:                                               ; preds = %17
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 204136, i32 noundef 81389, i32 noundef 597, i32 noundef 48929) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

88:                                               ; preds = %.loopexit236
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 183802, i32 noundef 56626, i32 noundef 18, i32 noundef 63757) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

declare i32 @w2c_hermes_llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Cunsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Ashared_ptr0x3Chermes0x3A0x3ASourceMap0x3E0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Cunsigned0x20int0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cunsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Ashared_ptr0x3Chermes0x3A0x3ASourceMap0x3E0x3E0x3E0x2C0x20unsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Ashared_ptr0x3Chermes0x3A0x3ASourceMap0x3E0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Cunsigned0x20int0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cunsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Ashared_ptr0x3Chermes0x3A0x3ASourceMap0x3E0x3E0x3E0x3A0x3AFindAndConstruct0x28unsigned0x20int0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

attributes #0 = { 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 #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 = { "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,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,LowerExpectIntrinsicPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass