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

; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare void @w2c_hermes_dlfree(ptr noundef, i32 noundef) #2

declare void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef, i32 noundef) #2

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

22:                                               ; preds = %2
  %23 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %23, ptr %9, align 4, !tbaa !9
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.w2c_hermes, ptr %24, i32 0, i32 6
  %26 = load i32, ptr %9, align 4, !tbaa !9
  %27 = zext i32 %26 to i64
  %28 = call i32 @i32_load(ptr noundef %25, i64 noundef %27)
  store i32 %28, ptr %9, align 4, !tbaa !9
  %29 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %29, ptr %5, align 4, !tbaa !9
  %30 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %30, ptr %10, align 4, !tbaa !9
  store i32 20, ptr %11, align 4, !tbaa !9
  %31 = load i32, ptr %11, align 4, !tbaa !9
  %32 = load i32, ptr %10, align 4, !tbaa !9
  %33 = mul i32 %32, %31
  store i32 %33, ptr %10, align 4, !tbaa !9
  %34 = load i32, ptr %10, align 4, !tbaa !9
  %35 = load i32, ptr %9, align 4, !tbaa !9
  %36 = add i32 %35, %34
  store i32 %36, ptr %9, align 4, !tbaa !9
  %37 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %37, ptr %7, align 4, !tbaa !9
  br label %38

38:                                               ; preds = %163, %22
  %39 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %39, ptr %9, align 4, !tbaa !9
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.w2c_hermes, ptr %40, i32 0, i32 6
  %42 = load i32, ptr %9, align 4, !tbaa !9
  %43 = zext i32 %42 to i64
  %44 = call i32 @i32_load(ptr noundef %41, i64 noundef %43)
  store i32 %44, ptr %9, align 4, !tbaa !9
  store i32 8, ptr %10, align 4, !tbaa !9
  %45 = load i32, ptr %10, align 4, !tbaa !9
  %46 = load i32, ptr %9, align 4, !tbaa !9
  %47 = add i32 %46, %45
  store i32 %47, ptr %9, align 4, !tbaa !9
  %48 = load i32, ptr %9, align 4, !tbaa !9
  switch i32 %48, label %54 [
    i32 0, label %49
    i32 1, label %50
    i32 2, label %51
    i32 3, label %52
    i32 4, label %53
  ]

49:                                               ; preds = %38
  br label %150

50:                                               ; preds = %38
  br label %55

51:                                               ; preds = %38
  br label %55

52:                                               ; preds = %38
  br label %55

53:                                               ; preds = %38
  br label %150

54:                                               ; preds = %38
  br label %55

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

66:                                               ; preds = %55
  %67 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %67, ptr %9, align 4, !tbaa !9
  %68 = load ptr, ptr %3, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.w2c_hermes, ptr %68, i32 0, i32 6
  %70 = load i32, ptr %9, align 4, !tbaa !9
  %71 = zext i32 %70 to i64
  %72 = add i64 %71, 4
  %73 = call i32 @i32_load(ptr noundef %69, i64 noundef %72)
  store i32 %73, ptr %9, align 4, !tbaa !9
  %74 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %74, ptr %4, align 4, !tbaa !9
  %75 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %75, ptr %10, align 4, !tbaa !9
  store i32 5, ptr %11, align 4, !tbaa !9
  %76 = load i32, ptr %11, align 4, !tbaa !9
  %77 = and i32 %76, 31
  %78 = load i32, ptr %10, align 4, !tbaa !9
  %79 = shl i32 %78, %77
  store i32 %79, ptr %10, align 4, !tbaa !9
  %80 = load i32, ptr %10, align 4, !tbaa !9
  %81 = load i32, ptr %9, align 4, !tbaa !9
  %82 = add i32 %81, %80
  store i32 %82, ptr %9, align 4, !tbaa !9
  %83 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %83, ptr %6, align 4, !tbaa !9
  br label %84

84:                                               ; preds = %138, %66
  %85 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %85, ptr %9, align 4, !tbaa !9
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.w2c_hermes, ptr %86, i32 0, i32 6
  %88 = load i32, ptr %9, align 4, !tbaa !9
  %89 = zext i32 %88 to i64
  %90 = call i32 @i32_load(ptr noundef %87, i64 noundef %89)
  store i32 %90, ptr %9, align 4, !tbaa !9
  store i32 8, ptr %10, align 4, !tbaa !9
  %91 = load i32, ptr %10, align 4, !tbaa !9
  %92 = load i32, ptr %9, align 4, !tbaa !9
  %93 = add i32 %92, %91
  store i32 %93, ptr %9, align 4, !tbaa !9
  %94 = load i32, ptr %9, align 4, !tbaa !9
  switch i32 %94, label %100 [
    i32 0, label %95
    i32 1, label %96
    i32 2, label %97
    i32 3, label %98
    i32 4, label %99
  ]

95:                                               ; preds = %84
  br label %125

96:                                               ; preds = %84
  br label %101

97:                                               ; preds = %84
  br label %101

98:                                               ; preds = %84
  br label %101

99:                                               ; preds = %84
  br label %125

100:                                              ; preds = %84
  br label %101

101:                                              ; preds = %100, %98, %97, %96
  %102 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %102, ptr %9, align 4, !tbaa !9
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.w2c_hermes, ptr %103, i32 0, i32 6
  %105 = load i32, ptr %9, align 4, !tbaa !9
  %106 = zext i32 %105 to i64
  %107 = add i64 %106, 4
  %108 = call i32 @i32_load(ptr noundef %104, i64 noundef %107)
  store i32 %108, ptr %9, align 4, !tbaa !9
  %109 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %109, ptr %8, align 4, !tbaa !9
  %110 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %110, ptr %10, align 4, !tbaa !9
  store i32 16, ptr %11, align 4, !tbaa !9
  %111 = load i32, ptr %11, align 4, !tbaa !9
  %112 = load i32, ptr %10, align 4, !tbaa !9
  %113 = add i32 %112, %111
  store i32 %113, ptr %10, align 4, !tbaa !9
  %114 = load i32, ptr %9, align 4, !tbaa !9
  %115 = load i32, ptr %10, align 4, !tbaa !9
  %116 = icmp eq i32 %114, %115
  %117 = zext i1 %116 to i32
  store i32 %117, ptr %9, align 4, !tbaa !9
  %118 = load i32, ptr %9, align 4, !tbaa !9
  %119 = icmp ne i32 %118, 0
  br i1 %119, label %120, label %121

120:                                              ; preds = %101
  br label %125

121:                                              ; preds = %101
  %122 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %122, ptr %9, align 4, !tbaa !9
  %123 = load ptr, ptr %3, align 8, !tbaa !5
  %124 = load i32, ptr %9, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %123, i32 noundef %124)
  br label %125

125:                                              ; preds = %121, %120, %99, %95
  %126 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %126, ptr %9, align 4, !tbaa !9
  store i32 32, ptr %10, align 4, !tbaa !9
  %127 = load i32, ptr %10, align 4, !tbaa !9
  %128 = load i32, ptr %9, align 4, !tbaa !9
  %129 = add i32 %128, %127
  store i32 %129, ptr %9, align 4, !tbaa !9
  %130 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %130, ptr %4, align 4, !tbaa !9
  %131 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %131, ptr %10, align 4, !tbaa !9
  %132 = load i32, ptr %9, align 4, !tbaa !9
  %133 = load i32, ptr %10, align 4, !tbaa !9
  %134 = icmp ne i32 %132, %133
  %135 = zext i1 %134 to i32
  store i32 %135, ptr %9, align 4, !tbaa !9
  %136 = load i32, ptr %9, align 4, !tbaa !9
  %137 = icmp ne i32 %136, 0
  br i1 %137, label %138, label %139

138:                                              ; preds = %125
  br label %84

139:                                              ; preds = %125
  br label %140

140:                                              ; preds = %139, %55
  %141 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %141, ptr %9, align 4, !tbaa !9
  %142 = load ptr, ptr %3, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.w2c_hermes, ptr %142, i32 0, i32 6
  %144 = load i32, ptr %9, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = add i64 %145, 4
  %147 = call i32 @i32_load(ptr noundef %143, i64 noundef %146)
  store i32 %147, ptr %9, align 4, !tbaa !9
  %148 = load ptr, ptr %3, align 8, !tbaa !5
  %149 = load i32, ptr %9, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %148, i32 noundef %149)
  br label %150

150:                                              ; preds = %140, %53, %49
  %151 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %151, ptr %9, align 4, !tbaa !9
  store i32 20, ptr %10, align 4, !tbaa !9
  %152 = load i32, ptr %10, align 4, !tbaa !9
  %153 = load i32, ptr %9, align 4, !tbaa !9
  %154 = add i32 %153, %152
  store i32 %154, ptr %9, align 4, !tbaa !9
  %155 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %155, ptr %5, align 4, !tbaa !9
  %156 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %156, ptr %10, align 4, !tbaa !9
  %157 = load i32, ptr %9, align 4, !tbaa !9
  %158 = load i32, ptr %10, align 4, !tbaa !9
  %159 = icmp ne i32 %157, %158
  %160 = zext i1 %159 to i32
  store i32 %160, ptr %9, align 4, !tbaa !9
  %161 = load i32, ptr %9, align 4, !tbaa !9
  %162 = icmp ne i32 %161, 0
  br i1 %162, label %163, label %164

163:                                              ; preds = %150
  br label %38

164:                                              ; preds = %150
  br label %165

165:                                              ; preds = %164, %2
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  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 = { "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}


; 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

declare void @w2c_hermes_dlfree(ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef, i32 noundef) local_unnamed_addr #1

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

7:                                                ; preds = %2
  %8 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %4)
  %9 = mul i32 %6, 20
  %10 = add i32 %8, %9
  br label %11

11:                                               ; preds = %33, %7
  %.0 = phi i32 [ %8, %7 ], [ %34, %33 ]
  %12 = zext i32 %.0 to i64
  %13 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %12)
  switch i32 %13, label %14 [
    i32 -8, label %33
    i32 -4, label %33
  ]

14:                                               ; preds = %11
  %15 = add nuw nsw i64 %12, 16
  %16 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %15)
  %.not81 = icmp eq i32 %16, 0
  %.pre = add nuw nsw i64 %12, 4
  br i1 %.not81, label %.loopexit, label %17

17:                                               ; preds = %14
  %18 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %.pre)
  %19 = shl i32 %16, 5
  %20 = add i32 %18, %19
  br label %21

21:                                               ; preds = %30, %17
  %.075 = phi i32 [ %18, %17 ], [ %31, %30 ]
  %22 = zext i32 %.075 to i64
  %23 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %22)
  switch i32 %23, label %24 [
    i32 -8, label %30
    i32 -4, label %30
  ]

24:                                               ; preds = %21
  %25 = add nuw nsw i64 %22, 4
  %26 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %25)
  %27 = add i32 %.075, 16
  %28 = icmp eq i32 %26, %27
  br i1 %28, label %30, label %29

29:                                               ; preds = %24
  tail call void @w2c_hermes_dlfree(ptr noundef %0, i32 noundef %26) #3
  br label %30

30:                                               ; preds = %21, %24, %21, %29
  %31 = add i32 %.075, 32
  %.not82 = icmp eq i32 %31, %20
  br i1 %.not82, label %.loopexit, label %21

.loopexit:                                        ; preds = %30, %14
  %32 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %.pre)
  tail call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %0, i32 noundef %32) #3
  br label %33

33:                                               ; preds = %11, %11, %.loopexit
  %34 = add i32 %.0, 20
  %.not83 = icmp eq i32 %34, %10
  br i1 %.not83, label %.loopexit84, label %11

.loopexit84:                                      ; preds = %33, %2
  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 = { "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)"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass