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

; 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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A0x7EGCScope0x280x29(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
  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
  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
  %12 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %12, ptr %7, 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 %7, align 4, !tbaa !9
  %16 = zext i32 %15 to i64
  %17 = add i64 %16, 4
  %18 = call i32 @i32_load(ptr noundef %14, i64 noundef %17)
  store i32 %18, ptr %7, align 4, !tbaa !9
  %19 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %19, ptr %8, 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, 16
  %25 = call i32 @i32_load(ptr noundef %21, i64 noundef %24)
  store i32 %25, ptr %8, align 4, !tbaa !9
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.w2c_hermes, ptr %26, i32 0, i32 6
  %28 = load i32, ptr %7, align 4, !tbaa !9
  %29 = zext i32 %28 to i64
  %30 = add i64 %29, 4
  %31 = load i32, ptr %8, align 4, !tbaa !9
  call void @i32_store(ptr noundef %27, i64 noundef %30, i32 noundef %31)
  %32 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %32, ptr %7, align 4, !tbaa !9
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.w2c_hermes, ptr %33, i32 0, i32 6
  %35 = load i32, ptr %7, align 4, !tbaa !9
  %36 = zext i32 %35 to i64
  %37 = add i64 %36, 152
  %38 = call i32 @i32_load(ptr noundef %34, i64 noundef %37)
  store i32 %38, ptr %7, align 4, !tbaa !9
  %39 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %39, ptr %5, align 4, !tbaa !9
  %40 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %40, ptr %7, 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 %7, align 4, !tbaa !9
  %44 = zext i32 %43 to i64
  %45 = add i64 %44, 156
  %46 = call i32 @i32_load(ptr noundef %42, i64 noundef %45)
  store i32 %46, ptr %7, align 4, !tbaa !9
  %47 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %47, ptr %6, align 4, !tbaa !9
  %48 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %48, label %51 [
    i32 0, label %49
    i32 1, label %50
  ]

49:                                               ; preds = %2
  br label %52

50:                                               ; preds = %2
  br label %117

51:                                               ; preds = %2
  br label %70

52:                                               ; preds = %49
  store i32 0, ptr %7, align 4, !tbaa !9
  %53 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %53, ptr %5, align 4, !tbaa !9
  store i32 159901, ptr %8, align 4, !tbaa !9
  %54 = load i32, ptr %8, align 4, !tbaa !9
  %55 = load i32, ptr %7, align 4, !tbaa !9
  %56 = add i32 %55, %54
  store i32 %56, ptr %7, align 4, !tbaa !9
  %57 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %57, ptr %8, align 4, !tbaa !9
  store i32 57416, ptr %9, align 4, !tbaa !9
  %58 = load i32, ptr %9, align 4, !tbaa !9
  %59 = load i32, ptr %8, align 4, !tbaa !9
  %60 = add i32 %59, %58
  store i32 %60, ptr %8, align 4, !tbaa !9
  store i32 53, ptr %9, align 4, !tbaa !9
  %61 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %61, ptr %10, align 4, !tbaa !9
  store i32 95372, ptr %11, align 4, !tbaa !9
  %62 = load i32, ptr %11, align 4, !tbaa !9
  %63 = load i32, ptr %10, align 4, !tbaa !9
  %64 = add i32 %63, %62
  store i32 %64, ptr %10, align 4, !tbaa !9
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = load i32, ptr %7, align 4, !tbaa !9
  %67 = load i32, ptr %8, align 4, !tbaa !9
  %68 = load i32, ptr %9, align 4, !tbaa !9
  %69 = load i32, ptr %10, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %65, i32 noundef %66, i32 noundef %67, i32 noundef %68, i32 noundef %69)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

70:                                               ; preds = %51
  %71 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %71, ptr %7, align 4, !tbaa !9
  %72 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %72, ptr %8, align 4, !tbaa !9
  store i32 2, ptr %9, align 4, !tbaa !9
  %73 = load i32, ptr %9, align 4, !tbaa !9
  %74 = and i32 %73, 31
  %75 = load i32, ptr %8, align 4, !tbaa !9
  %76 = shl i32 %75, %74
  store i32 %76, ptr %8, align 4, !tbaa !9
  %77 = load i32, ptr %8, align 4, !tbaa !9
  %78 = load i32, ptr %7, align 4, !tbaa !9
  %79 = add i32 %78, %77
  store i32 %79, ptr %7, align 4, !tbaa !9
  %80 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %80, ptr %6, align 4, !tbaa !9
  %81 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %81, ptr %7, align 4, !tbaa !9
  store i32 4, ptr %8, align 4, !tbaa !9
  %82 = load i32, ptr %8, align 4, !tbaa !9
  %83 = load i32, ptr %7, align 4, !tbaa !9
  %84 = add i32 %83, %82
  store i32 %84, ptr %7, align 4, !tbaa !9
  %85 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %85, ptr %5, align 4, !tbaa !9
  br label %86

86:                                               ; preds = %107, %70
  %87 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %87, ptr %7, align 4, !tbaa !9
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.w2c_hermes, ptr %88, i32 0, i32 6
  %90 = load i32, ptr %7, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = call i32 @i32_load(ptr noundef %89, i64 noundef %91)
  store i32 %92, ptr %7, align 4, !tbaa !9
  %93 = load ptr, ptr %3, align 8, !tbaa !5
  %94 = load i32, ptr %7, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %93, i32 noundef %94)
  %95 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %95, ptr %7, align 4, !tbaa !9
  store i32 4, ptr %8, align 4, !tbaa !9
  %96 = load i32, ptr %8, align 4, !tbaa !9
  %97 = load i32, ptr %7, align 4, !tbaa !9
  %98 = add i32 %97, %96
  store i32 %98, ptr %7, align 4, !tbaa !9
  %99 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %99, ptr %5, align 4, !tbaa !9
  %100 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %100, ptr %8, align 4, !tbaa !9
  %101 = load i32, ptr %7, align 4, !tbaa !9
  %102 = load i32, ptr %8, align 4, !tbaa !9
  %103 = icmp ne i32 %101, %102
  %104 = zext i1 %103 to i32
  store i32 %104, ptr %7, align 4, !tbaa !9
  %105 = load i32, ptr %7, align 4, !tbaa !9
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %108

107:                                              ; preds = %86
  br label %86

108:                                              ; preds = %86
  %109 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %109, ptr %7, align 4, !tbaa !9
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.w2c_hermes, ptr %110, i32 0, i32 6
  %112 = load i32, ptr %7, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = add i64 %113, 152
  %115 = call i32 @i32_load(ptr noundef %111, i64 noundef %114)
  store i32 %115, ptr %7, align 4, !tbaa !9
  %116 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %116, ptr %5, align 4, !tbaa !9
  br label %117

117:                                              ; preds = %108, %50
  %118 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %118, ptr %7, align 4, !tbaa !9
  store i32 164, ptr %8, align 4, !tbaa !9
  %119 = load i32, ptr %8, align 4, !tbaa !9
  %120 = load i32, ptr %7, align 4, !tbaa !9
  %121 = add i32 %120, %119
  store i32 %121, ptr %7, align 4, !tbaa !9
  %122 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %122, ptr %8, align 4, !tbaa !9
  %123 = load i32, ptr %7, align 4, !tbaa !9
  %124 = load i32, ptr %8, align 4, !tbaa !9
  %125 = icmp ne i32 %123, %124
  %126 = zext i1 %125 to i32
  store i32 %126, ptr %7, align 4, !tbaa !9
  %127 = load i32, ptr %7, align 4, !tbaa !9
  %128 = icmp ne i32 %127, 0
  br i1 %128, label %129, label %133

129:                                              ; preds = %117
  %130 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %130, ptr %7, align 4, !tbaa !9
  %131 = load ptr, ptr %3, align 8, !tbaa !5
  %132 = load i32, ptr %7, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %131, i32 noundef %132)
  br label %133

133:                                              ; preds = %129, %117
  %134 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %134, ptr %7, align 4, !tbaa !9
  %135 = load ptr, ptr %3, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.w2c_hermes, ptr %135, i32 0, i32 6
  %137 = load i32, ptr %7, align 4, !tbaa !9
  %138 = zext i32 %137 to i64
  %139 = call i32 @i32_load(ptr noundef %136, i64 noundef %138)
  store i32 %139, ptr %7, align 4, !tbaa !9
  %140 = load i32, ptr %7, align 4, !tbaa !9
  %141 = icmp ne i32 %140, 0
  br i1 %141, label %142, label %160

