// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/jemalloc/src/jemalloc.c
// Function: malloc_init_hard_a0_locked
static bool
malloc_init_hard_a0_locked(void)
{

	malloc_initializer = INITIALIZER;

	if (config_prof)
		prof_boot0();
	malloc_conf_init();
	if (opt_stats_print) {
		/* Print statistics at exit. */
		if (atexit(stats_print_atexit) != 0) {
			malloc_write("<jemalloc>: Error in atexit()\n");
			if (opt_abort)
				abort();
		}
	}
	if (base_boot())
		return (true);
	if (chunk_boot())
		return (true);
	if (ctl_boot())
		return (true);
	if (config_prof)
		prof_boot1();
	if (arena_boot())
		return (true);
	if (config_tcache && tcache_boot())
		return (true);
	if (malloc_mutex_init(&arenas_lock))
		return (true);
	/*
	 * Create enough scaffolding to allow recursive allocation in
	 * malloc_ncpus().
	 */
	narenas_total = narenas_auto = 1;
	arenas = &a0;
	memset(arenas, 0, sizeof(arena_t *) * narenas_auto);
	/*
	 * Initialize one arena here.  The rest are lazily created in
	 * arena_choose_hard().
	 */
	if (arena_init(0) == NULL)
		return (true);
	malloc_init_state = malloc_init_a0_initialized;
	return (false);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1028, %rsp           # imm = 0x1028
callq 0x12750
movq %rax, 0x4aae8(%rip)     # 0x837a8
leaq 0x20(%rsp), %rax
movq $0x1001, (%rax)         # imm = 0x1001
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movq %rcx, 0x10(%rax)
movq %rcx, 0x18(%rax)
movq %rcx, 0x20(%rax)
movq %rcx, 0x28(%rax)
xorl %edx, %edx
rolq $0x3, %rdi
rolq $0xd, %rdi
rolq $0x3d, %rdi
rolq $0x33, %rdi
xchgq %rbx, %rbx
movq %rdx, 0x10(%rsp)
movq 0x10(%rsp), %rax
shlq $0x20, %rax
setne 0x4aa88(%rip)           # 0x83794
jne 0x397aa
leaq 0x20167(%rip), %r15     # 0x58e80
xorl %eax, %eax
cmpl $0x2, %eax
movl %eax, 0x1c(%rsp)
je 0x38d6c
cmpl $0x1, %eax
jne 0x396b7
movq %r12, %r13
callq 0x120d0
movq %rax, %r14
movl (%rax), %r12d
movl $0x1000, %edx           # imm = 0x1000
leaq 0x20cde(%rip), %rdi     # 0x59a25
leaq 0x20(%rsp), %rsi
callq 0x121c0
cmpl $-0x1, %eax
jne 0x38d5b
movl %r12d, (%r14)
xorl %eax, %eax
cltq
movb $0x0, 0x20(%rsp,%rax)
leaq 0x20(%rsp), %r14
movq %r13, %r12
jmp 0x38d8a
leaq 0x20cc6(%rip), %rdi     # 0x59a39
callq 0x12130
movq %rax, %r14
testq %rax, %rax
jne 0x38d8a
movb $0x0, 0x20(%rsp)
leaq 0x20(%rsp), %r14
cmpb $0x0, (%r14)
je 0x396d1
movq %r12, 0x8(%rsp)
movq %r14, %r13
movq %r14, %rax
notq %rax
xorl %r12d, %r12d
movzbl (%r14), %ecx
cmpq $0x7a, %rcx
ja 0x394c7
movslq (%r15,%rcx,4), %rcx
addq %r15, %rcx
jmpq *%rcx
incq %r14
testb $0x1, %r12b
je 0x38da5
jmp 0x38dde
leaq (%r14,%rax), %rcx
incq %rcx
movq %rcx, 0x8(%rsp)
incq %r14
movb $0x1, %r12b
movq %r14, %rbp
jmp 0x38dbf
movq %rbp, %r12
notq %r12
xorl %eax, %eax
movzbl (%r14), %ecx
testl %ecx, %ecx
je 0x38e0f
cmpl $0x2c, %ecx
jne 0x38e19
cmpb $0x0, 0x1(%r14)
jne 0x38e06
leaq 0x20d1c(%rip), %rdi     # 0x59b1d
callq 0x4f37c
incq %r14
leaq (%r14,%r12), %rbx
jmp 0x38e15
movq %r14, %rbx
subq %rbp, %rbx
movb $0x1, %al
jmp 0x38e1c
incq %r14
testb $0x1, %al
je 0x38de6
movb $0x1, %r12b
testb $0x1, %r12b
je 0x396cc
movq 0x8(%rsp), %r12
cmpq $0x8, %r12
je 0x38e60
cmpq $0x5, %r12
jne 0x38e7c
movl $0x5, %edx
leaq 0x21133(%rip), %rdi     # 0x59f7d
movq %r13, %rsi
callq 0x12110
testl %eax, %eax
je 0x39134
cmpq $0x8, %r12
jne 0x38e7c
movl $0x8, %edx
leaq 0x2112c(%rip), %rdi     # 0x59f98
movq %r13, %rsi
callq 0x12110
testl %eax, %eax
je 0x390cc
leaq 0x20be6(%rip), %rdi     # 0x59a69
movq %r13, %rsi
movq %r12, %rdx
callq 0x12110
testl %eax, %eax
je 0x39071
cmpq $0x7, %r12
jne 0x38eb8
movl $0x7, %edx
leaq 0x214e9(%rip), %rdi     # 0x5a391
movq %r13, %rsi
callq 0x12110
testl %eax, %eax
je 0x391a4
cmpq $0xd, %r12
jne 0x38eda
movl $0xd, %edx
leaq 0x21844(%rip), %rdi     # 0x5a70e
movq %r13, %rsi
callq 0x12110
testl %eax, %eax
je 0x39216
cmpq $0xb, %r12
jne 0x38efc
movl $0xb, %edx
leaq 0x21164(%rip), %rdi     # 0x5a050
movq %r13, %rsi
callq 0x12110
testl %eax, %eax
je 0x39288
cmpq $0x4, %r12
jne 0x38f1e
movl $0x4, %edx
leaq 0x21169(%rip), %rdi     # 0x5a077
movq %r13, %rsi
callq 0x12110
testl %eax, %eax
je 0x392ea
cmpq $0xa, %r12
jne 0x38f40
movl $0xa, %edx
leaq 0x21162(%rip), %rdi     # 0x5a092
movq %r13, %rsi
callq 0x12110
testl %eax, %eax
je 0x39399
cmpq $0x7, %r12
jne 0x38f62
movl $0x7, %edx
leaq 0x21166(%rip), %rdi     # 0x5a0b8
movq %r13, %rsi
callq 0x12110
testl %eax, %eax
je 0x393df
cmpq $0x4, %r12
jne 0x38f84
movl $0x4, %edx
leaq 0x21163(%rip), %rdi     # 0x5a0d7
movq %r13, %rsi
callq 0x12110
testl %eax, %eax
je 0x39459
cmpq $0x6, %r12
jne 0x3903c
movl $0x6, %edx
leaq 0x21bc2(%rip), %rdi     # 0x5ab5c
movq %r13, %rsi
callq 0x12110
testl %eax, %eax
jne 0x39020
cmpq $0x5, %rbx
je 0x38fd4
cmpq $0x4, %rbx
jne 0x38ff0
movl $0x4, %edx
leaq 0x1d253(%rip), %rdi     # 0x56211
movq %rbp, %rsi
callq 0x12110
testl %eax, %eax
je 0x396a8
cmpq $0x5, %rbx
jne 0x38ff0
movl $0x5, %edx
leaq 0x20a20(%rip), %rdi     # 0x59a00
movq %rbp, %rsi
callq 0x12110
testl %eax, %eax
je 0x3968d
leaq 0x20b4f(%rip), %rdi     # 0x59b46
leaq 0x20a4a(%rip), %rsi     # 0x59a48
movl $0x6, %edx
movq %r13, %rcx
movl %ebx, %r8d
movq %rbp, %r9
xorl %eax, %eax
callq 0x504e1
cmpb $0x1, 0x4a77a(%rip)     # 0x83794
jne 0x38d8a
movl $0x6, %edx
leaq 0x21b30(%rip), %rdi     # 0x5ab5c
movq %r13, %rsi
callq 0x12110
testl %eax, %eax
je 0x394e9
cmpq $0xd, %r12
jne 0x3905e
movl $0xd, %edx
leaq 0x2111c(%rip), %rdi     # 0x5a16a
movq %r13, %rsi
callq 0x12110
testl %eax, %eax
je 0x39544
leaq 0x20ae1(%rip), %rdi     # 0x59b46
leaq 0x20a55(%rip), %rsi     # 0x59ac1
jmp 0x3918c
xorl %r12d, %r12d
leaq 0x35fb5(%rip), %rax     # 0x6f030
movq (%rax,%r12,8), %rdi
movq %rbp, %rsi
movq %rbx, %rdx
callq 0x12110
testl %eax, %eax
jne 0x390c1
movl %r12d, %edi
callq 0x412a1
testb %al, %al
je 0x391f7
leaq 0x20aa1(%rip), %rdi     # 0x59b46
leaq 0x209af(%rip), %rsi     # 0x59a5b
movq 0x8(%rsp), %rdx
movq %r13, %rcx
movl %ebx, %r8d
movq %rbp, %r9
xorl %eax, %eax
callq 0x504e1
incq %r12
cmpq $0x3, %r12
jne 0x39074
jmp 0x3911f
callq 0x120d0
movq %rax, %r12
movl $0x0, (%rax)
movq %rbp, %rdi
leaq 0x10(%rsp), %rsi
xorl %edx, %edx
callq 0x4f40a
cmpl $0x0, (%r12)
jne 0x3911f
movq 0x10(%rsp), %rcx
subq %rbp, %rcx
cmpq %rbx, %rcx
jne 0x3911f
cmpq $0xf, %rax
movq 0x8(%rsp), %r12
ja 0x39527
leaq 0x4b515(%rip), %rax     # 0x84628
movq $0x10, (%rax)
jmp 0x38d8a
leaq 0x20a20(%rip), %rdi     # 0x59b46
leaq 0x2091b(%rip), %rsi     # 0x59a48
movq 0x8(%rsp), %r12
jmp 0x3918c
cmpq $0x5, %rbx
je 0x39162
cmpq $0x4, %rbx
jne 0x3917e
movl $0x4, %edx
leaq 0x1d0c5(%rip), %rdi     # 0x56211
movq %rbp, %rsi
callq 0x12110
testl %eax, %eax
je 0x3951b
cmpq $0x5, %rbx
jne 0x3917e
movl $0x5, %edx
leaq 0x20892(%rip), %rdi     # 0x59a00
movq %rbp, %rsi
callq 0x12110
testl %eax, %eax
je 0x394bb
leaq 0x209c1(%rip), %rdi     # 0x59b46
leaq 0x208bc(%rip), %rsi     # 0x59a48
movl %r12d, %edx
movq %r13, %rcx
movl %ebx, %r8d
movq %rbp, %r9
xorl %eax, %eax
callq 0x504e1
jmp 0x38d8a
callq 0x120d0
movq %rax, %r12
movl $0x0, (%rax)
movq %rbp, %rdi
leaq 0x10(%rsp), %rsi
xorl %edx, %edx
callq 0x4f40a
cmpl $0x0, (%r12)
jne 0x39270
movq 0x10(%rsp), %rcx
subq %rbp, %rcx
cmpq %rbx, %rcx
jne 0x39270
testq %rax, %rax
je 0x39635
movq %rax, 0x4a55b(%rip)     # 0x83748
movq 0x8(%rsp), %r12
jmp 0x38d8a
leaq 0x35e32(%rip), %rax     # 0x6f030
movq (%rax,%r12,8), %rax
leaq 0x35e17(%rip), %rcx     # 0x6f020
movq %rax, (%rcx)
movq 0x8(%rsp), %r12
jmp 0x38d8a
callq 0x120d0
movq %rax, %r12
movl $0x0, (%rax)
movq %rbp, %rdi
leaq 0x10(%rsp), %rsi
xorl %edx, %edx
callq 0x12510
cmpl $0x0, (%r12)
jne 0x3958f
movq 0x10(%rsp), %rcx
subq %rbp, %rcx
cmpq %rbx, %rcx
jne 0x3958f
leaq -0x40(%rax), %rcx
cmpq $-0x42, %rcx
ja 0x39629
leaq 0x208e2(%rip), %rdi     # 0x59b46
leaq 0x20802(%rip), %rsi     # 0x59a6d
jmp 0x3959d
leaq 0x208cf(%rip), %rdi     # 0x59b46
leaq 0x207ca(%rip), %rsi     # 0x59a48
movl $0x7, %edx
jmp 0x395a2
cmpq $0x5, %rbx
je 0x392b6
cmpq $0x4, %rbx
jne 0x392d2
movl $0x4, %edx
leaq 0x1cf71(%rip), %rdi     # 0x56211
movq %rbp, %rsi
callq 0x12110
testl %eax, %eax
je 0x395fb
cmpq $0x5, %rbx
jne 0x392d2
movl $0x5, %edx
leaq 0x2073e(%rip), %rdi     # 0x59a00
movq %rbp, %rsi
callq 0x12110
testl %eax, %eax
je 0x395bc
leaq 0x2086d(%rip), %rdi     # 0x59b46
leaq 0x20768(%rip), %rsi     # 0x59a48
movl $0xb, %edx
jmp 0x3918f
cmpq $0x4, %rbx
jne 0x3930c
movl $0x4, %edx
leaq 0x1cf15(%rip), %rdi     # 0x56211
movq %rbp, %rsi
callq 0x12110
testl %eax, %eax
je 0x395cb
cmpq $0x5, %rbx
jne 0x39352
movl $0x5, %edx
leaq 0x206e2(%rip), %r12     # 0x59a00
movq %r12, %rdi
movq %rbp, %rsi
callq 0x12110
testl %eax, %eax
je 0x3960a
movl $0x5, %edx
leaq 0x21d4f(%rip), %rdi     # 0x5b08c
movq %rbp, %rsi
callq 0x12110
testl %eax, %eax
movq 0x8(%rsp), %r12
je 0x39654
cmpq $0x4, %rbx
jne 0x394a3
movl $0x4, %edx
leaq 0x2071d(%rip), %rdi     # 0x59a85
movq %rbp, %rsi
callq 0x12110
testl %eax, %eax
jne 0x394a3
leaq 0x20706(%rip), %rax     # 0x59a85
movq %rax, 0x35c5a(%rip)     # 0x6efe0
movb $0x0, 0x4a3a4(%rip)     # 0x83731
movb $0x1, 0x4a39e(%rip)     # 0x83732
jmp 0x38d8a
callq 0x120d0
movq %rax, %r12
movl $0x0, (%rax)
movq %rbp, %rdi
leaq 0x10(%rsp), %rsi
xorl %edx, %edx
callq 0x4f40a
cmpl $0x0, (%r12)
jne 0x39441
movq 0x10(%rsp), %rcx
subq %rbp, %rcx
cmpq %rbx, %rcx
jne 0x39441
movq %rax, 0x4a363(%rip)     # 0x83738
movq 0x8(%rsp), %r12
jmp 0x38d8a
cmpq $0x5, %rbx
je 0x3940d
cmpq $0x4, %rbx
jne 0x39429
movl $0x4, %edx
leaq 0x1ce1a(%rip), %rdi     # 0x56211
movq %rbp, %rsi
callq 0x12110
testl %eax, %eax
je 0x39681
cmpq $0x5, %rbx
jne 0x39429
movl $0x5, %edx
leaq 0x205e7(%rip), %rdi     # 0x59a00
movq %rbp, %rsi
callq 0x12110
testl %eax, %eax
je 0x39648
leaq 0x20716(%rip), %rdi     # 0x59b46
leaq 0x20611(%rip), %rsi     # 0x59a48
movl $0x7, %edx
jmp 0x3918f
leaq 0x206fe(%rip), %rdi     # 0x59b46
leaq 0x205f9(%rip), %rsi     # 0x59a48
movl $0xa, %edx
jmp 0x395a2
cmpq $0x5, %rbx
je 0x39487
cmpq $0x4, %rbx
jne 0x394a3
movl $0x4, %edx
leaq 0x1cda0(%rip), %rdi     # 0x56211
movq %rbp, %rsi
callq 0x12110
testl %eax, %eax
je 0x3969c
cmpq $0x5, %rbx
jne 0x394a3
movl $0x5, %edx
leaq 0x2056d(%rip), %rdi     # 0x59a00
movq %rbp, %rsi
callq 0x12110
testl %eax, %eax
je 0x39675
leaq 0x2069c(%rip), %rdi     # 0x59b46
leaq 0x20597(%rip), %rsi     # 0x59a48
movl $0x4, %edx
jmp 0x3918f
movb $0x0, 0x4a26e(%rip)     # 0x83730
jmp 0x38d8a
leaq 0x2062c(%rip), %rdi     # 0x59afa
jmp 0x394dc
leaq 0x205fc(%rip), %rdi     # 0x59ad3
cmpq %r13, %r14
je 0x394e1
callq 0x4f37c
movq %r13, %r14
jmp 0x38e23
leaq 0x35b80(%rip), %rax     # 0x6f070
cmpb $0x1, (%rax)
jne 0x38d8a
leaq 0x35b70(%rip), %rax     # 0x6f070
movb $0x0, (%rax)
leaq 0x2063c(%rip), %rdi     # 0x59b46
leaq 0x20579(%rip), %rsi     # 0x59a8a
movl $0x6, %edx
jmp 0x3918f
movb $0x1, 0x4a20e(%rip)     # 0x83730
jmp 0x38d8a
cmpq $0x40, %rax
jb 0x395ec
leaq 0x4b0f0(%rip), %rax     # 0x84628
movq $0x3f, (%rax)
jmp 0x38d8a
callq 0x120d0
movq %rax, %r12
movl $0x0, (%rax)
movq %rbp, %rdi
leaq 0x10(%rsp), %rsi
xorl %edx, %edx
callq 0x12510
cmpl $0x0, (%r12)
jne 0x3958f
movq 0x10(%rsp), %rcx
subq %rbp, %rcx
cmpq %rbx, %rcx
jne 0x3958f
leaq -0x40(%rax), %rcx
cmpq $-0x42, %rcx
jbe 0x3925d
leaq 0x35aee(%rip), %rcx     # 0x6f078
jmp 0x39209
leaq 0x205b0(%rip), %rdi     # 0x59b46
leaq 0x204ab(%rip), %rsi     # 0x59a48
movl $0xd, %edx
movq %r13, %rcx
movl %ebx, %r8d
movq %rbp, %r9
xorl %eax, %eax
callq 0x504e1
movq 0x8(%rsp), %r12
jmp 0x38d8a
leaq 0x4b7cd(%rip), %rax     # 0x84d90
movb $0x0, (%rax)
jmp 0x38d8a
leaq 0x1cc3f(%rip), %rax     # 0x56211
movq %rax, 0x35a07(%rip)     # 0x6efe0
movb $0x1, %al
movb %al, 0x4a151(%rip)      # 0x83732
movb %al, 0x4a14a(%rip)      # 0x83731
jmp 0x38d8a
leaq 0x4b035(%rip), %rcx     # 0x84628
movq %rax, (%rcx)
jmp 0x38d8a
leaq 0x4b78e(%rip), %rax     # 0x84d90
movb $0x1, (%rax)
jmp 0x38d8a
movq %r12, 0x359cf(%rip)     # 0x6efe0
xorl %eax, %eax
movb %al, 0x4a119(%rip)      # 0x83732
movb %al, 0x4a112(%rip)      # 0x83731
movq 0x8(%rsp), %r12
jmp 0x38d8a
leaq 0x359e8(%rip), %rcx     # 0x6f018
jmp 0x39209
leaq 0x2050a(%rip), %rdi     # 0x59b46
leaq 0x2042a(%rip), %rsi     # 0x59a6d
jmp 0x3927e
movb $0x0, 0x4a0f1(%rip)     # 0x83740
jmp 0x38d8a
leaq 0x21a31(%rip), %rax     # 0x5b08c
movq %rax, 0x3597e(%rip)     # 0x6efe0
movb $0x1, 0x4a0c8(%rip)     # 0x83731
movb $0x0, 0x4a0c2(%rip)     # 0x83732
jmp 0x38d8a
movb $0x0, 0x4a0c7(%rip)     # 0x83743
jmp 0x38d8a
movb $0x1, 0x4a0b8(%rip)     # 0x83740
jmp 0x38d8a
leaq 0x359dc(%rip), %rax     # 0x6f070
movb $0x0, (%rax)
jmp 0x39013
movb $0x1, 0x4a0a0(%rip)     # 0x83743
jmp 0x38d8a
leaq 0x359c1(%rip), %rax     # 0x6f070
movb $0x1, (%rax)
jmp 0x39013
movq 0x4a0da(%rip), %r14     # 0x83798
testq %r14, %r14
jne 0x38d8a
jmp 0x38d80
movq 0x8(%rsp), %r12
movl 0x1c(%rsp), %eax
incl %eax
cmpl $0x3, %eax
jne 0x38d1b
leaq 0x4b6a9(%rip), %rax     # 0x84d90
cmpb $0x1, (%rax)
jne 0x39715
leaq 0xc6(%rip), %rdi        # 0x397b9
callq 0x51e70
testl %eax, %eax
je 0x39715
leaq 0x20303(%rip), %rdi     # 0x59a06
callq 0x4f37c
cmpb $0x1, 0x4a021(%rip)     # 0x83730
je 0x397b4
movb $0x1, %bl
callq 0x400b6
testb %al, %al
jne 0x39796
callq 0x41142
testb %al, %al
jne 0x39796
callq 0x41b8f
testb %al, %al
jne 0x39796
callq 0x3cf10
testb %al, %al
jne 0x39796
callq 0x4f210
testb %al, %al
jne 0x39796
leaq 0x4a00d(%rip), %rdi     # 0x83758
callq 0x48e30
testb %al, %al
jne 0x39796
movl $0x1, %eax
movl %eax, 0x4a031(%rip)     # 0x83790
movl %eax, 0x4a01b(%rip)     # 0x83780
leaq 0x49fe4(%rip), %rax     # 0x83750
movq %rax, 0x4a015(%rip)     # 0x83788
movq $0x0, 0x49fd2(%rip) # 0x83750
xorl %edi, %edi
callq 0x34797
testq %rax, %rax
je 0x39796
movl $0x2, 0x35854(%rip)     # 0x6efe8
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x1028, %rsp           # imm = 0x1028
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x13ddb
jmp 0x38d12
callq 0x120c0