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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3AStringTable0x3A0x3AgetString0x28llvh0x3A0x3AStringRef0x29(ptr noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3AFunction0x3A0x3AFunction0x28hermes0x3A0x3AValueKind0x2C0x20hermes0x3A0x3AModule0x2A0x2C0x20hermes0x3A0x3AScopeDesc0x2A0x2C0x20hermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AFunction0x3A0x3ADefinitionKind0x2C0x20bool0x2C0x20hermes0x3A0x3ASourceVisibility0x2C0x20bool0x2C0x20llvh0x3A0x3ASMRange0x2C0x20hermes0x3A0x3AFunction0x2A0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

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

60:                                               ; preds = %10
  %61 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %61, ptr %24, align 4, !tbaa !9
  %62 = load ptr, ptr %11, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.w2c_hermes, ptr %62, i32 0, i32 6
  %64 = load i32, ptr %24, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = call i64 @i64_load(ptr noundef %63, i64 noundef %65)
  store i64 %66, ptr %35, align 8, !tbaa !11
  %67 = load i64, ptr %35, align 8, !tbaa !11
  store i64 %67, ptr %23, align 8, !tbaa !11
  br label %129

68:                                               ; preds = %10
  %69 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %69, ptr %24, align 4, !tbaa !9
  %70 = load ptr, ptr %11, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.w2c_hermes, ptr %70, i32 0, i32 6
  %72 = load i32, ptr %24, align 4, !tbaa !9
  %73 = zext i32 %72 to i64
  %74 = call i32 @i32_load(ptr noundef %71, i64 noundef %73)
  store i32 %74, ptr %24, align 4, !tbaa !9
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.w2c_hermes, ptr %75, i32 0, i32 6
  %77 = load i32, ptr %24, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  %79 = add i64 %78, 28
  %80 = call i32 @i32_load(ptr noundef %76, i64 noundef %79)
  store i32 %80, ptr %24, align 4, !tbaa !9
  %81 = load i32, ptr %24, align 4, !tbaa !9
  store i32 %81, ptr %22, align 4, !tbaa !9
  %82 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %82, ptr %24, align 4, !tbaa !9
  %83 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %83, ptr %25, align 4, !tbaa !9
  %84 = load ptr, ptr %11, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.w2c_hermes, ptr %84, i32 0, i32 6
  %86 = load i32, ptr %25, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = call i64 @i64_load(ptr noundef %85, i64 noundef %87)
  store i64 %88, ptr %36, align 8, !tbaa !11
  %89 = load i64, ptr %36, align 8, !tbaa !11
  store i64 %89, ptr %23, align 8, !tbaa !11
  %90 = load ptr, ptr %11, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.w2c_hermes, ptr %90, i32 0, i32 6
  %92 = load i32, ptr %24, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = add i64 %93, 16
  %95 = load i64, ptr %36, align 8, !tbaa !11
  call void @i64_store(ptr noundef %91, i64 noundef %94, i64 noundef %95)
  %96 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %96, ptr %24, align 4, !tbaa !9
  %97 = load i64, ptr %23, align 8, !tbaa !11
  store i64 %97, ptr %36, align 8, !tbaa !11
  %98 = load ptr, ptr %11, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.w2c_hermes, ptr %98, i32 0, i32 6
  %100 = load i32, ptr %24, align 4, !tbaa !9
  %101 = zext i32 %100 to i64
  %102 = add i64 %101, 24
  %103 = load i64, ptr %36, align 8, !tbaa !11
  call void @i64_store(ptr noundef %99, i64 noundef %102, i64 noundef %103)
  %104 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %104, ptr %24, align 4, !tbaa !9
  store i32 36, ptr %25, align 4, !tbaa !9
  %105 = load i32, ptr %25, align 4, !tbaa !9
  %106 = load i32, ptr %24, align 4, !tbaa !9
  %107 = add i32 %106, %105
  store i32 %107, ptr %24, align 4, !tbaa !9
  %108 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %108, ptr %25, align 4, !tbaa !9
  store i32 16, ptr %26, align 4, !tbaa !9
  %109 = load i32, ptr %26, align 4, !tbaa !9
  %110 = load i32, ptr %25, align 4, !tbaa !9
  %111 = add i32 %110, %109
  store i32 %111, ptr %25, align 4, !tbaa !9
  %112 = load ptr, ptr %11, align 8, !tbaa !5
  %113 = load i32, ptr %24, align 4, !tbaa !9
  %114 = load i32, ptr %25, align 4, !tbaa !9
  %115 = call i32 @w2c_hermes_hermes0x3A0x3AStringTable0x3A0x3AgetString0x28llvh0x3A0x3AStringRef0x29(ptr noundef %112, i32 noundef %113, i32 noundef %114)
  store i32 %115, ptr %24, align 4, !tbaa !9
  %116 = load i32, ptr %24, align 4, !tbaa !9
  store i32 %116, ptr %14, align 4, !tbaa !9
  %117 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %117, ptr %24, align 4, !tbaa !9
  %118 = load ptr, ptr %11, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.w2c_hermes, ptr %118, i32 0, i32 6
  %120 = load i32, ptr %24, align 4, !tbaa !9
  %121 = zext i32 %120 to i64
  %122 = call i64 @i64_load(ptr noundef %119, i64 noundef %121)
  store i64 %122, ptr %35, align 8, !tbaa !11
  %123 = load i64, ptr %35, align 8, !tbaa !11
  store i64 %123, ptr %23, align 8, !tbaa !11
  %124 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %124, ptr %24, align 4, !tbaa !9
  %125 = load i32, ptr %24, align 4, !tbaa !9
  %126 = icmp ne i32 %125, 0
  br i1 %126, label %127, label %128

127:                                              ; preds = %68
  br label %184

128:                                              ; preds = %68
  br label %129

129:                                              ; preds = %128, %60
  %130 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %130, ptr %24, align 4, !tbaa !9
  %131 = load ptr, ptr %11, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.w2c_hermes, ptr %131, i32 0, i32 6
  %133 = load i32, ptr %24, align 4, !tbaa !9
  %134 = zext i32 %133 to i64
  %135 = call i32 @i32_load(ptr noundef %132, i64 noundef %134)
  store i32 %135, ptr %24, align 4, !tbaa !9
  %136 = load ptr, ptr %11, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.w2c_hermes, ptr %136, i32 0, i32 6
  %138 = load i32, ptr %24, align 4, !tbaa !9
  %139 = zext i32 %138 to i64
  %140 = add i64 %139, 28
  %141 = call i32 @i32_load(ptr noundef %137, i64 noundef %140)
  store i32 %141, ptr %24, align 4, !tbaa !9
  %142 = load i32, ptr %24, align 4, !tbaa !9
  store i32 %142, ptr %14, align 4, !tbaa !9
  %143 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %143, ptr %24, align 4, !tbaa !9
  store i32 0, ptr %25, align 4, !tbaa !9
  %144 = load ptr, ptr %11, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.w2c_hermes, ptr %144, i32 0, i32 6
  %146 = load i32, ptr %24, align 4, !tbaa !9
  %147 = zext i32 %146 to i64
  %148 = add i64 %147, 28
  %149 = load i32, ptr %25, align 4, !tbaa !9
  call void @i32_store(ptr noundef %145, i64 noundef %148, i32 noundef %149)
  %150 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %150, ptr %24, align 4, !tbaa !9
  store i32 213048, ptr %25, align 4, !tbaa !9
  %151 = load ptr, ptr %11, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.w2c_hermes, ptr %151, i32 0, i32 6
  %153 = load i32, ptr %24, align 4, !tbaa !9
  %154 = zext i32 %153 to i64
  %155 = add i64 %154, 24
  %156 = load i32, ptr %25, align 4, !tbaa !9
  call void @i32_store(ptr noundef %152, i64 noundef %155, i32 noundef %156)
  %157 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %157, ptr %24, align 4, !tbaa !9
  %158 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %158, ptr %25, align 4, !tbaa !9
  %159 = load ptr, ptr %11, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.w2c_hermes, ptr %159, i32 0, i32 6
  %161 = load i32, ptr %25, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = add i64 %162, 24
  %164 = call i64 @i64_load(ptr noundef %160, i64 noundef %163)
  store i64 %164, ptr %36, align 8, !tbaa !11
  %165 = load ptr, ptr %11, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.w2c_hermes, ptr %165, i32 0, i32 6
  %167 = load i32, ptr %24, align 4, !tbaa !9
  %168 = zext i32 %167 to i64
  %169 = add i64 %168, 8
  %170 = load i64, ptr %36, align 8, !tbaa !11
  call void @i64_store(ptr noundef %166, i64 noundef %169, i64 noundef %170)
  %171 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %171, ptr %24, align 4, !tbaa !9
  store i32 36, ptr %25, align 4, !tbaa !9
  %172 = load i32, ptr %25, align 4, !tbaa !9
  %173 = load i32, ptr %24, align 4, !tbaa !9
  %174 = add i32 %173, %172
  store i32 %174, ptr %24, align 4, !tbaa !9
  %175 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %175, ptr %25, align 4, !tbaa !9
  store i32 8, ptr %26, align 4, !tbaa !9
  %176 = load i32, ptr %26, align 4, !tbaa !9
  %177 = load i32, ptr %25, align 4, !tbaa !9
  %178 = add i32 %177, %176
  store i32 %178, ptr %25, align 4, !tbaa !9
  %179 = load ptr, ptr %11, align 8, !tbaa !5
  %180 = load i32, ptr %24, align 4, !tbaa !9
  %181 = load i32, ptr %25, align 4, !tbaa !9
  %182 = call i32 @w2c_hermes_hermes0x3A0x3AStringTable0x3A0x3AgetString0x28llvh0x3A0x3AStringRef0x29(ptr noundef %179, i32 noundef %180, i32 noundef %181)
  store i32 %182, ptr %24, align 4, !tbaa !9
  %183 = load i32, ptr %24, align 4, !tbaa !9
  store i32 %183, ptr %14, align 4, !tbaa !9
  br label %184

184:                                              ; preds = %129, %127
  store i32 176, ptr %24, align 4, !tbaa !9
  %185 = load ptr, ptr %11, align 8, !tbaa !5
  %186 = load i32, ptr %24, align 4, !tbaa !9
  %187 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %185, i32 noundef %186)
  store i32 %187, ptr %24, align 4, !tbaa !9
  %188 = load i32, ptr %24, align 4, !tbaa !9
  store i32 %188, ptr %18, align 4, !tbaa !9
  %189 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %189, ptr %24, align 4, !tbaa !9
  %190 = load ptr, ptr %11, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.w2c_hermes, ptr %190, i32 0, i32 6
  %192 = load i32, ptr %24, align 4, !tbaa !9
  %193 = zext i32 %192 to i64
  %194 = call i32 @i32_load(ptr noundef %191, i64 noundef %193)
  store i32 %194, ptr %24, align 4, !tbaa !9
  %195 = load i32, ptr %24, align 4, !tbaa !9
  store i32 %195, ptr %12, align 4, !tbaa !9
  %196 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %196, ptr %24, align 4, !tbaa !9
  %197 = load i64, ptr %23, align 8, !tbaa !11
  store i64 %197, ptr %36, align 8, !tbaa !11
  %198 = load ptr, ptr %11, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.w2c_hermes, ptr %198, i32 0, i32 6
  %200 = load i32, ptr %24, align 4, !tbaa !9
  %201 = zext i32 %200 to i64
  %202 = load i64, ptr %36, align 8, !tbaa !11
  call void @i64_store(ptr noundef %199, i64 noundef %201, i64 noundef %202)
  %203 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %203, ptr %24, align 4, !tbaa !9
  %204 = load i64, ptr %23, align 8, !tbaa !11
  store i64 %204, ptr %36, align 8, !tbaa !11
  %205 = load ptr, ptr %11, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.w2c_hermes, ptr %205, i32 0, i32 6
  %207 = load i32, ptr %24, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = add i64 %208, 24
  %210 = load i64, ptr %36, align 8, !tbaa !11
  call void @i64_store(ptr noundef %206, i64 noundef %209, i64 noundef %210)
  %211 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %211, ptr %24, align 4, !tbaa !9
  store i32 128, ptr %25, align 4, !tbaa !9
  %212 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %212, ptr %26, align 4, !tbaa !9
  %213 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %213, ptr %27, align 4, !tbaa !9
  %214 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %214, ptr %28, align 4, !tbaa !9
  %215 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %215, ptr %29, align 4, !tbaa !9
  %216 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %216, ptr %30, align 4, !tbaa !9
  %217 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %217, ptr %31, align 4, !tbaa !9
  %218 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %218, ptr %32, align 4, !tbaa !9
  %219 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %219, ptr %33, align 4, !tbaa !9
  %220 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %220, ptr %34, align 4, !tbaa !9
  %221 = load ptr, ptr %11, align 8, !tbaa !5
  %222 = load i32, ptr %24, align 4, !tbaa !9
  %223 = load i32, ptr %25, align 4, !tbaa !9
  %224 = load i32, ptr %26, align 4, !tbaa !9
  %225 = load i32, ptr %27, align 4, !tbaa !9
  %226 = load i32, ptr %28, align 4, !tbaa !9
  %227 = load i32, ptr %29, align 4, !tbaa !9
  %228 = load i32, ptr %30, align 4, !tbaa !9
  %229 = load i32, ptr %31, align 4, !tbaa !9
  %230 = load i32, ptr %32, align 4, !tbaa !9
  %231 = load i32, ptr %33, align 4, !tbaa !9
  %232 = load i32, ptr %34, align 4, !tbaa !9
  %233 = call i32 @w2c_hermes_hermes0x3A0x3AFunction0x3A0x3AFunction0x28hermes0x3A0x3AValueKind0x2C0x20hermes0x3A0x3AModule0x2A0x2C0x20hermes0x3A0x3AScopeDesc0x2A0x2C0x20hermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AFunction0x3A0x3ADefinitionKind0x2C0x20bool0x2C0x20hermes0x3A0x3ASourceVisibility0x2C0x20bool0x2C0x20llvh0x3A0x3ASMRange0x2C0x20hermes0x3A0x3AFunction0x2A0x29(ptr noundef %221, i32 noundef %222, i32 noundef %223, i32 noundef %224, i32 noundef %225, i32 noundef %226, i32 noundef %227, i32 noundef %228, i32 noundef %229, i32 noundef %230, i32 noundef %231, i32 noundef %232)
  store i32 %233, ptr %24, align 4, !tbaa !9
  %234 = load i32, ptr %24, align 4, !tbaa !9
  store i32 %234, ptr %12, align 4, !tbaa !9
  %235 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %235, ptr %24, align 4, !tbaa !9
  store i32 32, ptr %25, align 4, !tbaa !9
  %236 = load i32, ptr %25, align 4, !tbaa !9
  %237 = load i32, ptr %24, align 4, !tbaa !9
  %238 = add i32 %237, %236
  store i32 %238, ptr %24, align 4, !tbaa !9
  %239 = load i32, ptr %24, align 4, !tbaa !9
  %240 = load ptr, ptr %11, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.w2c_hermes, ptr %240, i32 0, i32 3
  store i32 %239, ptr %241, align 8, !tbaa !13
  %242 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %242, ptr %24, align 4, !tbaa !9
  %243 = load i32, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  ret i32 %243
}

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 = { "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 }

!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}
!13 = !{!14, !10, i64 24}
!14 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !15, i64 40, !17, i64 80}
!15 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !16, i64 32}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}


