	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sys_alloc
_sys_alloc:                             ## @sys_alloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	_CMFAIL@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r12
	xorl	%eax, %eax
	callq	_ensure_initialization
	movq	%r13, %rdi
	callq	_use_mmap
	movq	_mparams@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	%r15, (%rcx)
	ja	LBB0_3
## %bb.2:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_mmap_alloc
	testq	%rax, %rax
	jne	LBB0_82
LBB0_3:
	movq	_MORECORE_CONTIGUOUS@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%rax)
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.4:
	movq	%r13, %rdi
	callq	_use_noncontiguous
	testl	%eax, %eax
	je	LBB0_7
LBB0_6:
	xorl	%r14d, %r14d
	jmp	LBB0_38
LBB0_7:
	movq	(%rbx), %rax
	movq	(%r13), %rsi
	testq	%rsi, %rsi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_11
## %bb.8:
	movq	%r13, %rdi
	callq	_segment_holding
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_ACQUIRE_MALLOC_GLOBAL_LOCK
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.9:
	movq	%r15, %rdi
	subq	8(%r13), %rdi
	movq	_SYS_ALLOC_PADDING@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_granularity_align
	movq	%rax, %r14
	movq	_HALF_MAX_SIZE_T@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jae	LBB0_26
## %bb.10:
	movq	%r14, %rdi
	callq	_CALL_MORECORE
	movslq	8(%rbx), %rcx
	addq	(%rbx), %rcx
	xorl	%edx, %edx
	cmpq	%rax, %rcx
	movq	%r14, %r15
	cmoveq	%r14, %rdx
	movq	%rax, %r14
	cmoveq	%rax, %r12
	jmp	LBB0_17
LBB0_11:
	xorl	%eax, %eax
	callq	_ACQUIRE_MALLOC_GLOBAL_LOCK
LBB0_12:
	xorl	%edi, %edi
	callq	_CALL_MORECORE
	movq	_CMFAIL@GOTPCREL(%rip), %rbx
	cmpq	%rax, (%rbx)
	je	LBB0_18
## %bb.13:
	movq	%rax, %r14
	movq	_SYS_ALLOC_PADDING@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r15, %rdi
	callq	_granularity_align
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_is_page_aligned
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	callq	_page_align
	subq	%r14, %rbx
	addq	%rax, %rbx
LBB0_15:
	movq	_HALF_MAX_SIZE_T@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jae	LBB0_27
## %bb.16:
	movq	%rbx, %rdi
	callq	_CALL_MORECORE
	xorl	%edx, %edx
	cmpq	%r14, %rax
	movq	%rbx, %r15
	cmoveq	%rbx, %rdx
	cmoveq	%r14, %r12
	movq	%rax, %r14
LBB0_17:
	movq	_CMFAIL@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %r12
	jne	LBB0_29
LBB0_20:
	cmpq	%r12, %r14
	je	LBB0_31
## %bb.21:
	movq	_HALF_MAX_SIZE_T@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jae	LBB0_31
## %bb.22:
	movq	%r15, %rcx
	movq	_SYS_ALLOC_PADDING@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	-48(%rbp), %rdi                 ## 8-byte Folded Reload
	subq	%r15, %rdi
	jbe	LBB0_31
## %bb.23:
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	callq	_granularity_align
	movq	_HALF_MAX_SIZE_T@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_34
## %bb.24:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_CALL_MORECORE
	movq	(%rbx), %rcx
	cmpq	%rax, %rcx
	je	LBB0_83
## %bb.25:
	addq	-72(%rbp), %r15                 ## 8-byte Folded Reload
	jmp	LBB0_35
LBB0_31:
	movq	%r12, %rcx
	cmpq	%rcx, %r14
	jne	LBB0_37
	jmp	LBB0_84
LBB0_18:
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	jmp	LBB0_19
LBB0_26:
	movq	%r14, %r15
	jmp	LBB0_28
LBB0_27:
	movq	%rbx, %r15
LBB0_28:
	xorl	%edx, %edx
	movq	_CMFAIL@GOTPCREL(%rip), %rbx
LBB0_19:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	cmpq	(%rbx), %r12
	je	LBB0_20
