// File: /workspace/github_c_makefile_star2_O3/AlxHnr[P]nano-backup/src/informations.c
// Function: recursePrintOverTree
static ChangeSummary recursePrintOverTree(const Metadata *metadata,
                                          const PathNode *path_list,
                                          RegexList *summarize_expressions,
                                          const bool print)
{
  ChangeSummary changes = { 0 };

  for(const PathNode *node = path_list; node != NULL; node = node->next)
  {
    ChangeSummary summary;
    const bool summarize = node->policy != BPOL_none &&
      getExistingState(node)->type == PST_directory &&
      matchesRegexList(node, summarize_expressions);
    /* Once a summarize expression matched, its subnodes should not be
       tested anymore. */
    RegexList *expressions_to_pass_down =
      summarize ? NULL : summarize_expressions;

    if(print && summarize)
    {
      summary = recursePrintOverTree(metadata, node->subnodes,
                                     expressions_to_pass_down, false);
      if(node->hint > BH_unchanged || containsChanges(&summary))
      {
        printNode(node, &summary, summarize);
      }
    }
    else if(print && node->hint > BH_unchanged &&
            !(node->policy == BPOL_none &&
              (node->hint == BH_added ||
               (node->hint >= BH_owner_changed &&
                node->hint <= BH_timestamp_changed))))
    {
      const bool print_subnodes =
        backupHintNoPol(node->hint) > BH_other_to_directory;

      summary =
        recursePrintOverTree(metadata, node->subnodes,
                             expressions_to_pass_down, print_subnodes);

      if(!(node->hint == BH_timestamp_changed &&
           summary.affects_parent_timestamp))
      {
        printNode(node, &summary, summarize);
      }
    }
    else
    {
      summary = recursePrintOverTree(metadata, node->subnodes,
                                     expressions_to_pass_down, print);
    }

    addNode(node, &changes, summary.affects_parent_timestamp);
    changeSummaryAdd(&changes, &summary);
  }

  return changes;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movl %ecx, 0x20(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x40(%rdi)
movups %xmm0, 0x30(%rdi)
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
testq %rsi, %rsi
je 0x4995
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %r12
movq $0x0, 0x30(%rsp)
movzbl 0x20(%rsp), %eax
movl %eax, 0x24(%rsp)
movq $0x0, 0x28(%rsp)
movq $0x0, 0x50(%rsp)
xorl %ebp, %ebp
movq $0x0, 0x40(%rsp)
movq $0x0, 0x48(%rsp)
xorl %r14d, %r14d
movq $0x0, 0x38(%rsp)
cmpl $0x0, 0x1c(%r15)
movq %r13, %rdx
je 0x45f8
movq 0x20(%r15), %rax
cmpl $0x0, 0x8(%rax)
je 0x45a5
movq %rax, %rcx
jmp 0x45ae
movq 0x48(%rax), %rcx
testq %rcx, %rcx
je 0x45a0
testq %r13, %r13
sete %al
cmpl $0x3, 0x8(%rcx)
setne %cl
movl $0x0, %edx
cmovneq %r13, %rdx
orb %al, %cl
jne 0x45f8
movq %r13, %rbx
movq (%rbx), %rdi
movq 0x10(%r15), %rax
movq %rax, 0x10(%rsp)
movups (%r15), %xmm0
movups %xmm0, (%rsp)
callq 0x9b87
testb %al, %al
jne 0x466c
movq 0x30(%rbx), %rbx
testq %rbx, %rbx
jne 0x45cb
movq %r13, %rdx
cmpb $0x0, 0x20(%rsp)
je 0x46de
movl 0x18(%r15), %eax
cmpl $0x2, %eax
jb 0x46de
cmpl $0x0, 0x1c(%r15)
jne 0x4630
cmpl $0x2, %eax
sete %cl
leal -0x10(%rax), %esi
cmpl $0x31, %esi
setb %sil
orb %cl, %sil
jne 0x46de
andl $0x1fe, %eax            # imm = 0x1FE
xorl %ecx, %ecx
cmpl $0xe, %eax
setae %cl
movq 0x28(%r15), %rsi
leaq 0x58(%rsp), %rdi
callq 0x450b
cmpl $0x40, 0x18(%r15)
jne 0x4660
cmpb $0x0, 0xa1(%rsp)
jne 0x46f0
movq %r15, %rdi
leaq 0x58(%rsp), %rsi
xorl %edx, %edx
jmp 0x46d5
movb $0x1, 0x28(%rbx)
cmpb $0x0, 0x20(%rsp)
je 0x46dc
movq 0x28(%r15), %rsi
leaq 0x58(%rsp), %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x450b
cmpl $0x1, 0x18(%r15)
ja 0x46c8
cmpq $0x0, 0x58(%rsp)
jne 0x46c8
cmpq $0x0, 0x68(%rsp)
jne 0x46c8
cmpq $0x0, 0x78(%rsp)
jne 0x46c8
cmpq $0x0, 0x88(%rsp)
jne 0x46c8
cmpq $0x0, 0x98(%rsp)
jne 0x46c8
cmpb $0x1, 0xa0(%rsp)
jne 0x46f0
movq %r15, %rdi
leaq 0x58(%rsp), %rsi
movl $0x1, %edx
callq 0x4a1c
jmp 0x46f0
xorl %edx, %edx
movq 0x28(%r15), %rsi
leaq 0x58(%rsp), %rdi
movl 0x24(%rsp), %ecx
callq 0x450b
movq %rbp, %rdi
movb 0xa1(%rsp), %dl
movl 0x18(%r15), %esi
movq 0x20(%r15), %rax
cmpl $0x0, 0x8(%rax)
je 0x470d
movq %rax, %rcx
jmp 0x4716
movq 0x48(%rax), %rcx
testq %rcx, %rcx
je 0x4708
movq %r13, %rbp
cmpl $0x1, 0x8(%rcx)
jne 0x4725
movq 0x28(%rcx), %r13
jmp 0x4728
xorl %r13d, %r13d
movl %esi, %ebx
andl $0x1ff, %ebx            # imm = 0x1FF
cmpl $0x4, %ebx
je 0x48a4
cmpl $0x3, %ebx
je 0x4769
cmpl $0x2, %ebx
jne 0x48ec
movl $0x1, %esi
callq 0x8778
movq %rax, (%r12)
movq 0x50(%rsp), %rdi
movq %r13, %rsi
callq 0x87b4
movq %rax, 0x8(%r12)
jmp 0x478f
movl $0x1, %esi
movq 0x48(%rsp), %rdi
callq 0x8778
movq %rax, 0x10(%r12)
movq 0x40(%rsp), %rdi
movq %r13, %rsi
callq 0x87b4
movq %rax, 0x18(%r12)
movb $0x1, 0x49(%r12)
movq %rbp, %r13
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rbx
movq (%r12), %rdi
callq 0x8778
movq %rax, %rbp
movq %rax, (%r12)
movq 0x8(%r12), %rdi
movq %rbx, %rsi
callq 0x87b4
movq %rax, 0x50(%rsp)
movq %rax, 0x8(%r12)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rbx
movq 0x10(%r12), %rdi
callq 0x8778
movq %rax, 0x48(%rsp)
movq %rax, 0x10(%r12)
movq 0x18(%r12), %rdi
movq %rbx, %rsi
callq 0x87b4
movq %rax, 0x40(%rsp)
movq %rax, 0x18(%r12)
movq 0x78(%rsp), %rsi
movq 0x80(%rsp), %rbx
movq 0x20(%r12), %rdi
callq 0x8778
movq %rax, 0x38(%rsp)
movq %rax, 0x20(%r12)
movq 0x28(%r12), %rdi
movq %rbx, %rsi
callq 0x87b4
movq %rax, %r14
movq %rax, 0x28(%r12)
movq 0x88(%rsp), %rsi
movq 0x90(%rsp), %rbx
movq 0x30(%r12), %rdi
callq 0x8778
movq %rax, 0x28(%rsp)
movq %rax, 0x30(%r12)
movq 0x38(%r12), %rdi
movq %rbx, %rsi
callq 0x87b4
movq %rax, 0x30(%rsp)
movq %rax, 0x38(%r12)
movq 0x40(%r12), %rdi
movq 0x98(%rsp), %rsi
callq 0x8778
movq %rax, 0x40(%r12)
movb 0xa0(%rsp), %al
orb %al, 0x48(%r12)
movq 0x30(%r15), %r15
testq %r15, %r15
jne 0x458c
jmp 0x4995
movl $0x1, %esi
movq 0x38(%rsp), %rdi
callq 0x8778
movq %rax, 0x20(%r12)
movq %r14, %rdi
movq %r13, %rsi
callq 0x87b4
movq %rax, 0x28(%r12)
cmpl $0x2, 0x1c(%r15)
movq %rbp, %r13
jne 0x4798
testb $0x2, 0x19(%r15)
jne 0x4798
movb $0x1, 0x49(%r12)
jmp 0x4798
testb %sil, %sil
js 0x495a
cmpl $0x2, %esi
movq %rbp, %r13
jb 0x4798
leal -0x41(%rsi), %eax
cmpl $-0x31, %eax
jb 0x4910
cmpl $0x0, 0x1c(%r15)
je 0x4798
movb $0x1, 0x48(%r12)
addl $-0x5, %ebx
cmpl $0x9, %ebx
setb %al
orb %al, 0x49(%r12)
movq %r12, %rdi
movl %edx, %ebx
callq 0x5214
cmpl $0x40, 0x18(%r15)
jne 0x4798
testb %bl, %bl
jne 0x4798
movq 0x40(%r12), %rdi
movl $0x1, %esi
callq 0x8778
movq %rax, 0x40(%r12)
jmp 0x4798
movl $0x1, %esi
movq 0x28(%rsp), %rdi
callq 0x8778
movq %rax, 0x30(%r12)
movq 0x30(%rsp), %rdi
movq %r13, %rsi
callq 0x87b4
movq %rax, 0x38(%r12)
movb $0x1, 0x49(%r12)
movq %r12, %rdi
movl %ebx, %esi
callq 0x5214
jmp 0x4795
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq