	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_map_mergeable_neighbors
_vm_map_mergeable_neighbors:            ## @vm_map_mergeable_neighbors
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_MAP_ENTRY_NOMERGE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	testl	%eax, (%rbx)
	sete	%dil
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_3:
	movq	%rbx, %rsi
	callq	_KASSERT
	movq	8(%r14), %rcx
	xorl	%eax, %eax
	cmpq	16(%rbx), %rcx
	jne	LBB0_13
## %bb.4:
	movq	72(%r14), %rdx
	cmpq	72(%rbx), %rdx
	je	LBB0_5
LBB0_13:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.6:
	addq	24(%r14), %rcx
	subq	16(%r14), %rcx
	cmpq	24(%rbx), %rcx
	jne	LBB0_13
LBB0_7:
	movl	(%r14), %ecx
	cmpl	(%rbx), %ecx
	jne	LBB0_13
## %bb.8:
	movq	32(%r14), %rcx
	cmpq	32(%rbx), %rcx
	jne	LBB0_13
## %bb.9:
	movq	40(%r14), %rcx
	cmpq	40(%rbx), %rcx
	jne	LBB0_13
## %bb.10:
	movq	48(%r14), %rcx
	cmpq	48(%rbx), %rcx
	jne	LBB0_13
## %bb.11:
	movq	56(%r14), %rcx
	cmpq	56(%rbx), %rcx
	jne	LBB0_13
## %bb.12:
	movq	64(%r14), %rcx
	xorl	%eax, %eax
	cmpq	64(%rbx), %rcx
	sete	%al
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_MAP_ENTRY_NOMERGE_MASK,4,2     ## @MAP_ENTRY_NOMERGE_MASK
	.no_dead_strip	_vm_map_mergeable_neighbors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_map_mergeable_neighbors
_vm_map_mergeable_neighbors:            ; @vm_map_mergeable_neighbors
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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
	ldr	w9, [x0]
Lloh0:
	adrp	x8, _MAP_ENTRY_NOMERGE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAP_ENTRY_NOMERGE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_2
; %bb.1:
	ldr	w9, [x19]
	tst	w9, w8
	cset	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	mov	x1, x19
	bl	_KASSERT
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	x9, [x20, #72]
	ldr	x10, [x19, #72]
	cmp	x9, x10
	b.eq	LBB0_7
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	cbz	x9, LBB0_9
; %bb.8:
	ldp	x10, x9, [x20, #16]
	add	x8, x9, x8
	sub	x8, x8, x10
	ldr	x9, [x19, #24]
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_9:
	ldr	w8, [x20]
	ldr	w9, [x19]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.10:
	ldr	x8, [x20, #32]
	ldr	x9, [x19, #32]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.11:
	ldr	x8, [x20, #40]
	ldr	x9, [x19, #40]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.12:
	ldr	x8, [x20, #48]
	ldr	x9, [x19, #48]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.13:
	ldr	x8, [x20, #56]
	ldr	x9, [x19, #56]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.14:
	ldr	x8, [x20, #64]
	ldr	x9, [x19, #64]
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAP_ENTRY_NOMERGE_MASK,4,2     ; @MAP_ENTRY_NOMERGE_MASK
	.no_dead_strip	_vm_map_mergeable_neighbors
.subsections_via_symbols
