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

; 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 }

; 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

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

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

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

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

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 void @i64_store32(ptr noundef, i64 noundef, i64 noundef) #2

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

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

declare i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AnextObjectID0x280x29(ptr noundef, i32 noundef) #3

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

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

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

28:                                               ; preds = %2
  %29 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %29, ptr %8, align 4, !tbaa !9
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.w2c_hermes, ptr %30, i32 0, i32 6
  %32 = load i32, ptr %8, align 4, !tbaa !9
  %33 = zext i32 %32 to i64
  %34 = add i64 %33, 16
  %35 = call i32 @i32_load(ptr noundef %31, i64 noundef %34)
  store i32 %35, ptr %8, align 4, !tbaa !9
  %36 = load i32, ptr %8, align 4, !tbaa !9
  %37 = icmp ne i32 %36, 0
  br i1 %37, label %38, label %39

38:                                               ; preds = %28
  br label %248

39:                                               ; preds = %28
  %40 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %40, ptr %8, align 4, !tbaa !9
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.w2c_hermes, ptr %41, i32 0, i32 6
  %43 = load i32, ptr %8, align 4, !tbaa !9
  %44 = zext i32 %43 to i64
  %45 = add i64 %44, 504
  %46 = call i32 @i32_load(ptr noundef %42, i64 noundef %45)
  store i32 %46, ptr %8, align 4, !tbaa !9
  %47 = load i32, ptr %8, align 4, !tbaa !9
  %48 = icmp ne i32 %47, 0
  br i1 %48, label %49, label %50

49:                                               ; preds = %39
  br label %266

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

64:                                               ; preds = %50
  br label %284

65:                                               ; preds = %50
  %66 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %66, ptr %8, align 4, !tbaa !9
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.w2c_hermes, ptr %67, i32 0, i32 6
  %69 = load i32, ptr %8, align 4, !tbaa !9
  %70 = zext i32 %69 to i64
  %71 = add i64 %70, 600
  %72 = call i32 @i32_load(ptr noundef %68, i64 noundef %71)
  store i32 %72, ptr %8, align 4, !tbaa !9
  %73 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %73, ptr %9, align 4, !tbaa !9
  %74 = load ptr, ptr %3, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.w2c_hermes, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %9, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = add i64 %77, 596
  %79 = call i32 @i32_load(ptr noundef %75, i64 noundef %78)
  store i32 %79, ptr %9, align 4, !tbaa !9
  %80 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %80, ptr %6, align 4, !tbaa !9
  %81 = load i32, ptr %9, align 4, !tbaa !9
  %82 = load i32, ptr %8, align 4, !tbaa !9
  %83 = sub i32 %82, %81
  store i32 %83, ptr %8, align 4, !tbaa !9
  store i32 4111, ptr %9, align 4, !tbaa !9
  %84 = load i32, ptr %8, align 4, !tbaa !9
  %85 = load i32, ptr %9, align 4, !tbaa !9
  %86 = icmp ule i32 %84, %85
  %87 = zext i1 %86 to i32
  store i32 %87, ptr %8, align 4, !tbaa !9
  %88 = load i32, ptr %8, align 4, !tbaa !9
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %90, label %97

90:                                               ; preds = %65
  %91 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %91, ptr %8, align 4, !tbaa !9
  store i32 4112, ptr %9, align 4, !tbaa !9
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = load i32, ptr %8, align 4, !tbaa !9
  %94 = load i32, ptr %9, align 4, !tbaa !9
  %95 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocSlow0x28unsigned0x20int0x29(ptr noundef %92, i32 noundef %93, i32 noundef %94)
  store i32 %95, ptr %8, align 4, !tbaa !9
  %96 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %96, ptr %6, align 4, !tbaa !9
  br label %115

97:                                               ; preds = %65
  %98 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %98, ptr %8, align 4, !tbaa !9
  %99 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %99, ptr %9, align 4, !tbaa !9
  store i32 4112, ptr %10, align 4, !tbaa !9
  %100 = load i32, ptr %10, align 4, !tbaa !9
  %101 = load i32, ptr %9, align 4, !tbaa !9
  %102 = add i32 %101, %100
  store i32 %102, ptr %9, align 4, !tbaa !9
  %103 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %103, ptr %5, align 4, !tbaa !9
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.w2c_hermes, ptr %104, i32 0, i32 6
  %106 = load i32, ptr %8, align 4, !tbaa !9
  %107 = zext i32 %106 to i64
  %108 = add i64 %107, 596
  %109 = load i32, ptr %9, align 4, !tbaa !9
  call void @i32_store(ptr noundef %105, i64 noundef %108, i32 noundef %109)
  %110 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %110, ptr %8, align 4, !tbaa !9
  %111 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %111, ptr %9, align 4, !tbaa !9
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = load i32, ptr %8, align 4, !tbaa !9
  %114 = load i32, ptr %9, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AAlignedHeapSegment0x3A0x3AcheckUnwritten0x28char0x2A0x2C0x20char0x2A0x29(ptr noundef %112, i32 noundef %113, i32 noundef %114)
  br label %115

115:                                              ; preds = %97, %90
  %116 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %116, ptr %8, align 4, !tbaa !9
  store i32 4, ptr %9, align 4, !tbaa !9
  %117 = load i32, ptr %9, align 4, !tbaa !9
  %118 = load i32, ptr %8, align 4, !tbaa !9
  %119 = add i32 %118, %117
  store i32 %119, ptr %8, align 4, !tbaa !9
  store i32 0, ptr %9, align 4, !tbaa !9
  store i32 4108, ptr %10, align 4, !tbaa !9
  %120 = load ptr, ptr %3, align 8, !tbaa !5
  %121 = load i32, ptr %8, align 4, !tbaa !9
  %122 = load i32, ptr %9, align 4, !tbaa !9
  %123 = load i32, ptr %10, align 4, !tbaa !9
  %124 = call i32 @w2c_hermes_0x5F_memset(ptr noundef %120, i32 noundef %121, i32 noundef %122, i32 noundef %123)
  store i32 %124, ptr %8, align 4, !tbaa !9
  %125 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %125, ptr %8, align 4, !tbaa !9
  store i32 52753, ptr %9, align 4, !tbaa !9
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.w2c_hermes, ptr %126, i32 0, i32 6
  %128 = load i32, ptr %8, align 4, !tbaa !9
  %129 = zext i32 %128 to i64
  %130 = add i64 %129, 4
  %131 = load i32, ptr %9, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %127, i64 noundef %130, i32 noundef %131)
  %132 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %132, ptr %8, align 4, !tbaa !9
  store i32 4112, ptr %9, align 4, !tbaa !9
  %133 = load i32, ptr %9, align 4, !tbaa !9
  %134 = load i32, ptr %8, align 4, !tbaa !9
  %135 = add i32 %134, %133
  store i32 %135, ptr %8, align 4, !tbaa !9
  %136 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %136, ptr %7, align 4, !tbaa !9
  %137 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %137, ptr %8, align 4, !tbaa !9
  store i32 16, ptr %9, align 4, !tbaa !9
  %138 = load i32, ptr %9, align 4, !tbaa !9
  %139 = load i32, ptr %8, align 4, !tbaa !9
  %140 = add i32 %139, %138
  store i32 %140, ptr %8, align 4, !tbaa !9
  %141 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %141, ptr %5, align 4, !tbaa !9
  br label %142

