#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*/ GLUT_VIDEO_RESIZE_HEIGHT;
int /*<<< orphan*/ GLUT_VIDEO_RESIZE_WIDTH;
int /*<<< orphan*/ GLUT_VIDEO_RESIZE_X;
int /*<<< orphan*/ GLUT_VIDEO_RESIZE_Y;
int glutVideoResizeGet(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, int);
void show_video_size(void) {
  printf("GLUT_VIDEO_RESIZE_X = %d\n", glutVideoResizeGet(GLUT_VIDEO_RESIZE_X));
  printf("GLUT_VIDEO_RESIZE_Y = %d\n", glutVideoResizeGet(GLUT_VIDEO_RESIZE_Y));
  printf("GLUT_VIDEO_RESIZE_WIDTH = %d\n",
         glutVideoResizeGet(GLUT_VIDEO_RESIZE_WIDTH));
  printf("GLUT_VIDEO_RESIZE_HEIGHT = %d\n",
         glutVideoResizeGet(GLUT_VIDEO_RESIZE_HEIGHT));
}


x86 assembly (clang, -O0):
<show_video_size>:
push   %rbp
mov    %rsp,%rbp
mov    0x2eb5(%rip),%rax
mov    (%rax),%edi
call   1040 <glutVideoResizeGet@plt>
mov    %eax,%esi
lea    0xec5(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e89(%rip),%rax
mov    (%rax),%edi
call   1040 <glutVideoResizeGet@plt>
mov    %eax,%esi
lea    0xec3(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e8d(%rip),%rax
mov    (%rax),%edi
call   1040 <glutVideoResizeGet@plt>
mov    %eax,%esi
lea    0xec1(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e41(%rip),%rax
mov    (%rax),%edi
call   1040 <glutVideoResizeGet@plt>
mov    %eax,%esi
lea    0xec3(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_video_size>:
push   %rax
mov    0x2eb8(%rip),%rax
mov    (%rax),%edi
call   1040 <glutVideoResizeGet@plt>
lea    0xeca(%rip),%rdi
mov    %eax,%esi
call   1030 <printf@plt>
mov    0x2e8c(%rip),%rax
mov    (%rax),%edi
call   1040 <glutVideoResizeGet@plt>
lea    0xec8(%rip),%rdi
mov    %eax,%esi
call   1030 <printf@plt>
mov    0x2e90(%rip),%rax
mov    (%rax),%edi
call   1040 <glutVideoResizeGet@plt>
lea    0xec6(%rip),%rdi
mov    %eax,%esi
call   1030 <printf@plt>
mov    0x2e44(%rip),%rax
mov    (%rax),%edi
call   1040 <glutVideoResizeGet@plt>
lea    0xec8(%rip),%rdi
mov    %eax,%esi
pop    %rax
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [26 x i8] c"GLUT_VIDEO_RESIZE_X = %d\0A\00"
@GLUT_VIDEO_RESIZE_X = global i32 0
@.str.1 = [26 x i8] c"GLUT_VIDEO_RESIZE_Y = %d\0A\00"
@GLUT_VIDEO_RESIZE_Y = global i32 0
@.str.2 = [30 x i8] c"GLUT_VIDEO_RESIZE_WIDTH = %d\0A\00"
@GLUT_VIDEO_RESIZE_WIDTH = global i32 0
@.str.3 = [31 x i8] c"GLUT_VIDEO_RESIZE_HEIGHT = %d\0A\00"
@GLUT_VIDEO_RESIZE_HEIGHT = global i32 0
define void @show_video_size() {
%1 = load i32, i32* @GLUT_VIDEO_RESIZE_X
%2 = call i32 @glutVideoResizeGet(i32 %1)
%3 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0), i32 %2)
%4 = load i32, i32* @GLUT_VIDEO_RESIZE_Y
%5 = call i32 @glutVideoResizeGet(i32 %4)
%6 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @GLUT_VIDEO_RESIZE_WIDTH
%8 = call i32 @glutVideoResizeGet(i32 %7)
%9 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), i32 %8)
%10 = load i32, i32* @GLUT_VIDEO_RESIZE_HEIGHT
%11 = call i32 @glutVideoResizeGet(i32 %10)
%12 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0), i32 %11)
ret void
}

LLVM IR (-O2):
@.str = [26 x i8] c"GLUT_VIDEO_RESIZE_X = %d\0A\00"
@GLUT_VIDEO_RESIZE_X = global i32 0
@.str.1 = [26 x i8] c"GLUT_VIDEO_RESIZE_Y = %d\0A\00"
@GLUT_VIDEO_RESIZE_Y = global i32 0
@.str.2 = [30 x i8] c"GLUT_VIDEO_RESIZE_WIDTH = %d\0A\00"
@GLUT_VIDEO_RESIZE_WIDTH = global i32 0
@.str.3 = [31 x i8] c"GLUT_VIDEO_RESIZE_HEIGHT = %d\0A\00"
@GLUT_VIDEO_RESIZE_HEIGHT = global i32 0
define void @show_video_size() {
%1 = load i32, i32* @GLUT_VIDEO_RESIZE_X
%2 = tail call i32 @glutVideoResizeGet(i32 %1)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0), i32 %2)
%4 = load i32, i32* @GLUT_VIDEO_RESIZE_Y
%5 = tail call i32 @glutVideoResizeGet(i32 %4)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @GLUT_VIDEO_RESIZE_WIDTH
%8 = tail call i32 @glutVideoResizeGet(i32 %7)
%9 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), i32 %8)
%10 = load i32, i32* @GLUT_VIDEO_RESIZE_HEIGHT
%11 = tail call i32 @glutVideoResizeGet(i32 %10)
%12 = tail call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0), i32 %11)
ret void
}