// File: /workspace/github_c_makefile_star2_O2/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 0xe55e(%rip), %r13      # 0x1c1d7
leaq 0xe5d0(%rip), %rbp      # 0x1c250
movq %r13, %rdi
movq %rbp, %rsi
callq 0x2a188
movq %rax, 0x58(%rsp)
movq %r13, %rdi
movq %rbp, %rsi
callq 0x2a188
movq %rax, 0x60(%rsp)
movq %r15, 0x50(%rsp)
movq (%r14), %rax
movq %rax, 0x40(%rsp)
movq (%rbx), %rax
movq %rax, 0x48(%rsp)
andl $0x0, 0x3c(%rsp)
cmpb $0x0, 0x74(%r12)
jne 0xe117
cmpb $0x0, 0x73(%r12)
jne 0xe117
movq %r12, %rdi
callq 0x4f1a
movq %rax, 0x8(%rsp)
movq %r12, %rdi
callq 0x25902
movq 0x30(%r12), %r15
testl %eax, %eax
je 0xdf85
movq %rbx, 0x90(%rsp)
leaq 0x504dd(%rip), %r13     # 0x5e1e0
cmpb $0x0, 0x69(%r13)
jne 0xdd18
cmpb $0x0, 0x46(%r13)
jne 0xdd18
cmpb $0x0, 0x66(%r13)
je 0xdd2b
leaq 0x20911(%rip), %rdi     # 0x2e630
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 0x1dbdd
testq %rax, %rax
je 0xddd4
movq %rax, %r15
movq %r14, 0x88(%rsp)
movl $0x1, 0x3c(%rsp)
movq (%rsp), %rsi
leaq 0x2539(%rip), %rcx      # 0x102a2
pushq $0x8
popq %r13
movq %rax, %rdi
movq %r13, %rdx
callq 0x40d0
xorl %r14d, %r14d
cmpq (%rsp), %r14
jae 0xddbd
movq (%r15,%r14,8), %rdi
callq 0x1bf2d
movq %r13, %rdi
movq %rax, %rsi
callq 0xd890
movq %rax, %rbp
movq 0x60(%rsp), %rdi
movq (%r15,%r14,8), %rsi
movq %rax, %rdx
callq 0x2a22a
movq (%r15,%r14,8), %rdi
callq 0x10f54
movq %rax, %r13
addq %rbp, %r13
incq %r14
jmp 0xdd7b
movq %r15, %rdi
callq 0x4040
movq 0x88(%rsp), %r14
leaq 0x5040c(%rip), %r13     # 0x5e1e0
cmpl $0xc, 0x8(%rbx)
jne 0xe136
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rsp)
movq (%rbx), %rdi
callq 0x1bc4f
movq %rax, 0x28(%rsp)
andl $0x0, 0x38(%rsp)
movq 0x28(%rbx), %rax
movq 0x68(%rax), %rax
movq (%rax), %r15
movq %r15, %rdi
callq 0x11260
movl %eax, 0x38(%rsp)
leal -0x2(%rax), %ecx
movq %r14, %rbp
cmpl $0x6, %ecx
jae 0xdfd2
movq (%rbx), %rdi
movq %r15, %rsi
callq 0x2020c
movq (%rbx), %rdi
movq %rsp, %rdx
movq %rax, %rsi
callq 0x1bdcc
movq %rax, 0x30(%rsp)
xorl %r14d, %r14d
leaq 0x10(%rsp), %r15
cmpq 0x30(%rbx), %r14
jae 0xde5f
movq 0x38(%rbx), %rax
movq (%rax,%r14,8), %rsi
movq %r15, %rdi
callq 0x1042e
incq %r14
jmp 0xde44
movq 0x40(%rbx), %rsi
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x1048b
movq 0x18(%r15), %rsi
movq %r15, %rdi
callq 0xe461
movb 0x46(%r13), %al
orb 0x66(%r13), %al
je 0xdeac
xorl %ebx, %ebx
movq 0x33141(%rip), %r14     # 0x40fd0
cmpq 0x20(%rsp), %rbx
jae 0xdeac
movq 0x18(%rsp), %rax
movq (%rax,%rbx,8), %rdi
movq (%r14), %rsi
callq 0x1201b
incq %rbx
jmp 0xde8f
xorl %ebx, %ebx
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
cmpq %rdx, %rbx
jae 0xdedc
movq (%rsi,%rbx,8), %rdi
cmpl $0x8, 0x8(%rdi)
jne 0xded7
xorl %esi, %esi
callq 0x12bd3
movq 0x18(%rsp), %rcx
movq %rax, (%rcx,%rbx,8)
incq %rbx
jmp 0xdeae
movq %r12, %rdi
callq 0x25171
movq %rax, %r15
movq %rax, %rdi
callq 0x27418
movb 0x73(%r13), %al
orb 0x74(%r13), %al
je 0xdf0b
movq 0x330d0(%rip), %rax     # 0x40fd0
movq (%rax), %rsi
movq %r15, %rdi
callq 0x2562d
pushq $0x60
popq %rdi
callq 0x29a78
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 0xe08c
movq 0x20(%r12), %r14
cmpq $0x0, 0x18(%r14)
je 0xe074
movq 0x20(%r14), %rdi
leaq 0x1fb76(%rip), %rsi     # 0x2dad4
callq 0x2a626
testl %eax, %eax
jne 0xe08c
movq 0x20(%r14), %rdi
leaq 0x1fb67(%rip), %rsi     # 0x2dadd
callq 0x2a626
testl %eax, %eax
setne %bl
jmp 0xe08c
pushq $0x1
popq %rsi
movq %r15, %rdi
callq 0x12bd3
movq %rax, %r15
movq %rax, 0x30(%r12)
testq %rax, %rax
je 0xe016
movq %r15, %rdi
callq 0x1b5e6
cmpl $0x35, %eax
jne 0xe01e
movq 0x50(%r15), %rax
movq (%rax), %rax
cmpl $0x5, 0x18(%rax)
jne 0xe05d
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
callq 0x10227
movq %rax, 0x30(%r12)
jmp 0xe05d
cmpl $0x1, %eax
je 0xe129
cmpl $0x8, %eax
jne 0xde3c
movq (%rbx), %rdi
movq %r15, %rsi
callq 0x2020c
movq (%rbx), %rdi
movq %rsp, %r15
movq %rax, %rsi
movq %r15, %rdx
callq 0x1bdcc
leaq 0x10(%rsp), %rdi
movq %rax, 0x20(%rdi)
movq (%r15), %rsi
callq 0x1042e
jmp 0xde3c
cmpb $0x0, 0x72(%r12)
je 0xe05d
cmpl $0x0, 0x30(%r15)
je 0xe155
movq %r15, %rdi
callq 0x1b5e6
cmpl $0x39, %eax
ja 0xe16e
movl %eax, %eax
movabsq $0x348020000000000, %rcx # imm = 0x348020000000000
btq %rax, %rcx
jae 0xe16e
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
callq 0x1056e
leaq 0x40(%rsp), %rdi
leaq 0x48(%rsp), %rsi
movq %r12, %rdx
callq 0x29b2d
jmp 0xe0fd
movq 0x20(%r14), %rdi
leaq 0x1faa6(%rip), %rsi     # 0x2db25
callq 0x2a626
testl %eax, %eax
je 0xdf53
movb %bl, 0x58(%r13)
movq 0x68(%rsp), %rdi
pushq $0x8
popq %rsi
callq 0x2ac13
movq %rax, 0x38(%r13)
movups 0x58(%rsp), %xmm0
movups %xmm0, 0x28(%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 0x29b2d
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 0xde32
leaq 0x20502(%rip), %rdi     # 0x2e63f
leaq 0x20170(%rip), %rsi     # 0x2e2b4
leaq 0x20505(%rip), %rcx     # 0x2e650
movl $0x57a, %edx            # imm = 0x57A
callq 0x4180
movq %r12, %rdi
callq 0x1befe
leaq 0x20564(%rip), %rdi     # 0x2e6c8
movq %rax, %rsi
xorl %eax, %eax
callq 0x1205c
movq %r12, %rdi
callq 0x1befe
leaq 0x2052c(%rip), %rsi     # 0x2e6a9
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x120fd