#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 int32_t;

/* Variables and functions */
int /*<<< orphan*/ putchar(int);
void printWinner(int32_t player) {
  if (player != 0) {
    putchar('V');
    putchar('i');
    putchar('c');
    putchar('t');
    putchar('o');
    putchar('i');
    putchar('r');
    putchar('e');
    putchar(' ');
    putchar('d');
    putchar('u');
    putchar(' ');
    putchar('j');
    putchar('o');
    putchar('u');
    putchar('e');
    putchar('u');
    putchar('r');
    putchar(' ');
    if (player == 1) {
      putchar('1');
    } else {
      putchar('2');
    }
    putchar(10);
  } else {
    putchar('M');
    putchar('a');
    putchar('t');
    putchar('c');
    putchar('h');
    putchar(' ');
    putchar('n');
    putchar('u');
    putchar('l');
  }
  putchar(10);
}


x86 assembly (clang, -O0):
<printWinner>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
cmpl   $0x0,-0x4(%rbp)
je     1215 <printWinner+0x105>
mov    $0x56,%edi
call   1030 <putchar@plt>
mov    $0x69,%edi
call   1030 <putchar@plt>
mov    $0x63,%edi
call   1030 <putchar@plt>
mov    $0x74,%edi
call   1030 <putchar@plt>
mov    $0x6f,%edi
call   1030 <putchar@plt>
mov    $0x69,%edi
call   1030 <putchar@plt>
mov    $0x72,%edi
call   1030 <putchar@plt>
mov    $0x65,%edi
call   1030 <putchar@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    $0x64,%edi
call   1030 <putchar@plt>
mov    $0x75,%edi
call   1030 <putchar@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    $0x6a,%edi
call   1030 <putchar@plt>
mov    $0x6f,%edi
call   1030 <putchar@plt>
mov    $0x75,%edi
call   1030 <putchar@plt>
mov    $0x65,%edi
call   1030 <putchar@plt>
mov    $0x75,%edi
call   1030 <putchar@plt>
mov    $0x72,%edi
call   1030 <putchar@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
cmpl   $0x1,-0x4(%rbp)
jne    11fc <printWinner+0xec>
mov    $0x31,%edi
call   1030 <putchar@plt>
jmp    1206 <printWinner+0xf6>
mov    $0x32,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
jmp    126f <printWinner+0x15f>
mov    $0x4d,%edi
call   1030 <putchar@plt>
mov    $0x61,%edi
call   1030 <putchar@plt>
mov    $0x74,%edi
call   1030 <putchar@plt>
mov    $0x63,%edi
call   1030 <putchar@plt>
mov    $0x68,%edi
call   1030 <putchar@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    $0x6e,%edi
call   1030 <putchar@plt>
mov    $0x75,%edi
call   1030 <putchar@plt>
mov    $0x6c,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<printWinner>:
push   %rbx
test   %edi,%edi
je     11ef <printWinner+0xdf>
mov    %edi,%ebx
mov    $0x56,%edi
call   1030 <putchar@plt>
mov    $0x69,%edi
call   1030 <putchar@plt>
mov    $0x63,%edi
call   1030 <putchar@plt>
mov    $0x74,%edi
call   1030 <putchar@plt>
mov    $0x6f,%edi
call   1030 <putchar@plt>
mov    $0x69,%edi
call   1030 <putchar@plt>
mov    $0x72,%edi
call   1030 <putchar@plt>
mov    $0x65,%edi
call   1030 <putchar@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    $0x64,%edi
call   1030 <putchar@plt>
mov    $0x75,%edi
call   1030 <putchar@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    $0x6a,%edi
call   1030 <putchar@plt>
mov    $0x6f,%edi
call   1030 <putchar@plt>
mov    $0x75,%edi
call   1030 <putchar@plt>
mov    $0x65,%edi
call   1030 <putchar@plt>
mov    $0x75,%edi
call   1030 <putchar@plt>
mov    $0x72,%edi
call   1030 <putchar@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
cmp    $0x1,%ebx
sete   %al
mov    $0x32,%edi
sub    %eax,%edi
mov    $0xa,%ebx
jmp    123f <printWinner+0x12f>
mov    $0x4d,%edi
call   1030 <putchar@plt>
mov    $0x61,%edi
call   1030 <putchar@plt>
mov    $0x74,%edi
call   1030 <putchar@plt>
mov    $0x63,%edi
call   1030 <putchar@plt>
mov    $0x68,%edi
call   1030 <putchar@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    $0x6e,%edi
call   1030 <putchar@plt>
mov    $0x6c,%ebx
mov    $0x75,%edi
call   1030 <putchar@plt>
mov    %ebx,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
pop    %rbx
jmp    1030 <putchar@plt>

