// File: /workspace/github_c_makefile_star2_O0/meaning-matters[P]Except/Test.c
// Function: TestRecursion
static void TestRecursion(void)
{
    printf("\nRECURSION TESTS ---------------------------------------\n\n");

    printf("-->%2d: Hits a run-time exception after 10 levels?\n", testNum++);
    try
        recurse(10);
    catch (RuntimeException, e)
        printf("%s\n", e->getMessage());
    finally;
    printf("\n");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
leaq 0x58e2(%rip), %rdi      # 0xe9e1
movb $0x0, %al
callq 0x1060
movl 0x8144(%rip), %esi      # 0x11250
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x8139(%rip)      # 0x11250
leaq 0x58fe(%rip), %rdi      # 0xea1c
movb $0x0, %al
callq 0x1060
leaq 0x8134(%rip), %rax      # 0x11260
movq (%rax), %rdi
leaq 0x532a(%rip), %rsi      # 0xe460
movl $0x2dc, %edx            # imm = 0x2DC
callq 0x1610
leaq 0x8119(%rip), %rax      # 0x11260
movq (%rax), %rdi
callq 0x12a0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
leaq 0x823e(%rip), %rsi      # 0x113a4
leaq 0x52f3(%rip), %rdx      # 0xe460
movl $0x2dc, %ecx            # imm = 0x2DC
callq 0x1f60
cmpl $0x0, %eax
je 0x91c6
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x0, 0x1b4(%rax)
je 0x91c6
movq -0x10(%rbp), %rax
movq (%rax), %rdi
addq $0x8, %rdi
movl $0x1, %esi
callq 0x1110
cmpl $0x0, %eax
jne 0x91c6
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl $0x1, 0x1b8(%rax)
movl $0xa, %edi
callq 0x5f90
jmp 0x925a
movq -0x10(%rbp), %rdi
leaq 0x81d3(%rip), %rsi      # 0x113a4
leaq 0x7f58(%rip), %rdx      # 0x11130
leaq 0x5281(%rip), %rcx      # 0xe460
movl $0x2de, %r8d            # imm = 0x2DE
callq 0x2030
cmpl $0x0, %eax
je 0x9258
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x0, 0x1b4(%rax)
je 0x9258
movq -0x10(%rbp), %rdi
leaq 0x7f26(%rip), %rsi      # 0x11130
callq 0x1b80
cmpl $0x0, %eax
je 0x9258
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
movl $0x1, %esi
callq 0x2550
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl $0x2, 0x1b8(%rax)
movq -0x18(%rbp), %rax
callq *0x1e0(%rax)
movq %rax, %rsi
leaq 0x5615(%rip), %rdi      # 0xe864
movb $0x0, %al
callq 0x1060
jmp 0x9258
jmp 0x925a
cmpl $0x0, 0x8143(%rip)      # 0x113a4
jne 0x9268
jmp 0x9140
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x0, 0x1b4(%rax)
jne 0x92a8
movq -0x10(%rbp), %rax
movq (%rax), %rdi
addq $0xd0, %rdi
movl $0x1, %esi
callq 0x1110
cmpl $0x0, %eax
jne 0x92a8
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl $0x1, 0x1b4(%rax)
jmp 0x92aa
jmp 0x92af
jmp 0x9140
leaq 0x7faa(%rip), %rax      # 0x11260
movq (%rax), %rdi
callq 0x12a0
movq (%rax), %rax
movl $0x3, 0x1b8(%rax)
leaq 0x7f8e(%rip), %rax      # 0x11260
movq (%rax), %rdi
callq 0x12a0
movq (%rax), %rcx
movb $0x1, %al
cmpl $0x0, 0x1b4(%rcx)
movb %al, -0x19(%rbp)
jg 0x9303
leaq 0x7f6e(%rip), %rax      # 0x11260
movq (%rax), %rdi
callq 0x1c60
cmpl $0x0, %eax
setne %al
movb %al, -0x19(%rbp)
movb -0x19(%rbp), %al
testb $0x1, %al
jne 0x930c
jmp 0x933a
jmp 0x930e
leaq 0x7f4b(%rip), %rax      # 0x11260
movq (%rax), %rdi
callq 0x12a0
movq (%rax), %rcx
movl 0x1b4(%rcx), %eax
movl %eax, %edx
addl $-0x1, %edx
movl %edx, 0x1b4(%rcx)
cmpl $0x0, %eax
jle 0x9338
jmp 0x930e
jmp 0x92cb
leaq 0x56d9(%rip), %rdi      # 0xea1a
movb $0x0, %al
callq 0x1060
addq $0x20, %rsp
popq %rbp
retq
nop