142:                                              ; preds = %210, %115
  %143 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %143, ptr %8, align 4, !tbaa !9
  store i64 60129542158, ptr %13, align 8, !tbaa !11
  %144 = load ptr, ptr %3, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.w2c_hermes, ptr %144, i32 0, i32 6
  %146 = load i32, ptr %8, align 4, !tbaa !9
  %147 = zext i32 %146 to i64
  %148 = add i64 %147, 56
  %149 = load i64, ptr %13, align 8, !tbaa !11
  call void @i64_store(ptr noundef %145, i64 noundef %148, i64 noundef %149)
  %150 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %150, ptr %8, align 4, !tbaa !9
  store i64 60129542158, ptr %13, align 8, !tbaa !11
  %151 = load ptr, ptr %3, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.w2c_hermes, ptr %151, i32 0, i32 6
  %153 = load i32, ptr %8, align 4, !tbaa !9
  %154 = zext i32 %153 to i64
  %155 = add i64 %154, 48
  %156 = load i64, ptr %13, align 8, !tbaa !11
  call void @i64_store(ptr noundef %152, i64 noundef %155, i64 noundef %156)
  %157 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %157, ptr %8, align 4, !tbaa !9
  store i64 60129542158, ptr %13, align 8, !tbaa !11
  %158 = load ptr, ptr %3, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.w2c_hermes, ptr %158, i32 0, i32 6
  %160 = load i32, ptr %8, align 4, !tbaa !9
  %161 = zext i32 %160 to i64
  %162 = add i64 %161, 40
  %163 = load i64, ptr %13, align 8, !tbaa !11
  call void @i64_store(ptr noundef %159, i64 noundef %162, i64 noundef %163)
  %164 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %164, ptr %8, align 4, !tbaa !9
  store i64 60129542158, ptr %13, align 8, !tbaa !11
  %165 = load ptr, ptr %3, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.w2c_hermes, ptr %165, i32 0, i32 6
  %167 = load i32, ptr %8, align 4, !tbaa !9
  %168 = zext i32 %167 to i64
  %169 = add i64 %168, 32
  %170 = load i64, ptr %13, align 8, !tbaa !11
  call void @i64_store(ptr noundef %166, i64 noundef %169, i64 noundef %170)
  %171 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %171, ptr %8, align 4, !tbaa !9
  store i64 60129542158, ptr %13, align 8, !tbaa !11
  %172 = load ptr, ptr %3, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.w2c_hermes, ptr %172, i32 0, i32 6
  %174 = load i32, ptr %8, align 4, !tbaa !9
  %175 = zext i32 %174 to i64
  %176 = add i64 %175, 24
  %177 = load i64, ptr %13, align 8, !tbaa !11
  call void @i64_store(ptr noundef %173, i64 noundef %176, i64 noundef %177)
  %178 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %178, ptr %8, align 4, !tbaa !9
  store i64 60129542158, ptr %13, align 8, !tbaa !11
  %179 = load ptr, ptr %3, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.w2c_hermes, ptr %179, i32 0, i32 6
  %181 = load i32, ptr %8, align 4, !tbaa !9
  %182 = zext i32 %181 to i64
  %183 = add i64 %182, 16
  %184 = load i64, ptr %13, align 8, !tbaa !11
  call void @i64_store(ptr noundef %180, i64 noundef %183, i64 noundef %184)
  %185 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %185, ptr %8, align 4, !tbaa !9
  store i64 60129542158, ptr %13, align 8, !tbaa !11
  %186 = load ptr, ptr %3, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.w2c_hermes, ptr %186, i32 0, i32 6
  %188 = load i32, ptr %8, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = add i64 %189, 8
  %191 = load i64, ptr %13, align 8, !tbaa !11
  call void @i64_store(ptr noundef %187, i64 noundef %190, i64 noundef %191)
  %192 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %192, ptr %8, align 4, !tbaa !9
  store i64 60129542158, ptr %13, align 8, !tbaa !11
  %193 = load ptr, ptr %3, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.w2c_hermes, ptr %193, i32 0, i32 6
  %195 = load i32, ptr %8, align 4, !tbaa !9
  %196 = zext i32 %195 to i64
  %197 = load i64, ptr %13, align 8, !tbaa !11
  call void @i64_store(ptr noundef %194, i64 noundef %196, i64 noundef %197)
  %198 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %198, ptr %8, align 4, !tbaa !9
  store i32 -64, ptr %9, align 4, !tbaa !9
  %199 = load i32, ptr %9, align 4, !tbaa !9
  %200 = load i32, ptr %8, align 4, !tbaa !9
  %201 = sub i32 %200, %199
  store i32 %201, ptr %8, align 4, !tbaa !9
  %202 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %202, ptr %5, align 4, !tbaa !9
  %203 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %203, ptr %9, align 4, !tbaa !9
  %204 = load i32, ptr %8, align 4, !tbaa !9
  %205 = load i32, ptr %9, align 4, !tbaa !9
  %206 = icmp ne i32 %204, %205
  %207 = zext i1 %206 to i32
  store i32 %207, ptr %8, align 4, !tbaa !9
  %208 = load i32, ptr %8, align 4, !tbaa !9
  %209 = icmp ne i32 %208, 0
  br i1 %209, label %210, label %211

210:                                              ; preds = %142
  br label %142

