	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function morecore
_morecore:                              ## @morecore
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_nextf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %r13
	cmpq	$0, (%rax,%r13,8)
	jne	LBB0_12
## %bb.1:
	movl	%edi, %r15d
	xorl	%edi, %edi
	callq	_sbrk
	movq	%rax, %rbx
	movq	_memtop@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	movq	_membot@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	%rbx, (%rax)
LBB0_3:
	andq	$1023, %rbx                     ## imm = 0x3FF
	je	LBB0_5
## %bb.4:
	movl	$1024, %edi                     ## imm = 0x400
	subq	%rbx, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_sbrk
	negq	%rbx
	addq	%rbx, %rax
	addq	$1024, %rax                     ## imm = 0x400
	movq	%rax, (%r12)
LBB0_5:
	leal	3(%r15), %r14d
	cmpl	$9, %r15d
	movl	$11, %eax
	cmovgel	%r14d, %eax
	movl	%eax, %ecx
	subl	%r14d, %ecx
	movl	$1, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movl	$1, %r15d
	movl	%eax, %ecx
	shll	%cl, %r15d
	movl	%r15d, %edi
	callq	_sbrk
	movq	%rax, (%r12)
	cmpq	$-1, %rax
	movq	_nextf@GOTPCREL(%rip), %rdx
	je	LBB0_12
## %bb.6:
	movslq	%r15d, %rcx
	addq	%rax, %rcx
	movq	%rcx, (%r12)
	movq	_ROUNDUP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_8
## %bb.7:
	addl	%ecx, %eax
	incl	%eax
	notl	%ecx
	andl	%eax, %ecx
	movslq	%ecx, %rax
	decl	%ebx
LBB0_8:
	movq	(%rdx), %rcx
	movq	%rax, (%rcx,%r13,8)
	cmpl	$2, %ebx
	jl	LBB0_11
## %bb.9:
	movl	$1, %edx
	movl	%r14d, %ecx
	shll	%cl, %edx
	movslq	%edx, %rcx
	incl	%ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdx
	addq	%rcx, %rax
	movq	%rax, (%rdx)
	decl	%ebx
	cmpl	$2, %ebx
	ja	LBB0_10
LBB0_11:
	movq	$0, (%rax)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nextf,8,3                      ## @nextf
	.comm	_memtop,8,3                     ## @memtop
	.comm	_membot,8,3                     ## @membot
	.comm	_ROUNDUP,4,2                    ## @ROUNDUP
	.no_dead_strip	_morecore
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function morecore
_morecore:                              ; @morecore
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x21, _nextf@GOTPAGE
Lloh1:
	ldr	x21, [x21, _nextf@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x8, [x8, w0, sxtw #3]
	cbnz	x8, LBB0_11
; %bb.1:
	mov	x19, x0
	mov	w0, #0
	bl	_sbrk
Lloh2:
	adrp	x22, _memtop@GOTPAGE
Lloh3:
	ldr	x22, [x22, _memtop@GOTPAGEOFF]
	str	x0, [x22]
Lloh4:
	adrp	x8, _membot@GOTPAGE
Lloh5:
	ldr	x8, [x8, _membot@GOTPAGEOFF]
	ldr	x9, [x8]
	cbnz	x9, LBB0_3
; %bb.2:
	str	x0, [x8]
LBB0_3:
	ands	x8, x0, #0x3ff
	b.eq	LBB0_5
; %bb.4:
	mov	w9, #1024
	sub	x20, x9, x8
	mov	x0, x20
	bl	_sbrk
	add	x8, x0, x20
	str	x8, [x22]
LBB0_5:
	add	w23, w19, #3
	mov	w8, #11
	cmp	w19, #9
	csel	w24, w8, w23, lt
	mov	w25, #1
	lsl	w20, w25, w24
	mov	x0, x20
	bl	_sbrk
	str	x0, [x22]
	cmn	x0, #1
	b.eq	LBB0_11
; %bb.6:
	sxtw	x9, w19
	sub	w8, w24, w23
	lsl	w8, w25, w8
	add	x10, x0, w20, sxtw
	str	x10, [x22]
Lloh6:
	adrp	x10, _ROUNDUP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ROUNDUP@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	add	w11, w0, w10
	add	w11, w11, #1
	bic	w11, w11, w10
	sxtw	x11, w11
	sub	w12, w8, #1
	tst	w10, w0
	csel	w10, w8, w12, eq
	csel	x8, x0, x11, eq
	ldr	x11, [x21]
	str	x8, [x11, x9, lsl #3]
	cmp	w10, #2
	b.lt	LBB0_10
; %bb.7:
	mov	w9, #1
	lsl	w9, w9, w23
	sxtw	x9, w9
	add	w10, w10, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x8, x9
	str	x11, [x8]
	sub	w10, w10, #1
	mov	x8, x11
	cmp	w10, #2
	b.hi	LBB0_8
; %bb.9:
	mov	x8, x11
LBB0_10:
	str	xzr, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_nextf,8,3                      ; @nextf
	.comm	_memtop,8,3                     ; @memtop
	.comm	_membot,8,3                     ; @membot
	.comm	_ROUNDUP,4,2                    ; @ROUNDUP
	.no_dead_strip	_morecore
.subsections_via_symbols
