#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ dispone(char *, int, int, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
int strlen(char *);
int display_align(char **seqa, int na, char **seqb, int nb, char **seca,
                  char **secb, char *fit, char *value, int cols, int printsec,
                  int printdat, FILE *OUTPUT) {
  int i, j, k;
  int count;
  int max;
  count = 0;
  max = strlen(seqa[0]);
  fprintf(OUTPUT, "\nThe alignment:\n");
  while (count < max) {
    fprintf(OUTPUT, "Position ");
    for (i = count; i < count + cols - 2; ++i) {
      if ((i + 3) % 10 == 0) {
        fprintf(OUTPUT, "%3d", i + 3);
        i += 2;
      } else
        fprintf(OUTPUT, " ");
      if (i >= max - 2)
        break;
    }
    fprintf(OUTPUT, "\n");
    for (i = 0; i < na; ++i) {
      fprintf(OUTPUT, "A(aa%3d): ", i + 1);
      dispone(seqa[i], cols, count, max, OUTPUT);
    }
    if (printsec) {
      for (i = 0; i < na; ++i) {
        fprintf(OUTPUT, "A(ss%3d): ", i + 1);
        dispone(seca[i], cols, count, max, OUTPUT);
      }
    }
    if (printdat) {
      fprintf(OUTPUT, "FIT:      ");
      dispone(fit, cols, count, max, OUTPUT);
      fprintf(OUTPUT, "VALUE:    ");
      dispone(value, cols, count, max, OUTPUT);
    }
    for (i = 0; i < nb; ++i) {
      fprintf(OUTPUT, "B(aa%3d): ", i + 1);
      dispone(seqb[i], cols, count, max, OUTPUT);
    }
    if (printsec) {
      for (i = 0; i < nb; ++i) {
        fprintf(OUTPUT, "B(ss%3d): ", i + 1);
        dispone(secb[i], cols, count, max, OUTPUT);
      }
    }
    count += cols;
    fprintf(OUTPUT, "\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<display_align>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%eax
mov    0x28(%rbp),%eax
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
movl   $0x0,-0x40(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x44(%rbp)
mov    0x38(%rbp),%rdi
lea    0xe7c(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x40(%rbp),%eax
cmp    -0x44(%rbp),%eax
jge    1441 <display_align+0x311>
mov    0x38(%rbp),%rdi
lea    0xe6f(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x40(%rbp),%eax
mov    %eax,-0x34(%rbp)
mov    -0x34(%rbp),%eax
mov    -0x40(%rbp),%ecx
add    0x20(%rbp),%ecx
sub    $0x2,%ecx
cmp    %ecx,%eax
jge    123b <display_align+0x10b>
mov    -0x34(%rbp),%eax
add    $0x3,%eax
mov    $0xa,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    1200 <display_align+0xd0>
mov    0x38(%rbp),%rdi
mov    -0x34(%rbp),%edx
add    $0x3,%edx
lea    0xe30(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x34(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x34(%rbp)
jmp    1212 <display_align+0xe2>
mov    0x38(%rbp),%rdi
lea    0xe33(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x34(%rbp),%eax
mov    -0x44(%rbp),%ecx
sub    $0x2,%ecx
cmp    %ecx,%eax
jl     1228 <display_align+0xf8>
jmp    123b <display_align+0x10b>
jmp    122d <display_align+0xfd>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    11af <display_align+0x7f>
mov    0x38(%rbp),%rdi
lea    0xdc9(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    12a4 <display_align+0x174>
mov    0x38(%rbp),%rdi
mov    -0x34(%rbp),%edx
add    $0x1,%edx
lea    0xdae(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x8(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
mov    0x20(%rbp),%esi
mov    -0x40(%rbp),%edx
mov    -0x44(%rbp),%ecx
mov    0x38(%rbp),%r8
call   1030 <dispone@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1254 <display_align+0x124>
cmpl   $0x0,0x28(%rbp)
je     130a <display_align+0x1da>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1305 <display_align+0x1d5>
mov    0x38(%rbp),%rdi
mov    -0x34(%rbp),%edx
add    $0x1,%edx
lea    0xd58(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x28(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
mov    0x20(%rbp),%esi
mov    -0x40(%rbp),%edx
mov    -0x44(%rbp),%ecx
mov    0x38(%rbp),%r8
call   1030 <dispone@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    12b5 <display_align+0x185>
jmp    130a <display_align+0x1da>
cmpl   $0x0,0x30(%rbp)
je     1364 <display_align+0x234>
mov    0x38(%rbp),%rdi
lea    0xd16(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x10(%rbp),%rdi
mov    0x20(%rbp),%esi
mov    -0x40(%rbp),%edx
mov    -0x44(%rbp),%ecx
mov    0x38(%rbp),%r8
call   1030 <dispone@plt>
mov    0x38(%rbp),%rdi
lea    0xcf9(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x18(%rbp),%rdi
mov    0x20(%rbp),%esi
mov    -0x40(%rbp),%edx
mov    -0x44(%rbp),%ecx
mov    0x38(%rbp),%r8
call   1030 <dispone@plt>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    13bb <display_align+0x28b>
mov    0x38(%rbp),%rdi
mov    -0x34(%rbp),%edx
add    $0x1,%edx
lea    0xcc3(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x18(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
mov    0x20(%rbp),%esi
mov    -0x40(%rbp),%edx
mov    -0x44(%rbp),%ecx
mov    0x38(%rbp),%r8
call   1030 <dispone@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    136b <display_align+0x23b>
cmpl   $0x0,0x28(%rbp)
je     1421 <display_align+0x2f1>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    141c <display_align+0x2ec>
mov    0x38(%rbp),%rdi
mov    -0x34(%rbp),%edx
add    $0x1,%edx
lea    0xc6d(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x30(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
mov    0x20(%rbp),%esi
mov    -0x40(%rbp),%edx
mov    -0x44(%rbp),%ecx
mov    0x38(%rbp),%r8
call   1030 <dispone@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    13cc <display_align+0x29c>
jmp    1421 <display_align+0x2f1>
mov    0x20(%rbp),%eax
add    -0x40(%rbp),%eax
mov    %eax,-0x40(%rbp)
mov    0x38(%rbp),%rdi
lea    0xbda(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
jmp    118b <display_align+0x5b>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<display_align>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %r9,%r13
mov    %r8,0x40(%rsp)
mov    %ecx,0x14(%rsp)
mov    %rdx,0x50(%rsp)
mov    %esi,0x10(%rsp)
mov    0xb8(%rsp),%r14
mov    %rdi,0x48(%rsp)
mov    (%rdi),%rdi
call   1040 <strlen@plt>
mov    %eax,%r15d
lea    0xe6e(%rip),%rdi
mov    $0x10,%esi
mov    $0x1,%edx
mov    %r14,%rcx
call   1070 <fwrite@plt>
test   %r15d,%r15d
jle    14e0 <display_align+0x390>
mov    0xa0(%rsp),%r12d
lea    -0x2(%r15),%eax
mov    %eax,0x20(%rsp)
cmpl   $0x0,0xa8(%rsp)
sete   %sil
mov    0x10(%rsp),%edx
test   %edx,%edx
setle  %bl
mov    0x14(%rsp),%ecx
test   %ecx,%ecx
setle  %al
mov    %edx,%edx
mov    %rdx,0x30(%rsp)
or     %sil,%bl
mov    %bl,0x7(%rsp)
mov    %ecx,%ebp
or     %sil,%al
mov    %al,0x6(%rsp)
xor    %ebx,%ebx
mov    %r13,0x38(%rsp)
mov    %r15,0x8(%rsp)
mov    %rbp,0x28(%rsp)
jmp    1234 <display_align+0xe4>
cs nopw 0x0(%rax,%rax,1)
nop
mov    $0xa,%edi
mov    %r14,%rsi
call   1050 <fputc@plt>
mov    0x24(%rsp),%eax
mov    %eax,%ebx
cmp    %r15d,%eax
mov    0xa0(%rsp),%r12d
jge    14e0 <display_align+0x390>
mov    $0x9,%esi
mov    $0x1,%edx
lea    0xdcc(%rip),%rdi
mov    %r14,%rcx
call   1070 <fwrite@plt>
lea    (%rbx,%r12,1),%ebp
add    $0xfffffffe,%ebp
mov    %rbx,0x18(%rsp)
cmp    %ebp,%ebx
mov    0x20(%rsp),%ebx
lea    0xdb5(%rip),%r15
jge    12bf <display_align+0x16f>
mov    0x18(%rsp),%r13
nopl   (%rax)
lea    0x3(%r13),%edx
imul   $0xcccccccd,%edx,%eax
add    $0x19999998,%eax
ror    %eax
cmp    $0x19999998,%eax
jbe    12a0 <display_align+0x150>
mov    $0x20,%edi
mov    %r14,%rsi
call   1050 <fputc@plt>
cmp    %ebx,%r13d
jl     12b6 <display_align+0x166>
jmp    12bf <display_align+0x16f>
nopl   0x0(%rax)
mov    %r14,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
add    $0x2,%r13d
cmp    %ebx,%r13d
jge    12bf <display_align+0x16f>
add    $0x1,%r13d
cmp    %ebp,%r13d
jl     1270 <display_align+0x120>
mov    $0xa,%edi
mov    %r14,%rsi
call   1050 <fputc@plt>
cmpl   $0x0,0x10(%rsp)
mov    0x30(%rsp),%r13
lea    0xd42(%rip),%r15
mov    0x18(%rsp),%r12
jle    132b <display_align+0x1db>
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
lea    0x1(%rbp),%rbx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %ebx,%edx
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    0x48(%rsp),%rax
mov    (%rax,%rbp,8),%rdi
mov    0xa0(%rsp),%esi
mov    %r12d,%edx
mov    0x8(%rsp),%rcx
mov    %r14,%r8
call   1030 <dispone@plt>
mov    %rbx,%rbp
cmp    %rbx,%r13
jne    12f0 <display_align+0x1a0>
cmpb   $0x0,0x7(%rsp)
lea    0xcf3(%rip),%r15
jne    137b <display_align+0x22b>
xor    %ebx,%ebx
nopl   0x0(%rax,%rax,1)
lea    0x1(%rbx),%rbp
mov    %r14,%rdi
mov    %r15,%rsi
mov    %ebp,%edx
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    0x40(%rsp),%rax
mov    (%rax,%rbx,8),%rdi
mov    0xa0(%rsp),%esi
mov    %r12d,%edx
mov    0x8(%rsp),%rcx
mov    %r14,%r8
call   1030 <dispone@plt>
mov    %rbp,%rbx
cmp    %rbp,%r13
jne    1340 <display_align+0x1f0>
cmpl   $0x0,0xb0(%rsp)
je     1400 <display_align+0x2b0>
mov    $0xa,%esi
mov    $0x1,%edx
lea    0xc9f(%rip),%rdi
mov    0xb8(%rsp),%rbp
mov    %rbp,%rcx
call   1070 <fwrite@plt>
mov    0x90(%rsp),%rdi
mov    0xa0(%rsp),%ebx
mov    %ebx,%esi
mov    0x18(%rsp),%r15
mov    %r15d,%edx
mov    0x8(%rsp),%r14
mov    %r14d,%ecx
mov    %rbp,%r8
call   1030 <dispone@plt>
mov    $0xa,%esi
mov    $0x1,%edx
lea    0xc60(%rip),%rdi
mov    %rbp,%rcx
call   1070 <fwrite@plt>
mov    0x98(%rsp),%rdi
mov    %ebx,%esi
mov    %r15d,%edx
mov    %r14d,%ecx
mov    %rbp,%r8
call   1030 <dispone@plt>
cmpl   $0x0,0x14(%rsp)
mov    0xb8(%rsp),%r14
mov    0x28(%rsp),%r12
lea    0xc32(%rip),%r15
mov    0x18(%rsp),%r13
jle    146b <display_align+0x31b>
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
lea    0x1(%rbx),%rbp
mov    %r14,%rdi
mov    %r15,%rsi
mov    %ebp,%edx
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    0x50(%rsp),%rax
mov    (%rax,%rbx,8),%rdi
mov    0xa0(%rsp),%esi
mov    %r13d,%edx
mov    0x8(%rsp),%rcx
mov    %r14,%r8
call   1030 <dispone@plt>
mov    %rbp,%rbx
cmp    %rbp,%r12
jne    1430 <display_align+0x2e0>
mov    0xa0(%rsp),%ecx
mov    %rcx,%rax
lea    (%rcx,%r13,1),%eax
mov    %eax,0x24(%rsp)
cmpb   $0x0,0x6(%rsp)
lea    0xbcd(%rip),%r12
mov    0x8(%rsp),%r15
jne    1210 <display_align+0xc0>
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
lea    0x1(%rbx),%rbp
mov    %r14,%rdi
mov    %r12,%rsi
mov    %ebp,%edx
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    0x38(%rsp),%rax
mov    (%rax,%rbx,8),%rdi
mov    0xa0(%rsp),%esi
mov    %r13d,%edx
mov    %r15d,%ecx
mov    %r14,%r8
call   1030 <dispone@plt>
mov    %rbp,%rbx
cmp    %rbp,0x28(%rsp)
jne    14a0 <display_align+0x350>
jmp    1210 <display_align+0xc0>
xor    %eax,%eax
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [17 x i8] c"\0AThe alignment:\0A\00"
@.str.1 = [10 x i8] c"Position \00"
@.str.2 = [4 x i8] c"%3d\00"
@.str.3 = [2 x i8] c" \00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [11 x i8] c"A(aa%3d): \00"
@.str.6 = [11 x i8] c"A(ss%3d): \00"
@.str.7 = [11 x i8] c"FIT: \00"
@.str.8 = [11 x i8] c"VALUE: \00"
@.str.9 = [11 x i8] c"B(aa%3d): \00"
@.str.10 = [11 x i8] c"B(ss%3d): \00"
define i32 @display_align(i8** %0, i32 %1, i8** %2, i32 %3, i8** %4, i8** %5, i8* %6, i8* %7, i32 %8, i32 %9, i32 %10, i32* %11) {
%13 = alloca i8**
%14 = alloca i32
%15 = alloca i8**
%16 = alloca i32
%17 = alloca i8**
%18 = alloca i8**
%19 = alloca i8*
%20 = alloca i8*
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
%24 = alloca i32*
%25 = alloca i32
%26 = alloca i32
%27 = alloca i32
%28 = alloca i32
%29 = alloca i32
store i8** %0, i8*** %13
store i32 %1, i32* %14
store i8** %2, i8*** %15
store i32 %3, i32* %16
store i8** %4, i8*** %17
store i8** %5, i8*** %18
store i8* %6, i8** %19
store i8* %7, i8** %20
store i32 %8, i32* %21
store i32 %9, i32* %22
store i32 %10, i32* %23
store i32* %11, i32** %24
store i32 0, i32* %28
%30 = load i8**, i8*** %13
%31 = getelementptr inbounds i8*, i8** %30, i64 0
%32 = load i8*, i8** %31
%33 = call i32 @strlen(i8* %32)
store i32 %33, i32* %29
%34 = load i32*, i32** %24
%35 = call i32 (i32*, i8*, ...) @fprintf(i32* %34, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0))
br label %36
36: ; preds = %198, %12
%37 = load i32, i32* %28
%38 = load i32, i32* %29
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %204
40: ; preds = %36
%41 = load i32*, i32** %24
%42 = call i32 (i32*, i8*, ...) @fprintf(i32* %41, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%43 = load i32, i32* %28
store i32 %43, i32* %25
br label %44
44: ; preds = %73, %40
%45 = load i32, i32* %25
%46 = load i32, i32* %28
%47 = load i32, i32* %21
%48 = add nsw i32 %46, %47
%49 = sub nsw i32 %48, 2
%50 = icmp slt i32 %45, %49
br i1 %50, label %51, label %76
51: ; preds = %44
%52 = load i32, i32* %25
%53 = add nsw i32 %52, 3
%54 = srem i32 %53, 10
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %63
56: ; preds = %51
%57 = load i32*, i32** %24
%58 = load i32, i32* %25
%59 = add nsw i32 %58, 3
%60 = call i32 (i32*, i8*, ...) @fprintf(i32* %57, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %59)
%61 = load i32, i32* %25
%62 = add nsw i32 %61, 2
store i32 %62, i32* %25
br label %66
63: ; preds = %51
%64 = load i32*, i32** %24
%65 = call i32 (i32*, i8*, ...) @fprintf(i32* %64, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %66
66: ; preds = %63, %56
%67 = load i32, i32* %25
%68 = load i32, i32* %29
%69 = sub nsw i32 %68, 2
%70 = icmp sge i32 %67, %69
br i1 %70, label %71, label %72
71: ; preds = %66
br label %76
72: ; preds = %66
br label %73
73: ; preds = %72
%74 = load i32, i32* %25
%75 = add nsw i32 %74, 1
store i32 %75, i32* %25
br label %44
76: ; preds = %71, %44
%77 = load i32*, i32** %24
%78 = call i32 (i32*, i8*, ...) @fprintf(i32* %77, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %25
br label %79
79: ; preds = %98, %76
%80 = load i32, i32* %25
%81 = load i32, i32* %14
%82 = icmp slt i32 %80, %81
br i1 %82, label %83, label %101
83: ; preds = %79
%84 = load i32*, i32** %24
%85 = load i32, i32* %25
%86 = add nsw i32 %85, 1
%87 = call i32 (i32*, i8*, ...) @fprintf(i32* %84, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %86)
%88 = load i8**, i8*** %13
%89 = load i32, i32* %25
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i8*, i8** %88, i64 %90
%92 = load i8*, i8** %91
%93 = load i32, i32* %21
%94 = load i32, i32* %28
%95 = load i32, i32* %29
%96 = load i32*, i32** %24
%97 = call i32 @dispone(i8* %92, i32 %93, i32 %94, i32 %95, i32* %96)
br label %98
98: ; preds = %83
%99 = load i32, i32* %25
%100 = add nsw i32 %99, 1
store i32 %100, i32* %25
br label %79
101: ; preds = %79
%102 = load i32, i32* %22
%103 = icmp ne i32 %102, 0
br i1 %103, label %104, label %128
104: ; preds = %101
store i32 0, i32* %25
br label %105
105: ; preds = %124, %104
%106 = load i32, i32* %25
%107 = load i32, i32* %14
%108 = icmp slt i32 %106, %107
br i1 %108, label %109, label %127
109: ; preds = %105
%110 = load i32*, i32** %24
%111 = load i32, i32* %25
%112 = add nsw i32 %111, 1
%113 = call i32 (i32*, i8*, ...) @fprintf(i32* %110, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i32 %112)
%114 = load i8**, i8*** %17
%115 = load i32, i32* %25
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i8*, i8** %114, i64 %116
%118 = load i8*, i8** %117
%119 = load i32, i32* %21
%120 = load i32, i32* %28
%121 = load i32, i32* %29
%122 = load i32*, i32** %24
%123 = call i32 @dispone(i8* %118, i32 %119, i32 %120, i32 %121, i32* %122)
br label %124
124: ; preds = %109
%125 = load i32, i32* %25
%126 = add nsw i32 %125, 1
store i32 %126, i32* %25
br label %105
127: ; preds = %105
br label %128
128: ; preds = %127, %101
%129 = load i32, i32* %23
%130 = icmp ne i32 %129, 0
br i1 %130, label %131, label %148
131: ; preds = %128
%132 = load i32*, i32** %24
%133 = call i32 (i32*, i8*, ...) @fprintf(i32* %132, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
%134 = load i8*, i8** %19
%135 = load i32, i32* %21
%136 = load i32, i32* %28
%137 = load i32, i32* %29
%138 = load i32*, i32** %24
%139 = call i32 @dispone(i8* %134, i32 %135, i32 %136, i32 %137, i32* %138)
%140 = load i32*, i32** %24
%141 = call i32 (i32*, i8*, ...) @fprintf(i32* %140, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
%142 = load i8*, i8** %20
%143 = load i32, i32* %21
%144 = load i32, i32* %28
%145 = load i32, i32* %29
%146 = load i32*, i32** %24
%147 = call i32 @dispone(i8* %142, i32 %143, i32 %144, i32 %145, i32* %146)
br label %148
148: ; preds = %131, %128
store i32 0, i32* %25
br label %149
149: ; preds = %168, %148
%150 = load i32, i32* %25
%151 = load i32, i32* %16
%152 = icmp slt i32 %150, %151
br i1 %152, label %153, label %171
153: ; preds = %149
%154 = load i32*, i32** %24
%155 = load i32, i32* %25
%156 = add nsw i32 %155, 1
%157 = call i32 (i32*, i8*, ...) @fprintf(i32* %154, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0), i32 %156)
%158 = load i8**, i8*** %15
%159 = load i32, i32* %25
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds i8*, i8** %158, i64 %160
%162 = load i8*, i8** %161
%163 = load i32, i32* %21
%164 = load i32, i32* %28
%165 = load i32, i32* %29
%166 = load i32*, i32** %24
%167 = call i32 @dispone(i8* %162, i32 %163, i32 %164, i32 %165, i32* %166)
br label %168
168: ; preds = %153
%169 = load i32, i32* %25
%170 = add nsw i32 %169, 1
store i32 %170, i32* %25
br label %149
171: ; preds = %149
%172 = load i32, i32* %22
%173 = icmp ne i32 %172, 0
br i1 %173, label %174, label %198
174: ; preds = %171
store i32 0, i32* %25
br label %175
175: ; preds = %194, %174
%176 = load i32, i32* %25
%177 = load i32, i32* %16
%178 = icmp slt i32 %176, %177
br i1 %178, label %179, label %197
179: ; preds = %175
%180 = load i32*, i32** %24
%181 = load i32, i32* %25
%182 = add nsw i32 %181, 1
%183 = call i32 (i32*, i8*, ...) @fprintf(i32* %180, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i32 %182)
%184 = load i8**, i8*** %18
%185 = load i32, i32* %25
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds i8*, i8** %184, i64 %186
%188 = load i8*, i8** %187
%189 = load i32, i32* %21
%190 = load i32, i32* %28
%191 = load i32, i32* %29
%192 = load i32*, i32** %24
%193 = call i32 @dispone(i8* %188, i32 %189, i32 %190, i32 %191, i32* %192)
br label %194
194: ; preds = %179
%195 = load i32, i32* %25
%196 = add nsw i32 %195, 1
store i32 %196, i32* %25
br label %175
197: ; preds = %175
br label %198
198: ; preds = %197, %171
%199 = load i32, i32* %21
%200 = load i32, i32* %28
%201 = add nsw i32 %200, %199
store i32 %201, i32* %28
%202 = load i32*, i32** %24
%203 = call i32 (i32*, i8*, ...) @fprintf(i32* %202, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
br label %36
204: ; preds = %36
ret i32 0
}

LLVM IR (-O2):
@.str = [17 x i8] c"\0AThe alignment:\0A\00"
@.str.1 = [10 x i8] c"Position \00"
@.str.2 = [4 x i8] c"%3d\00"
@.str.5 = [11 x i8] c"A(aa%3d): \00"
@.str.6 = [11 x i8] c"A(ss%3d): \00"
@.str.7 = [11 x i8] c"FIT: \00"
@.str.8 = [11 x i8] c"VALUE: \00"
@.str.9 = [11 x i8] c"B(aa%3d): \00"
@.str.10 = [11 x i8] c"B(ss%3d): \00"
define i32 @display_align(i8** nocapture %0, i32 %1, i8** nocapture %2, i32 %3, i8** nocapture %4, i8** nocapture %5, i8* %6, i8* %7, i32 %8, i32 %9, i32 %10, i32* %11) {
%13 = load i8*, i8** %0
%14 = tail call i32 @strlen(i8* %13)
%15 = tail call i64 @fwrite(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i64 16, i64 1, i32* %11)
%16 = icmp sgt i32 %14, 0
br i1 %16, label %17, label %103
17: ; preds = %12
%18 = add nsw i32 %14, -2
%19 = icmp sgt i32 %1, 0
%20 = icmp eq i32 %9, 0
%21 = icmp slt i32 %1, 1
%22 = icmp eq i32 %10, 0
%23 = icmp sgt i32 %3, 0
%24 = icmp slt i32 %3, 1
%25 = zext i32 %1 to i64
%26 = or i1 %20, %21
%27 = zext i32 %1 to i64
%28 = zext i32 %3 to i64
%29 = or i1 %20, %24
%30 = zext i32 %3 to i64
br label %31
31: ; preds = %17, %100
%32 = phi i32 [ 0, %17 ], [ %34, %100 ]
%33 = tail call i64 @fwrite(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i64 9, i64 1, i32* %11)
%34 = add nsw i32 %32, %8
%35 = add nsw i32 %34, -2
%36 = icmp slt i32 %32, %35
br i1 %36, label %37, label %53
37: ; preds = %31, %47
%38 = phi i32 [ %50, %47 ], [ %32, %31 ]
%39 = add nsw i32 %38, 3
%40 = srem i32 %39, 10
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %37
%43 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %11, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %39)
%44 = add nsw i32 %38, 2
br label %47
45: ; preds = %37
%46 = tail call i32 @fputc(i32 32, i32* %11)
br label %47
47: ; preds = %45, %42
%48 = phi i32 [ %44, %42 ], [ %38, %45 ]
%49 = icmp slt i32 %48, %18
%50 = add nsw i32 %48, 1
%51 = icmp slt i32 %50, %35
%52 = select i1 %49, i1 %51, i1 false
br i1 %52, label %37, label %53
53: ; preds = %47, %31
%54 = tail call i32 @fputc(i32 10, i32* %11)
br i1 %19, label %55, label %64
55: ; preds = %53, %55
%56 = phi i64 [ %57, %55 ], [ 0, %53 ]
%57 = add nuw nsw i64 %56, 1
%58 = trunc i64 %57 to i32
%59 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %11, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %58)
%60 = getelementptr inbounds i8*, i8** %0, i64 %56
%61 = load i8*, i8** %60
%62 = tail call i32 @dispone(i8* %61, i32 %8, i32 %32, i32 %14, i32* %11)
%63 = icmp eq i64 %57, %25
br i1 %63, label %64, label %55
64: ; preds = %55, %53
br i1 %26, label %74, label %65
65: ; preds = %64, %65
%66 = phi i64 [ %67, %65 ], [ 0, %64 ]
%67 = add nuw nsw i64 %66, 1
%68 = trunc i64 %67 to i32
%69 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %11, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i32 %68)
%70 = getelementptr inbounds i8*, i8** %4, i64 %66
%71 = load i8*, i8** %70
%72 = tail call i32 @dispone(i8* %71, i32 %8, i32 %32, i32 %14, i32* %11)
%73 = icmp eq i64 %67, %27
br i1 %73, label %74, label %65
74: ; preds = %65, %64
br i1 %22, label %80, label %75
75: ; preds = %74
%76 = tail call i64 @fwrite(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i64 10, i64 1, i32* %11)
%77 = tail call i32 @dispone(i8* %6, i32 %8, i32 %32, i32 %14, i32* %11)
%78 = tail call i64 @fwrite(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i64 10, i64 1, i32* %11)
%79 = tail call i32 @dispone(i8* %7, i32 %8, i32 %32, i32 %14, i32* %11)
br label %80
80: ; preds = %75, %74
br i1 %23, label %81, label %90
81: ; preds = %80, %81
%82 = phi i64 [ %83, %81 ], [ 0, %80 ]
%83 = add nuw nsw i64 %82, 1
%84 = trunc i64 %83 to i32
%85 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %11, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0), i32 %84)
%86 = getelementptr inbounds i8*, i8** %2, i64 %82
%87 = load i8*, i8** %86
%88 = tail call i32 @dispone(i8* %87, i32 %8, i32 %32, i32 %14, i32* %11)
%89 = icmp eq i64 %83, %28
br i1 %89, label %90, label %81
90: ; preds = %81, %80
br i1 %29, label %100, label %91
91: ; preds = %90, %91
%92 = phi i64 [ %93, %91 ], [ 0, %90 ]
%93 = add nuw nsw i64 %92, 1
%94 = trunc i64 %93 to i32
%95 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %11, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i32 %94)
%96 = getelementptr inbounds i8*, i8** %5, i64 %92
%97 = load i8*, i8** %96
%98 = tail call i32 @dispone(i8* %97, i32 %8, i32 %32, i32 %14, i32* %11)
%99 = icmp eq i64 %93, %30
br i1 %99, label %100, label %91
100: ; preds = %91, %90
%101 = tail call i32 @fputc(i32 10, i32* %11)
%102 = icmp slt i32 %34, %14
br i1 %102, label %31, label %103
103: ; preds = %100, %12
ret i32 0
}