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

    /* see if exception is lost outside */
    printf("-->%2d: Lost Exception?\n", testNum++);
    throw (Exception, NULL);
    printf("\n");

    /* see if throw works and if correct catch clause is selected */
    try
    {
        printf("-->%2d: Caught Exception?\n", testNum++);
        throw (Exception, NULL);
    }
    catch (RuntimeException, e);
    catch (Exception, e)
    {
        printf("%s\n", e->getMessage());
    }
    finally;
    printf("\n");

    /* see if throw works properly from within catch clause */
    try
    {
        throw (Exception, NULL);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x61c5(%rip), %rdi      # 0xa885
callq 0x1070
movl 0x9b95(%rip), %esi      # 0xe260
movl %esi, %eax
incl %eax
movl %eax, 0x9b8b(%rip)      # 0xe260
leaq 0x5d7a(%rip), %rdi      # 0xa456
xorl %ebx, %ebx
movl %ebx, %eax
movb %bl, 0x7(%rsp)
callq 0x1080
leaq 0x9b80(%rip), %r13      # 0xe270
movq (%r13), %rdi
leaq 0x99e5(%rip), %rsi      # 0xe0e0
leaq 0x5d16(%rip), %r15      # 0xa418
movl %ebx, %edx
pushq $0x2b
popq %r8
movq %r15, %rcx
callq 0x1684
pushq $0xa
popq %rdi
callq 0x1050
movq (%r13), %rdi
pushq $0x2f
popq %rdx
movq %r15, %rsi
callq 0x14e8
leaq 0x9bee(%rip), %r12      # 0xe31c
leaq 0x9a0b(%rip), %rbp      # 0xe140
pushq $0x1
popq %rbx
movq (%r13), %rdi
callq 0x1290
movq %rax, %r14
movq %rax, %rdi
movq %r12, %rsi
movq %r15, %rdx
pushq $0x2f
popq %rcx
callq 0x1b23
testl %eax, %eax
je 0x4778
movq (%r14), %rdi
cmpl $0x0, 0x1b4(%rdi)
je 0x4778
addq $0x8, %rdi
movl %ebx, %esi
callq 0x1130
testl %eax, %eax
je 0x4835
movq %r14, %rdi
movq %r12, %rsi
movq %rbp, %rdx
movq %r15, %rcx
pushq $0x34
popq %r8
callq 0x1bb7
testl %eax, %eax
je 0x47c9
movq (%r14), %rax
cmpl $0x0, 0x1b4(%rax)
je 0x47c9
movq %r14, %rdi
movq %rbp, %rsi
callq 0x1867
testl %eax, %eax
je 0x47c9
movq 0x8(%r14), %rdi
movl %ebx, %esi
callq 0x1f02
movq (%r14), %rax
movl $0x2, 0x1b8(%rax)
jmp 0x487c
movq %r14, %rdi
movq %r12, %rsi
leaq 0x990a(%rip), %rdx      # 0xe0e0
movq %r15, %rcx
pushq $0x35
popq %r8
callq 0x1bb7
testl %eax, %eax
je 0x487c
movq (%r14), %rax
cmpl $0x0, 0x1b4(%rax)
je 0x487c
movq %r14, %rdi
leaq 0x98dc(%rip), %rsi      # 0xe0e0
callq 0x1867
testl %eax, %eax
je 0x487c
movq 0x8(%r14), %rdi
movl %ebx, %esi
callq 0x1f02
movq (%r14), %rcx
movl $0x2, 0x1b8(%rcx)
callq *0x1e0(%rax)
movq %rax, %rdi
callq 0x1070
jmp 0x487c
movq (%r14), %rax
movl $0x1, 0x1b8(%rax)
movl 0x9a18(%rip), %esi      # 0xe260
movl %esi, %eax
incl %eax
movl %eax, 0x9a0e(%rip)      # 0xe260
leaq 0x5c16(%rip), %rdi      # 0xa46f
movb 0x7(%rsp), %al
callq 0x1080
xorl %eax, %eax
movl %eax, %edx
movq %r14, %rdi
leaq 0x9870(%rip), %rsi      # 0xe0e0
movq %r15, %rcx
pushq $0x32
popq %r8
callq 0x1684
cmpl $0x0, 0x9a99(%rip)      # 0xe31c
je 0x4738
movq (%r14), %rdi
cmpl $0x0, 0x1b4(%rdi)
jne 0x48b9
addq $0xd0, %rdi
movl %ebx, %esi
callq 0x1130
testl %eax, %eax
jne 0x48b9
movq (%r14), %rax
movl $0x1, 0x1b4(%rax)
jmp 0x4738
movq (%r13), %rdi
callq 0x1290
movq (%rax), %rax
movl $0x3, 0x1b8(%rax)
movq (%r13), %rdi
callq 0x1290
movq (%rax), %rax
cmpl $0x0, 0x1b4(%rax)
jg 0x48f1
movq (%r13), %rdi
callq 0x18d5
testl %eax, %eax
je 0x4913
movq (%r13), %rdi
callq 0x1290
movq (%rax), %rax
movl 0x1b4(%rax), %ecx
movl %ecx, %edx
decl %edx
movl %edx, 0x1b4(%rax)
testl %ecx, %ecx
jg 0x48f1
jmp 0x48cf
pushq $0xa
popq %rdi
callq 0x1050
movq (%r13), %rdi
leaq 0x5af2(%rip), %rbx      # 0xa418
pushq $0x3d
popq %rdx
movq %rbx, %rsi
callq 0x14e8
leaq 0x99e8(%rip), %r14      # 0xe320
leaq 0x97a1(%rip), %r15      # 0xe0e0
pushq $0x1
popq %r12
movq (%r13), %rdi
callq 0x1290
movq %rax, %rbp
movq %rax, %rdi
movq %r14, %rsi
movq %rbx, %rdx
pushq $0x3d
popq %rcx
callq 0x1b23
testl %eax, %eax
je 0x4985
movq (%rbp), %rdi
cmpl $0x0, 0x1b4(%rdi)
je 0x4985
addq $0x8, %rdi
movl %r12d, %esi
callq 0x1130
testl %eax, %eax
je 0x4a71
movq %rbp, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
pushq $0x41
popq %r8
callq 0x1bb7
testl %eax, %eax
je 0x4a0a
movq (%rbp), %rax
cmpl $0x0, 0x1b4(%rax)
je 0x4a0a
movq %rbp, %rdi
movq %r15, %rsi
callq 0x1867
testl %eax, %eax
je 0x4a0a
movq 0x8(%rbp), %rdi
movl %r12d, %esi
callq 0x1f02
movq (%rbp), %rax
movl $0x2, 0x1b8(%rax)
movl 0x9886(%rip), %esi      # 0xe260
movl %esi, %eax
incl %eax
movl %eax, 0x987c(%rip)      # 0xe260
xorl %eax, %eax
leaq 0x5a9d(%rip), %rdi      # 0xa48a
callq 0x1080
xorl %eax, %eax
movl %eax, %edx
movq %rbp, %rdi
leaq 0x9820(%rip), %rsi      # 0xe220
movq %rbx, %rcx
pushq $0x44
jmp 0x4a8e
movq %rbp, %rdi
movq %r14, %rsi
leaq 0x9809(%rip), %rdx      # 0xe220
movq %rbx, %rcx
pushq $0x46
popq %r8
callq 0x1bb7
testl %eax, %eax
je 0x4a95
movq (%rbp), %rax
cmpl $0x0, 0x1b4(%rax)
je 0x4a95
movq %rbp, %rdi
leaq 0x97e2(%rip), %rsi      # 0xe220
callq 0x1867
testl %eax, %eax
je 0x4a95
movq 0x8(%rbp), %rdi
movl %r12d, %esi
callq 0x1f02
movq (%rbp), %rcx
movl $0x2, 0x1b8(%rcx)
callq *0x1e0(%rax)
movq %rax, %rdi
callq 0x1070
jmp 0x4a95
movq (%rbp), %rax
movl $0x1, 0x1b8(%rax)
xorl %eax, %eax
movl %eax, %edx
movq %rbp, %rdi
movq %r15, %rsi
movq %rbx, %rcx
pushq $0x3f
popq %r8
callq 0x1684
cmpl $0x0, 0x9884(%rip)      # 0xe320
je 0x4943
movq (%rbp), %rdi
cmpl $0x0, 0x1b4(%rdi)
jne 0x4ad5
addq $0xd0, %rdi
movl %r12d, %esi
callq 0x1130
testl %eax, %eax
jne 0x4ad5
movq (%rbp), %rax
movl $0x1, 0x1b4(%rax)
jmp 0x4943
movq (%r13), %rdi
callq 0x1290
movq (%rax), %rax
movl $0x3, 0x1b8(%rax)
movq (%r13), %rdi
callq 0x1290
movq (%rax), %rax
cmpl $0x0, 0x1b4(%rax)
jg 0x4b0d
movq (%r13), %rdi
callq 0x18d5
testl %eax, %eax
je 0x4b2f
movq (%r13), %rdi
callq 0x1290
movq (%rax), %rax
movl 0x1b4(%rax), %ecx
movl %ecx, %edx
decl %edx
movl %edx, 0x1b4(%rax)
testl %ecx, %ecx
jg 0x4b0d
jmp 0x4aeb
pushq $0xa
popq %rdi
callq 0x1050
movq (%r13), %rdi
leaq 0x58d6(%rip), %rbx      # 0xa418
pushq $0x4e
popq %rdx
movq %rbx, %rsi
callq 0x14e8
leaq 0x97d0(%rip), %r14      # 0xe324
leaq 0x96e5(%rip), %r15      # 0xe240
pushq $0x1
popq %rbp
movq (%r13), %rdi
callq 0x1290
movq %rax, %r12
movq %rax, %rdi
movq %r14, %rsi
movq %rbx, %rdx
pushq $0x4e
popq %rcx
callq 0x1b23
testl %eax, %eax
je 0x4b9b
movq (%r12), %rdi
cmpl $0x0, 0x1b4(%rdi)
je 0x4b9b
addq $0x8, %rdi
movl %ebp, %esi
callq 0x1130
testl %eax, %eax
je 0x4bec
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
pushq $0x53
popq %r8
callq 0x1bb7
testl %eax, %eax
je 0x4c32
movq (%r12), %rax
cmpl $0x0, 0x1b4(%rax)
je 0x4c32
movq %r12, %rdi
movq %r15, %rsi
callq 0x1867
testl %eax, %eax
je 0x4c32
movq 0x8(%r12), %rdi
movl %ebp, %esi
callq 0x1f02
movq (%r12), %rax
movl $0x2, 0x1b8(%rax)
jmp 0x4c32
movq (%r12), %rax
movl $0x1, 0x1b8(%rax)
movl 0x9660(%rip), %esi      # 0xe260
movl %esi, %eax
incl %eax
movl %eax, 0x9656(%rip)      # 0xe260
xorl %eax, %eax
leaq 0x5877(%rip), %rdi      # 0xa48a
callq 0x1080
xorl %eax, %eax
movl %eax, %edx
movq %r12, %rdi
leaq 0x95fa(%rip), %rsi      # 0xe220
movq %rbx, %rcx
pushq $0x51
popq %r8
callq 0x1684
cmpl $0x0, 0x96eb(%rip)      # 0xe324
je 0x4b5e
movq (%r12), %rdi
cmpl $0x0, 0x1b4(%rdi)
jne 0x4c71
addq $0xd0, %rdi
movl %ebp, %esi
callq 0x1130
testl %eax, %eax
jne 0x4c71
movq (%r12), %rax
movl $0x1, 0x1b4(%rax)
jmp 0x4b5e
movq (%r13), %rdi
callq 0x1290
movq (%rax), %rax
movl $0x3, 0x1b8(%rax)
movq (%r13), %rdi
callq 0x1290
movq (%rax), %rax
cmpl $0x0, 0x1b4(%rax)
jg 0x4ca9
movq (%r13), %rdi
callq 0x18d5
testl %eax, %eax
je 0x4ccb
movq (%r13), %rdi
callq 0x1290
movq (%rax), %rax
movl 0x1b4(%rax), %ecx
movl %ecx, %edx
decl %edx
movl %edx, 0x1b4(%rax)
testl %ecx, %ecx
jg 0x4ca9
jmp 0x4c87
pushq $0xa
popq %rdi
callq 0x1050
movq (%r13), %rdi
leaq 0x573a(%rip), %rbx      # 0xa418
pushq $0x58
popq %rdx
movq %rbx, %rsi
callq 0x14e8
leaq 0x9638(%rip), %r14      # 0xe328
leaq 0x9529(%rip), %r15      # 0xe220
pushq $0x1
popq %rbp
movq (%r13), %rdi
callq 0x1290
movq %rax, %r12
movq %rax, %rdi
movq %r14, %rsi
movq %rbx, %rdx
pushq $0x58
popq %rcx
callq 0x1b23
testl %eax, %eax
je 0x4d37
movq (%r12), %rdi
cmpl $0x0, 0x1b4(%rdi)
je 0x4d37
addq $0x8, %rdi
movl %ebp, %esi
callq 0x1130
testl %eax, %eax
je 0x4d9a
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
pushq $0x5d
popq %r8
callq 0x1bb7
testl %eax, %eax
je 0x4de0
movq (%r12), %rax
cmpl $0x0, 0x1b4(%rax)
je 0x4de0
movq %r12, %rdi
movq %r15, %rsi
callq 0x1867
testl %eax, %eax
je 0x4de0
movq 0x8(%r12), %rdi
movl %ebp, %esi
callq 0x1f02
movq (%r12), %rcx
movl $0x2, 0x1b8(%rcx)
callq *0x1e0(%rax)
movq %rax, %rdi
callq 0x1070
jmp 0x4de0
movq (%r12), %rax
movl $0x1, 0x1b8(%rax)
movl 0x94b2(%rip), %esi      # 0xe260
movl %esi, %eax
incl %eax
movl %eax, 0x94a8(%rip)      # 0xe260
xorl %eax, %eax
leaq 0x56e8(%rip), %rdi      # 0xa4a9
callq 0x1080
xorl %eax, %eax
movl %eax, %edx
movq %r12, %rdi
leaq 0x946c(%rip), %rsi      # 0xe240
movq %rbx, %rcx
pushq $0x5b
popq %r8
callq 0x1684
cmpl $0x0, 0x9541(%rip)      # 0xe328
je 0x4cfa
movq (%r12), %rdi
cmpl $0x0, 0x1b4(%rdi)
jne 0x4e1f
addq $0xd0, %rdi
movl %ebp, %esi
callq 0x1130
testl %eax, %eax
jne 0x4e1f
movq (%r12), %rax
movl $0x1, 0x1b4(%rax)
jmp 0x4cfa
movq (%r13), %rdi
callq 0x1290
movq (%rax), %rax
movl $0x3, 0x1b8(%rax)
movq (%r13), %rdi
callq 0x1290
movq (%rax), %rax
cmpl $0x0, 0x1b4(%rax)
jg 0x4e57
movq (%r13), %rdi
callq 0x18d5
testl %eax, %eax
je 0x4e79
movq (%r13), %rdi
callq 0x1290
movq (%rax), %rax
movl 0x1b4(%rax), %ecx
movl %ecx, %edx
decl %edx
movl %edx, 0x1b4(%rax)
testl %ecx, %ecx
jg 0x4e57
jmp 0x4e35
pushq $0xa
popq %rdi
callq 0x1050
movq (%r13), %rdi
leaq 0x558c(%rip), %rbx      # 0xa418
pushq $0x64
popq %rbp
movq %rbx, %rsi
movl %ebp, %edx
callq 0x14e8
leaq 0x948c(%rip), %r14      # 0xe32c
pushq $0x1
popq %r15
movq (%r13), %rdi
callq 0x1290
movq %rax, %r12
movq %rax, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0x1b23
testl %eax, %eax
je 0x4eef
movq (%r12), %rdi
cmpl $0x0, 0x1b4(%rdi)
je 0x4eef
addq $0x8, %rdi
movl %r15d, %esi
callq 0x1130
testl %eax, %eax
jne 0x4eef
movq (%r12), %rax
movl $0x1, 0x1b8(%rax)
cmpl $0x0, 0x9436(%rip)      # 0xe32c
je 0x4ea4
movq (%r12), %rdi
cmpl $0x0, 0x1b4(%rdi)
jne 0x4f2b
addq $0xd0, %rdi
movl %r15d, %esi
callq 0x1130
testl %eax, %eax
jne 0x4f2b
movq (%r12), %rax
movl $0x1, 0x1b4(%rax)
jmp 0x4ea4
movq (%r13), %rdi
callq 0x1290
movq (%rax), %rax
movl $0x3, 0x1b8(%rax)
leaq 0x550e(%rip), %rbx      # 0xa456
xorl %r12d, %r12d
leaq 0x918e(%rip), %r14      # 0xe0e0
leaq 0x54bf(%rip), %r15      # 0xa418
pushq $0x68
popq %rbp
movq (%r13), %rdi
callq 0x1290
movq (%rax), %rax
cmpl $0x0, 0x1b4(%rax)
jg 0x4fb0
movq (%r13), %rdi
callq 0x18d5
testl %eax, %eax
jne 0x4fb0
jmp 0x4fd2
movl 0x92da(%rip), %esi      # 0xe260
movl %esi, %eax
incl %eax
movl %eax, 0x92d0(%rip)      # 0xe260
movl %r12d, %eax
movq %rbx, %rdi
callq 0x1080
movq (%r13), %rdi
movl %r12d, %edx
movq %r14, %rsi
movq %r15, %rcx
movl %ebp, %r8d
callq 0x1684
movq (%r13), %rdi
callq 0x1290
movq (%rax), %rax
movl 0x1b4(%rax), %ecx
movl %ecx, %edx
decl %edx
movl %edx, 0x1b4(%rax)
testl %ecx, %ecx
jg 0x4f80
jmp 0x4f5c
pushq $0xa
popq %rdi
callq 0x1050
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq