; LLVM IR from Water-Melon/Melon :: src (mln_lang)

; 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.mln_lang_var_s = type { i32, ptr, ptr, ptr, ptr, ptr, i64 }
%struct.mln_lang_val_s = type { ptr, ptr, %union.anon.1, i32, i32, ptr, ptr, i8 }
%union.anon.1 = type { i64 }
%struct.mln_lang_object_s = type { ptr, ptr, i64, ptr, ptr }
%struct.mln_lang_ctx_s = type { ptr, ptr, ptr, ptr, ptr, [1025 x %struct.mln_lang_stack_node_s], ptr, [1025 x %struct.mln_lang_scope_s], ptr, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64, ptr, i32 }
%struct.mln_lang_stack_node_s = type { ptr, i32, i32, %union.anon, ptr, ptr, ptr }
%union.anon = type { ptr }
%struct.mln_lang_scope_s = type { i32, ptr, ptr, ptr, ptr, i64, ptr, ptr }
%struct.mln_lang_funccall_val_s = type { ptr, ptr, ptr, %struct.mln_array_t }
%struct.mln_array_t = type { ptr, i64, i64, i64, ptr, ptr, ptr, ptr }
%struct.mln_lang_symbol_node_s = type { ptr, ptr, i32, %union.anon.0, i64, ptr, ptr, ptr, ptr, ptr }
%union.anon.0 = type { ptr }

