LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/chunk_mmap.c
// Function: je_chunk_alloc_mmap
void *
chunk_alloc_mmap(size_t size, size_t alignment, bool *zero, bool *commit)
{
	void *ret;
	size_t offset;

	/*
	 * Ideally, there would be a way to specify alignment to mmap() (like
	 * NetBSD has), but in the absence of such a feature, we have to work
	 * hard to efficiently create aligned mappings.  The reliable, but
	 * slow method is to create a mapping that is over-sized, then trim the
	 * excess.  However, that always results in one or two calls to
	 * pages_unmap().
	 *
	 * Optimistically try mapping precisely the right amount before falling
	 * back to the slow method, with the expectation that the optimistic
	 * approach works most of the time.
	 */

	assert(alignment != 0);
	assert((alignment & chunksize_mask) == 0);

	ret = pages_map(NULL, size);
	if (ret == NULL)
		return (NULL);
	offset = ALIGNMENT_ADDR2OFFSET(ret, alignment);
	if (offset != 0) {
		pages_unmap(ret, size);
		return (chunk_alloc_mmap_slow(size, alignment, zero, commit));
	}

	assert(ret != NULL);
	*zero = true;
	if (!*commit)
		*commit = pages_decommit(ret, size);
	return (ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movq %rdx, %rbp
movq %rsi, %r12
movq %rdi, %r14
xorl %r13d, %r13d
xorl %edi, %edi
movq %r14, %rsi
callq 0x48ebc
testq %rax, %rax
je 0x415f0
leaq -0x1(%r12), %r15
testq %rax, %r15
je 0x415d7
movq %rbp, 0x10(%rsp)
movq %rax, %rdi
movq %r14, %rsi
callq 0x48f14
leaq (%r14,%r12), %rbp
addq $-0x1000, %rbp          # imm = 0xF000
cmpq %r14, %rbp
jae 0x41602
xorl %r13d, %r13d
jmp 0x415f0
movb $0x1, (%rbp)
cmpb $0x0, (%rbx)
movq %rax, %r13
jne 0x415f0
movq %r13, %rdi
movq %r14, %rsi
callq 0x48fb4
movb %al, (%rbx)
movq %r13, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, 0x8(%rsp)
negq %r12
xorl %edi, %edi
movq %rbp, %rsi
callq 0x48ebc
movq %rax, %rbx
movl $0x0, %r13d
testq %rax, %rax
je 0x4163d
leaq (%r15,%rbx), %rdx
andq %r12, %rdx
subq %rbx, %rdx
movq %rbx, %rdi
movq %rbp, %rsi
movq %r14, %rcx
callq 0x48f62
movq %rax, %r13
testq %rbx, %rbx
je 0x415d2
testq %r13, %r13
je 0x4160a
movq 0x10(%rsp), %rax
movb $0x1, (%rax)
movq 0x8(%rsp), %rbx
cmpb $0x0, (%rbx)
je 0x415e3
jmp 0x415f0
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/ctl.c
// Function: je_ctl_byname
int
ctl_byname(const char *name, void *oldp, size_t *oldlenp, void *newp,
    size_t newlen)
{
	int ret;
	size_t depth;
	ctl_node_t const *nodes[CTL_MAX_DEPTH];
	size_t mib[CTL_MAX_DEPTH];
	const ctl_named_node_t *node;

	if (!ctl_initialized && ctl_init()) {
		ret = EAGAIN;
		goto label_return;
	}

	depth = CTL_MAX_DEPTH;
	ret = ctl_lookup(name, nodes, mib, &depth);
	if (ret != 0)
		goto label_return;

	node = ctl_named_node(nodes[depth-1]);
	if (node != NULL && node->ctl)
		ret = node->ctl(mib, depth, oldp, oldlenp, newp, newlen);
	else {
		/* The name refers to a partial path through the ctl tree. */
		ret = ENOENT;
	}

label_return:
	return(ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
cmpb $0x0, 0x4306c(%rip)     # 0x846f0
jne 0x41694
movl $0xb, %ebp
callq 0x416fb
testb %al, %al
jne 0x416ea
leaq 0x8(%rsp), %rcx
movq $0x6, (%rcx)
leaq 0x40(%rsp), %rsi
leaq 0x10(%rsp), %rdx
movq %r13, %rdi
callq 0x41850
movl %eax, %ebp
testl %eax, %eax
jne 0x416ea
movq 0x8(%rsp), %rsi
movq 0x38(%rsp,%rsi,8), %rax
movl $0x2, %ebp
cmpb $0x1, (%rax)
jne 0x416ea
movq 0x20(%rax), %rax
testq %rax, %rax
je 0x416ea
leaq 0x10(%rsp), %rdi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
movq %rbx, %r9
callq *%rax
movl %eax, %ebp
movl %ebp, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/ctl.c
// Function: ctl_init
static bool
ctl_init(void)
{
	bool ret;

	malloc_mutex_lock(&ctl_mtx);
	if (!ctl_initialized) {
		/*
		 * Allocate space for one extra arena stats element, which
		 * contains summed stats across all arenas.
		 */
		ctl_stats.narenas = narenas_total_get();
		ctl_stats.arenas = (ctl_arena_stats_t *)a0malloc(
		    (ctl_stats.narenas + 1) * sizeof(ctl_arena_stats_t));
		if (ctl_stats.arenas == NULL) {
			ret = true;
			goto label_return;
		}
		memset(ctl_stats.arenas, 0, (ctl_stats.narenas + 1) *
		    sizeof(ctl_arena_stats_t));

		/*
		 * Initialize all stats structures, regardless of whether they
		 * ever get used.  Lazy initialization would allow errors to
		 * cause inconsistent state to be viewable by the application.
		 */
		if (config_stats) {
			unsigned i;
			for (i = 0; i <= ctl_stats.narenas; i++) {
				if (ctl_arena_init(&ctl_stats.arenas[i])) {
					unsigned j;
					for (j = 0; j < i; j++) {
						a0dalloc(
						    ctl_stats.arenas[j].lstats);
						a0dalloc(
						    ctl_stats.arenas[j].hstats);
					}
					a0dalloc(ctl_stats.arenas);
					ctl_stats.arenas = NULL;
					ret = true;
					goto label_return;
				}
			}
		}
		ctl_stats.arenas[ctl_stats.narenas].initialized = true;

		ctl_epoch = 0;
		ctl_refresh();
		ctl_initialized = true;
	}

	ret = false;
label_return:
	malloc_mutex_unlock(&ctl_mtx);
	return (ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
leaq 0x42fef(%rip), %rdi     # 0x846f8
callq 0x12960
cmpb $0x0, 0x42fdb(%rip)     # 0x846f0
jne 0x41835
callq 0x34820
movl %eax, 0x43022(%rip)     # 0x84748
incl %eax
imulq $0xaf0, %rax, %rdi      # imm = 0xAF0
callq 0x34678
movq %rax, 0x43015(%rip)     # 0x84750
movb $0x1, %bl
testq %rax, %rax
je 0x41837
movl 0x42ffc(%rip), %ecx     # 0x84748
incl %ecx
imulq $0xaf0, %rcx, %rdx      # imm = 0xAF0
xorl %ebp, %ebp
movq %rax, %rdi
xorl %esi, %esi
callq 0x12380
movq 0x42fe8(%rip), %rdi     # 0x84750
callq 0x41bcd
movl $0x0, %r14d
testb %al, %al
jne 0x417a4
xorl %r14d, %r14d
incl %r14d
cmpl 0x42fc4(%rip), %r14d    # 0x84748
seta %bpl
ja 0x41806
movl %r14d, %eax
imulq $0xaf0, %rax, %rdi      # imm = 0xAF0
addq 0x42fb5(%rip), %rdi     # 0x84750
callq 0x41bcd
testb %al, %al
je 0x4177a
testl %r14d, %r14d
je 0x417ea
movl %r14d, %eax
imulq $0xaf0, %rax, %r14      # imm = 0xAF0
xorl %r15d, %r15d
movq 0x42f93(%rip), %rax     # 0x84750
movq 0xae0(%rax,%r15), %rdi
callq 0x34684
movq 0x42f7f(%rip), %rax     # 0x84750
movq 0xae8(%rax,%r15), %rdi
callq 0x34684
addq $0xaf0, %r15            # imm = 0xAF0
cmpq %r15, %r14
jne 0x417b6
movq 0x42f5f(%rip), %rdi     # 0x84750
callq 0x34684
movq $0x0, 0x42f4f(%rip) # 0x84750
testb %bpl, %bpl
je 0x41837
movq 0x42f43(%rip), %rax     # 0x84750
movl 0x42f35(%rip), %ecx     # 0x84748
imulq $0xaf0, %rcx, %rcx      # imm = 0xAF0
movb $0x1, %bl
movb %bl, (%rax,%rcx)
movq $0x0, 0x42f2e(%rip) # 0x84758
callq 0x41c2d
movb %bl, 0x42ebb(%rip)      # 0x846f0
xorl %ebx, %ebx
leaq 0x42eba(%rip), %rdi     # 0x846f8
callq 0x125c0
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/ctl.c
// Function: je_ctl_bymib
int
ctl_bymib(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp,
    void *newp, size_t newlen)
{
	int ret;
	const ctl_named_node_t *node;
	size_t i;

	if (!ctl_initialized && ctl_init()) {
		ret = EAGAIN;
		goto label_return;
	}

	/* Iterate down the tree. */
	node = super_root_node;
	for (i = 0; i < miblen; i++) {
		assert(node);
		assert(node->nchildren > 0);
		if (ctl_named_node(node->children) != NULL) {
			/* Children are named. */
			if (node->nchildren <= mib[i]) {
				ret = ENOENT;
				goto label_return;
			}
			node = ctl_named_children(node, mib[i]);
		} else {
			const ctl_indexed_node_t *inode;

			/* Indexed element. */
			inode = ctl_indexed_node(node->children);
			node = inode->index(mib, miblen, mib[i]);
			if (node == NULL) {
				ret = ENOENT;
				goto label_return;
			}
		}
	}

	/* Call the ctl function. */
	if (node && node->ctl)
		ret = node->ctl(mib, miblen, oldp, oldlenp, newp, newlen);
	else {
		/* Partial MIB. */
		ret = ENOENT;
	}

label_return:
	return(ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, (%rsp)
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
cmpb $0x0, 0x42c0c(%rip)     # 0x846f0
jne 0x41af8
movl $0xb, %ebx
callq 0x416fb
testb %al, %al
jne 0x41b7e
leaq 0x2a941(%rip), %rax     # 0x6c440
testq %r13, %r13
je 0x41b43
xorl %ebx, %ebx
movq 0x18(%rax), %rcx
cmpb $0x1, (%rcx)
jne 0x41b28
movl 0x10(%rax), %edx
movq (%rbp,%rbx,8), %rax
cmpq %rdx, %rax
jae 0x41b79
cltq
leaq (%rax,%rax,4), %rax
leaq (%rcx,%rax,8), %rax
jmp 0x41b3b
movq (%rbp,%rbx,8), %rdx
movq %rbp, %rdi
movq %r13, %rsi
callq *0x8(%rcx)
testq %rax, %rax
je 0x41b79
incq %rbx
cmpq %rbx, %r13
jne 0x41b06
movl $0x2, %ebx
testq %rax, %rax
je 0x41b7e
movq 0x20(%rax), %rax
testq %rax, %rax
je 0x41b7e
movq %rbp, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
movq (%rsp), %r9
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax
movl $0x2, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/ctl.c
// Function: tcache_flush_ctl
static int
tcache_flush_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp,
    void *newp, size_t newlen)
{
	int ret;
	tsd_t *tsd;
	unsigned tcache_ind;

	if (!config_tcache)
		return (ENOENT);

	tsd = tsd_fetch();

	WRITEONLY();
	tcache_ind = UINT_MAX;
	WRITE(tcache_ind, unsigned);
	if (tcache_ind == UINT_MAX) {
		ret = EFAULT;
		goto label_return;
	}
	tcaches_flush(tsd, tcache_ind);

	ret = 0;
label_return:
	return (ret);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r9, %r15
movq %r8, %r14
movq %rcx, %r12
movq %rdx, %r13
movq 0x2ab27(%rip), %rax     # 0x6dfe8
movq %fs:0x0, %rbx
addq %rax, %rbx
movl %fs:(%rax), %ecx
testl %ecx, %ecx
je 0x4351d
cmpl $0x2, %ecx
je 0x43526
movl $0x1, %eax
orq %r12, %r13
jne 0x43513
testq %r14, %r14
je 0x434f8
movl $0x16, %eax
cmpq $0x4, %r15
jne 0x43513
movl (%r14), %esi
jmp 0x434fd
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
cmpl $-0x1, %esi
je 0x4350e
movq %rbx, %rdi
callq 0x4f1af
xorl %eax, %eax
jmp 0x43513
movl $0xe, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movl $0x1, %fs:(%rax)
jmp 0x4352d
movl $0x3, %fs:(%rax)
leaq 0x418d0(%rip), %rax     # 0x84e04
movl (%rax), %edi
movq %rbx, %rsi
callq 0x12990
testl %eax, %eax
je 0x434d9
leaq 0x1666b(%rip), %rdi     # 0x59bb4
callq 0x4f37c
leaq 0x401db(%rip), %rax     # 0x83730
cmpb $0x1, (%rax)
jne 0x434d9
callq 0x120c0
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/ctl.c
// Function: tcache_create_ctl
static int
tcache_create_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp,
    void *newp, size_t newlen)
{
	int ret;
	tsd_t *tsd;
	unsigned tcache_ind;

	if (!config_tcache)
		return (ENOENT);

	tsd = tsd_fetch();

	malloc_mutex_lock(&ctl_mtx);
	READONLY();
	if (tcaches_create(tsd, &tcache_ind)) {
		ret = EFAULT;
		goto label_return;
	}
	READ(tcache_ind, unsigned);

	ret = 0;
label_return:
	malloc_mutex_unlock(&ctl_mtx);
	return (ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %r12
movq %r8, %r13
movq %rcx, %r14
movq %rdx, %rbx
movq 0x2ac34(%rip), %rax     # 0x6dfe8
movq %fs:0x0, %r15
addq %rax, %r15
movl %fs:(%rax), %ecx
testl %ecx, %ecx
je 0x4345b
cmpl $0x2, %ecx
je 0x43464
leaq 0x4131d(%rip), %rdi     # 0x846f8
callq 0x12960
movl $0x1, %ebp
orq %r12, %r13
jne 0x4343e
leaq 0x4(%rsp), %rsi
movq %r15, %rdi
callq 0x4f140
movl $0xe, %ebp
testb %al, %al
jne 0x4343e
testq %rbx, %rbx
sete %al
testq %r14, %r14
sete %cl
xorl %ebp, %ebp
orb %al, %cl
jne 0x4343e
movq (%r14), %rax
cmpq $0x4, %rax
jne 0x43423
movl 0x4(%rsp), %eax
movl %eax, (%rbx)
jmp 0x4343e
movl $0x4, %edx
cmovbq %rax, %rdx
leaq 0x4(%rsp), %rsi
movq %rbx, %rdi
callq 0x12520
movl $0x16, %ebp
leaq 0x412b3(%rip), %rdi     # 0x846f8
callq 0x125c0
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x1, %fs:(%rax)
jmp 0x4346b
movl $0x3, %fs:(%rax)
leaq 0x41992(%rip), %rax     # 0x84e04
movl (%rax), %edi
movq %r15, %rsi
callq 0x12990
testl %eax, %eax
je 0x433d4
leaq 0x16729(%rip), %rdi     # 0x59bb4
callq 0x4f37c
leaq 0x40299(%rip), %rax     # 0x83730
cmpb $0x1, (%rax)
jne 0x433d4
callq 0x120c0
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/ctl.c
// Function: tcache_destroy_ctl
static int
tcache_destroy_ctl(const size_t *mib, size_t miblen, void *oldp,
    size_t *oldlenp, void *newp, size_t newlen)
{
	int ret;
	tsd_t *tsd;
	unsigned tcache_ind;

	if (!config_tcache)
		return (ENOENT);

	tsd = tsd_fetch();

	WRITEONLY();
	tcache_ind = UINT_MAX;
	WRITE(tcache_ind, unsigned);
	if (tcache_ind == UINT_MAX) {
		ret = EFAULT;
		goto label_return;
	}
	tcaches_destroy(tsd, tcache_ind);

	ret = 0;
label_return:
	return (ret);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r9, %r15
movq %r8, %r14
movq %rcx, %r12
movq %rdx, %r13
movq 0x2aa69(%rip), %rax     # 0x6dfe8
movq %fs:0x0, %rbx
addq %rax, %rbx
movl %fs:(%rax), %ecx
testl %ecx, %ecx
je 0x435db
cmpl $0x2, %ecx
je 0x435e4
movl $0x1, %eax
orq %r12, %r13
jne 0x435d1
testq %r14, %r14
je 0x435b6
movl $0x16, %eax
cmpq $0x4, %r15
jne 0x435d1
movl (%r14), %esi
jmp 0x435bb
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
cmpl $-0x1, %esi
je 0x435cc
movq %rbx, %rdi
callq 0x4f1db
xorl %eax, %eax
jmp 0x435d1
movl $0xe, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movl $0x1, %fs:(%rax)
jmp 0x435eb
movl $0x3, %fs:(%rax)
leaq 0x41812(%rip), %rax     # 0x84e04
movl (%rax), %edi
movq %rbx, %rsi
callq 0x12990
testl %eax, %eax
je 0x43597
leaq 0x165ad(%rip), %rdi     # 0x59bb4
callq 0x4f37c
leaq 0x4011d(%rip), %rax     # 0x83730
cmpb $0x1, (%rax)
jne 0x43597
callq 0x120c0
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/ctl.c
// Function: arena_i_index
static const ctl_named_node_t *
arena_i_index(const size_t *mib, size_t miblen, size_t i)
{
	const ctl_named_node_t * ret;

	malloc_mutex_lock(&ctl_mtx);
	if (i > ctl_stats.narenas) {
		ret = NULL;
		goto label_return;
	}

	ret = super_arena_i_node;
label_return:
	malloc_mutex_unlock(&ctl_mtx);
	return (ret);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
leaq 0x410c8(%rip), %r14     # 0x846f8
movq %r14, %rdi
callq 0x12960
movl 0x4110a(%rip), %eax     # 0x84748
xorl %r15d, %r15d
cmpq %rbx, %rax
leaq 0x29c65(%rip), %rax     # 0x6d2b0
cmovaeq %rax, %r15
movq %r14, %rdi
callq 0x125c0
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/ctl.c
// Function: arena_i_purge_ctl
static int
arena_i_purge_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp,
    void *newp, size_t newlen)
{
	int ret;

	READONLY();
	WRITEONLY();
	malloc_mutex_lock(&ctl_mtx);
	arena_purge(mib[1]);
	malloc_mutex_unlock(&ctl_mtx);

	ret = 0;
label_return:
	return (ret);
}

// Assembly:
movl $0x1, %eax
orq %r9, %r8
jne 0x4369e
orq %rcx, %rdx
jne 0x4369e
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x4107b(%rip), %r14     # 0x846f8
movq %r14, %rdi
callq 0x12960
movl 0x8(%rbx), %edi
callq 0x43c8f
movq %r14, %rdi
callq 0x125c0
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/ctl.c
// Function: arena_i_lg_dirty_mult_ctl
static int
arena_i_lg_dirty_mult_ctl(const size_t *mib, size_t miblen, void *oldp,
    size_t *oldlenp, void *newp, size_t newlen)
{
	int ret;
	unsigned arena_ind = mib[1];
	arena_t *arena;

	arena = arena_get(tsd_fetch(), arena_ind, false, true);
	if (arena == NULL) {
		ret = EFAULT;
		goto label_return;
	}

	if (oldp != NULL && oldlenp != NULL) {
		size_t oldval = arena_lg_dirty_mult_get(arena);
		READ(oldval, ssize_t);
	}
	if (newp != NULL) {
		if (newlen != sizeof(ssize_t)) {
			ret = EINVAL;
			goto label_return;
		}
		if (arena_lg_dirty_mult_set(arena, *(ssize_t *)newp)) {
			ret = EFAULT;
			goto label_return;
		}
	}

	ret = 0;
label_return:
	return (ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %rbx
movq %rcx, %r12
movq %rdx, %r15
movq 0x8(%rdi), %r13
movq 0x2a6e4(%rip), %r14     # 0x6dfe8
movq %fs:0x0, %rbp
addq %r14, %rbp
movl %fs:(%r14), %eax
testl %eax, %eax
je 0x439fd
cmpl $0x2, %eax
je 0x43a07
movq %fs:0x30(%r14), %rax
testq %rax, %rax
je 0x439e2
cmpl %r13d, %fs:0x38(%r14)
jbe 0x439e2
movl %r13d, %ecx
movq (%rax,%rcx,8), %r14
testq %r14, %r14
je 0x439e2
movl $0xe, %eax
testq %r14, %r14
je 0x439d3
testq %r15, %r15
sete %al
testq %r12, %r12
sete %cl
orb %al, %cl
jne 0x439ab
movq %r9, %r13
movq %r14, %rdi
callq 0x3a2de
movq %rax, 0x10(%rsp)
movq (%r12), %r12
cmpq $0x8, %r12
jne 0x43987
movq %rax, (%r15)
jmp 0x4399d
movl $0x8, %edx
cmovbq %r12, %rdx
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
callq 0x12520
movl $0x16, %eax
cmpq $0x8, %r12
movq %r13, %r9
jne 0x439d3
testq %rbx, %rbx
je 0x439d1
movl $0x16, %eax
cmpq $0x8, %r9
jne 0x439d3
movq (%rbx), %rsi
movq %r14, %rdi
callq 0x3a30b
movl %eax, %ecx
movl $0xe, %eax
testb %cl, %cl
jne 0x439d3
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbp, %rdi
movl %r13d, %esi
xorl %edx, %edx
movq %r9, %r14
callq 0x348cd
movq %r14, %r9
movq %rax, %r14
jmp 0x4394e
movl $0x1, %fs:(%r14)
jmp 0x43a0f
movl $0x3, %fs:(%r14)
leaq 0x413ee(%rip), %rax     # 0x84e04
movl (%rax), %edi
movq %rbp, %rsi
movq %r9, 0x8(%rsp)
callq 0x12990
movq 0x8(%rsp), %r9
testl %eax, %eax
je 0x43925
leaq 0x1617b(%rip), %rdi     # 0x59bb4
callq 0x4f37c
movq 0x8(%rsp), %r9
leaq 0x3fce6(%rip), %rax     # 0x83730
cmpb $0x1, (%rax)
jne 0x43925
callq 0x120c0
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/ctl.c
// Function: arena_purge
static void
arena_purge(unsigned arena_ind)
{
	tsd_t *tsd;
	unsigned i;
	bool refreshed;
	VARIABLE_ARRAY(arena_t *, tarenas, ctl_stats.narenas);

	tsd = tsd_fetch();
	for (i = 0, refreshed = false; i < ctl_stats.narenas; i++) {
		tarenas[i] = arena_get(tsd, i, false, false);
		if (tarenas[i] == NULL && !refreshed) {
			tarenas[i] = arena_get(tsd, i, false, true);
			refreshed = true;
		}
	}

	if (arena_ind == ctl_stats.narenas) {
		unsigned i;
		for (i = 0; i < ctl_stats.narenas; i++) {
			if (tarenas[i] != NULL)
				arena_purge_all(tarenas[i]);
		}
	} else {
		assert(arena_ind < ctl_stats.narenas);
		if (tarenas[arena_ind] != NULL)
			arena_purge_all(tarenas[arena_ind]);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %edi, %r14d
movl 0x40aa1(%rip), %eax     # 0x84748
movq %rsp, %rbx
leaq 0xf(,%rax,8), %rax
andq $-0x10, %rax
subq %rax, %rbx
movq %rbx, %rsp
movq 0x2a325(%rip), %rax     # 0x6dfe8
movq %fs:0x0, %r15
addq %rax, %r15
movl %fs:(%rax), %ecx
testl %ecx, %ecx
je 0x43d5e
cmpl $0x2, %ecx
je 0x43d67
movl 0x40a5f(%rip), %eax     # 0x84748
testl %eax, %eax
jne 0x43d46
cmpl %r14d, %eax
jne 0x43d1c
cmpl $0x0, 0x40a4f(%rip)     # 0x84748
je 0x43d39
xorl %r14d, %r14d
movq (%rbx,%r14,8), %rdi
testq %rdi, %rdi
je 0x43d0c
callq 0x3a8cf
incq %r14
movl 0x40a33(%rip), %eax     # 0x84748
cmpq %rax, %r14
jb 0x43cfe
jmp 0x43d39
movl %r14d, %eax
movq (%rbx,%rax,8), %rdi
testq %rdi, %rdi
je 0x43d39
leaq -0x20(%rbp), %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x3a8cf
leaq -0x20(%rbp), %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq -0x24(%rbp), %r12
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x14c7e
movl (%r12), %eax
jmp 0x43ced
movl $0x1, %fs:(%rax)
jmp 0x43d6e
movl $0x3, %fs:(%rax)
leaq 0x4108f(%rip), %rax     # 0x84e04
movl (%rax), %edi
movq %r15, %rsi
callq 0x12990
testl %eax, %eax
je 0x43ce3
leaq 0x15e26(%rip), %rdi     # 0x59bb4
callq 0x4f37c
leaq 0x3f996(%rip), %rax     # 0x83730
cmpb $0x1, (%rax)
jne 0x43ce3
callq 0x120c0
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/ctl.c
// Function: arenas_narenas_ctl
static int
arenas_narenas_ctl(const size_t *mib, size_t miblen, void *oldp,
    size_t *oldlenp, void *newp, size_t newlen)
{
	int ret;
	unsigned narenas;

	malloc_mutex_lock(&ctl_mtx);
	READONLY();
	if (*oldlenp != sizeof(unsigned)) {
		ret = EINVAL;
		goto label_return;
	}
	narenas = ctl_stats.narenas;
	READ(narenas, unsigned);

	ret = 0;
label_return:
	malloc_mutex_unlock(&ctl_mtx);
	return (ret);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r9, %r12
movq %r8, %r13
movq %rcx, %r15
movq %rdx, %r14
leaq 0x40934(%rip), %rdi     # 0x846f8
callq 0x12960
movl $0x1, %ebx
orq %r12, %r13
jne 0x43dee
movl $0x16, %ebx
cmpq $0x4, (%r15)
jne 0x43dee
xorl %ebx, %ebx
testq %r14, %r14
je 0x43dee
movl 0x4095d(%rip), %eax     # 0x84748
movl %eax, (%r14)
leaq 0x40903(%rip), %rdi     # 0x846f8
callq 0x125c0
movl %ebx, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/ctl.c
// Function: arenas_initialized_ctl
static int
arenas_initialized_ctl(const size_t *mib, size_t miblen, void *oldp,
    size_t *oldlenp, void *newp, size_t newlen)
{
	int ret;
	unsigned nread, i;

	malloc_mutex_lock(&ctl_mtx);
	READONLY();
	if (*oldlenp != ctl_stats.narenas * sizeof(bool)) {
		ret = EINVAL;
		nread = (*oldlenp < ctl_stats.narenas * sizeof(bool))
		    ? (*oldlenp / sizeof(bool)) : ctl_stats.narenas;
	} else {
		ret = 0;
		nread = ctl_stats.narenas;
	}

	for (i = 0; i < nread; i++)
		((bool *)oldp)[i] = ctl_stats.arenas[i].initialized;

label_return:
	malloc_mutex_unlock(&ctl_mtx);
	return (ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %r9, %r15
movq %r8, %r12
movq %rcx, %r14
movq %rdx, %rbx
leaq 0x408d7(%rip), %rdi     # 0x846f8
callq 0x12960
movl $0x1, %ebp
orq %r15, %r12
jne 0x43e70
movq (%r14), %rcx
movl 0x4090f(%rip), %eax     # 0x84748
xorl %edx, %edx
cmpq %rax, %rcx
cmovael %eax, %ecx
movl $0x16, %ebp
cmovel %edx, %ebp
cmovel %eax, %ecx
testl %ecx, %ecx
je 0x43e70
movq 0x408f9(%rip), %rax     # 0x84750
movl %ecx, %ecx
xorl %edx, %edx
movb (%rax), %sil
movb %sil, (%rbx,%rdx)
incq %rdx
addq $0xaf0, %rax            # imm = 0xAF0
cmpq %rdx, %rcx
jne 0x43e5b
leaq 0x40881(%rip), %rdi     # 0x846f8
callq 0x125c0
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/ctl.c
// Function: arenas_lg_dirty_mult_ctl
static int
arenas_lg_dirty_mult_ctl(const size_t *mib, size_t miblen, void *oldp,
    size_t *oldlenp, void *newp, size_t newlen)
{
	int ret;

	if (oldp != NULL && oldlenp != NULL) {
		size_t oldval = arena_lg_dirty_mult_default_get();
		READ(oldval, ssize_t);
	}
	if (newp != NULL) {
		if (newlen != sizeof(ssize_t)) {
			ret = EINVAL;
			goto label_return;
		}
		if (arena_lg_dirty_mult_default_set(*(ssize_t *)newp)) {
			ret = EFAULT;
			goto label_return;
		}
	}

	ret = 0;
label_return:
	return (ret);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %r14
movq %r8, %rbx
movq %rcx, %r12
testq %rdx, %rdx
sete %al
testq %rcx, %rcx
sete %cl
orb %al, %cl
jne 0x43ee2
movq %rdx, %r15
callq 0x3ca0f
movq %rax, (%rsp)
movq (%r12), %r12
cmpq $0x8, %r12
jne 0x43ec3
movq %rax, (%r15)
jmp 0x43ed7
movl $0x8, %edx
cmovbq %r12, %rdx
movq %rsp, %rsi
movq %r15, %rdi
callq 0x12520
movl $0x16, %eax
cmpq $0x8, %r12
jne 0x43f07
testq %rbx, %rbx
je 0x43f05
movl $0x16, %eax
cmpq $0x8, %r14
jne 0x43f07
movq (%rbx), %rdi
callq 0x3ca1b
movl %eax, %ecx
movl $0xe, %eax
testb %cl, %cl
jne 0x43f07
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/ctl.c
// Function: arenas_extend_ctl
static int
arenas_extend_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp,
    void *newp, size_t newlen)
{
	int ret;
	unsigned narenas;

	malloc_mutex_lock(&ctl_mtx);
	READONLY();
	if (ctl_grow()) {
		ret = EAGAIN;
		goto label_return;
	}
	narenas = ctl_stats.narenas - 1;
	READ(narenas, unsigned);

	ret = 0;
label_return:
	malloc_mutex_unlock(&ctl_mtx);
	return (ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xaf8, %rsp            # imm = 0xAF8
movq %r9, %r15
movq %r8, %r12
movq %rcx, %r14
movq %rdx, %rbx
leaq 0x4053b(%rip), %rdi     # 0x846f8
callq 0x12960
movl $0x1, %ebp
orq %r15, %r12
jne 0x44308
movl 0x40572(%rip), %edi     # 0x84748
callq 0x34797
movl $0xb, %ebp
testq %rax, %rax
je 0x44308
movl 0x40559(%rip), %eax     # 0x84748
addl $0x2, %eax
imulq $0xaf0, %rax, %rdi      # imm = 0xAF0
callq 0x34678
testq %rax, %rax
je 0x44308
movq %rax, %r15
movq 0x4053f(%rip), %rsi     # 0x84750
movl 0x40531(%rip), %eax     # 0x84748
incl %eax
imulq $0xaf0, %rax, %r12      # imm = 0xAF0
movq %r15, %rdi
movq %r12, %rdx
callq 0x12520
addq %r15, %r12
movl $0xaf0, %edx            # imm = 0xAF0
movq %r12, %rdi
xorl %esi, %esi
callq 0x12380
movq %r12, %rdi
callq 0x41bcd
testb %al, %al
je 0x44256
movq %r15, %rdi
callq 0x34684
jmp 0x44308
movl 0x404ec(%rip), %ebp     # 0x84748
imulq $0xaf0, %rbp, %r13      # imm = 0xAF0
addq %r15, %r13
leaq 0x8(%rsp), %r12
movl $0xaf0, %edx            # imm = 0xAF0
movq %r12, %rdi
movq %r13, %rsi
callq 0x12520
leal 0x1(%rbp), %eax
imulq $0xaf0, %rax, %rbp      # imm = 0xAF0
addq %r15, %rbp
movl $0xaf0, %edx            # imm = 0xAF0
movq %r13, %rdi
movq %rbp, %rsi
callq 0x12520
movl $0xaf0, %edx            # imm = 0xAF0
movq %rbp, %rdi
movq %r12, %rsi
callq 0x12520
movq 0x404a1(%rip), %rdi     # 0x84750
callq 0x34684
movq %r15, 0x40495(%rip)     # 0x84750
movl 0x40487(%rip), %eax     # 0x84748
leal 0x1(%rax), %ecx
movl %ecx, 0x4047e(%rip)     # 0x84748
movl %eax, (%r12)
testq %rbx, %rbx
sete %cl
testq %r14, %r14
sete %dl
orb %cl, %dl
jne 0x442e9
movq (%r14), %rcx
cmpq $0x4, %rcx
jne 0x442ed
movl %eax, (%rbx)
xorl %ebp, %ebp
jmp 0x44308
movl $0x4, %edx
cmovbq %rcx, %rdx
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x12520
movl $0x16, %ebp
leaq 0x403e9(%rip), %rdi     # 0x846f8
callq 0x125c0
movl %ebp, %eax
addq $0xaf8, %rsp            # imm = 0xAF8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/ctl.c
// Function: stats_arenas_i_index
static const ctl_named_node_t *
stats_arenas_i_index(const size_t *mib, size_t miblen, size_t i)
{
	const ctl_named_node_t * ret;

	malloc_mutex_lock(&ctl_mtx);
	if (i > ctl_stats.narenas || !ctl_stats.arenas[i].initialized) {
		ret = NULL;
		goto label_return;
	}

	ret = super_stats_arenas_i_node;
label_return:
	malloc_mutex_unlock(&ctl_mtx);
	return (ret);
}

// Assembly:
pushq %rbx
movq %rdx, %rbx
leaq 0x3fde3(%rip), %rdi     # 0x846f8
callq 0x12960
movl 0x3fe28(%rip), %eax     # 0x84748
cmpq %rbx, %rax
jae 0x44929
xorl %ebx, %ebx
jmp 0x44948
movq 0x3fe20(%rip), %rax     # 0x84750
imulq $0xaf0, %rbx, %rcx      # imm = 0xAF0
leaq 0x28bf2(%rip), %rdx     # 0x6d530
xorl %ebx, %ebx
cmpb $0x0, (%rax,%rcx)
cmovneq %rdx, %rbx
leaq 0x3fda9(%rip), %rdi     # 0x846f8
callq 0x125c0
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/huge.c
// Function: je_huge_malloc
void *
huge_malloc(tsd_t *tsd, arena_t *arena, size_t size, bool zero,
    tcache_t *tcache)
{
	size_t usize;

	usize = s2u(size);
	if (usize == 0) {
		/* size_t overflow. */
		return (NULL);
	}

	return (huge_palloc(tsd, arena, usize, chunksize, zero, tcache));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %r8, %rbx
movl %ecx, %ebp
movq %rsi, %r14
movq %rdi, %r15
cmpq $0x1000, %rdx           # imm = 0x1000
ja 0x480dd
decq %rdx
shrq $0x3, %rdx
leaq 0x1176e(%rip), %rax     # 0x59800
movzbl (%rax,%rdx), %eax
leaq 0x10fe3(%rip), %rcx     # 0x59080
movq (%rcx,%rax,8), %rdx
testq %rdx, %rdx
jne 0x480b5
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3c5dc(%rip), %rax     # 0x84698
movq (%rax), %rcx
movzbl %bpl, %r8d
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %r9
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x14d1b
leaq 0x8(%rsp), %r12
movq %rdx, %rdi
movq %r12, %rsi
callq 0x154df
movq (%r12), %rdx
jmp 0x480a1
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/huge.c
// Function: huge_ralloc_no_move_expand
static bool
huge_ralloc_no_move_expand(void *ptr, size_t oldsize, size_t usize, bool zero) {
	extent_node_t *node;
	arena_t *arena;
	bool is_zeroed_subchunk, is_zeroed_chunk;

	node = huge_node_get(ptr);
	arena = extent_node_arena_get(node);
	malloc_mutex_lock(&arena->huge_mtx);
	is_zeroed_subchunk = extent_node_zeroed_get(node);
	malloc_mutex_unlock(&arena->huge_mtx);

	/*
	 * Copy zero into is_zeroed_chunk and pass the copy to chunk_alloc(), so
	 * that it is possible to make correct junk/zero fill decisions below.
	 */
	is_zeroed_chunk = zero;

	if (arena_chunk_ralloc_huge_expand(arena, ptr, oldsize, usize,
	     &is_zeroed_chunk))
		return (true);

	malloc_mutex_lock(&arena->huge_mtx);
	/* Update the size of the huge allocation. */
	extent_node_size_set(node, usize);
	malloc_mutex_unlock(&arena->huge_mtx);

	if (zero || (config_fill && unlikely(opt_zero))) {
		if (!is_zeroed_subchunk) {
			memset((void *)((uintptr_t)ptr + oldsize), 0,
			    CHUNK_CEILING(oldsize) - oldsize);
		}
		if (!is_zeroed_chunk) {
			memset((void *)((uintptr_t)ptr +
			    CHUNK_CEILING(oldsize)), 0, usize -
			    CHUNK_CEILING(oldsize));
		}
	} else if (config_fill && unlikely(opt_junk_alloc)) {
		memset((void *)((uintptr_t)ptr + oldsize), 0xa5, usize -
		    oldsize);
	}

	return (false);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %ecx, %r15d
movq %rdx, 0x20(%rsp)
movq %rsi, %r14
movq %rdi, %r12
callq 0x48bfc
movq %rax, %r13
movq (%rax), %rbp
leaq 0x1d8(%rbp), %rbx
movq %rbx, %rdi
callq 0x12960
movb 0x18(%r13), %al
movb %al, 0x6(%rsp)
movq %rbx, %rdi
callq 0x125c0
leaq 0x7(%rsp), %r8
movl %r15d, 0x1c(%rsp)
movb %r15b, (%r8)
movq 0x20(%rsp), %r15
movq %rbp, %rdi
movq %r12, 0x8(%rsp)
movq %r12, %rsi
movq %r14, 0x10(%rsp)
movq %r14, %rdx
movq %r15, %rcx
callq 0x3a09f
movl %eax, %ebp
testb %al, %al
jne 0x485b4
movq %rbx, %rdi
callq 0x12960
movq %r15, 0x10(%r13)
movq %rbx, %rdi
callq 0x125c0
cmpb $0x0, 0x1c(%rsp)
je 0x4859c
movq %r15, %rbx
cmpb $0x0, 0x6(%rsp)
jne 0x48566
movq 0x10(%rsp), %rcx
movq 0x8(%rsp), %rax
leaq (%rax,%rcx), %rdi
leaq 0x3c151(%rip), %rax     # 0x846a0
movq (%rax), %rdx
leaq (%rdx,%rcx), %rax
notq %rdx
andq %rax, %rdx
subq %rcx, %rdx
xorl %esi, %esi
callq 0x12380
cmpb $0x0, 0x7(%rsp)
jne 0x485b4
movq %rbx, %rdx
leaq 0x3c129(%rip), %rax     # 0x846a0
movq (%rax), %rax
movq 0x10(%rsp), %rcx
addq %rax, %rcx
notq %rax
andq %rcx, %rax
movq 0x8(%rsp), %rdi
addq %rax, %rdi
subq %rax, %rdx
xorl %esi, %esi
callq 0x12380
jmp 0x485b4
leaq 0x3b1a0(%rip), %rax     # 0x83743
cmpb $0x1, (%rax)
je 0x48530
leaq 0x3b182(%rip), %rax     # 0x83731
cmpb $0x1, (%rax)
je 0x485c5
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r15, %rdx
movq 0x10(%rsp), %rax
movq 0x8(%rsp), %rdi
addq %rax, %rdi
subq %rax, %rdx
movl $0xa5, %esi
jmp 0x48595
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/huge.c
// Function: je_huge_salloc
size_t
huge_salloc(const void *ptr)
{
	size_t size;
	extent_node_t *node;
	arena_t *arena;

	node = huge_node_get(ptr);
	arena = extent_node_arena_get(node);
	malloc_mutex_lock(&arena->huge_mtx);
	size = extent_node_size_get(node);
	malloc_mutex_unlock(&arena->huge_mtx);

	return (size);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
callq 0x48bfc
movq %rax, %rbx
movl $0x1d8, %r14d           # imm = 0x1D8
addq (%rax), %r14
movq %r14, %rdi
callq 0x12960
movq 0x10(%rbx), %rbx
movq %r14, %rdi
callq 0x125c0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/huge.c
// Function: je_huge_prof_tctx_get
prof_tctx_t *
huge_prof_tctx_get(const void *ptr)
{
	prof_tctx_t *tctx;
	extent_node_t *node;
	arena_t *arena;

	node = huge_node_get(ptr);
	arena = extent_node_arena_get(node);
	malloc_mutex_lock(&arena->huge_mtx);
	tctx = extent_node_prof_tctx_get(node);
	malloc_mutex_unlock(&arena->huge_mtx);

	return (tctx);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
callq 0x48bfc
movq %rax, %rbx
movl $0x1d8, %r14d           # imm = 0x1D8
addq (%rax), %r14
movq %r14, %rdi
callq 0x12960
movq 0x20(%rbx), %rbx
movq %r14, %rdi
callq 0x125c0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/huge.c
// Function: je_huge_prof_tctx_set
void
huge_prof_tctx_set(const void *ptr, prof_tctx_t *tctx)
{
	extent_node_t *node;
	arena_t *arena;

	node = huge_node_get(ptr);
	arena = extent_node_arena_get(node);
	malloc_mutex_lock(&arena->huge_mtx);
	extent_node_prof_tctx_set(node, tctx);
	malloc_mutex_unlock(&arena->huge_mtx);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
callq 0x48bfc
movq %rax, %r14
movl $0x1d8, %r15d           # imm = 0x1D8
addq (%rax), %r15
movq %r15, %rdi
callq 0x12960
movq %rbx, 0x20(%r14)
movq %r15, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x125c0
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/include/jemalloc/internal/jemalloc_internal.h
// Function: je_size2index_compute
JEMALLOC_INLINE szind_t
size2index_compute(size_t size)
{

#if (NTBINS != 0)
	if (size <= (ZU(1) << LG_TINY_MAXCLASS)) {
		size_t lg_tmin = LG_TINY_MAXCLASS - NTBINS + 1;
		size_t lg_ceil = lg_floor(pow2_ceil(size));
		return (lg_ceil < lg_tmin ? 0 : lg_ceil - lg_tmin);
	}
#endif
	{
		size_t x = unlikely(ZI(size) < 0) ? ((size<<1) ?
		    (ZU(1)<<(LG_SIZEOF_PTR+3)) : ((ZU(1)<<(LG_SIZEOF_PTR+3))-1))
		    : lg_floor((size<<1)-1);
		size_t shift = (x < LG_SIZE_CLASS_GROUP + LG_QUANTUM) ? 0 :
		    x - (LG_SIZE_CLASS_GROUP + LG_QUANTUM);
		size_t grp = shift << LG_SIZE_CLASS_GROUP;

		size_t lg_delta = (x < LG_SIZE_CLASS_GROUP + LG_QUANTUM + 1)
		    ? LG_QUANTUM : x - LG_SIZE_CLASS_GROUP - 1;

		size_t delta_inverse_mask = ZI(-1) << lg_delta;
		size_t mod = ((((size-1) & delta_inverse_mask) >> lg_delta)) &
		    ((ZU(1) << LG_SIZE_CLASS_GROUP) - 1);

		size_t index = NTBINS + grp + mod;
		return (index);
	}
}

// Assembly:
cmpq $0x8, %rdi
ja 0x48dd1
decq %rdi
movq %rdi, %rax
shrq %rax
orq %rdi, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x10, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x20, %rcx
orq %rax, %rcx
incq %rcx
bsrq %rcx, %rcx
xorl %eax, %eax
subq $0x3, %rcx
cmovaeq %rcx, %rax
retq
testq %rdi, %rdi
js 0x48e18
leaq -0x1(,%rdi,2), %rax
bsrq %rax, %rcx
xorl %eax, %eax
movq %rcx, %rdx
subq $0x6, %rdx
cmovaeq %rdx, %rax
leal -0x3(%rcx), %edx
cmpq $0x7, %rcx
movzbl %dl, %edx
movl $0x4, %ecx
cmovael %edx, %ecx
decq %rdi
shrq %cl, %rdi
shlq %cl, %rdi
shrq %cl, %rdi
andl $0x3, %edi
leaq (%rdi,%rax,4), %rax
incq %rax
retq
movq %rdi, %rax
btrq $0x3f, %rax
cmpq $0x1, %rax
movl $0x40, %ecx
sbbq $0x0, %rcx
jmp 0x48de2
nop
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/prof.c
// Function: je_prof_thread_active_init_get
bool
prof_thread_active_init_get(void)
{
	bool active_init;

	malloc_mutex_lock(&prof_thread_active_init_mtx);
	active_init = prof_thread_active_init;
	malloc_mutex_unlock(&prof_thread_active_init_mtx);
	return (active_init);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
leaq 0x3b44b(%rip), %rbx     # 0x84cd8
movq %rbx, %rdi
callq 0x12960
movb 0x3b464(%rip), %bpl     # 0x84d00
movq %rbx, %rdi
callq 0x125c0
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/prof.c
// Function: je_prof_reset
void
prof_reset(tsd_t *tsd, size_t lg_sample)
{
	prof_tdata_t *next;

	assert(lg_sample < (sizeof(uint64_t) << 3));

	malloc_mutex_lock(&prof_dump_mtx);
	malloc_mutex_lock(&tdatas_mtx);

	lg_prof_sample = lg_sample;

	next = NULL;
	do {
		prof_tdata_t *to_destroy = tdata_tree_iter(&tdatas, next,
		    prof_tdata_reset_iter, NULL);
		if (to_destroy != NULL) {
			next = tdata_tree_next(&tdatas, to_destroy);
			prof_tdata_destroy_locked(tsd, to_destroy, false);
		} else
			next = NULL;
	} while (next != NULL);

	malloc_mutex_unlock(&tdatas_mtx);
	malloc_mutex_unlock(&prof_dump_mtx);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x3ab3e(%rip), %rdi     # 0x847a0
callq 0x12960
leaq 0x3ab5a(%rip), %rdi     # 0x847c8
callq 0x12960
movq %r14, 0x3ab76(%rip)     # 0x847f0
xorl %r14d, %r14d
leaq 0x3ab7c(%rip), %r15     # 0x84800
movq 0x3ab6d(%rip), %rsi     # 0x847f8
testq %r14, %r14
je 0x49c9a
movq %r14, %rdi
callq 0x4ab50
jmp 0x49ca2
movq %rsi, %rdi
callq 0x4abb5
cmpq %r15, %rax
sete %cl
testq %rax, %rax
sete %dl
orb %cl, %dl
je 0x49cba
xorl %r14d, %r14d
jmp 0x49d4b
movq 0x30(%rax), %rcx
andq $-0x2, %rcx
cmpq %r15, %rcx
jne 0x49d27
movq 0x3ab2a(%rip), %rsi     # 0x847f8
movq 0x8(%rax), %rcx
movq %r15, %rdx
xorl %edi, %edi
cmpq 0x8(%rsi), %rcx
seta %dil
sbbl $0x0, %edi
jne 0x49cf5
movq 0x10(%rax), %r8
xorl %edi, %edi
cmpq 0x10(%rsi), %r8
seta %dil
sbbl $0x0, %edi
testl %edi, %edi
js 0x49d08
je 0x49d11
movq 0x30(%rsi), %rdi
andq $-0x2, %rdi
movb $0x1, %r8b
jmp 0x49d17
movq 0x28(%rsi), %rdi
movb $0x1, %r8b
jmp 0x49d1a
xorl %r8d, %r8d
movq %rsi, %rdi
movq %rdx, %rsi
movq %rsi, %rdx
movq %rdi, %rsi
testb %r8b, %r8b
jne 0x49cd5
jmp 0x49d33
movq %rcx, %rdx
movq 0x28(%rcx), %rcx
cmpq %r15, %rcx
jne 0x49d27
cmpq %r15, %rdx
movl $0x0, %r14d
cmovneq %rdx, %r14
movq %rbx, %rdi
movq %rax, %rsi
callq 0x49dbb
testq %r14, %r14
jne 0x49c84
leaq 0x3aa6d(%rip), %rdi     # 0x847c8
callq 0x125c0
leaq 0x3aa39(%rip), %rdi     # 0x847a0
popq %rbx
popq %r14
popq %r15
jmp 0x125c0
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/prof.c
// Function: je_prof_active_get
bool
prof_active_get(void)
{
	bool prof_active_current;

	malloc_mutex_lock(&prof_active_mtx);
	prof_active_current = prof_active;
	malloc_mutex_unlock(&prof_active_mtx);
	return (prof_active_current);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
leaq 0x3a4aa(%rip), %rbx     # 0x84ca8
movq %rbx, %rdi
callq 0x12960
movb 0x3a4c3(%rip), %bpl     # 0x84cd0
movq %rbx, %rdi
callq 0x125c0
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/prof.c
// Function: je_prof_active_set
bool
prof_active_set(bool active)
{
	bool prof_active_old;

	malloc_mutex_lock(&prof_active_mtx);
	prof_active_old = prof_active;
	prof_active = active;
	malloc_mutex_unlock(&prof_active_mtx);
	return (prof_active_old);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edi, %ebx
leaq 0x3a47d(%rip), %r14     # 0x84ca8
movq %r14, %rdi
callq 0x12960
movb 0x3a496(%rip), %bpl     # 0x84cd0
movb %bl, 0x3a490(%rip)      # 0x84cd0
movq %r14, %rdi
callq 0x125c0
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/prof.c
// Function: je_prof_thread_name_get
const char *
prof_thread_name_get(void)
{
	tsd_t *tsd;
	prof_tdata_t *tdata;

	tsd = tsd_fetch();
	tdata = prof_tdata_get(tsd, true);
	if (tdata == NULL)
		return ("");
	return (tdata->thread_name != NULL ? tdata->thread_name : "");
}

// Assembly:
pushq %rax
movq 0x23791(%rip), %rax     # 0x6dfe8
movq %fs:0x0, %rsi
addq %rax, %rsi
cmpl $0x2, %fs:(%rax)
je 0x4a88f
movl $0x1, %fs:(%rax)
leaq 0x3a58d(%rip), %rax     # 0x84e04
movl (%rax), %edi
callq 0x12990
leaq 0xf32f(%rip), %rdi      # 0x59bb4
callq 0x4f37c
callq 0x120c0
movl $0x3, %fs:(%rax)
jmp 0x4a870
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/prof.c
// Function: je_prof_thread_active_set
bool
prof_thread_active_set(bool active)
{
	tsd_t *tsd;
	prof_tdata_t *tdata;

	tsd = tsd_fetch();
	tdata = prof_tdata_get(tsd, true);
	if (tdata == NULL)
		return (true);
	tdata->active = active;
	return (false);
}

// Assembly:
pushq %rax
movq 0x236ff(%rip), %rax     # 0x6dfe8
movq %fs:0x0, %rsi
addq %rax, %rsi
cmpl $0x2, %fs:(%rax)
je 0x4a921
movl $0x1, %fs:(%rax)
leaq 0x3a4fb(%rip), %rax     # 0x84e04
movl (%rax), %edi
callq 0x12990
leaq 0xf29d(%rip), %rdi      # 0x59bb4
callq 0x4f37c
callq 0x120c0
movl $0x3, %fs:(%rax)
jmp 0x4a902
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/prof.c
// Function: je_prof_thread_active_init_set
bool
prof_thread_active_init_set(bool active_init)
{
	bool active_init_old;

	malloc_mutex_lock(&prof_thread_active_init_mtx);
	active_init_old = prof_thread_active_init;
	prof_thread_active_init = active_init;
	malloc_mutex_unlock(&prof_thread_active_init_mtx);
	return (active_init_old);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edi, %ebx
leaq 0x3a3a1(%rip), %r14     # 0x84cd8
movq %r14, %rdi
callq 0x12960
movb 0x3a3ba(%rip), %bpl     # 0x84d00
movb %bl, 0x3a3b4(%rip)      # 0x84d00
movq %r14, %rdi
callq 0x125c0
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/prof.c
// Function: je_prof_gdump_get
bool
prof_gdump_get(void)
{
	bool prof_gdump_current;

	malloc_mutex_lock(&prof_gdump_mtx);
	prof_gdump_current = prof_gdump_val;
	malloc_mutex_unlock(&prof_gdump_mtx);
	return (prof_gdump_current);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
leaq 0x3a3a3(%rip), %rbx     # 0x84d08
movq %rbx, %rdi
callq 0x12960
movb 0x3a3bc(%rip), %bpl     # 0x84d30
movq %rbx, %rdi
callq 0x125c0
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/prof.c
// Function: je_prof_gdump_set
bool
prof_gdump_set(bool gdump)
{
	bool prof_gdump_old;

	malloc_mutex_lock(&prof_gdump_mtx);
	prof_gdump_old = prof_gdump_val;
	prof_gdump_val = gdump;
	malloc_mutex_unlock(&prof_gdump_mtx);
	return (prof_gdump_old);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edi, %ebx
leaq 0x3a376(%rip), %r14     # 0x84d08
movq %r14, %rdi
callq 0x12960
movb 0x3a38f(%rip), %bpl     # 0x84d30
movb %bl, 0x3a389(%rip)      # 0x84d30
movq %r14, %rdi
callq 0x125c0
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/prof.c
// Function: je_prof_prefork
void
prof_prefork(void)
{

	if (opt_prof) {
		unsigned i;

		malloc_mutex_prefork(&tdatas_mtx);
		malloc_mutex_prefork(&bt2gctx_mtx);
		malloc_mutex_prefork(&next_thr_uid_mtx);
		malloc_mutex_prefork(&prof_dump_seq_mtx);
		for (i = 0; i < PROF_NCTX_LOCKS; i++)
			malloc_mutex_prefork(&gctx_locks[i]);
		for (i = 0; i < PROF_NTDATA_LOCKS; i++)
			malloc_mutex_prefork(&tdata_locks[i]);
	}
}

// Assembly:
cmpb $0x1, 0x39da3(%rip)     # 0x84760
jne 0x4aa1f
pushq %rbx
leaq 0x39e01(%rip), %rdi     # 0x847c8
callq 0x48e82
leaq 0x3a365(%rip), %rdi     # 0x84d38
callq 0x48e82
leaq 0x3a389(%rip), %rdi     # 0x84d68
callq 0x48e82
leaq 0x39d8d(%rip), %rdi     # 0x84778
callq 0x48e82
xorl %ebx, %ebx
movq %rbx, %rdi
callq 0x48e82
addq $0x28, %rbx
cmpq $0xa000, %rbx           # imm = 0xA000
jne 0x4a9f2
xorl %ebx, %ebx
movq %rbx, %rdi
callq 0x48e82
addq $0x28, %rbx
cmpq $0x2800, %rbx           # imm = 0x2800
jne 0x4aa09
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/prof.c
// Function: je_prof_postfork_parent
void
prof_postfork_parent(void)
{

	if (opt_prof) {
		unsigned i;

		for (i = 0; i < PROF_NTDATA_LOCKS; i++)
			malloc_mutex_postfork_parent(&tdata_locks[i]);
		for (i = 0; i < PROF_NCTX_LOCKS; i++)
			malloc_mutex_postfork_parent(&gctx_locks[i]);
		malloc_mutex_postfork_parent(&prof_dump_seq_mtx);
		malloc_mutex_postfork_parent(&next_thr_uid_mtx);
		malloc_mutex_postfork_parent(&bt2gctx_mtx);
		malloc_mutex_postfork_parent(&tdatas_mtx);
	}
}

// Assembly:
cmpb $0x1, 0x39d39(%rip)     # 0x84760
jne 0x4aa89
pushq %rbx
xorl %ebx, %ebx
movq %rbx, %rdi
callq 0x48e87
addq $0x28, %rbx
cmpq $0x2800, %rbx           # imm = 0x2800
jne 0x4aa2c
xorl %ebx, %ebx
movq %rbx, %rdi
callq 0x48e87
addq $0x28, %rbx
cmpq $0xa000, %rbx           # imm = 0xA000
jne 0x4aa43
leaq 0x39d19(%rip), %rdi     # 0x84778
callq 0x48e87
leaq 0x3a2fd(%rip), %rdi     # 0x84d68
callq 0x48e87
leaq 0x3a2c1(%rip), %rdi     # 0x84d38
callq 0x48e87
leaq 0x39d45(%rip), %rdi     # 0x847c8
popq %rbx
jmp 0x48e87
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/prof.c
// Function: je_prof_postfork_child
void
prof_postfork_child(void)
{

	if (opt_prof) {
		unsigned i;

		for (i = 0; i < PROF_NTDATA_LOCKS; i++)
			malloc_mutex_postfork_child(&tdata_locks[i]);
		for (i = 0; i < PROF_NCTX_LOCKS; i++)
			malloc_mutex_postfork_child(&gctx_locks[i]);
		malloc_mutex_postfork_child(&prof_dump_seq_mtx);
		malloc_mutex_postfork_child(&next_thr_uid_mtx);
		malloc_mutex_postfork_child(&bt2gctx_mtx);
		malloc_mutex_postfork_child(&tdatas_mtx);
	}
}

// Assembly:
cmpb $0x1, 0x39ccf(%rip)     # 0x84760
jne 0x4aaf3
pushq %rbx
xorl %ebx, %ebx
movq %rbx, %rdi
callq 0x48e8c
addq $0x28, %rbx
cmpq $0x2800, %rbx           # imm = 0x2800
jne 0x4aa96
xorl %ebx, %ebx
movq %rbx, %rdi
callq 0x48e8c
addq $0x28, %rbx
cmpq $0xa000, %rbx           # imm = 0xA000
jne 0x4aaad
leaq 0x39caf(%rip), %rdi     # 0x84778
callq 0x48e8c
leaq 0x3a293(%rip), %rdi     # 0x84d68
callq 0x48e8c
leaq 0x3a257(%rip), %rdi     # 0x84d38
callq 0x48e8c
leaq 0x39cdb(%rip), %rdi     # 0x847c8
popq %rbx
jmp 0x48e8c
retq
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/quarantine.c
// Function: quarantine_drain_one
static void
quarantine_drain_one(tsd_t *tsd, quarantine_t *quarantine)
{
	quarantine_obj_t *obj = &quarantine->objs[quarantine->first];
	assert(obj->usize == isalloc(obj->ptr, config_prof));
	idalloctm(tsd, obj->ptr, NULL, false);
	quarantine->curbytes -= obj->usize;
	quarantine->curobjs--;
	quarantine->first = (quarantine->first + 1) & ((ZU(1) <<
	    quarantine->lg_maxobjs) - 1);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x10(%rsi), %rax
shlq $0x4, %rax
leaq (%rsi,%rax), %r14
addq $0x20, %r14
movq (%r14), %rdx
leaq 0x38f18(%rip), %rax     # 0x846a0
movq (%rax), %rsi
notq %rsi
andq %rdx, %rsi
movq %rdx, %rcx
subq %rsi, %rcx
je 0x4b7ea
shrq $0xc, %rcx
leaq 0x38da4(%rip), %rax     # 0x84548
movq %rcx, %rdi
subq (%rax), %rdi
testb $0x2, 0x68(%rsi,%rdi,8)
movq (%rsi), %rdi
jne 0x4b7f6
callq 0x3b9e8
movq 0x8(%r14), %rax
subq %rax, (%rbx)
decq 0x8(%rbx)
movq 0x10(%rbx), %rax
movb 0x18(%rbx), %cl
movq $-0x1, %rdx
shlq %cl, %rdx
incq %rax
notq %rdx
andq %rax, %rdx
movq %rdx, 0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rdx, %rsi
xorl %edx, %edx
callq 0x488cb
jmp 0x4b7b9
callq 0x3bb14
jmp 0x4b7b9
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/tcache.c
// Function: je_tcache_alloc_small_hard
void *
tcache_alloc_small_hard(tsd_t *tsd, arena_t *arena, tcache_t *tcache,
    tcache_bin_t *tbin, szind_t binind)
{
	void *ret;

	arena_tcache_fill_small(arena, tbin, binind, config_prof ?
	    tcache->prof_accumbytes : 0);
	if (config_prof)
		tcache->prof_accumbytes = 0;
	ret = tcache_alloc_easy(tbin);

	return (ret);
}

// Assembly:
pushq %rbx
movl %r8d, %edx
movq %rcx, %rbx
movq %rsi, %rdi
movq %rcx, %rsi
xorl %ecx, %ecx
callq 0x3a8fe
movl 0x10(%rbx), %eax
testl %eax, %eax
je 0x4ebf3
decl %eax
movl %eax, 0x10(%rbx)
cmpl 0x8(%rbx), %eax
jl 0x4ebfe
movq 0x18(%rbx), %rcx
movl %eax, %eax
movq (%rcx,%rax,8), %rax
popq %rbx
retq
movl $0xffffffff, 0x8(%rbx)  # imm = 0xFFFFFFFF
xorl %eax, %eax
jmp 0x4ebf1
movl %eax, 0x8(%rbx)
jmp 0x4ebe7