#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*/ puts(char *);
char *strnstr(char *, char *, int);
int main(int argc, char *argv[]) {
  char *s;
  puts("hi");
  s = strnstr("12345", "1", 5);
  puts(s ? s : "-1");
  s = strnstr("12345", "2", 5);
  puts(s ? s : "-1");
  s = strnstr("12345", "3", 5);
  puts(s ? s : "-1");
  s = strnstr("12345", "4", 5);
  puts(s ? s : "-1");
  s = strnstr("12345", "5", 5);
  puts(s ? s : "-1");
  s = strnstr("12345", "5", 4);
  puts(s ? s : "-1");
  s = strnstr("", "5", 4);
  puts(s ? s : "-1");
  s = strnstr("\0 12345", "5", 4);
  puts(s ? s : "-1");
  s = strnstr("12345", "", 4);
  puts(s ? s : "-1");
  s = strnstr("12", "12345", 4);
  puts(s ? s : "-1");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xec3(%rip),%rdi
call   1030 <puts@plt>
lea    0xeba(%rip),%rdi
lea    0xeba(%rip),%rsi
mov    $0x5,%edx
call   1040 <strnstr@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
je     1176 <main+0x56>
mov    -0x18(%rbp),%rax
mov    %rax,-0x20(%rbp)
jmp    1186 <main+0x66>
lea    0xe8c(%rip),%rax
mov    %rax,-0x20(%rbp)
jmp    1186 <main+0x66>
mov    -0x20(%rbp),%rdi
call   1030 <puts@plt>
lea    0xe6d(%rip),%rdi
lea    0xe74(%rip),%rsi
mov    $0x5,%edx
call   1040 <strnstr@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
je     11c3 <main+0xa3>
mov    -0x18(%rbp),%rax
mov    %rax,-0x28(%rbp)
jmp    11d3 <main+0xb3>
lea    0xe3f(%rip),%rax
mov    %rax,-0x28(%rbp)
jmp    11d3 <main+0xb3>
mov    -0x28(%rbp),%rdi
call   1030 <puts@plt>
lea    0xe20(%rip),%rdi
lea    0xe22(%rip),%rsi
mov    $0x5,%edx
call   1040 <strnstr@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
je     1210 <main+0xf0>
mov    -0x18(%rbp),%rax
mov    %rax,-0x30(%rbp)
jmp    1220 <main+0x100>
lea    0xdf2(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1220 <main+0x100>
mov    -0x30(%rbp),%rdi
call   1030 <puts@plt>
lea    0xdd3(%rip),%rdi
lea    0xdd7(%rip),%rsi
mov    $0x5,%edx
call   1040 <strnstr@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
je     125d <main+0x13d>
mov    -0x18(%rbp),%rax
mov    %rax,-0x38(%rbp)
jmp    126d <main+0x14d>
lea    0xda5(%rip),%rax
mov    %rax,-0x38(%rbp)
jmp    126d <main+0x14d>
mov    -0x38(%rbp),%rdi
call   1030 <puts@plt>
lea    0xd86(%rip),%rdi
lea    0xd83(%rip),%rsi
mov    $0x5,%edx
call   1040 <strnstr@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
je     12aa <main+0x18a>
mov    -0x18(%rbp),%rax
mov    %rax,-0x40(%rbp)
jmp    12ba <main+0x19a>
lea    0xd58(%rip),%rax
mov    %rax,-0x40(%rbp)
jmp    12ba <main+0x19a>
mov    -0x40(%rbp),%rdi
call   1030 <puts@plt>
lea    0xd39(%rip),%rdi
lea    0xd36(%rip),%rsi
mov    $0x4,%edx
call   1040 <strnstr@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
je     12f7 <main+0x1d7>
mov    -0x18(%rbp),%rax
mov    %rax,-0x48(%rbp)
jmp    1307 <main+0x1e7>
lea    0xd0b(%rip),%rax
mov    %rax,-0x48(%rbp)
jmp    1307 <main+0x1e7>
mov    -0x48(%rbp),%rdi
call   1030 <puts@plt>
lea    0xcf4(%rip),%rdi
lea    0xce9(%rip),%rsi
mov    $0x4,%edx
call   1040 <strnstr@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
je     1344 <main+0x224>
mov    -0x18(%rbp),%rax
mov    %rax,-0x50(%rbp)
jmp    1354 <main+0x234>
lea    0xcbe(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    1354 <main+0x234>
mov    -0x50(%rbp),%rdi
call   1030 <puts@plt>
lea    0xcaf(%rip),%rdi
lea    0xc9c(%rip),%rsi
mov    $0x4,%edx
call   1040 <strnstr@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
je     1391 <main+0x271>
mov    -0x18(%rbp),%rax
mov    %rax,-0x58(%rbp)
jmp    13a1 <main+0x281>
lea    0xc71(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    13a1 <main+0x281>
mov    -0x58(%rbp),%rdi
call   1030 <puts@plt>
lea    0xc52(%rip),%rdi
lea    0xc53(%rip),%rsi
mov    $0x4,%edx
call   1040 <strnstr@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
je     13de <main+0x2be>
mov    -0x18(%rbp),%rax
mov    %rax,-0x60(%rbp)
jmp    13ee <main+0x2ce>
lea    0xc24(%rip),%rax
mov    %rax,-0x60(%rbp)
jmp    13ee <main+0x2ce>
mov    -0x60(%rbp),%rdi
call   1030 <puts@plt>
lea    0xc12(%rip),%rdi
lea    0xbfe(%rip),%rsi
mov    $0x4,%edx
call   1040 <strnstr@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
je     142b <main+0x30b>
mov    -0x18(%rbp),%rax
mov    %rax,-0x68(%rbp)
jmp    143b <main+0x31b>
lea    0xbd7(%rip),%rax
mov    %rax,-0x68(%rbp)
jmp    143b <main+0x31b>
mov    -0x68(%rbp),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
lea    0xed1(%rip),%rdi
call   1030 <puts@plt>
lea    0xec8(%rip),%r14
lea    0xec8(%rip),%rsi
mov    %r14,%rdi
mov    $0x5,%edx
call   1040 <strnstr@plt>
test   %rax,%rax
lea    0xeb0(%rip),%rbx
cmove  %rbx,%rax
mov    %rax,%rdi
call   1030 <puts@plt>
lea    0xea5(%rip),%rsi
mov    %r14,%rdi
mov    $0x5,%edx
call   1040 <strnstr@plt>
test   %rax,%rax
cmove  %rbx,%rax
mov    %rax,%rdi
call   1030 <puts@plt>
lea    0xe7d(%rip),%rsi
mov    %r14,%rdi
mov    $0x5,%edx
call   1040 <strnstr@plt>
test   %rax,%rax
cmove  %rbx,%rax
mov    %rax,%rdi
call   1030 <puts@plt>
lea    0xe5c(%rip),%rsi
mov    %r14,%rdi
mov    $0x5,%edx
call   1040 <strnstr@plt>
test   %rax,%rax
cmove  %rbx,%rax
mov    %rax,%rdi
call   1030 <puts@plt>
lea    0xe32(%rip),%r15
mov    %r14,%rdi
mov    %r15,%rsi
mov    $0x5,%edx
call   1040 <strnstr@plt>
test   %rax,%rax
cmove  %rbx,%rax
mov    %rax,%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
mov    %r15,%rsi
mov    $0x4,%edx
call   1040 <strnstr@plt>
test   %rax,%rax
cmove  %rbx,%rax
mov    %rax,%rdi
call   1030 <puts@plt>
lea    0xdf1(%rip),%r12
mov    %r12,%rdi
mov    %r15,%rsi
mov    $0x4,%edx
call   1040 <strnstr@plt>
test   %rax,%rax
cmove  %rbx,%rax
mov    %rax,%rdi
call   1030 <puts@plt>
lea    0xdd3(%rip),%rdi
mov    %r15,%rsi
mov    $0x4,%edx
call   1040 <strnstr@plt>
test   %rax,%rax
cmove  %rbx,%rax
mov    %rax,%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
mov    %r12,%rsi
mov    $0x4,%edx
call   1040 <strnstr@plt>
test   %rax,%rax
cmove  %rbx,%rax
mov    %rax,%rdi
call   1030 <puts@plt>
lea    0xd8e(%rip),%rdi
mov    %r14,%rsi
mov    $0x4,%edx
call   1040 <strnstr@plt>
test   %rax,%rax
cmovne %rax,%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [3 x i8] c"hi\00"
@.str.1 = [6 x i8] c"12345\00"
@.str.2 = [2 x i8] c"1\00"
@.str.3 = [3 x i8] c"-1\00"
@.str.4 = [2 x i8] c"2\00"
@.str.5 = [2 x i8] c"3\00"
@.str.6 = [2 x i8] c"4\00"
@.str.7 = [2 x i8] c"5\00"
@.str.8 = [1 x i8] zeroinitializer
@.str.9 = [8 x i8] c"\00 12345\00"
@.str.10 = [3 x i8] c"12\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%7 = call i32 @puts(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%8 = call i8* @strnstr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i32 5)
store i8* %8, i8** %6
%9 = load i8*, i8** %6
%10 = icmp ne i8* %9, null
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = load i8*, i8** %6
br label %14
13: ; preds = %2
br label %14
14: ; preds = %13, %11
%15 = phi i8* [ %12, %11 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), %13 ]
%16 = call i32 @puts(i8* %15)
%17 = call i8* @strnstr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0), i32 5)
store i8* %17, i8** %6
%18 = load i8*, i8** %6
%19 = icmp ne i8* %18, null
br i1 %19, label %20, label %22
20: ; preds = %14
%21 = load i8*, i8** %6
br label %23
22: ; preds = %14
br label %23
23: ; preds = %22, %20
%24 = phi i8* [ %21, %20 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), %22 ]
%25 = call i32 @puts(i8* %24)
%26 = call i8* @strnstr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i32 5)
store i8* %26, i8** %6
%27 = load i8*, i8** %6
%28 = icmp ne i8* %27, null
br i1 %28, label %29, label %31
29: ; preds = %23
%30 = load i8*, i8** %6
br label %32
31: ; preds = %23
br label %32
32: ; preds = %31, %29
%33 = phi i8* [ %30, %29 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), %31 ]
%34 = call i32 @puts(i8* %33)
%35 = call i8* @strnstr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0), i32 5)
store i8* %35, i8** %6
%36 = load i8*, i8** %6
%37 = icmp ne i8* %36, null
br i1 %37, label %38, label %40
38: ; preds = %32
%39 = load i8*, i8** %6
br label %41
40: ; preds = %32
br label %41
41: ; preds = %40, %38
%42 = phi i8* [ %39, %38 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), %40 ]
%43 = call i32 @puts(i8* %42)
%44 = call i8* @strnstr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i32 5)
store i8* %44, i8** %6
%45 = load i8*, i8** %6
%46 = icmp ne i8* %45, null
br i1 %46, label %47, label %49
47: ; preds = %41
%48 = load i8*, i8** %6
br label %50
49: ; preds = %41
br label %50
50: ; preds = %49, %47
%51 = phi i8* [ %48, %47 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), %49 ]
%52 = call i32 @puts(i8* %51)
%53 = call i8* @strnstr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i32 4)
store i8* %53, i8** %6
%54 = load i8*, i8** %6
%55 = icmp ne i8* %54, null
br i1 %55, label %56, label %58
56: ; preds = %50
%57 = load i8*, i8** %6
br label %59
58: ; preds = %50
br label %59
59: ; preds = %58, %56
%60 = phi i8* [ %57, %56 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), %58 ]
%61 = call i32 @puts(i8* %60)
%62 = call i8* @strnstr(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i32 4)
store i8* %62, i8** %6
%63 = load i8*, i8** %6
%64 = icmp ne i8* %63, null
br i1 %64, label %65, label %67
65: ; preds = %59
%66 = load i8*, i8** %6
br label %68
67: ; preds = %59
br label %68
68: ; preds = %67, %65
%69 = phi i8* [ %66, %65 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), %67 ]
%70 = call i32 @puts(i8* %69)
%71 = call i8* @strnstr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i32 4)
store i8* %71, i8** %6
%72 = load i8*, i8** %6
%73 = icmp ne i8* %72, null
br i1 %73, label %74, label %76
74: ; preds = %68
%75 = load i8*, i8** %6
br label %77
76: ; preds = %68
br label %77
77: ; preds = %76, %74
%78 = phi i8* [ %75, %74 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), %76 ]
%79 = call i32 @puts(i8* %78)
%80 = call i8* @strnstr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.8, i64 0, i64 0), i32 4)
store i8* %80, i8** %6
%81 = load i8*, i8** %6
%82 = icmp ne i8* %81, null
br i1 %82, label %83, label %85
83: ; preds = %77
%84 = load i8*, i8** %6
br label %86
85: ; preds = %77
br label %86
86: ; preds = %85, %83
%87 = phi i8* [ %84, %83 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), %85 ]
%88 = call i32 @puts(i8* %87)
%89 = call i8* @strnstr(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 4)
store i8* %89, i8** %6
%90 = load i8*, i8** %6
%91 = icmp ne i8* %90, null
br i1 %91, label %92, label %94
92: ; preds = %86
%93 = load i8*, i8** %6
br label %95
94: ; preds = %86
br label %95
95: ; preds = %94, %92
%96 = phi i8* [ %93, %92 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), %94 ]
%97 = call i32 @puts(i8* %96)
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"hi\00"
@.str.1 = [6 x i8] c"12345\00"
@.str.2 = [2 x i8] c"1\00"
@.str.3 = [3 x i8] c"-1\00"
@.str.4 = [2 x i8] c"2\00"
@.str.5 = [2 x i8] c"3\00"
@.str.6 = [2 x i8] c"4\00"
@.str.7 = [2 x i8] c"5\00"
@.str.8 = [1 x i8] zeroinitializer
@.str.9 = [8 x i8] c"\00 12345\00"
@.str.10 = [3 x i8] c"12\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%4 = tail call i8* @strnstr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i32 5)
%5 = icmp eq i8* %4, null
%6 = select i1 %5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* %4
%7 = tail call i32 @puts(i8* dereferenceable(1) %6)
%8 = tail call i8* @strnstr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0), i32 5)
%9 = icmp eq i8* %8, null
%10 = select i1 %9, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* %8
%11 = tail call i32 @puts(i8* dereferenceable(1) %10)
%12 = tail call i8* @strnstr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i32 5)
%13 = icmp eq i8* %12, null
%14 = select i1 %13, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* %12
%15 = tail call i32 @puts(i8* dereferenceable(1) %14)
%16 = tail call i8* @strnstr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0), i32 5)
%17 = icmp eq i8* %16, null
%18 = select i1 %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* %16
%19 = tail call i32 @puts(i8* dereferenceable(1) %18)
%20 = tail call i8* @strnstr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i32 5)
%21 = icmp eq i8* %20, null
%22 = select i1 %21, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* %20
%23 = tail call i32 @puts(i8* dereferenceable(1) %22)
%24 = tail call i8* @strnstr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i32 4)
%25 = icmp eq i8* %24, null
%26 = select i1 %25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* %24
%27 = tail call i32 @puts(i8* dereferenceable(1) %26)
%28 = tail call i8* @strnstr(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i32 4)
%29 = icmp eq i8* %28, null
%30 = select i1 %29, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* %28
%31 = tail call i32 @puts(i8* dereferenceable(1) %30)
%32 = tail call i8* @strnstr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i32 4)
%33 = icmp eq i8* %32, null
%34 = select i1 %33, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* %32
%35 = tail call i32 @puts(i8* dereferenceable(1) %34)
%36 = tail call i8* @strnstr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.8, i64 0, i64 0), i32 4)
%37 = icmp eq i8* %36, null
%38 = select i1 %37, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* %36
%39 = tail call i32 @puts(i8* dereferenceable(1) %38)
%40 = tail call i8* @strnstr(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 4)
%41 = icmp eq i8* %40, null
%42 = select i1 %41, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* %40
%43 = tail call i32 @puts(i8* dereferenceable(1) %42)
ret i32 0
}