LBB0_29:
	movq	%rdx, %r15
LBB0_30:
	movq	%r12, %r14
LBB0_37:
	xorl	%eax, %eax
	callq	_RELEASE_MALLOC_GLOBAL_LOCK
	movq	%r14, %r12
	movq	%r15, %r14
LBB0_38:
	movq	_HAVE_MMAP@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	(%rbx), %rbx
	je	LBB0_44
## %bb.39:
	cmpq	%rbx, %r12
	jne	LBB0_44
## %bb.40:
	movq	_SYS_ALLOC_PADDING@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	addq	%rbx, %rdi
	callq	_granularity_align
	cmpq	%rbx, %rax
	jbe	LBB0_43
## %bb.41:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_CALL_MMAP
	movq	_CMFAIL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	xorl	%ecx, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %rbx
	je	LBB0_44
## %bb.42:
	movq	_IS_MMAPPED_BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %r14
	movq	%rax, %r12
	jmp	LBB0_44
LBB0_43:
	movq	_CMFAIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_44:
	movq	_HAVE_MORECORE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_51
## %bb.45:
	cmpq	%rbx, %r12
	jne	LBB0_51
## %bb.46:
	movq	_SYS_ALLOC_PADDING@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	-48(%rbp), %rdi                 ## 8-byte Folded Reload
	callq	_granularity_align
	movq	%rax, %r15
	movq	_HALF_MAX_SIZE_T@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jae	LBB0_53
## %bb.47:
	xorl	%eax, %eax
	callq	_ACQUIRE_MALLOC_GLOBAL_LOCK
	movq	%r15, %rdi
	callq	_CALL_MORECORE
	movq	%rax, %r15
	xorl	%edi, %edi
	callq	_CALL_MORECORE
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_RELEASE_MALLOC_GLOBAL_LOCK
	movq	_CMFAIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%r15, %rax
	je	LBB0_52
## %bb.48:
	cmpq	%r12, %rax
	je	LBB0_52
## %bb.49:
	cmpq	%r12, %r15
	jae	LBB0_52
## %bb.50:
	subq	%r15, %r12
	movq	_TOP_FOOT_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	-48(%rbp), %rcx                 ## 8-byte Folded Reload
	cmpq	%rcx, %r12
	cmovaq	%r12, %r14
	cmovaq	%r15, %rbx
	cmpq	%rax, %rbx
	jne	LBB0_54
	jmp	LBB0_81
LBB0_51:
	movq	%rbx, %rax
	movq	%r12, %rbx
LBB0_52:
	cmpq	%rax, %rbx
	jne	LBB0_54
	jmp	LBB0_81
LBB0_53:
	movq	_CMFAIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rbx
	je	LBB0_81
LBB0_54:
	movq	16(%r13), %rax
	movq	%r14, %r15
	addq	%r14, %rax
	movq	%rax, 16(%r13)
	cmpq	24(%r13), %rax
	jle	LBB0_56
## %bb.55:
	movq	%rax, 24(%r13)
LBB0_56:
	movq	%r13, %rdi
	callq	_is_initialized
	testl	%eax, %eax
	je	LBB0_61
## %bb.57:
	leaq	40(%r13), %r12
	movq	_NO_SEGMENT_TRAVERSAL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rax
	movq	%r12, %r15
	.p2align	4, 0x90
LBB0_58:                                ## =>This Inner Loop Header: Depth=1
	movslq	8(%r15), %rcx
	addq	(%r15), %rcx
	cmpq	%rcx, %rbx
	je	LBB0_63
## %bb.59:                              ##   in Loop: Header=BB0_58 Depth=1
	testq	%rax, %rax
	jne	LBB0_67
## %bb.60:                              ##   in Loop: Header=BB0_58 Depth=1
	movq	16(%r15), %r15
	testq	%r15, %r15
	jne	LBB0_58
	jmp	LBB0_67
