// File: /workspace/github_c_makefile_star2_O0/nimble-code[P]Uno/Src/uno_generic.c
// Function: match_args
static int
match_args(treenode *e, treenode *n, int which)	/* 1:match(mark,with,without) 2:marked(x,with,without) */
{	treenode *f, *g;
	int val1, val2, mark;

	/*	   TN_FUNC_CALL:e
		      /    \
		     /      \
		TN_IDENT  TN_EXPR_LIST:f
		   /          /         \
		match        /       TN_INT:val2
	           TN_EXPR_LIST:g
	                  /      \
		  TN_INT:mark    TN_INT:val1
	 */
		if (!e->rnode
		||   e->rnode->hdr.type != TN_EXPR_LIST)
			goto bad1;
	f = e->rnode;
		if (!f->lnode
		||   f->lnode->hdr.type != TN_EXPR_LIST)
			goto bad1;
	g = f->lnode;
		if (!g->lnode || !g->rnode)
			goto bad1;
	nogood = 0;
	val1 = eval_const_expr(g->rnode, n);
	val2 = eval_const_expr(f->rnode, n);
	mark = eval_const_expr(g->lnode, n);
	if (nogood)
	{
bad1:		err_path++;
		fprintf(stderr, "\t\t%s:%d: error match_args in '%s'\n",
			n?n->hdr.fnm:"--", n?n->hdr.line:0, x_stmnt(e));
		exit(1);
	}

	if (debug)
	{	err_path++;
		printf("%3d>>saw %s(%s,%d,%d)\n", depth, x_stmnt(e), user_name, val1, val2);
		err_path--;
	}
	return domatch(n, mark, val1, val2, which);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x48(%rax)
je 0x2fe5c
movq -0x8(%rbp), %rax
movq 0x48(%rax), %rax
cmpl $0xa, 0x1c(%rax)
je 0x2fe61
jmp 0x2ff07
movq -0x8(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
cmpq $0x0, 0x40(%rax)
je 0x2fe86
movq -0x20(%rbp), %rax
movq 0x40(%rax), %rax
cmpl $0xa, 0x1c(%rax)
je 0x2fe88
jmp 0x2ff07
movq -0x20(%rbp), %rax
movq 0x40(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
cmpq $0x0, 0x40(%rax)
je 0x2feaa
movq -0x28(%rbp), %rax
cmpq $0x0, 0x48(%rax)
jne 0x2feac
jmp 0x2ff07
leaq 0x66c45(%rip), %rax     # 0x96af8
movl $0x0, (%rax)
movq -0x28(%rbp), %rax
movq 0x48(%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x2b4f0
movl %eax, -0x2c(%rbp)
movq -0x20(%rbp), %rax
movq 0x48(%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x2b4f0
movl %eax, -0x30(%rbp)
movq -0x28(%rbp), %rax
movq 0x40(%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x2b4f0
movl %eax, -0x34(%rbp)
leaq 0x66bfc(%rip), %rax     # 0x96af8
cmpl $0x0, (%rax)
je 0x2ff9d
jmp 0x2ff07
movl 0x66cd3(%rip), %eax     # 0x96be0
addl $0x1, %eax
movl %eax, 0x66cca(%rip)     # 0x96be0
movq 0x1e0db(%rip), %rax     # 0x4dff8
movq (%rax), %rax
movq %rax, -0x40(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x2ff39
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x48(%rbp)
jmp 0x2ff46
leaq 0x52cb(%rip), %rax      # 0x3520b
movq %rax, -0x48(%rbp)
jmp 0x2ff46
movq -0x48(%rbp), %rax
movq %rax, -0x50(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x2ff61
movq -0x10(%rbp), %rax
movl 0x10(%rax), %eax
movl %eax, -0x54(%rbp)
jmp 0x2ff68
xorl %eax, %eax
movl %eax, -0x54(%rbp)
jmp 0x2ff68
movl -0x54(%rbp), %eax
movl %eax, -0x58(%rbp)
movq -0x8(%rbp), %rdi
callq 0x4ec0
movq -0x40(%rbp), %rdi
movq -0x50(%rbp), %rdx
movl -0x58(%rbp), %ecx
movq %rax, %r8
leaq 0x174cb(%rip), %rsi     # 0x47457
movb $0x0, %al
callq 0x3170
movl $0x1, %edi
callq 0x3230
cmpl $0x0, 0x66c44(%rip)     # 0x96be8
je 0x2fffc
movl 0x66c34(%rip), %eax     # 0x96be0
addl $0x1, %eax
movl %eax, 0x66c2b(%rip)     # 0x96be0
leaq 0x55fdc(%rip), %rax     # 0x85f98
movl (%rax), %eax
movl %eax, -0x5c(%rbp)
movq -0x8(%rbp), %rdi
callq 0x4ec0
movl -0x5c(%rbp), %esi
movq %rax, %rdx
movq 0x66c19(%rip), %rcx     # 0x96bf0
movl -0x2c(%rbp), %r8d
movl -0x30(%rbp), %r9d
leaq 0x17494(%rip), %rdi     # 0x4747a
movb $0x0, %al
callq 0x30f0
movl 0x66bed(%rip), %eax     # 0x96be0
addl $-0x1, %eax
movl %eax, 0x66be4(%rip)     # 0x96be0
movq -0x10(%rbp), %rdi
movl -0x34(%rbp), %esi
movl -0x2c(%rbp), %edx
movl -0x30(%rbp), %ecx
movl -0x14(%rbp), %r8d
callq 0x322c0
addq $0x60, %rsp
popq %rbp
retq
nopl (%rax,%rax)