	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function centaur_get_free_region
_centaur_get_free_region:               ## @centaur_get_free_region
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_num_var_ranges@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	testl	%edx, %edx
	js	LBB0_2
## %bb.1:
	movl	%edx, %ebx
	cmpl	%edx, %r13d
	jg	LBB0_8
LBB0_2:
	testl	%r13d, %r13d
	jle	LBB0_7
## %bb.3:
	xorl	%ebx, %ebx
	movq	_centaur_mcr_reserved@GOTPCREL(%rip), %r14
	leaq	-48(%rbp), %r15
	leaq	-52(%rbp), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	cmpl	%ebx, %r13d
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %eax
	btl	%ebx, %eax
	jb	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_mtrr_if@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %edi
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	*(%rax)
	cmpq	$0, -48(%rbp)
	jne	LBB0_6
	jmp	LBB0_8
LBB0_7:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_num_var_ranges,4,2             ## @num_var_ranges
	.comm	_centaur_mcr_reserved,4,2       ## @centaur_mcr_reserved
	.comm	_mtrr_if,8,3                    ## @mtrr_if
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.no_dead_strip	_centaur_get_free_region
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function centaur_get_free_region
_centaur_get_free_region:               ; @centaur_get_free_region
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
Lloh0:
	adrp	x8, _num_var_ranges@GOTPAGE
Lloh1:
	ldr	x8, [x8, _num_var_ranges@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	tbnz	w2, #31, LBB0_2
; %bb.1:
	mov	x19, x2
	cmp	w20, w2
	b.gt	LBB0_8
LBB0_2:
	cmp	w20, #1
	b.lt	LBB0_7
; %bb.3:
	mov	w19, #0
Lloh3:
	adrp	x21, _centaur_mcr_reserved@GOTPAGE
Lloh4:
	ldr	x21, [x21, _centaur_mcr_reserved@GOTPAGEOFF]
Lloh5:
	adrp	x22, _mtrr_if@GOTPAGE
Lloh6:
	ldr	x22, [x22, _mtrr_if@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w19, w19, #1
	cmp	w20, w19
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	lsr	w8, w8, w19
	tbnz	w8, #0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22]
	ldr	x8, [x8]
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	mov	x0, x19
	blr	x8
	ldr	x8, [sp, #16]
	cbnz	x8, LBB0_4
	b	LBB0_8
LBB0_7:
Lloh7:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_8:
	mov	x0, x19
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_num_var_ranges,4,2             ; @num_var_ranges
	.comm	_centaur_mcr_reserved,4,2       ; @centaur_mcr_reserved
	.comm	_mtrr_if,8,3                    ; @mtrr_if
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.no_dead_strip	_centaur_get_free_region
.subsections_via_symbols
