// File: /workspace/github_c_makefile_star2_O1/nimble-code[P]Uno/Src/uno_generic.c
// Function: exec_lastfirst
static State *
exec_lastfirst(State *s, Trans *t, treenode *e, treenode *n)
{	State *x;

	if (!t || !t->branch)
	{	if (debug>1) printf("\t(%d) lastfirst. no branch\n", s->n->hdr.line);
		return ZS;
	}

	if ((x = exec_lastfirst(s, t->nxt, e, n)) != NULL)	/* assign x */
	{	if (debug>1) printf("\t(%d) lastfirst. gottcha\n", s->n->hdr.line);
		return x;
	}

	if (e && !eval_step(e, t->cond, n))
	{	if (debug>1) printf("\t(%d) lastfirst. fail eval\n", s->n->hdr.line);
		return ZS;
	}

	if (debug>1) printf("\t(%d) lastfirst. pass eval\n", s->n->hdr.line);

	return t->branch;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x1eaa5
movq %rdi, %rbx
cmpq $0x0, 0x10(%rdi)
je 0x1eaa5
movq %rdx, %r14
movq %rsi, %r12
movq 0x18(%rbx), %rdi
callq 0x1e90c
testq %rax, %rax
jne 0x1eaa7
testq %r12, %r12
je 0x1eaba
movq (%rbx), %r15
xorl %edi, %edi
testq %r15, %r15
setne %dil
leaq 0x1281f(%rip), %rsi     # 0x31181
callq 0x13f8c
movl 0x1c(%r12), %edi
cmpl $0x3, %edi
je 0x1ea0b
cmpl $0x28, %edi
je 0x1e9b2
cmpl $0x2d, %edi
jne 0x1eaef
movq 0x40(%r12), %rax
movq 0x8(%rax), %r12
movq 0x19815(%rip), %r13     # 0x381a8
movq %r12, %rdi
movq %r13, %rsi
callq 0x3180
testl %eax, %eax
jne 0x1eb0e
movq 0x620ab(%rip), %rax     # 0x80a58
movl 0x8(%rax), %ebp
jmp 0x1ea18
leaq 0x61fcf(%rip), %r13     # 0x80988
movl $0x0, (%r13)
movq %r12, %rdi
movq %r14, %rsi
callq 0x1b08f
cmpl $0x0, (%r13)
je 0x1ea16
movq 0x197ce(%rip), %rbx     # 0x381a8
movl 0x1c(%r12), %edi
callq 0x7b0d
movq %rax, %r14
movq %r12, %rdi
callq 0x5e8a
leaq 0x127ba(%rip), %rdi     # 0x311b0
movq %rbx, %rsi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x3100
jmp 0x1eb31
movq %r12, %rdi
movq %r14, %rsi
callq 0x1cd4e
movl %eax, %ebp
movl 0x1c(%r15), %edi
cmpl $0x28, %edi
je 0x1ea80
cmpl $0x2d, %edi
jne 0x1eac6
movq 0x40(%r15), %rax
movq 0x8(%rax), %r14
leaq 0x11347(%rip), %rsi     # 0x2fd80
movq %r14, %rdi
callq 0x3180
testl %eax, %eax
je 0x1eab6
leaq 0x1132c(%rip), %rsi     # 0x2fd78
movq %r14, %rdi
callq 0x3180
testl %eax, %eax
je 0x1eac0
movq 0x19749(%rip), %r15     # 0x381a8
movq %r14, %rdi
movq %r15, %rsi
callq 0x3180
testl %eax, %eax
jne 0x1eb1d
movq 0x61fdf(%rip), %rax     # 0x80a58
cmpl 0x8(%rax), %ebp
jne 0x1eaa5
jmp 0x1eaba
leaq 0x61f01(%rip), %r12     # 0x80988
movl $0x0, (%r12)
movq %r15, %rdi
movq %r14, %rsi
callq 0x1b08f
cmpl $0x0, (%r12)
jne 0x1ead4
cmpl %eax, %ebp
je 0x1eaba
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testl %ebp, %ebp
je 0x1eaa5
movq 0x10(%rbx), %rax
jmp 0x1eaa7
testl %ebp, %ebp
jne 0x1eaa5
jmp 0x1eaba
callq 0x7b0d
leaq 0x12785(%rip), %rdi     # 0x31257
jmp 0x1eae3
movq %r15, %rdi
callq 0x5e8a
leaq 0x1274f(%rip), %rdi     # 0x31232
movq %rax, %rsi
xorl %eax, %eax
callq 0x3100
jmp 0x1eb31
callq 0x7b0d
movq %rax, %rbx
movq %r12, %rdi
callq 0x5e8a
leaq 0x126d3(%rip), %rdi     # 0x311d9
movq %rbx, %rsi
movq %rax, %rdx
jmp 0x1eb2a
leaq 0x12682(%rip), %rdi     # 0x31197
movq %r13, %rsi
movq %r12, %rdx
jmp 0x1eb2a
leaq 0x126e7(%rip), %rdi     # 0x3120b
movq %r15, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0x3100
movl $0x1, %edi
callq 0x3250