@.str = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
declare hidden void @__mln_lang_errmsg(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @mln_lang_var_create_call(ptr noundef, ptr noundef) #1

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

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare dso_local void @mln_lang_funccall_val_object_add(ptr noundef nonnull, ptr noundef nonnull) #2

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

; Function Attrs: nounwind uwtable
define dso_local i32 @mln_lang_funccall_val_obj_operator(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef %5) #1 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = load ptr, ptr %10, align 8, !tbaa !5
  %21 = call i32 @mln_lang_funccall_val_operator_overload_test(ptr noundef %19, ptr noundef %20)
  %22 = icmp ne i32 %21, 0
  br i1 %22, label %23, label %24

23:                                               ; preds = %6
  store i32 0, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %164

24:                                               ; preds = %6
  %25 = load ptr, ptr %9, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.mln_lang_var_s, ptr %25, i32 0, i32 2
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  %28 = getelementptr inbounds %struct.mln_lang_val_s, ptr %27, i32 0, i32 2
  %29 = load ptr, ptr %28, align 8, !tbaa !13
  %30 = getelementptr inbounds %struct.mln_lang_object_s, ptr %29, i32 0, i32 1
  %31 = load ptr, ptr %30, align 8, !tbaa !14
  %32 = load ptr, ptr %10, align 8, !tbaa !5
  %33 = call ptr @__mln_lang_set_member_search(ptr noundef %31, ptr noundef %32)
  store ptr %33, ptr %14, align 8, !tbaa !5
  %34 = icmp ne ptr %33, null
  br i1 %34, label %35, label %94

35:                                               ; preds = %24
  %36 = load ptr, ptr %14, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.mln_lang_var_s, ptr %36, i32 0, i32 2
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  %39 = getelementptr inbounds %struct.mln_lang_val_s, ptr %38, i32 0, i32 3
  %40 = load i32, ptr %39, align 8, !tbaa !16
  %41 = icmp eq i32 %40, 6
  br i1 %41, label %42, label %94

42:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.mln_lang_ctx_s, ptr %43, i32 0, i32 1
  %45 = load ptr, ptr %44, align 8, !tbaa !18
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = call ptr @__mln_lang_funccall_val_new(ptr noundef %45, ptr noundef %46)
  store ptr %47, ptr %17, align 8, !tbaa !5
  %48 = load ptr, ptr %17, align 8, !tbaa !5
  %49 = icmp eq ptr %48, null
  br i1 %49, label %50, label %52

50:                                               ; preds = %42
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  call void @__mln_lang_errmsg(ptr noundef %51, ptr noundef @.str)
  store i32 -1, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %93

52:                                               ; preds = %42
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = load ptr, ptr %17, align 8, !tbaa !5
  %55 = call ptr @mln_lang_var_create_call(ptr noundef %53, ptr noundef %54)
  %56 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %55, ptr %56, align 8, !tbaa !5
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = load ptr, ptr %57, align 8, !tbaa !5
  %59 = icmp eq ptr %58, null
  br i1 %59, label %60, label %63

60:                                               ; preds = %52
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  call void @__mln_lang_errmsg(ptr noundef %61, ptr noundef @.str)
  %62 = load ptr, ptr %17, align 8, !tbaa !5
  call void @__mln_lang_funccall_val_free(ptr noundef %62)
  store i32 -1, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %93

63:                                               ; preds = %52
  %64 = load ptr, ptr %17, align 8, !tbaa !5
  %65 = load ptr, ptr %12, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.mln_lang_var_s, ptr %65, i32 0, i32 6
  %67 = load i64, ptr %66, align 8, !tbaa !20
  %68 = add i64 %67, 1
  store i64 %68, ptr %66, align 8, !tbaa !20
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  %70 = call i32 @mln_lang_funccall_val_add_arg(ptr noundef %64, ptr noundef %69)
  %71 = load ptr, ptr %13, align 8, !tbaa !5
  %72 = icmp ne ptr %71, null
  br i1 %72, label %73, label %81

73:                                               ; preds = %63
  %74 = load ptr, ptr %17, align 8, !tbaa !5
  %75 = load ptr, ptr %13, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.mln_lang_var_s, ptr %75, i32 0, i32 6
  %77 = load i64, ptr %76, align 8, !tbaa !20
  %78 = add i64 %77, 1
  store i64 %78, ptr %76, align 8, !tbaa !20
  %79 = load ptr, ptr %13, align 8, !tbaa !5
  %80 = call i32 @mln_lang_funccall_val_add_arg(ptr noundef %74, ptr noundef %79)
  br label %81

81:                                               ; preds = %73, %63
  %82 = load ptr, ptr %14, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.mln_lang_var_s, ptr %82, i32 0, i32 2
  %84 = load ptr, ptr %83, align 8, !tbaa !9
  %85 = getelementptr inbounds %struct.mln_lang_val_s, ptr %84, i32 0, i32 2
  %86 = load ptr, ptr %85, align 8, !tbaa !13
  %87 = load ptr, ptr %17, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.mln_lang_funccall_val_s, ptr %87, i32 0, i32 1
  store ptr %86, ptr %88, align 8, !tbaa !21
  %89 = load ptr, ptr %17, align 8, !tbaa !5
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.mln_lang_var_s, ptr %90, i32 0, i32 2
  %92 = load ptr, ptr %91, align 8, !tbaa !9
  call void @mln_lang_funccall_val_object_add(ptr noundef %89, ptr noundef %92)
  store i32 1, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %93

93:                                               ; preds = %81, %60, %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  br label %164

94:                                               ; preds = %35, %24
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = load ptr, ptr %10, align 8, !tbaa !5
  %97 = call ptr @__mln_lang_symbol_node_search(ptr noundef %95, ptr noundef %96, i32 noundef 0)
  store ptr %97, ptr %15, align 8, !tbaa !5
  %98 = icmp ne ptr %97, null
  br i1 %98, label %99, label %163

99:                                               ; preds = %94
  %100 = load ptr, ptr %15, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.mln_lang_symbol_node_s, ptr %100, i32 0, i32 2
  %102 = load i32, ptr %101, align 8, !tbaa !24
  %103 = icmp eq i32 %102, 0
  br i1 %103, label %104, label %163

104:                                              ; preds = %99
  %105 = load ptr, ptr %15, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.mln_lang_symbol_node_s, ptr %105, i32 0, i32 3
  %107 = load ptr, ptr %106, align 8, !tbaa !13
  %108 = getelementptr inbounds %struct.mln_lang_var_s, ptr %107, i32 0, i32 2
  %109 = load ptr, ptr %108, align 8, !tbaa !9
  %110 = getelementptr inbounds %struct.mln_lang_val_s, ptr %109, i32 0, i32 3
  %111 = load i32, ptr %110, align 8, !tbaa !16
  %112 = icmp eq i32 %111, 6
  br i1 %112, label %113, label %163

113:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  %114 = load ptr, ptr %8, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.mln_lang_ctx_s, ptr %114, i32 0, i32 1
  %116 = load ptr, ptr %115, align 8, !tbaa !18
  %117 = load ptr, ptr %10, align 8, !tbaa !5
  %118 = call ptr @__mln_lang_funccall_val_new(ptr noundef %116, ptr noundef %117)
  store ptr %118, ptr %18, align 8, !tbaa !5
  %119 = load ptr, ptr %18, align 8, !tbaa !5
  %120 = icmp eq ptr %119, null
  br i1 %120, label %121, label %123

121:                                              ; preds = %113
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  call void @__mln_lang_errmsg(ptr noundef %122, ptr noundef @.str)
  store i32 -1, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %162

123:                                              ; preds = %113
  %124 = load ptr, ptr %8, align 8, !tbaa !5
  %125 = load ptr, ptr %18, align 8, !tbaa !5
  %126 = call ptr @mln_lang_var_create_call(ptr noundef %124, ptr noundef %125)
  %127 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %126, ptr %127, align 8, !tbaa !5
  %128 = load ptr, ptr %11, align 8, !tbaa !5
  %129 = load ptr, ptr %128, align 8, !tbaa !5
  %130 = icmp eq ptr %129, null
  br i1 %130, label %131, label %134

131:                                              ; preds = %123
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  call void @__mln_lang_errmsg(ptr noundef %132, ptr noundef @.str)
  %133 = load ptr, ptr %18, align 8, !tbaa !5
  call void @__mln_lang_funccall_val_free(ptr noundef %133)
  store i32 -1, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %162

134:                                              ; preds = %123
  %135 = load ptr, ptr %18, align 8, !tbaa !5
  %136 = load ptr, ptr %12, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.mln_lang_var_s, ptr %136, i32 0, i32 6
  %138 = load i64, ptr %137, align 8, !tbaa !20
  %139 = add i64 %138, 1
  store i64 %139, ptr %137, align 8, !tbaa !20
  %140 = load ptr, ptr %12, align 8, !tbaa !5
  %141 = call i32 @mln_lang_funccall_val_add_arg(ptr noundef %135, ptr noundef %140)
  %142 = load ptr, ptr %13, align 8, !tbaa !5
  %143 = icmp ne ptr %142, null
  br i1 %143, label %144, label %152

144:                                              ; preds = %134
  %145 = load ptr, ptr %18, align 8, !tbaa !5
  %146 = load ptr, ptr %13, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.mln_lang_var_s, ptr %146, i32 0, i32 6
  %148 = load i64, ptr %147, align 8, !tbaa !20
  %149 = add i64 %148, 1
  store i64 %149, ptr %147, align 8, !tbaa !20
  %150 = load ptr, ptr %13, align 8, !tbaa !5
  %151 = call i32 @mln_lang_funccall_val_add_arg(ptr noundef %145, ptr noundef %150)
  br label %152

152:                                              ; preds = %144, %134
  %153 = load ptr, ptr %15, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.mln_lang_symbol_node_s, ptr %153, i32 0, i32 3
  %155 = load ptr, ptr %154, align 8, !tbaa !13
  %156 = getelementptr inbounds %struct.mln_lang_var_s, ptr %155, i32 0, i32 2
  %157 = load ptr, ptr %156, align 8, !tbaa !9
  %158 = getelementptr inbounds %struct.mln_lang_val_s, ptr %157, i32 0, i32 2
  %159 = load ptr, ptr %158, align 8, !tbaa !13
  %160 = load ptr, ptr %18, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.mln_lang_funccall_val_s, ptr %160, i32 0, i32 1
  store ptr %159, ptr %161, align 8, !tbaa !21
  store i32 1, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %162

162:                                              ; preds = %152, %131, %121
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  br label %164

163:                                              ; preds = %104, %99, %94
  store i32 0, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %164

164:                                              ; preds = %163, %162, %93, %23
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  %165 = load i32, ptr %7, align 4
  ret i32 %165
}

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

!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, !6, i64 16}
!10 = !{!"mln_lang_var_s", !11, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !12, i64 48}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !6, i64 8}
!15 = !{!"mln_lang_object_s", !6, i64 0, !6, i64 8, !12, i64 16, !6, i64 24, !6, i64 32}
!16 = !{!17, !11, i64 24}
!17 = !{!"mln_lang_val_s", !6, i64 0, !6, i64 8, !7, i64 16, !11, i64 24, !11, i64 28, !6, i64 32, !6, i64 40, !11, i64 48}
!18 = !{!19, !6, i64 8}
!19 = !{!"mln_lang_ctx_s", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !7, i64 40, !6, i64 49240, !7, i64 49248, !6, i64 114848, !12, i64 114856, !6, i64 114864, !6, i64 114872, !6, i64 114880, !6, i64 114888, !6, i64 114896, !6, i64 114904, !6, i64 114912, !6, i64 114920, !6, i64 114928, !6, i64 114936, !6, i64 114944, !12, i64 114952, !6, i64 114960, !11, i64 114968, !11, i64 114970, !11, i64 114970, !11, i64 114970, !11, i64 114970, !11, i64 114970, !11, i64 114970, !11, i64 114970, !11, i64 114970, !11, i64 114971, !11, i64 114971, !11, i64 114971}
!20 = !{!10, !12, i64 48}
!21 = !{!22, !6, i64 8}
!22 = !{!"mln_lang_funccall_val_s", !6, i64 0, !6, i64 8, !6, i64 16, !23, i64 24}
!23 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!24 = !{!25, !11, i64 16}
!25 = !{!"mln_lang_symbol_node_s", !6, i64 0, !6, i64 8, !11, i64 16, !7, i64 24, !12, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72}


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

@.str = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: nounwind uwtable
declare hidden void @__mln_lang_errmsg(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @mln_lang_var_create_call(ptr noundef, ptr noundef) local_unnamed_addr #0

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare dso_local i32 @mln_lang_funccall_val_add_arg(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare dso_local void @mln_lang_funccall_val_object_add(ptr noundef nonnull, ptr noundef nonnull) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 2) i32 @mln_lang_funccall_val_obj_operator(ptr noundef nonnull %0, ptr nocapture noundef nonnull readonly %1, ptr noundef nonnull %2, ptr nocapture noundef nonnull writeonly %3, ptr noundef nonnull %4, ptr noundef %5) local_unnamed_addr #0 {
  %7 = tail call i32 @mln_lang_funccall_val_operator_overload_test(ptr noundef nonnull %0, ptr noundef nonnull %2)
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %8, label %89

8:                                                ; preds = %6
  %9 = getelementptr inbounds i8, ptr %1, i64 16
  %10 = load ptr, ptr %9, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %10, i64 16
  %12 = load ptr, ptr %11, align 8, !tbaa !12
  %13 = getelementptr inbounds i8, ptr %12, i64 8
  %14 = load ptr, ptr %13, align 8, !tbaa !13
  %15 = tail call ptr @__mln_lang_set_member_search(ptr noundef %14, ptr noundef nonnull %2)
  %.not55 = icmp eq ptr %15, null
  br i1 %.not55, label %48, label %16

16:                                               ; preds = %8
  %17 = getelementptr inbounds i8, ptr %15, i64 16
  %18 = load ptr, ptr %17, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %18, i64 24
  %20 = load i32, ptr %19, align 8, !tbaa !15
  %21 = icmp eq i32 %20, 6
  br i1 %21, label %22, label %48

22:                                               ; preds = %16
  %23 = getelementptr inbounds i8, ptr %0, i64 8
  %24 = load ptr, ptr %23, align 8, !tbaa !17
  %25 = tail call ptr @__mln_lang_funccall_val_new(ptr noundef %24, ptr noundef nonnull %2)
  %26 = icmp eq ptr %25, null
  br i1 %26, label %27, label %28

27:                                               ; preds = %22
  tail call void @__mln_lang_errmsg(ptr noundef nonnull %0, ptr noundef nonnull @.str)
  br label %89

28:                                               ; preds = %22
  %29 = tail call ptr @mln_lang_var_create_call(ptr noundef nonnull %0, ptr noundef nonnull %25)
  store ptr %29, ptr %3, align 8, !tbaa !19
  %30 = icmp eq ptr %29, null
  br i1 %30, label %31, label %32

31:                                               ; preds = %28
  tail call void @__mln_lang_errmsg(ptr noundef nonnull %0, ptr noundef nonnull @.str)
  tail call void @__mln_lang_funccall_val_free(ptr noundef nonnull %25)
  br label %89

32:                                               ; preds = %28
  %33 = getelementptr inbounds i8, ptr %4, i64 48
  %34 = load i64, ptr %33, align 8, !tbaa !20
  %35 = add i64 %34, 1
  store i64 %35, ptr %33, align 8, !tbaa !20
  %36 = tail call i32 @mln_lang_funccall_val_add_arg(ptr noundef nonnull %25, ptr noundef nonnull %4)
  %.not58 = icmp eq ptr %5, null
  br i1 %.not58, label %42, label %37

37:                                               ; preds = %32
  %38 = getelementptr inbounds i8, ptr %5, i64 48
  %39 = load i64, ptr %38, align 8, !tbaa !20
  %40 = add i64 %39, 1
  store i64 %40, ptr %38, align 8, !tbaa !20
  %41 = tail call i32 @mln_lang_funccall_val_add_arg(ptr noundef nonnull %25, ptr noundef nonnull %5)
  br label %42

42:                                               ; preds = %37, %32
  %43 = load ptr, ptr %17, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %43, i64 16
  %45 = load ptr, ptr %44, align 8, !tbaa !12
  %46 = getelementptr inbounds i8, ptr %25, i64 8
  store ptr %45, ptr %46, align 8, !tbaa !21
  %47 = load ptr, ptr %9, align 8, !tbaa !5
  tail call void @mln_lang_funccall_val_object_add(ptr noundef %25, ptr noundef %47)
  br label %89

48:                                               ; preds = %16, %8
  %49 = tail call ptr @__mln_lang_symbol_node_search(ptr noundef nonnull %0, ptr noundef nonnull %2, i32 noundef 0)
  %.not56 = icmp eq ptr %49, null
  br i1 %.not56, label %89, label %50

50:                                               ; preds = %48
  %51 = getelementptr inbounds i8, ptr %49, i64 16
  %52 = load i32, ptr %51, align 8, !tbaa !24
  %53 = icmp eq i32 %52, 0
  br i1 %53, label %54, label %89

54:                                               ; preds = %50
  %55 = getelementptr inbounds i8, ptr %49, i64 24
  %56 = load ptr, ptr %55, align 8, !tbaa !12
  %57 = getelementptr inbounds i8, ptr %56, i64 16
  %58 = load ptr, ptr %57, align 8, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %58, i64 24
  %60 = load i32, ptr %59, align 8, !tbaa !15
  %61 = icmp eq i32 %60, 6
  br i1 %61, label %62, label %89

62:                                               ; preds = %54
  %63 = getelementptr inbounds i8, ptr %0, i64 8
  %64 = load ptr, ptr %63, align 8, !tbaa !17
  %65 = tail call ptr @__mln_lang_funccall_val_new(ptr noundef %64, ptr noundef nonnull %2)
  %66 = icmp eq ptr %65, null
  br i1 %66, label %67, label %68

67:                                               ; preds = %62
  tail call void @__mln_lang_errmsg(ptr noundef nonnull %0, ptr noundef nonnull @.str)
  br label %89

68:                                               ; preds = %62
  %69 = tail call ptr @mln_lang_var_create_call(ptr noundef nonnull %0, ptr noundef nonnull %65)
  store ptr %69, ptr %3, align 8, !tbaa !19
  %70 = icmp eq ptr %69, null
  br i1 %70, label %71, label %72

71:                                               ; preds = %68
  tail call void @__mln_lang_errmsg(ptr noundef nonnull %0, ptr noundef nonnull @.str)
  tail call void @__mln_lang_funccall_val_free(ptr noundef nonnull %65)
  br label %89

72:                                               ; preds = %68
  %73 = getelementptr inbounds i8, ptr %4, i64 48
  %74 = load i64, ptr %73, align 8, !tbaa !20
  %75 = add i64 %74, 1
  store i64 %75, ptr %73, align 8, !tbaa !20
  %76 = tail call i32 @mln_lang_funccall_val_add_arg(ptr noundef nonnull %65, ptr noundef nonnull %4)
  %.not57 = icmp eq ptr %5, null
  br i1 %.not57, label %82, label %77

77:                                               ; preds = %72
  %78 = getelementptr inbounds i8, ptr %5, i64 48
  %79 = load i64, ptr %78, align 8, !tbaa !20
  %80 = add i64 %79, 1
  store i64 %80, ptr %78, align 8, !tbaa !20
  %81 = tail call i32 @mln_lang_funccall_val_add_arg(ptr noundef nonnull %65, ptr noundef nonnull %5)
  br label %82

82:                                               ; preds = %77, %72
  %83 = load ptr, ptr %55, align 8, !tbaa !12
  %84 = getelementptr inbounds i8, ptr %83, i64 16
  %85 = load ptr, ptr %84, align 8, !tbaa !5
  %86 = getelementptr inbounds i8, ptr %85, i64 16
  %87 = load ptr, ptr %86, align 8, !tbaa !12
  %88 = getelementptr inbounds i8, ptr %65, i64 8
  store ptr %87, ptr %88, align 8, !tbaa !21
  br label %89

89:                                               ; preds = %48, %50, %54, %67, %71, %82, %27, %31, %42, %6
  %.2 = phi i32 [ 0, %6 ], [ -1, %27 ], [ -1, %31 ], [ 1, %42 ], [ -1, %67 ], [ -1, %71 ], [ 1, %82 ], [ 0, %54 ], [ 0, %50 ], [ 0, %48 ]
  ret i32 %.2
}

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

!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 16}
!6 = !{!"mln_lang_var_s", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !11, i64 48}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !10, i64 8}
!14 = !{!"mln_lang_object_s", !10, i64 0, !10, i64 8, !11, i64 16, !10, i64 24, !10, i64 32}
!15 = !{!16, !7, i64 24}
!16 = !{!"mln_lang_val_s", !10, i64 0, !10, i64 8, !8, i64 16, !7, i64 24, !7, i64 28, !10, i64 32, !10, i64 40, !7, i64 48}
!17 = !{!18, !10, i64 8}
!18 = !{!"mln_lang_ctx_s", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !8, i64 40, !10, i64 49240, !8, i64 49248, !10, i64 114848, !11, i64 114856, !10, i64 114864, !10, i64 114872, !10, i64 114880, !10, i64 114888, !10, i64 114896, !10, i64 114904, !10, i64 114912, !10, i64 114920, !10, i64 114928, !10, i64 114936, !10, i64 114944, !11, i64 114952, !10, i64 114960, !7, i64 114968, !7, i64 114970, !7, i64 114970, !7, i64 114970, !7, i64 114970, !7, i64 114970, !7, i64 114970, !7, i64 114970, !7, i64 114970, !7, i64 114971, !7, i64 114971, !7, i64 114971}
!19 = !{!10, !10, i64 0}
!20 = !{!6, !11, i64 48}
!21 = !{!22, !10, i64 8}
!22 = !{!"mln_lang_funccall_val_s", !10, i64 0, !10, i64 8, !10, i64 16, !23, i64 24}
!23 = !{!"", !10, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56}
!24 = !{!25, !7, i64 16}
!25 = !{!"mln_lang_symbol_node_s", !10, i64 0, !10, i64 8, !7, i64 16, !8, i64 24, !11, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72}


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