	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_map_splay
_vm_map_splay:                          ## @vm_map_splay
	.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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	-32(%rbp), %rcx
	leaq	-24(%rbp), %r8
	xorl	%edx, %edx
	callq	_vm_map_splay_split
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	-32(%rbp), %rbx
	cmpq	%r14, %rbx
	je	LBB0_3
## %bb.2:
	leaq	8(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	%rcx, -32(%rbp)
	jmp	LBB0_6
LBB0_3:
	movq	-24(%rbp), %rax
	cmpq	%rbx, %rax
	je	LBB0_4
## %bb.5:
	movq	(%rax), %rcx
	movq	%rcx, -24(%rbp)
	movq	%rax, %rbx
LBB0_6:
	movq	$0, (%rax)
LBB0_7:
	movq	-32(%rbp), %rdx
	movq	-24(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_vm_map_splay_merge
	movq	%r14, %rdi
	callq	_VM_MAP_ASSERT_CONSISTENT
LBB0_8:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vm_map_splay
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_map_splay
_vm_map_splay:                          ; @vm_map_splay
	.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, x0
	add	x3, sp, #8
	mov	x4, sp
	mov	w2, #0
	bl	_vm_map_splay_split
	mov	x20, x0
	cbnz	x0, LBB0_6
; %bb.1:
	ldr	x20, [sp, #8]
	cmp	x20, x19
	b.eq	LBB0_3
; %bb.2:
	mov	x8, x20
	ldr	x9, [x8, #8]!
	str	x9, [sp, #8]
	b	LBB0_5
LBB0_3:
	ldr	x8, [sp]
	cmp	x8, x20
	b.eq	LBB0_8
; %bb.4:
	ldr	x9, [x8]
	str	x9, [sp]
	mov	x20, x8
LBB0_5:
	str	xzr, [x8]
LBB0_6:
	ldp	x3, x2, [sp]
	mov	x0, x19
	mov	x1, x20
	bl	_vm_map_splay_merge
	mov	x0, x19
	bl	_VM_MAP_ASSERT_CONSISTENT
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
	mov	x20, #0
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vm_map_splay
.subsections_via_symbols
