; LLVM IR from moveit/moveit :: moveit_planners/sbpl/core/sbpl_interface/src (bresenham)

; 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.bresenham3d_param_t = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z26get_bresenham3d_parametersiiiiiiP19bresenham3d_param_t(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  store i32 %0, ptr %8, align 4, !tbaa !5
  store i32 %1, ptr %9, align 4, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !5
  store i32 %3, ptr %11, align 4, !tbaa !5
  store i32 %4, ptr %12, align 4, !tbaa !5
  store i32 %5, ptr %13, align 4, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !9
  %15 = load i32, ptr %8, align 4, !tbaa !5
  %16 = load ptr, ptr %14, align 8, !tbaa !9
  %17 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %16, i32 0, i32 0
  store i32 %15, ptr %17, align 4, !tbaa !11
  %18 = load i32, ptr %9, align 4, !tbaa !5
  %19 = load ptr, ptr %14, align 8, !tbaa !9
  %20 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %19, i32 0, i32 1
  store i32 %18, ptr %20, align 4, !tbaa !13
  %21 = load i32, ptr %10, align 4, !tbaa !5
  %22 = load ptr, ptr %14, align 8, !tbaa !9
  %23 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %22, i32 0, i32 2
  store i32 %21, ptr %23, align 4, !tbaa !14
  %24 = load i32, ptr %11, align 4, !tbaa !5
  %25 = load ptr, ptr %14, align 8, !tbaa !9
  %26 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %25, i32 0, i32 3
  store i32 %24, ptr %26, align 4, !tbaa !15
  %27 = load i32, ptr %12, align 4, !tbaa !5
  %28 = load ptr, ptr %14, align 8, !tbaa !9
  %29 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %28, i32 0, i32 4
  store i32 %27, ptr %29, align 4, !tbaa !16
  %30 = load i32, ptr %13, align 4, !tbaa !5
  %31 = load ptr, ptr %14, align 8, !tbaa !9
  %32 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %31, i32 0, i32 5
  store i32 %30, ptr %32, align 4, !tbaa !17
  %33 = load ptr, ptr %14, align 8, !tbaa !9
  %34 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %33, i32 0, i32 0
  %35 = load i32, ptr %34, align 4, !tbaa !11
  %36 = load ptr, ptr %14, align 8, !tbaa !9
  %37 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %36, i32 0, i32 6
  store i32 %35, ptr %37, align 4, !tbaa !18
  %38 = load ptr, ptr %14, align 8, !tbaa !9
  %39 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %38, i32 0, i32 1
  %40 = load i32, ptr %39, align 4, !tbaa !13
  %41 = load ptr, ptr %14, align 8, !tbaa !9
  %42 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %41, i32 0, i32 7
  store i32 %40, ptr %42, align 4, !tbaa !19
  %43 = load ptr, ptr %14, align 8, !tbaa !9
  %44 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %43, i32 0, i32 2
  %45 = load i32, ptr %44, align 4, !tbaa !14
  %46 = load ptr, ptr %14, align 8, !tbaa !9
  %47 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %46, i32 0, i32 8
  store i32 %45, ptr %47, align 4, !tbaa !20
  %48 = load i32, ptr %11, align 4, !tbaa !5
  %49 = load i32, ptr %8, align 4, !tbaa !5
  %50 = sub nsw i32 %48, %49
  %51 = sitofp i32 %50 to double
  %52 = call double @llvm.fabs.f64(double %51)
  %53 = fptosi double %52 to i32
  %54 = load ptr, ptr %14, align 8, !tbaa !9
  %55 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %54, i32 0, i32 13
  store i32 %53, ptr %55, align 4, !tbaa !21
  %56 = load i32, ptr %12, align 4, !tbaa !5
  %57 = load i32, ptr %9, align 4, !tbaa !5
  %58 = sub nsw i32 %56, %57
  %59 = sitofp i32 %58 to double
  %60 = call double @llvm.fabs.f64(double %59)
  %61 = fptosi double %60 to i32
  %62 = load ptr, ptr %14, align 8, !tbaa !9
  %63 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %62, i32 0, i32 14
  store i32 %61, ptr %63, align 4, !tbaa !22
  %64 = load i32, ptr %13, align 4, !tbaa !5
  %65 = load i32, ptr %10, align 4, !tbaa !5
  %66 = sub nsw i32 %64, %65
  %67 = sitofp i32 %66 to double
  %68 = call double @llvm.fabs.f64(double %67)
  %69 = fptosi double %68 to i32
  %70 = load ptr, ptr %14, align 8, !tbaa !9
  %71 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %70, i32 0, i32 15
  store i32 %69, ptr %71, align 4, !tbaa !23
  %72 = load ptr, ptr %14, align 8, !tbaa !9
  %73 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %72, i32 0, i32 13
  %74 = load i32, ptr %73, align 4, !tbaa !21
  %75 = shl i32 %74, 1
  %76 = load ptr, ptr %14, align 8, !tbaa !9
  %77 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %76, i32 0, i32 16
  store i32 %75, ptr %77, align 4, !tbaa !24
  %78 = load ptr, ptr %14, align 8, !tbaa !9
  %79 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %78, i32 0, i32 14
  %80 = load i32, ptr %79, align 4, !tbaa !22
  %81 = shl i32 %80, 1
  %82 = load ptr, ptr %14, align 8, !tbaa !9
  %83 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %82, i32 0, i32 17
  store i32 %81, ptr %83, align 4, !tbaa !25
  %84 = load ptr, ptr %14, align 8, !tbaa !9
  %85 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %84, i32 0, i32 15
  %86 = load i32, ptr %85, align 4, !tbaa !23
  %87 = shl i32 %86, 1
  %88 = load ptr, ptr %14, align 8, !tbaa !9
  %89 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %88, i32 0, i32 18
  store i32 %87, ptr %89, align 4, !tbaa !26
  %90 = load i32, ptr %11, align 4, !tbaa !5
  %91 = load i32, ptr %8, align 4, !tbaa !5
  %92 = sub nsw i32 %90, %91
  %93 = sitofp i32 %92 to double
  %94 = fcmp olt double %93, 0.000000e+00
  br i1 %94, label %95, label %98

95:                                               ; preds = %7
  %96 = load ptr, ptr %14, align 8, !tbaa !9
  %97 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %96, i32 0, i32 10
  store i32 -1, ptr %97, align 4, !tbaa !27
  br label %101

98:                                               ; preds = %7
  %99 = load ptr, ptr %14, align 8, !tbaa !9
  %100 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %99, i32 0, i32 10
  store i32 1, ptr %100, align 4, !tbaa !27
  br label %101

101:                                              ; preds = %98, %95
  %102 = load i32, ptr %12, align 4, !tbaa !5
  %103 = load i32, ptr %9, align 4, !tbaa !5
  %104 = sub nsw i32 %102, %103
  %105 = sitofp i32 %104 to double
  %106 = fcmp olt double %105, 0.000000e+00
  br i1 %106, label %107, label %110

107:                                              ; preds = %101
  %108 = load ptr, ptr %14, align 8, !tbaa !9
  %109 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %108, i32 0, i32 11
  store i32 -1, ptr %109, align 4, !tbaa !28
  br label %113

110:                                              ; preds = %101
  %111 = load ptr, ptr %14, align 8, !tbaa !9
  %112 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %111, i32 0, i32 11
  store i32 1, ptr %112, align 4, !tbaa !28
  br label %113

113:                                              ; preds = %110, %107
  %114 = load i32, ptr %13, align 4, !tbaa !5
  %115 = load i32, ptr %10, align 4, !tbaa !5
  %116 = sub nsw i32 %114, %115
  %117 = sitofp i32 %116 to double
  %118 = fcmp olt double %117, 0.000000e+00
  br i1 %118, label %119, label %122

119:                                              ; preds = %113
  %120 = load ptr, ptr %14, align 8, !tbaa !9
  %121 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %120, i32 0, i32 12
  store i32 -1, ptr %121, align 4, !tbaa !29
  br label %125

122:                                              ; preds = %113
  %123 = load ptr, ptr %14, align 8, !tbaa !9
  %124 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %123, i32 0, i32 12
  store i32 1, ptr %124, align 4, !tbaa !29
  br label %125

125:                                              ; preds = %122, %119
  %126 = load ptr, ptr %14, align 8, !tbaa !9
  %127 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %126, i32 0, i32 13
  %128 = load i32, ptr %127, align 4, !tbaa !21
  %129 = load ptr, ptr %14, align 8, !tbaa !9
  %130 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %129, i32 0, i32 14
  %131 = load i32, ptr %130, align 4, !tbaa !22
  %132 = icmp sge i32 %128, %131
  br i1 %132, label %133, label %162

133:                                              ; preds = %125
  %134 = load ptr, ptr %14, align 8, !tbaa !9
  %135 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %134, i32 0, i32 13
  %136 = load i32, ptr %135, align 4, !tbaa !21
  %137 = load ptr, ptr %14, align 8, !tbaa !9
  %138 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %137, i32 0, i32 15
  %139 = load i32, ptr %138, align 4, !tbaa !23
  %140 = icmp sge i32 %136, %139
  br i1 %140, label %141, label %162

141:                                              ; preds = %133
  %142 = load ptr, ptr %14, align 8, !tbaa !9
  %143 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %142, i32 0, i32 9
  store i32 0, ptr %143, align 4, !tbaa !30
  %144 = load ptr, ptr %14, align 8, !tbaa !9
  %145 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %144, i32 0, i32 17
  %146 = load i32, ptr %145, align 4, !tbaa !25
  %147 = load ptr, ptr %14, align 8, !tbaa !9
  %148 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %147, i32 0, i32 13
  %149 = load i32, ptr %148, align 4, !tbaa !21
  %150 = sub nsw i32 %146, %149
  %151 = load ptr, ptr %14, align 8, !tbaa !9
  %152 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %151, i32 0, i32 19
  store i32 %150, ptr %152, align 4, !tbaa !31
  %153 = load ptr, ptr %14, align 8, !tbaa !9
  %154 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %153, i32 0, i32 18
  %155 = load i32, ptr %154, align 4, !tbaa !26
  %156 = load ptr, ptr %14, align 8, !tbaa !9
  %157 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %156, i32 0, i32 13
  %158 = load i32, ptr %157, align 4, !tbaa !21
  %159 = sub nsw i32 %155, %158
  %160 = load ptr, ptr %14, align 8, !tbaa !9
  %161 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %160, i32 0, i32 20
  store i32 %159, ptr %161, align 4, !tbaa !32
  br label %221

162:                                              ; preds = %133, %125
  %163 = load ptr, ptr %14, align 8, !tbaa !9
  %164 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %163, i32 0, i32 14
  %165 = load i32, ptr %164, align 4, !tbaa !22
  %166 = load ptr, ptr %14, align 8, !tbaa !9
  %167 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %166, i32 0, i32 13
  %168 = load i32, ptr %167, align 4, !tbaa !21
  %169 = icmp sge i32 %165, %168
  br i1 %169, label %170, label %199

170:                                              ; preds = %162
  %171 = load ptr, ptr %14, align 8, !tbaa !9
  %172 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %171, i32 0, i32 14
  %173 = load i32, ptr %172, align 4, !tbaa !22
  %174 = load ptr, ptr %14, align 8, !tbaa !9
  %175 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %174, i32 0, i32 15
  %176 = load i32, ptr %175, align 4, !tbaa !23
  %177 = icmp sge i32 %173, %176
  br i1 %177, label %178, label %199

178:                                              ; preds = %170
  %179 = load ptr, ptr %14, align 8, !tbaa !9
  %180 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %179, i32 0, i32 9
  store i32 1, ptr %180, align 4, !tbaa !30
  %181 = load ptr, ptr %14, align 8, !tbaa !9
  %182 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %181, i32 0, i32 16
  %183 = load i32, ptr %182, align 4, !tbaa !24
  %184 = load ptr, ptr %14, align 8, !tbaa !9
  %185 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %184, i32 0, i32 14
  %186 = load i32, ptr %185, align 4, !tbaa !22
  %187 = sub nsw i32 %183, %186
  %188 = load ptr, ptr %14, align 8, !tbaa !9
  %189 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %188, i32 0, i32 19
  store i32 %187, ptr %189, align 4, !tbaa !31
  %190 = load ptr, ptr %14, align 8, !tbaa !9
  %191 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %190, i32 0, i32 18
  %192 = load i32, ptr %191, align 4, !tbaa !26
  %193 = load ptr, ptr %14, align 8, !tbaa !9
  %194 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %193, i32 0, i32 14
  %195 = load i32, ptr %194, align 4, !tbaa !22
  %196 = sub nsw i32 %192, %195
  %197 = load ptr, ptr %14, align 8, !tbaa !9
  %198 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %197, i32 0, i32 20
  store i32 %196, ptr %198, align 4, !tbaa !32
  br label %220

199:                                              ; preds = %170, %162
  %200 = load ptr, ptr %14, align 8, !tbaa !9
  %201 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %200, i32 0, i32 9
  store i32 2, ptr %201, align 4, !tbaa !30
  %202 = load ptr, ptr %14, align 8, !tbaa !9
  %203 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %202, i32 0, i32 17
  %204 = load i32, ptr %203, align 4, !tbaa !25
  %205 = load ptr, ptr %14, align 8, !tbaa !9
  %206 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %205, i32 0, i32 15
  %207 = load i32, ptr %206, align 4, !tbaa !23
  %208 = sub nsw i32 %204, %207
  %209 = load ptr, ptr %14, align 8, !tbaa !9
  %210 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %209, i32 0, i32 19
  store i32 %208, ptr %210, align 4, !tbaa !31
  %211 = load ptr, ptr %14, align 8, !tbaa !9
  %212 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %211, i32 0, i32 16
  %213 = load i32, ptr %212, align 4, !tbaa !24
  %214 = load ptr, ptr %14, align 8, !tbaa !9
  %215 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %214, i32 0, i32 15
  %216 = load i32, ptr %215, align 4, !tbaa !23
  %217 = sub nsw i32 %213, %216
  %218 = load ptr, ptr %14, align 8, !tbaa !9
  %219 = getelementptr inbounds %struct.bresenham3d_param_t, ptr %218, i32 0, i32 20
  store i32 %217, ptr %219, align 4, !tbaa !32
  br label %220

220:                                              ; preds = %199, %178
  br label %221

221:                                              ; preds = %220, %141
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1

attributes #0 = { mustprogress 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTS19bresenham3d_param_t", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !6, i64 64, !6, i64 68, !6, i64 72, !6, i64 76, !6, i64 80}
!13 = !{!12, !6, i64 4}
!14 = !{!12, !6, i64 8}
!15 = !{!12, !6, i64 12}
!16 = !{!12, !6, i64 16}
!17 = !{!12, !6, i64 20}
!18 = !{!12, !6, i64 24}
!19 = !{!12, !6, i64 28}
!20 = !{!12, !6, i64 32}
!21 = !{!12, !6, i64 52}
!22 = !{!12, !6, i64 56}
!23 = !{!12, !6, i64 60}
!24 = !{!12, !6, i64 64}
!25 = !{!12, !6, i64 68}
!26 = !{!12, !6, i64 72}
!27 = !{!12, !6, i64 40}
!28 = !{!12, !6, i64 44}
!29 = !{!12, !6, i64 48}
!30 = !{!12, !6, i64 36}
!31 = !{!12, !6, i64 76}
!32 = !{!12, !6, i64 80}


; 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: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define dso_local void @_Z26get_bresenham3d_parametersiiiiiiP19bresenham3d_param_t(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr nocapture noundef writeonly %6) local_unnamed_addr #0 {
  store i32 %0, ptr %6, align 4, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %6, i64 4
  store i32 %1, ptr %8, align 4, !tbaa !10
  %9 = getelementptr inbounds i8, ptr %6, i64 8
  store i32 %2, ptr %9, align 4, !tbaa !11
  %10 = getelementptr inbounds i8, ptr %6, i64 12
  store i32 %3, ptr %10, align 4, !tbaa !12
  %11 = getelementptr inbounds i8, ptr %6, i64 16
  store i32 %4, ptr %11, align 4, !tbaa !13
  %12 = getelementptr inbounds i8, ptr %6, i64 20
  store i32 %5, ptr %12, align 4, !tbaa !14
  %13 = getelementptr inbounds i8, ptr %6, i64 24
  store i32 %0, ptr %13, align 4, !tbaa !15
  %14 = getelementptr inbounds i8, ptr %6, i64 28
  store i32 %1, ptr %14, align 4, !tbaa !16
  %15 = getelementptr inbounds i8, ptr %6, i64 32
  store i32 %2, ptr %15, align 4, !tbaa !17
  %16 = sub nsw i32 %3, %0
  %17 = sitofp i32 %16 to double
  %18 = tail call double @llvm.fabs.f64(double %17)
  %19 = fptosi double %18 to i32
  %20 = getelementptr inbounds i8, ptr %6, i64 52
  store i32 %19, ptr %20, align 4, !tbaa !18
  %21 = sub nsw i32 %4, %1
  %22 = sitofp i32 %21 to double
  %23 = tail call double @llvm.fabs.f64(double %22)
  %24 = fptosi double %23 to i32
  %25 = getelementptr inbounds i8, ptr %6, i64 56
  store i32 %24, ptr %25, align 4, !tbaa !19
  %26 = sub nsw i32 %5, %2
  %27 = sitofp i32 %26 to double
  %28 = tail call double @llvm.fabs.f64(double %27)
  %29 = fptosi double %28 to i32
  %30 = getelementptr inbounds i8, ptr %6, i64 60
  store i32 %29, ptr %30, align 4, !tbaa !20
  %31 = shl i32 %19, 1
  %32 = getelementptr inbounds i8, ptr %6, i64 64
  store i32 %31, ptr %32, align 4, !tbaa !21
  %33 = shl i32 %24, 1
  %34 = getelementptr inbounds i8, ptr %6, i64 68
  store i32 %33, ptr %34, align 4, !tbaa !22
  %35 = shl i32 %29, 1
  %36 = getelementptr inbounds i8, ptr %6, i64 72
  store i32 %35, ptr %36, align 4, !tbaa !23
  %.inv = icmp sgt i32 %16, -1
  %spec.select = select i1 %.inv, i32 1, i32 -1
  %37 = getelementptr inbounds i8, ptr %6, i64 40
  store i32 %spec.select, ptr %37, align 4
  %.inv80 = icmp sgt i32 %21, -1
  %.sink78 = select i1 %.inv80, i32 1, i32 -1
  %38 = getelementptr inbounds i8, ptr %6, i64 44
  store i32 %.sink78, ptr %38, align 4
  %.inv81 = icmp sgt i32 %26, -1
  %.sink79 = select i1 %.inv81, i32 1, i32 -1
  %39 = getelementptr inbounds i8, ptr %6, i64 48
  store i32 %.sink79, ptr %39, align 4
  %.not = icmp slt i32 %19, %24
  %.not74 = icmp slt i32 %19, %29
  %or.cond = select i1 %.not, i1 true, i1 %.not74
  br i1 %or.cond, label %46, label %40

40:                                               ; preds = %7
  %41 = getelementptr inbounds i8, ptr %6, i64 36
  store i32 0, ptr %41, align 4, !tbaa !24
  %42 = sub nsw i32 %33, %19
  %43 = getelementptr inbounds i8, ptr %6, i64 76
  store i32 %42, ptr %43, align 4, !tbaa !25
  %44 = sub nsw i32 %35, %19
  %45 = getelementptr inbounds i8, ptr %6, i64 80
  store i32 %44, ptr %45, align 4, !tbaa !26
  br label %56

46:                                               ; preds = %7
  %.not75 = icmp slt i32 %24, %19
  %.not76 = icmp slt i32 %24, %29
  %or.cond77 = select i1 %.not75, i1 true, i1 %.not76
  %47 = getelementptr inbounds i8, ptr %6, i64 36
  %48 = getelementptr inbounds i8, ptr %6, i64 76
  %49 = getelementptr inbounds i8, ptr %6, i64 80
  br i1 %or.cond77, label %53, label %50

50:                                               ; preds = %46
  store i32 1, ptr %47, align 4, !tbaa !24
  %51 = sub nsw i32 %31, %24
  store i32 %51, ptr %48, align 4, !tbaa !25
  %52 = sub nsw i32 %35, %24
  store i32 %52, ptr %49, align 4, !tbaa !26
  br label %56

53:                                               ; preds = %46
  store i32 2, ptr %47, align 4, !tbaa !24
  %54 = sub nsw i32 %33, %29
  store i32 %54, ptr %48, align 4, !tbaa !25
  %55 = sub nsw i32 %31, %29
  store i32 %55, ptr %49, align 4, !tbaa !26
  br label %56

56:                                               ; preds = %50, %53, %40
  ret void
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1

attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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 = !{!"_ZTS19bresenham3d_param_t", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 12}
!13 = !{!6, !7, i64 16}
!14 = !{!6, !7, i64 20}
!15 = !{!6, !7, i64 24}
!16 = !{!6, !7, i64 28}
!17 = !{!6, !7, i64 32}
!18 = !{!6, !7, i64 52}
!19 = !{!6, !7, i64 56}
!20 = !{!6, !7, i64 60}
!21 = !{!6, !7, i64 64}
!22 = !{!6, !7, i64 68}
!23 = !{!6, !7, i64 72}
!24 = !{!6, !7, i64 36}
!25 = !{!6, !7, i64 76}
!26 = !{!6, !7, i64 80}


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