// File: /workspace/github_c_makefile_star2_O0/zhou-yuxin[P]redis-aof-no-cow/deps/jemalloc/src/stats.c
// Function: stats_arena_lruns_print
static void
stats_arena_lruns_print(void (*write_cb)(void *, const char *), void *cbopaque,
    bool json, bool huge, unsigned i)
{
	unsigned nbins, nlruns, j;
	bool in_gap, in_gap_prev;

	CTL_GET("arenas.nbins", &nbins, unsigned);
	CTL_GET("arenas.nlruns", &nlruns, unsigned);
	if (json) {
		malloc_cprintf(write_cb, cbopaque,
		    "\t\t\t\t\"lruns\": [\n");
	} else {
		malloc_cprintf(write_cb, cbopaque,
		    "large:          size ind    allocated      nmalloc"
		    "      ndalloc    nrequests      curruns\n");
	}
	for (j = 0, in_gap = false; j < nlruns; j++) {
		uint64_t nmalloc, ndalloc, nrequests;
		size_t run_size, curruns;

		CTL_M2_M4_GET("stats.arenas.0.lruns.0.nmalloc", i, j, &nmalloc,
		    uint64_t);
		CTL_M2_M4_GET("stats.arenas.0.lruns.0.ndalloc", i, j, &ndalloc,
		    uint64_t);
		CTL_M2_M4_GET("stats.arenas.0.lruns.0.nrequests", i, j,
		    &nrequests, uint64_t);
		in_gap_prev = in_gap;
		in_gap = (nrequests == 0);

		if (!json && in_gap_prev && !in_gap) {
			malloc_cprintf(write_cb, cbopaque,
			    "                     ---\n");
		}

		CTL_M2_GET("arenas.lrun.0.size", j, &run_size, size_t);
		CTL_M2_M4_GET("stats.arenas.0.lruns.0.curruns", i, j, &curruns,
		    size_t);
		if (json) {
			malloc_cprintf(write_cb, cbopaque,
			    "\t\t\t\t\t{\n"
			    "\t\t\t\t\t\t\"curruns\": %zu\n"
			    "\t\t\t\t\t}%s\n",
			    curruns,
			    (j + 1 < nlruns) ? "," : "");
		} else if (!in_gap) {
			malloc_cprintf(write_cb, cbopaque,
			    "%20zu %3u %12zu %12"FMTu64" %12"FMTu64
			    " %12"FMTu64" %12zu\n",
			    run_size, nbins + j, curruns * run_size, nmalloc,
			    ndalloc, nrequests, curruns);
		}
	}
	if (json) {
		malloc_cprintf(write_cb, cbopaque,
		    "\t\t\t\t]%s\n", huge ? "," : "");
	} else {
		if (in_gap) {
			malloc_cprintf(write_cb, cbopaque,
			    "                     ---\n");
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x1c8, %rsp            # imm = 0x1C8
movb %cl, %al
movb %dl, %cl
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
andb $0x1, %cl
movb %cl, -0x19(%rbp)
andb $0x1, %al
movb %al, -0x1a(%rbp)
movl %r8d, -0x20(%rbp)
movq $0x4, -0x38(%rbp)
leaq 0x14875(%rip), %rdi     # 0x9262b
leaq -0x24(%rbp), %rsi
leaq -0x38(%rbp), %rdx
xorl %eax, %eax
movl %eax, %r8d
movq %r8, %rcx
callq 0x35ca0
cmpl $0x0, %eax
je 0x7ddea
leaq 0x13da7(%rip), %rdi     # 0x91b7e
leaq 0x1484d(%rip), %rsi     # 0x9262b
movb $0x0, %al
callq 0x85c20
callq 0xb050
jmp 0x7ddec
jmp 0x7ddee
jmp 0x7ddf0
movq $0x4, -0x40(%rbp)
leaq 0x14959(%rip), %rdi     # 0x92758
leaq -0x28(%rbp), %rsi
leaq -0x40(%rbp), %rdx
xorl %eax, %eax
movl %eax, %r8d
movq %r8, %rcx
callq 0x35ca0
cmpl $0x0, %eax
je 0x7de33
leaq 0x13d5e(%rip), %rdi     # 0x91b7e
leaq 0x14931(%rip), %rsi     # 0x92758
movb $0x0, %al
callq 0x85c20
callq 0xb050
jmp 0x7de35
jmp 0x7de37
testb $0x1, -0x19(%rbp)
je 0x7de55
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq 0x156ab(%rip), %rdx     # 0x934f7
movb $0x0, %al
callq 0x85b80
jmp 0x7de6b
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq 0x156a3(%rip), %rdx     # 0x93507
movb $0x0, %al
callq 0x85b80
movl $0x0, -0x2c(%rbp)
movb $0x0, -0x2d(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0x28(%rbp), %eax
jae 0x7e29c
jmp 0x7de84
movq $0x6, -0xa8(%rbp)
movq $0x8, -0xb0(%rbp)
leaq -0xa0(%rbp), %rsi
leaq 0x156ba(%rip), %rdi     # 0x93562
leaq -0xa8(%rbp), %rdx
callq 0x360b0
cmpl $0x0, %eax
je 0x7ded3
leaq 0x147cf(%rip), %rdi     # 0x9268f
leaq 0x1569b(%rip), %rsi     # 0x93562
movb $0x0, %al
callq 0x85c20
callq 0xb050
jmp 0x7ded5
movl -0x20(%rbp), %eax
movq %rax, -0x90(%rbp)
movl -0x2c(%rbp), %eax
movq %rax, -0x80(%rbp)
leaq -0xa0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
leaq -0x48(%rbp), %rdx
leaq -0xb0(%rbp), %rcx
xorl %eax, %eax
movl %eax, %r9d
movq %r9, %r8
callq 0x364c0
cmpl $0x0, %eax
je 0x7df22
leaq 0x147ac(%rip), %rdi     # 0x926c4
callq 0x828c0
callq 0xb050
jmp 0x7df24
jmp 0x7df26
jmp 0x7df28
movq $0x6, -0xe8(%rbp)
movq $0x8, -0xf0(%rbp)
leaq -0xe0(%rbp), %rsi
leaq 0x15635(%rip), %rdi     # 0x93581
leaq -0xe8(%rbp), %rdx
callq 0x360b0
cmpl $0x0, %eax
je 0x7df77
leaq 0x1472b(%rip), %rdi     # 0x9268f
leaq 0x15616(%rip), %rsi     # 0x93581
movb $0x0, %al
callq 0x85c20
callq 0xb050
jmp 0x7df79
movl -0x20(%rbp), %eax
movq %rax, -0xd0(%rbp)
movl -0x2c(%rbp), %eax
movq %rax, -0xc0(%rbp)
leaq -0xe0(%rbp), %rdi
movq -0xe8(%rbp), %rsi
leaq -0x50(%rbp), %rdx
leaq -0xf0(%rbp), %rcx
xorl %eax, %eax
movl %eax, %r9d
movq %r9, %r8
callq 0x364c0
cmpl $0x0, %eax
je 0x7dfc9
leaq 0x14705(%rip), %rdi     # 0x926c4
callq 0x828c0
callq 0xb050
jmp 0x7dfcb
jmp 0x7dfcd
jmp 0x7dfcf
movq $0x6, -0x128(%rbp)
movq $0x8, -0x130(%rbp)
leaq -0x120(%rbp), %rsi
leaq 0x155ad(%rip), %rdi     # 0x935a0
leaq -0x128(%rbp), %rdx
callq 0x360b0
cmpl $0x0, %eax
je 0x7e01e
leaq 0x14684(%rip), %rdi     # 0x9268f
leaq 0x1558e(%rip), %rsi     # 0x935a0
movb $0x0, %al
callq 0x85c20
callq 0xb050
jmp 0x7e020
movl -0x20(%rbp), %eax
movq %rax, -0x110(%rbp)
movl -0x2c(%rbp), %eax
movq %rax, -0x100(%rbp)
leaq -0x120(%rbp), %rdi
movq -0x128(%rbp), %rsi
leaq -0x58(%rbp), %rdx
leaq -0x130(%rbp), %rcx
xorl %eax, %eax
movl %eax, %r9d
movq %r9, %r8
callq 0x364c0
cmpl $0x0, %eax
je 0x7e070
leaq 0x1465e(%rip), %rdi     # 0x926c4
callq 0x828c0
callq 0xb050
jmp 0x7e072
jmp 0x7e074
movb -0x2d(%rbp), %al
andb $0x1, %al
movb %al, -0x2e(%rbp)
cmpq $0x0, -0x58(%rbp)
sete %al
andb $0x1, %al
movb %al, -0x2d(%rbp)
testb $0x1, -0x19(%rbp)
jne 0x7e0b1
testb $0x1, -0x2e(%rbp)
je 0x7e0b1
testb $0x1, -0x2d(%rbp)
jne 0x7e0b1
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq 0x151c1(%rip), %rdx     # 0x9326b
movb $0x0, %al
callq 0x85b80
jmp 0x7e0b3
movq $0x6, -0x168(%rbp)
movq $0x8, -0x170(%rbp)
leaq -0x160(%rbp), %rsi
leaq 0x146af(%rip), %rdi     # 0x92786
leaq -0x168(%rbp), %rdx
callq 0x360b0
cmpl $0x0, %eax
je 0x7e102
leaq 0x145a0(%rip), %rdi     # 0x9268f
leaq 0x14690(%rip), %rsi     # 0x92786
movb $0x0, %al
callq 0x85c20
callq 0xb050
jmp 0x7e104
movl -0x2c(%rbp), %eax
movq %rax, -0x150(%rbp)
leaq -0x160(%rbp), %rdi
movq -0x168(%rbp), %rsi
leaq -0x60(%rbp), %rdx
leaq -0x170(%rbp), %rcx
xorl %eax, %eax
movl %eax, %r9d
movq %r9, %r8
callq 0x364c0
cmpl $0x0, %eax
je 0x7e14a
leaq 0x14584(%rip), %rdi     # 0x926c4
callq 0x828c0
callq 0xb050
jmp 0x7e14c
jmp 0x7e14e
jmp 0x7e150
movq $0x6, -0x1a8(%rbp)
movq $0x8, -0x1b0(%rbp)
leaq -0x1a0(%rbp), %rsi
leaq 0x1544d(%rip), %rdi     # 0x935c1
leaq -0x1a8(%rbp), %rdx
callq 0x360b0
cmpl $0x0, %eax
je 0x7e19f
leaq 0x14503(%rip), %rdi     # 0x9268f
leaq 0x1542e(%rip), %rsi     # 0x935c1
movb $0x0, %al
callq 0x85c20
callq 0xb050
jmp 0x7e1a1
movl -0x20(%rbp), %eax
movq %rax, -0x190(%rbp)
movl -0x2c(%rbp), %eax
movq %rax, -0x180(%rbp)
leaq -0x1a0(%rbp), %rdi
movq -0x1a8(%rbp), %rsi
leaq -0x68(%rbp), %rdx
leaq -0x1b0(%rbp), %rcx
xorl %eax, %eax
movl %eax, %r9d
movq %r9, %r8
callq 0x364c0
cmpl $0x0, %eax
je 0x7e1f1
leaq 0x144dd(%rip), %rdi     # 0x926c4
callq 0x828c0
callq 0xb050
jmp 0x7e1f3
jmp 0x7e1f5
testb $0x1, -0x19(%rbp)
je 0x7e236
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x68(%rbp), %rcx
movl -0x2c(%rbp), %edx
addl $0x1, %edx
movl -0x28(%rbp), %r9d
leaq 0x10ee5(%rip), %r8      # 0x8f0fd
leaq 0xffe0(%rip), %rax      # 0x8e1ff
cmpl %r9d, %edx
cmovbq %rax, %r8
leaq 0x153b3(%rip), %rdx     # 0x935e0
movb $0x0, %al
callq 0x85b80
jmp 0x7e28c
testb $0x1, -0x2d(%rbp)
jne 0x7e28a
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x60(%rbp), %rcx
movl -0x24(%rbp), %r8d
addl -0x2c(%rbp), %r8d
movq -0x68(%rbp), %r9
imulq -0x60(%rbp), %r9
movq -0x48(%rbp), %rbx
movq -0x50(%rbp), %r11
movq -0x58(%rbp), %r10
movq -0x68(%rbp), %rax
leaq 0x15396(%rip), %rdx     # 0x93606
movq %rbx, (%rsp)
movq %r11, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movq %rax, 0x18(%rsp)
movb $0x0, %al
callq 0x85b80
jmp 0x7e28c
jmp 0x7e28e
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x7de76
testb $0x1, -0x19(%rbp)
je 0x7e2d2
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movb -0x1a(%rbp), %dl
leaq 0x10e49(%rip), %rcx     # 0x8f0fd
leaq 0xff44(%rip), %rax      # 0x8e1ff
testb $0x1, %dl
cmovneq %rax, %rcx
leaq 0x15225(%rip), %rdx     # 0x934ee
movb $0x0, %al
callq 0x85b80
jmp 0x7e2f0
testb $0x1, -0x2d(%rbp)
je 0x7e2ee
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq 0x14f84(%rip), %rdx     # 0x9326b
movb $0x0, %al
callq 0x85b80
jmp 0x7e2f0
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %rbp
retq
nopw (%rax,%rax)