// File: /workspace/github_c_makefile_star2_O0/OstCollector[P]config2c/config2c.c
// Function: helper_dump_scale
static void helper_dump_scale(const struct type_decl *decl,
		string name, const struct string_list *vars, int l)
{
	string dump_func;

	osi(l, "indent(func, ctx, l + 1);\n");
	osi(l, "func(ctx, \".%s = \");\n", name);
	switch (decl->type) {
	case TYPE_DECL_PRIM:
		dump_func = lookup_map(decl->type_name)->dump_func;
		osi(l, "%s(func, ctx", dump_func);
		break;
	case TYPE_DECL_ENUM:
		osi(l, "dump__enum_%s(func, ctx", decl->type_name);
		break;
	case TYPE_DECL_STRUCT:
		osi(l, "dump__struct_%s(func, ctx, l + 1", decl->type_name);
		break;
	case TYPE_DECL_UNION:
		osi(l, "dump__union_%s(func, ctx, l + 1", decl->type_name);
		break;
	}
	if (vars) {
		out_src(", ");
		out_str_list(0, "&value->", "", vars);
	}
	out_src(");\n");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movl -0x1c(%rbp), %edi
callq 0x6fd0
movq 0xef7a(%rip), %rdi      # 0x1b2a0
leaq 0xaf7e(%rip), %rsi      # 0x172ab
movb $0x0, %al
callq 0x2100
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jle 0xc365
movq 0xecad(%rip), %rax      # 0x1aff0
movq (%rax), %rdi
leaq 0x9607(%rip), %rsi      # 0x15954
leaq 0x9618(%rip), %rdx      # 0x1596c
movb $0x0, %al
callq 0x2100
movl $0x1, %edi
callq 0x2180
jmp 0xc367
jmp 0xc369
jmp 0xc36b
movl -0x1c(%rbp), %edi
callq 0x6fd0
movq 0xef26(%rip), %rdi      # 0x1b2a0
movq -0x10(%rbp), %rdx
leaq 0xaf41(%rip), %rsi      # 0x172c6
movb $0x0, %al
callq 0x2100
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jle 0xc3bd
movq 0xec55(%rip), %rax      # 0x1aff0
movq (%rax), %rdi
leaq 0x95af(%rip), %rsi      # 0x15954
leaq 0x95c0(%rip), %rdx      # 0x1596c
movb $0x0, %al
callq 0x2100
movl $0x1, %edi
callq 0x2180
jmp 0xc3bf
jmp 0xc3c1
movq -0x8(%rbp), %rax
movl (%rax), %eax
movq %rax, -0x30(%rbp)
subq $0x3, %rax
ja 0xc576
movq -0x30(%rbp), %rax
leaq 0x8d3c(%rip), %rcx      # 0x1511c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x8960
movq 0x18(%rax), %rax
movq %rax, -0x28(%rbp)
movl -0x1c(%rbp), %edi
callq 0x6fd0
movq 0xee93(%rip), %rdi      # 0x1b2a0
movq -0x28(%rbp), %rdx
leaq 0xaecf(%rip), %rsi      # 0x172e7
movb $0x0, %al
callq 0x2100
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jle 0xc450
movq 0xebc2(%rip), %rax      # 0x1aff0
movq (%rax), %rdi
leaq 0x951c(%rip), %rsi      # 0x15954
leaq 0x952d(%rip), %rdx      # 0x1596c
movb $0x0, %al
callq 0x2100
movl $0x1, %edi
callq 0x2180
jmp 0xc452
jmp 0xc454
jmp 0xc576
jmp 0xc45b
movl -0x1c(%rbp), %edi
callq 0x6fd0
movq 0xee36(%rip), %rdi      # 0x1b2a0
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdx
leaq 0xae63(%rip), %rsi      # 0x172dc
movb $0x0, %al
callq 0x2100
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jle 0xc4b1
movq 0xeb61(%rip), %rax      # 0x1aff0
movq (%rax), %rdi
leaq 0x94bb(%rip), %rsi      # 0x15954
leaq 0x94cc(%rip), %rdx      # 0x1596c
movb $0x0, %al
callq 0x2100
movl $0x1, %edi
callq 0x2180
jmp 0xc4b3
jmp 0xc4b5
jmp 0xc576
jmp 0xc4bc
movl -0x1c(%rbp), %edi
callq 0x6fd0
movq 0xedd5(%rip), %rdi      # 0x1b2a0
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdx
leaq 0xae1a(%rip), %rsi      # 0x172f4
movb $0x0, %al
callq 0x2100
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jle 0xc512
movq 0xeb00(%rip), %rax      # 0x1aff0
movq (%rax), %rdi
leaq 0x945a(%rip), %rsi      # 0x15954
leaq 0x946b(%rip), %rdx      # 0x1596c
movb $0x0, %al
callq 0x2100
movl $0x1, %edi
callq 0x2180
jmp 0xc514
jmp 0xc516
jmp 0xc576
jmp 0xc51a
movl -0x1c(%rbp), %edi
callq 0x6fd0
movq 0xed77(%rip), %rdi      # 0x1b2a0
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdx
leaq 0xaddd(%rip), %rsi      # 0x17315
movb $0x0, %al
callq 0x2100
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jle 0xc570
movq 0xeaa2(%rip), %rax      # 0x1aff0
movq (%rax), %rdi
leaq 0x93fc(%rip), %rsi      # 0x15954
leaq 0x940d(%rip), %rdx      # 0x1596c
movb $0x0, %al
callq 0x2100
movl $0x1, %edi
callq 0x2180
jmp 0xc572
jmp 0xc574
jmp 0xc576
cmpq $0x0, -0x18(%rbp)
je 0xc5e0
jmp 0xc57f
movq 0xed1a(%rip), %rdi      # 0x1b2a0
leaq 0xa80c(%rip), %rsi      # 0x16d99
movb $0x0, %al
callq 0x2100
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jle 0xc5c5
movq 0xea4d(%rip), %rax      # 0x1aff0
movq (%rax), %rdi
leaq 0x93a7(%rip), %rsi      # 0x15954
leaq 0x93b8(%rip), %rdx      # 0x1596c
movb $0x0, %al
callq 0x2100
movl $0x1, %edi
callq 0x2180
jmp 0xc5c7
movq -0x18(%rbp), %rcx
xorl %edi, %edi
leaq 0xa6cb(%rip), %rsi      # 0x16c9f
leaq 0x9bc9(%rip), %rdx      # 0x161a4
callq 0xba30
jmp 0xc5e2
movq 0xecb7(%rip), %rdi      # 0x1b2a0
leaq 0xace8(%rip), %rsi      # 0x172d8
movb $0x0, %al
callq 0x2100
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jle 0xc628
movq 0xe9ea(%rip), %rax      # 0x1aff0
movq (%rax), %rdi
leaq 0x9344(%rip), %rsi      # 0x15954
leaq 0x9355(%rip), %rdx      # 0x1596c
movb $0x0, %al
callq 0x2100
movl $0x1, %edi
callq 0x2180
jmp 0xc62a
addq $0x30, %rsp
popq %rbp
retq