	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pamu_get_fspi_and_allocate
_pamu_get_fspi_and_allocate:            ## @pamu_get_fspi_and_allocate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movq	_spaace_pool@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(,%rdi,4), %esi
	movl	%eax, %edi
	callq	_gen_pool_alloc
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_ULONG_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbp
	retq
LBB0_1:
	movq	_spaact@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	shrq	$2, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_spaace_pool,4,2                ## @spaace_pool
	.comm	_ULONG_MAX,8,3                  ## @ULONG_MAX
	.comm	_spaact,8,3                     ## @spaact
	.no_dead_strip	_pamu_get_fspi_and_allocate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pamu_get_fspi_and_allocate
_pamu_get_fspi_and_allocate:            ; @pamu_get_fspi_and_allocate
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _spaace_pool@GOTPAGE
Lloh1:
	ldr	x8, [x8, _spaace_pool@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w1, w0, #2
	mov	x0, x8
	bl	_gen_pool_alloc
Lloh3:
	adrp	x8, _spaact@GOTPAGE
Lloh4:
	ldr	x8, [x8, _spaact@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	sub	x8, x0, x8
	lsr	x8, x8, #2
Lloh6:
	adrp	x9, _ULONG_MAX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ULONG_MAX@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x0, #0
	csel	x0, x9, x8, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_spaace_pool,4,2                ; @spaace_pool
	.comm	_ULONG_MAX,8,3                  ; @ULONG_MAX
	.comm	_spaact,8,3                     ; @spaact
	.no_dead_strip	_pamu_get_fspi_and_allocate
.subsections_via_symbols
