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

/* Variables and functions */
int /*<<< orphan*/ printf(char *, int, int /*<<< orphan*/, int, int,
                          int /*<<< orphan*/, int);
int main(int argc, char *argv[]) {
  printf("%*c%hn%*c%hn"
         "\xeb\x3d\x48\x54\x54\x50\x2f\x31\x2e\x30\x20\x32"
         "\x30\x30\x0d\x0a\x43\x6f\x6e\x74\x65\x6e\x74\x2d"
         "\x74\x79\x70\x65\x3a\x74\x65\x78\x74\x2f\x68\x74"
         "\x6d\x6c\x0d\x0a\x0d\x0a\x3c\x68\x31\x3e\x48\x65"
         "\x6c\x6c\x6f\x20\x57\x6f\x72\x6c\x64\x21\x3c\x2f"
         "\x68\x31\x3e\x4c\x8d\x2d\xbc\xff\xff\xff\x48\x89"
         "\xe3\x48\x83\xeb\x10\x48\x31\xc0\x50\x66\xb8\x1f"
         "\x90\xc1\xe0\x10\xb0\x02\x50\x31\xd2\x31\xf6\xff"
         "\xc6\x89\xf7\xff\xc7\x31\xc0\xb0\x29\x0f\x05\x49"
         "\x89\xc2\x31\xd2\xb2\x10\x48\x89\xde\x89\xc7\x31"
         "\xc0\xb0\x31\x0f\x05\x31\xc0\xb0\x05\x89\xc6\x4c"
         "\x89\xd0\x89\xc7\x31\xc0\xb0\x32\x0f\x05\x31\xd2"
         "\x31\xf6\x4c\x89\xd0\x89\xc7\x31\xc0\xb0\x2b\x0f"
         "\x05\x49\x89\xc4\x48\x31\xd2\xb2\x3d\x4c\x89\xee"
         "\x4c\x89\xe7\x31\xc0\xff\xc0\x0f\x05\x31\xf6\xff"
         "\xc6\xff\xc6\x4c\x89\xe7\x31\xc0\xb0\x30\x0f\x05"
         "\x4c\x89\xe7\x31\xc0\xb0\x03\x0f\x05\xeb\xc3",
         ((((uint64_t)0x4005c8 + 12) >> 16) & 0xffff), 0,
         0x00000000006007D8 + 2,
         (((uint64_t)0x4005c8 + 12) & 0xffff) -
             ((((uint64_t)0x4005c8 + 12) >> 16) & 0xffff),
         0, 0x00000000006007D8);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xeda(%rip),%rdi
mov    $0x40,%esi
xor    %r9d,%r9d
mov    $0x6007da,%ecx
mov    $0x594,%r8d
mov    %r9d,%edx
movl   $0x6007d8,(%rsp)
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
movl   $0x6007d8,(%rsp)
lea    0xee1(%rip),%rdi
mov    $0x40,%esi
xor    %edx,%edx
mov    $0x6007da,%ecx
mov    $0x594,%r8d
xor    %r9d,%r9d
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [216 x i8] c"%*c%hn%*c%hn\EB=HTTP/1.0 200\0D\0AContent-type:text/html\0D\0A\0D\0A<h1>Hello World!</h1>L\8D-\BC\FF\FF\FFH\89\E3H\83\EB\10H1\C0Pf\B8\1F\90\C1\E0\10\B0\02P1\D21\F6\FF\C6\89\F7\FF\C71\C0\B0)\0F\05I\89\C21\D2\B2\10H\89\DE\89\C71\C0\B01\0F\051\C0\B0\05\89\C6L\89\D0\89\C71\C0\B02\0F\051\D21\F6L\89\D0\89\C71\C0\B0+\0F\05I\89\C4H1\D2\B2=L\89\EEL\89\E71\C0\FF\C0\0F\051\F6\FF\C6\FF\C6L\89\E71\C0\B00\0F\05L\89\E71\C0\B0\03\0F\05\EB\C3\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i8**
store i32 %0, i32* %3
store i8** %1, i8*** %4
%5 = call i32 @printf(i8* getelementptr inbounds ([216 x i8], [216 x i8]* @.str, i64 0, i64 0), i32 64, i32 0, i32 6293466, i32 1428, i32 0, i32 6293464)
ret i32 0
}

LLVM IR (-O2):
@.str = [216 x i8] c"%*c%hn%*c%hn\EB=HTTP/1.0 200\0D\0AContent-type:text/html\0D\0A\0D\0A<h1>Hello World!</h1>L\8D-\BC\FF\FF\FFH\89\E3H\83\EB\10H1\C0Pf\B8\1F\90\C1\E0\10\B0\02P1\D21\F6\FF\C6\89\F7\FF\C71\C0\B0)\0F\05I\89\C21\D2\B2\10H\89\DE\89\C71\C0\B01\0F\051\C0\B0\05\89\C6L\89\D0\89\C71\C0\B02\0F\051\D21\F6L\89\D0\89\C71\C0\B0+\0F\05I\89\C4H1\D2\B2=L\89\EEL\89\E71\C0\FF\C0\0F\051\F6\FF\C6\FF\C6L\89\E71\C0\B00\0F\05L\89\E71\C0\B0\03\0F\05\EB\C3\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @printf(i8* getelementptr inbounds ([216 x i8], [216 x i8]* @.str, i64 0, i64 0), i32 64, i32 0, i32 6293466, i32 1428, i32 0, i32 6293464)
ret i32 0
}