211:                                              ; preds = %142
  %212 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %212, ptr %8, align 4, !tbaa !9
  store i32 318771216, ptr %9, align 4, !tbaa !9
  %213 = load ptr, ptr %3, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.w2c_hermes, ptr %213, i32 0, i32 6
  %215 = load i32, ptr %8, align 4, !tbaa !9
  %216 = zext i32 %215 to i64
  %217 = load i32, ptr %9, align 4, !tbaa !9
  call void @i32_store(ptr noundef %214, i64 noundef %216, i32 noundef %217)
  %218 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %218, ptr %8, align 4, !tbaa !9
  %219 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %219, ptr %9, align 4, !tbaa !9
  %220 = load ptr, ptr %3, align 8, !tbaa !5
  %221 = load i32, ptr %9, align 4, !tbaa !9
  %222 = call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AnextObjectID0x280x29(ptr noundef %220, i32 noundef %221)
  store i64 %222, ptr %13, align 8, !tbaa !11
  %223 = load ptr, ptr %3, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.w2c_hermes, ptr %223, i32 0, i32 6
  %225 = load i32, ptr %8, align 4, !tbaa !9
  %226 = zext i32 %225 to i64
  %227 = add i64 %226, 8
  %228 = load i64, ptr %13, align 8, !tbaa !11
  call void @i64_store32(ptr noundef %224, i64 noundef %227, i64 noundef %228)
  %229 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %229, ptr %8, align 4, !tbaa !9
  br label %302

230:                                              ; preds = %2
  store i32 0, ptr %8, align 4, !tbaa !9
  %231 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %231, ptr %5, align 4, !tbaa !9
  store i32 195321, ptr %9, align 4, !tbaa !9
  %232 = load i32, ptr %9, align 4, !tbaa !9
  %233 = load i32, ptr %8, align 4, !tbaa !9
  %234 = add i32 %233, %232
  store i32 %234, ptr %8, align 4, !tbaa !9
  %235 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %235, ptr %9, align 4, !tbaa !9
  store i32 84070, ptr %10, align 4, !tbaa !9
  %236 = load i32, ptr %10, align 4, !tbaa !9
  %237 = load i32, ptr %9, align 4, !tbaa !9
  %238 = add i32 %237, %236
  store i32 %238, ptr %9, align 4, !tbaa !9
  store i32 30, ptr %10, align 4, !tbaa !9
  %239 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %239, ptr %11, align 4, !tbaa !9
  store i32 103662, ptr %12, align 4, !tbaa !9
  %240 = load i32, ptr %12, align 4, !tbaa !9
  %241 = load i32, ptr %11, align 4, !tbaa !9
  %242 = add i32 %241, %240
  store i32 %242, ptr %11, align 4, !tbaa !9
  %243 = load ptr, ptr %3, align 8, !tbaa !5
  %244 = load i32, ptr %8, align 4, !tbaa !9
  %245 = load i32, ptr %9, align 4, !tbaa !9
  %246 = load i32, ptr %10, align 4, !tbaa !9
  %247 = load i32, ptr %11, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %243, i32 noundef %244, i32 noundef %245, i32 noundef %246, i32 noundef %247)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

248:                                              ; preds = %38
  store i32 0, ptr %8, align 4, !tbaa !9
  %249 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %249, ptr %5, align 4, !tbaa !9
  store i32 192953, ptr %9, align 4, !tbaa !9
  %250 = load i32, ptr %9, align 4, !tbaa !9
  %251 = load i32, ptr %8, align 4, !tbaa !9
  %252 = add i32 %251, %250
  store i32 %252, ptr %8, align 4, !tbaa !9
  %253 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %253, ptr %9, align 4, !tbaa !9
  store i32 84070, ptr %10, align 4, !tbaa !9
  %254 = load i32, ptr %10, align 4, !tbaa !9
  %255 = load i32, ptr %9, align 4, !tbaa !9
  %256 = add i32 %255, %254
  store i32 %256, ptr %9, align 4, !tbaa !9
  store i32 63, ptr %10, align 4, !tbaa !9
  %257 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %257, ptr %11, align 4, !tbaa !9
  store i32 109843, ptr %12, align 4, !tbaa !9
  %258 = load i32, ptr %12, align 4, !tbaa !9
  %259 = load i32, ptr %11, align 4, !tbaa !9
  %260 = add i32 %259, %258
  store i32 %260, ptr %11, align 4, !tbaa !9
  %261 = load ptr, ptr %3, align 8, !tbaa !5
  %262 = load i32, ptr %8, align 4, !tbaa !9
  %263 = load i32, ptr %9, align 4, !tbaa !9
  %264 = load i32, ptr %10, align 4, !tbaa !9
  %265 = load i32, ptr %11, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %261, i32 noundef %262, i32 noundef %263, i32 noundef %264, i32 noundef %265)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

