#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*/ CmdEndParagraph(int /*<<< orphan*/);
int /*<<< orphan*/ CmdIndent(int);
int /*<<< orphan*/ CmdVspace(int);
int /*<<< orphan*/ PopEnvironment();
int /*<<< orphan*/ PushEnvironment(int);
int /*<<< orphan*/ diagnostics(int, char *);
int /*<<< orphan*/ getLeftMarginIndent();
int /*<<< orphan*/ setLeftMarginIndent(int /*<<< orphan*/);
int /*<<< orphan*/ setLength(char *, int /*<<< orphan*/);
void CmdVerse(int code) {
  CmdEndParagraph(0);
  switch (code) {
  case 0x4000:
    PushEnvironment(21);
    CmdIndent(3);
    setLeftMarginIndent(getLeftMarginIndent() + 1134);
    setLength("parindent", 0);
    break;
  case 0x0000:
    PopEnvironment();
    diagnostics(4, "Exiting \\end{verse}");
    CmdIndent(2);
    CmdVspace(1);
    break;
  }
}


x86 assembly (clang, -O0):
<CmdVerse>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
xor    %edi,%edi
call   10b0 <CmdEndParagraph@plt>
mov    -0x4(%rbp),%eax
mov    %eax,-0x8(%rbp)
test   %eax,%eax
je     1203 <CmdVerse+0x73>
jmp    11b5 <CmdVerse+0x25>
mov    -0x8(%rbp),%eax
sub    $0x4000,%eax
jne    122f <CmdVerse+0x9f>
jmp    11c8 <CmdVerse+0x38>
mov    $0x15,%edi
call   1040 <PushEnvironment@plt>
mov    $0x3,%edi
call   1060 <CmdIndent@plt>
mov    $0x0,%al
call   10a0 <getLeftMarginIndent@plt>
mov    %eax,%edi
add    $0x46e,%edi
call   1080 <setLeftMarginIndent@plt>
lea    0xe09(%rip),%rdi
xor    %esi,%esi
call   1030 <setLength@plt>
jmp    122f <CmdVerse+0x9f>
mov    $0x0,%al
call   1090 <PopEnvironment@plt>
mov    $0x4,%edi
lea    0xdf4(%rip),%rsi
call   1070 <diagnostics@plt>
mov    $0x2,%edi
call   1060 <CmdIndent@plt>
mov    $0x1,%edi
call   1050 <CmdVspace@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<CmdVerse>:
push   %rbx
mov    %edi,%ebx
xor    %edi,%edi
call   10b0 <CmdEndParagraph@plt>
test   %ebx,%ebx
je     11db <CmdVerse+0x4b>
cmp    $0x4000,%ebx
jne    1208 <CmdVerse+0x78>
mov    $0x15,%edi
call   1040 <PushEnvironment@plt>
mov    $0x3,%edi
call   1060 <CmdIndent@plt>
xor    %eax,%eax
call   10a0 <getLeftMarginIndent@plt>
lea    0x46e(%rax),%edi
call   1080 <setLeftMarginIndent@plt>
lea    0xe2d(%rip),%rdi
xor    %esi,%esi
pop    %rbx
jmp    1030 <setLength@plt>
xor    %eax,%eax
call   1090 <PopEnvironment@plt>
lea    0xe21(%rip),%rsi
mov    $0x4,%edi
call   1070 <diagnostics@plt>
mov    $0x2,%edi
call   1060 <CmdIndent@plt>
mov    $0x1,%edi
pop    %rbx
jmp    1050 <CmdVspace@plt>
pop    %rbx
ret

LLVM IR (-O0):
@.str = [10 x i8] c"parindent\00"
@.str.1 = [20 x i8] c"Exiting \\end{verse}\00"
define void @CmdVerse(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = call i32 @CmdEndParagraph(i32 0)
%4 = load i32, i32* %2
switch i32 %4, label %17 [
i32 16384, label %5
i32 0, label %12
]
5: ; preds = %1
%6 = call i32 @PushEnvironment(i32 21)
%7 = call i32 @CmdIndent(i32 3)
%8 = call i32 (...) @getLeftMarginIndent()
%9 = add nsw i32 %8, 1134
%10 = call i32 @setLeftMarginIndent(i32 %9)
%11 = call i32 @setLength(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i32 0)
br label %17
12: ; preds = %1
%13 = call i32 (...) @PopEnvironment()
%14 = call i32 @diagnostics(i32 4, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0))
%15 = call i32 @CmdIndent(i32 2)
%16 = call i32 @CmdVspace(i32 1)
br label %17
17: ; preds = %1, %12, %5
ret void
}

LLVM IR (-O2):
@.str = [10 x i8] c"parindent\00"
@.str.1 = [20 x i8] c"Exiting \\end{verse}\00"
define void @CmdVerse(i32 %0) {
%2 = tail call i32 @CmdEndParagraph(i32 0)
switch i32 %0, label %15 [
i32 16384, label %3
i32 0, label %10
]
3: ; preds = %1
%4 = tail call i32 @PushEnvironment(i32 21)
%5 = tail call i32 @CmdIndent(i32 3)
%6 = tail call i32 (...) @getLeftMarginIndent()
%7 = add nsw i32 %6, 1134
%8 = tail call i32 @setLeftMarginIndent(i32 %7)
%9 = tail call i32 @setLength(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i32 0)
br label %15
10: ; preds = %1
%11 = tail call i32 (...) @PopEnvironment()
%12 = tail call i32 @diagnostics(i32 4, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0))
%13 = tail call i32 @CmdIndent(i32 2)
%14 = tail call i32 @CmdVspace(i32 1)
br label %15
15: ; preds = %1, %10, %3
ret void
}