#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ gs_line(int, int, int, int, int);
int /*<<< orphan*/ stderr;
void gs_swsolidline(int x1, int y1, int x2, int y2, int t, int c) {
  int i, w;
  {
    if (!((y2 >= y1))) {
      (void)fprintf(stderr, "Assertion failed: file \"%s\", line %d\n",
                    "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                    "outputs/2022-01-22/02-19-57/repos/darkaio/AiOqwingraph/"
                    "refs/heads/master/drawlib.c",
                    3591);
      (void)fprintf(stderr,
                    "This is a bug! Please contact sander@cs.uni-sb.de !\n");
      exit(1);
    }
  };
  {
    if (!((x2 <= x1))) {
      (void)fprintf(stderr, "Assertion failed: file \"%s\", line %d\n",
                    "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                    "outputs/2022-01-22/02-19-57/repos/darkaio/AiOqwingraph/"
                    "refs/heads/master/drawlib.c",
                    3592);
      (void)fprintf(stderr,
                    "This is a bug! Please contact sander@cs.uni-sb.de !\n");
      exit(1);
    }
  };
  w = 7 * t / 10;
  gs_line(x1, y1, x2, y2, c);
  if (w <= 1)
    return;
  if (w % 1) {
    for (i = 0; i < w; i++)
      gs_line(x1 + w / 2 - i, y1 - w / 2, x2 - w / 2, y2 + w / 2 - i, c);
    for (i = 0; i < w; i++)
      gs_line(x1 + w / 2, y1 - w / 2 + i, x2 - w / 2 + i, y2 + w / 2, c);
    return;
  }
  for (i = 0; i < w; i++)
    gs_line(x1 + w / 2 - i, y1 - w / 2, x2 - w / 2 + 1, y2 + w / 2 - 1 - i, c);
  for (i = 0; i < w; i++)
    gs_line(x1 + w / 2, y1 - w / 2 + i, x2 - w / 2 + 1 + i, y2 + w / 2 - 1, c);
}


x86 assembly (clang, -O0):
<gs_swsolidline>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %ecx,-0x10(%rbp)
mov    %r8d,-0x14(%rbp)
mov    %r9d,-0x18(%rbp)
mov    -0x10(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    119c <gs_swsolidline+0x6c>
mov    0x2e81(%rip),%rax
mov    (%rax),%edi
lea    0xe98(%rip),%rsi
lea    0xeb7(%rip),%rdx
mov    $0xe07,%ecx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e5e(%rip),%rax
mov    (%rax),%edi
lea    0xf26(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    $0x1,%edi
call   1050 <exit@plt>
mov    -0xc(%rbp),%eax
cmp    -0x4(%rbp),%eax
jle    11ec <gs_swsolidline+0xbc>
mov    0x2e31(%rip),%rax
mov    (%rax),%edi
lea    0xe48(%rip),%rsi
lea    0xe67(%rip),%rdx
mov    $0xe08,%ecx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e0e(%rip),%rax
mov    (%rax),%edi
lea    0xed6(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    $0x1,%edi
call   1050 <exit@plt>
imul   $0x7,-0x14(%rbp),%eax
mov    $0xa,%ecx
cltd
idiv   %ecx
mov    %eax,-0x20(%rbp)
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x10(%rbp),%ecx
mov    -0x18(%rbp),%r8d
call   1040 <gs_line@plt>
cmpl   $0x1,-0x20(%rbp)
jg     121f <gs_swsolidline+0xef>
jmp    1444 <gs_swsolidline+0x314>
mov    -0x20(%rbp),%eax
mov    $0x1,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
je     1338 <gs_swsolidline+0x208>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    12b3 <gs_swsolidline+0x183>
mov    -0x4(%rbp),%edi
mov    -0x20(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
add    %eax,%edi
sub    -0x1c(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    -0x20(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
sub    %eax,%esi
mov    -0xc(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    -0x20(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x28(%rbp),%eax
sub    %ecx,%eax
mov    %eax,-0x24(%rbp)
mov    -0x10(%rbp),%ecx
mov    -0x20(%rbp),%eax
mov    $0x2,%r8d
cltd
idiv   %r8d
mov    -0x24(%rbp),%edx
add    %eax,%ecx
sub    -0x1c(%rbp),%ecx
mov    -0x18(%rbp),%r8d
call   1040 <gs_line@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    123a <gs_swsolidline+0x10a>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    1333 <gs_swsolidline+0x203>
mov    -0x4(%rbp),%edi
mov    -0x20(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
add    %eax,%edi
mov    -0x8(%rbp),%esi
mov    -0x20(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
sub    %eax,%esi
add    -0x1c(%rbp),%esi
mov    -0xc(%rbp),%eax
mov    %eax,-0x30(%rbp)
mov    -0x20(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x30(%rbp),%eax
sub    %ecx,%eax
add    -0x1c(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    -0x10(%rbp),%ecx
mov    -0x20(%rbp),%eax
mov    $0x2,%r8d
cltd
idiv   %r8d
mov    -0x2c(%rbp),%edx
add    %eax,%ecx
mov    -0x18(%rbp),%r8d
call   1040 <gs_line@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    12ba <gs_swsolidline+0x18a>
jmp    1444 <gs_swsolidline+0x314>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    13be <gs_swsolidline+0x28e>
mov    -0x4(%rbp),%edi
mov    -0x20(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
add    %eax,%edi
sub    -0x1c(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    -0x20(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
sub    %eax,%esi
mov    -0xc(%rbp),%eax
mov    %eax,-0x38(%rbp)
mov    -0x20(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x38(%rbp),%eax
sub    %ecx,%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
mov    -0x10(%rbp),%ecx
mov    -0x20(%rbp),%eax
mov    $0x2,%r8d
cltd
idiv   %r8d
mov    -0x34(%rbp),%edx
add    %eax,%ecx
sub    $0x1,%ecx
sub    -0x1c(%rbp),%ecx
mov    -0x18(%rbp),%r8d
call   1040 <gs_line@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    133f <gs_swsolidline+0x20f>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    1444 <gs_swsolidline+0x314>
mov    -0x4(%rbp),%edi
mov    -0x20(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
add    %eax,%edi
mov    -0x8(%rbp),%esi
mov    -0x20(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
sub    %eax,%esi
add    -0x1c(%rbp),%esi
mov    -0xc(%rbp),%eax
mov    %eax,-0x40(%rbp)
mov    -0x20(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x40(%rbp),%eax
sub    %ecx,%eax
add    $0x1,%eax
add    -0x1c(%rbp),%eax
mov    %eax,-0x3c(%rbp)
mov    -0x10(%rbp),%ecx
mov    -0x20(%rbp),%eax
mov    $0x2,%r8d
cltd
idiv   %r8d
mov    -0x3c(%rbp),%edx
add    %eax,%ecx
sub    $0x1,%ecx
mov    -0x18(%rbp),%r8d
call   1040 <gs_line@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    13c5 <gs_swsolidline+0x295>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<gs_swsolidline>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
cmp    %esi,%ecx
jl     126e <gs_swsolidline+0x13e>
mov    %edx,%ebp
mov    %edi,%r14d
cmp    %edi,%edx
jg     128c <gs_swsolidline+0x15c>
mov    %r9d,%r12d
mov    %ecx,%r15d
mov    %esi,%r13d
lea    0x0(,%r8,8),%ebx
sub    %r8d,%ebx
mov    %r14d,%edi
mov    %ebp,%edx
mov    %r9d,%r8d
call   1040 <gs_line@plt>
cmp    $0x14,%ebx
jl     125f <gs_swsolidline+0x12f>
movslq %ebx,%rax
mov    %r12d,(%rsp)
imul   $0x66666667,%rax,%r12
mov    %r12,%rax
shr    $0x3f,%rax
sar    $0x22,%r12
add    %eax,%r12d
mov    %ebx,0x4(%rsp)
mov    %ebx,%edx
mov    $0xcccccccd,%eax
mov    %rdx,0x10(%rsp)
imul   %rdx,%rax
shr    $0x24,%rax
mov    %r14,0x20(%rsp)
lea    (%rax,%r14,1),%ebx
mov    %r13d,%edx
sub    %eax,%edx
mov    %edx,0xc(%rsp)
mov    %ebp,%edx
sub    %eax,%edx
add    $0x1,%edx
mov    %edx,0x8(%rsp)
mov    %r15,0x18(%rsp)
lea    (%r15,%rax,1),%r14d
add    $0xffffffff,%r14d
mov    %r12d,%r15d
xchg   %ax,%ax
mov    %ebx,%edi
mov    0xc(%rsp),%esi
mov    0x8(%rsp),%edx
mov    %r14d,%ecx
mov    (%rsp),%r8d
call   1040 <gs_line@plt>
add    $0xffffffff,%ebx
add    $0xffffffff,%r14d
add    $0xffffffff,%r15d
jne    11e0 <gs_swsolidline+0xb0>
cmpl   $0xa,0x4(%rsp)
mov    (%rsp),%r14d
mov    0x20(%rsp),%r15
mov    0x18(%rsp),%rcx
jl     125f <gs_swsolidline+0x12f>
mov    $0xcccccccd,%eax
imul   0x10(%rsp),%rax
shr    $0x24,%rax
add    %eax,%r15d
sub    %eax,%r13d
lea    (%rcx,%rax,1),%ebx
add    $0xffffffff,%ebx
sub    %eax,%ebp
add    $0x1,%ebp
nopl   0x0(%rax,%rax,1)
mov    %r15d,%edi
mov    %r13d,%esi
mov    %ebp,%edx
mov    %ebx,%ecx
mov    %r14d,%r8d
call   1040 <gs_line@plt>
add    $0x1,%r13d
add    $0x1,%ebp
add    $0xffffffff,%r12d
jne    1240 <gs_swsolidline+0x110>
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2d6b(%rip),%rbx
mov    (%rbx),%edi
lea    0xd82(%rip),%rsi
lea    0xda1(%rip),%rdx
mov    $0xe07,%ecx
jmp    12a8 <gs_swsolidline+0x178>
mov    0x2d4d(%rip),%rbx
mov    (%rbx),%edi
lea    0xd64(%rip),%rsi
lea    0xd83(%rip),%rdx
mov    $0xe08,%ecx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xdf9(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    $0x1,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [38 x i8] c"Assertion failed: file \22%s\22, line %d\0A\00"
@.str.1 = [139 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/darkaio/AiOqwingraph/refs/heads/master/drawlib.c\00"
@.str.2 = [53 x i8] c"This is a bug! Please contact sander@cs.uni-sb.de !\0A\00"
define void @gs_swsolidline(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5) {
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
store i32 %0, i32* %7
store i32 %1, i32* %8
store i32 %2, i32* %9
store i32 %3, i32* %10
store i32 %4, i32* %11
store i32 %5, i32* %12
%15 = load i32, i32* %10
%16 = load i32, i32* %8
%17 = icmp sge i32 %15, %16
br i1 %17, label %24, label %18
18: ; preds = %6
%19 = load i32, i32* @stderr
%20 = call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str.1, i64 0, i64 0), i32 3591)
%21 = load i32, i32* @stderr
%22 = call i32 (i32, i8*, ...) @fprintf(i32 %21, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.2, i64 0, i64 0))
%23 = call i32 @exit(i32 1)
unreachable
24: ; preds = %6
%25 = load i32, i32* %9
%26 = load i32, i32* %7
%27 = icmp sle i32 %25, %26
br i1 %27, label %34, label %28
28: ; preds = %24
%29 = load i32, i32* @stderr
%30 = call i32 (i32, i8*, ...) @fprintf(i32 %29, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str.1, i64 0, i64 0), i32 3592)
%31 = load i32, i32* @stderr
%32 = call i32 (i32, i8*, ...) @fprintf(i32 %31, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.2, i64 0, i64 0))
%33 = call i32 @exit(i32 1)
unreachable
34: ; preds = %24
%35 = load i32, i32* %11
%36 = mul nsw i32 7, %35
%37 = sdiv i32 %36, 10
store i32 %37, i32* %14
%38 = load i32, i32* %7
%39 = load i32, i32* %8
%40 = load i32, i32* %9
%41 = load i32, i32* %10
%42 = load i32, i32* %12
%43 = call i32 @gs_line(i32 %38, i32 %39, i32 %40, i32 %41, i32 %42)
%44 = load i32, i32* %14
%45 = icmp sle i32 %44, 1
br i1 %45, label %46, label %47
46: ; preds = %34
br label %180
47: ; preds = %34
%48 = load i32, i32* %14
%49 = srem i32 %48, 1
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %114
51: ; preds = %47
store i32 0, i32* %13
br label %52
52: ; preds = %79, %51
%53 = load i32, i32* %13
%54 = load i32, i32* %14
%55 = icmp slt i32 %53, %54
br i1 %55, label %56, label %82
56: ; preds = %52
%57 = load i32, i32* %7
%58 = load i32, i32* %14
%59 = sdiv i32 %58, 2
%60 = add nsw i32 %57, %59
%61 = load i32, i32* %13
%62 = sub nsw i32 %60, %61
%63 = load i32, i32* %8
%64 = load i32, i32* %14
%65 = sdiv i32 %64, 2
%66 = sub nsw i32 %63, %65
%67 = load i32, i32* %9
%68 = load i32, i32* %14
%69 = sdiv i32 %68, 2
%70 = sub nsw i32 %67, %69
%71 = load i32, i32* %10
%72 = load i32, i32* %14
%73 = sdiv i32 %72, 2
%74 = add nsw i32 %71, %73
%75 = load i32, i32* %13
%76 = sub nsw i32 %74, %75
%77 = load i32, i32* %12
%78 = call i32 @gs_line(i32 %62, i32 %66, i32 %70, i32 %76, i32 %77)
br label %79
79: ; preds = %56
%80 = load i32, i32* %13
%81 = add nsw i32 %80, 1
store i32 %81, i32* %13
br label %52
82: ; preds = %52
store i32 0, i32* %13
br label %83
83: ; preds = %110, %82
%84 = load i32, i32* %13
%85 = load i32, i32* %14
%86 = icmp slt i32 %84, %85
br i1 %86, label %87, label %113
87: ; preds = %83
%88 = load i32, i32* %7
%89 = load i32, i32* %14
%90 = sdiv i32 %89, 2
%91 = add nsw i32 %88, %90
%92 = load i32, i32* %8
%93 = load i32, i32* %14
%94 = sdiv i32 %93, 2
%95 = sub nsw i32 %92, %94
%96 = load i32, i32* %13
%97 = add nsw i32 %95, %96
%98 = load i32, i32* %9
%99 = load i32, i32* %14
%100 = sdiv i32 %99, 2
%101 = sub nsw i32 %98, %100
%102 = load i32, i32* %13
%103 = add nsw i32 %101, %102
%104 = load i32, i32* %10
%105 = load i32, i32* %14
%106 = sdiv i32 %105, 2
%107 = add nsw i32 %104, %106
%108 = load i32, i32* %12
%109 = call i32 @gs_line(i32 %91, i32 %97, i32 %103, i32 %107, i32 %108)
br label %110
110: ; preds = %87
%111 = load i32, i32* %13
%112 = add nsw i32 %111, 1
store i32 %112, i32* %13
br label %83
113: ; preds = %83
br label %180
114: ; preds = %47
store i32 0, i32* %13
br label %115
115: ; preds = %144, %114
%116 = load i32, i32* %13
%117 = load i32, i32* %14
%118 = icmp slt i32 %116, %117
br i1 %118, label %119, label %147
119: ; preds = %115
%120 = load i32, i32* %7
%121 = load i32, i32* %14
%122 = sdiv i32 %121, 2
%123 = add nsw i32 %120, %122
%124 = load i32, i32* %13
%125 = sub nsw i32 %123, %124
%126 = load i32, i32* %8
%127 = load i32, i32* %14
%128 = sdiv i32 %127, 2
%129 = sub nsw i32 %126, %128
%130 = load i32, i32* %9
%131 = load i32, i32* %14
%132 = sdiv i32 %131, 2
%133 = sub nsw i32 %130, %132
%134 = add nsw i32 %133, 1
%135 = load i32, i32* %10
%136 = load i32, i32* %14
%137 = sdiv i32 %136, 2
%138 = add nsw i32 %135, %137
%139 = sub nsw i32 %138, 1
%140 = load i32, i32* %13
%141 = sub nsw i32 %139, %140
%142 = load i32, i32* %12
%143 = call i32 @gs_line(i32 %125, i32 %129, i32 %134, i32 %141, i32 %142)
br label %144
144: ; preds = %119
%145 = load i32, i32* %13
%146 = add nsw i32 %145, 1
store i32 %146, i32* %13
br label %115
147: ; preds = %115
store i32 0, i32* %13
br label %148
148: ; preds = %177, %147
%149 = load i32, i32* %13
%150 = load i32, i32* %14
%151 = icmp slt i32 %149, %150
br i1 %151, label %152, label %180
152: ; preds = %148
%153 = load i32, i32* %7
%154 = load i32, i32* %14
%155 = sdiv i32 %154, 2
%156 = add nsw i32 %153, %155
%157 = load i32, i32* %8
%158 = load i32, i32* %14
%159 = sdiv i32 %158, 2
%160 = sub nsw i32 %157, %159
%161 = load i32, i32* %13
%162 = add nsw i32 %160, %161
%163 = load i32, i32* %9
%164 = load i32, i32* %14
%165 = sdiv i32 %164, 2
%166 = sub nsw i32 %163, %165
%167 = add nsw i32 %166, 1
%168 = load i32, i32* %13
%169 = add nsw i32 %167, %168
%170 = load i32, i32* %10
%171 = load i32, i32* %14
%172 = sdiv i32 %171, 2
%173 = add nsw i32 %170, %172
%174 = sub nsw i32 %173, 1
%175 = load i32, i32* %12
%176 = call i32 @gs_line(i32 %156, i32 %162, i32 %169, i32 %174, i32 %175)
br label %177
177: ; preds = %152
%178 = load i32, i32* %13
%179 = add nsw i32 %178, 1
store i32 %179, i32* %13
br label %148
180: ; preds = %46, %113, %148
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [38 x i8] c"Assertion failed: file \22%s\22, line %d\0A\00"
@.str.1 = [139 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/darkaio/AiOqwingraph/refs/heads/master/drawlib.c\00"
@.str.2 = [53 x i8] c"This is a bug! Please contact sander@cs.uni-sb.de !\0A\00"
define void @gs_swsolidline(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5) {
%7 = icmp slt i32 %3, %1
br i1 %7, label %8, label %14
8: ; preds = %6
%9 = load i32, i32* @stderr
%10 = tail call i32 (i32, i8*, ...) @fprintf(i32 %9, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str.1, i64 0, i64 0), i32 3591)
%11 = load i32, i32* @stderr
%12 = tail call i32 (i32, i8*, ...) @fprintf(i32 %11, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.2, i64 0, i64 0))
%13 = tail call i32 @exit(i32 1)
unreachable
14: ; preds = %6
%15 = icmp sgt i32 %2, %0
br i1 %15, label %16, label %22
16: ; preds = %14
%17 = load i32, i32* @stderr
%18 = tail call i32 (i32, i8*, ...) @fprintf(i32 %17, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str.1, i64 0, i64 0), i32 3592)
%19 = load i32, i32* @stderr
%20 = tail call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.2, i64 0, i64 0))
%21 = tail call i32 @exit(i32 1)
unreachable
22: ; preds = %14
%23 = mul nsw i32 %4, 7
%24 = sdiv i32 %23, 10
%25 = tail call i32 @gs_line(i32 %0, i32 %1, i32 %2, i32 %3, i32 %5)
%26 = icmp slt i32 %23, 20
br i1 %26, label %58, label %27
27: ; preds = %22
%28 = udiv i32 %23, 20
%29 = add nsw i32 %28, %0
%30 = sub nsw i32 %1, %28
%31 = add i32 %2, 1
%32 = sub i32 %31, %28
%33 = add nsw i32 %28, %3
br label %42
34: ; preds = %42
%35 = icmp sgt i32 %23, 9
br i1 %35, label %36, label %58
36: ; preds = %34
%37 = udiv i32 %23, 20
%38 = add nsw i32 %37, %0
%39 = sub i32 %1, %37
%40 = add i32 %3, -1
%41 = add i32 %40, %37
br label %50
42: ; preds = %27, %42
%43 = phi i32 [ 0, %27 ], [ %48, %42 ]
%44 = sub i32 %29, %43
%45 = xor i32 %43, -1
%46 = add i32 %33, %45
%47 = tail call i32 @gs_line(i32 %44, i32 %30, i32 %32, i32 %46, i32 %5)
%48 = add nuw nsw i32 %43, 1
%49 = icmp eq i32 %48, %24
br i1 %49, label %34, label %42
50: ; preds = %36, %50
%51 = phi i32 [ 0, %36 ], [ %53, %50 ]
%52 = add nsw i32 %39, %51
%53 = add nuw nsw i32 %51, 1
%54 = add i32 %53, %2
%55 = sub i32 %54, %37
%56 = tail call i32 @gs_line(i32 %38, i32 %52, i32 %55, i32 %41, i32 %5)
%57 = icmp eq i32 %53, %24
br i1 %57, label %58, label %50
58: ; preds = %50, %34, %22
ret void
}