// File: /workspace/github_c_makefile_star2_O0/darwin-on-arm[P]darwin-sdk/developer_cmds/unifdef/unifdef.c
// Function: eval_table
static Linetype
eval_table(const struct ops *ops, int *valp, const char **cpp)
{
	const struct op *op;
	const char *cp;
	int val;
	Linetype lt, rt;

	debug("eval%d", ops - eval_ops);
	cp = *cpp;
	lt = ops->inner(ops+1, valp, &cp);
	if (lt == LT_ERROR)
		return (LT_ERROR);
	for (;;) {
		cp = skipcomment(cp);
		for (op = ops->op; op->str != NULL; op++)
			if (strncmp(cp, op->str, strlen(op->str)) == 0)
				break;
		if (op->str == NULL)
			break;
		cp += strlen(op->str);
		debug("eval%d %s", ops - eval_ops, op->str);
		rt = ops->inner(ops+1, &val, &cp);
		if (rt == LT_ERROR)
			return (LT_ERROR);
		lt = op->fn(valp, lt, *valp, rt, val);
	}

	*cpp = cp;
	debug("eval%d = %d", ops - eval_ops, *valp);
	debug("eval%d lt = %s", ops - eval_ops, linetype_name[lt]);
	return (lt);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
leaq 0x4161(%rip), %rcx      # 0x8c70
subq %rcx, %rax
movl $0x58, %ecx
cqto
idivq %rcx
movq %rax, %rsi
leaq 0x1945(%rip), %rdi      # 0x646b
movb $0x0, %al
callq 0x4020
movq -0x20(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq -0x10(%rbp), %rdi
addq $0x58, %rdi
movq -0x18(%rbp), %rsi
leaq -0x30(%rbp), %rdx
callq *%rax
movl %eax, -0x38(%rbp)
cmpl $0x16, -0x38(%rbp)
jne 0x4b66
movl $0x16, -0x4(%rbp)
jmp 0x4cf1
jmp 0x4b68
movq -0x30(%rbp), %rdi
callq 0x4160
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
cmpq $0x0, (%rax)
je 0x4bd1
movq -0x30(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x48(%rbp)
movq -0x28(%rbp), %rax
movq (%rax), %rdi
callq 0x30d0
movq -0x50(%rbp), %rdi
movq -0x48(%rbp), %rsi
movq %rax, %rdx
callq 0x3070
cmpl $0x0, %eax
jne 0x4bc1
jmp 0x4bd1
jmp 0x4bc3
movq -0x28(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x28(%rbp)
jmp 0x4b81
movq -0x28(%rbp), %rax
cmpq $0x0, (%rax)
jne 0x4be0
jmp 0x4c78
movq -0x28(%rbp), %rax
movq (%rax), %rdi
callq 0x30d0
addq -0x30(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rax
leaq 0x4071(%rip), %rcx      # 0x8c70
subq %rcx, %rax
movl $0x58, %ecx
cqto
idivq %rcx
movq %rax, %rsi
movq -0x28(%rbp), %rax
movq (%rax), %rdx
leaq 0x1855(%rip), %rdi      # 0x6472
movb $0x0, %al
callq 0x4020
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq -0x10(%rbp), %rdi
addq $0x58, %rdi
leaq -0x34(%rbp), %rsi
leaq -0x30(%rbp), %rdx
callq *%rax
movl %eax, -0x3c(%rbp)
cmpl $0x16, -0x3c(%rbp)
jne 0x4c52
movl $0x16, -0x4(%rbp)
jmp 0x4cf1
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x18(%rbp), %rdi
movl -0x38(%rbp), %esi
movq -0x18(%rbp), %rcx
movl (%rcx), %edx
movl -0x3c(%rbp), %ecx
movl -0x34(%rbp), %r8d
callq *%rax
movl %eax, -0x38(%rbp)
jmp 0x4b68
movq -0x30(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
leaq 0x3fe2(%rip), %rcx      # 0x8c70
subq %rcx, %rax
movl $0x58, %ecx
cqto
idivq %rcx
movq %rax, %rsi
movq -0x18(%rbp), %rax
movl (%rax), %edx
leaq 0x17d1(%rip), %rdi      # 0x647c
movb $0x0, %al
callq 0x4020
movq -0x10(%rbp), %rax
leaq 0x3fb3(%rip), %rcx      # 0x8c70
subq %rcx, %rax
movl $0x58, %ecx
cqto
idivq %rcx
movq %rax, %rsi
movl -0x38(%rbp), %eax
movl %eax, %ecx
leaq 0x3e27(%rip), %rax      # 0x8b00
movq (%rax,%rcx,8), %rdx
leaq 0x17a4(%rip), %rdi      # 0x6488
movb $0x0, %al
callq 0x4020
movl -0x38(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x50, %rsp
popq %rbp
retq
nopw (%rax,%rax)