; 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: 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 i64 @i64_load(ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateFunction0x28hermes0x3A0x3AScopeDesc0x2A0x2C0x20llvh0x3A0x3AStringRef0x2C0x20hermes0x3A0x3AFunction0x3A0x3ADefinitionKind0x2C0x20bool0x2C0x20hermes0x3A0x3ASourceVisibility0x2C0x20llvh0x3A0x3ASMRange0x2C0x20bool0x2C0x20hermes0x3A0x3AFunction0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9) local_unnamed_addr #2 {
  %11 = getelementptr inbounds i8, ptr %0, i64 24
  %12 = load i32, ptr %11, align 8, !tbaa !5
  %13 = add i32 %12, -32
  store i32 %13, ptr %11, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %0, i64 40
  %15 = zext i32 %3 to i64
  %16 = add nuw nsw i64 %15, 4
  %17 = tail call i32 @i32_load(ptr noundef nonnull %14, i64 noundef %16)
  %.not = icmp eq i32 %17, 0
  br i1 %.not, label %18, label %21

18:                                               ; preds = %10
  %19 = zext i32 %7 to i64
  %20 = tail call i64 @i64_load(ptr noundef nonnull %14, i64 noundef %19)
  %.pre = zext i32 %1 to i64
  %.pre130 = zext i32 %13 to i64
  %.pre132 = add nuw nsw i64 %.pre130, 24
  br label %36

21:                                               ; preds = %10
  %22 = zext i32 %1 to i64
  %23 = tail call i32 @i32_load(ptr noundef nonnull %14, i64 noundef %22)
  %24 = zext i32 %23 to i64
  %25 = add nuw nsw i64 %24, 28
  %26 = tail call i32 @i32_load(ptr noundef nonnull %14, i64 noundef %25)
  %27 = tail call i64 @i64_load(ptr noundef nonnull %14, i64 noundef %15)
  %28 = zext i32 %13 to i64
  %29 = add nuw nsw i64 %28, 16
  tail call void @i64_store(ptr noundef nonnull %14, i64 noundef %29, i64 noundef %27)
  %30 = add nuw nsw i64 %28, 24
  tail call void @i64_store(ptr noundef nonnull %14, i64 noundef %30, i64 noundef %27)
  %31 = add i32 %26, 36
  %32 = add i32 %12, -16
  %33 = tail call i32 @w2c_hermes_hermes0x3A0x3AStringTable0x3A0x3AgetString0x28llvh0x3A0x3AStringRef0x29(ptr noundef nonnull %0, i32 noundef %31, i32 noundef %32)
  %34 = zext i32 %7 to i64
  %35 = tail call i64 @i64_load(ptr noundef nonnull %14, i64 noundef %34)
  %.not129 = icmp eq i32 %33, 0
  br i1 %.not129, label %36, label %47