LBB0_61:
	movq	%rbx, 32(%r13)
	movq	%rbx, 40(%r13)
	movl	%r15d, 48(%r13)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 52(%r13)
	movq	_mparams@GOTPCREL(%rip), %rax
	movl	8(%rax), %eax
	movl	%eax, 68(%r13)
	movq	_MAX_RELEASE_CHECK_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r13)
	movq	%r13, %rdi
	callq	_init_bins
	movq	%r13, %rdi
	callq	_is_global
	testq	%rax, %rax
	je	LBB0_77
## %bb.62:
	movq	_TOP_FOOT_SIZE@GOTPCREL(%rip), %rax
	subq	(%rax), %r15
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	jmp	LBB0_78
LBB0_63:
	movq	%r15, %rdi
	callq	_is_extern_segment
	movq	_NO_SEGMENT_TRAVERSAL@GOTPCREL(%rip), %rdx
	testl	%eax, %eax
	jne	LBB0_67
## %bb.64:
	movq	_IS_MMAPPED_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	12(%r15), %eax
	cmpl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_67
## %bb.65:
	movq	(%r13), %rsi
	movq	%r15, %rdi
	callq	_segment_holds
	movq	_NO_SEGMENT_TRAVERSAL@GOTPCREL(%rip), %rdx
	testq	%rax, %rax
	je	LBB0_67
## %bb.66:
	addl	%r14d, 8(%r15)
	movq	(%r13), %rsi
	addq	8(%r13), %r14
	movq	%r13, %rdi
	movq	%r14, %rdx
	jmp	LBB0_78
LBB0_67:
	cmpq	32(%r13), %rbx
	jae	LBB0_69
## %bb.68:
	movq	%rbx, 32(%r13)
LBB0_69:
	movq	%r14, %r15
	leaq	(%rbx,%r14), %rax
	movq	(%rdx), %rcx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_70:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, (%r12)
	je	LBB0_73
## %bb.71:                              ##   in Loop: Header=BB0_70 Depth=1
	testq	%rcx, %rcx
	jne	LBB0_76
## %bb.72:                              ##   in Loop: Header=BB0_70 Depth=1
	movq	16(%r12), %r12
	testq	%r12, %r12
	jne	LBB0_70
	jmp	LBB0_76
LBB0_73:
	movq	%r12, %rdi
	callq	_is_extern_segment
	testl	%eax, %eax
	jne	LBB0_76
## %bb.74:
	movq	_IS_MMAPPED_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	12(%r12), %eax
	cmpl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_76
## %bb.75:
	movq	(%r12), %rdx
	movq	%rbx, (%r12)
	addl	%r15d, 8(%r12)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rcx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_prepend_alloc                  ## TAILCALL
LBB0_76:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_add_segment
	jmp	LBB0_79
LBB0_77:
	movq	%r13, %rdi
	callq	_mem2chunk
	movl	%eax, %edi
	callq	_next_chunk
	addq	%r15, %rbx
	movq	_TOP_FOOT_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%rax, %rcx
	subq	%rcx, %rbx
	movq	%r13, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
LBB0_78:
	callq	_init_top
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_79:
	movq	8(%r13), %rbx
	subq	%r14, %rbx
	jbe	LBB0_81
## %bb.80:
	movq	%rbx, 8(%r13)
	movq	(%r13), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_chunk_plus_offset
	movq	%rax, (%r13)
	movq	_PINUSE_BIT@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rbx
	movq	%rbx, (%rax)
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_set_size_and_pinuse_of_inuse_chunk
	movq	(%r13), %rsi
	movq	%r13, %rdi
	callq	_check_top_chunk
	movq	%r15, %rdi
	callq	_chunk2mem
	movq	%r13, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_check_malloced_chunk
	movq	%r15, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_chunk2mem                      ## TAILCALL
LBB0_81:
	xorl	%eax, %eax
LBB0_82:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	movq	(%rbx), %rcx
LBB0_35:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rcx, %r14
	jne	LBB0_37
	jmp	LBB0_84
