#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*/ UPnPResponse_AVTransport_GetPositionInfo(void *, int, char *,
                                                            char *, char *,
                                                            char *, char *, int,
                                                            int);
int /*<<< orphan*/ printf(char *, unsigned int);
void UPnPAVTransport_GetPositionInfo(void *upnptoken, unsigned int InstanceID) {
  printf("Invoke: UPnPAVTransport_GetPositionInfo(%u);\r\n", InstanceID);
  UPnPResponse_AVTransport_GetPositionInfo(
      upnptoken, 250, "Sample String", "Sample String", "Sample String",
      "Sample String", "Sample String", 25000, 25000);
}


x86 assembly (clang, -O0):
<UPnPAVTransport_GetPositionInfo>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    -0xc(%rbp),%esi
lea    0xec7(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%rdi
mov    $0xfa,%esi
lea    0xee1(%rip),%rax
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
mov    %rax,%r9
mov    %rax,(%rsp)
movl   $0x61a8,0x8(%rsp)
movl   $0x61a8,0x10(%rsp)
call   1040 <UPnPResponse_AVTransport_GetPositionInfo@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<UPnPAVTransport_GetPositionInfo>:
push   %rbx
mov    %rdi,%rbx
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
sub    $0x8,%rsp
lea    0xef4(%rip),%rcx
mov    %rbx,%rdi
mov    $0xfa,%esi
mov    %rcx,%rdx
mov    %rcx,%r8
mov    %rcx,%r9
push   $0x61a8
push   $0x61a8
push   %rcx
call   1040 <UPnPResponse_AVTransport_GetPositionInfo@plt>
add    $0x20,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [47 x i8] c"Invoke: UPnPAVTransport_GetPositionInfo(%u);\0D\0A\00"
@.str.1 = [14 x i8] c"Sample String\00"
define void @UPnPAVTransport_GetPositionInfo(i8* %0, i32 %1) {
%3 = alloca i8*
%4 = alloca i32
store i8* %0, i8** %3
store i32 %1, i32* %4
%5 = load i32, i32* %4
%6 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str, i64 0, i64 0), i32 %5)
%7 = load i8*, i8** %3
%8 = call i32 @UPnPResponse_AVTransport_GetPositionInfo(i8* %7, i32 250, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 25000, i32 25000)
ret void
}

LLVM IR (-O2):
@.str = [47 x i8] c"Invoke: UPnPAVTransport_GetPositionInfo(%u);\0D\0A\00"
@.str.1 = [14 x i8] c"Sample String\00"
define void @UPnPAVTransport_GetPositionInfo(i8* %0, i32 %1) {
%3 = tail call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str, i64 0, i64 0), i32 %1)
%4 = tail call i32 @UPnPResponse_AVTransport_GetPositionInfo(i8* %0, i32 250, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 25000, i32 25000)
ret void
}