36:                                               ; preds = %21, %18
  %.pre-phi133 = phi i64 [ %30, %21 ], [ %.pre132, %18 ]
  %.pre-phi131 = phi i64 [ %28, %21 ], [ %.pre130, %18 ]
  %.pre-phi = phi i64 [ %22, %21 ], [ %.pre, %18 ]
  %.0127 = phi i64 [ %35, %21 ], [ %20, %18 ]
  %37 = tail call i32 @i32_load(ptr noundef nonnull %14, i64 noundef %.pre-phi)
  %38 = zext i32 %37 to i64
  %39 = add nuw nsw i64 %38, 28
  %40 = tail call i32 @i32_load(ptr noundef nonnull %14, i64 noundef %39)
  %41 = add nuw nsw i64 %.pre-phi131, 28
  tail call void @i32_store(ptr noundef nonnull %14, i64 noundef %41, i32 noundef 0)
  tail call void @i32_store(ptr noundef nonnull %14, i64 noundef %.pre-phi133, i32 noundef 213048)
  %42 = tail call i64 @i64_load(ptr noundef nonnull %14, i64 noundef %.pre-phi133)
  %43 = add nuw nsw i64 %.pre-phi131, 8
  tail call void @i64_store(ptr noundef nonnull %14, i64 noundef %43, i64 noundef %42)
  %44 = add i32 %40, 36
  %45 = add i32 %12, -24
  %46 = tail call i32 @w2c_hermes_hermes0x3A0x3AStringTable0x3A0x3AgetString0x28llvh0x3A0x3AStringRef0x29(ptr noundef nonnull %0, i32 noundef %44, i32 noundef %45)
  br label %47

