// File: /workspace/github_c_makefile_star2_O1/baskerville[P]bspwm/src/subscribe.c
// Function: print_report
int print_report(FILE *stream)
{
	fprintf(stream, "%s", status_prefix);
	for (monitor_t *m = mon_head; m != NULL; m = m->next) {
		fprintf(stream, "%c%s", (mon == m ? 'M' : 'm'), m->name);
		for (desktop_t *d = m->desk_head; d != NULL; d = d->next) {
			char c = (is_urgent(d) ? 'u' : (d->root == NULL ? 'f' : 'o'));
			if (m->desk == d) {
				c = toupper(c);
			}
			fprintf(stream, ":%c%s", c, d->name);
		}
		if (m->desk != NULL) {
			fprintf(stream, ":L%c", LAYOUT_CHR(m->desk->layout));
			if (m->desk->focus != NULL) {
				node_t *n = m->desk->focus;
				if (n->client != NULL) {
					fprintf(stream, ":T%c", STATE_CHR(n->client->state));
				} else {
					fprintf(stream, ":T@");
				}
				int i = 0;
				char flags[5];
				if (n->sticky) {
					flags[i++] = 'S';
				}
				if (n->private) {
					flags[i++] = 'P';
				}
				if (n->locked) {
					flags[i++] = 'L';
				}
				if (n->marked) {
					flags[i++] = 'M';
				}
				flags[i] = '\0';
				fprintf(stream, ":G%s", flags);
			}
		}
		if (m != mon_tail) {
			fprintf(stream, "%s", ":");
		}
	}
	fprintf(stream, "%s", "\n");
	return fflush(stream);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0xaf92(%rip), %rdi      # 0x298a0
movq %rbx, %rsi
callq 0x4670
leaq 0xadeb(%rip), %rax      # 0x29708
movq (%rax), %r14
testq %r14, %r14
je 0x1eae5
leaq 0xadd0(%rip), %r13      # 0x29700
leaq 0x2cda(%rip), %rbp      # 0x21611
xorl %edx, %edx
leaq 0xadd0(%rip), %rax      # 0x29710
cmpq %r14, (%rax)
setne %dl
shll $0x5, %edx
orl $0x4d, %edx
movq %rbx, %rdi
leaq 0x2cbc(%rip), %rsi      # 0x21612
movq %r14, %rcx
xorl %eax, %eax
callq 0x4a30
movq 0x60(%r14), %r12
testq %r12, %r12
je 0x1e9bc
movq %r12, %rdi
callq 0x8a20
movb $0x75, %r15b
testb %al, %al
jne 0x1e98b
xorl %eax, %eax
cmpq $0x0, 0x30(%r12)
setne %al
leal (%rax,%rax,8), %r15d
addl $0x66, %r15d
cmpq %r12, 0x58(%r14)
jne 0x1e9a1
callq 0x4400
movq (%rax), %rax
movzbl %r15b, %ecx
movb (%rax,%rcx,4), %r15b
movsbl %r15b, %edx
movq %rbx, %rdi
movq %rbp, %rsi
movq %r12, %rcx
xorl %eax, %eax
callq 0x4a30
movq 0x48(%r12), %r12
jmp 0x1e964
movq 0x58(%r14), %rax
testq %rax, %rax
je 0x1eac3
cmpl $0x0, 0x24(%rax)
movl $0x4d, %edx
movl $0x54, %eax
cmovel %eax, %edx
movq %rbx, %rdi
leaq 0x2c33(%rip), %rsi      # 0x21617
xorl %eax, %eax
callq 0x4a30
movq 0x58(%r14), %rax
movq 0x38(%rax), %r12
testq %r12, %r12
je 0x1eac3
movq 0x48(%r12), %rax
testq %rax, %rax
je 0x1ea1c
movl 0x308(%rax), %eax
testl %eax, %eax
je 0x1ea37
cmpl $0x2, %eax
jne 0x1ea3e
movl $0x46, %edx
jmp 0x1ea4e
movl $0x3, %esi
movl $0x1, %edx
leaq 0x2bf4(%rip), %rdi      # 0x21621
movq %rbx, %rcx
callq 0x49e0
jmp 0x1ea5f
movl $0x54, %edx
jmp 0x1ea4e
cmpl $0x3, %eax
movl $0x50, %edx
movl $0x3d, %eax
cmovel %eax, %edx
movq %rbx, %rdi
leaq 0x2bc4(%rip), %rsi      # 0x2161c
xorl %eax, %eax
callq 0x4a30
xorl %eax, %eax
cmpb $0x1, 0x26(%r12)
jne 0x1ea73
movb $0x53, 0x3(%rsp)
movl $0x1, %eax
cmpb $0x1, 0x27(%r12)
jne 0x1ea84
movl %eax, %ecx
incl %eax
movb $0x50, 0x3(%rsp,%rcx)
cmpb $0x1, 0x28(%r12)
jne 0x1ea95
movl %eax, %ecx
incl %eax
movb $0x4c, 0x3(%rsp,%rcx)
cmpb $0x1, 0x29(%r12)
jne 0x1eaa6
movl %eax, %ecx
incl %eax
movb $0x4d, 0x3(%rsp,%rcx)
movl %eax, %eax
movb $0x0, 0x3(%rsp,%rax)
movq %rbx, %rdi
leaq 0x2b6e(%rip), %rsi      # 0x21625
leaq 0x3(%rsp), %rdx
xorl %eax, %eax
callq 0x4a30
cmpq (%r13), %r14
je 0x1ead8
leaq 0x2512(%rip), %rdi      # 0x20fe2
movq %rbx, %rsi
callq 0x4670
movq 0x78(%r14), %r14
testq %r14, %r14
jne 0x1e937
leaq 0x2ab7(%rip), %rdi      # 0x215a3
movq %rbx, %rsi
callq 0x4670
movq %rbx, %rdi
callq 0x4b00
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq