// File: /workspace/github_c_makefile_star2_O0/Tarsnap[P]kivaloo/liball/../libcperciva/util/warnp.c
// Function: libcperciva_warnx
void
warnx(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, "\n");

		/* 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\n", msgbuf);
		} else
			syslog(syslog_priority, "\n");
	}
	va_end(ap);

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

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1100, %rsp           # imm = 0x1100
testb %al, %al
je 0x6857
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, 0x17c8e(%rip)     # 0x1e544
jne 0x6981
movq 0x7735(%rip), %rax      # 0xdff8
movq (%rax), %rdi
callq 0x21b0
movq 0x7726(%rip), %rax      # 0xdff8
movq (%rax), %rax
movq %rax, -0x10e8(%rbp)
cmpq $0x0, 0x17c54(%rip)     # 0x1e538
je 0x68f6
movq 0x17c4b(%rip), %rax     # 0x1e538
movq %rax, -0x10f0(%rbp)
jmp 0x6906
leaq 0x3f3b(%rip), %rax      # 0xa838
movq %rax, -0x10f0(%rbp)
jmp 0x6906
movq -0x10e8(%rbp), %rdi
movq -0x10f0(%rbp), %rdx
leaq 0x3ab0(%rip), %rsi      # 0xa3cb
movb $0x0, %al
callq 0x21f0
cmpq $0x0, -0x8(%rbp)
je 0x6958
movq 0x76c8(%rip), %rax      # 0xdff8
movq (%rax), %rdi
leaq 0x3f08(%rip), %rsi      # 0xa842
movb $0x0, %al
callq 0x21f0
movq 0x76b0(%rip), %rax      # 0xdff8
movq (%rax), %rdi
movq -0x8(%rbp), %rsi
leaq -0x20(%rbp), %rdx
callq 0x22d0
movq 0x7699(%rip), %rax      # 0xdff8
movq (%rax), %rdi
leaq 0x3ac1(%rip), %rsi      # 0xa42a
movb $0x0, %al
callq 0x21f0
movq 0x7681(%rip), %rax      # 0xdff8
movq (%rax), %rdi
callq 0x2070
jmp 0x69d4
cmpq $0x0, -0x8(%rbp)
je 0x69be
leaq -0x1020(%rbp), %rdi
movq -0x8(%rbp), %rdx
leaq -0x20(%rbp), %rcx
movl $0x1000, %esi           # imm = 0x1000
callq 0x20d0
movl 0x7ac1(%rip), %edi      # 0xe468
leaq -0x1020(%rbp), %rdx
leaq 0x3e94(%rip), %rsi      # 0xa849
movb $0x0, %al
callq 0x2260
jmp 0x69d2
movl 0x7aa4(%rip), %edi      # 0xe468
leaq 0x3a5f(%rip), %rsi      # 0xa42a
movb $0x0, %al
callq 0x2260
jmp 0x69d4
movl -0x1024(%rbp), %eax
movl %eax, -0x10f4(%rbp)
callq 0x20a0
movl -0x10f4(%rbp), %ecx
movl %ecx, (%rax)
addq $0x1100, %rsp           # imm = 0x1100
popq %rbp
retq
nopw %cs:(%rax,%rax)