#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*/ div(int, int);
int /*<<< orphan*/ divp(int, int);
int /*<<< orphan*/ mod(int, int);
int /*<<< orphan*/ modp(int, int);
void main() {
  div(2, 1);
  div(23, 4);
  div(5, 10);
  div(237, 7);
  mod(2, 1);
  mod(23, 4);
  mod(5, 10);
  mod(237, 7);
  divp(2, 1);
  divp(23, 4);
  divp(5, 10);
  divp(237, 7);
  modp(2, 1);
  modp(23, 4);
  modp(5, 10);
  modp(237, 7);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
mov    $0x2,%edi
mov    $0x1,%esi
call   1060 <div@plt>
mov    $0x17,%edi
mov    $0x4,%esi
call   1060 <div@plt>
mov    $0x5,%edi
mov    $0xa,%esi
call   1060 <div@plt>
mov    $0xed,%edi
mov    $0x7,%esi
call   1060 <div@plt>
mov    $0x2,%edi
mov    $0x1,%esi
call   1040 <mod@plt>
mov    $0x17,%edi
mov    $0x4,%esi
call   1040 <mod@plt>
mov    $0x5,%edi
mov    $0xa,%esi
call   1040 <mod@plt>
mov    $0xed,%edi
mov    $0x7,%esi
call   1040 <mod@plt>
mov    $0x2,%edi
mov    $0x1,%esi
call   1030 <divp@plt>
mov    $0x17,%edi
mov    $0x4,%esi
call   1030 <divp@plt>
mov    $0x5,%edi
mov    $0xa,%esi
call   1030 <divp@plt>
mov    $0xed,%edi
mov    $0x7,%esi
call   1030 <divp@plt>
mov    $0x2,%edi
mov    $0x1,%esi
call   1050 <modp@plt>
mov    $0x17,%edi
mov    $0x4,%esi
call   1050 <modp@plt>
mov    $0x5,%edi
mov    $0xa,%esi
call   1050 <modp@plt>
mov    $0xed,%edi
mov    $0x7,%esi
call   1050 <modp@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    $0x2,%edi
mov    $0x1,%esi
call   1060 <div@plt>
mov    $0x17,%edi
mov    $0x4,%esi
call   1060 <div@plt>
mov    $0x5,%edi
mov    $0xa,%esi
call   1060 <div@plt>
mov    $0xed,%edi
mov    $0x7,%esi
call   1060 <div@plt>
mov    $0x2,%edi
mov    $0x1,%esi
call   1040 <mod@plt>
mov    $0x17,%edi
mov    $0x4,%esi
call   1040 <mod@plt>
mov    $0x5,%edi
mov    $0xa,%esi
call   1040 <mod@plt>
mov    $0xed,%edi
mov    $0x7,%esi
call   1040 <mod@plt>
mov    $0x2,%edi
mov    $0x1,%esi
call   1030 <divp@plt>
mov    $0x17,%edi
mov    $0x4,%esi
call   1030 <divp@plt>
mov    $0x5,%edi
mov    $0xa,%esi
call   1030 <divp@plt>
mov    $0xed,%edi
mov    $0x7,%esi
call   1030 <divp@plt>
mov    $0x2,%edi
mov    $0x1,%esi
call   1050 <modp@plt>
mov    $0x17,%edi
mov    $0x4,%esi
call   1050 <modp@plt>
mov    $0x5,%edi
mov    $0xa,%esi
call   1050 <modp@plt>
mov    $0xed,%edi
mov    $0x7,%esi
pop    %rax
jmp    1050 <modp@plt>

LLVM IR (-O0):
define void @main() {
%1 = call i32 @div(i32 2, i32 1)
%2 = call i32 @div(i32 23, i32 4)
%3 = call i32 @div(i32 5, i32 10)
%4 = call i32 @div(i32 237, i32 7)
%5 = call i32 @mod(i32 2, i32 1)
%6 = call i32 @mod(i32 23, i32 4)
%7 = call i32 @mod(i32 5, i32 10)
%8 = call i32 @mod(i32 237, i32 7)
%9 = call i32 @divp(i32 2, i32 1)
%10 = call i32 @divp(i32 23, i32 4)
%11 = call i32 @divp(i32 5, i32 10)
%12 = call i32 @divp(i32 237, i32 7)
%13 = call i32 @modp(i32 2, i32 1)
%14 = call i32 @modp(i32 23, i32 4)
%15 = call i32 @modp(i32 5, i32 10)
%16 = call i32 @modp(i32 237, i32 7)
ret void
}

LLVM IR (-O2):
define void @main() {
%1 = tail call i32 @div(i32 2, i32 1)
%2 = tail call i32 @div(i32 23, i32 4)
%3 = tail call i32 @div(i32 5, i32 10)
%4 = tail call i32 @div(i32 237, i32 7)
%5 = tail call i32 @mod(i32 2, i32 1)
%6 = tail call i32 @mod(i32 23, i32 4)
%7 = tail call i32 @mod(i32 5, i32 10)
%8 = tail call i32 @mod(i32 237, i32 7)
%9 = tail call i32 @divp(i32 2, i32 1)
%10 = tail call i32 @divp(i32 23, i32 4)
%11 = tail call i32 @divp(i32 5, i32 10)
%12 = tail call i32 @divp(i32 237, i32 7)
%13 = tail call i32 @modp(i32 2, i32 1)
%14 = tail call i32 @modp(i32 23, i32 4)
%15 = tail call i32 @modp(i32 5, i32 10)
%16 = tail call i32 @modp(i32 237, i32 7)
ret void
}