#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*/ malloc(int);
int main(void) {
  malloc(16000);
  malloc(240);
  malloc(192);
  malloc(16);
  malloc(16);
  malloc(16);
  malloc(16);
  malloc(16);
  malloc(16);
  malloc(16);
  malloc(16);
  malloc(16);
  malloc(16);
  malloc(16);
  malloc(16);
  malloc(16);
  malloc(16);
  malloc(16);
  malloc(16);
  malloc(16);
  malloc(16);
  malloc(16);
  malloc(16);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x3e80,%edi
call   1030 <malloc@plt>
mov    $0xf0,%edi
call   1030 <malloc@plt>
mov    $0xc0,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    $0x3e80,%edi
call   1030 <malloc@plt>
mov    $0xf0,%edi
call   1030 <malloc@plt>
mov    $0xc0,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
mov    $0x10,%edi
call   1030 <malloc@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @malloc(i32 16000)
%3 = call i32 @malloc(i32 240)
%4 = call i32 @malloc(i32 192)
%5 = call i32 @malloc(i32 16)
%6 = call i32 @malloc(i32 16)
%7 = call i32 @malloc(i32 16)
%8 = call i32 @malloc(i32 16)
%9 = call i32 @malloc(i32 16)
%10 = call i32 @malloc(i32 16)
%11 = call i32 @malloc(i32 16)
%12 = call i32 @malloc(i32 16)
%13 = call i32 @malloc(i32 16)
%14 = call i32 @malloc(i32 16)
%15 = call i32 @malloc(i32 16)
%16 = call i32 @malloc(i32 16)
%17 = call i32 @malloc(i32 16)
%18 = call i32 @malloc(i32 16)
%19 = call i32 @malloc(i32 16)
%20 = call i32 @malloc(i32 16)
%21 = call i32 @malloc(i32 16)
%22 = call i32 @malloc(i32 16)
%23 = call i32 @malloc(i32 16)
%24 = call i32 @malloc(i32 16)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 @malloc(i32 16000)
%2 = tail call i32 @malloc(i32 240)
%3 = tail call i32 @malloc(i32 192)
%4 = tail call i32 @malloc(i32 16)
%5 = tail call i32 @malloc(i32 16)
%6 = tail call i32 @malloc(i32 16)
%7 = tail call i32 @malloc(i32 16)
%8 = tail call i32 @malloc(i32 16)
%9 = tail call i32 @malloc(i32 16)
%10 = tail call i32 @malloc(i32 16)
%11 = tail call i32 @malloc(i32 16)
%12 = tail call i32 @malloc(i32 16)
%13 = tail call i32 @malloc(i32 16)
%14 = tail call i32 @malloc(i32 16)
%15 = tail call i32 @malloc(i32 16)
%16 = tail call i32 @malloc(i32 16)
%17 = tail call i32 @malloc(i32 16)
%18 = tail call i32 @malloc(i32 16)
%19 = tail call i32 @malloc(i32 16)
%20 = tail call i32 @malloc(i32 16)
%21 = tail call i32 @malloc(i32 16)
%22 = tail call i32 @malloc(i32 16)
%23 = tail call i32 @malloc(i32 16)
ret i32 0
}