47:                                               ; preds = %21, %36
  %.pre-phi136 = phi i64 [ %30, %21 ], [ %.pre-phi133, %36 ]
  %.pre-phi135 = phi i64 [ %28, %21 ], [ %.pre-phi131, %36 ]
  %.pre-phi134 = phi i64 [ %22, %21 ], [ %.pre-phi, %36 ]
  %.1 = phi i64 [ %35, %21 ], [ %.0127, %36 ]
  %.0 = phi i32 [ %33, %21 ], [ %46, %36 ]
  %48 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef 176) #3
  %49 = tail call i32 @i32_load(ptr noundef nonnull %14, i64 noundef %.pre-phi134)
  tail call void @i64_store(ptr noundef nonnull %14, i64 noundef %.pre-phi135, i64 noundef %.1)
  tail call void @i64_store(ptr noundef nonnull %14, i64 noundef %.pre-phi136, i64 noundef %.1)
  %50 = tail call i32 @w2c_hermes_hermes0x3A0x3AFunction0x3A0x3AFunction0x28hermes0x3A0x3AValueKind0x2C0x20hermes0x3A0x3AModule0x2A0x2C0x20hermes0x3A0x3AScopeDesc0x2A0x2C0x20hermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AFunction0x3A0x3ADefinitionKind0x2C0x20bool0x2C0x20hermes0x3A0x3ASourceVisibility0x2C0x20bool0x2C0x20llvh0x3A0x3ASMRange0x2C0x20hermes0x3A0x3AFunction0x2A0x29(ptr noundef nonnull %0, i32 noundef %48, i32 noundef 128, i32 noundef %49, i32 noundef %2, i32 noundef %.0, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %8, i32 noundef %13, i32 noundef %9)
  store i32 %12, ptr %11, align 8, !tbaa !5
  ret i32 %50
}

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 = { "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 = { 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}


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