266:                                              ; preds = %49
  store i32 0, ptr %8, align 4, !tbaa !9
  %267 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %267, ptr %5, align 4, !tbaa !9
  store i32 189195, ptr %9, align 4, !tbaa !9
  %268 = load i32, ptr %9, align 4, !tbaa !9
  %269 = load i32, ptr %8, align 4, !tbaa !9
  %270 = add i32 %269, %268
  store i32 %270, ptr %8, align 4, !tbaa !9
  %271 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %271, ptr %9, align 4, !tbaa !9
  store i32 86379, ptr %10, align 4, !tbaa !9
  %272 = load i32, ptr %10, align 4, !tbaa !9
  %273 = load i32, ptr %9, align 4, !tbaa !9
  %274 = add i32 %273, %272
  store i32 %274, ptr %9, align 4, !tbaa !9
  store i32 1091, ptr %10, align 4, !tbaa !9
  %275 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %275, ptr %11, align 4, !tbaa !9
  store i32 109843, ptr %12, align 4, !tbaa !9
  %276 = load i32, ptr %12, align 4, !tbaa !9
  %277 = load i32, ptr %11, align 4, !tbaa !9
  %278 = add i32 %277, %276
  store i32 %278, ptr %11, align 4, !tbaa !9
  %279 = load ptr, ptr %3, align 8, !tbaa !5
  %280 = load i32, ptr %8, align 4, !tbaa !9
  %281 = load i32, ptr %9, align 4, !tbaa !9
  %282 = load i32, ptr %10, align 4, !tbaa !9
  %283 = load i32, ptr %11, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %279, i32 noundef %280, i32 noundef %281, i32 noundef %282, i32 noundef %283)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

284:                                              ; preds = %64
  store i32 0, ptr %8, align 4, !tbaa !9
  %285 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %285, ptr %5, align 4, !tbaa !9
  store i32 131267, ptr %9, align 4, !tbaa !9
  %286 = load i32, ptr %9, align 4, !tbaa !9
  %287 = load i32, ptr %8, align 4, !tbaa !9
  %288 = add i32 %287, %286
  store i32 %288, ptr %8, align 4, !tbaa !9
  %289 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %289, ptr %9, align 4, !tbaa !9
  store i32 77414, ptr %10, align 4, !tbaa !9
  %290 = load i32, ptr %10, align 4, !tbaa !9
  %291 = load i32, ptr %9, align 4, !tbaa !9
  %292 = add i32 %291, %290
  store i32 %292, ptr %9, align 4, !tbaa !9
  store i32 307, ptr %10, align 4, !tbaa !9
  %293 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %293, ptr %11, align 4, !tbaa !9
  store i32 107220, ptr %12, align 4, !tbaa !9
  %294 = load i32, ptr %12, align 4, !tbaa !9
  %295 = load i32, ptr %11, align 4, !tbaa !9
  %296 = add i32 %295, %294
  store i32 %296, ptr %11, align 4, !tbaa !9
  %297 = load ptr, ptr %3, align 8, !tbaa !5
  %298 = load i32, ptr %8, align 4, !tbaa !9
  %299 = load i32, ptr %9, align 4, !tbaa !9
  %300 = load i32, ptr %10, align 4, !tbaa !9
  %301 = load i32, ptr %11, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %297, i32 noundef %298, i32 noundef %299, i32 noundef %300, i32 noundef %301)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

302:                                              ; preds = %211
  %303 = load i32, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  ret i32 %303
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 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 #5 = { nounwind }
attributes #6 = { 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, !12, i64 0}
!12 = !{!"long", !7, 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"

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

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

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

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

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

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

declare i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AnextObjectID0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #2

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ASegmentedArrayBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3ASegment0x2A0x20hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AmakeAFixed0x3Chermes0x3A0x3Avm0x3A0x3ASegmentedArrayBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3ASegment0x2C0x200x28hermes0x3A0x3Avm0x3A0x3AHasFinalizer0x2900x2C0x200x28hermes0x3A0x3Avm0x3A0x3ALongLived0x2900x3E0x280x29(ptr noundef %0, i32 noundef %1) local_unnamed_addr #3 {
  %3 = getelementptr inbounds i8, ptr %0, i64 40
  %4 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef 297588)
  %5 = zext i32 %4 to i64
  %6 = add nuw nsw i64 %5, 12
  %7 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %6)
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %49, label %8

8:                                                ; preds = %2
  %9 = add nuw nsw i64 %5, 16
  %10 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %9)
  %.not177 = icmp eq i32 %10, 0
  br i1 %.not177, label %11, label %50

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

