// File: /workspace/github_c_makefile_star2_O0/nimble-code[P]Uno/Src/uno_lts.c
// Function: uno_snapshot
static void
uno_snapshot(Graphs *g)
{
	if (localonly) return;

	fprintf(fd_uno, "%c\t%s\t%s\t%d\n",	/* function */
		(strcmp(g->scope, "global") == 0)? 'F' : 'f',
		g->fctnm,
		g->cfg->n->hdr.fnm,
		g->cfg->n->hdr.line);

	fprintf(fd_uno, "X\treturns_a\tvalue\t");
	if (g->status & (1|2|4))	/* 1:return value, 2:no return value, 4: cannot tell */
		fprintf(fd_uno, "%d\n", g->status);
	else
	{	fprintf(fd_uno, "2\n");
		if (debug)
		fprintf(stderr, "uno: using default return value status for %s\n",
			g->fctnm);
	}

	if (0) { SymRef *r; for (r = g->def_use; r; r = r->nxt)
	fprintf(fd_uno, "X\t%s\t%d\n", r->sm->nme->str, r->status); }

	/* record information in use of *globals* within this function */

	uno_report0(fd_uno, "D", DEF,           g->def_use);	/* def */
	uno_report0(fd_uno, "D", DEF|USE,       g->def_use);
	uno_report0(fd_uno, "D", DEF|USE|DEREF, g->def_use);

	uno_report0(fd_uno, "D", UNO_CONST,           g->def_use);
	uno_report0(fd_uno, "D", UNO_CONST|USE,       g->def_use);
	uno_report0(fd_uno, "D", UNO_CONST|USE|DEREF, g->def_use);

	uno_report1(fd_uno, "R", USE|DEREF,     g->suspect);	/* possible deref_useb4def */
	uno_report1(fd_uno, "U", USE,           g->suspect);	/* possible useb4def */

	uno_report1(fd_uno, "C", DEF,           g->fcalls);	/* fcts called, - return vals used */
	uno_report1(fd_uno, "c", USE,           g->fcalls);	/* fcts called, + return vals used */
	uno_report1(fd_uno, "b", DEF|USE,       g->fcalls);
#if 1
	/* fcts called through ptrs */
	uno_report1(fd_uno, "h", DEF|HIDE,      g->fcalls);	/* fcts called - can't tell retval */
	uno_report1(fd_uno, "i", USE|HIDE,      g->fcalls);
	uno_report1(fd_uno, "j", DEF|USE|HIDE,  g->fcalls);
#endif
	fprintf(fd_uno, "\n");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
leaq 0x25af9(%rip), %rax     # 0x4e39c
cmpl $0x0, (%rax)
je 0x288ad
jmp 0x28b6d
movq 0x5d75c(%rip), %rax     # 0x86010
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x38(%rax), %rdi
leaq 0x1c833(%rip), %rsi     # 0x450fa
callq 0x3160
movq -0x10(%rbp), %rdi
movl %eax, %ecx
movl $0x66, %edx
movl $0x46, %eax
cmpl $0x0, %ecx
cmovel %eax, %edx
movq -0x8(%rbp), %rax
movq (%rax), %rcx
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movq 0x8(%rax), %r8
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl 0x10(%rax), %r9d
leaq 0x1cb83(%rip), %rsi     # 0x45491
movb $0x0, %al
callq 0x3170
movq 0x5d6f4(%rip), %rdi     # 0x86010
leaq 0x1d191(%rip), %rsi     # 0x45ab4
movb $0x0, %al
callq 0x3170
movq -0x8(%rbp), %rax
movswl 0x42(%rax), %eax
andl $0x7, %eax
cmpl $0x0, %eax
je 0x28959
movq 0x5d6cf(%rip), %rdi     # 0x86010
movq -0x8(%rbp), %rax
movswl 0x42(%rax), %edx
leaq 0xbe20(%rip), %rsi      # 0x34770
movb $0x0, %al
callq 0x3170
jmp 0x28998
movq 0x5d6b0(%rip), %rdi     # 0x86010
leaq 0x1ce88(%rip), %rsi     # 0x457ef
movb $0x0, %al
callq 0x3170
cmpl $0x0, 0x5d65b(%rip)     # 0x85fd0
je 0x28996
movq 0x2567a(%rip), %rax     # 0x4dff8
movq (%rax), %rdi
movq -0x8(%rbp), %rax
movq (%rax), %rdx
leaq 0x1d138(%rip), %rsi     # 0x45ac7
movb $0x0, %al
callq 0x3170
jmp 0x28998
movq 0x5d671(%rip), %rdi     # 0x86010
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rcx
leaq 0x1d190(%rip), %rsi     # 0x45b3e
movl $0x1, %edx
callq 0x24cb0
movq 0x5d651(%rip), %rdi     # 0x86010
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rcx
leaq 0x1d170(%rip), %rsi     # 0x45b3e
movl $0x5, %edx
callq 0x24cb0
movq 0x5d631(%rip), %rdi     # 0x86010
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rcx
leaq 0x1d150(%rip), %rsi     # 0x45b3e
movl $0x45, %edx
callq 0x24cb0
movq 0x5d611(%rip), %rdi     # 0x86010
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rcx
leaq 0x1d130(%rip), %rsi     # 0x45b3e
movl $0x2000, %edx           # imm = 0x2000
callq 0x24cb0
movq 0x5d5f1(%rip), %rdi     # 0x86010
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rcx
leaq 0x1d110(%rip), %rsi     # 0x45b3e
movl $0x2004, %edx           # imm = 0x2004
callq 0x24cb0
movq 0x5d5d1(%rip), %rdi     # 0x86010
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rcx
leaq 0x1d0f0(%rip), %rsi     # 0x45b3e
movl $0x2044, %edx           # imm = 0x2044
callq 0x24cb0
movq 0x5d5b1(%rip), %rdi     # 0x86010
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rcx
leaq 0x1b130(%rip), %rsi     # 0x43b9e
movl $0x44, %edx
callq 0x28bd0
movq 0x5d591(%rip), %rdi     # 0x86010
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rcx
leaq 0x1d0aa(%rip), %rsi     # 0x45b38
movl $0x4, %edx
callq 0x28bd0
movq 0x5d571(%rip), %rdi     # 0x86010
movq -0x8(%rbp), %rax
movq 0x28(%rax), %rcx
leaq 0x1b141(%rip), %rsi     # 0x43bef
movl $0x1, %edx
callq 0x28bd0
movq 0x5d551(%rip), %rdi     # 0x86010
movq -0x8(%rbp), %rax
movq 0x28(%rax), %rcx
leaq 0xc09d(%rip), %rsi      # 0x34b6b
movl $0x4, %edx
callq 0x28bd0
movq 0x5d531(%rip), %rdi     # 0x86010
movq -0x8(%rbp), %rax
movq 0x28(%rax), %rcx
leaq 0x1e1db(%rip), %rsi     # 0x46cc9
movl $0x5, %edx
callq 0x28bd0
movq 0x5d511(%rip), %rdi     # 0x86010
movq -0x8(%rbp), %rax
movq 0x28(%rax), %rcx
leaq 0x1d142(%rip), %rsi     # 0x45c50
movl $0x201, %edx            # imm = 0x201
callq 0x28bd0
movq 0x5d4f1(%rip), %rdi     # 0x86010
movq -0x8(%rbp), %rax
movq 0x28(%rax), %rcx
leaq 0x1cbac(%rip), %rsi     # 0x456da
movl $0x204, %edx            # imm = 0x204
callq 0x28bd0
movq 0x5d4d1(%rip), %rdi     # 0x86010
movq -0x8(%rbp), %rax
movq 0x28(%rax), %rcx
leaq 0x1cb8e(%rip), %rsi     # 0x456dc
movl $0x205, %edx            # imm = 0x205
callq 0x28bd0
movq 0x5d4b1(%rip), %rdi     # 0x86010
leaq 0x1bbd9(%rip), %rsi     # 0x4473f
movb $0x0, %al
callq 0x3170
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)