#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 int8_t;

/* Variables and functions */
int /*<<< orphan*/ printf(char *, char *, int, int, int, int, int, int, int,
                          int, int, int, int, int, int, int, int, int);
void print_bytes(char *s, int8_t *x) {
  printf("%s  : %d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n", s, x[0],
         x[1], x[2], x[3], x[4], x[5], x[6], x[7], x[8], x[9], x[10], x[11],
         x[12], x[13], x[14], x[15]);
}


x86 assembly (clang, -O0):
<print_bytes>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
mov    %rdi,-0x30(%rbp)
mov    %rsi,-0x38(%rbp)
mov    -0x30(%rbp),%rsi
mov    -0x38(%rbp),%rax
mov    (%rax),%edx
mov    -0x38(%rbp),%rax
mov    0x4(%rax),%ecx
mov    -0x38(%rbp),%rax
mov    0x8(%rax),%r8d
mov    -0x38(%rbp),%rax
mov    0xc(%rax),%r9d
mov    -0x38(%rbp),%rax
mov    0x10(%rax),%eax
mov    -0x38(%rbp),%rdi
mov    0x14(%rdi),%edi
mov    %edi,-0x48(%rbp)
mov    -0x38(%rbp),%rdi
mov    0x18(%rdi),%edi
mov    %edi,-0x44(%rbp)
mov    -0x38(%rbp),%rdi
mov    0x1c(%rdi),%edi
mov    %edi,-0x40(%rbp)
mov    -0x38(%rbp),%rdi
mov    0x20(%rdi),%r13d
mov    -0x38(%rbp),%rdi
mov    0x24(%rdi),%r12d
mov    -0x38(%rbp),%rdi
mov    0x28(%rdi),%r15d
mov    -0x38(%rbp),%rdi
mov    0x2c(%rdi),%r14d
mov    -0x38(%rbp),%rdi
mov    0x30(%rdi),%ebx
mov    -0x38(%rbp),%rdi
mov    0x34(%rdi),%r11d
mov    -0x38(%rbp),%rdi
mov    0x38(%rdi),%r10d
mov    -0x38(%rbp),%rdi
mov    0x3c(%rdi),%edi
mov    %edi,-0x3c(%rbp)
lea    0xe46(%rip),%rdi
mov    %eax,(%rsp)
mov    -0x48(%rbp),%eax
mov    %eax,0x8(%rsp)
mov    -0x44(%rbp),%eax
mov    %eax,0x10(%rsp)
mov    -0x40(%rbp),%eax
mov    %eax,0x18(%rsp)
mov    -0x3c(%rbp),%eax
mov    %r13d,0x20(%rsp)
mov    %r12d,0x28(%rsp)
mov    %r15d,0x30(%rsp)
mov    %r14d,0x38(%rsp)
mov    %ebx,0x40(%rsp)
mov    %r11d,0x48(%rsp)
mov    %r10d,0x50(%rsp)
mov    %eax,0x58(%rsp)
call   1030 <printf@plt>
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_bytes>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %rdi,%rbx
mov    (%rsi),%edx
mov    0x4(%rsi),%ecx
mov    0x8(%rsi),%r8d
mov    0xc(%rsi),%r9d
mov    0x10(%rsi),%eax
mov    %rax,0x20(%rsp)
mov    0x14(%rsi),%eax
mov    %rax,0x18(%rsp)
mov    0x18(%rsi),%eax
mov    %rax,0x10(%rsp)
mov    0x1c(%rsi),%eax
mov    %rax,0x8(%rsp)
mov    0x20(%rsi),%r12d
mov    0x24(%rsi),%r13d
mov    0x28(%rsi),%r15d
mov    0x2c(%rsi),%ebp
mov    0x30(%rsi),%r14d
mov    0x34(%rsi),%r11d
mov    0x38(%rsi),%r10d
mov    0x3c(%rsi),%eax
lea    0xe8d(%rip),%rdi
mov    %rbx,%rsi
push   %rax
push   %r10
push   %r11
push   %r14
push   %rbp
push   %r15
push   %r13
push   %r12
push   0x48(%rsp)
push   0x58(%rsp)
push   0x68(%rsp)
push   0x78(%rsp)
call   1030 <printf@plt>
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [55 x i8] c"%s : %d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\0A\00"
define void @print_bytes(i8* %0, i32* %1) {
%3 = alloca i8*
%4 = alloca i32*
store i8* %0, i8** %3
store i32* %1, i32** %4
%5 = load i8*, i8** %3
%6 = load i32*, i32** %4
%7 = getelementptr inbounds i32, i32* %6, i64 0
%8 = load i32, i32* %7
%9 = load i32*, i32** %4
%10 = getelementptr inbounds i32, i32* %9, i64 1
%11 = load i32, i32* %10
%12 = load i32*, i32** %4
%13 = getelementptr inbounds i32, i32* %12, i64 2
%14 = load i32, i32* %13
%15 = load i32*, i32** %4
%16 = getelementptr inbounds i32, i32* %15, i64 3
%17 = load i32, i32* %16
%18 = load i32*, i32** %4
%19 = getelementptr inbounds i32, i32* %18, i64 4
%20 = load i32, i32* %19
%21 = load i32*, i32** %4
%22 = getelementptr inbounds i32, i32* %21, i64 5
%23 = load i32, i32* %22
%24 = load i32*, i32** %4
%25 = getelementptr inbounds i32, i32* %24, i64 6
%26 = load i32, i32* %25
%27 = load i32*, i32** %4
%28 = getelementptr inbounds i32, i32* %27, i64 7
%29 = load i32, i32* %28
%30 = load i32*, i32** %4
%31 = getelementptr inbounds i32, i32* %30, i64 8
%32 = load i32, i32* %31
%33 = load i32*, i32** %4
%34 = getelementptr inbounds i32, i32* %33, i64 9
%35 = load i32, i32* %34
%36 = load i32*, i32** %4
%37 = getelementptr inbounds i32, i32* %36, i64 10
%38 = load i32, i32* %37
%39 = load i32*, i32** %4
%40 = getelementptr inbounds i32, i32* %39, i64 11
%41 = load i32, i32* %40
%42 = load i32*, i32** %4
%43 = getelementptr inbounds i32, i32* %42, i64 12
%44 = load i32, i32* %43
%45 = load i32*, i32** %4
%46 = getelementptr inbounds i32, i32* %45, i64 13
%47 = load i32, i32* %46
%48 = load i32*, i32** %4
%49 = getelementptr inbounds i32, i32* %48, i64 14
%50 = load i32, i32* %49
%51 = load i32*, i32** %4
%52 = getelementptr inbounds i32, i32* %51, i64 15
%53 = load i32, i32* %52
%54 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str, i64 0, i64 0), i8* %5, i32 %8, i32 %11, i32 %14, i32 %17, i32 %20, i32 %23, i32 %26, i32 %29, i32 %32, i32 %35, i32 %38, i32 %41, i32 %44, i32 %47, i32 %50, i32 %53)
ret void
}

