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

; 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 void @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr 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

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_llvh0x3A0x3AManagedStaticBase0x3A0x3ARegisterManagedStatic0x28void0x2A0x200x280x2A0x290x280x290x2C0x20void0x200x280x2A0x290x28void0x2A0x290x290x20const(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

declare i32 @w2c_hermes_llvh0x3A0x3Allvm_is_multithreaded0x280x29(ptr noundef) #3

declare i32 @w2c_hermes_llvh0x3A0x3Asys0x3A0x3AMutexImpl0x3A0x3Aacquire0x280x29(ptr noundef, i32 noundef) #3

; 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) #4

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

declare i32 @w2c_hermes_llvh0x3A0x3Asys0x3A0x3AMutexImpl0x3A0x3Arelease0x280x29(ptr noundef, i32 noundef) #3

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_llvh0x3A0x3ACreateInfoOutputFile0x280x29(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_llvh0x3A0x3APrintStatistics0x28llvh0x3A0x3Araw_ostream0x260x29(ptr noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_llvh0x3A0x3APrintStatisticsJSON0x28llvh0x3A0x3Araw_ostream0x260x29(ptr noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_llvh0x3A0x3APrintStatistics0x280x29(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %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
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 0, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 0, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 298312, ptr %5, align 4, !tbaa !9
  %10 = load ptr, ptr %2, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.w2c_hermes, ptr %10, i32 0, i32 6
  %12 = load i32, ptr %5, align 4, !tbaa !9
  %13 = zext i32 %12 to i64
  %14 = call i32 @i32_load(ptr noundef %11, i64 noundef %13)
  store i32 %14, ptr %5, align 4, !tbaa !9
  %15 = load i32, ptr %5, align 4, !tbaa !9
  %16 = icmp ne i32 %15, 0
  %17 = xor i1 %16, true
  %18 = zext i1 %17 to i32
  store i32 %18, ptr %5, align 4, !tbaa !9
  %19 = load i32, ptr %5, align 4, !tbaa !9
  %20 = icmp ne i32 %19, 0
  br i1 %20, label %21, label %34

21:                                               ; preds = %1
  store i32 298312, ptr %5, align 4, !tbaa !9
  store i32 1, ptr %6, align 4, !tbaa !9
  %22 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %22, ptr %3, align 4, !tbaa !9
  store i32 47, ptr %7, align 4, !tbaa !9
  %23 = load i32, ptr %7, align 4, !tbaa !9
  %24 = load i32, ptr %6, align 4, !tbaa !9
  %25 = add i32 %24, %23
  store i32 %25, ptr %6, align 4, !tbaa !9
  %26 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %26, ptr %7, align 4, !tbaa !9
  store i32 48, ptr %8, align 4, !tbaa !9
  %27 = load i32, ptr %8, align 4, !tbaa !9
  %28 = load i32, ptr %7, align 4, !tbaa !9
  %29 = add i32 %28, %27
  store i32 %29, ptr %7, align 4, !tbaa !9
  %30 = load ptr, ptr %2, align 8, !tbaa !5
  %31 = load i32, ptr %5, align 4, !tbaa !9
  %32 = load i32, ptr %6, align 4, !tbaa !9
  %33 = load i32, ptr %7, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3AManagedStaticBase0x3A0x3ARegisterManagedStatic0x28void0x2A0x200x280x2A0x290x280x290x2C0x20void0x200x280x2A0x290x28void0x2A0x290x290x20const(ptr noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33)
  br label %34

34:                                               ; preds = %21, %1
  store i32 298312, ptr %5, align 4, !tbaa !9
  %35 = load ptr, ptr %2, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.w2c_hermes, ptr %35, i32 0, i32 6
  %37 = load i32, ptr %5, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = call i32 @i32_load(ptr noundef %36, i64 noundef %38)
  store i32 %39, ptr %5, align 4, !tbaa !9
  %40 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %40, ptr %3, align 4, !tbaa !9
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  %42 = call i32 @w2c_hermes_llvh0x3A0x3Allvm_is_multithreaded0x280x29(ptr noundef %41)
  store i32 %42, ptr %5, align 4, !tbaa !9
  %43 = load i32, ptr %5, align 4, !tbaa !9
  %44 = icmp ne i32 %43, 0
  br i1 %44, label %45, label %50

45:                                               ; preds = %34
  %46 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %46, ptr %5, align 4, !tbaa !9
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  %48 = load i32, ptr %5, align 4, !tbaa !9
  %49 = call i32 @w2c_hermes_llvh0x3A0x3Asys0x3A0x3AMutexImpl0x3A0x3Aacquire0x280x29(ptr noundef %47, i32 noundef %48)
  store i32 %49, ptr %5, align 4, !tbaa !9
  br label %93

50:                                               ; preds = %34
  %51 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %51, ptr %5, align 4, !tbaa !9
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.w2c_hermes, ptr %52, i32 0, i32 6
  %54 = load i32, ptr %5, align 4, !tbaa !9
  %55 = zext i32 %54 to i64
  %56 = add i64 %55, 8
  %57 = call i32 @i32_load8_u(ptr noundef %53, i64 noundef %56)
  store i32 %57, ptr %5, align 4, !tbaa !9
  store i32 1, ptr %6, align 4, !tbaa !9
  %58 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %58, ptr %7, align 4, !tbaa !9
  %59 = load ptr, ptr %2, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.w2c_hermes, ptr %59, i32 0, i32 6
  %61 = load i32, ptr %7, align 4, !tbaa !9
  %62 = zext i32 %61 to i64
  %63 = add i64 %62, 4
  %64 = call i32 @i32_load(ptr noundef %60, i64 noundef %63)
  store i32 %64, ptr %7, align 4, !tbaa !9
  %65 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %65, ptr %4, align 4, !tbaa !9
  %66 = load i32, ptr %7, align 4, !tbaa !9
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %68, label %70

68:                                               ; preds = %50
  %69 = load i32, ptr %5, align 4, !tbaa !9
  br label %72

70:                                               ; preds = %50
  %71 = load i32, ptr %6, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %70, %68
  %73 = phi i32 [ %69, %68 ], [ %71, %70 ]
  store i32 %73, ptr %5, align 4, !tbaa !9
  %74 = load i32, ptr %5, align 4, !tbaa !9
  %75 = icmp ne i32 %74, 0
  %76 = xor i1 %75, true
  %77 = zext i1 %76 to i32
  store i32 %77, ptr %5, align 4, !tbaa !9
  %78 = load i32, ptr %5, align 4, !tbaa !9
  %79 = icmp ne i32 %78, 0
  br i1 %79, label %80, label %81

80:                                               ; preds = %72
  br label %311

81:                                               ; preds = %72
  %82 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %82, ptr %5, align 4, !tbaa !9
  %83 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %83, ptr %6, align 4, !tbaa !9
  store i32 1, ptr %7, align 4, !tbaa !9
  %84 = load i32, ptr %7, align 4, !tbaa !9
  %85 = load i32, ptr %6, align 4, !tbaa !9
  %86 = add i32 %85, %84
  store i32 %86, ptr %6, align 4, !tbaa !9
  %87 = load ptr, ptr %2, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.w2c_hermes, ptr %87, i32 0, i32 6
  %89 = load i32, ptr %5, align 4, !tbaa !9
  %90 = zext i32 %89 to i64
  %91 = add i64 %90, 4
  %92 = load i32, ptr %6, align 4, !tbaa !9
  call void @i32_store(ptr noundef %88, i64 noundef %91, i32 noundef %92)
  br label %93

93:                                               ; preds = %81, %45
  store i32 298324, ptr %5, align 4, !tbaa !9
  %94 = load ptr, ptr %2, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.w2c_hermes, ptr %94, i32 0, i32 6
  %96 = load i32, ptr %5, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = call i32 @i32_load(ptr noundef %95, i64 noundef %97)
  store i32 %98, ptr %5, align 4, !tbaa !9
  %99 = load i32, ptr %5, align 4, !tbaa !9
  %100 = icmp ne i32 %99, 0
  %101 = xor i1 %100, true
  %102 = zext i1 %101 to i32
  store i32 %102, ptr %5, align 4, !tbaa !9
  %103 = load i32, ptr %5, align 4, !tbaa !9
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %105, label %118

105:                                              ; preds = %93
  store i32 298324, ptr %5, align 4, !tbaa !9
  store i32 1, ptr %6, align 4, !tbaa !9
  %106 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %106, ptr %4, align 4, !tbaa !9
  store i32 234, ptr %7, align 4, !tbaa !9
  %107 = load i32, ptr %7, align 4, !tbaa !9
  %108 = load i32, ptr %6, align 4, !tbaa !9
  %109 = add i32 %108, %107
  store i32 %109, ptr %6, align 4, !tbaa !9
  %110 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %110, ptr %7, align 4, !tbaa !9
  store i32 235, ptr %8, align 4, !tbaa !9
  %111 = load i32, ptr %8, align 4, !tbaa !9
  %112 = load i32, ptr %7, align 4, !tbaa !9
  %113 = add i32 %112, %111
  store i32 %113, ptr %7, align 4, !tbaa !9
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  %115 = load i32, ptr %5, align 4, !tbaa !9
  %116 = load i32, ptr %6, align 4, !tbaa !9
  %117 = load i32, ptr %7, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3AManagedStaticBase0x3A0x3ARegisterManagedStatic0x28void0x2A0x200x280x2A0x290x280x290x2C0x20void0x200x280x2A0x290x28void0x2A0x290x290x20const(ptr noundef %114, i32 noundef %115, i32 noundef %116, i32 noundef %117)
  br label %118

118:                                              ; preds = %105, %93
  store i32 298324, ptr %5, align 4, !tbaa !9
  %119 = load ptr, ptr %2, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.w2c_hermes, ptr %119, i32 0, i32 6
  %121 = load i32, ptr %5, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = call i32 @i32_load(ptr noundef %120, i64 noundef %122)
  store i32 %123, ptr %5, align 4, !tbaa !9
  %124 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %124, ptr %4, align 4, !tbaa !9
  %125 = load ptr, ptr %2, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.w2c_hermes, ptr %125, i32 0, i32 6
  %127 = load i32, ptr %5, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = call i32 @i32_load(ptr noundef %126, i64 noundef %128)
  store i32 %129, ptr %5, align 4, !tbaa !9
  %130 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %130, ptr %6, align 4, !tbaa !9
  %131 = load ptr, ptr %2, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.w2c_hermes, ptr %131, i32 0, i32 6
  %133 = load i32, ptr %6, align 4, !tbaa !9
  %134 = zext i32 %133 to i64
  %135 = add i64 %134, 4
  %136 = call i32 @i32_load(ptr noundef %132, i64 noundef %135)
  store i32 %136, ptr %6, align 4, !tbaa !9
  %137 = load i32, ptr %5, align 4, !tbaa !9
  %138 = load i32, ptr %6, align 4, !tbaa !9
  %139 = icmp eq i32 %137, %138
  %140 = zext i1 %139 to i32
  store i32 %140, ptr %5, align 4, !tbaa !9
  %141 = load i32, ptr %5, align 4, !tbaa !9
  %142 = icmp ne i32 %141, 0
  br i1 %142, label %143, label %144

143:                                              ; preds = %118
  br label %247

144:                                              ; preds = %118
  %145 = load ptr, ptr %2, align 8, !tbaa !5
  %146 = call i32 @w2c_hermes_llvh0x3A0x3ACreateInfoOutputFile0x280x29(ptr noundef %145)
  store i32 %146, ptr %5, align 4, !tbaa !9
  %147 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %147, ptr %4, align 4, !tbaa !9
  store i32 298292, ptr %5, align 4, !tbaa !9
  %148 = load ptr, ptr %2, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.w2c_hermes, ptr %148, i32 0, i32 6
  %150 = load i32, ptr %5, align 4, !tbaa !9
  %151 = zext i32 %150 to i64
  %152 = call i32 @i32_load8_u(ptr noundef %149, i64 noundef %151)
  store i32 %152, ptr %5, align 4, !tbaa !9
  %153 = load i32, ptr %5, align 4, !tbaa !9
  %154 = icmp ne i32 %153, 0
  br i1 %154, label %155, label %159

155:                                              ; preds = %144
  %156 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %156, ptr %5, align 4, !tbaa !9
  %157 = load ptr, ptr %2, align 8, !tbaa !5
  %158 = load i32, ptr %5, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3APrintStatisticsJSON0x28llvh0x3A0x3Araw_ostream0x260x29(ptr noundef %157, i32 noundef %158)
  br label %163

159:                                              ; preds = %144
  %160 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %160, ptr %5, align 4, !tbaa !9
  %161 = load ptr, ptr %2, align 8, !tbaa !5
  %162 = load i32, ptr %5, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3APrintStatistics0x28llvh0x3A0x3Araw_ostream0x260x29(ptr noundef %161, i32 noundef %162)
  br label %163

163:                                              ; preds = %159, %155
  %164 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %164, ptr %5, align 4, !tbaa !9
  %165 = load i32, ptr %5, align 4, !tbaa !9
  %166 = icmp ne i32 %165, 0
  %167 = xor i1 %166, true
  %168 = zext i1 %167 to i32
  store i32 %168, ptr %5, align 4, !tbaa !9
  %169 = load i32, ptr %5, align 4, !tbaa !9
  %170 = icmp ne i32 %169, 0
  br i1 %170, label %171, label %172

171:                                              ; preds = %163
  br label %247

172:                                              ; preds = %163
  %173 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %173, ptr %5, align 4, !tbaa !9
  %174 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %174, ptr %6, align 4, !tbaa !9
  %175 = load ptr, ptr %2, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.w2c_hermes, ptr %175, i32 0, i32 6
  %177 = load i32, ptr %6, align 4, !tbaa !9
  %178 = zext i32 %177 to i64
  %179 = call i32 @i32_load(ptr noundef %176, i64 noundef %178)
  store i32 %179, ptr %6, align 4, !tbaa !9
  %180 = load ptr, ptr %2, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.w2c_hermes, ptr %180, i32 0, i32 6
  %182 = load i32, ptr %6, align 4, !tbaa !9
  %183 = zext i32 %182 to i64
  %184 = add i64 %183, 4
  %185 = call i32 @i32_load(ptr noundef %181, i64 noundef %184)
  store i32 %185, ptr %6, align 4, !tbaa !9
  %186 = load i32, ptr %6, align 4, !tbaa !9
  %187 = load ptr, ptr %2, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.w2c_hermes, ptr %187, i32 0, i32 7
  %189 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %188, i32 0, i32 2
  %190 = load i32, ptr %189, align 4, !tbaa !11
  %191 = icmp ult i32 %186, %190
  br i1 %191, label %192, label %215

192:                                              ; preds = %172
  %193 = load ptr, ptr %2, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.w2c_hermes, ptr %193, i32 0, i32 7
  %195 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %194, i32 0, i32 0
  %196 = load ptr, ptr %195, align 8, !tbaa !17
  %197 = load i32, ptr %6, align 4, !tbaa !9
  %198 = zext i32 %197 to i64
  %199 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %196, i64 %198
  %200 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %199, i32 0, i32 1
  %201 = load ptr, ptr %200, align 8, !tbaa !18
  %202 = icmp ne ptr %201, null
  br i1 %202, label %203, label %215

203:                                              ; preds = %192
  %204 = load ptr, ptr @w2c_hermes_t3, align 8, !tbaa !5
  %205 = load ptr, ptr %2, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.w2c_hermes, ptr %205, i32 0, i32 7
  %207 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %206, i32 0, i32 0
  %208 = load ptr, ptr %207, align 8, !tbaa !17
  %209 = load i32, ptr %6, align 4, !tbaa !9
  %210 = zext i32 %209 to i64
  %211 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %208, i64 %210
  %212 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %211, i32 0, i32 0
  %213 = load ptr, ptr %212, align 8, !tbaa !20
  %214 = call zeroext i1 @func_types_eq(ptr noundef %204, ptr noundef %213)
  br label %215

215:                                              ; preds = %203, %192, %172
  %216 = phi i1 [ false, %192 ], [ false, %172 ], [ %214, %203 ]
  %217 = xor i1 %216, true
  %218 = xor i1 %217, true
  %219 = zext i1 %218 to i32
  %220 = sext i32 %219 to i64
  %221 = call i64 @llvm.expect.i64(i64 %220, i64 1)
  %222 = icmp ne i64 %221, 0
  br i1 %222, label %225, label %223

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

224:                                              ; No predecessors!
  br label %225

225:                                              ; preds = %224, %215
  %226 = phi i1 [ true, %215 ], [ false, %224 ]
  %227 = zext i1 %226 to i32
  %228 = load ptr, ptr %2, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.w2c_hermes, ptr %228, i32 0, i32 7
  %230 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %229, i32 0, i32 0
  %231 = load ptr, ptr %230, align 8, !tbaa !17
  %232 = load i32, ptr %6, align 4, !tbaa !9
  %233 = zext i32 %232 to i64
  %234 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %231, i64 %233
  %235 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %234, i32 0, i32 1
  %236 = load ptr, ptr %235, align 8, !tbaa !18
  %237 = load ptr, ptr %2, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.w2c_hermes, ptr %237, i32 0, i32 7
  %239 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %238, i32 0, i32 0
  %240 = load ptr, ptr %239, align 8, !tbaa !17
  %241 = load i32, ptr %6, align 4, !tbaa !9
  %242 = zext i32 %241 to i64
  %243 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %240, i64 %242
  %244 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %243, i32 0, i32 2
  %245 = load ptr, ptr %244, align 8, !tbaa !21
  %246 = load i32, ptr %5, align 4, !tbaa !9
  call void %236(ptr noundef %245, i32 noundef %246)
  br label %247

247:                                              ; preds = %225, %171, %143
  %248 = load ptr, ptr %2, align 8, !tbaa !5
  %249 = call i32 @w2c_hermes_llvh0x3A0x3Allvm_is_multithreaded0x280x29(ptr noundef %248)
  store i32 %249, ptr %5, align 4, !tbaa !9
  %250 = load i32, ptr %5, align 4, !tbaa !9
  %251 = icmp ne i32 %250, 0
  br i1 %251, label %252, label %257

252:                                              ; preds = %247
  %253 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %253, ptr %5, align 4, !tbaa !9
  %254 = load ptr, ptr %2, align 8, !tbaa !5
  %255 = load i32, ptr %5, align 4, !tbaa !9
  %256 = call i32 @w2c_hermes_llvh0x3A0x3Asys0x3A0x3AMutexImpl0x3A0x3Arelease0x280x29(ptr noundef %254, i32 noundef %255)
  store i32 %256, ptr %5, align 4, !tbaa !9
  br label %347

257:                                              ; preds = %247
  %258 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %258, ptr %5, align 4, !tbaa !9
  %259 = load ptr, ptr %2, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.w2c_hermes, ptr %259, i32 0, i32 6
  %261 = load i32, ptr %5, align 4, !tbaa !9
  %262 = zext i32 %261 to i64
  %263 = add i64 %262, 8
  %264 = call i32 @i32_load8_u(ptr noundef %260, i64 noundef %263)
  store i32 %264, ptr %5, align 4, !tbaa !9
  store i32 0, ptr %6, align 4, !tbaa !9
  %265 = load i32, ptr %5, align 4, !tbaa !9
  %266 = load i32, ptr %6, align 4, !tbaa !9
  %267 = icmp ne i32 %265, %266
  %268 = zext i1 %267 to i32
  store i32 %268, ptr %5, align 4, !tbaa !9
  %269 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %269, ptr %6, align 4, !tbaa !9
  %270 = load ptr, ptr %2, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.w2c_hermes, ptr %270, i32 0, i32 6
  %272 = load i32, ptr %6, align 4, !tbaa !9
  %273 = zext i32 %272 to i64
  %274 = add i64 %273, 4
  %275 = call i32 @i32_load(ptr noundef %271, i64 noundef %274)
  store i32 %275, ptr %6, align 4, !tbaa !9
  %276 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %276, ptr %4, align 4, !tbaa !9
  store i32 0, ptr %7, align 4, !tbaa !9
  %277 = load i32, ptr %6, align 4, !tbaa !9
  %278 = load i32, ptr %7, align 4, !tbaa !9
  %279 = icmp ne i32 %277, %278
  %280 = zext i1 %279 to i32
  store i32 %280, ptr %6, align 4, !tbaa !9
  %281 = load i32, ptr %6, align 4, !tbaa !9
  %282 = load i32, ptr %5, align 4, !tbaa !9
  %283 = and i32 %282, %281
  store i32 %283, ptr %5, align 4, !tbaa !9
  %284 = load i32, ptr %5, align 4, !tbaa !9
  %285 = icmp ne i32 %284, 0
  %286 = xor i1 %285, true
  %287 = zext i1 %286 to i32
  store i32 %287, ptr %5, align 4, !tbaa !9
  %288 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %288, ptr %6, align 4, !tbaa !9
  store i32 1, ptr %7, align 4, !tbaa !9
  %289 = load i32, ptr %6, align 4, !tbaa !9
  %290 = load i32, ptr %7, align 4, !tbaa !9
  %291 = icmp ne i32 %289, %290
  %292 = zext i1 %291 to i32
  store i32 %292, ptr %6, align 4, !tbaa !9
  %293 = load i32, ptr %6, align 4, !tbaa !9
  %294 = load i32, ptr %5, align 4, !tbaa !9
  %295 = and i32 %294, %293
  store i32 %295, ptr %5, align 4, !tbaa !9
  %296 = load i32, ptr %5, align 4, !tbaa !9
  %297 = icmp ne i32 %296, 0
  br i1 %297, label %298, label %299

298:                                              ; preds = %257
  br label %329

299:                                              ; preds = %257
  %300 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %300, ptr %5, align 4, !tbaa !9
  %301 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %301, ptr %6, align 4, !tbaa !9
  store i32 1, ptr %7, align 4, !tbaa !9
  %302 = load i32, ptr %7, align 4, !tbaa !9
  %303 = load i32, ptr %6, align 4, !tbaa !9
  %304 = sub i32 %303, %302
  store i32 %304, ptr %6, align 4, !tbaa !9
  %305 = load ptr, ptr %2, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.w2c_hermes, ptr %305, i32 0, i32 6
  %307 = load i32, ptr %5, align 4, !tbaa !9
  %308 = zext i32 %307 to i64
  %309 = add i64 %308, 4
  %310 = load i32, ptr %6, align 4, !tbaa !9
  call void @i32_store(ptr noundef %306, i64 noundef %309, i32 noundef %310)
  br label %347

311:                                              ; preds = %80
  store i32 0, ptr %5, align 4, !tbaa !9
  %312 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %312, ptr %3, align 4, !tbaa !9
  store i32 207014, ptr %6, align 4, !tbaa !9
  %313 = load i32, ptr %6, align 4, !tbaa !9
  %314 = load i32, ptr %5, align 4, !tbaa !9
  %315 = add i32 %314, %313
  store i32 %315, ptr %5, align 4, !tbaa !9
  %316 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %316, ptr %6, align 4, !tbaa !9
  store i32 76770, ptr %7, align 4, !tbaa !9
  %317 = load i32, ptr %7, align 4, !tbaa !9
  %318 = load i32, ptr %6, align 4, !tbaa !9
  %319 = add i32 %318, %317
  store i32 %319, ptr %6, align 4, !tbaa !9
  store i32 107, ptr %7, align 4, !tbaa !9
  %320 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %320, ptr %8, align 4, !tbaa !9
  store i32 75005, ptr %9, align 4, !tbaa !9
  %321 = load i32, ptr %9, align 4, !tbaa !9
  %322 = load i32, ptr %8, align 4, !tbaa !9
  %323 = add i32 %322, %321
  store i32 %323, ptr %8, align 4, !tbaa !9
  %324 = load ptr, ptr %2, align 8, !tbaa !5
  %325 = load i32, ptr %5, align 4, !tbaa !9
  %326 = load i32, ptr %6, align 4, !tbaa !9
  %327 = load i32, ptr %7, align 4, !tbaa !9
  %328 = load i32, ptr %8, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %324, i32 noundef %325, i32 noundef %326, i32 noundef %327, i32 noundef %328)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

329:                                              ; preds = %298
  store i32 0, ptr %5, align 4, !tbaa !9
  %330 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %330, ptr %3, align 4, !tbaa !9
  store i32 204928, ptr %6, align 4, !tbaa !9
  %331 = load i32, ptr %6, align 4, !tbaa !9
  %332 = load i32, ptr %5, align 4, !tbaa !9
  %333 = add i32 %332, %331
  store i32 %333, ptr %5, align 4, !tbaa !9
  %334 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %334, ptr %6, align 4, !tbaa !9
  store i32 76770, ptr %7, align 4, !tbaa !9
  %335 = load i32, ptr %7, align 4, !tbaa !9
  %336 = load i32, ptr %6, align 4, !tbaa !9
  %337 = add i32 %336, %335
  store i32 %337, ptr %6, align 4, !tbaa !9
  store i32 121, ptr %7, align 4, !tbaa !9
  %338 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %338, ptr %8, align 4, !tbaa !9
  store i32 74813, ptr %9, align 4, !tbaa !9
  %339 = load i32, ptr %9, align 4, !tbaa !9
  %340 = load i32, ptr %8, align 4, !tbaa !9
  %341 = add i32 %340, %339
  store i32 %341, ptr %8, align 4, !tbaa !9
  %342 = load ptr, ptr %2, align 8, !tbaa !5
  %343 = load i32, ptr %5, align 4, !tbaa !9
  %344 = load i32, ptr %6, align 4, !tbaa !9
  %345 = load i32, ptr %7, align 4, !tbaa !9
  %346 = load i32, ptr %8, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %342, i32 noundef %343, i32 noundef %344, i32 noundef %345, i32 noundef %346)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

347:                                              ; preds = %299, %252
  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
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  ret void
}

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 = { 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 = { "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 = { 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 #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 92}
!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, !6, i64 80}
!18 = !{!19, !6, i64 8}
!19 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!19, !6, i64 0}
!21 = !{!19, !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 void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_llvh0x3A0x3AManagedStaticBase0x3A0x3ARegisterManagedStatic0x28void0x2A0x200x280x2A0x290x280x290x2C0x20void0x200x280x2A0x290x28void0x2A0x290x290x20const(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare i32 @w2c_hermes_llvh0x3A0x3Allvm_is_multithreaded0x280x29(ptr noundef) local_unnamed_addr #2

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

; 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 #3

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

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 i32 @i32_load8_u(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_llvh0x3A0x3ACreateInfoOutputFile0x280x29(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_llvh0x3A0x3APrintStatistics0x28llvh0x3A0x3Araw_ostream0x260x29(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_llvh0x3A0x3APrintStatisticsJSON0x28llvh0x3A0x3Araw_ostream0x260x29(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_llvh0x3A0x3APrintStatistics0x280x29(ptr noundef %0) local_unnamed_addr #1 {
  %2 = getelementptr inbounds i8, ptr %0, i64 40
  %3 = tail call i32 @i32_load(ptr noundef nonnull %2, i64 noundef 298312)
  %.not = icmp eq i32 %3, 0
  br i1 %.not, label %4, label %5

4:                                                ; preds = %1
  tail call void @w2c_hermes_llvh0x3A0x3AManagedStaticBase0x3A0x3ARegisterManagedStatic0x28void0x2A0x200x280x2A0x290x280x290x2C0x20void0x200x280x2A0x290x28void0x2A0x290x290x20const(ptr noundef %0, i32 noundef 298312, i32 noundef 48, i32 noundef 49)
  br label %5

5:                                                ; preds = %4, %1
  %6 = tail call i32 @i32_load(ptr noundef nonnull %2, i64 noundef 298312)
  %7 = tail call i32 @w2c_hermes_llvh0x3A0x3Allvm_is_multithreaded0x280x29(ptr noundef %0) #4
  %.not156 = icmp eq i32 %7, 0
  br i1 %.not156, label %10, label %8

8:                                                ; preds = %5
  %9 = tail call i32 @w2c_hermes_llvh0x3A0x3Asys0x3A0x3AMutexImpl0x3A0x3Aacquire0x280x29(ptr noundef %0, i32 noundef %6) #4
  br label %18

10:                                               ; preds = %5
  %11 = zext i32 %6 to i64
  %12 = add nuw nsw i64 %11, 8
  %13 = tail call i32 @i32_load8_u(ptr noundef nonnull %2, i64 noundef %12)
  %14 = add nuw nsw i64 %11, 4
  %15 = tail call i32 @i32_load(ptr noundef nonnull %2, i64 noundef %14)
  %.not157 = icmp ne i32 %15, 0
  %.not158159 = icmp eq i32 %13, 0
  %.not158 = select i1 %.not157, i1 %.not158159, i1 false
  br i1 %.not158, label %77, label %16

16:                                               ; preds = %10
  %17 = add i32 %15, 1
  tail call void @i32_store(ptr noundef nonnull %2, i64 noundef %14, i32 noundef %17)
  br label %18

18:                                               ; preds = %16, %8
  %19 = tail call i32 @i32_load(ptr noundef nonnull %2, i64 noundef 298324)
  %.not160 = icmp eq i32 %19, 0
  br i1 %.not160, label %20, label %21

20:                                               ; preds = %18
  tail call void @w2c_hermes_llvh0x3A0x3AManagedStaticBase0x3A0x3ARegisterManagedStatic0x28void0x2A0x200x280x2A0x290x280x290x2C0x20void0x200x280x2A0x290x28void0x2A0x290x290x20const(ptr noundef %0, i32 noundef 298324, i32 noundef 235, i32 noundef 236)
  br label %21

21:                                               ; preds = %20, %18
  %22 = tail call i32 @i32_load(ptr noundef nonnull %2, i64 noundef 298324)
  %23 = zext i32 %22 to i64
  %24 = tail call i32 @i32_load(ptr noundef nonnull %2, i64 noundef %23)
  %25 = add nuw nsw i64 %23, 4
  %26 = tail call i32 @i32_load(ptr noundef nonnull %2, i64 noundef %25)
  %27 = icmp eq i32 %24, %26
  br i1 %27, label %61, label %28

28:                                               ; preds = %21
  %29 = tail call i32 @w2c_hermes_llvh0x3A0x3ACreateInfoOutputFile0x280x29(ptr noundef %0)
  %30 = tail call i32 @i32_load8_u(ptr noundef nonnull %2, i64 noundef 298292)
  %.not161 = icmp eq i32 %30, 0
  br i1 %.not161, label %32, label %31

31:                                               ; preds = %28
  tail call void @w2c_hermes_llvh0x3A0x3APrintStatisticsJSON0x28llvh0x3A0x3Araw_ostream0x260x29(ptr noundef %0, i32 noundef %29)
  br label %33

32:                                               ; preds = %28
  tail call void @w2c_hermes_llvh0x3A0x3APrintStatistics0x28llvh0x3A0x3Araw_ostream0x260x29(ptr noundef %0, i32 noundef %29)
  br label %33

33:                                               ; preds = %32, %31
  %.not162 = icmp eq i32 %29, 0
  br i1 %.not162, label %61, label %34

34:                                               ; preds = %33
  %35 = zext i32 %29 to i64
  %36 = tail call i32 @i32_load(ptr noundef nonnull %2, i64 noundef %35)
  %37 = zext i32 %36 to i64
  %38 = add nuw nsw i64 %37, 4
  %39 = tail call i32 @i32_load(ptr noundef nonnull %2, i64 noundef %38)
  %40 = getelementptr inbounds i8, ptr %0, i64 80
  %41 = getelementptr inbounds i8, ptr %0, i64 92
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = icmp ult i32 %39, %42
  br i1 %43, label %44, label %.critedge, !prof !15

44:                                               ; preds = %34
  %45 = load ptr, ptr %40, align 8, !tbaa !16
  %46 = zext i32 %39 to i64
  %47 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %45, i64 %46
  %48 = getelementptr inbounds i8, ptr %47, i64 8
  %49 = load ptr, ptr %48, align 8, !tbaa !17
  %.not163 = icmp eq ptr %49, null
  br i1 %.not163, label %.critedge, label %50, !prof !19

50:                                               ; preds = %44
  %51 = load ptr, ptr @w2c_hermes_t3, align 8, !tbaa !20
  %52 = load ptr, ptr %47, align 8, !tbaa !21
  %53 = tail call zeroext i1 @func_types_eq(ptr noundef %51, ptr noundef %52)
  br i1 %53, label %54, label %.critedge, !prof !15

.critedge:                                        ; preds = %44, %34, %50
  tail call void @wasm_rt_trap(i32 noundef 6) #5
  unreachable

54:                                               ; preds = %50
  %55 = load ptr, ptr %40, align 8, !tbaa !16
  %56 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %55, i64 %46
  %57 = getelementptr inbounds i8, ptr %56, i64 8
  %58 = load ptr, ptr %57, align 8, !tbaa !17
  %59 = getelementptr inbounds i8, ptr %56, i64 16
  %60 = load ptr, ptr %59, align 8, !tbaa !22
  tail call void %58(ptr noundef %60, i32 noundef %29) #4
  br label %61

61:                                               ; preds = %33, %21, %54
  %62 = tail call i32 @w2c_hermes_llvh0x3A0x3Allvm_is_multithreaded0x280x29(ptr noundef %0) #4
  %.not164 = icmp eq i32 %62, 0
  br i1 %.not164, label %65, label %63

63:                                               ; preds = %61
  %64 = tail call i32 @w2c_hermes_llvh0x3A0x3Asys0x3A0x3AMutexImpl0x3A0x3Arelease0x280x29(ptr noundef %0, i32 noundef %6) #4
  br label %79

65:                                               ; preds = %61
  %66 = zext i32 %6 to i64
  %67 = add nuw nsw i64 %66, 8
  %68 = tail call i32 @i32_load8_u(ptr noundef nonnull %2, i64 noundef %67)
  %69 = icmp eq i32 %68, 0
  %70 = add nuw nsw i64 %66, 4
  %71 = tail call i32 @i32_load(ptr noundef nonnull %2, i64 noundef %70)
  %72 = icmp eq i32 %71, 0
  %.not167 = or i1 %69, %72
  %73 = icmp ne i32 %71, 1
  %74 = and i1 %73, %.not167
  br i1 %74, label %78, label %75

75:                                               ; preds = %65
  %76 = add i32 %71, -1
  tail call void @i32_store(ptr noundef nonnull %2, i64 noundef %70, i32 noundef %76)
  br label %79

77:                                               ; preds = %10
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 207014, i32 noundef 76770, i32 noundef 107, i32 noundef 75005) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

78:                                               ; preds = %65
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 204928, i32 noundef 76770, i32 noundef 121, i32 noundef 74813) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

79:                                               ; preds = %75, %63
  ret void
}

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 = { 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 = { "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 = { 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 = { 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 92}
!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 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!16 = !{!6, !7, i64 80}
!17 = !{!18, !7, i64 8}
!18 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16}
!19 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!20 = !{!7, !7, i64 0}
!21 = !{!18, !7, i64 0}
!22 = !{!18, !7, i64 16}


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