#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*/ printf(char *, char *);
char *rapidpush_notify(char *, char *, char *, int, char *, char *, char *);
int main(int argc, char **argv) {
  printf("Return code: %s\n",
         rapidpush_notify("YOU-API-KEY", "Title test", "message test", 2,
                          "c_test", "", ""));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xed4(%rip),%rdi
lea    0xed9(%rip),%rsi
lea    0xedd(%rip),%rdx
mov    $0x2,%ecx
lea    0xede(%rip),%r8
lea    0xeb2(%rip),%rax
mov    %rax,%r9
mov    %rax,(%rsp)
call   1040 <rapidpush_notify@plt>
mov    %rax,%rsi
lea    0xe8c(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xee8(%rip),%r9
mov    %r9,(%rsp)
lea    0xede(%rip),%rdi
lea    0xee3(%rip),%rsi
lea    0xee7(%rip),%rdx
lea    0xeed(%rip),%r8
mov    $0x2,%ecx
call   1040 <rapidpush_notify@plt>
lea    0xea7(%rip),%rdi
mov    %rax,%rsi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [17 x i8] c"Return code: %s\0A\00"
@.str.1 = [12 x i8] c"YOU-API-KEY\00"
@.str.2 = [11 x i8] c"Title test\00"
@.str.3 = [13 x i8] c"message test\00"
@.str.4 = [7 x i8] c"c_test\00"
@.str.5 = [1 x i8] zeroinitializer
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = call i8* @rapidpush_notify(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i32 2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* %6)
ret i32 0
}

LLVM IR (-O2):
@.str = [17 x i8] c"Return code: %s\0A\00"
@.str.1 = [12 x i8] c"YOU-API-KEY\00"
@.str.2 = [11 x i8] c"Title test\00"
@.str.3 = [13 x i8] c"message test\00"
@.str.4 = [7 x i8] c"c_test\00"
@.str.5 = [1 x i8] zeroinitializer
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i8* @rapidpush_notify(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i32 2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.5, i64 0, i64 0))
%4 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* %3)
ret i32 0
}