// File: /workspace/github_c_makefile_star2_O0/jsummers[P]deark/modules/cfb.c
// Function: do_dump_dir_structure
static void do_dump_dir_structure(deark *c, lctx *d)
{
	i64 i;

	de_dbg(c, "dir structure:");
	de_dbg_indent(c, 1);
	for(i=0; i<d->num_dir_entries; i++) {
		de_dbg(c, "[%d] t=%d p=%d c=%d s=%d,%d", (int)i,
			(int)d->dir_entry[i].entry_type,
			(int)d->dir_entry[i].parent_id,
			(int)d->dir_entry[i].child_id,
			(int)d->dir_entry[i].sibling_id[0],
			(int)d->dir_entry[i].sibling_id[1]);
		de_dbg_indent(c, 1);
		if(d->dir_entry[i].fname_srd && d->dir_entry[i].fname_srd->str) {
			de_dbg(c, "fname: \"%s\"",
				ucstring_getpsz(d->dir_entry[i].fname_srd->str));
		}
		if(d->dir_entry[i].path) {
			de_dbg(c, "path: \"%s\"",
				ucstring_getpsz(d->dir_entry[i].path));
		}
		de_dbg_indent(c, -1);
	}
	de_dbg_indent(c, -1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
leaq 0x1525fd(%rip), %rsi    # 0x1a59b8
movb $0x0, %al
callq 0x15b0d0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x15b560
movq $0x0, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
cmpq 0x70(%rcx), %rax
jge 0x5358f
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movl %eax, %edx
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
imulq $0x88, -0x18(%rbp), %rcx
addq %rcx, %rax
movzbl 0x4(%rax), %ecx
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
imulq $0x88, -0x18(%rbp), %rsi
addq %rsi, %rax
movl 0x70(%rax), %r8d
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
imulq $0x88, -0x18(%rbp), %rsi
addq %rsi, %rax
movl 0x64(%rax), %r9d
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
imulq $0x88, -0x18(%rbp), %rsi
addq %rsi, %rax
movl 0x68(%rax), %r10d
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
imulq $0x88, -0x18(%rbp), %rsi
addq %rsi, %rax
movl 0x6c(%rax), %eax
leaq 0x15254b(%rip), %rsi    # 0x1a59c7
movl %r10d, (%rsp)
movl %eax, 0x8(%rsp)
movb $0x0, %al
callq 0x15b0d0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x15b560
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
imulq $0x88, -0x18(%rbp), %rcx
addq %rcx, %rax
cmpq $0x0, 0x28(%rax)
je 0x53517
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
imulq $0x88, -0x18(%rbp), %rcx
addq %rcx, %rax
movq 0x28(%rax), %rax
cmpq $0x0, 0x18(%rax)
je 0x53517
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
imulq $0x88, -0x18(%rbp), %rcx
addq %rcx, %rax
movq 0x28(%rax), %rax
movq 0x18(%rax), %rdi
callq 0x172500
movq -0x20(%rbp), %rdi
movq %rax, %rdx
leaq 0x1524d3(%rip), %rsi    # 0x1a59e3
movb $0x0, %al
callq 0x15b0d0
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
imulq $0x88, -0x18(%rbp), %rcx
addq %rcx, %rax
cmpq $0x0, 0x78(%rax)
je 0x53570
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
imulq $0x88, -0x18(%rbp), %rcx
addq %rcx, %rax
movq 0x78(%rax), %rdi
callq 0x172500
movq -0x28(%rbp), %rdi
movq %rax, %rdx
leaq 0x17c8f3(%rip), %rsi    # 0x1cfe5c
movb $0x0, %al
callq 0x15b0d0
movq -0x8(%rbp), %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x15b560
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
jmp 0x533d8
movq -0x8(%rbp), %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x15b560
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)