// File: brc7[P]DiversitySampling/src/RACE.cpp
// Function: RACE::pprint(std::ostream&, int, bool)
void RACE::pprint(std::ostream& out, int width, bool format){
	for (size_t r = 0; r < _R; r++){
		if (format)
			out << std::string((width+1)*_range + 1, '-') << std::endl; 
		for (size_t i = 0; i < _range; i++)
			out << '|' << std::setw(width) << _sketch[r*_range + i];
		out << '|' << std::endl; 
	}
	if (format)
		out << std::string((width+1)*_range + 1, '-') << std::endl; 
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movb %cl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
andb $0x1, %al
movb %al, -0x15(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x98(%rbp)
movq $0x0, -0x20(%rbp)
movq -0x98(%rbp), %rcx
movq -0x20(%rbp), %rax
cmpq (%rcx), %rax
jae 0x3c31
testb $0x1, -0x15(%rbp)
je 0x3b8a
movq -0x98(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
movl -0x14(%rbp), %eax
incl %eax
cltq
movq 0x8(%rcx), %rcx
imulq %rcx, %rax
incq %rax
movq %rax, -0xa8(%rbp)
leaq -0x41(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
callq 0x23a0
movq -0xa8(%rbp), %rsi
movq -0xa0(%rbp), %rcx
leaq -0x40(%rbp), %rdi
movl $0x2d, %edx
callq 0x3d30
jmp 0x3b17
movq -0xb0(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x2190
movq %rax, -0xb8(%rbp)
jmp 0x3b30
movq -0xb8(%rbp), %rdi
movq 0x547a(%rip), %rsi      # 0x8fb8
callq 0x21d0
jmp 0x3b45
leaq -0x40(%rbp), %rdi
callq 0x2120
leaq -0x41(%rbp), %rdi
callq 0x21f0
jmp 0x3b8a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0x3b7c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x2120
leaq -0x41(%rbp), %rdi
callq 0x21f0
jmp 0x3d22
movq $0x0, -0x60(%rbp)
movq -0x98(%rbp), %rcx
movq -0x60(%rbp), %rax
cmpq 0x8(%rcx), %rax
jae 0x3c03
movq -0x10(%rbp), %rdi
movl $0x7c, %esi
callq 0x2250
movq %rax, -0xc0(%rbp)
movl -0x14(%rbp), %edi
callq 0x3da0
movq -0xc0(%rbp), %rdi
movl %eax, -0x64(%rbp)
movl -0x64(%rbp), %esi
callq 0x2230
movq -0x98(%rbp), %rdx
movq %rax, %rdi
movq 0x10(%rdx), %rax
movq -0x20(%rbp), %rcx
imulq 0x8(%rdx), %rcx
addq -0x60(%rbp), %rcx
movl (%rax,%rcx,4), %esi
callq 0x22d0
movq -0x60(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x60(%rbp)
jmp 0x3b92
movq -0x10(%rbp), %rdi
movl $0x7c, %esi
callq 0x2250
movq %rax, %rdi
movq 0x539d(%rip), %rsi      # 0x8fb8
callq 0x21d0
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x3aa0
testb $0x1, -0x15(%rbp)
je 0x3d19
movq -0x98(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rax, -0xd8(%rbp)
movl -0x14(%rbp), %eax
incl %eax
cltq
movq 0x8(%rcx), %rcx
imulq %rcx, %rax
incq %rax
movq %rax, -0xd0(%rbp)
leaq -0x89(%rbp), %rdi
movq %rdi, -0xc8(%rbp)
callq 0x23a0
movq -0xd0(%rbp), %rsi
movq -0xc8(%rbp), %rcx
leaq -0x88(%rbp), %rdi
movl $0x2d, %edx
callq 0x3d30
jmp 0x3c9a
movq -0xd8(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0x2190
movq %rax, -0xe0(%rbp)
jmp 0x3cb6
movq -0xe0(%rbp), %rdi
movq 0x52f4(%rip), %rsi      # 0x8fb8
callq 0x21d0
jmp 0x3ccb
leaq -0x88(%rbp), %rdi
callq 0x2120
leaq -0x89(%rbp), %rdi
callq 0x21f0
jmp 0x3d19
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0x3d0b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x88(%rbp), %rdi
callq 0x2120
leaq -0x89(%rbp), %rdi
callq 0x21f0
jmp 0x3d22
addq $0xe0, %rsp
popq %rbp
retq
movq -0x50(%rbp), %rdi
callq 0x2390
nopl (%rax,%rax)