#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*/ BTIC4B_DecImageClrDec2T_RCT(int, int, int, int, int, int,
                                               int, int *, int *, int *, int *,
                                               int *, int *);
void BTIC4B_DecImageClrDec2T_RCTSW(int tag, int acy, int acu, int acv, int dcy,
                                   int dcu, int dcv, int *rr0, int *rg0,
                                   int *rb0, int *rr1, int *rg1, int *rb1) {
  BTIC4B_DecImageClrDec2T_RCT(tag, acy, acv, acu, dcy, dcv, dcu, rr0, rg0, rb0,
                              rr1, rg1, rb1);
}


x86 assembly (clang, -O0):
<BTIC4B_DecImageClrDec2T_RCTSW>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x50,%rsp
mov    0x40(%rbp),%rax
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%eax
mov    %edi,-0x24(%rbp)
mov    %esi,-0x28(%rbp)
mov    %edx,-0x2c(%rbp)
mov    %ecx,-0x30(%rbp)
mov    %r8d,-0x34(%rbp)
mov    %r9d,-0x38(%rbp)
mov    -0x24(%rbp),%edi
mov    -0x28(%rbp),%esi
mov    -0x30(%rbp),%edx
mov    -0x2c(%rbp),%ecx
mov    -0x34(%rbp),%r8d
mov    0x10(%rbp),%r9d
mov    -0x38(%rbp),%r12d
mov    0x18(%rbp),%r15
mov    0x20(%rbp),%r14
mov    0x28(%rbp),%rbx
mov    0x30(%rbp),%r11
mov    0x38(%rbp),%r10
mov    0x40(%rbp),%rax
mov    %r12d,(%rsp)
mov    %r15,0x8(%rsp)
mov    %r14,0x10(%rsp)
mov    %rbx,0x18(%rsp)
mov    %r11,0x20(%rsp)
mov    %r10,0x28(%rsp)
mov    %rax,0x30(%rsp)
call   1030 <BTIC4B_DecImageClrDec2T_RCT@plt>
add    $0x50,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<BTIC4B_DecImageClrDec2T_RCTSW>:
sub    $0x38,%rsp
mov    %edx,%eax
mov    0x40(%rsp),%r10d
movups 0x48(%rsp),%xmm0
movups 0x58(%rsp),%xmm1
movups 0x68(%rsp),%xmm2
movups %xmm2,0x28(%rsp)
movups %xmm1,0x18(%rsp)
movups %xmm0,0x8(%rsp)
mov    %r9d,(%rsp)
mov    %ecx,%edx
mov    %eax,%ecx
mov    %r10d,%r9d
call   1030 <BTIC4B_DecImageClrDec2T_RCT@plt>
add    $0x38,%rsp
ret

LLVM IR (-O0):
define void @BTIC4B_DecImageClrDec2T_RCTSW(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, i32* %7, i32* %8, i32* %9, i32* %10, i32* %11, i32* %12) {
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32*
%22 = alloca i32*
%23 = alloca i32*
%24 = alloca i32*
%25 = alloca i32*
%26 = alloca i32*
store i32 %0, i32* %14
store i32 %1, i32* %15
store i32 %2, i32* %16
store i32 %3, i32* %17
store i32 %4, i32* %18
store i32 %5, i32* %19
store i32 %6, i32* %20
store i32* %7, i32** %21
store i32* %8, i32** %22
store i32* %9, i32** %23
store i32* %10, i32** %24
store i32* %11, i32** %25
store i32* %12, i32** %26
%27 = load i32, i32* %14
%28 = load i32, i32* %15
%29 = load i32, i32* %17
%30 = load i32, i32* %16
%31 = load i32, i32* %18
%32 = load i32, i32* %20
%33 = load i32, i32* %19
%34 = load i32*, i32** %21
%35 = load i32*, i32** %22
%36 = load i32*, i32** %23
%37 = load i32*, i32** %24
%38 = load i32*, i32** %25
%39 = load i32*, i32** %26
%40 = call i32 @BTIC4B_DecImageClrDec2T_RCT(i32 %27, i32 %28, i32 %29, i32 %30, i32 %31, i32 %32, i32 %33, i32* %34, i32* %35, i32* %36, i32* %37, i32* %38, i32* %39)
ret void
}

LLVM IR (-O2):
define void @BTIC4B_DecImageClrDec2T_RCTSW(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, i32* %7, i32* %8, i32* %9, i32* %10, i32* %11, i32* %12) {
%14 = tail call i32 @BTIC4B_DecImageClrDec2T_RCT(i32 %0, i32 %1, i32 %3, i32 %2, i32 %4, i32 %6, i32 %5, i32* %7, i32* %8, i32* %9, i32* %10, i32* %11, i32* %12)
ret void
}