LLVM IR (-O2):
@.str = [55 x i8] c"%s : %d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\0A\00"
define void @print_bytes(i8* %0, i32* nocapture %1) {
%3 = load i32, i32* %1
%4 = getelementptr inbounds i32, i32* %1, i64 1
%5 = load i32, i32* %4
%6 = getelementptr inbounds i32, i32* %1, i64 2
%7 = load i32, i32* %6
%8 = getelementptr inbounds i32, i32* %1, i64 3
%9 = load i32, i32* %8
%10 = getelementptr inbounds i32, i32* %1, i64 4
%11 = load i32, i32* %10
%12 = getelementptr inbounds i32, i32* %1, i64 5
%13 = load i32, i32* %12
%14 = getelementptr inbounds i32, i32* %1, i64 6
%15 = load i32, i32* %14
%16 = getelementptr inbounds i32, i32* %1, i64 7
%17 = load i32, i32* %16
%18 = getelementptr inbounds i32, i32* %1, i64 8
%19 = load i32, i32* %18
%20 = getelementptr inbounds i32, i32* %1, i64 9
%21 = load i32, i32* %20
%22 = getelementptr inbounds i32, i32* %1, i64 10
%23 = load i32, i32* %22
%24 = getelementptr inbounds i32, i32* %1, i64 11
%25 = load i32, i32* %24
%26 = getelementptr inbounds i32, i32* %1, i64 12
%27 = load i32, i32* %26
%28 = getelementptr inbounds i32, i32* %1, i64 13
%29 = load i32, i32* %28
%30 = getelementptr inbounds i32, i32* %1, i64 14
%31 = load i32, i32* %30
%32 = getelementptr inbounds i32, i32* %1, i64 15
%33 = load i32, i32* %32
%34 = tail call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str, i64 0, i64 0), i8* %0, i32 %3, i32 %5, i32 %7, i32 %9, i32 %11, i32 %13, i32 %15, i32 %17, i32 %19, i32 %21, i32 %23, i32 %25, i32 %27, i32 %29, i32 %31, i32 %33)
ret void
}