#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*/ printfTauler(char **);
void marcaUltimaTiradaiPrintTauler(char tauler[6][7], int filaJ1, int columnaJ1,
                                   int filaJ2, int columnaJ2) {
  tauler[filaJ1][columnaJ1] = 'O';
  tauler[filaJ2][columnaJ2] = 'X';
  printfTauler(tauler);
  tauler[filaJ1][columnaJ1] = 'o';
  tauler[filaJ2][columnaJ2] = 'x';
}


x86 assembly (clang, -O0):
<marcaUltimaTiradaiPrintTauler>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
mov    %r8d,-0x18(%rbp)
mov    -0x8(%rbp),%rax
movslq -0xc(%rbp),%rcx
imul   $0x7,%rcx,%rcx
add    %rcx,%rax
movslq -0x10(%rbp),%rcx
movb   $0x4f,(%rax,%rcx,1)
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
imul   $0x7,%rcx,%rcx
add    %rcx,%rax
movslq -0x18(%rbp),%rcx
movb   $0x58,(%rax,%rcx,1)
mov    -0x8(%rbp),%rdi
call   1030 <printfTauler@plt>
mov    -0x8(%rbp),%rax
movslq -0xc(%rbp),%rcx
imul   $0x7,%rcx,%rcx
add    %rcx,%rax
movslq -0x10(%rbp),%rcx
movb   $0x6f,(%rax,%rcx,1)
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
imul   $0x7,%rcx,%rcx
add    %rcx,%rax
movslq -0x18(%rbp),%rcx
movb   $0x78,(%rax,%rcx,1)
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<marcaUltimaTiradaiPrintTauler>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
movslq %esi,%rax
movslq %edx,%r14
lea    0x0(,%rax,8),%r12
sub    %rax,%r12
add    %rdi,%r12
movb   $0x4f,(%r14,%r12,1)
movslq %ecx,%rax
movslq %r8d,%r15
lea    0x0(,%rax,8),%rbx
sub    %rax,%rbx
add    %rdi,%rbx
movb   $0x58,(%r15,%rbx,1)
call   1030 <printfTauler@plt>
movb   $0x6f,(%r14,%r12,1)
movb   $0x78,(%r15,%rbx,1)
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define void @marcaUltimaTiradaiPrintTauler([7 x i8]* %0, i32 %1, i32 %2, i32 %3, i32 %4) {
%6 = alloca [7 x i8]*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
store [7 x i8]* %0, [7 x i8]** %6
store i32 %1, i32* %7
store i32 %2, i32* %8
store i32 %3, i32* %9
store i32 %4, i32* %10
%11 = load [7 x i8]*, [7 x i8]** %6
%12 = load i32, i32* %7
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [7 x i8], [7 x i8]* %11, i64 %13
%15 = load i32, i32* %8
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [7 x i8], [7 x i8]* %14, i64 0, i64 %16
store i8 79, i8* %17
%18 = load [7 x i8]*, [7 x i8]** %6
%19 = load i32, i32* %9
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [7 x i8], [7 x i8]* %18, i64 %20
%22 = load i32, i32* %10
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [7 x i8], [7 x i8]* %21, i64 0, i64 %23
store i8 88, i8* %24
%25 = load [7 x i8]*, [7 x i8]** %6
%26 = bitcast [7 x i8]* %25 to i8**
%27 = call i32 @printfTauler(i8** %26)
%28 = load [7 x i8]*, [7 x i8]** %6
%29 = load i32, i32* %7
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [7 x i8], [7 x i8]* %28, i64 %30
%32 = load i32, i32* %8
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [7 x i8], [7 x i8]* %31, i64 0, i64 %33
store i8 111, i8* %34
%35 = load [7 x i8]*, [7 x i8]** %6
%36 = load i32, i32* %9
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [7 x i8], [7 x i8]* %35, i64 %37
%39 = load i32, i32* %10
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [7 x i8], [7 x i8]* %38, i64 0, i64 %40
store i8 120, i8* %41
ret void
}

LLVM IR (-O2):
define void @marcaUltimaTiradaiPrintTauler([7 x i8]* %0, i32 %1, i32 %2, i32 %3, i32 %4) {
%6 = sext i32 %1 to i64
%7 = sext i32 %2 to i64
%8 = getelementptr inbounds [7 x i8], [7 x i8]* %0, i64 %6, i64 %7
store i8 79, i8* %8
%9 = sext i32 %3 to i64
%10 = sext i32 %4 to i64
%11 = getelementptr inbounds [7 x i8], [7 x i8]* %0, i64 %9, i64 %10
store i8 88, i8* %11
%12 = bitcast [7 x i8]* %0 to i8**
%13 = tail call i32 @printfTauler(i8** %12)
store i8 111, i8* %8
store i8 120, i8* %11
ret void
}