#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 MV_PlayLoopedRaw(char *, unsigned int, int /*<<< orphan*/ *,
                     int /*<<< orphan*/ *, unsigned int, int, int, int, int,
                     int, unsigned int);
int MV_PlayRaw(char *ptr, unsigned int length, unsigned rate, int pitchoffset,
               int vol, int left, int right, int priority,
               unsigned int callbackval) {
  int status;
  status = MV_PlayLoopedRaw(ptr, length, NULL, NULL, rate, pitchoffset, vol,
                            left, right, priority, callbackval);
  return (status);
}


x86 assembly (clang, -O0):
<MV_PlayRaw>:
push   %rbp
mov    %rsp,%rbp
push   %r14
push   %rbx
sub    $0x50,%rsp
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %rdi,-0x18(%rbp)
mov    %esi,-0x1c(%rbp)
mov    %edx,-0x20(%rbp)
mov    %ecx,-0x24(%rbp)
mov    %r8d,-0x28(%rbp)
mov    %r9d,-0x2c(%rbp)
mov    -0x18(%rbp),%rdi
mov    -0x1c(%rbp),%esi
mov    -0x20(%rbp),%r8d
mov    -0x24(%rbp),%r9d
mov    -0x28(%rbp),%r14d
mov    -0x2c(%rbp),%ebx
mov    0x10(%rbp),%r11d
mov    0x18(%rbp),%r10d
mov    0x20(%rbp),%eax
xor    %ecx,%ecx
mov    %rcx,%rdx
mov    %r14d,(%rsp)
mov    %ebx,0x8(%rsp)
mov    %r11d,0x10(%rsp)
mov    %r10d,0x18(%rsp)
mov    %eax,0x20(%rsp)
call   1030 <MV_PlayLoopedRaw@plt>
mov    %eax,-0x30(%rbp)
mov    -0x30(%rbp),%eax
add    $0x50,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

x86 assembly (clang, -O2):
<MV_PlayRaw>:
push   %r14
push   %rbx
push   %rax
mov    %r9d,%eax
mov    %r8d,%r10d
mov    %ecx,%r9d
mov    %edx,%r8d
mov    0x20(%rsp),%r11d
mov    0x28(%rsp),%r14d
mov    0x30(%rsp),%ebx
sub    $0x8,%rsp
xor    %edx,%edx
xor    %ecx,%ecx
push   %rbx
push   %r14
push   %r11
push   %rax
push   %r10
call   1030 <MV_PlayLoopedRaw@plt>
add    $0x38,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define i32 @MV_PlayRaw(i8* %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, i32 %7, i32 %8) {
%10 = alloca i8*
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
store i8* %0, i8** %10
store i32 %1, i32* %11
store i32 %2, i32* %12
store i32 %3, i32* %13
store i32 %4, i32* %14
store i32 %5, i32* %15
store i32 %6, i32* %16
store i32 %7, i32* %17
store i32 %8, i32* %18
%20 = load i8*, i8** %10
%21 = load i32, i32* %11
%22 = load i32, i32* %12
%23 = load i32, i32* %13
%24 = load i32, i32* %14
%25 = load i32, i32* %15
%26 = load i32, i32* %16
%27 = load i32, i32* %17
%28 = load i32, i32* %18
%29 = call i32 @MV_PlayLoopedRaw(i8* %20, i32 %21, i32* null, i32* null, i32 %22, i32 %23, i32 %24, i32 %25, i32 %26, i32 %27, i32 %28)
store i32 %29, i32* %19
%30 = load i32, i32* %19
ret i32 %30
}

LLVM IR (-O2):
define i32 @MV_PlayRaw(i8* %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, i32 %7, i32 %8) {
%10 = tail call i32 @MV_PlayLoopedRaw(i8* %0, i32 %1, i32* null, i32* null, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, i32 %7, i32 %8)
ret i32 %10
}