// File: /workspace/github_c_makefile_star2_O0/Oric4ever[P]lcc65/6502/build/../src/main.c
// Function: bbincr
static void bbincr(yycounts, cp, e) Symbol yycounts; Coordinate *cp; Tree *e; {
	struct map *mp = (struct map *)maplist->x;

	/* append *cp to source map */
	if (mp->size >= sizeof mp->u/sizeof mp->u[0]) {
		mp = (struct map *)alloc(sizeof *mp);
		mp->size = 0;
		maplist = append((Generic *)mp, maplist);
	}
	mp->u[mp->size].c.x = cp->x;
	mp->u[mp->size].c.y = cp->y;
	mp->u[mp->size++].c.index = bbfile(cp->file);
	*e = right(incr('+', rvalue((*opnode['+'])(ADD, pointer(idnode(yycounts)),
		constnode(npoints++, inttype))), constnode(1, inttype)), *e);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq 0x2477d(%rip), %rax     # 0x3dc18
movq (%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movslq (%rax), %rax
cmpq $0xc8, %rax
jb 0x19585
leaq 0x22184(%rip), %rax     # 0x3b640
movq (%rax), %rax
movl $0x328, (%rax)          # imm = 0x328
leaq 0x22174(%rip), %rax     # 0x3b640
movq (%rax), %rax
movq 0x8(%rax), %rax
leaq 0x22166(%rip), %rcx     # 0x3b640
movq (%rcx), %rcx
movslq (%rcx), %rcx
addq %rcx, %rax
leaq 0x22156(%rip), %rcx     # 0x3b640
movq (%rcx), %rcx
cmpq 0x10(%rcx), %rax
jb 0x19511
leaq 0x22146(%rip), %rax     # 0x3b640
movq (%rax), %rax
movl (%rax), %edi
leaq 0x2213a(%rip), %rsi     # 0x3b640
callq 0x253d0
movq %rax, -0x28(%rbp)
jmp 0x1955c
leaq 0x22128(%rip), %rax     # 0x3b640
movq (%rax), %rax
movl (%rax), %edx
leaq 0x2211c(%rip), %rax     # 0x3b640
movq (%rax), %rax
movq 0x8(%rax), %rcx
movslq %edx, %rdx
addq %rdx, %rcx
movq %rcx, 0x8(%rax)
leaq 0x22104(%rip), %rax     # 0x3b640
movq (%rax), %rax
movq 0x8(%rax), %rax
leaq 0x220f6(%rip), %rcx     # 0x3b640
movq (%rcx), %rcx
movslq (%rcx), %rdx
xorl %ecx, %ecx
subq %rdx, %rcx
addq %rcx, %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movl $0x0, (%rax)
movq -0x20(%rbp), %rdi
movq 0x2469f(%rip), %rsi     # 0x3dc18
callq 0x23500
movq %rax, 0x24693(%rip)     # 0x3dc18
movq -0x10(%rbp), %rax
movzwl 0x8(%rax), %esi
movq -0x20(%rbp), %rax
movq -0x20(%rbp), %rcx
movslq (%rcx), %rcx
movl 0x4(%rax,%rcx,4), %edx
andl $0x3ff, %esi            # imm = 0x3FF
shll $0x10, %esi
andl $0xfc00ffff, %edx       # imm = 0xFC00FFFF
orl %esi, %edx
movl %edx, 0x4(%rax,%rcx,4)
movq -0x10(%rbp), %rax
movzwl 0xa(%rax), %esi
movq -0x20(%rbp), %rax
movq -0x20(%rbp), %rcx
movslq (%rcx), %rcx
movl 0x4(%rax,%rcx,4), %edx
andl $0xffff, %esi           # imm = 0xFFFF
andl $0xffff0000, %edx       # imm = 0xFFFF0000
orl %esi, %edx
movl %edx, 0x4(%rax,%rcx,4)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
callq 0x19b60
movl %eax, %esi
movq -0x20(%rbp), %rax
movq -0x20(%rbp), %rdx
movl (%rdx), %ecx
movl %ecx, %edi
addl $0x1, %edi
movl %edi, (%rdx)
movslq %ecx, %rcx
movl 0x4(%rax,%rcx,4), %edx
andl $0x3f, %esi
shll $0x1a, %esi
andl $0x3ffffff, %edx        # imm = 0x3FFFFFF
orl %esi, %edx
movl %edx, 0x4(%rax,%rcx,4)
leaq 0x1fb37(%rip), %rax     # 0x39150
movq 0x158(%rax), %rax
movq %rax, -0x38(%rbp)
movq -0x8(%rbp), %rdi
callq 0xddf0
movq %rax, %rdi
callq 0xf9f0
movq %rax, -0x40(%rbp)
movl 0x24609(%rip), %edi     # 0x3dc48
movl %edi, %eax
addl $0x1, %eax
movl %eax, 0x245fe(%rip)     # 0x3dc48
leaq 0x2aba7(%rip), %rax     # 0x441f8
movq (%rax), %rsi
callq 0xc7b0
movq -0x40(%rbp), %rsi
movq %rax, %rdx
movq -0x38(%rbp), %rax
movl $0x130, %edi            # imm = 0x130
callq *%rax
movq %rax, %rdi
callq 0xf780
movq %rax, -0x30(%rbp)
leaq 0x2ab7a(%rip), %rax     # 0x441f8
movq (%rax), %rsi
movl $0x1, %edi
callq 0xc7b0
movq -0x30(%rbp), %rsi
movq %rax, %rdx
movl $0x2b, %edi
callq 0x10150
movq %rax, %rdi
movq -0x18(%rbp), %rax
movq (%rax), %rsi
callq 0x105b0
movq %rax, %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax,%rax)