; 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_hermes0x3A0x3AIRBuilder0x3A0x3AcreateGeneratorInnerFunction0x28hermes0x3A0x3AScopeDesc0x2A0x2C0x20hermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AFunction0x3A0x3ADefinitionKind0x2C0x20bool0x2C0x20llvh0x3A0x3ASMRange0x2C0x20hermes0x3A0x3AFunction0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #3 {
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %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 i64, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store i32 %1, ptr %10, align 4, !tbaa !9
  store i32 %2, ptr %11, align 4, !tbaa !9
  store i32 %3, ptr %12, align 4, !tbaa !9
  store i32 %4, ptr %13, align 4, !tbaa !9
  store i32 %5, ptr %14, align 4, !tbaa !9
  store i32 %6, ptr %15, align 4, !tbaa !9
  store i32 %7, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  store i64 0, ptr %19, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  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 8, ptr %31) #4
  %32 = load ptr, ptr %9, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.w2c_hermes, ptr %32, i32 0, i32 3
  %34 = load i32, ptr %33, align 8, !tbaa !13
  store i32 %34, ptr %20, align 4, !tbaa !9
  store i32 32, ptr %21, align 4, !tbaa !9
  %35 = load i32, ptr %21, align 4, !tbaa !9
  %36 = load i32, ptr %20, align 4, !tbaa !9
  %37 = sub i32 %36, %35
  store i32 %37, ptr %20, align 4, !tbaa !9
  %38 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %38, ptr %17, align 4, !tbaa !9
  %39 = load i32, ptr %20, align 4, !tbaa !9
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.w2c_hermes, ptr %40, i32 0, i32 3
  store i32 %39, ptr %41, align 8, !tbaa !13
  %42 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %42, ptr %20, align 4, !tbaa !9
  %43 = load i32, ptr %20, align 4, !tbaa !9
  %44 = icmp ne i32 %43, 0
  %45 = xor i1 %44, true
  %46 = zext i1 %45 to i32
  store i32 %46, ptr %20, align 4, !tbaa !9
  %47 = load i32, ptr %20, align 4, !tbaa !9
  %48 = icmp ne i32 %47, 0
  br i1 %48, label %49, label %104

49:                                               ; preds = %8
  %50 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %50, ptr %20, align 4, !tbaa !9
  %51 = load ptr, ptr %9, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.w2c_hermes, ptr %51, i32 0, i32 6
  %53 = load i32, ptr %20, align 4, !tbaa !9
  %54 = zext i32 %53 to i64
  %55 = call i32 @i32_load(ptr noundef %52, i64 noundef %54)
  store i32 %55, ptr %20, align 4, !tbaa !9
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.w2c_hermes, ptr %56, i32 0, i32 6
  %58 = load i32, ptr %20, align 4, !tbaa !9
  %59 = zext i32 %58 to i64
  %60 = add i64 %59, 28
  %61 = call i32 @i32_load(ptr noundef %57, i64 noundef %60)
  store i32 %61, ptr %20, align 4, !tbaa !9
  %62 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %62, ptr %12, align 4, !tbaa !9
  %63 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %63, ptr %20, align 4, !tbaa !9
  store i32 0, ptr %21, align 4, !tbaa !9
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.w2c_hermes, ptr %64, i32 0, i32 6
  %66 = load i32, ptr %20, align 4, !tbaa !9
  %67 = zext i32 %66 to i64
  %68 = add i64 %67, 28
  %69 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %65, i64 noundef %68, i32 noundef %69)
  %70 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %70, ptr %20, align 4, !tbaa !9
  store i32 213048, ptr %21, align 4, !tbaa !9
  %71 = load ptr, ptr %9, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.w2c_hermes, ptr %71, i32 0, i32 6
  %73 = load i32, ptr %20, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = add i64 %74, 24
  %76 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %72, i64 noundef %75, i32 noundef %76)
  %77 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %77, ptr %20, align 4, !tbaa !9
  %78 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %78, ptr %21, align 4, !tbaa !9
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.w2c_hermes, ptr %79, i32 0, i32 6
  %81 = load i32, ptr %21, align 4, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = add i64 %82, 24
  %84 = call i64 @i64_load(ptr noundef %80, i64 noundef %83)
  store i64 %84, ptr %31, align 8, !tbaa !11
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.w2c_hermes, ptr %85, i32 0, i32 6
  %87 = load i32, ptr %20, align 4, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = add i64 %88, 16
  %90 = load i64, ptr %31, align 8, !tbaa !11
  call void @i64_store(ptr noundef %86, i64 noundef %89, i64 noundef %90)
  %91 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %91, ptr %20, align 4, !tbaa !9
  store i32 36, ptr %21, align 4, !tbaa !9
  %92 = load i32, ptr %21, align 4, !tbaa !9
  %93 = load i32, ptr %20, align 4, !tbaa !9
  %94 = add i32 %93, %92
  store i32 %94, ptr %20, align 4, !tbaa !9
  %95 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %95, ptr %21, align 4, !tbaa !9
  store i32 16, ptr %22, align 4, !tbaa !9
  %96 = load i32, ptr %22, align 4, !tbaa !9
  %97 = load i32, ptr %21, align 4, !tbaa !9
  %98 = add i32 %97, %96
  store i32 %98, ptr %21, align 4, !tbaa !9
  %99 = load ptr, ptr %9, align 8, !tbaa !5
  %100 = load i32, ptr %20, align 4, !tbaa !9
  %101 = load i32, ptr %21, align 4, !tbaa !9
  %102 = call i32 @w2c_hermes_hermes0x3A0x3AStringTable0x3A0x3AgetString0x28llvh0x3A0x3AStringRef0x29(ptr noundef %99, i32 noundef %100, i32 noundef %101)
  store i32 %102, ptr %20, align 4, !tbaa !9
  %103 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %103, ptr %12, align 4, !tbaa !9
  br label %104

