// File: /workspace/github_c_makefile_star2_O2/AlxHnr[P]nano-backup/src/backup.c
// Function: finishBackupRecursively
static void finishBackupRecursively(Metadata *metadata,
                                    PathNode *node_list,
                                    StringView repo_path,
                                    StringView repo_tmp_file_path)
{
  for(PathNode *node = node_list; node != NULL; node = node->next)
  {
    /* Handle only new regular files. */
    if(node->history->state.type == PST_regular_file &&
       node->history->state.metadata.file_info.size > 0 &&
       (backupHintNoPol(node->hint) == BH_added ||
        backupHintNoPol(node->hint) == BH_symlink_to_regular ||
        backupHintNoPol(node->hint) == BH_directory_to_regular ||
        (node->hint & BH_content_changed)))
    {
      addFileToRepo(node, repo_path, repo_tmp_file_path);
    }

    finishBackupRecursively(metadata, node->subnodes, repo_path,
                            repo_tmp_file_path);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp            # imm = 0x1D8
movq %rdi, %rbp
testq %rbp, %rbp
je 0x33cb
movq 0x20(%rbp), %r15
cmpl $0x1, 0x8(%r15)
jne 0x3388
cmpq $0x0, 0x28(%r15)
je 0x3388
movl 0x18(%rbp), %eax
movl %eax, %ecx
andl $0x1ff, %ecx            # imm = 0x1FF
cmpl $0x9, %ecx
ja 0x324e
movl $0x284, %edx            # imm = 0x284
btl %ecx, %edx
jae 0x324e
leaq 0x228(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x140(%rsp)
movups (%rcx), %xmm0
movaps %xmm0, 0x130(%rsp)
leaq 0x210(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, 0x110(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x120(%rsp)
movq 0x10(%rbp), %rax
movq %rax, 0x10(%rsp)
movups (%rbp), %xmm0
movups %xmm0, (%rsp)
leaq 0x148(%rsp), %rdi
callq 0x88e8
movq 0x20(%rbp), %rbx
movq 0x20(%rbx), %rax
cmpq 0x1a0(%rsp), %rax
jne 0x3407
cmpq $0x15, 0x28(%r15)
movl 0x18(%rbp), %eax
jb 0x31f2
btl $0x8, %eax
jb 0x3006
addq $0x30, %r15
leaq 0x18(%rsp), %rdi
pushq $0x12
popq %rcx
leaq 0x148(%rsp), %rsi
rep  movsq (%rsi), %es:(%rdi)
movq 0x10(%rbp), %rax
movq %rax, 0x10(%rsp)
movups (%rbp), %xmm0
movups %xmm0, (%rsp)
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3ab0
movq 0x20(%rbp), %rbx
movq 0x180(%rsp), %rax
movq %rax, 0xd0(%rsp)
leaq 0x210(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, 0xb0(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0xc0(%rsp)
leaq 0x18(%rbx), %rax
movq %rax, 0x108(%rsp)
xorl %eax, %eax
movq %rbp, 0xc8(%rsp)
movq %rbx, 0x100(%rsp)
movb %al, 0x44(%rbx)
movq 0xc0(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0xb0(%rsp), %xmm0
movups %xmm0, (%rsp)
movq 0x108(%rsp), %rdi
callq 0x6f48
testb %al, %al
je 0x325b
movq 0xc0(%rsp), %rax
movq %rax, 0xf0(%rsp)
movaps 0xb0(%rsp), %xmm0
movaps %xmm0, 0xe0(%rsp)
movq 0x20(%rbp), %rbx
leaq 0x18(%rbx), %r14
movq 0x10(%rbp), %rax
movq %rax, 0x10(%rsp)
movups (%rbp), %xmm0
movups %xmm0, (%rsp)
callq 0x8243
movq %rax, 0xd8(%rsp)
movq 0x11167(%rip), %r12     # 0x14238
movq 0xd0(%rsp), %r15
movq %r15, %rdi
pushq $0x2
popq %rsi
callq 0x81a0
movq %r12, %rdi
movq %rax, %rsi
callq 0xce02
movq %rax, 0x11142(%rip)     # 0x14238
movq 0x10(%rbp), %rax
movq %rax, 0x28(%rsp)
movups (%rbp), %xmm0
movups %xmm0, 0x18(%rsp)
movq 0xf0(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0xe0(%rsp), %xmm0
movups %xmm0, (%rsp)
movq %r14, %rdi
callq 0x70fd
movq %rax, %r14
movq 0x11105(%rip), %rbp     # 0x14238
leaq (%r15,%rbp), %r12
movq 0x28(%rbx), %r15
movb $0x1, %bl
testq %r15, %r15
je 0x3196
testb $0x1, %bl
je 0x3196
movq 0xd0(%rsp), %r13
cmpq %r13, %r15
cmovbq %r15, %r13
movq %rbp, %rdi
movq %r13, %rsi
movq 0xd8(%rsp), %rdx
callq 0x8403
movq %r12, %rdi
movq %r13, %rsi
movq %r14, %rdx
callq 0x71b6
movq 0x110ba(%rip), %rbp     # 0x14238
movq %rbp, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x2320
testl %eax, %eax
sete %bl
subq %r13, %r15
jmp 0x313d
movq %r14, %rdi
callq 0x726d
movq 0xd8(%rsp), %r14
movq %r14, %rdi
callq 0x87e5
movl %eax, %ebp
movq %r14, %rdi
callq 0x859c
testq %r15, %r15
sete %al
andb %bpl, %al
cmpb $0x1, %al
je 0x33dd
testb $0x1, %bl
movq 0xc8(%rsp), %rbp
jne 0x3388
movq 0x100(%rsp), %rbx
movb 0x44(%rbx), %al
incb %al
jne 0x3053
jmp 0x33f9
btl $0x8, %eax
jb 0x3388
movq 0x10(%rbp), %rax
movq %rax, 0x10(%rsp)
movups (%rbp), %xmm0
movups %xmm0, (%rsp)
callq 0x8243
movq %rax, %rbx
movq 0x28(%r15), %rsi
addq $0x30, %r15
movq %r15, %rdi
movq %rax, %rdx
callq 0x8403
movq %rbx, %rdi
callq 0x87e5
movq %rbp, %r14
movl %eax, %ebp
movq %rbx, %rdi
callq 0x859c
testb %bpl, %bpl
movq %r14, %rbp
je 0x3388
jmp 0x3407
testb %al, %al
js 0x2f48
jmp 0x3388
movq 0x180(%rsp), %r15
movaps 0x130(%rsp), %xmm0
movaps %xmm0, 0xe0(%rsp)
movq 0x140(%rsp), %rax
movq %rax, 0xf0(%rsp)
movaps 0x110(%rsp), %xmm0
movaps %xmm0, 0xb0(%rsp)
movq 0x120(%rsp), %rax
movq %rax, 0xc0(%rsp)
movq 0x20(%rbp), %rbx
movq 0x28(%rbx), %r12
addq $0x18, %rbx
movq 0x10(%rbp), %rax
movq %rax, 0x10(%rsp)
movups (%rbp), %xmm0
movups %xmm0, (%rsp)
callq 0x8243
movq %rax, %r13
movq 0x10(%rbp), %rax
movq %rax, 0x40(%rsp)
movups (%rbp), %xmm0
movups %xmm0, 0x30(%rsp)
movq 0xf0(%rsp), %rax
movq %rax, 0x28(%rsp)
movaps 0xe0(%rsp), %xmm0
movups %xmm0, 0x18(%rsp)
movq 0xc0(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0xb0(%rsp), %xmm0
movups %xmm0, (%rsp)
movq %rbx, %rdi
callq 0x72be
movq %rax, %r14
movq 0x10f19(%rip), %rdi     # 0x14238
movq %r15, %rsi
callq 0xce02
movq %rax, 0x10f0a(%rip)     # 0x14238
testq %r12, %r12
je 0x3366
cmpq %r15, %r12
movq %r15, %rbx
cmovbq %r12, %rbx
movq 0x10ef4(%rip), %rdi     # 0x14238
movq %rbx, %rsi
movq %r13, %rdx
callq 0x8403
movq 0x10ee2(%rip), %rdi     # 0x14238
movq %rbx, %rsi
movq %r14, %rdx
callq 0x7436
subq %rbx, %r12
jmp 0x332e
movq %r13, %rdi
callq 0x87e5
movl %eax, %ebx
movq %r13, %rdi
callq 0x859c
testb %bl, %bl
jne 0x3407
movq %r14, %rdi
callq 0x748f
movq 0x28(%rbp), %rdi
leaq 0x228(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x28(%rsp)
movups (%rcx), %xmm0
movups %xmm0, 0x18(%rsp)
leaq 0x210(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rsp)
movups (%rcx), %xmm0
movups %xmm0, (%rsp)
callq 0x2eef
movq 0x30(%rbp), %rbp
jmp 0x2f03
addq $0x1d8, %rsp            # imm = 0x1D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0xc8(%rsp), %rax
movl 0x8(%rax), %esi
movq (%rax), %rdx
leaq 0xacfb(%rip), %rdi      # 0xe0ed
xorl %eax, %eax
callq 0x3918
leaq 0xaccc(%rip), %rdi      # 0xe0cc
xorl %eax, %eax
callq 0x3918
movl 0x8(%rbp), %esi
movq (%rbp), %rdx
leaq 0xac90(%rip), %rdi      # 0xe0a5
jmp 0x33f2