	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function os_region_check
_os_region_check:                       ## @os_region_check
	.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	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	movq	8(%rsi), %rsi
	movq	%rbx, %rax
	subq	%rsi, %rax
	jge	LBB0_2
## %bb.1:
	movq	16(%r15), %rdi
	jmp	LBB0_3
LBB0_2:
	movq	16(%r15), %rdi
	cmpq	%rdi, %rax
	jle	LBB0_9
LBB0_3:
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	addq	%rsi, %rdi
	cmpq	%rdi, %rbx
	je	LBB0_9
LBB0_5:
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	(%r15), %rsi
	movq	(%r14), %rdx
	movl	(%rdx), %ecx
	movl	4(%rdx), %edx
	movl	24(%r15), %r8d
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_einfo
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movslq	24(%r15), %rsi
	movq	(%r14), %rdx
	movl	(%rdx), %ecx
	movl	4(%rdx), %edx
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_einfo
LBB0_8:
	movq	8(%r15), %rax
	movq	%rax, (%r15)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%X%P: address 0x%v of %B section %s is not within region %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"%X%P: region %s is full (%B section %s)\n"

	.no_dead_strip	_os_region_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function os_region_check
_os_region_check:                       ; @os_region_check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldp	x8, x9, [x1]
	subs	x11, x8, x9
	b.ge	LBB0_2
; %bb.1:
	ldr	x10, [x19, #16]
	b	LBB0_3
LBB0_2:
	ldr	x10, [x19, #16]
	cmp	x11, x10
	b.le	LBB0_9
LBB0_3:
	cbz	x3, LBB0_5
; %bb.4:
	add	x9, x10, x9
	cmp	x8, x9
	b.eq	LBB0_9
LBB0_5:
	cbz	x2, LBB0_7
; %bb.6:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldr	x1, [x19]
	ldr	x8, [x20]
	ldp	w3, w2, [x8]
	ldr	w8, [x19, #24]
	str	x8, [sp]
	b	LBB0_8
LBB0_7:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	ldrsw	x1, [x19, #24]
	ldr	x8, [x20]
	ldp	w3, w2, [x8]
LBB0_8:
	bl	_einfo
	ldr	x8, [x19, #8]
	str	x8, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%X%P: address 0x%v of %B section %s is not within region %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"%X%P: region %s is full (%B section %s)\n"

	.no_dead_strip	_os_region_check
.subsections_via_symbols