104:                                              ; preds = %49, %8
  store i32 176, ptr %20, align 4, !tbaa !9
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  %106 = load i32, ptr %20, align 4, !tbaa !9
  %107 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %105, i32 noundef %106)
  store i32 %107, ptr %20, align 4, !tbaa !9
  %108 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %108, ptr %18, align 4, !tbaa !9
  %109 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %109, ptr %20, align 4, !tbaa !9
  %110 = load ptr, ptr %9, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.w2c_hermes, ptr %110, i32 0, i32 6
  %112 = load i32, ptr %20, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = call i32 @i32_load(ptr noundef %111, i64 noundef %113)
  store i32 %114, ptr %20, align 4, !tbaa !9
  %115 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %115, ptr %10, align 4, !tbaa !9
  %116 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %116, ptr %20, align 4, !tbaa !9
  %117 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %117, ptr %21, align 4, !tbaa !9
  %118 = load ptr, ptr %9, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.w2c_hermes, ptr %118, i32 0, i32 6
  %120 = load i32, ptr %21, 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 %31, align 8, !tbaa !11
  %123 = load i64, ptr %31, align 8, !tbaa !11
  store i64 %123, ptr %19, align 8, !tbaa !11
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.w2c_hermes, ptr %124, i32 0, i32 6
  %126 = load i32, ptr %20, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = add i64 %127, 8
  %129 = load i64, ptr %31, align 8, !tbaa !11
  call void @i64_store(ptr noundef %125, i64 noundef %128, i64 noundef %129)
  %130 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %130, ptr %20, align 4, !tbaa !9
  %131 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %131, ptr %31, align 8, !tbaa !11
  %132 = load ptr, ptr %9, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.w2c_hermes, ptr %132, i32 0, i32 6
  %134 = load i32, ptr %20, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  %136 = add i64 %135, 24
  %137 = load i64, ptr %31, align 8, !tbaa !11
  call void @i64_store(ptr noundef %133, i64 noundef %136, i64 noundef %137)
  %138 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %138, ptr %20, align 4, !tbaa !9
  store i32 130, ptr %21, align 4, !tbaa !9
  %139 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %139, ptr %22, align 4, !tbaa !9
  %140 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %140, ptr %23, align 4, !tbaa !9
  %141 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %141, ptr %24, align 4, !tbaa !9
  %142 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %142, ptr %25, align 4, !tbaa !9
  %143 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %143, ptr %26, align 4, !tbaa !9
  store i32 2, ptr %27, align 4, !tbaa !9
  store i32 0, ptr %28, align 4, !tbaa !9
  %144 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %144, ptr %29, align 4, !tbaa !9
  store i32 8, ptr %30, align 4, !tbaa !9
  %145 = load i32, ptr %30, align 4, !tbaa !9
  %146 = load i32, ptr %29, align 4, !tbaa !9
  %147 = add i32 %146, %145
  store i32 %147, ptr %29, align 4, !tbaa !9
  %148 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %148, ptr %30, align 4, !tbaa !9
  %149 = load ptr, ptr %9, align 8, !tbaa !5
  %150 = load i32, ptr %20, align 4, !tbaa !9
  %151 = load i32, ptr %21, align 4, !tbaa !9
  %152 = load i32, ptr %22, align 4, !tbaa !9
  %153 = load i32, ptr %23, align 4, !tbaa !9
  %154 = load i32, ptr %24, align 4, !tbaa !9
  %155 = load i32, ptr %25, align 4, !tbaa !9
  %156 = load i32, ptr %26, align 4, !tbaa !9
  %157 = load i32, ptr %27, align 4, !tbaa !9
  %158 = load i32, ptr %28, align 4, !tbaa !9
  %159 = load i32, ptr %29, align 4, !tbaa !9
  %160 = load i32, ptr %30, align 4, !tbaa !9
  %161 = call i32 @w2c_hermes_hermes0x3A0x3AFunction0x3A0x3AFunction0x28hermes0x3A0x3AValueKind0x2C0x20hermes0x3A0x3AModule0x2A0x2C0x20hermes0x3A0x3AScopeDesc0x2A0x2C0x20hermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AFunction0x3A0x3ADefinitionKind0x2C0x20bool0x2C0x20hermes0x3A0x3ASourceVisibility0x2C0x20bool0x2C0x20llvh0x3A0x3ASMRange0x2C0x20hermes0x3A0x3AFunction0x2A0x29(ptr noundef %149, i32 noundef %150, i32 noundef %151, i32 noundef %152, i32 noundef %153, i32 noundef %154, i32 noundef %155, i32 noundef %156, i32 noundef %157, i32 noundef %158, i32 noundef %159, i32 noundef %160)
  store i32 %161, ptr %20, align 4, !tbaa !9
  %162 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %162, ptr %12, align 4, !tbaa !9
  store i32 459775, ptr %21, align 4, !tbaa !9
  %163 = load ptr, ptr %9, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.w2c_hermes, ptr %163, i32 0, i32 6
  %165 = load i32, ptr %20, align 4, !tbaa !9
  %166 = zext i32 %165 to i64
  %167 = add i64 %166, 10
  %168 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %164, i64 noundef %167, i32 noundef %168)
  %169 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %169, ptr %20, align 4, !tbaa !9
  store i32 32, ptr %21, align 4, !tbaa !9
  %170 = load i32, ptr %21, align 4, !tbaa !9
  %171 = load i32, ptr %20, align 4, !tbaa !9
  %172 = add i32 %171, %170
  store i32 %172, ptr %20, align 4, !tbaa !9
  %173 = load i32, ptr %20, align 4, !tbaa !9
  %174 = load ptr, ptr %9, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.w2c_hermes, ptr %174, i32 0, i32 3
  store i32 %173, ptr %175, align 8, !tbaa !13
  %176 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %176, ptr %20, align 4, !tbaa !9
  %177 = load i32, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, 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 4, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  ret i32 %177
}

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_hermes0x3A0x3AIRBuilder0x3A0x3AcreateGeneratorInnerFunction0x28hermes0x3A0x3AScopeDesc0x2A0x2C0x20hermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AFunction0x3A0x3ADefinitionKind0x2C0x20bool0x2C0x20llvh0x3A0x3ASMRange0x2C0x20hermes0x3A0x3AFunction0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #2 {
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  %10 = load i32, ptr %9, align 8, !tbaa !5
  %11 = add i32 %10, -32
  store i32 %11, ptr %9, align 8, !tbaa !5
  %.not = icmp eq i32 %3, 0
  br i1 %.not, label %12, label %._crit_edge