LLVM IR (-O0):
define void @printWinner(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* %2
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %33
5: ; preds = %1
%6 = call i32 @putchar(i32 86)
%7 = call i32 @putchar(i32 105)
%8 = call i32 @putchar(i32 99)
%9 = call i32 @putchar(i32 116)
%10 = call i32 @putchar(i32 111)
%11 = call i32 @putchar(i32 105)
%12 = call i32 @putchar(i32 114)
%13 = call i32 @putchar(i32 101)
%14 = call i32 @putchar(i32 32)
%15 = call i32 @putchar(i32 100)
%16 = call i32 @putchar(i32 117)
%17 = call i32 @putchar(i32 32)
%18 = call i32 @putchar(i32 106)
%19 = call i32 @putchar(i32 111)
%20 = call i32 @putchar(i32 117)
%21 = call i32 @putchar(i32 101)
%22 = call i32 @putchar(i32 117)
%23 = call i32 @putchar(i32 114)
%24 = call i32 @putchar(i32 32)
%25 = load i32, i32* %2
%26 = icmp eq i32 %25, 1
br i1 %26, label %27, label %29
27: ; preds = %5
%28 = call i32 @putchar(i32 49)
br label %31
29: ; preds = %5
%30 = call i32 @putchar(i32 50)
br label %31
31: ; preds = %29, %27
%32 = call i32 @putchar(i32 10)
br label %43
33: ; preds = %1
%34 = call i32 @putchar(i32 77)
%35 = call i32 @putchar(i32 97)
%36 = call i32 @putchar(i32 116)
%37 = call i32 @putchar(i32 99)
%38 = call i32 @putchar(i32 104)
%39 = call i32 @putchar(i32 32)
%40 = call i32 @putchar(i32 110)
%41 = call i32 @putchar(i32 117)
%42 = call i32 @putchar(i32 108)
br label %43
43: ; preds = %33, %31
%44 = call i32 @putchar(i32 10)
ret void
}

LLVM IR (-O2):
define void @printWinner(i32 %0) {
%2 = icmp eq i32 %0, 0
br i1 %2, label %25, label %3
3: ; preds = %1
%4 = tail call i32 @putchar(i32 86)
%5 = tail call i32 @putchar(i32 105)
%6 = tail call i32 @putchar(i32 99)
%7 = tail call i32 @putchar(i32 116)
%8 = tail call i32 @putchar(i32 111)
%9 = tail call i32 @putchar(i32 105)
%10 = tail call i32 @putchar(i32 114)
%11 = tail call i32 @putchar(i32 101)
%12 = tail call i32 @putchar(i32 32)
%13 = tail call i32 @putchar(i32 100)
%14 = tail call i32 @putchar(i32 117)
%15 = tail call i32 @putchar(i32 32)
%16 = tail call i32 @putchar(i32 106)
%17 = tail call i32 @putchar(i32 111)
%18 = tail call i32 @putchar(i32 117)
%19 = tail call i32 @putchar(i32 101)
%20 = tail call i32 @putchar(i32 117)
%21 = tail call i32 @putchar(i32 114)
%22 = tail call i32 @putchar(i32 32)
%23 = icmp eq i32 %0, 1
%24 = select i1 %23, i32 49, i32 50
br label %33
25: ; preds = %1
%26 = tail call i32 @putchar(i32 77)
%27 = tail call i32 @putchar(i32 97)
%28 = tail call i32 @putchar(i32 116)
%29 = tail call i32 @putchar(i32 99)
%30 = tail call i32 @putchar(i32 104)
%31 = tail call i32 @putchar(i32 32)
%32 = tail call i32 @putchar(i32 110)
br label %33
33: ; preds = %25, %3
%34 = phi i32 [ 117, %25 ], [ %24, %3 ]
%35 = phi i32 [ 108, %25 ], [ 10, %3 ]
%36 = tail call i32 @putchar(i32 %34)
%37 = tail call i32 @putchar(i32 %35)
%38 = tail call i32 @putchar(i32 10)
ret void
}