#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
void google_map_output_selectable_map_thumbtack(FILE *output_file,
                                                char *click_message,
                                                double latitude,
                                                double longitude) {
  fprintf(output_file, "	point = new google.maps.LatLng(%.7lf,%.7lf);\n",
          latitude, longitude);
  fprintf(output_file,
          "	create_selectable_map_marker( map, point, '%s' );\n\n",
          click_message);
}


x86 assembly (clang, -O0):
<google_map_output_selectable_map_thumbtack>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movsd  %xmm0,-0x18(%rbp)
movsd  %xmm1,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movsd  -0x18(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
lea    0xec1(%rip),%rsi
mov    $0x2,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rdx
lea    0xeda(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<google_map_output_selectable_map_thumbtack>:
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%rbx
lea    0xedf(%rip),%rsi
mov    $0x2,%al
call   1030 <fprintf@plt>
lea    0xf00(%rip),%rsi
mov    %rbx,%rdi
mov    %r14,%rdx
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@.str = [47 x i8] c"\09point = new google.maps.LatLng(%.7lf,%.7lf);\0A\00"
@.str.1 = [53 x i8] c"\09create_selectable_map_marker( map, point, '%s' );\0A\0A\00"
define void @google_map_output_selectable_map_thumbtack(i32* %0, i8* %1, double %2, double %3) {
%5 = alloca i32*
%6 = alloca i8*
%7 = alloca double
%8 = alloca double
store i32* %0, i32** %5
store i8* %1, i8** %6
store double %2, double* %7
store double %3, double* %8
%9 = load i32*, i32** %5
%10 = load double, double* %7
%11 = load double, double* %8
%12 = call i32 (i32*, i8*, ...) @fprintf(i32* %9, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str, i64 0, i64 0), double %10, double %11)
%13 = load i32*, i32** %5
%14 = load i8*, i8** %6
%15 = call i32 (i32*, i8*, ...) @fprintf(i32* %13, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.1, i64 0, i64 0), i8* %14)
ret void
}

LLVM IR (-O2):
@.str = [47 x i8] c"\09point = new google.maps.LatLng(%.7lf,%.7lf);\0A\00"
@.str.1 = [53 x i8] c"\09create_selectable_map_marker( map, point, '%s' );\0A\0A\00"
define void @google_map_output_selectable_map_thumbtack(i32* nocapture %0, i8* %1, double %2, double %3) {
%5 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str, i64 0, i64 0), double %2, double %3)
%6 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.1, i64 0, i64 0), i8* %1)
ret void
}