15:                                               ; preds = %11
  %16 = add nuw nsw i64 %12, 588
  %17 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %16)
  %.not179 = icmp eq i32 %17, 0
  br i1 %.not179, label %52, label %18

18:                                               ; preds = %15
  %19 = add nuw nsw i64 %12, 600
  %20 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %19)
  %21 = add nuw nsw i64 %12, 596
  %22 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %21)
  %23 = sub i32 %20, %22
  %24 = icmp ult i32 %23, 4112
  br i1 %24, label %25, label %27

25:                                               ; preds = %18
  %26 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocSlow0x28unsigned0x20int0x29(ptr noundef %0, i32 noundef %1, i32 noundef 4112) #4
  br label %29

27:                                               ; preds = %18
  %28 = add i32 %22, 4112
  tail call void @i32_store(ptr noundef nonnull %3, i64 noundef %21, i32 noundef %28)
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AAlignedHeapSegment0x3A0x3AcheckUnwritten0x28char0x2A0x2C0x20char0x2A0x29(ptr noundef %0, i32 noundef %22, i32 noundef %28) #4
  br label %29

29:                                               ; preds = %27, %25
  %.0 = phi i32 [ %26, %25 ], [ %22, %27 ]
  %30 = add i32 %.0, 4
  %31 = tail call i32 @w2c_hermes_0x5F_memset(ptr noundef %0, i32 noundef %30, i32 noundef 0, i32 noundef 4108) #4
  %32 = zext i32 %.0 to i64
  %33 = add nuw nsw i64 %32, 4
  tail call void @i32_store16(ptr noundef nonnull %3, i64 noundef %33, i32 noundef 52753)
  %34 = add i32 %.0, 16
  %35 = add i32 %.0, 4048
  br label %36

36:                                               ; preds = %36, %29
  %.0176 = phi i32 [ %34, %29 ], [ %45, %36 ]
  %37 = zext i32 %.0176 to i64
  %38 = add nuw nsw i64 %37, 56
  tail call void @i64_store(ptr noundef nonnull %3, i64 noundef %38, i64 noundef 60129542158)
  %39 = add nuw nsw i64 %37, 48
  tail call void @i64_store(ptr noundef nonnull %3, i64 noundef %39, i64 noundef 60129542158)
  %40 = add nuw nsw i64 %37, 40
  tail call void @i64_store(ptr noundef nonnull %3, i64 noundef %40, i64 noundef 60129542158)
  %41 = add nuw nsw i64 %37, 32
  tail call void @i64_store(ptr noundef nonnull %3, i64 noundef %41, i64 noundef 60129542158)
  %42 = add nuw nsw i64 %37, 24
  tail call void @i64_store(ptr noundef nonnull %3, i64 noundef %42, i64 noundef 60129542158)
  %43 = add nuw nsw i64 %37, 16
  tail call void @i64_store(ptr noundef nonnull %3, i64 noundef %43, i64 noundef 60129542158)
  %44 = add nuw nsw i64 %37, 8
  tail call void @i64_store(ptr noundef nonnull %3, i64 noundef %44, i64 noundef 60129542158)
  tail call void @i64_store(ptr noundef nonnull %3, i64 noundef %37, i64 noundef 60129542158)
  %45 = add i32 %.0176, 64
  %.not180 = icmp eq i32 %.0176, %35
  br i1 %.not180, label %46, label %36

46:                                               ; preds = %36
  tail call void @i32_store(ptr noundef nonnull %3, i64 noundef %32, i32 noundef 318771216)
  %47 = tail call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AnextObjectID0x280x29(ptr noundef %0, i32 noundef %1) #4
  %48 = add nuw nsw i64 %32, 8
  tail call void @i64_store32(ptr noundef nonnull %3, i64 noundef %48, i64 noundef %47)
  ret i32 %.0

49:                                               ; preds = %2
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 195321, i32 noundef 84070, i32 noundef 30, i32 noundef 103662) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

50:                                               ; preds = %8
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 192953, i32 noundef 84070, i32 noundef 63, i32 noundef 109843) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

51:                                               ; preds = %11
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 189195, i32 noundef 86379, i32 noundef 1091, i32 noundef 109843) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

52:                                               ; preds = %15
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 131267, i32 noundef 77414, i32 noundef 307, i32 noundef 107220) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

attributes #0 = { 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 #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 = { "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)"}


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