	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mon_getmoremem
_mon_getmoremem:                        ## @mon_getmoremem
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_mon_mem_increments@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jne	LBB0_1
## %bb.2:
	movq	_mru_initalloc@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_mru_incalloc@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_7
## %bb.4:
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_eallocarray
	movq	_mru_alloc@GOTPCREL(%rip), %rcx
	addl	%r14d, (%rcx)
	leaq	(%rax,%r14,4), %rbx
	addq	$-4, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_mon_free_entry
	addq	$-4, %rbx
	decq	%r14
	jne	LBB0_5
## %bb.6:
	incq	(%r15)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mon_mem_increments,8,3         ## @mon_mem_increments
	.comm	_mru_initalloc,8,3              ## @mru_initalloc
	.comm	_mru_incalloc,8,3               ## @mru_incalloc
	.comm	_mru_alloc,4,2                  ## @mru_alloc
	.no_dead_strip	_mon_getmoremem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mon_getmoremem
_mon_getmoremem:                        ; @mon_getmoremem
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x21, _mon_mem_increments@GOTPAGE
Lloh1:
	ldr	x21, [x21, _mon_mem_increments@GOTPAGEOFF]
Lloh2:
	adrp	x8, _mru_initalloc@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mru_initalloc@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh4:
	adrp	x10, _mru_incalloc@GOTPAGE
Lloh5:
	ldr	x10, [x10, _mru_incalloc@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x10, eq
	ldr	x19, [x8]
	cbz	x19, LBB0_4
; %bb.1:
	mov	x0, x19
	mov	w1, #4
	bl	_eallocarray
Lloh6:
	adrp	x8, _mru_alloc@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mru_alloc@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, w19
	str	w9, [x8]
	add	x8, x0, x19, lsl #2
	sub	x20, x8, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_mon_free_entry
	sub	x20, x20, #4
	sub	x19, x19, #1
	cbnz	x19, LBB0_2
; %bb.3:
	ldr	x8, [x21]
	add	x8, x8, #1
	str	x8, [x21]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_mon_mem_increments,8,3         ; @mon_mem_increments
	.comm	_mru_initalloc,8,3              ; @mru_initalloc
	.comm	_mru_incalloc,8,3               ; @mru_incalloc
	.comm	_mru_alloc,4,2                  ; @mru_alloc
	.no_dead_strip	_mon_getmoremem
.subsections_via_symbols
