	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_nr_regions
_validate_nr_regions:                   ## @validate_nr_regions
	.cfi_startproc
## %bb.0:
	xorl	%eax, %eax
	movl	$2147483649, %ecx               ## imm = 0x80000001
	cmpq	%rcx, %rdi
	jb	LBB0_2
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rsi)
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
LBB0_2:
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Too many regions. Consider increasing the region size"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_validate_nr_regions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_nr_regions
_validate_nr_regions:                   ; @validate_nr_regions
	.cfi_startproc
; %bb.0:
	mov	w8, #-2147483647
	cmp	x0, x8
	b.lo	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x1]
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Too many regions. Consider increasing the region size"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_validate_nr_regions
.subsections_via_symbols
