	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cyrix_get_free_region
_cyrix_get_free_region:                 ## @cyrix_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	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %ebx
	cmpl	$7, %edx
	jae	LBB0_1
LBB0_14:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rsi, %r14
	jne	LBB0_3
## %bb.2:
	movl	$7, %ebx
	cmpq	$64, %r14
	jae	LBB0_14
	jmp	LBB0_4
LBB0_3:
	cmpq	$8192, %r14                     ## imm = 0x2000
	jbe	LBB0_4
## %bb.15:
	movl	$7, %ebx
	leaq	-40(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	movl	$7, %edi
	callq	_cyrix_get_arr
LBB0_12:
	cmpq	$0, -24(%rbp)
	je	LBB0_14
LBB0_13:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_4:
	xorl	%ebx, %ebx
	leaq	-40(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	xorl	%edi, %edi
	callq	_cyrix_get_arr
	cmpq	$0, -24(%rbp)
	je	LBB0_14
## %bb.5:
	movl	$1, %ebx
	leaq	-40(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	movl	$1, %edi
	callq	_cyrix_get_arr
	cmpq	$0, -24(%rbp)
	je	LBB0_14
## %bb.6:
	movl	$2, %ebx
	leaq	-40(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	movl	$2, %edi
	callq	_cyrix_get_arr
	cmpq	$0, -24(%rbp)
	je	LBB0_14
## %bb.7:
	movl	$3, %ebx
	leaq	-40(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	movl	$3, %edi
	callq	_cyrix_get_arr
	cmpq	$0, -24(%rbp)
	je	LBB0_14
## %bb.8:
	movl	$4, %ebx
	leaq	-40(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	movl	$4, %edi
	callq	_cyrix_get_arr
	cmpq	$0, -24(%rbp)
	je	LBB0_14
## %bb.9:
	movl	$5, %ebx
	leaq	-40(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	movl	$5, %edi
	callq	_cyrix_get_arr
	cmpq	$0, -24(%rbp)
	je	LBB0_14
## %bb.10:
	movl	$6, %ebx
	leaq	-40(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	movl	$6, %edi
	callq	_cyrix_get_arr
	cmpq	$0, -24(%rbp)
	je	LBB0_14
## %bb.11:
	movl	$7, %ebx
	leaq	-40(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	movl	$7, %edi
	callq	_cyrix_get_arr
	cmpq	$64, %r14
	jae	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.no_dead_strip	_cyrix_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 cyrix_get_free_region
_cyrix_get_free_region:                 ; @cyrix_get_free_region
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x2
	cmp	w2, #7
	b.hs	LBB0_2
LBB0_1:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
	mov	x20, x1
	b.ne	LBB0_5
; %bb.3:
	cmp	x20, #64
	b.lo	LBB0_9
; %bb.4:
	mov	w19, #7
	b	LBB0_1
LBB0_5:
	cmp	x20, #2, lsl #12                ; =8192
	b.ls	LBB0_9
; %bb.6:
	mov	w19, #7
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	mov	w0, #7
	bl	_cyrix_get_arr
LBB0_7:
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_1
LBB0_8:
Lloh0:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_1
LBB0_9:
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	mov	w0, #0
	bl	_cyrix_get_arr
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_17
; %bb.10:
	mov	w19, #1
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	mov	w0, #1
	bl	_cyrix_get_arr
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_1
; %bb.11:
	mov	w19, #2
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	mov	w0, #2
	bl	_cyrix_get_arr
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_1
; %bb.12:
	mov	w19, #3
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	mov	w0, #3
	bl	_cyrix_get_arr
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_1
; %bb.13:
	mov	w19, #4
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	mov	w0, #4
	bl	_cyrix_get_arr
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_1
; %bb.14:
	mov	w19, #5
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	mov	w0, #5
	bl	_cyrix_get_arr
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_1
; %bb.15:
	mov	w19, #6
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	mov	w0, #6
	bl	_cyrix_get_arr
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_1
; %bb.16:
	mov	w19, #7
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	mov	w0, #7
	bl	_cyrix_get_arr
	cmp	x20, #64
	b.hs	LBB0_7
	b	LBB0_8
LBB0_17:
	mov	w19, #0
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.no_dead_strip	_cyrix_get_free_region
.subsections_via_symbols
