#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*/ bputc(int);
void WriteJfif() {
  bputc(0xff);
  bputc(0xe0);
  {
    bputc((16 >> 8) & 0xff);
    bputc(16 & 0xff);
  };
  bputc(0x4a);
  bputc(0x46);
  bputc(0x49);
  bputc(0x46);
  bputc(0x00);
  bputc(0x01);
  bputc(0x02);
  bputc(0x00);
  {
    bputc((1 >> 8) & 0xff);
    bputc(1 & 0xff);
  };
  {
    bputc((1 >> 8) & 0xff);
    bputc(1 & 0xff);
  };
  bputc(0x00);
  bputc(0x00);
}


x86 assembly (clang, -O0):
<WriteJfif>:
push   %rbp
mov    %rsp,%rbp
mov    $0xff,%edi
call   1030 <bputc@plt>
mov    $0xe0,%edi
call   1030 <bputc@plt>
xor    %edi,%edi
call   1030 <bputc@plt>
mov    $0x10,%edi
call   1030 <bputc@plt>
mov    $0x4a,%edi
call   1030 <bputc@plt>
mov    $0x46,%edi
call   1030 <bputc@plt>
mov    $0x49,%edi
call   1030 <bputc@plt>
mov    $0x46,%edi
call   1030 <bputc@plt>
xor    %edi,%edi
call   1030 <bputc@plt>
mov    $0x1,%edi
call   1030 <bputc@plt>
mov    $0x2,%edi
call   1030 <bputc@plt>
xor    %edi,%edi
call   1030 <bputc@plt>
xor    %edi,%edi
call   1030 <bputc@plt>
mov    $0x1,%edi
call   1030 <bputc@plt>
xor    %edi,%edi
call   1030 <bputc@plt>
mov    $0x1,%edi
call   1030 <bputc@plt>
xor    %edi,%edi
call   1030 <bputc@plt>
xor    %edi,%edi
call   1030 <bputc@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<WriteJfif>:
push   %rax
mov    $0xff,%edi
call   1030 <bputc@plt>
mov    $0xe0,%edi
call   1030 <bputc@plt>
xor    %edi,%edi
call   1030 <bputc@plt>
mov    $0x10,%edi
call   1030 <bputc@plt>
mov    $0x4a,%edi
call   1030 <bputc@plt>
mov    $0x46,%edi
call   1030 <bputc@plt>
mov    $0x49,%edi
call   1030 <bputc@plt>
mov    $0x46,%edi
call   1030 <bputc@plt>
xor    %edi,%edi
call   1030 <bputc@plt>
mov    $0x1,%edi
call   1030 <bputc@plt>
mov    $0x2,%edi
call   1030 <bputc@plt>
xor    %edi,%edi
call   1030 <bputc@plt>
xor    %edi,%edi
call   1030 <bputc@plt>
mov    $0x1,%edi
call   1030 <bputc@plt>
xor    %edi,%edi
call   1030 <bputc@plt>
mov    $0x1,%edi
call   1030 <bputc@plt>
xor    %edi,%edi
call   1030 <bputc@plt>
xor    %edi,%edi
pop    %rax
jmp    1030 <bputc@plt>

LLVM IR (-O0):
define void @WriteJfif() {
%1 = call i32 @bputc(i32 255)
%2 = call i32 @bputc(i32 224)
%3 = call i32 @bputc(i32 0)
%4 = call i32 @bputc(i32 16)
%5 = call i32 @bputc(i32 74)
%6 = call i32 @bputc(i32 70)
%7 = call i32 @bputc(i32 73)
%8 = call i32 @bputc(i32 70)
%9 = call i32 @bputc(i32 0)
%10 = call i32 @bputc(i32 1)
%11 = call i32 @bputc(i32 2)
%12 = call i32 @bputc(i32 0)
%13 = call i32 @bputc(i32 0)
%14 = call i32 @bputc(i32 1)
%15 = call i32 @bputc(i32 0)
%16 = call i32 @bputc(i32 1)
%17 = call i32 @bputc(i32 0)
%18 = call i32 @bputc(i32 0)
ret void
}

LLVM IR (-O2):
define void @WriteJfif() {
%1 = tail call i32 @bputc(i32 255)
%2 = tail call i32 @bputc(i32 224)
%3 = tail call i32 @bputc(i32 0)
%4 = tail call i32 @bputc(i32 16)
%5 = tail call i32 @bputc(i32 74)
%6 = tail call i32 @bputc(i32 70)
%7 = tail call i32 @bputc(i32 73)
%8 = tail call i32 @bputc(i32 70)
%9 = tail call i32 @bputc(i32 0)
%10 = tail call i32 @bputc(i32 1)
%11 = tail call i32 @bputc(i32 2)
%12 = tail call i32 @bputc(i32 0)
%13 = tail call i32 @bputc(i32 0)
%14 = tail call i32 @bputc(i32 1)
%15 = tail call i32 @bputc(i32 0)
%16 = tail call i32 @bputc(i32 1)
%17 = tail call i32 @bputc(i32 0)
%18 = tail call i32 @bputc(i32 0)
ret void
}