LBB0_83:
	negq	%r15
	movq	%r15, %rdi
	callq	_CALL_MORECORE
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
LBB0_84:
	movq	%r13, %rdi
	movq	%rdx, %r15
	callq	_disable_contiguous
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_CMFAIL,8,3                     ## @CMFAIL
	.comm	_mparams,16,3                   ## @mparams
	.comm	_MORECORE_CONTIGUOUS,8,3        ## @MORECORE_CONTIGUOUS
	.comm	_SYS_ALLOC_PADDING,8,3          ## @SYS_ALLOC_PADDING
	.comm	_HALF_MAX_SIZE_T,8,3            ## @HALF_MAX_SIZE_T
	.comm	_HAVE_MMAP,8,3                  ## @HAVE_MMAP
	.comm	_IS_MMAPPED_BIT,4,2             ## @IS_MMAPPED_BIT
	.comm	_HAVE_MORECORE,8,3              ## @HAVE_MORECORE
	.comm	_TOP_FOOT_SIZE,8,3              ## @TOP_FOOT_SIZE
	.comm	_MAX_RELEASE_CHECK_RATE,4,2     ## @MAX_RELEASE_CHECK_RATE
	.comm	_NO_SEGMENT_TRAVERSAL,8,3       ## @NO_SEGMENT_TRAVERSAL
	.comm	_PINUSE_BIT,8,3                 ## @PINUSE_BIT
	.comm	_MALLOC_FAILURE_ACTION,4,2      ## @MALLOC_FAILURE_ACTION
	.no_dead_strip	_sys_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sys_alloc
_sys_alloc:                             ; @sys_alloc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x27, _CMFAIL@GOTPAGE
Lloh1:
	ldr	x27, [x27, _CMFAIL@GOTPAGEOFF]
	ldr	x24, [x27]
	bl	_ensure_initialization
	mov	x0, x20
	bl	_use_mmap
Lloh2:
	adrp	x26, _mparams@GOTPAGE
Lloh3:
	ldr	x26, [x26, _mparams@GOTPAGEOFF]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x26]
	cmp	x8, x19
	b.hi	LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_mmap_alloc
	cbnz	x0, LBB0_69
LBB0_3:
Lloh4:
	adrp	x8, _MORECORE_CONTIGUOUS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MORECORE_CONTIGUOUS@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_use_noncontiguous
	cbz	w0, LBB0_6
LBB0_5:
	mov	x21, #0
	b	LBB0_28
LBB0_6:
	ldr	x22, [x27]
	ldr	x1, [x20]
	cbz	x1, LBB0_10
; %bb.7:
	mov	x0, x20
	bl	_segment_holding
	mov	x23, x0
	bl	_ACQUIRE_MALLOC_GLOBAL_LOCK
	cbz	x23, LBB0_11