._crit_edge:                                      ; preds = %8
  %.pre = zext i32 %1 to i64
  %.pre92 = zext i32 %11 to i64
  %.pre94 = add nuw nsw i64 %.pre92, 24
  br label %27

12:                                               ; preds = %8
  %13 = getelementptr inbounds i8, ptr %0, i64 40
  %14 = zext i32 %1 to i64
  %15 = tail call i32 @i32_load(ptr noundef nonnull %13, i64 noundef %14)
  %16 = zext i32 %15 to i64
  %17 = add nuw nsw i64 %16, 28
  %18 = tail call i32 @i32_load(ptr noundef nonnull %13, i64 noundef %17)
  %19 = zext i32 %11 to i64
  %20 = add nuw nsw i64 %19, 28
  tail call void @i32_store(ptr noundef nonnull %13, i64 noundef %20, i32 noundef 0)
  %21 = add nuw nsw i64 %19, 24
  tail call void @i32_store(ptr noundef nonnull %13, i64 noundef %21, i32 noundef 213048)
  %22 = tail call i64 @i64_load(ptr noundef nonnull %13, i64 noundef %21)
  %23 = add nuw nsw i64 %19, 16
  tail call void @i64_store(ptr noundef nonnull %13, i64 noundef %23, i64 noundef %22)
  %24 = add i32 %18, 36
  %25 = add i32 %10, -16
  %26 = tail call i32 @w2c_hermes_hermes0x3A0x3AStringTable0x3A0x3AgetString0x28llvh0x3A0x3AStringRef0x29(ptr noundef nonnull %0, i32 noundef %24, i32 noundef %25)
  br label %27

