	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RecordAndGetPageWithFreeSpace  ## -- Begin function RecordAndGetPageWithFreeSpace
	.p2align	4, 0x90
_RecordAndGetPageWithFreeSpace:         ## @RecordAndGetPageWithFreeSpace
	.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
	movl	%ecx, %ebx
	movl	%esi, %r12d
	movl	%edi, %r14d
	movl	%edx, %edi
	callq	_fsm_space_avail_to_cat
	movl	%eax, %r13d
	movl	%ebx, %edi
	callq	_fsm_space_needed_to_cat
	movl	%eax, %r15d
	leaq	-44(%rbp), %rsi
	movl	%r12d, %edi
	callq	_fsm_get_location
	movl	%eax, %ebx
	movl	-44(%rbp), %edx
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	%r13d, %ecx
	movl	%r15d, %r8d
	callq	_fsm_set_and_search
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_fsm_get_heap_blk
	jmp	LBB0_3
LBB0_2:
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_fsm_search
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RecordAndGetPageWithFreeSpace  ; -- Begin function RecordAndGetPageWithFreeSpace
	.p2align	2
_RecordAndGetPageWithFreeSpace:         ; @RecordAndGetPageWithFreeSpace
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x3
	mov	x21, x1
	mov	x19, x0
	mov	x0, x2
	bl	_fsm_space_avail_to_cat
	mov	x22, x0
	mov	x0, x20
	bl	_fsm_space_needed_to_cat
	mov	x20, x0
	add	x1, sp, #12
	mov	x0, x21
	bl	_fsm_get_location
	mov	x21, x0
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x22
	mov	x4, x20
	bl	_fsm_set_and_search
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	mov	x1, x0
	mov	x0, x21
	bl	_fsm_get_heap_blk
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	bl	_fsm_search
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