; %bb.8:
	ldr	x8, [x20, #8]
Lloh7:
	adrp	x9, _SYS_ALLOC_PADDING@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SYS_ALLOC_PADDING@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	sub	x8, x19, x8
	add	x0, x8, x9
	bl	_granularity_align
	mov	x21, x0
Lloh10:
	adrp	x8, _HALF_MAX_SIZE_T@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HALF_MAX_SIZE_T@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.hs	LBB0_17
; %bb.9:
	mov	x0, x21
	bl	_CALL_MORECORE
	mov	x22, x0
	ldr	x8, [x23]
	ldrsw	x9, [x23, #8]
	add	x8, x8, x9
	cmp	x8, x0
	csel	x25, x21, xzr, eq
	csel	x24, x0, x24, eq
	b	LBB0_18
LBB0_10:
	bl	_ACQUIRE_MALLOC_GLOBAL_LOCK
LBB0_11:
	mov	x0, #0
	bl	_CALL_MORECORE
	ldr	x8, [x27]
	cmp	x8, x0
	b.eq	LBB0_16
; %bb.12:
	mov	x23, x0
Lloh13:
	adrp	x8, _SYS_ALLOC_PADDING@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SYS_ALLOC_PADDING@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	add	x0, x8, x19
	bl	_granularity_align
	mov	x21, x0
	mov	x0, x23
	bl	_is_page_aligned
	cbnz	w0, LBB0_14
; %bb.13:
	mov	x0, x23
	bl	_page_align
	sub	x8, x21, x23
	add	x21, x8, x0
LBB0_14:
Lloh16:
	adrp	x8, _HALF_MAX_SIZE_T@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HALF_MAX_SIZE_T@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x21, x8
	b.hs	LBB0_17
; %bb.15:
	mov	x0, x21
	bl	_CALL_MORECORE
	mov	x22, x0
	cmp	x0, x23
	csel	x25, x21, xzr, eq
	csel	x24, x23, x24, eq
	b	LBB0_18
LBB0_16:
	mov	x21, #0
LBB0_17:
	mov	x25, #0
LBB0_18:
	ldr	x8, [x27]
	cmp	x24, x8
	b.eq	LBB0_20
LBB0_19:
	mov	x21, x25
	mov	x22, x24
	b	LBB0_27
LBB0_20:
	cmp	x22, x24
	b.eq	LBB0_26
; %bb.21:
Lloh19:
	adrp	x28, _HALF_MAX_SIZE_T@GOTPAGE
Lloh20:
	ldr	x28, [x28, _HALF_MAX_SIZE_T@GOTPAGEOFF]
	ldr	x8, [x28]
	cmp	x21, x8
	b.hs	LBB0_26
; %bb.22:
Lloh21:
	adrp	x8, _SYS_ALLOC_PADDING@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SYS_ALLOC_PADDING@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	add	x8, x8, x19
	subs	x0, x8, x21
	b.ls	LBB0_26
; %bb.23:
	bl	_granularity_align
	ldr	x8, [x28]
	cmp	x0, x8
	b.hs	LBB0_70
; %bb.24:
	mov	x23, x0
	bl	_CALL_MORECORE
	ldr	x8, [x27]
	cmp	x8, x0
	b.eq	LBB0_71
; %bb.25:
	add	x21, x23, x21
	cmp	x22, x8
	b.ne	LBB0_27
	b	LBB0_72
LBB0_26:
	mov	x8, x24
	cmp	x22, x8
	b.eq	LBB0_72
LBB0_27:
	bl	_RELEASE_MALLOC_GLOBAL_LOCK
	mov	x24, x22
LBB0_28:
Lloh24:
	adrp	x8, _HAVE_MMAP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _HAVE_MMAP@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldr	x22, [x27]
	cmp	x8, #0
	ccmp	x24, x22, #0, ne
	b.eq	LBB0_30
; %bb.29:
	mov	w23, #0
	b	LBB0_33
LBB0_30:
Lloh27:
	adrp	x8, _SYS_ALLOC_PADDING@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SYS_ALLOC_PADDING@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	add	x0, x8, x19
	bl	_granularity_align
	cmp	x0, x19
	b.ls	LBB0_32
; %bb.31:
	mov	x23, x0
	bl	_CALL_MMAP
Lloh30:
	adrp	x8, _IS_MMAPPED_BIT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IS_MMAPPED_BIT@GOTPAGEOFF]
	ldr	x22, [x27]
Lloh32:
	ldr	w8, [x8]
	cmp	x22, x0
	csel	x21, x21, x23, eq
	csel	w23, wzr, w8, eq
	csel	x24, x24, x0, eq
	b	LBB0_33
LBB0_32:
	mov	w23, #0
	ldr	x22, [x27]
LBB0_33:
Lloh33:
	adrp	x8, _HAVE_MORECORE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _HAVE_MORECORE@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cmp	x8, #0
	ccmp	x24, x22, #0, ne
	b.eq	LBB0_35
; %bb.34:
	mov	x8, x22
	mov	x22, x24
	cmp	x22, x8
	b.ne	LBB0_40
	b	LBB0_68
LBB0_35:
Lloh36:
	adrp	x8, _SYS_ALLOC_PADDING@GOTPAGE
Lloh37:
	ldr	x8, [x8, _SYS_ALLOC_PADDING@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	add	x0, x8, x19
	bl	_granularity_align
Lloh39:
	adrp	x8, _HALF_MAX_SIZE_T@GOTPAGE
Lloh40:
	ldr	x8, [x8, _HALF_MAX_SIZE_T@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cmp	x0, x8
	b.hs	LBB0_39
; %bb.36:
	mov	x24, x0
	bl	_ACQUIRE_MALLOC_GLOBAL_LOCK
	mov	x0, x24
	bl	_CALL_MORECORE
	mov	x24, x0
	mov	x0, #0
	bl	_CALL_MORECORE
	mov	x25, x0
	bl	_RELEASE_MALLOC_GLOBAL_LOCK
	ldr	x8, [x27]
	cmp	x8, x24
	ccmp	x8, x25, #4, ne
	ccmp	x24, x25, #2, ne
	b.hs	LBB0_38
; %bb.37:
Lloh42:
	adrp	x9, _TOP_FOOT_SIZE@GOTPAGE
Lloh43:
	ldr	x9, [x9, _TOP_FOOT_SIZE@GOTPAGEOFF]
	sub	x10, x25, x24
Lloh44:
	ldr	x9, [x9]
	add	x9, x9, x19
	cmp	x10, x9
	csel	x21, x10, x21, hi
	csel	x22, x24, x22, hi
LBB0_38:
	cmp	x22, x8
	b.ne	LBB0_40
	b	LBB0_68
LBB0_39:
	ldr	x8, [x27]
	cmp	x22, x8
	b.eq	LBB0_68
LBB0_40:
	ldp	x8, x9, [x20, #16]
	add	x8, x8, x21
	cmp	x8, x9
	str	x8, [x20, #16]
	b.le	LBB0_42
; %bb.41:
	str	x8, [x20, #24]
LBB0_42:
	mov	x0, x20
	bl	_is_initialized
	cbz	w0, LBB0_47
; %bb.43:
	add	x24, x20, #40
Lloh45:
	adrp	x26, _NO_SEGMENT_TRAVERSAL@GOTPAGE
Lloh46:
	ldr	x26, [x26, _NO_SEGMENT_TRAVERSAL@GOTPAGEOFF]
	ldr	x8, [x26]
	mov	x25, x24
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x25]
	ldrsw	x10, [x25, #8]
	add	x9, x9, x10
	cmp	x22, x9
	b.eq	LBB0_49
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=1
	cbnz	x8, LBB0_53
; %bb.46:                               ;   in Loop: Header=BB0_44 Depth=1
	ldr	x25, [x25, #16]
	cbnz	x25, LBB0_44
	b	LBB0_53
LBB0_47:
	stp	x22, x22, [x20, #32]
	stp	w21, w23, [x20, #48]
	ldr	w8, [x26, #8]
Lloh47:
	adrp	x9, _MAX_RELEASE_CHECK_RATE@GOTPAGE
Lloh48:
	ldr	x9, [x9, _MAX_RELEASE_CHECK_RATE@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #64]
	mov	x0, x20
	bl	_init_bins
	mov	x0, x20
	bl	_is_global
	cbz	x0, LBB0_63
; %bb.48:
Lloh50:
	adrp	x8, _TOP_FOOT_SIZE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _TOP_FOOT_SIZE@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	sub	x2, x21, x8
	mov	x0, x20
	mov	x1, x22
	b	LBB0_65
LBB0_49:
	mov	x0, x25
	bl	_is_extern_segment
	cbnz	w0, LBB0_53
; %bb.50:
	ldr	w8, [x25, #12]
Lloh53:
	adrp	x9, _IS_MMAPPED_BIT@GOTPAGE
Lloh54:
	ldr	x9, [x9, _IS_MMAPPED_BIT@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w8, w23
	b.ne	LBB0_53
; %bb.51:
	ldr	x1, [x20]
	mov	x0, x25
	bl	_segment_holds
	cbz	x0, LBB0_53
; %bb.52:
	ldr	w8, [x25, #8]
	add	w8, w8, w21
	str	w8, [x25, #8]
	ldp	x1, x8, [x20]
	add	x2, x8, x21
	b	LBB0_64
LBB0_53:
	ldr	x8, [x20, #32]
	cmp	x22, x8
	b.hs	LBB0_55
; %bb.54:
	str	x22, [x20, #32]
LBB0_55:
	add	x8, x22, x21
	ldr	x9, [x26]
LBB0_56:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x24]
	cmp	x10, x8
	b.eq	LBB0_59
; %bb.57:                               ;   in Loop: Header=BB0_56 Depth=1
	cbnz	x9, LBB0_62
; %bb.58:                               ;   in Loop: Header=BB0_56 Depth=1
	ldr	x24, [x24, #16]
	cbnz	x24, LBB0_56
	b	LBB0_62
LBB0_59:
	mov	x0, x24
	bl	_is_extern_segment
	cbnz	w0, LBB0_62
; %bb.60:
	ldr	w8, [x24, #12]
Lloh56:
	adrp	x9, _IS_MMAPPED_BIT@GOTPAGE
Lloh57:
	ldr	x9, [x9, _IS_MMAPPED_BIT@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w8, w23
	b.ne	LBB0_62
; %bb.61:
	ldr	x2, [x24]
	str	x22, [x24]
	ldr	w8, [x24, #8]
	add	w8, w8, w21
	str	w8, [x24, #8]
	mov	x0, x20
	mov	x1, x22
	mov	x3, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_prepend_alloc
LBB0_62:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x23
	bl	_add_segment
	b	LBB0_66
LBB0_63:
	mov	x0, x20
	bl	_mem2chunk
	bl	_next_chunk
	mov	x1, x0
	add	x8, x22, x21
Lloh59:
	adrp	x9, _TOP_FOOT_SIZE@GOTPAGE
Lloh60:
	ldr	x9, [x9, _TOP_FOOT_SIZE@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	add	x9, x9, x0
	sub	x2, x8, x9
LBB0_64:
	mov	x0, x20
LBB0_65:
	bl	_init_top
LBB0_66:
	ldr	x8, [x20, #8]
	subs	x22, x8, x19
	b.ls	LBB0_68
; %bb.67:
	str	x22, [x20, #8]
	ldr	x21, [x20]
	mov	x0, x21
	mov	x1, x19
	bl	_chunk_plus_offset
	str	x0, [x20]
Lloh62:
	adrp	x8, _PINUSE_BIT@GOTPAGE
Lloh63:
	ldr	x8, [x8, _PINUSE_BIT@GOTPAGEOFF]
Lloh64:
	ldr	x8, [x8]
	orr	x8, x8, x22
	str	x8, [x0]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_set_size_and_pinuse_of_inuse_chunk
	ldr	x1, [x20]
	mov	x0, x20
	bl	_check_top_chunk
	mov	x0, x21
	bl	_chunk2mem
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_check_malloced_chunk
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_chunk2mem
LBB0_68:
	mov	x0, #0
LBB0_69:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_70:
	ldr	x8, [x27]
	cmp	x22, x8
	b.ne	LBB0_27
	b	LBB0_72
LBB0_71:
	neg	x0, x21
	bl	_CALL_MORECORE
LBB0_72:
	mov	x0, x20
	bl	_disable_contiguous
	b	LBB0_19
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.comm	_CMFAIL,8,3                     ; @CMFAIL
	.comm	_mparams,16,3                   ; @mparams
	.comm	_MORECORE_CONTIGUOUS,8,3        ; @MORECORE_CONTIGUOUS
	.comm	_SYS_ALLOC_PADDING,8,3          ; @SYS_ALLOC_PADDING
	.comm	_HALF_MAX_SIZE_T,8,3            ; @HALF_MAX_SIZE_T
	.comm	_HAVE_MMAP,8,3                  ; @HAVE_MMAP
	.comm	_IS_MMAPPED_BIT,4,2             ; @IS_MMAPPED_BIT
	.comm	_HAVE_MORECORE,8,3              ; @HAVE_MORECORE
	.comm	_TOP_FOOT_SIZE,8,3              ; @TOP_FOOT_SIZE
	.comm	_MAX_RELEASE_CHECK_RATE,4,2     ; @MAX_RELEASE_CHECK_RATE
	.comm	_NO_SEGMENT_TRAVERSAL,8,3       ; @NO_SEGMENT_TRAVERSAL
	.comm	_PINUSE_BIT,8,3                 ; @PINUSE_BIT
	.comm	_MALLOC_FAILURE_ACTION,4,2      ; @MALLOC_FAILURE_ACTION
	.no_dead_strip	_sys_alloc
.subsections_via_symbols
