#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 */
typedef struct TYPE_2__ TYPE_1__;

/* Type definitions */
struct TYPE_2__ {
  int /*<<< orphan*/ s_addr;
};
struct sockaddr_in {
  int /*<<< orphan*/ sin_port;
  TYPE_1__ sin_addr;
  int /*<<< orphan*/ sin_family;
};
struct sockaddr {
  int dummy;
};
typedef int socklen_t;
typedef int /*<<< orphan*/ iyo;
typedef int /*<<< orphan*/ iclnt;
typedef int /*<<< orphan*/ buf;

/* Variables and functions */
int /*<<< orphan*/ AF_INET;
int /*<<< orphan*/ INADDR_ANY;
int /*<<< orphan*/ SOCK_DGRAM;
int /*<<< orphan*/ atoi(char *);
scalar_t__ bind(int, struct sockaddr *, int);
scalar_t__ close(int);
int /*<<< orphan*/ error_fatal(char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ htonl(int /*<<< orphan*/);
int /*<<< orphan*/ htons(int /*<<< orphan*/);
int /*<<< orphan*/ imprime_extremo_conexion(struct sockaddr *, int,
                                            int /*<<< orphan*/);
int /*<<< orphan*/ memset(struct sockaddr_in *, int /*<<< orphan*/, int);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ recibido_en_plazo(int, int);
int recvfrom(int, char *, int, int /*<<< orphan*/, struct sockaddr *, int *);
int sendto(int, char *, int /*<<< orphan*/, int /*<<< orphan*/,
           struct sockaddr *, int);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ strlen(char *);
int main(int argc, char *argv[]) {
  char buf[1000];
  int s;
  struct sockaddr_in iyo;
  struct sockaddr iclnt;
  socklen_t len;
  int cc;
  int cod_error = 0;
  if (argc != 2) {
    fprintf(stderr, "Uso: recod <puerto>\n");
    cod_error = 1;
  } else {
    if ((s = socket(AF_INET, SOCK_DGRAM, 0)) < 0)
      error_fatal("socket");
    memset(&iyo, 0, sizeof(iyo));
    iyo.sin_family = AF_INET;
    iyo.sin_addr.s_addr = htonl(INADDR_ANY);
    iyo.sin_port = htons(atoi(argv[1]));
    if (bind(s, (struct sockaddr *)&iyo, sizeof(iyo)) < 0)
      error_fatal("bind");
    for (;;) {
      if (recibido_en_plazo(s, 20)) {
        len = sizeof(iclnt);
        cc = recvfrom(s, buf, sizeof(buf) - 1, 0, (struct sockaddr *)&iclnt,
                      &len);
        if (cc < 0)
          perror("recvfrom");
        else {
          buf[cc] = '\0';
          printf("Desde ");
          imprime_extremo_conexion((struct sockaddr *)&iclnt, len, 0);
          printf(" recibido: %s\n", buf);
          cc = sendto(s, buf, strlen(buf), 0, (struct sockaddr *)&iclnt, len);
          if (cc < 0)
            perror("sendto");
        }
      } else {
        printf("*** no oigo nada ***\n");
        break;
      }
    }
    if (close(s) < 0)
      error_fatal("close");
  }
  return cod_error;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x440,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x424(%rbp)
cmpl   $0x2,-0x8(%rbp)
je     1251 <main+0x51>
mov    0x2d94(%rip),%rax
mov    (%rax),%edi
lea    0xdc3(%rip),%rsi
call   10b0 <fprintf@plt>
movl   $0x1,-0x424(%rbp)
jmp    146d <main+0x26d>
mov    0x2d90(%rip),%rax
mov    (%rax),%edi
mov    0x2d77(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1120 <socket@plt>
mov    %eax,-0x404(%rbp)
cmp    $0x0,%eax
jge    1285 <main+0x85>
lea    0xd95(%rip),%rdi
call   1110 <error_fatal@plt>
lea    -0x410(%rbp),%rdi
xor    %esi,%esi
mov    $0xc,%edx
call   1080 <memset@plt>
mov    0x2d49(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x408(%rbp)
mov    0x2d32(%rip),%rax
mov    (%rax),%edi
call   1070 <htonl@plt>
mov    %eax,-0x40c(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   10f0 <atoi@plt>
mov    %eax,%edi
call   1050 <htons@plt>
mov    %eax,-0x410(%rbp)
mov    -0x404(%rbp),%edi
lea    -0x410(%rbp),%rsi
mov    $0xc,%edx
call   10d0 <bind@plt>
cmp    $0x0,%rax
jge    1302 <main+0x102>
lea    0xd1f(%rip),%rdi
call   1110 <error_fatal@plt>
jmp    1307 <main+0x107>
mov    -0x404(%rbp),%edi
mov    $0x14,%esi
call   1100 <recibido_en_plazo@plt>
cmp    $0x0,%rax
je     142f <main+0x22f>
movl   $0x4,-0x41c(%rbp)
mov    -0x404(%rbp),%edi
lea    -0x400(%rbp),%rsi
mov    $0x3e7,%edx
xor    %ecx,%ecx
lea    -0x418(%rbp),%r8
lea    -0x41c(%rbp),%r9
call   10c0 <recvfrom@plt>
mov    %eax,-0x420(%rbp)
cmpl   $0x0,-0x420(%rbp)
jge    1376 <main+0x176>
lea    0xcb5(%rip),%rdi
call   10e0 <perror@plt>
jmp    142a <main+0x22a>
movslq -0x420(%rbp),%rax
movb   $0x0,-0x400(%rbp,%rax,1)
lea    0xc9e(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x41c(%rbp),%esi
lea    -0x418(%rbp),%rdi
xor    %edx,%edx
call   1030 <imprime_extremo_conexion@plt>
lea    -0x400(%rbp),%rsi
lea    0xc7c(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x404(%rbp),%eax
mov    %eax,-0x434(%rbp)
lea    -0x400(%rbp),%rax
mov    %rax,-0x430(%rbp)
lea    -0x400(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x434(%rbp),%edi
mov    -0x430(%rbp),%rsi
mov    %eax,%edx
mov    -0x41c(%rbp),%r9d
xor    %ecx,%ecx
lea    -0x418(%rbp),%r8
call   1090 <sendto@plt>
mov    %eax,-0x420(%rbp)
cmpl   $0x0,-0x420(%rbp)
jge    1425 <main+0x225>
lea    0xc20(%rip),%rdi
call   10e0 <perror@plt>
jmp    142a <main+0x22a>
jmp    1442 <main+0x242>
lea    0xc11(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1447 <main+0x247>
jmp    1307 <main+0x107>
mov    -0x404(%rbp),%edi
call   10a0 <close@plt>
cmp    $0x0,%rax
jge    1468 <main+0x268>
lea    0xbfa(%rip),%rdi
call   1110 <error_fatal@plt>
jmp    146d <main+0x26d>
mov    -0x424(%rbp),%eax
add    $0x440,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x408,%rsp
cmp    $0x2,%edi
jne    139d <main+0x18d>
mov    %rsi,%rbx
mov    0x2db4(%rip),%r15
mov    (%r15),%edi
mov    0x2d9a(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1130 <socket@plt>
mov    %eax,%ebp
test   %eax,%eax
jns    1259 <main+0x49>
lea    0xdc1(%rip),%rdi
call   1120 <error_fatal@plt>
lea    0x8(%rsp),%r14
mov    %r14,%rdi
xor    %esi,%esi
mov    $0xc,%edx
call   1090 <memset@plt>
mov    (%r15),%eax
mov    %eax,0x10(%rsp)
mov    0x2d65(%rip),%rax
mov    (%rax),%edi
call   1080 <htonl@plt>
mov    %eax,0xc(%rsp)
mov    0x8(%rbx),%rdi
call   1100 <atoi@plt>
mov    %eax,%edi
call   1060 <htons@plt>
mov    %eax,0x8(%rsp)
mov    %ebp,%edi
mov    %r14,%rsi
mov    $0xc,%edx
call   10e0 <bind@plt>
test   %rax,%rax
jns    12ba <main+0xaa>
lea    0xd67(%rip),%rdi
call   1120 <error_fatal@plt>
mov    %ebp,%edi
mov    $0x14,%esi
call   1110 <recibido_en_plazo@plt>
test   %rax,%rax
je     13b9 <main+0x1a9>
lea    0x20(%rsp),%rbx
lea    0x18(%rsp),%r14
lea    0x4(%rsp),%r15
lea    0xd3c(%rip),%r12
lea    0xd54(%rip),%r13
jmp    1315 <main+0x105>
call   10f0 <perror@plt>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %ebp,%edi
mov    $0x14,%esi
call   1110 <recibido_en_plazo@plt>
test   %rax,%rax
je     13b9 <main+0x1a9>
movl   $0x4,0x4(%rsp)
mov    %ebp,%edi
mov    %rbx,%rsi
mov    $0x3e7,%edx
xor    %ecx,%ecx
mov    %r14,%r8
mov    %r15,%r9
call   10d0 <recvfrom@plt>
mov    %r12,%rdi
test   %eax,%eax
js     12ee <main+0xde>
mov    %eax,%eax
movb   $0x0,0x20(%rsp,%rax,1)
lea    0xce1(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x4(%rsp),%esi
mov    %r14,%rdi
xor    %edx,%edx
call   1030 <imprime_extremo_conexion@plt>
lea    0xccc(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
call   1050 <strlen@plt>
mov    0x4(%rsp),%r9d
mov    %ebp,%edi
mov    %rbx,%rsi
mov    %eax,%edx
xor    %ecx,%ecx
mov    %r14,%r8
call   10a0 <sendto@plt>
mov    %r13,%rdi
test   %eax,%eax
jns    1300 <main+0xf0>
jmp    12ee <main+0xde>
mov    0x2c24(%rip),%rax
mov    (%rax),%edi
lea    0xc53(%rip),%rsi
call   10c0 <fprintf@plt>
mov    $0x1,%ebx
jmp    13df <main+0x1cf>
lea    0xc8d(%rip),%rdi
call   1040 <puts@plt>
mov    %ebp,%edi
call   10b0 <close@plt>
xor    %ebx,%ebx
test   %rax,%rax
jns    13df <main+0x1cf>
lea    0xc6d(%rip),%rdi
call   1120 <error_fatal@plt>
mov    %ebx,%eax
add    $0x408,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr = type { i32 }
@stderr = global i32 0
@.str = [21 x i8] c"Uso: recod <puerto>\0A\00"
@AF_INET = global i32 0
@SOCK_DGRAM = global i32 0
@.str.1 = [7 x i8] c"socket\00"
@INADDR_ANY = global i32 0
@.str.2 = [5 x i8] c"bind\00"
@.str.3 = [9 x i8] c"recvfrom\00"
@.str.4 = [7 x i8] c"Desde \00"
@.str.5 = [15 x i8] c" recibido: %s\0A\00"
@.str.6 = [7 x i8] c"sendto\00"
@.str.7 = [22 x i8] c"*** no oigo nada ***\0A\00"
@.str.8 = [6 x i8] c"close\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [1000 x i8]
%7 = alloca i32
%8 = alloca %struct.sockaddr_in
%9 = alloca %struct.sockaddr
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %12
%13 = load i32, i32* %4
%14 = icmp ne i32 %13, 2
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = load i32, i32* @stderr
%17 = call i32 @fprintf(i32 %16, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
store i32 1, i32* %12
br label %89
18: ; preds = %2
%19 = load i32, i32* @AF_INET
%20 = load i32, i32* @SOCK_DGRAM
%21 = call i32 @socket(i32 %19, i32 %20, i32 0)
store i32 %21, i32* %7
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %18
%24 = call i32 @error_fatal(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
br label %25
25: ; preds = %23, %18
%26 = call i32 @memset(%struct.sockaddr_in* %8, i32 0, i32 12)
%27 = load i32, i32* @AF_INET
%28 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %8, i32 0, i32 2
store i32 %27, i32* %28
%29 = load i32, i32* @INADDR_ANY
%30 = call i32 @htonl(i32 %29)
%31 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %8, i32 0, i32 1
%32 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %31, i32 0, i32 0
store i32 %30, i32* %32
%33 = load i8**, i8*** %5
%34 = getelementptr inbounds i8*, i8** %33, i64 1
%35 = load i8*, i8** %34
%36 = call i32 @atoi(i8* %35)
%37 = call i32 @htons(i32 %36)
%38 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %8, i32 0, i32 0
store i32 %37, i32* %38
%39 = load i32, i32* %7
%40 = bitcast %struct.sockaddr_in* %8 to %struct.sockaddr*
%41 = call i64 @bind(i32 %39, %struct.sockaddr* %40, i32 12)
%42 = icmp slt i64 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %25
%44 = call i32 @error_fatal(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
br label %45
45: ; preds = %43, %25
br label %46
46: ; preds = %81, %45
%47 = load i32, i32* %7
%48 = call i64 @recibido_en_plazo(i32 %47, i32 20)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %79
50: ; preds = %46
store i32 4, i32* %10
%51 = load i32, i32* %7
%52 = getelementptr inbounds [1000 x i8], [1000 x i8]* %6, i64 0, i64 0
%53 = call i32 @recvfrom(i32 %51, i8* %52, i32 999, i32 0, %struct.sockaddr* %9, i32* %10)
store i32 %53, i32* %11
%54 = load i32, i32* %11
%55 = icmp slt i32 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %50
%57 = call i32 @perror(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
br label %78
58: ; preds = %50
%59 = load i32, i32* %11
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [1000 x i8], [1000 x i8]* %6, i64 0, i64 %60
store i8 0, i8* %61
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%63 = load i32, i32* %10
%64 = call i32 @imprime_extremo_conexion(%struct.sockaddr* %9, i32 %63, i32 0)
%65 = getelementptr inbounds [1000 x i8], [1000 x i8]* %6, i64 0, i64 0
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i8* %65)
%67 = load i32, i32* %7
%68 = getelementptr inbounds [1000 x i8], [1000 x i8]* %6, i64 0, i64 0
%69 = getelementptr inbounds [1000 x i8], [1000 x i8]* %6, i64 0, i64 0
%70 = call i32 @strlen(i8* %69)
%71 = load i32, i32* %10
%72 = call i32 @sendto(i32 %67, i8* %68, i32 %70, i32 0, %struct.sockaddr* %9, i32 %71)
store i32 %72, i32* %11
%73 = load i32, i32* %11
%74 = icmp slt i32 %73, 0
br i1 %74, label %75, label %77
75: ; preds = %58
%76 = call i32 @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
br label %77
77: ; preds = %75, %58
br label %78
78: ; preds = %77, %56
br label %81
79: ; preds = %46
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0))
br label %82
81: ; preds = %78
br label %46
82: ; preds = %79
%83 = load i32, i32* %7
%84 = call i64 @close(i32 %83)
%85 = icmp slt i64 %84, 0
br i1 %85, label %86, label %88
86: ; preds = %82
%87 = call i32 @error_fatal(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
br label %88
88: ; preds = %86, %82
br label %89
89: ; preds = %88, %15
%90 = load i32, i32* %12
ret i32 %90
}

LLVM IR (-O2):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr = type { i32 }
@stderr = global i32 0
@.str = [21 x i8] c"Uso: recod <puerto>\0A\00"
@AF_INET = global i32 0
@SOCK_DGRAM = global i32 0
@.str.1 = [7 x i8] c"socket\00"
@INADDR_ANY = global i32 0
@.str.2 = [5 x i8] c"bind\00"
@.str.3 = [9 x i8] c"recvfrom\00"
@.str.4 = [7 x i8] c"Desde \00"
@.str.5 = [15 x i8] c" recibido: %s\0A\00"
@.str.6 = [7 x i8] c"sendto\00"
@.str.8 = [6 x i8] c"close\00"
@str = [21 x i8] c"*** no oigo nada ***\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [1000 x i8]
%4 = alloca %struct.sockaddr_in
%5 = alloca %struct.sockaddr
%6 = alloca i32
%7 = getelementptr inbounds [1000 x i8], [1000 x i8]* %3, i64 0, i64 0
%8 = bitcast %struct.sockaddr_in* %4 to i8*
%9 = bitcast %struct.sockaddr* %5 to i8*
%10 = bitcast i32* %6 to i8*
%11 = icmp eq i32 %0, 2
br i1 %11, label %15, label %12
12: ; preds = %2
%13 = load i32, i32* @stderr
%14 = tail call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
br label %68
15: ; preds = %2
%16 = load i32, i32* @AF_INET
%17 = load i32, i32* @SOCK_DGRAM
%18 = tail call i32 @socket(i32 %16, i32 %17, i32 0)
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %15
%21 = tail call i32 @error_fatal(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
br label %22
22: ; preds = %20, %15
%23 = call i32 @memset(%struct.sockaddr_in* %4, i32 0, i32 12)
%24 = load i32, i32* @AF_INET
%25 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 2
store i32 %24, i32* %25
%26 = load i32, i32* @INADDR_ANY
%27 = call i32 @htonl(i32 %26)
%28 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 1, i32 0
store i32 %27, i32* %28
%29 = getelementptr inbounds i8*, i8** %1, i64 1
%30 = load i8*, i8** %29
%31 = call i32 @atoi(i8* %30)
%32 = call i32 @htons(i32 %31)
%33 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 0
store i32 %32, i32* %33
%34 = bitcast %struct.sockaddr_in* %4 to %struct.sockaddr*
%35 = call i64 @bind(i32 %18, %struct.sockaddr* %34, i32 12)
%36 = icmp slt i64 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %22
%38 = call i32 @error_fatal(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
br label %39
39: ; preds = %37, %22
%40 = call i64 @recibido_en_plazo(i32 %18, i32 20)
%41 = icmp eq i64 %40, 0
br i1 %41, label %56, label %42
42: ; preds = %39, %63
store i32 4, i32* %6
%43 = call i32 @recvfrom(i32 %18, i8* %7, i32 999, i32 0, %struct.sockaddr* %5, i32* %6)
%44 = icmp slt i32 %43, 0
br i1 %44, label %60, label %45
45: ; preds = %42
%46 = zext i32 %43 to i64
%47 = getelementptr inbounds [1000 x i8], [1000 x i8]* %3, i64 0, i64 %46
store i8 0, i8* %47
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%49 = load i32, i32* %6
%50 = call i32 @imprime_extremo_conexion(%struct.sockaddr* %5, i32 %49, i32 0)
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i8* %7)
%52 = call i32 @strlen(i8* %7)
%53 = load i32, i32* %6
%54 = call i32 @sendto(i32 %18, i8* %7, i32 %52, i32 0, %struct.sockaddr* %5, i32 %53)
%55 = icmp slt i32 %54, 0
br i1 %55, label %60, label %63
56: ; preds = %63, %39
%57 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str, i64 0, i64 0))
%58 = call i64 @close(i32 %18)
%59 = icmp slt i64 %58, 0
br i1 %59, label %66, label %68
60: ; preds = %45, %42
%61 = phi i8* [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), %42 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), %45 ]
%62 = call i32 @perror(i8* %61)
br label %63
63: ; preds = %60, %45
%64 = call i64 @recibido_en_plazo(i32 %18, i32 20)
%65 = icmp eq i64 %64, 0
br i1 %65, label %56, label %42
66: ; preds = %56
%67 = call i32 @error_fatal(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
br label %68
68: ; preds = %56, %66, %12
%69 = phi i32 [ 1, %12 ], [ 0, %66 ], [ 0, %56 ]
ret i32 %69
}