#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 abs(int);
int *malloc(int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *);
int main(int argc, const char *const argv[]) {
  int array_size;
  printf("Введите значение n: ");
  scanf("%d", &array_size);
  if (1000 < array_size || array_size < 1) {
    printf("Значение n должно быть от 1 до 1000 включительно.\n");
    return 1;
  }
  int *X = malloc(array_size * sizeof(int));
  int *Y = malloc(array_size * sizeof(int));
  printf("Введите %d элементов массива X: ", array_size);
  for (int i = 0; i < array_size; ++i) {
    scanf("%d", X + i);
  }
  printf("Введите %d элементов массива Y: ", array_size);
  for (int i = 0; i < array_size; ++i) {
    scanf("%d", Y + i);
  }
  for (int i = 0; i < array_size; ++i) {
    if (X[i] <= 0)
      X[i] = abs(Y[i]);
  }
  printf("\nРезультат:\n");
  for (int i = 0; i < array_size; ++i) {
    printf("%d", X[i]);
    if (i != array_size - 1)
      printf(", ");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xea3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xeb9(%rip),%rdi
lea    -0x14(%rbp),%rsi
call   1060 <scanf@plt>
mov    $0x3e8,%eax
cmp    -0x14(%rbp),%eax
jl     118c <main+0x4c>
cmpl   $0x1,-0x14(%rbp)
jge    11a6 <main+0x66>
lea    0xe94(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x1,-0x4(%rbp)
jmp    132e <main+0x1ee>
movslq -0x14(%rbp),%rax
shl    $0x2,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,-0x20(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x2,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,-0x28(%rbp)
mov    -0x14(%rbp),%esi
lea    0xea6(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1219 <main+0xd9>
mov    -0x20(%rbp),%rsi
movslq -0x2c(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe1e(%rip),%rdi
call   1060 <scanf@plt>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    11e4 <main+0xa4>
mov    -0x14(%rbp),%esi
lea    0xe91(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1266 <main+0x126>
mov    -0x28(%rbp),%rsi
movslq -0x30(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xdd1(%rip),%rdi
call   1060 <scanf@plt>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1231 <main+0xf1>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12bb <main+0x17b>
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
cmpl   $0x0,(%rax,%rcx,4)
jg     12a8 <main+0x168>
mov    -0x28(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,4),%edi
call   1030 <abs@plt>
mov    %eax,%edx
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
jmp    12ad <main+0x16d>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    126d <main+0x12d>
lea    0xe2a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1327 <main+0x1e7>
mov    -0x20(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xd36(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x38(%rbp),%eax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
je     1314 <main+0x1d4>
lea    0xdf5(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1319 <main+0x1d9>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    12d0 <main+0x190>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    0xeae(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xec4(%rip),%rdi
lea    0x4(%rsp),%rsi
call   1060 <scanf@plt>
mov    0x4(%rsp),%ebp
lea    -0x3e9(%rbp),%eax
cmp    $0xfffffc17,%eax
ja     1192 <main+0x52>
lea    0xf2d(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%r15d
jmp    12d8 <main+0x198>
lea    0x0(,%rbp,4),%ebx
mov    %ebx,%edi
call   1050 <malloc@plt>
mov    %rax,%r12
mov    %ebx,%edi
call   1050 <malloc@plt>
mov    %rax,%r14
lea    0xe73(%rip),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x4(%rsp),%esi
test   %esi,%esi
jle    11fd <main+0xbd>
xor    %ebp,%ebp
lea    0xe56(%rip),%r15
mov    %r12,%rbx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %r15,%rdi
mov    %rbx,%rsi
call   1060 <scanf@plt>
add    $0x1,%rbp
movslq 0x4(%rsp),%rsi
add    $0x4,%rbx
cmp    %rsi,%rbp
jl     11e0 <main+0xa0>
lea    0xe5b(%rip),%rdi
xor    %r15d,%r15d
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x4(%rsp)
jle    1278 <main+0x138>
xor    %ebp,%ebp
lea    0xe06(%rip),%r13
mov    %r14,%rbx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %r13,%rdi
mov    %rbx,%rsi
call   1060 <scanf@plt>
add    $0x1,%rbp
movslq 0x4(%rsp),%rax
add    $0x4,%rbx
cmp    %rax,%rbp
jl     1230 <main+0xf0>
mov    %eax,%eax
test   %eax,%eax
jle    1278 <main+0x138>
cmp    $0x1,%eax
jne    12ea <main+0x1aa>
xor    %ecx,%ecx
test   $0x1,%al
je     1278 <main+0x138>
cmpl   $0x0,(%r12,%rcx,4)
jg     1278 <main+0x138>
mov    (%r14,%rcx,4),%eax
mov    %eax,%edx
neg    %edx
cmovs  %eax,%edx
mov    %edx,(%r12,%rcx,4)
lea    0xe1b(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x0,0x4(%rsp)
jle    12d8 <main+0x198>
lea    0xd92(%rip),%rbp
lea    0xdfe(%rip),%r14
xor    %ebx,%ebx
jmp    12ab <main+0x16b>
nopl   (%rax)
add    $0x1,%rbx
cltq
cmp    %rax,%rbx
jge    12d5 <main+0x195>
mov    (%r12,%rbx,4),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x4(%rsp),%eax
lea    -0x1(%rax),%ecx
cmp    %rcx,%rbx
je     12a0 <main+0x160>
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x4(%rsp),%eax
jmp    12a0 <main+0x160>
xor    %r15d,%r15d
mov    %r15d,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %eax,%edx
and    $0xfffffffe,%edx
xor    %ecx,%ecx
jmp    130d <main+0x1cd>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
add    $0x2,%rcx
cmp    %rcx,%rdx
je     125e <main+0x11e>
cmpl   $0x0,(%r12,%rcx,4)
jle    1320 <main+0x1e0>
cmpl   $0x0,0x4(%r12,%rcx,4)
jg     1300 <main+0x1c0>
jmp    1337 <main+0x1f7>
xchg   %ax,%ax
mov    (%r14,%rcx,4),%esi
mov    %esi,%edi
neg    %edi
cmovs  %esi,%edi
mov    %edi,(%r12,%rcx,4)
cmpl   $0x0,0x4(%r12,%rcx,4)
jg     1300 <main+0x1c0>
mov    0x4(%r14,%rcx,4),%esi
mov    %esi,%edi
neg    %edi
cmovs  %esi,%edi
mov    %edi,0x4(%r12,%rcx,4)
jmp    1300 <main+0x1c0>

LLVM IR (-O0):
@.str = [36 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D0\B7\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D0\B5 n: \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [85 x i8] c"\D0\97\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D0\B5 n \D0\B4\D0\BE\D0\BB\D0\B6\D0\BD\D0\BE \D0\B1\D1\8B\D1\82\D1\8C \D0\BE\D1\82 1 \D0\B4\D0\BE 1000 \D0\B2\D0\BA\D0\BB\D1\8E\D1\87\D0\B8\D1\82\D0\B5\D0\BB\D1\8C\D0\BD\D0\BE.\0A\00"
@.str.3 = [56 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 %d \D1\8D\D0\BB\D0\B5\D0\BC\D0\B5\D0\BD\D1\82\D0\BE\D0\B2 \D0\BC\D0\B0\D1\81\D1\81\D0\B8\D0\B2\D0\B0 X: \00"
@.str.4 = [56 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 %d \D1\8D\D0\BB\D0\B5\D0\BC\D0\B5\D0\BD\D1\82\D0\BE\D0\B2 \D0\BC\D0\B0\D1\81\D1\81\D0\B8\D0\B2\D0\B0 Y: \00"
@.str.5 = [22 x i8] c"\0A\D0\A0\D0\B5\D0\B7\D1\83\D0\BB\D1\8C\D1\82\D0\B0\D1\82:\0A\00"
@.str.6 = [3 x i8] c", \00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32*
%8 = alloca i32*
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0))
%14 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %6)
%15 = load i32, i32* %6
%16 = icmp slt i32 1000, %15
br i1 %16, label %20, label %17
17: ; preds = %2
%18 = load i32, i32* %6
%19 = icmp slt i32 %18, 1
br i1 %19, label %20, label %22
20: ; preds = %17, %2
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.2, i64 0, i64 0))
store i32 1, i32* %3
br label %115
22: ; preds = %17
%23 = load i32, i32* %6
%24 = sext i32 %23 to i64
%25 = mul i64 %24, 4
%26 = trunc i64 %25 to i32
%27 = call i32* @malloc(i32 %26)
store i32* %27, i32** %7
%28 = load i32, i32* %6
%29 = sext i32 %28 to i64
%30 = mul i64 %29, 4
%31 = trunc i64 %30 to i32
%32 = call i32* @malloc(i32 %31)
store i32* %32, i32** %8
%33 = load i32, i32* %6
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.3, i64 0, i64 0), i32 %33)
store i32 0, i32* %9
br label %35
35: ; preds = %45, %22
%36 = load i32, i32* %9
%37 = load i32, i32* %6
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %48
39: ; preds = %35
%40 = load i32*, i32** %7
%41 = load i32, i32* %9
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, i32* %40, i64 %42
%44 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %43)
br label %45
45: ; preds = %39
%46 = load i32, i32* %9
%47 = add nsw i32 %46, 1
store i32 %47, i32* %9
br label %35
48: ; preds = %35
%49 = load i32, i32* %6
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.4, i64 0, i64 0), i32 %49)
store i32 0, i32* %10
br label %51
51: ; preds = %61, %48
%52 = load i32, i32* %10
%53 = load i32, i32* %6
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %64
55: ; preds = %51
%56 = load i32*, i32** %8
%57 = load i32, i32* %10
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, i32* %56, i64 %58
%60 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %59)
br label %61
61: ; preds = %55
%62 = load i32, i32* %10
%63 = add nsw i32 %62, 1
store i32 %63, i32* %10
br label %51
64: ; preds = %51
store i32 0, i32* %11
br label %65
65: ; preds = %88, %64
%66 = load i32, i32* %11
%67 = load i32, i32* %6
%68 = icmp slt i32 %66, %67
br i1 %68, label %69, label %91
69: ; preds = %65
%70 = load i32*, i32** %7
%71 = load i32, i32* %11
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, i32* %70, i64 %72
%74 = load i32, i32* %73
%75 = icmp sle i32 %74, 0
br i1 %75, label %76, label %87
76: ; preds = %69
%77 = load i32*, i32** %8
%78 = load i32, i32* %11
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, i32* %77, i64 %79
%81 = load i32, i32* %80
%82 = call i32 @abs(i32 %81)
%83 = load i32*, i32** %7
%84 = load i32, i32* %11
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, i32* %83, i64 %85
store i32 %82, i32* %86
br label %87
87: ; preds = %76, %69
br label %88
88: ; preds = %87
%89 = load i32, i32* %11
%90 = add nsw i32 %89, 1
store i32 %90, i32* %11
br label %65
91: ; preds = %65
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
store i32 0, i32* %12
br label %93
93: ; preds = %111, %91
%94 = load i32, i32* %12
%95 = load i32, i32* %6
%96 = icmp slt i32 %94, %95
br i1 %96, label %97, label %114
97: ; preds = %93
%98 = load i32*, i32** %7
%99 = load i32, i32* %12
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i32, i32* %98, i64 %100
%102 = load i32, i32* %101
%103 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %102)
%104 = load i32, i32* %12
%105 = load i32, i32* %6
%106 = sub nsw i32 %105, 1
%107 = icmp ne i32 %104, %106
br i1 %107, label %108, label %110
108: ; preds = %97
%109 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
br label %110
110: ; preds = %108, %97
br label %111
111: ; preds = %110
%112 = load i32, i32* %12
%113 = add nsw i32 %112, 1
store i32 %113, i32* %12
br label %93
114: ; preds = %93
store i32 0, i32* %3
br label %115
115: ; preds = %114, %20
%116 = load i32, i32* %3
ret i32 %116
}

LLVM IR (-O2):
@.str = [36 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D0\B7\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D0\B5 n: \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.3 = [56 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 %d \D1\8D\D0\BB\D0\B5\D0\BC\D0\B5\D0\BD\D1\82\D0\BE\D0\B2 \D0\BC\D0\B0\D1\81\D1\81\D0\B8\D0\B2\D0\B0 X: \00"
@.str.4 = [56 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 %d \D1\8D\D0\BB\D0\B5\D0\BC\D0\B5\D0\BD\D1\82\D0\BE\D0\B2 \D0\BC\D0\B0\D1\81\D1\81\D0\B8\D0\B2\D0\B0 Y: \00"
@.str.6 = [3 x i8] c", \00"
@str = [21 x i8] c"\0A\D0\A0\D0\B5\D0\B7\D1\83\D0\BB\D1\8C\D1\82\D0\B0\D1\82:\00"
@str.7 = [84 x i8] c"\D0\97\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D0\B5 n \D0\B4\D0\BE\D0\BB\D0\B6\D0\BD\D0\BE \D0\B1\D1\8B\D1\82\D1\8C \D0\BE\D1\82 1 \D0\B4\D0\BE 1000 \D0\B2\D0\BA\D0\BB\D1\8E\D1\87\D0\B8\D1\82\D0\B5\D0\BB\D1\8C\D0\BD\D0\BE.\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca i32
%4 = bitcast i32* %3 to i8*
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0))
%6 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %3)
%7 = load i32, i32* %3
%8 = add i32 %7, -1001
%9 = icmp ult i32 %8, -1000
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([84 x i8], [84 x i8]* @str.7, i64 0, i64 0))
br label %103
12: ; preds = %2
%13 = shl nuw nsw i32 %7, 2
%14 = call i32* @malloc(i32 %13)
%15 = call i32* @malloc(i32 %13)
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%17 = load i32, i32* %3
%18 = icmp sgt i32 %17, 0
br i1 %18, label %24, label %19
19: ; preds = %24, %12
%20 = phi i32 [ %17, %12 ], [ %29, %24 ]
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @.str.4, i64 0, i64 0), i32 %20)
%22 = load i32, i32* %3
%23 = icmp sgt i32 %22, 0
br i1 %23, label %40, label %59
24: ; preds = %12, %24
%25 = phi i64 [ %28, %24 ], [ 0, %12 ]
%26 = getelementptr inbounds i32, i32* %14, i64 %25
%27 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %26)
%28 = add nuw nsw i64 %25, 1
%29 = load i32, i32* %3
%30 = sext i32 %29 to i64
%31 = icmp slt i64 %28, %30
br i1 %31, label %24, label %19
32: ; preds = %40
%33 = icmp sgt i32 %45, 0
br i1 %33, label %34, label %59
34: ; preds = %32
%35 = zext i32 %45 to i64
%36 = and i64 %35, 1
%37 = icmp eq i32 %45, 1
br i1 %37, label %48, label %38
38: ; preds = %34
%39 = and i64 %35, 4294967294
br label %63
40: ; preds = %19, %40
%41 = phi i64 [ %44, %40 ], [ 0, %19 ]
%42 = getelementptr inbounds i32, i32* %15, i64 %41
%43 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %42)
%44 = add nuw nsw i64 %41, 1
%45 = load i32, i32* %3
%46 = sext i32 %45 to i64
%47 = icmp slt i64 %44, %46
br i1 %47, label %40, label %32
48: ; preds = %82, %34
%49 = phi i64 [ 0, %34 ], [ %83, %82 ]
%50 = icmp eq i64 %36, 0
br i1 %50, label %59, label %51
51: ; preds = %48
%52 = getelementptr inbounds i32, i32* %14, i64 %49
%53 = load i32, i32* %52
%54 = icmp slt i32 %53, 1
br i1 %54, label %55, label %59
55: ; preds = %51
%56 = getelementptr inbounds i32, i32* %15, i64 %49
%57 = load i32, i32* %56
%58 = call i32 @llvm.abs.i32(i32 %57, i1 true)
store i32 %58, i32* %52
br label %59
59: ; preds = %48, %55, %51, %19, %32
%60 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str, i64 0, i64 0))
%61 = load i32, i32* %3
%62 = icmp sgt i32 %61, 0
br i1 %62, label %86, label %103
63: ; preds = %82, %38
%64 = phi i64 [ 0, %38 ], [ %83, %82 ]
%65 = phi i64 [ 0, %38 ], [ %84, %82 ]
%66 = getelementptr inbounds i32, i32* %14, i64 %64
%67 = load i32, i32* %66
%68 = icmp slt i32 %67, 1
br i1 %68, label %69, label %73
69: ; preds = %63
%70 = getelementptr inbounds i32, i32* %15, i64 %64
%71 = load i32, i32* %70
%72 = call i32 @llvm.abs.i32(i32 %71, i1 true)
store i32 %72, i32* %66
br label %73
73: ; preds = %63, %69
%74 = or i64 %64, 1
%75 = getelementptr inbounds i32, i32* %14, i64 %74
%76 = load i32, i32* %75
%77 = icmp slt i32 %76, 1
br i1 %77, label %78, label %82
78: ; preds = %73
%79 = getelementptr inbounds i32, i32* %15, i64 %74
%80 = load i32, i32* %79
%81 = call i32 @llvm.abs.i32(i32 %80, i1 true)
store i32 %81, i32* %75
br label %82
82: ; preds = %78, %73
%83 = add nuw nsw i64 %64, 2
%84 = add i64 %65, 2
%85 = icmp eq i64 %84, %39
br i1 %85, label %48, label %63
86: ; preds = %59, %98
%87 = phi i64 [ %100, %98 ], [ 0, %59 ]
%88 = getelementptr inbounds i32, i32* %14, i64 %87
%89 = load i32, i32* %88
%90 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %89)
%91 = load i32, i32* %3
%92 = add nsw i32 %91, -1
%93 = zext i32 %92 to i64
%94 = icmp eq i64 %87, %93
br i1 %94, label %98, label %95
95: ; preds = %86
%96 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%97 = load i32, i32* %3
br label %98
98: ; preds = %86, %95
%99 = phi i32 [ %91, %86 ], [ %97, %95 ]
%100 = add nuw nsw i64 %87, 1
%101 = sext i32 %99 to i64
%102 = icmp slt i64 %100, %101
br i1 %102, label %86, label %103
103: ; preds = %98, %59, %10
%104 = phi i32 [ 1, %10 ], [ 0, %59 ], [ 0, %98 ]
ret i32 %104
}