// File: /workspace/github_c_makefile_star2_O2/System-Glitch[P]ESGILinter-C/src/rules/array_bracket_eol.c
// Function: array_bracket_eol
unsigned int array_bracket_eol(arraylist_t *file, arraylist_t *real_file) {
	unsigned int counter = 0;

	for(unsigned int i = 0; i < file->size; i++) {
		counter += array_bracket_eol_check(get_line(file, i), real_file);
	}
	return counter;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, 0x20(%rsp)
movq %rdi, %rbx
xorl %r13d, %r13d
pushq $0x29
popq %r12
xorl %r15d, %r15d
movq %rdi, 0x10(%rsp)
movl %r15d, %eax
cmpq %rax, 0x8(%rbx)
jbe 0x8d55
movq %rbx, %rdi
movl %r15d, %esi
callq 0x2a1e
movq %rax, 0x30(%rsp)
movq (%rax), %rdi
callq 0x77dc
movq %rax, %rbp
movq %rax, %rdi
pushq $0xa
popq %rsi
callq 0x7b78
movl %eax, %r14d
movq %rbp, %rdi
movl %r12d, %esi
callq 0x7b78
movl %eax, 0x1c(%rsp)
movq %rbp, %rdi
pushq $0x7b
popq %rsi
callq 0x7b78
cmpl $-0x1, %eax
setne %cl
movl %r14d, 0x18(%rsp)
cmpl $-0x1, %r14d
setne %dl
andb %cl, %dl
movl $0x0, 0xc(%rsp)
cmpb $0x1, %dl
jne 0x8ca8
movl %r15d, 0x8(%rsp)
movl %eax, %r12d
movslq %r12d, %r14
leaq (%r14,%rbp), %r15
movq %rbp, %rdi
callq 0x20b0
movq %rbp, %rdi
movq %r15, %rsi
movl %eax, %edx
callq 0x7e2e
testb %al, %al
je 0x8ba4
pushq $0x29
popq %r12
movl 0x8(%rsp), %r15d
jmp 0x8ca8
movq %r14, 0x38(%rsp)
movq %r13, 0x28(%rsp)
leal -0x1(%r12), %eax
movslq %eax, %r15
leaq (%r12,%rbp), %r14
addq $-0x2, %r14
movq %rax, 0x40(%rsp)
leaq (%rax,%rbp), %rbx
incq %r15
xorl %r13d, %r13d
leal (%r12,%r13), %eax
cmpl $0x2, %eax
jl 0x8c0e
movb (%rbx,%r13), %al
cmpb $0x6f, %al
jne 0x8be5
cmpb $0x64, (%r14,%r13)
je 0x8bf9
movsbl %al, %edi
callq 0x7ace
decq %r13
decq %r15
testb %al, %al
jne 0x8bcd
jmp 0x8c0e
movl 0x40(%rsp), %eax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorq %rcx, %rax
cmpq %r13, %rax
jne 0x8cc7
movl 0x1c(%rsp), %ecx
cmpl $-0x1, %ecx
movq 0x28(%rsp), %r13
je 0x8cbd
movl 0x18(%rsp), %eax
cmpl %ecx, %eax
movq 0x10(%rsp), %rbx
movl 0x8(%rsp), %r15d
jle 0x8ca4
cmpl %r12d, %eax
jge 0x8ca4
movq 0x30(%rsp), %r12
movq (%r12), %rdi
callq 0x7af0
movl %eax, %r14d
movl 0x10(%r12), %ebx
movl %ebx, %esi
subl $0x1, %esi
adcl %eax, %esi
movq 0x20(%rsp), %rdi
callq 0x6978
movq %rax, %rdi
callq 0x7daf
movq %rax, %r15
cmpl $0x1, %ebx
movq 0x10(%rsp), %rbx
movq 0x8(%r12), %rdi
adcl 0x10(%r12), %r14d
movl %r14d, %esi
movq %rax, %rdx
leaq 0x5cf0(%rip), %rcx      # 0xe978
callq 0x560c
movq %rbp, %rdi
callq 0x2030
movq %r15, %rbp
movl 0x8(%rsp), %r15d
pushq $0x1
popq %rax
movl %eax, 0xc(%rsp)
pushq $0x29
popq %r12
movq %rbp, %rdi
callq 0x2030
addl 0xc(%rsp), %r13d
incl %r15d
jmp 0x8af9
movq 0x10(%rsp), %rbx
jmp 0x8b96
movq 0x28(%rsp), %r13
pushq $0x29
popq %r12
movq 0x38(%rsp), %rax
cmpq %rax, %r15
jge 0x8d4b
cmpb $0xa, (%rbp,%r15)
leaq 0x1(%r15), %r15
jne 0x8cd5
movq 0x30(%rsp), %rbx
movq (%rbx), %rdi
callq 0x7af0
movl %eax, %r14d
movl 0x10(%rbx), %eax
movl %eax, 0xc(%rsp)
movl %eax, %esi
subl $0x1, %esi
adcl %r14d, %esi
movq 0x20(%rsp), %rdi
callq 0x6978
movq %rax, %rdi
callq 0x7daf
movq %rax, %r15
cmpl $0x1, 0xc(%rsp)
movq 0x8(%rbx), %rdi
adcl 0x10(%rbx), %r14d
movl %r14d, %esi
movq %rax, %rdx
leaq 0x5c44(%rip), %rcx      # 0xe978
callq 0x560c
movq %rbp, %rdi
callq 0x2030
movq %r15, %rbp
pushq $0x1
popq %rax
movl %eax, 0xc(%rsp)
movq 0x10(%rsp), %rbx
jmp 0x8b9a
movl %r13d, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop