// File: /workspace/github_c_makefile_star2_O0/esheldon[P]xshear/src/config.c
// Function: cfg_field_print
static void cfg_field_print(struct cfg_field *self, int n_indent, FILE* stream)
{
    size_t el=0;
    if (!self)
        return;

    // scalars not allowed to be "empty"
    if (CFG_TYPE_SCALAR == CFG_FIELD_TYPE(self) && 0==CFG_FIELD_ARR_SIZE(self))
        return;

    print_spaces(n_indent, stream);
    fprintf(stream, "%s", CFG_FIELD_NAME(self));
    fprintf(stream," %c ", CFG_ASSIGN);
    if (CFG_TYPE_ARRAY==CFG_FIELD_TYPE(self)) {

        fprintf(stream,"%c", CFG_ARRAY_BEG);
        for (el=0; el<CFG_FIELD_ARR_SIZE(self); el++) {
            cfg_field_print_data(self, el, stream);
            /*
            if (el < (CFG_FIELD_ARR_SIZE(self)-1)) {
                fprintf(stream,"%c", CFG_ARRAY_SEP);
            }
            */
            if (el < (CFG_FIELD_ARR_SIZE(self)-1)) {
                fprintf(stream," ");
            }
        }
        fprintf(stream,"%c", CFG_ARRAY_END);

    } else if (CFG_TYPE_CFG == CFG_FIELD_TYPE(self)) {

        fprintf(stream,"%c\n", CFG_CFG_BEG);
        _cfg_print(CFG_FIELD_GET_SUB(self),n_indent+4,stream);
        print_spaces(n_indent, stream);
        fprintf(stream,"%c", CFG_CFG_END);

    } else {
        cfg_field_print_data(self, 0, stream);
    }
    fprintf(stream,"\n");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq $0x0, -0x20(%rbp)
cmpq $0x0, -0x8(%rbp)
jne 0x7fa7
jmp 0x812e
movq -0x8(%rbp), %rcx
xorl %eax, %eax
cmpl 0x8(%rcx), %eax
jne 0x7fc6
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rcx
xorl %eax, %eax
cmpq (%rcx), %rax
jne 0x7fc6
jmp 0x812e
movl -0xc(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x8f90
movq -0x18(%rbp), %rdi
movq -0x8(%rbp), %rax
movq (%rax), %rdx
leaq 0x6c91(%rip), %rsi      # 0xec75
movb $0x0, %al
callq 0x2170
movq -0x18(%rbp), %rdi
leaq 0x6c82(%rip), %rsi      # 0xec78
movl $0x3d, %edx
movb $0x0, %al
callq 0x2170
movq -0x8(%rbp), %rcx
movl $0x1, %eax
cmpl 0x8(%rcx), %eax
jne 0x80a8
movq -0x18(%rbp), %rdi
leaq 0x61af(%rip), %rsi      # 0xe1ce
movl $0x5b, %edx
movb $0x0, %al
callq 0x2170
movq $0x0, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq -0x8(%rbp), %rcx
movq 0x10(%rcx), %rcx
cmpq (%rcx), %rax
jae 0x808f
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x8fe0
movq -0x20(%rbp), %rax
movq -0x8(%rbp), %rcx
movq 0x10(%rcx), %rcx
movq (%rcx), %rcx
subq $0x1, %rcx
cmpq %rcx, %rax
jae 0x807f
movq -0x18(%rbp), %rdi
leaq 0x6874(%rip), %rsi      # 0xe8ec
movb $0x0, %al
callq 0x2170
jmp 0x8081
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x8033
movq -0x18(%rbp), %rdi
leaq 0x6134(%rip), %rsi      # 0xe1ce
movl $0x5d, %edx
movb $0x0, %al
callq 0x2170
jmp 0x811c
movq -0x8(%rbp), %rcx
movl $0x2, %eax
cmpl 0x8(%rcx), %eax
jne 0x8109
movq -0x18(%rbp), %rdi
leaq 0x6bbc(%rip), %rsi      # 0xec7d
movl $0x7b, %edx
movb $0x0, %al
callq 0x2170
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
movl -0xc(%rbp), %esi
addl $0x4, %esi
movq -0x18(%rbp), %rdx
callq 0x9100
movl -0xc(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x8f90
movq -0x18(%rbp), %rdi
leaq 0x60d3(%rip), %rsi      # 0xe1ce
movl $0x7d, %edx
movb $0x0, %al
callq 0x2170
jmp 0x811a
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rdx
xorl %eax, %eax
movl %eax, %esi
callq 0x8fe0
jmp 0x811c
movq -0x18(%rbp), %rdi
leaq 0x6e98(%rip), %rsi      # 0xefbf
movb $0x0, %al
callq 0x2170
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)