	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_area
_alloc_area:                            ## @alloc_area
	.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	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	movq	%rdi, %r14
	movq	24(%rdi), %rax
	movq	(%rax), %rbx
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlq	%cl, %rbx
	movq	%rbx, %rdi
	callq	_vmalloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_vzalloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_vmalloc
	movq	%rax, %rcx
	movq	%rax, 16(%r14)
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.3:
	movq	8(%r14), %rdi
	callq	_vfree
LBB0_4:
	movq	(%r14), %rdi
	callq	_vfree
LBB0_5:
	movl	%r15d, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SECTOR_SHIFT,8,3               ## @SECTOR_SHIFT
	.no_dead_strip	_alloc_area
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_area
_alloc_area:                            ; @alloc_area
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
	ldr	x8, [x0, #24]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _SECTOR_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SECTOR_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	lsl	x21, x8, x9
	mov	x0, x21
	bl	_vmalloc
	str	x0, [x20]
	cbz	x0, LBB0_6
; %bb.1:
	mov	x0, x21
	bl	_vzalloc
	str	x0, [x20, #8]
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x21
	bl	_vmalloc
	str	x0, [x20, #16]
	cbz	x0, LBB0_4
; %bb.3:
	mov	w19, #0
	b	LBB0_6
LBB0_4:
	ldr	x0, [x20, #8]
	bl	_vfree
LBB0_5:
	ldr	x0, [x20]
	bl	_vfree
LBB0_6:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SECTOR_SHIFT,8,3               ; @SECTOR_SHIFT
	.no_dead_strip	_alloc_area
.subsections_via_symbols
