// File: /workspace/github_c_makefile_star2_O2/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 0x1bf85
movq %rdi, %rbx
cmpq $0x0, 0x10(%rdi)
je 0x1bf85
movq %rdx, %r14
movq %rsi, %r12
movq 0x18(%rbx), %rdi
callq 0x1bdf2
testq %rax, %rax
jne 0x1bf87
testq %r12, %r12
je 0x1bf9a
movq (%rbx), %r15
xorl %edi, %edi
testq %r15, %r15
setne %dil
leaq 0x13345(%rip), %rsi     # 0x2f18d
callq 0x1225f
movl 0x1c(%r12), %edi
cmpl $0x3, %edi
je 0x1beee
cmpl $0x28, %edi
je 0x1be98
cmpl $0x2d, %edi
jne 0x1bfcf
movq 0x40(%r12), %rax
movq 0x8(%rax), %r12
movq 0x1b33f(%rip), %r13     # 0x371b8
movq %r12, %rdi
movq %r13, %rsi
callq 0x3190
testl %eax, %eax
jne 0x1bfee
movq 0x63bd5(%rip), %rax     # 0x7fa68
movl 0x8(%rax), %ebp
jmp 0x1befb
leaq 0x63af9(%rip), %r13     # 0x7f998
andl $0x0, (%r13)
movq %r12, %rdi
movq %r14, %rsi
callq 0x18519
cmpl $0x0, (%r13)
je 0x1bef9
movq 0x1b2fb(%rip), %rbx     # 0x371b8
movl 0x1c(%r12), %edi
callq 0x66b2
movq %rax, %r14
movq %r12, %rdi
callq 0x4ac7
leaq 0x132e3(%rip), %rdi     # 0x2f1bc
movq %rbx, %rsi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x3100
jmp 0x1c011
movq %r12, %rdi
movq %r14, %rsi
callq 0x1a141
movl %eax, %ebp
movl 0x1c(%r15), %edi
cmpl $0x28, %edi
je 0x1bf63
cmpl $0x2d, %edi
jne 0x1bfa6
movq 0x40(%r15), %rax
movq 0x8(%rax), %r14
leaq 0x11e75(%rip), %rsi     # 0x2dd91
movq %r14, %rdi
callq 0x3190
testl %eax, %eax
je 0x1bf96
leaq 0x11e5a(%rip), %rsi     # 0x2dd89
movq %r14, %rdi
callq 0x3190
testl %eax, %eax
je 0x1bfa0
movq 0x1b276(%rip), %r15     # 0x371b8
movq %r14, %rdi
movq %r15, %rsi
callq 0x3190
testl %eax, %eax
jne 0x1bffd
movq 0x63b0c(%rip), %rax     # 0x7fa68
cmpl 0x8(%rax), %ebp
jne 0x1bf85
jmp 0x1bf9a
leaq 0x63a2e(%rip), %r12     # 0x7f998
andl $0x0, (%r12)
movq %r15, %rdi
movq %r14, %rsi
callq 0x18519
cmpl $0x0, (%r12)
jne 0x1bfb4
cmpl %eax, %ebp
je 0x1bf9a
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testl %ebp, %ebp
je 0x1bf85
movq 0x10(%rbx), %rax
jmp 0x1bf87
testl %ebp, %ebp
jne 0x1bf85
jmp 0x1bf9a
callq 0x66b2
leaq 0x132b1(%rip), %rdi     # 0x2f263
jmp 0x1bfc3
movq %r15, %rdi
callq 0x4ac7
leaq 0x1327b(%rip), %rdi     # 0x2f23e
movq %rax, %rsi
xorl %eax, %eax
callq 0x3100
jmp 0x1c011
callq 0x66b2
movq %rax, %rbx
movq %r12, %rdi
callq 0x4ac7
leaq 0x131ff(%rip), %rdi     # 0x2f1e5
movq %rbx, %rsi
movq %rax, %rdx
jmp 0x1c00a
leaq 0x131ae(%rip), %rdi     # 0x2f1a3
movq %r13, %rsi
movq %r12, %rdx
jmp 0x1c00a
leaq 0x13213(%rip), %rdi     # 0x2f217
movq %r15, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0x3100
pushq $0x1
popq %rdi
callq 0x3270