; LLVM IR from wkoszek/kmnsim :: src (all)

; 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.pkt = type { i64, ptr, i32, i32, ptr, ptr, %struct.anon.2 }
%struct.anon.2 = type { ptr, ptr }
%struct.ip_hdr = type { [4 x i32], [4 x i32] }
%struct.eth_hdr = type { [6 x i32], [6 x i32] }
%struct.icmp_hdr = type { i32 }

@.str.2 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__.pkt_debug = external hidden unnamed_addr constant [37 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [101 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

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

; Function Attrs: nounwind uwtable
define dso_local void @pkt_debug(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  store ptr null, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store ptr null, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store ptr null, ptr %7, align 8, !tbaa !5
  br label %8

8:                                                ; preds = %2
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = icmp ne ptr %9, null
  br i1 %10, label %11, label %12

11:                                               ; preds = %8
  br label %13

12:                                               ; preds = %8
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 1997, ptr noundef @__PRETTY_FUNCTION__.pkt_debug) #5
  unreachable

13:                                               ; preds = %11
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.pkt, ptr %14, i32 0, i32 0
  %16 = load i64, ptr %15, align 8, !tbaa !9
  %17 = icmp eq i64 %16, 2864434397
  br i1 %17, label %18, label %19

18:                                               ; preds = %13
  br label %20

19:                                               ; preds = %13
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 1997, ptr noundef @__PRETTY_FUNCTION__.pkt_debug) #5
  unreachable

20:                                               ; preds = %18
  br label %21

21:                                               ; preds = %20
  br label %22

22:                                               ; preds = %21
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  call void @pkt_proto_getptrs(ptr noundef %23, ptr noundef %5, ptr noundef %6, ptr noundef %7)
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = icmp ne ptr %24, null
  br i1 %25, label %26, label %27

26:                                               ; preds = %22
  br label %28

27:                                               ; preds = %22
  call void @__assert_fail(ptr noundef @.str.153, ptr noundef @.str.2, i32 noundef 1999, ptr noundef @__PRETTY_FUNCTION__.pkt_debug) #5
  unreachable

28:                                               ; preds = %26
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = icmp ne ptr %29, null
  br i1 %30, label %31, label %32

31:                                               ; preds = %28
  br label %33

32:                                               ; preds = %28
  call void @__assert_fail(ptr noundef @.str.154, ptr noundef @.str.2, i32 noundef 2000, ptr noundef @__PRETTY_FUNCTION__.pkt_debug) #5
  unreachable

33:                                               ; preds = %31
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = icmp ne ptr %34, null
  br i1 %35, label %36, label %37

36:                                               ; preds = %33
  br label %38

37:                                               ; preds = %33
  call void @__assert_fail(ptr noundef @.str.155, ptr noundef @.str.2, i32 noundef 2001, ptr noundef @__PRETTY_FUNCTION__.pkt_debug) #5
  unreachable

38:                                               ; preds = %36
  br label %39

39:                                               ; preds = %38
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = icmp ne ptr %40, null
  br i1 %41, label %42, label %43

42:                                               ; preds = %39
  br label %44

43:                                               ; preds = %39
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 2003, ptr noundef @__PRETTY_FUNCTION__.pkt_debug) #5
  unreachable

44:                                               ; preds = %42
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.pkt, ptr %45, i32 0, i32 0
  %47 = load i64, ptr %46, align 8, !tbaa !9
  %48 = icmp eq i64 %47, 2864434397
  br i1 %48, label %49, label %50

49:                                               ; preds = %44
  br label %51

50:                                               ; preds = %44
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 2003, ptr noundef @__PRETTY_FUNCTION__.pkt_debug) #5
  unreachable

51:                                               ; preds = %49
  br label %52

52:                                               ; preds = %51
  br label %53

53:                                               ; preds = %52
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.ip_hdr, ptr %55, i32 0, i32 0
  %57 = getelementptr inbounds [4 x i32], ptr %56, i64 0, i64 0
  %58 = load i32, ptr %57, align 4, !tbaa !14
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.ip_hdr, ptr %59, i32 0, i32 0
  %61 = getelementptr inbounds [4 x i32], ptr %60, i64 0, i64 1
  %62 = load i32, ptr %61, align 4, !tbaa !14
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.ip_hdr, ptr %63, i32 0, i32 0
  %65 = getelementptr inbounds [4 x i32], ptr %64, i64 0, i64 2
  %66 = load i32, ptr %65, align 4, !tbaa !14
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ip_hdr, ptr %67, i32 0, i32 0
  %69 = getelementptr inbounds [4 x i32], ptr %68, i64 0, i64 3
  %70 = load i32, ptr %69, align 4, !tbaa !14
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ip_hdr, ptr %71, i32 0, i32 1
  %73 = getelementptr inbounds [4 x i32], ptr %72, i64 0, i64 0
  %74 = load i32, ptr %73, align 4, !tbaa !14
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.ip_hdr, ptr %75, i32 0, i32 1
  %77 = getelementptr inbounds [4 x i32], ptr %76, i64 0, i64 1
  %78 = load i32, ptr %77, align 4, !tbaa !14
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.ip_hdr, ptr %79, i32 0, i32 1
  %81 = getelementptr inbounds [4 x i32], ptr %80, i64 0, i64 2
  %82 = load i32, ptr %81, align 4, !tbaa !14
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.ip_hdr, ptr %83, i32 0, i32 1
  %85 = getelementptr inbounds [4 x i32], ptr %84, i64 0, i64 3
  %86 = load i32, ptr %85, align 4, !tbaa !14
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.eth_hdr, ptr %87, i32 0, i32 0
  %89 = getelementptr inbounds [6 x i32], ptr %88, i64 0, i64 0
  %90 = load i32, ptr %89, align 4, !tbaa !14
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.eth_hdr, ptr %91, i32 0, i32 0
  %93 = getelementptr inbounds [6 x i32], ptr %92, i64 0, i64 1
  %94 = load i32, ptr %93, align 4, !tbaa !14
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.eth_hdr, ptr %95, i32 0, i32 0
  %97 = getelementptr inbounds [6 x i32], ptr %96, i64 0, i64 2
  %98 = load i32, ptr %97, align 4, !tbaa !14
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.eth_hdr, ptr %99, i32 0, i32 0
  %101 = getelementptr inbounds [6 x i32], ptr %100, i64 0, i64 3
  %102 = load i32, ptr %101, align 4, !tbaa !14
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.eth_hdr, ptr %103, i32 0, i32 0
  %105 = getelementptr inbounds [6 x i32], ptr %104, i64 0, i64 4
  %106 = load i32, ptr %105, align 4, !tbaa !14
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.eth_hdr, ptr %107, i32 0, i32 0
  %109 = getelementptr inbounds [6 x i32], ptr %108, i64 0, i64 5
  %110 = load i32, ptr %109, align 4, !tbaa !14
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.eth_hdr, ptr %111, i32 0, i32 1
  %113 = getelementptr inbounds [6 x i32], ptr %112, i64 0, i64 0
  %114 = load i32, ptr %113, align 4, !tbaa !14
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.eth_hdr, ptr %115, i32 0, i32 1
  %117 = getelementptr inbounds [6 x i32], ptr %116, i64 0, i64 1
  %118 = load i32, ptr %117, align 4, !tbaa !14
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.eth_hdr, ptr %119, i32 0, i32 1
  %121 = getelementptr inbounds [6 x i32], ptr %120, i64 0, i64 2
  %122 = load i32, ptr %121, align 4, !tbaa !14
  %123 = load ptr, ptr %5, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.eth_hdr, ptr %123, i32 0, i32 1
  %125 = getelementptr inbounds [6 x i32], ptr %124, i64 0, i64 3
  %126 = load i32, ptr %125, align 4, !tbaa !14
  %127 = load ptr, ptr %5, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.eth_hdr, ptr %127, i32 0, i32 1
  %129 = getelementptr inbounds [6 x i32], ptr %128, i64 0, i64 4
  %130 = load i32, ptr %129, align 4, !tbaa !14
  %131 = load ptr, ptr %5, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.eth_hdr, ptr %131, i32 0, i32 1
  %133 = getelementptr inbounds [6 x i32], ptr %132, i64 0, i64 5
  %134 = load i32, ptr %133, align 4, !tbaa !14
  %135 = load ptr, ptr %7, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.icmp_hdr, ptr %135, i32 0, i32 0
  %137 = load i32, ptr %136, align 4, !tbaa !15
  %138 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str.161, i32 noundef %58, i32 noundef %62, i32 noundef %66, i32 noundef %70, i32 noundef %74, i32 noundef %78, i32 noundef %82, i32 noundef %86, i32 noundef %90, i32 noundef %94, i32 noundef %98, i32 noundef %102, i32 noundef %106, i32 noundef %110, i32 noundef %114, i32 noundef %118, i32 noundef %122, i32 noundef %126, i32 noundef %130, i32 noundef %134, i32 noundef %137) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "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 "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)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"pkt", !11, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !6, i64 24, !6, i64 32, !13, i64 40}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"", !6, i64 0, !6, i64 8}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"icmp_hdr", !12, 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"

@.str.2 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__.pkt_debug = external hidden unnamed_addr constant [37 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [101 x i8], align 1

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @pkt_proto_getptrs(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @pkt_debug(ptr noundef %0, ptr nocapture noundef %1) local_unnamed_addr #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  store ptr null, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  store ptr null, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  store ptr null, ptr %5, align 8, !tbaa !5
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %6, label %7

6:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.2, i32 noundef 1997, ptr noundef nonnull @__PRETTY_FUNCTION__.pkt_debug) #5
  unreachable

7:                                                ; preds = %2
  %8 = load i64, ptr %0, align 8, !tbaa !9
  %9 = icmp eq i64 %8, 2864434397
  br i1 %9, label %11, label %10

10:                                               ; preds = %7
  tail call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 1997, ptr noundef nonnull @__PRETTY_FUNCTION__.pkt_debug) #5
  unreachable

11:                                               ; preds = %7
  call void @pkt_proto_getptrs(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5)
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  %.not9 = icmp eq ptr %12, null
  br i1 %.not9, label %13, label %14

13:                                               ; preds = %11
  call void @__assert_fail(ptr noundef nonnull @.str.153, ptr noundef nonnull @.str.2, i32 noundef 1999, ptr noundef nonnull @__PRETTY_FUNCTION__.pkt_debug) #5
  unreachable

14:                                               ; preds = %11
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %.not10 = icmp eq ptr %15, null
  br i1 %.not10, label %16, label %17

16:                                               ; preds = %14
  call void @__assert_fail(ptr noundef nonnull @.str.154, ptr noundef nonnull @.str.2, i32 noundef 2000, ptr noundef nonnull @__PRETTY_FUNCTION__.pkt_debug) #5
  unreachable

17:                                               ; preds = %14
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %.not11 = icmp eq ptr %18, null
  br i1 %.not11, label %19, label %20

19:                                               ; preds = %17
  call void @__assert_fail(ptr noundef nonnull @.str.155, ptr noundef nonnull @.str.2, i32 noundef 2001, ptr noundef nonnull @__PRETTY_FUNCTION__.pkt_debug) #5
  unreachable

20:                                               ; preds = %17
  %21 = load i64, ptr %0, align 8, !tbaa !9
  %22 = icmp eq i64 %21, 2864434397
  br i1 %22, label %24, label %23

23:                                               ; preds = %20
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 2003, ptr noundef nonnull @__PRETTY_FUNCTION__.pkt_debug) #5
  unreachable

24:                                               ; preds = %20
  %25 = load i32, ptr %15, align 4, !tbaa !14
  %26 = getelementptr inbounds i8, ptr %15, i64 4
  %27 = load i32, ptr %26, align 4, !tbaa !14
  %28 = getelementptr inbounds i8, ptr %15, i64 8
  %29 = load i32, ptr %28, align 4, !tbaa !14
  %30 = getelementptr inbounds i8, ptr %15, i64 12
  %31 = load i32, ptr %30, align 4, !tbaa !14
  %32 = getelementptr inbounds i8, ptr %15, i64 16
  %33 = load i32, ptr %32, align 4, !tbaa !14
  %34 = getelementptr inbounds i8, ptr %15, i64 20
  %35 = load i32, ptr %34, align 4, !tbaa !14
  %36 = getelementptr inbounds i8, ptr %15, i64 24
  %37 = load i32, ptr %36, align 4, !tbaa !14
  %38 = getelementptr inbounds i8, ptr %15, i64 28
  %39 = load i32, ptr %38, align 4, !tbaa !14
  %40 = load i32, ptr %12, align 4, !tbaa !14
  %41 = getelementptr inbounds i8, ptr %12, i64 4
  %42 = load i32, ptr %41, align 4, !tbaa !14
  %43 = getelementptr inbounds i8, ptr %12, i64 8
  %44 = load i32, ptr %43, align 4, !tbaa !14
  %45 = getelementptr inbounds i8, ptr %12, i64 12
  %46 = load i32, ptr %45, align 4, !tbaa !14
  %47 = getelementptr inbounds i8, ptr %12, i64 16
  %48 = load i32, ptr %47, align 4, !tbaa !14
  %49 = getelementptr inbounds i8, ptr %12, i64 20
  %50 = load i32, ptr %49, align 4, !tbaa !14
  %51 = getelementptr inbounds i8, ptr %12, i64 24
  %52 = load i32, ptr %51, align 4, !tbaa !14
  %53 = getelementptr inbounds i8, ptr %12, i64 28
  %54 = load i32, ptr %53, align 4, !tbaa !14
  %55 = getelementptr inbounds i8, ptr %12, i64 32
  %56 = load i32, ptr %55, align 4, !tbaa !14
  %57 = getelementptr inbounds i8, ptr %12, i64 36
  %58 = load i32, ptr %57, align 4, !tbaa !14
  %59 = getelementptr inbounds i8, ptr %12, i64 40
  %60 = load i32, ptr %59, align 4, !tbaa !14
  %61 = getelementptr inbounds i8, ptr %12, i64 44
  %62 = load i32, ptr %61, align 4, !tbaa !14
  %63 = load i32, ptr %18, align 4, !tbaa !15
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.161, i32 noundef %25, i32 noundef %27, i32 noundef %29, i32 noundef %31, i32 noundef %33, i32 noundef %35, i32 noundef %37, i32 noundef %39, i32 noundef %40, i32 noundef %42, i32 noundef %44, i32 noundef %46, i32 noundef %48, i32 noundef %50, i32 noundef %52, i32 noundef %54, i32 noundef %56, i32 noundef %58, i32 noundef %60, i32 noundef %62, i32 noundef %63) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "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 = { nofree nounwind "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)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"pkt", !11, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !6, i64 24, !6, i64 32, !13, i64 40}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"", !6, i64 0, !6, i64 8}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"icmp_hdr", !12, i64 0}


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