142:                                              ; preds = %133
  store i32 0, ptr %7, align 4, !tbaa !9
  %143 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %143, ptr %5, align 4, !tbaa !9
  store i32 141954, ptr %8, align 4, !tbaa !9
  %144 = load i32, ptr %8, align 4, !tbaa !9
  %145 = load i32, ptr %7, align 4, !tbaa !9
  %146 = add i32 %145, %144
  store i32 %146, ptr %7, align 4, !tbaa !9
  %147 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %147, ptr %8, align 4, !tbaa !9
  store i32 80319, ptr %9, align 4, !tbaa !9
  %148 = load i32, ptr %9, align 4, !tbaa !9
  %149 = load i32, ptr %8, align 4, !tbaa !9
  %150 = add i32 %149, %148
  store i32 %150, ptr %8, align 4, !tbaa !9
  store i32 180, ptr %9, align 4, !tbaa !9
  %151 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %151, ptr %10, align 4, !tbaa !9
  store i32 92252, ptr %11, align 4, !tbaa !9
  %152 = load i32, ptr %11, align 4, !tbaa !9
  %153 = load i32, ptr %10, align 4, !tbaa !9
  %154 = add i32 %153, %152
  store i32 %154, ptr %10, align 4, !tbaa !9
  %155 = load ptr, ptr %3, align 8, !tbaa !5
  %156 = load i32, ptr %7, align 4, !tbaa !9
  %157 = load i32, ptr %8, align 4, !tbaa !9
  %158 = load i32, ptr %9, align 4, !tbaa !9
  %159 = load i32, ptr %10, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %155, i32 noundef %156, i32 noundef %157, i32 noundef %158, i32 noundef %159)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

160:                                              ; preds = %133
  %161 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %161, ptr %7, align 4, !tbaa !9
  %162 = load i32, ptr %7, align 4, !tbaa !9
  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 %162
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #3 = { 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 #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}


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

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A0x7EGCScope0x280x29(ptr noundef %0, i32 noundef returned %1) local_unnamed_addr #3 {
  %3 = getelementptr inbounds i8, ptr %0, i64 40
  %4 = zext i32 %1 to i64
  %5 = add nuw nsw i64 %4, 4
  %6 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %5)
  %7 = add nuw nsw i64 %4, 16
  %8 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %7)
  %9 = zext i32 %6 to i64
  %10 = add nuw nsw i64 %9, 4
  tail call void @i32_store(ptr noundef nonnull %3, i64 noundef %10, i32 noundef %8)
  %11 = add nuw nsw i64 %4, 152
  %12 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %11)
  %13 = add nuw nsw i64 %4, 156
  %14 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %13)
  switch i32 %14, label %16 [
    i32 0, label %15
    i32 1, label %26
  ]

15:                                               ; preds = %2
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 159901, i32 noundef 57416, i32 noundef 53, i32 noundef 95372) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

16:                                               ; preds = %2
  %17 = shl i32 %14, 2
  %18 = add i32 %17, %12
  %19 = add i32 %12, 4
  br label %20

20:                                               ; preds = %20, %16
  %.0 = phi i32 [ %19, %16 ], [ %23, %20 ]
  %21 = zext i32 %.0 to i64
  %22 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %21)
  tail call void @w2c_hermes_dlfree(ptr noundef %0, i32 noundef %22) #4
  %23 = add i32 %.0, 4
  %.not = icmp eq i32 %23, %18
  br i1 %.not, label %24, label %20

24:                                               ; preds = %20
  %25 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %11)
  br label %26

26:                                               ; preds = %2, %24
  %.1 = phi i32 [ %25, %24 ], [ %12, %2 ]
  %27 = add i32 %1, 164
  %.not89 = icmp eq i32 %27, %.1
  br i1 %.not89, label %29, label %28

28:                                               ; preds = %26
  tail call void @w2c_hermes_dlfree(ptr noundef %0, i32 noundef %.1) #4
  br label %29

29:                                               ; preds = %28, %26
  %30 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %4)
  %.not90 = icmp eq i32 %30, 0
  br i1 %.not90, label %32, label %31

31:                                               ; preds = %29
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 141954, i32 noundef 80319, i32 noundef 180, i32 noundef 92252) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

32:                                               ; preds = %29
  ret i32 %1
}

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

attributes #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 = { 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 = { 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,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass