; LLVM IR from whoiswelliton/Computer_Engineering_UTFPR-PB :: Embedded_Systems/TIVA Connected TM4C1294XL Projects/01 - lwIP_HTTPServer_on_TIVA (getaddr)

; 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.api_msg = type { ptr, i8, %union.anon }
%union.anon = type { %struct.anon.2 }
%struct.anon.2 = type { ptr, i16, i64, i64, i64, i8, i32 }
%struct.netconn = type { i32, i32, %union.anon.5, i8, ptr, ptr, ptr, i32, i32, i32, i8, ptr, ptr }
%union.anon.5 = type { ptr }
%struct.anon.1 = type { ptr, ptr, i8 }
%struct.ip_pcb = type { %struct.ip4_addr, %struct.ip4_addr, i8, i8, i8, i8 }
%struct.ip4_addr = type { i32 }
%struct.udp_pcb = type { %struct.ip4_addr, %struct.ip4_addr, i8, i8, i8, i8, ptr, i8, i16, i16, ptr, ptr }
%struct.tcp_pcb = type { %struct.ip4_addr, %struct.ip4_addr, i8, i8, i8, i8, ptr, ptr, i32, i8, i16, i16, i16, i8, i8, i8, i32, i32, i16, i16, i32, i16, i16, i32, i32, i16, i16, i16, i8, i8, i32, i16, i16, i32, i32, i32, i32, i32, i16, i16, i16, i16, i16, i16, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i8, i8, i8, i8 }

