#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 */
scalar_t__ ends_with(char const *, char *);
int is_video(const char *file) {
  return (ends_with(file, ".mpg") || ends_with(file, ".mpeg") ||
          ends_with(file, ".avi") || ends_with(file, ".divx") ||
          ends_with(file, ".asf") || ends_with(file, ".wmv") ||
          ends_with(file, ".mp4") || ends_with(file, ".m4v") ||
          ends_with(file, ".mts") || ends_with(file, ".m2ts") ||
          ends_with(file, ".m2t") || ends_with(file, ".mkv") ||
          ends_with(file, ".vob") || ends_with(file, ".ts") ||
          ends_with(file, ".flv") || ends_with(file, ".xvid") ||
          ends_with(file, ".TiVo") || ends_with(file, ".m2v") ||
          ends_with(file, ".mov") || ends_with(file, ".3gp"));
}


x86 assembly (clang, -O0):
<is_video>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xed9(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xebc(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xea0(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xe83(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xe67(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xe4a(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xe2d(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xe10(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xdf3(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xdd6(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xdba(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xd9d(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xd80(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xd63(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xd45(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xd28(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xd0c(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xcf0(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xcd3(%rip),%rsi
call   1030 <ends_with@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    13bc <is_video+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xcb6(%rip),%rsi
call   1030 <ends_with@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x9(%rbp)
mov    -0x9(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<is_video>:
push   %rbp
push   %rbx
push   %rax
mov    %rdi,%rbx
lea    0xee3(%rip),%rsi
call   1030 <ends_with@plt>
mov    $0x1,%ebp
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xece(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xebc(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xea9(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xe97(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xe84(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xe71(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xe5e(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xe4b(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xe38(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xe26(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xe13(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xe00(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xded(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xddd(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xdce(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xdc0(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xdb2(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xda3(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
test   %rax,%rax
jne    12e0 <is_video+0x1d0>
lea    0xd94(%rip),%rsi
mov    %rbx,%rdi
call   1030 <ends_with@plt>
xor    %ebp,%ebp
test   %rax,%rax
setne  %bpl
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
@.str = [5 x i8] c".mpg\00"
@.str.1 = [6 x i8] c".mpeg\00"
@.str.2 = [5 x i8] c".avi\00"
@.str.3 = [6 x i8] c".divx\00"
@.str.4 = [5 x i8] c".asf\00"
@.str.5 = [5 x i8] c".wmv\00"
@.str.6 = [5 x i8] c".mp4\00"
@.str.7 = [5 x i8] c".m4v\00"
@.str.8 = [5 x i8] c".mts\00"
@.str.9 = [6 x i8] c".m2ts\00"
@.str.10 = [5 x i8] c".m2t\00"
@.str.11 = [5 x i8] c".mkv\00"
@.str.12 = [5 x i8] c".vob\00"
@.str.13 = [4 x i8] c".ts\00"
@.str.14 = [5 x i8] c".flv\00"
@.str.15 = [6 x i8] c".xvid\00"
@.str.16 = [6 x i8] c".TiVo\00"
@.str.17 = [5 x i8] c".m2v\00"
@.str.18 = [5 x i8] c".mov\00"
@.str.19 = [5 x i8] c".3gp\00"
define i32 @is_video(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i64 @ends_with(i8* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%5 = icmp ne i64 %4, 0
br i1 %5, label %82, label %6
6: ; preds = %1
%7 = load i8*, i8** %2
%8 = call i64 @ends_with(i8* %7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%9 = icmp ne i64 %8, 0
br i1 %9, label %82, label %10
10: ; preds = %6
%11 = load i8*, i8** %2
%12 = call i64 @ends_with(i8* %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%13 = icmp ne i64 %12, 0
br i1 %13, label %82, label %14
14: ; preds = %10
%15 = load i8*, i8** %2
%16 = call i64 @ends_with(i8* %15, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%17 = icmp ne i64 %16, 0
br i1 %17, label %82, label %18
18: ; preds = %14
%19 = load i8*, i8** %2
%20 = call i64 @ends_with(i8* %19, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%21 = icmp ne i64 %20, 0
br i1 %21, label %82, label %22
22: ; preds = %18
%23 = load i8*, i8** %2
%24 = call i64 @ends_with(i8* %23, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%25 = icmp ne i64 %24, 0
br i1 %25, label %82, label %26
26: ; preds = %22
%27 = load i8*, i8** %2
%28 = call i64 @ends_with(i8* %27, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%29 = icmp ne i64 %28, 0
br i1 %29, label %82, label %30
30: ; preds = %26
%31 = load i8*, i8** %2
%32 = call i64 @ends_with(i8* %31, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%33 = icmp ne i64 %32, 0
br i1 %33, label %82, label %34
34: ; preds = %30
%35 = load i8*, i8** %2
%36 = call i64 @ends_with(i8* %35, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%37 = icmp ne i64 %36, 0
br i1 %37, label %82, label %38
38: ; preds = %34
%39 = load i8*, i8** %2
%40 = call i64 @ends_with(i8* %39, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%41 = icmp ne i64 %40, 0
br i1 %41, label %82, label %42
42: ; preds = %38
%43 = load i8*, i8** %2
%44 = call i64 @ends_with(i8* %43, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%45 = icmp ne i64 %44, 0
br i1 %45, label %82, label %46
46: ; preds = %42
%47 = load i8*, i8** %2
%48 = call i64 @ends_with(i8* %47, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
%49 = icmp ne i64 %48, 0
br i1 %49, label %82, label %50
50: ; preds = %46
%51 = load i8*, i8** %2
%52 = call i64 @ends_with(i8* %51, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%53 = icmp ne i64 %52, 0
br i1 %53, label %82, label %54
54: ; preds = %50
%55 = load i8*, i8** %2
%56 = call i64 @ends_with(i8* %55, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0))
%57 = icmp ne i64 %56, 0
br i1 %57, label %82, label %58
58: ; preds = %54
%59 = load i8*, i8** %2
%60 = call i64 @ends_with(i8* %59, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0))
%61 = icmp ne i64 %60, 0
br i1 %61, label %82, label %62
62: ; preds = %58
%63 = load i8*, i8** %2
%64 = call i64 @ends_with(i8* %63, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0))
%65 = icmp ne i64 %64, 0
br i1 %65, label %82, label %66
66: ; preds = %62
%67 = load i8*, i8** %2
%68 = call i64 @ends_with(i8* %67, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.16, i64 0, i64 0))
%69 = icmp ne i64 %68, 0
br i1 %69, label %82, label %70
70: ; preds = %66
%71 = load i8*, i8** %2
%72 = call i64 @ends_with(i8* %71, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0))
%73 = icmp ne i64 %72, 0
br i1 %73, label %82, label %74
74: ; preds = %70
%75 = load i8*, i8** %2
%76 = call i64 @ends_with(i8* %75, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%77 = icmp ne i64 %76, 0
br i1 %77, label %82, label %78
78: ; preds = %74
%79 = load i8*, i8** %2
%80 = call i64 @ends_with(i8* %79, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0))
%81 = icmp ne i64 %80, 0
br label %82
82: ; preds = %78, %74, %70, %66, %62, %58, %54, %50, %46, %42, %38, %34, %30, %26, %22, %18, %14, %10, %6, %1
%83 = phi i1 [ true, %74 ], [ true, %70 ], [ true, %66 ], [ true, %62 ], [ true, %58 ], [ true, %54 ], [ true, %50 ], [ true, %46 ], [ true, %42 ], [ true, %38 ], [ true, %34 ], [ true, %30 ], [ true, %26 ], [ true, %22 ], [ true, %18 ], [ true, %14 ], [ true, %10 ], [ true, %6 ], [ true, %1 ], [ %81, %78 ]
%84 = zext i1 %83 to i32
ret i32 %84
}

LLVM IR (-O2):
@.str = [5 x i8] c".mpg\00"
@.str.1 = [6 x i8] c".mpeg\00"
@.str.2 = [5 x i8] c".avi\00"
@.str.3 = [6 x i8] c".divx\00"
@.str.4 = [5 x i8] c".asf\00"
@.str.5 = [5 x i8] c".wmv\00"
@.str.6 = [5 x i8] c".mp4\00"
@.str.7 = [5 x i8] c".m4v\00"
@.str.8 = [5 x i8] c".mts\00"
@.str.9 = [6 x i8] c".m2ts\00"
@.str.10 = [5 x i8] c".m2t\00"
@.str.11 = [5 x i8] c".mkv\00"
@.str.12 = [5 x i8] c".vob\00"
@.str.13 = [4 x i8] c".ts\00"
@.str.14 = [5 x i8] c".flv\00"
@.str.15 = [6 x i8] c".xvid\00"
@.str.16 = [6 x i8] c".TiVo\00"
@.str.17 = [5 x i8] c".m2v\00"
@.str.18 = [5 x i8] c".mov\00"
@.str.19 = [5 x i8] c".3gp\00"
define i32 @is_video(i8* %0) {
%2 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %62
4: ; preds = %1
%5 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %62
7: ; preds = %4
%8 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %62
10: ; preds = %7
%11 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %62
13: ; preds = %10
%14 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %62
16: ; preds = %13
%17 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %62
19: ; preds = %16
%20 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %62
22: ; preds = %19
%23 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %62
25: ; preds = %22
%26 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %62
28: ; preds = %25
%29 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %62
31: ; preds = %28
%32 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %62
34: ; preds = %31
%35 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %62
37: ; preds = %34
%38 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %62
40: ; preds = %37
%41 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0))
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %62
43: ; preds = %40
%44 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0))
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %62
46: ; preds = %43
%47 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0))
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %62
49: ; preds = %46
%50 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.16, i64 0, i64 0))
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %62
52: ; preds = %49
%53 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0))
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %52
%56 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%57 = icmp eq i64 %56, 0
br i1 %57, label %58, label %62
58: ; preds = %55
%59 = tail call i64 @ends_with(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0))
%60 = icmp ne i64 %59, 0
%61 = zext i1 %60 to i32
br label %62
62: ; preds = %58, %55, %52, %49, %46, %43, %40, %37, %34, %31, %28, %25, %22, %19, %16, %13, %10, %7, %4, %1
%63 = phi i32 [ 1, %55 ], [ 1, %52 ], [ 1, %49 ], [ 1, %46 ], [ 1, %43 ], [ 1, %40 ], [ 1, %37 ], [ 1, %34 ], [ 1, %31 ], [ 1, %28 ], [ 1, %25 ], [ 1, %22 ], [ 1, %19 ], [ 1, %16 ], [ 1, %13 ], [ 1, %10 ], [ 1, %7 ], [ 1, %4 ], [ 1, %1 ], [ %61, %58 ]
ret i32 %63
}