	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_map_splay_merge
_vm_map_splay_merge:                    ## @vm_map_splay_merge
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	%rdx, -64(%rbp)
	movq	%rcx, -56(%rbp)
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_vm_map_entry_max_free_left
	movq	%rax, %r12
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	leaq	16(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	cmpq	%rbx, %rax
	je	LBB0_4
## %bb.1:
	movq	%r14, %r13
	movq	16(%r14), %rax
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %r15
	leaq	-64(%rbp), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movq	%r12, %rsi
	callq	_MAX
	movq	%rax, %r12
	movq	-64(%rbp), %rax
	movq	%r12, (%rax)
	movq	-64(%rbp), %rdi
	addq	$8, %rdi
	movq	%r15, %rsi
	callq	_vm_map_entry_swap
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_vm_map_entry_swap
	movq	-64(%rbp), %rbx
	cmpq	-72(%rbp), %rbx                 ## 8-byte Folded Reload
	jne	LBB0_2
## %bb.3:
	movq	-48(%rbp), %rax
	movq	%r13, %r14
	movq	%rax, 16(%r13)
	movq	-56(%rbp), %r15
LBB0_4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_vm_map_entry_max_free_right
	movq	%rax, %r13
	cmpq	-72(%rbp), %r15                 ## 8-byte Folded Reload
	je	LBB0_8
## %bb.5:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rax
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %r14
	leaq	-56(%rbp), %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movq	%r13, %rsi
	callq	_MAX
	movq	%rax, %r13
	movq	-56(%rbp), %rax
	movq	%r13, (%rax)
	movq	-56(%rbp), %rdi
	addq	$16, %rdi
	movq	%r14, %rsi
	callq	_vm_map_entry_swap
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_vm_map_entry_swap
	movq	-56(%rbp), %r15
	cmpq	-72(%rbp), %r15                 ## 8-byte Folded Reload
	jne	LBB0_6
## %bb.7:
	movq	-48(%rbp), %rax
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, 8(%r14)
LBB0_8:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_MAX
	movq	%rax, (%r14)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, 8(%rax)
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vm_map_splay_merge
.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_merge
_vm_map_splay_merge:                    ; @vm_map_splay_merge
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	stp	x3, x2, [sp, #16]
	mov	x0, x1
	mov	x1, x2
	bl	_vm_map_entry_max_free_left
	mov	x21, x0
	add	x24, x20, #16
	cmp	x24, x23
	b.eq	LBB0_4
; %bb.1:
	ldr	x8, [x19, #16]
	str	x8, [sp, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23]
	mov	x1, x21
	bl	_MAX
	mov	x21, x0
	ldr	x8, [sp, #24]
	str	x0, [x8]
	ldr	x8, [sp, #24]
	add	x0, x8, #8
	add	x1, sp, #8
	bl	_vm_map_entry_swap
	add	x0, sp, #8
	add	x1, sp, #24
	bl	_vm_map_entry_swap
	ldr	x23, [sp, #24]
	cmp	x23, x24
	b.ne	LBB0_2
; %bb.3:
	ldp	x8, x22, [sp, #8]
	str	x8, [x19, #16]
LBB0_4:
	mov	x0, x19
	mov	x1, x22
	bl	_vm_map_entry_max_free_right
	mov	x23, x0
	cmp	x22, x24
	b.eq	LBB0_8
; %bb.5:
	ldr	x8, [x19, #8]
	str	x8, [sp, #8]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	mov	x1, x23
	bl	_MAX
	mov	x23, x0
	ldr	x8, [sp, #16]
	str	x0, [x8]
	ldr	x8, [sp, #16]
	add	x0, x8, #16
	add	x1, sp, #8
	bl	_vm_map_entry_swap
	add	x0, sp, #8
	add	x1, sp, #16
	bl	_vm_map_entry_swap
	ldr	x22, [sp, #16]
	cmp	x22, x24
	b.ne	LBB0_6
; %bb.7:
	ldr	x8, [sp, #8]
	str	x8, [x19, #8]
LBB0_8:
	mov	x0, x21
	mov	x1, x23
	bl	_MAX
	str	x0, [x19]
	str	x19, [x20, #8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vm_map_splay_merge
.subsections_via_symbols
