#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 *, int, long long, unsigned long,
                          unsigned long, unsigned long, int, int, int);
void print_line_detail(char *prefix, int opcode, unsigned long long address,
                       unsigned long file, unsigned long line,
                       unsigned long column, int is_stmt, int basic_block,
                       int end_sequence) {
  printf("%-15s %2d 0x%08llx "
         "%2lu   %4lu %2lu   %1d %1d %1d\n",
         prefix, (int)opcode, (long long)address, (unsigned long)file,
         (unsigned long)line, (unsigned long)column, (int)is_stmt,
         (int)basic_block, (int)end_sequence);
}


x86 assembly (clang, -O0):
<print_line_detail>:
push   %rbp
mov    %rsp,%rbp
push   %rbx
sub    $0x58,%rsp
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %rdi,-0x10(%rbp)
mov    %esi,-0x14(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    %r8,-0x30(%rbp)
mov    %r9,-0x38(%rbp)
mov    -0x10(%rbp),%rsi
mov    -0x14(%rbp),%edx
mov    -0x20(%rbp),%rcx
mov    -0x28(%rbp),%r8
mov    -0x30(%rbp),%r9
mov    -0x38(%rbp),%rbx
mov    0x10(%rbp),%r11d
mov    0x18(%rbp),%r10d
mov    0x20(%rbp),%eax
lea    0xe9e(%rip),%rdi
mov    %rbx,(%rsp)
mov    %r11d,0x8(%rsp)
mov    %r10d,0x10(%rsp)
mov    %eax,0x18(%rsp)
call   1030 <printf@plt>
add    $0x58,%rsp
pop    %rbx
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_line_detail>:
push   %rbx
mov    %r9,%rax
mov    %r8,%r9
mov    %rcx,%r8
mov    %rdx,%rcx
mov    %esi,%edx
mov    %rdi,%rsi
mov    0x10(%rsp),%r10d
mov    0x18(%rsp),%r11d
mov    0x20(%rsp),%ebx
lea    0xec9(%rip),%rdi
push   %rbx
push   %r11
push   %r10
push   %rax
call   1030 <printf@plt>
add    $0x20,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [51 x i8] c"%-15s %2d 0x%08llx %2lu %4lu %2lu %1d %1d %1d\0A\00"
define void @print_line_detail(i8* %0, i32 %1, i64 %2, i64 %3, i64 %4, i64 %5, i32 %6, i32 %7, i32 %8) {
%10 = alloca i8*
%11 = alloca i32
%12 = alloca i64
%13 = alloca i64
%14 = alloca i64
%15 = alloca i64
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
store i8* %0, i8** %10
store i32 %1, i32* %11
store i64 %2, i64* %12
store i64 %3, i64* %13
store i64 %4, i64* %14
store i64 %5, i64* %15
store i32 %6, i32* %16
store i32 %7, i32* %17
store i32 %8, i32* %18
%19 = load i8*, i8** %10
%20 = load i32, i32* %11
%21 = load i64, i64* %12
%22 = load i64, i64* %13
%23 = load i64, i64* %14
%24 = load i64, i64* %15
%25 = load i32, i32* %16
%26 = load i32, i32* %17
%27 = load i32, i32* %18
%28 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str, i64 0, i64 0), i8* %19, i32 %20, i64 %21, i64 %22, i64 %23, i64 %24, i32 %25, i32 %26, i32 %27)
ret void
}

LLVM IR (-O2):
@.str = [51 x i8] c"%-15s %2d 0x%08llx %2lu %4lu %2lu %1d %1d %1d\0A\00"
define void @print_line_detail(i8* %0, i32 %1, i64 %2, i64 %3, i64 %4, i64 %5, i32 %6, i32 %7, i32 %8) {
%10 = tail call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str, i64 0, i64 0), i8* %0, i32 %1, i64 %2, i64 %3, i64 %4, i64 %5, i32 %6, i32 %7, i32 %8)
ret void
}