// File: /workspace/github_c_makefile_star2_O0/Tarsnap[P]kivaloo/liball/../libcperciva/util/warnp.c
// Function: libcperciva_warn
void
warn(const char * fmt, ...)
{
	va_list ap;
	char msgbuf[WARNP_SYSLOG_MAX_LINE + 1];
	int saved_errno;

	/* Save errno in case it gets clobbered. */
	saved_errno = errno;

	va_start(ap, fmt);
	if (use_syslog == 0) {
		/* Stop other threads writing to stderr. */
		flockfile(stderr);

		/* Print to stderr. */
		fprintf(stderr, "%s", (name != NULL) ? name : "(unknown)");
		if (fmt != NULL) {
			fprintf(stderr, ": ");
			vfprintf(stderr, fmt, ap);
		}
		fprintf(stderr, ": %s\n", strerror(saved_errno));

		/* Allow other threads to write to stderr. */
		funlockfile(stderr);
	} else {
		/* Print to syslog. */
		if (fmt != NULL) {
			/* No need to print "${name}: "; syslog does it. */
			vsnprintf(msgbuf, WARNP_SYSLOG_MAX_LINE + 1, fmt, ap);
			syslog(syslog_priority, "%s: %s\n", msgbuf,
			    strerror(saved_errno));
		} else
			syslog(syslog_priority, "%s\n", strerror(saved_errno));
	}
	va_end(ap);

	/* Restore saved errno. */
	errno = saved_errno;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1110, %rsp           # imm = 0x1110
testb %al, %al
je 0x6607
movaps %xmm0, -0x10b0(%rbp)
movaps %xmm1, -0x10a0(%rbp)
movaps %xmm2, -0x1090(%rbp)
movaps %xmm3, -0x1080(%rbp)
movaps %xmm4, -0x1070(%rbp)
movaps %xmm5, -0x1060(%rbp)
movaps %xmm6, -0x1050(%rbp)
movaps %xmm7, -0x1040(%rbp)
movq %r9, -0x10b8(%rbp)
movq %r8, -0x10c0(%rbp)
movq %rcx, -0x10c8(%rbp)
movq %rdx, -0x10d0(%rbp)
movq %rsi, -0x10d8(%rbp)
movq %rdi, -0x8(%rbp)
callq 0x20a0
movl (%rax), %eax
movl %eax, -0x1024(%rbp)
leaq -0x20(%rbp), %rax
leaq -0x10e0(%rbp), %rcx
movq %rcx, 0x10(%rax)
leaq 0x10(%rbp), %rcx
movq %rcx, 0x8(%rax)
movl $0x30, 0x4(%rax)
movl $0x8, (%rax)
cmpl $0x0, 0x17ede(%rip)     # 0x1e544
jne 0x6750
movq 0x7985(%rip), %rax      # 0xdff8
movq (%rax), %rdi
callq 0x21b0
movq 0x7976(%rip), %rax      # 0xdff8
movq (%rax), %rax
movq %rax, -0x10e8(%rbp)
cmpq $0x0, 0x17ea4(%rip)     # 0x1e538
je 0x66a6
movq 0x17e9b(%rip), %rax     # 0x1e538
movq %rax, -0x10f0(%rbp)
jmp 0x66b6
leaq 0x418b(%rip), %rax      # 0xa838
movq %rax, -0x10f0(%rbp)
jmp 0x66b6
movq -0x10e8(%rbp), %rdi
movq -0x10f0(%rbp), %rdx
leaq 0x3d00(%rip), %rsi      # 0xa3cb
movb $0x0, %al
callq 0x21f0
cmpq $0x0, -0x8(%rbp)
je 0x6708
movq 0x7918(%rip), %rax      # 0xdff8
movq (%rax), %rdi
leaq 0x4158(%rip), %rsi      # 0xa842
movb $0x0, %al
callq 0x21f0
movq 0x7900(%rip), %rax      # 0xdff8
movq (%rax), %rdi
movq -0x8(%rbp), %rsi
leaq -0x20(%rbp), %rdx
callq 0x22d0
movq 0x78e9(%rip), %rax      # 0xdff8
movq (%rax), %rax
movq %rax, -0x10f8(%rbp)
movl -0x1024(%rbp), %edi
callq 0x2330
movq -0x10f8(%rbp), %rdi
movq %rax, %rdx
leaq 0x4112(%rip), %rsi      # 0xa847
movb $0x0, %al
callq 0x21f0
movq 0x78b5(%rip), %rax      # 0xdff8
movq (%rax), %rdi
callq 0x2070
jmp 0x67e5
cmpq $0x0, -0x8(%rbp)
je 0x67b5
leaq -0x1020(%rbp), %rdi
movq -0x8(%rbp), %rdx
leaq -0x20(%rbp), %rcx
movl $0x1000, %esi           # imm = 0x1000
callq 0x20d0
movl 0x7cf2(%rip), %eax      # 0xe468
movl %eax, -0x1104(%rbp)
leaq -0x1020(%rbp), %rax
movq %rax, -0x1100(%rbp)
movl -0x1024(%rbp), %edi
callq 0x2330
movl -0x1104(%rbp), %edi
movq -0x1100(%rbp), %rdx
movq %rax, %rcx
leaq 0x4099(%rip), %rsi      # 0xa845
movb $0x0, %al
callq 0x2260
jmp 0x67e3
movl 0x7cad(%rip), %eax      # 0xe468
movl %eax, -0x1108(%rbp)
movl -0x1024(%rbp), %edi
callq 0x2330
movl -0x1108(%rbp), %edi
movq %rax, %rdx
leaq 0x406d(%rip), %rsi      # 0xa849
movb $0x0, %al
callq 0x2260
jmp 0x67e5
movl -0x1024(%rbp), %eax
movl %eax, -0x110c(%rbp)
callq 0x20a0
movl -0x110c(%rbp), %ecx
movl %ecx, (%rax)
addq $0x1110, %rsp           # imm = 0x1110
popq %rbp
retq
nopw (%rax,%rax)