// File: /workspace/github_c_makefile_star2_O0/nerves-project[P]nerves_initramfs/src/script.c
// Function: inspect
void inspect(const struct term *rv)
{
    switch (rv->kind) {
    case term_identifier:
        fprintf(stderr, "%s", rv->identifier);
        break;
    case term_string:
        fprintf(stderr, "\"%s\"", rv->string);
        break;
    case term_number:
        fprintf(stderr, "%d", rv->number);
        break;
    case term_boolean:
        fprintf(stderr, "%s", rv->boolean ? "true" : "false");
        break;
    case term_fun: {
        const struct term *p = rv->fun.parameters;
        const struct function_info *fun_info = function_info_by_fun(rv->fun.fun);
        fprintf(stderr, "%s(", fun_info->name);
        for (int i = 0; i < fun_info->arity; i++) {
            inspect(p);
            p = p->next;
            if (p)
                fprintf(stderr, ",");
        }
        fprintf(stderr, ")");
        break;
    }
    case term_variable:
        fprintf(stderr, "%s=", rv->var.name);
        inspect(rv->var.value);
        break;
    default:
        fprintf(stderr, "Unknown");
        break;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl (%rax), %eax
movq %rax, -0x28(%rbp)
subq $0x5, %rax
ja 0x6fd4
movq -0x28(%rbp), %rax
leaq 0x6575(%rip), %rcx      # 0xd3c0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0xa19d(%rip), %rax      # 0x10ff8
movq (%rax), %rdi
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdx
leaq 0x51cd(%rip), %rsi      # 0xc03a
movb $0x0, %al
callq 0x22d0
jmp 0x6fec
movq 0xa178(%rip), %rax      # 0x10ff8
movq (%rax), %rdi
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdx
leaq 0x6556(%rip), %rsi      # 0xd3e8
movb $0x0, %al
callq 0x22d0
jmp 0x6fec
movq 0xa153(%rip), %rax      # 0x10ff8
movq (%rax), %rdi
movq -0x8(%rbp), %rax
movl 0x8(%rax), %edx
leaq 0x6899(%rip), %rsi      # 0xd74f
movb $0x0, %al
callq 0x22d0
jmp 0x6fec
movq 0xa12f(%rip), %rax      # 0x10ff8
movq (%rax), %rdi
movq -0x8(%rbp), %rax
movb 0x8(%rax), %cl
leaq 0x6518(%rip), %rdx      # 0xd3f2
leaq 0x650c(%rip), %rax      # 0xd3ed
testb $0x1, %cl
cmovneq %rax, %rdx
leaq 0x514b(%rip), %rsi      # 0xc03a
movb $0x0, %al
callq 0x22d0
jmp 0x6fec
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x7000
movq %rax, -0x18(%rbp)
movq 0xa0d9(%rip), %rax      # 0x10ff8
movq (%rax), %rdi
movq -0x18(%rbp), %rax
movq (%rax), %rdx
leaq 0x64c8(%rip), %rsi      # 0xd3f8
movb $0x0, %al
callq 0x22d0
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movq -0x18(%rbp), %rcx
cmpl 0x8(%rcx), %eax
jge 0x6f8b
movq -0x10(%rbp), %rdi
callq 0x6e20
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x6f7e
movq 0xa08b(%rip), %rax      # 0x10ff8
movq (%rax), %rdi
leaq 0x6485(%rip), %rsi      # 0xd3fc
movb $0x0, %al
callq 0x22d0
jmp 0x6f80
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x6f3e
movq 0xa066(%rip), %rax      # 0x10ff8
movq (%rax), %rdi
leaq 0x5f5f(%rip), %rsi      # 0xcefb
movb $0x0, %al
callq 0x22d0
jmp 0x6fec
movq 0xa04c(%rip), %rax      # 0x10ff8
movq (%rax), %rdi
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdx
leaq 0x6440(%rip), %rsi      # 0xd3fe
movb $0x0, %al
callq 0x22d0
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x6e20
jmp 0x6fec
movq 0xa01d(%rip), %rax      # 0x10ff8
movq (%rax), %rdi
leaq 0x641d(%rip), %rsi      # 0xd402
movb $0x0, %al
callq 0x22d0
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)