// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/6/simp.c
// Function: simpglobl
void
simpglobl(Node *dcl, Htab *globls, Func ***fn, size_t *nfn, Node ***blob, size_t *nblob)
{
	Simp s = {0,};
	char *name;
	Func *f;

	s.stkoff = mkht(varhash, vareq);
	s.envoff = mkht(varhash, vareq);
	s.globls = globls;
	s.blobs = *blob;
	s.nblobs = *nblob;
	s.hasenv = 0;

	if (dcl->decl.isextern || dcl->decl.isgeneric)
		return;

	name = asmname(dcl);
	if (isconstfn(dcl)) {
		f = simpfn(&s, name, dcl);
		lappend(fn, nfn, f);
	} else {
		simpconstinit(&s, dcl);
	}
	*blob = s.blobs;
	*nblob = s.nblobs;

	free(name);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %r9, %rbx
movq %r8, %r14
movq %rcx, 0xa0(%rsp)
movq %rdx, 0x98(%rsp)
movq %rsi, %r15
movq %rdi, %r12
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
leaq 0xf62a(%rip), %r13      # 0x1e89e
leaq 0xf692(%rip), %rbp      # 0x1e90d
movq %r13, %rdi
movq %rbp, %rsi
callq 0x2db1c
movq %rax, 0x58(%rsp)
movq %r13, %rdi
movq %rbp, %rsi
callq 0x2db1c
movq %rax, 0x60(%rsp)
movq %r15, 0x50(%rsp)
movq (%r14), %rax
movq %rax, 0x40(%rsp)
movq (%rbx), %rax
movq %rax, 0x48(%rsp)
movl $0x0, 0x3c(%rsp)
cmpb $0x0, 0x74(%r12)
jne 0xf74f
cmpb $0x0, 0x73(%r12)
jne 0xf74f
movq %r12, %rdi
callq 0x5630
movq %rax, 0x8(%rsp)
movq %r12, %rdi
callq 0x28e87
movq 0x30(%r12), %r15
testl %eax, %eax
je 0xf5b1
movq %rbx, 0x90(%rsp)
leaq 0x51edf(%rip), %r13     # 0x611e0
cmpb $0x0, 0x69(%r13)
jne 0xf316
cmpb $0x0, 0x46(%r13)
jne 0xf316
cmpb $0x0, 0x66(%r13)
je 0xf329
leaq 0x23333(%rip), %rdi     # 0x32650
movq 0x8(%rsp), %rsi
xorl %eax, %eax
callq 0x4140
movq 0x50(%r15), %rax
movq (%rax), %rax
movq 0x30(%rax), %rbx
movq 0x20(%rbx), %rdi
movq %rsp, %rsi
callq 0x203f2
testq %rax, %rax
je 0xf3e3
movq %rax, %r15
movq %r14, 0x88(%rsp)
movl $0x1, 0x3c(%rsp)
movq (%rsp), %rsi
leaq 0x26dd(%rip), %rcx      # 0x11a44
movl $0x8, %r13d
movl $0x8, %edx
movq %rax, %rdi
callq 0x40d0
cmpq $0x0, (%rsp)
je 0xf3cc
xorl %r14d, %r14d
movq (%r15,%r14,8), %rdi
callq 0x1e56c
movq %rax, %rdi
callq 0x1282d
movq %r13, %rdi
movq %rax, %rsi
callq 0x2e697
movq %rax, %rbp
movq 0x60(%rsp), %rdi
movq (%r15,%r14,8), %rsi
movq %rax, %rdx
callq 0x2dbc2
movq (%r15,%r14,8), %rdi
callq 0x1281a
movq %rax, %r13
addq %rbp, %r13
incq %r14
cmpq (%rsp), %r14
jb 0xf384
movq %r15, %rdi
callq 0x4040
movq 0x88(%rsp), %r14
leaq 0x51dfd(%rip), %r13     # 0x611e0
cmpl $0xc, 0x8(%rbx)
jne 0xf76e
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rsp)
movq (%rbx), %rdi
callq 0x1e053
movq %rax, 0x28(%rsp)
movl $0x0, 0x38(%rsp)
movq 0x28(%rbx), %rax
movq 0x68(%rax), %rax
movq (%rax), %r15
movq %r15, %rdi
callq 0x12b78
movl %eax, 0x38(%rsp)
leal -0x2(%rax), %ecx
movq %r14, %rbp
cmpl $0x6, %ecx
jae 0xf65e
movq (%rbx), %rdi
movq %r15, %rsi
callq 0x231bc
movq (%rbx), %rdi
movq %rsp, %rdx
movq %rax, %rsi
callq 0x1e345
movq %rax, 0x30(%rsp)
cmpq $0x0, 0x30(%rbx)
je 0xf476
xorl %r14d, %r14d
leaq 0x10(%rsp), %r15
movq 0x38(%rbx), %rax
movq (%rax,%r14,8), %rsi
movq %r15, %rdi
callq 0x11c3f
incq %r14
cmpq 0x30(%rbx), %r14
jb 0xf45d
movq 0x40(%rbx), %rsi
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x11c9c
movq 0x18(%r15), %rsi
movq %r15, %rdi
callq 0xfaab
movb 0x46(%r13), %al
orb 0x66(%r13), %al
je 0xf4c9
cmpq $0x0, 0x20(%rsp)
je 0xf4c9
xorl %ebx, %ebx
movq 0x34b22(%rip), %r14     # 0x43fd0
movq 0x18(%rsp), %rax
movq (%rax,%rbx,8), %rdi
movq (%r14), %rsi
callq 0x139c1
incq %rbx
cmpq 0x20(%rsp), %rbx
jb 0xf4ae
movq 0x20(%rsp), %rdx
testq %rdx, %rdx
je 0xf501
xorl %ebx, %ebx
movq 0x18(%rsp), %rax
movq (%rax,%rbx,8), %rdi
cmpl $0x8, 0x8(%rdi)
jne 0xf4f4
xorl %esi, %esi
callq 0x14703
movq 0x18(%rsp), %rcx
movq %rax, (%rcx,%rbx,8)
incq %rbx
movq 0x20(%rsp), %rdx
cmpq %rdx, %rbx
jb 0xf4d5
movq 0x18(%rsp), %rsi
movq %r12, %rdi
callq 0x2869e
movq %rax, %r15
movq %rax, %rdi
callq 0x2aa54
movb 0x73(%r13), %al
orb 0x74(%r13), %al
je 0xf535
movq 0x34aa6(%rip), %rax     # 0x43fd0
movq (%rax), %rsi
movq %r15, %rdi
callq 0x28b7f
movl $0x60, %edi
callq 0x2d348
movq %rax, %r13
movq 0x8(%rsp), %rdi
callq 0x4340
movq %rax, (%r13)
movq (%r12), %rax
movq %rax, 0x8(%r13)
movq 0x28(%r12), %rax
movq %rax, 0x10(%r13)
movb $0x1, %bl
cmpb $0x0, 0x70(%r12)
jne 0xf6ba
movq 0x20(%r12), %r14
cmpq $0x0, 0x18(%r14)
je 0xf6a2
movq 0x20(%r14), %rdi
leaq 0x2253a(%rip), %rsi     # 0x31ac4
callq 0x2dfda
testl %eax, %eax
jne 0xf6ba
movq 0x20(%r14), %rdi
leaq 0x2252b(%rip), %rsi     # 0x31acd
callq 0x2dfda
testl %eax, %eax
setne %bl
jmp 0xf6ba
leaq 0x40(%rsp), %r13
movq %r15, %rdi
movl $0x1, %esi
callq 0x14703
movq %rax, %rbp
movq %rax, 0x30(%r12)
testq %rax, %rax
je 0xf5fe
movq %rbp, %rdi
callq 0x1d672
cmpl $0x35, %eax
jne 0xf5fe
movq 0x50(%rbp), %rax
movq (%rax), %rax
cmpl $0x5, 0x18(%rax)
jne 0xf649
leaq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0x119c9
movq %rax, 0x30(%r12)
jmp 0xf649
testq %rbp, %rbp
jne 0xf60b
cmpb $0x0, 0x72(%r12)
je 0xf649
cmpl $0x0, 0x30(%rbp)
je 0xf78d
movq %rbp, %rdi
callq 0x1d672
cmpl $0x39, %eax
ja 0xf7a6
movl %eax, %eax
movabsq $0x348020000000000, %rcx # imm = 0x348020000000000
btq %rax, %rcx
jae 0xf7a6
leaq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0x11d8d
movq %r13, %rdi
leaq 0x48(%rsp), %rsi
movq %r12, %rdx
callq 0x2d3ff
jmp 0xf735
cmpl $0x1, %eax
je 0xf761
cmpl $0x8, %eax
jne 0xf44e
movq (%rbx), %rdi
movq %r15, %rsi
callq 0x231bc
movq (%rbx), %rdi
movq %rsp, %r15
movq %rax, %rsi
movq %r15, %rdx
callq 0x1e345
leaq 0x10(%rsp), %rdi
movq %rax, 0x20(%rdi)
movq (%r15), %rsi
callq 0x11c3f
jmp 0xf44e
movq 0x20(%r14), %rdi
leaq 0x22468(%rip), %rsi     # 0x31b15
callq 0x2dfda
testl %eax, %eax
je 0xf57f
movb %bl, 0x58(%r13)
movq 0x68(%rsp), %rdi
movl $0x8, %esi
callq 0x2e697
movq %rax, 0x38(%r13)
movq 0x58(%rsp), %rax
movq %rax, 0x28(%r13)
movq 0x60(%rsp), %rax
movq %rax, 0x30(%r13)
movq 0x30(%rsp), %rax
movq %rax, 0x40(%r13)
movl 0x38(%rsp), %eax
movl %eax, 0x48(%r13)
movq 0x70(%rsp), %rax
movq %rax, 0x18(%r13)
movq 0x78(%rsp), %rax
movq %rax, 0x20(%r13)
movq %r15, 0x50(%r13)
movb 0x3c(%rsp), %al
movb %al, 0x59(%r13)
movq 0x98(%rsp), %rdi
movq 0xa0(%rsp), %rsi
movq %r13, %rdx
callq 0x2d3ff
movq 0x90(%rsp), %rbx
movq %rbp, %r14
movq 0x40(%rsp), %rax
movq %rax, (%r14)
movq 0x48(%rsp), %rax
movq %rax, (%rbx)
movq 0x8(%rsp), %rdi
callq 0x4040
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%rbx), %rdi
movq %r15, %rsi
xorl %edx, %edx
jmp 0xf444
leaq 0x22eea(%rip), %rdi     # 0x3265f
leaq 0x22b58(%rip), %rsi     # 0x322d4
leaq 0x22eed(%rip), %rcx     # 0x32670
movl $0x57a, %edx            # imm = 0x57A
callq 0x4180
movq %r12, %rdi
callq 0x1e53d
leaq 0x22f4c(%rip), %rdi     # 0x326e8
movq %rax, %rsi
xorl %eax, %eax
callq 0x13a00
movq %r12, %rdi
callq 0x1e53d
leaq 0x22f14(%rip), %rsi     # 0x326c9
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x13aa3