@.str = external hidden unnamed_addr constant [40 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [181 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [21 x i8], align 1

declare i32 @printf(ptr noundef, ...) #0

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

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

; Function Attrs: nounwind uwtable
define dso_local void @lwip_netconn_do_getaddr(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  %4 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %4, ptr %3, align 8, !tbaa !5
  %5 = load ptr, ptr %3, align 8, !tbaa !5
  %6 = getelementptr inbounds %struct.api_msg, ptr %5, i32 0, i32 0
  %7 = load ptr, ptr %6, align 8, !tbaa !9
  %8 = getelementptr inbounds %struct.netconn, ptr %7, i32 0, i32 2
  %9 = load ptr, ptr %8, align 8, !tbaa !11
  %10 = icmp ne ptr %9, null
  br i1 %10, label %11, label %170

11:                                               ; preds = %1
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.api_msg, ptr %12, i32 0, i32 2
  %14 = getelementptr inbounds %struct.anon.1, ptr %13, i32 0, i32 2
  %15 = load i8, ptr %14, align 8, !tbaa !11
  %16 = icmp ne i8 %15, 0
  br i1 %16, label %17, label %31

17:                                               ; preds = %11
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.api_msg, ptr %18, i32 0, i32 0
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  %21 = getelementptr inbounds %struct.netconn, ptr %20, i32 0, i32 2
  %22 = load ptr, ptr %21, align 8, !tbaa !11
  %23 = getelementptr inbounds %struct.ip_pcb, ptr %22, i32 0, i32 0
  %24 = getelementptr inbounds %struct.ip4_addr, ptr %23, i32 0, i32 0
  %25 = load i32, ptr %24, align 4, !tbaa !12
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.api_msg, ptr %26, i32 0, i32 2
  %28 = getelementptr inbounds %struct.anon.1, ptr %27, i32 0, i32 0
  %29 = load ptr, ptr %28, align 8, !tbaa !11
  %30 = getelementptr inbounds %struct.ip4_addr, ptr %29, i32 0, i32 0
  store i32 %25, ptr %30, align 4, !tbaa !16
  br label %45

31:                                               ; preds = %11
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.api_msg, ptr %32, i32 0, i32 0
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  %35 = getelementptr inbounds %struct.netconn, ptr %34, i32 0, i32 2
  %36 = load ptr, ptr %35, align 8, !tbaa !11
  %37 = getelementptr inbounds %struct.ip_pcb, ptr %36, i32 0, i32 1
  %38 = getelementptr inbounds %struct.ip4_addr, ptr %37, i32 0, i32 0
  %39 = load i32, ptr %38, align 4, !tbaa !17
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.api_msg, ptr %40, i32 0, i32 2
  %42 = getelementptr inbounds %struct.anon.1, ptr %41, i32 0, i32 0
  %43 = load ptr, ptr %42, align 8, !tbaa !11
  %44 = getelementptr inbounds %struct.ip4_addr, ptr %43, i32 0, i32 0
  store i32 %39, ptr %44, align 4, !tbaa !16
  br label %45

45:                                               ; preds = %31, %17
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.api_msg, ptr %46, i32 0, i32 1
  store i8 0, ptr %47, align 8, !tbaa !18
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.api_msg, ptr %48, i32 0, i32 0
  %50 = load ptr, ptr %49, align 8, !tbaa !9
  %51 = getelementptr inbounds %struct.netconn, ptr %50, i32 0, i32 0
  %52 = load i32, ptr %51, align 8, !tbaa !19
  %53 = and i32 %52, 240
  switch i32 %53, label %161 [
    i32 32, label %54
    i32 16, label %100
  ]

54:                                               ; preds = %45
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.api_msg, ptr %55, i32 0, i32 2
  %57 = getelementptr inbounds %struct.anon.1, ptr %56, i32 0, i32 2
  %58 = load i8, ptr %57, align 8, !tbaa !11
  %59 = icmp ne i8 %58, 0
  br i1 %59, label %60, label %72

60:                                               ; preds = %54
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.api_msg, ptr %61, i32 0, i32 0
  %63 = load ptr, ptr %62, align 8, !tbaa !9
  %64 = getelementptr inbounds %struct.netconn, ptr %63, i32 0, i32 2
  %65 = load ptr, ptr %64, align 8, !tbaa !11
  %66 = getelementptr inbounds %struct.udp_pcb, ptr %65, i32 0, i32 8
  %67 = load i16, ptr %66, align 2, !tbaa !21
  %68 = load ptr, ptr %3, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.api_msg, ptr %68, i32 0, i32 2
  %70 = getelementptr inbounds %struct.anon.1, ptr %69, i32 0, i32 1
  %71 = load ptr, ptr %70, align 8, !tbaa !11
  store i16 %67, ptr %71, align 2, !tbaa !24
  br label %99

72:                                               ; preds = %54
  %73 = load ptr, ptr %3, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.api_msg, ptr %73, i32 0, i32 0
  %75 = load ptr, ptr %74, align 8, !tbaa !9
  %76 = getelementptr inbounds %struct.netconn, ptr %75, i32 0, i32 2
  %77 = load ptr, ptr %76, align 8, !tbaa !11
  %78 = getelementptr inbounds %struct.udp_pcb, ptr %77, i32 0, i32 7
  %79 = load i8, ptr %78, align 8, !tbaa !25
  %80 = zext i8 %79 to i32
  %81 = and i32 %80, 4
  %82 = icmp eq i32 %81, 0
  br i1 %82, label %83, label %86

83:                                               ; preds = %72
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.api_msg, ptr %84, i32 0, i32 1
  store i8 -11, ptr %85, align 8, !tbaa !18
  br label %98

86:                                               ; preds = %72
  %87 = load ptr, ptr %3, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.api_msg, ptr %87, i32 0, i32 0
  %89 = load ptr, ptr %88, align 8, !tbaa !9
  %90 = getelementptr inbounds %struct.netconn, ptr %89, i32 0, i32 2
  %91 = load ptr, ptr %90, align 8, !tbaa !11
  %92 = getelementptr inbounds %struct.udp_pcb, ptr %91, i32 0, i32 9
  %93 = load i16, ptr %92, align 4, !tbaa !26
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.api_msg, ptr %94, i32 0, i32 2
  %96 = getelementptr inbounds %struct.anon.1, ptr %95, i32 0, i32 1
  %97 = load ptr, ptr %96, align 8, !tbaa !11
  store i16 %93, ptr %97, align 2, !tbaa !24
  br label %98

98:                                               ; preds = %86, %83
  br label %99

99:                                               ; preds = %98, %60
  br label %169

100:                                              ; preds = %45
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.api_msg, ptr %101, i32 0, i32 2
  %103 = getelementptr inbounds %struct.anon.1, ptr %102, i32 0, i32 2
  %104 = load i8, ptr %103, align 8, !tbaa !11
  %105 = zext i8 %104 to i32
  %106 = icmp eq i32 %105, 0
  br i1 %106, label %107, label %128

107:                                              ; preds = %100
  %108 = load ptr, ptr %3, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.api_msg, ptr %108, i32 0, i32 0
  %110 = load ptr, ptr %109, align 8, !tbaa !9
  %111 = getelementptr inbounds %struct.netconn, ptr %110, i32 0, i32 2
  %112 = load ptr, ptr %111, align 8, !tbaa !11
  %113 = getelementptr inbounds %struct.tcp_pcb, ptr %112, i32 0, i32 8
  %114 = load i32, ptr %113, align 8, !tbaa !27
  %115 = icmp eq i32 %114, 0
  br i1 %115, label %125, label %116

116:                                              ; preds = %107
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.api_msg, ptr %117, i32 0, i32 0
  %119 = load ptr, ptr %118, align 8, !tbaa !9
  %120 = getelementptr inbounds %struct.netconn, ptr %119, i32 0, i32 2
  %121 = load ptr, ptr %120, align 8, !tbaa !11
  %122 = getelementptr inbounds %struct.tcp_pcb, ptr %121, i32 0, i32 8
  %123 = load i32, ptr %122, align 8, !tbaa !27
  %124 = icmp eq i32 %123, 1
  br i1 %124, label %125, label %128

125:                                              ; preds = %116, %107
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.api_msg, ptr %126, i32 0, i32 1
  store i8 -11, ptr %127, align 8, !tbaa !18
  br label %160

128:                                              ; preds = %116, %100
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.api_msg, ptr %129, i32 0, i32 2
  %131 = getelementptr inbounds %struct.anon.1, ptr %130, i32 0, i32 2
  %132 = load i8, ptr %131, align 8, !tbaa !11
  %133 = zext i8 %132 to i32
  %134 = icmp ne i32 %133, 0
  br i1 %134, label %135, label %144

135:                                              ; preds = %128
  %136 = load ptr, ptr %3, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.api_msg, ptr %136, i32 0, i32 0
  %138 = load ptr, ptr %137, align 8, !tbaa !9
  %139 = getelementptr inbounds %struct.netconn, ptr %138, i32 0, i32 2
  %140 = load ptr, ptr %139, align 8, !tbaa !11
  %141 = getelementptr inbounds %struct.tcp_pcb, ptr %140, i32 0, i32 10
  %142 = load i16, ptr %141, align 2, !tbaa !29
  %143 = zext i16 %142 to i32
  br label %153

144:                                              ; preds = %128
  %145 = load ptr, ptr %3, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.api_msg, ptr %145, i32 0, i32 0
  %147 = load ptr, ptr %146, align 8, !tbaa !9
  %148 = getelementptr inbounds %struct.netconn, ptr %147, i32 0, i32 2
  %149 = load ptr, ptr %148, align 8, !tbaa !11
  %150 = getelementptr inbounds %struct.tcp_pcb, ptr %149, i32 0, i32 11
  %151 = load i16, ptr %150, align 8, !tbaa !30
  %152 = zext i16 %151 to i32
  br label %153

153:                                              ; preds = %144, %135
  %154 = phi i32 [ %143, %135 ], [ %152, %144 ]
  %155 = trunc i32 %154 to i16
  %156 = load ptr, ptr %3, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.api_msg, ptr %156, i32 0, i32 2
  %158 = getelementptr inbounds %struct.anon.1, ptr %157, i32 0, i32 1
  %159 = load ptr, ptr %158, align 8, !tbaa !11
  store i16 %155, ptr %159, align 2, !tbaa !24
  br label %160

160:                                              ; preds = %153, %125
  br label %169

161:                                              ; preds = %45
  br label %162

162:                                              ; preds = %161
  br label %163

163:                                              ; preds = %162
  %164 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.13, i32 noundef 1917, ptr noundef @.str.2)
  br label %165

165:                                              ; preds = %163
  br label %166

166:                                              ; preds = %165
  br label %167

167:                                              ; preds = %166
  br label %168

168:                                              ; preds = %167
  br label %169

169:                                              ; preds = %168, %160, %99
  br label %173

170:                                              ; preds = %1
  %171 = load ptr, ptr %3, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.api_msg, ptr %171, i32 0, i32 1
  store i8 -11, ptr %172, align 8, !tbaa !18
  br label %173

173:                                              ; preds = %170, %169
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  ret void
}

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"api_msg", !6, i64 0, !7, i64 8, !7, i64 16}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !15, i64 0}
!13 = !{!"ip_pcb", !14, i64 0, !14, i64 4, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11}
!14 = !{!"ip4_addr", !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!14, !15, i64 0}
!17 = !{!13, !15, i64 4}
!18 = !{!10, !7, i64 8}
!19 = !{!20, !15, i64 0}
!20 = !{!"netconn", !15, i64 0, !15, i64 4, !7, i64 8, !7, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !15, i64 48, !15, i64 52, !15, i64 56, !7, i64 60, !6, i64 64, !6, i64 72}
!21 = !{!22, !23, i64 26}
!22 = !{!"udp_pcb", !14, i64 0, !14, i64 4, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !6, i64 16, !7, i64 24, !23, i64 26, !23, i64 28, !6, i64 32, !6, i64 40}
!23 = !{!"short", !7, i64 0}
!24 = !{!23, !23, i64 0}
!25 = !{!22, !7, i64 24}
!26 = !{!22, !23, i64 28}
!27 = !{!28, !15, i64 32}
!28 = !{!"tcp_pcb", !14, i64 0, !14, i64 4, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !6, i64 16, !6, i64 24, !15, i64 32, !7, i64 36, !23, i64 38, !23, i64 40, !23, i64 42, !7, i64 44, !7, i64 45, !7, i64 46, !15, i64 48, !15, i64 52, !23, i64 56, !23, i64 58, !15, i64 60, !23, i64 64, !23, i64 66, !15, i64 68, !15, i64 72, !23, i64 76, !23, i64 78, !23, i64 80, !7, i64 82, !7, i64 83, !15, i64 84, !23, i64 88, !23, i64 90, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !23, i64 112, !23, i64 114, !23, i64 116, !23, i64 118, !23, i64 120, !23, i64 122, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !15, i64 200, !7, i64 204, !7, i64 205, !7, i64 206, !7, i64 207}
!29 = !{!28, !23, i64 38}
!30 = !{!28, !23, i64 40}


; 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 [40 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [181 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [21 x i8], align 1

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

; Function Attrs: nofree nounwind uwtable
define dso_local void @lwip_netconn_do_getaddr(ptr nocapture noundef %0) local_unnamed_addr #1 {
  %2 = load ptr, ptr %0, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %2, i64 8
  %4 = load ptr, ptr %3, align 8, !tbaa !10
  %.not = icmp eq ptr %4, null
  br i1 %.not, label %47, label %5

5:                                                ; preds = %1
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  %7 = getelementptr inbounds i8, ptr %0, i64 32
  %8 = load i8, ptr %7, align 8, !tbaa !10
  %.not26 = icmp eq i8 %8, 0
  %.sink31.idx = select i1 %.not26, i64 4, i64 0
  %.sink31 = getelementptr inbounds i8, ptr %4, i64 %.sink31.idx
  %9 = load i32, ptr %.sink31, align 4, !tbaa !11
  %10 = load ptr, ptr %6, align 8, !tbaa !10
  store i32 %9, ptr %10, align 4, !tbaa !13
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  store i8 0, ptr %11, align 8, !tbaa !15
  %12 = load i32, ptr %2, align 8, !tbaa !16
  %13 = trunc i32 %12 to i8
  %trunc = and i8 %13, -16
  switch i8 %trunc, label %45 [
    i8 32, label %14
    i8 16, label %33
  ]

14:                                               ; preds = %5
  %15 = load i8, ptr %7, align 8, !tbaa !10
  %.not29 = icmp eq i8 %15, 0
  %16 = load ptr, ptr %3, align 8, !tbaa !10
  br i1 %.not29, label %22, label %17

17:                                               ; preds = %14
  %18 = getelementptr inbounds i8, ptr %16, i64 26
  %19 = load i16, ptr %18, align 2, !tbaa !18
  %20 = getelementptr inbounds i8, ptr %0, i64 24
  %21 = load ptr, ptr %20, align 8, !tbaa !10
  store i16 %19, ptr %21, align 2, !tbaa !21
  br label %49

22:                                               ; preds = %14
  %23 = getelementptr inbounds i8, ptr %16, i64 24
  %24 = load i8, ptr %23, align 8, !tbaa !22
  %25 = and i8 %24, 4
  %26 = icmp eq i8 %25, 0
  br i1 %26, label %27, label %28

27:                                               ; preds = %22
  store i8 -11, ptr %11, align 8, !tbaa !15
  br label %49

28:                                               ; preds = %22
  %29 = getelementptr inbounds i8, ptr %16, i64 28
  %30 = load i16, ptr %29, align 4, !tbaa !23
  %31 = getelementptr inbounds i8, ptr %0, i64 24
  %32 = load ptr, ptr %31, align 8, !tbaa !10
  store i16 %30, ptr %32, align 2, !tbaa !21
  br label %49

33:                                               ; preds = %5
  %34 = load i8, ptr %7, align 8, !tbaa !10
  %35 = icmp eq i8 %34, 0
  %36 = load ptr, ptr %3, align 8, !tbaa !10
  br i1 %35, label %37, label %41

37:                                               ; preds = %33
  %38 = getelementptr inbounds i8, ptr %36, i64 32
  %39 = load i32, ptr %38, align 8, !tbaa !24
  %switch = icmp ult i32 %39, 2
  br i1 %switch, label %40, label %41

40:                                               ; preds = %37
  store i8 -11, ptr %11, align 8, !tbaa !15
  br label %49

41:                                               ; preds = %37, %33
  %.sink = phi i64 [ 38, %33 ], [ 40, %37 ]
  %42 = getelementptr inbounds i8, ptr %36, i64 %.sink
  %.in28 = load i16, ptr %42, align 2, !tbaa !21
  %43 = getelementptr inbounds i8, ptr %0, i64 24
  %44 = load ptr, ptr %43, align 8, !tbaa !10
  store i16 %.in28, ptr %44, align 2, !tbaa !21
  br label %49

45:                                               ; preds = %5
  %46 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull @.str.13, i32 noundef 1917, ptr noundef nonnull @.str.2)
  br label %49

47:                                               ; preds = %1
  %48 = getelementptr inbounds i8, ptr %0, i64 8
  store i8 -11, ptr %48, align 8, !tbaa !15
  br label %49

49:                                               ; preds = %45, %27, %28, %17, %41, %40, %47
  ret void
}

attributes #0 = { 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 #1 = { nofree 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, !7, i64 0}
!6 = !{!"api_msg", !7, i64 0, !8, i64 8, !8, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"ip4_addr", !12, i64 0}
!15 = !{!6, !8, i64 8}
!16 = !{!17, !12, i64 0}
!17 = !{!"netconn", !12, i64 0, !12, i64 4, !8, i64 8, !8, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !12, i64 48, !12, i64 52, !12, i64 56, !8, i64 60, !7, i64 64, !7, i64 72}
!18 = !{!19, !20, i64 26}
!19 = !{!"udp_pcb", !14, i64 0, !14, i64 4, !8, i64 8, !8, i64 9, !8, i64 10, !8, i64 11, !7, i64 16, !8, i64 24, !20, i64 26, !20, i64 28, !7, i64 32, !7, i64 40}
!20 = !{!"short", !8, i64 0}
!21 = !{!20, !20, i64 0}
!22 = !{!19, !8, i64 24}
!23 = !{!19, !20, i64 28}
!24 = !{!25, !12, i64 32}
!25 = !{!"tcp_pcb", !14, i64 0, !14, i64 4, !8, i64 8, !8, i64 9, !8, i64 10, !8, i64 11, !7, i64 16, !7, i64 24, !12, i64 32, !8, i64 36, !20, i64 38, !20, i64 40, !20, i64 42, !8, i64 44, !8, i64 45, !8, i64 46, !12, i64 48, !12, i64 52, !20, i64 56, !20, i64 58, !12, i64 60, !20, i64 64, !20, i64 66, !12, i64 68, !12, i64 72, !20, i64 76, !20, i64 78, !20, i64 80, !8, i64 82, !8, i64 83, !12, i64 84, !20, i64 88, !20, i64 90, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !20, i64 112, !20, i64 114, !20, i64 116, !20, i64 118, !20, i64 120, !20, i64 122, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !12, i64 200, !8, i64 204, !8, i64 205, !8, i64 206, !8, i64 207}


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