#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_ConnectionManager_GetCurrentConnectionInfo(
    void *, int, int, char *, char *, int, char *, char *);
int /*<<< orphan*/ printf(char *, int);
void UpnpConnectionManager_GetCurrentConnectionInfo(void *upnptoken,
                                                    int ConnectionID) {
  printf("Invoke: UpnpConnectionManager_GetCurrentConnectionInfo(%d);\r\n",
         ConnectionID);
  UpnpResponse_ConnectionManager_GetCurrentConnectionInfo(
      upnptoken, 25000, 25000, "Sample String", "Sample String", 25000,
      "Sample String", "Sample String");
}


x86 assembly (clang, -O0):
<UpnpConnectionManager_GetCurrentConnectionInfo>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%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    $0x61a8,%r9d
lea    0xeef(%rip),%rax
mov    %r9d,%esi
mov    %r9d,%edx
mov    %rax,%rcx
mov    %rax,%r8
mov    %rax,(%rsp)
mov    %rax,0x8(%rsp)
call   1040 <UpnpResponse_ConnectionManager_GetCurrentConnectionInfo@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<UpnpConnectionManager_GetCurrentConnectionInfo>:
push   %rbx
mov    %rdi,%rbx
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf07(%rip),%rcx
mov    %rbx,%rdi
mov    $0x61a8,%esi
mov    $0x61a8,%edx
mov    %rcx,%r8
mov    $0x61a8,%r9d
push   %rcx
push   %rcx
call   1040 <UpnpResponse_ConnectionManager_GetCurrentConnectionInfo@plt>
add    $0x10,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [62 x i8] c"Invoke: UpnpConnectionManager_GetCurrentConnectionInfo(%d);\0D\0A\00"
@.str.1 = [14 x i8] c"Sample String\00"
define void @UpnpConnectionManager_GetCurrentConnectionInfo(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 ([62 x i8], [62 x i8]* @.str, i64 0, i64 0), i32 %5)
%7 = load i8*, i8** %3
%8 = call i32 @UpnpResponse_ConnectionManager_GetCurrentConnectionInfo(i8* %7, i32 25000, i32 25000, 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, 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))
ret void
}

LLVM IR (-O2):
@.str = [62 x i8] c"Invoke: UpnpConnectionManager_GetCurrentConnectionInfo(%d);\0D\0A\00"
@.str.1 = [14 x i8] c"Sample String\00"
define void @UpnpConnectionManager_GetCurrentConnectionInfo(i8* %0, i32 %1) {
%3 = tail call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str, i64 0, i64 0), i32 %1)
%4 = tail call i32 @UpnpResponse_ConnectionManager_GetCurrentConnectionInfo(i8* %0, i32 25000, i32 25000, 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, 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))
ret void
}