27:                                               ; preds = %._crit_edge, %12
  %.pre-phi95 = phi i64 [ %.pre94, %._crit_edge ], [ %21, %12 ]
  %.pre-phi93 = phi i64 [ %.pre92, %._crit_edge ], [ %19, %12 ]
  %.pre-phi = phi i64 [ %.pre, %._crit_edge ], [ %14, %12 ]
  %.0 = phi i32 [ %3, %._crit_edge ], [ %26, %12 ]
  %28 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef 176) #3
  %29 = getelementptr inbounds i8, ptr %0, i64 40
  %30 = tail call i32 @i32_load(ptr noundef nonnull %29, i64 noundef %.pre-phi)
  %31 = zext i32 %6 to i64
  %32 = tail call i64 @i64_load(ptr noundef nonnull %29, i64 noundef %31)
  %33 = add nuw nsw i64 %.pre-phi93, 8
  tail call void @i64_store(ptr noundef nonnull %29, i64 noundef %33, i64 noundef %32)
  tail call void @i64_store(ptr noundef nonnull %29, i64 noundef %.pre-phi95, i64 noundef %32)
  %34 = add i32 %10, -24
  %35 = tail call i32 @w2c_hermes_hermes0x3A0x3AFunction0x3A0x3AFunction0x28hermes0x3A0x3AValueKind0x2C0x20hermes0x3A0x3AModule0x2A0x2C0x20hermes0x3A0x3AScopeDesc0x2A0x2C0x20hermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AFunction0x3A0x3ADefinitionKind0x2C0x20bool0x2C0x20hermes0x3A0x3ASourceVisibility0x2C0x20bool0x2C0x20llvh0x3A0x3ASMRange0x2C0x20hermes0x3A0x3AFunction0x2A0x29(ptr noundef nonnull %0, i32 noundef %28, i32 noundef 130, i32 noundef %30, i32 noundef %2, i32 noundef %.0, i32 noundef %4, i32 noundef %5, i32 noundef 2, i32 noundef 0, i32 noundef %34, i32 noundef %7)
  %36 = zext i32 %35 to i64
  %37 = add nuw nsw i64 %36, 10
  tail call void @i32_store(ptr noundef nonnull %29, i64 noundef %37, i32 noundef 459775)
  store i32 %10, ptr %9, align 8, !tbaa !5
  ret i32 %35
}

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,TailCallElimPass