	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_map_inherit                 ## -- Begin function vm_map_inherit
	.p2align	4, 0x90
_vm_map_inherit:                        ## @vm_map_inherit
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %eax
	andl	$-4, %eax
	cmpl	$128, %eax
	jne	LBB0_1
## %bb.2:
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	_KERN_SUCCESS@GOTPCREL(%rip), %rax
	cmpl	%edx, %esi
	je	LBB0_13
## %bb.3:
	movl	%ecx, %r14d
	movl	%edi, %r15d
	callq	_vm_map_lock
	movl	%r15d, %edi
	movl	%r13d, %esi
	movl	%r12d, %edx
	callq	_VM_MAP_RANGE_CHECK
	leaq	-48(%rbp), %rdx
	movl	%r15d, %edi
	movl	%r13d, %esi
	callq	_vm_map_lookup_entry
	movq	-48(%rbp), %rbx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_vm_map_clip_start
	cmpl	%r12d, 8(%rbx)
	jl	LBB0_7
	jmp	LBB0_12
LBB0_1:
	movq	_KERN_INVALID_ARGUMENT@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_5:
	movq	%rbx, %rdi
	callq	_vm_map_entry_succ
	movq	%rax, %rbx
	cmpl	%r12d, 8(%rbx)
	jge	LBB0_12
LBB0_7:
	movq	_MAP_ENTRY_GUARD@GOTPCREL(%rip), %r13
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%r14d, 4(%rbx)
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	callq	_vm_map_entry_pred
	movl	%r15d, %edi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_vm_map_try_merge_entries
	movq	%rbx, %rdi
	callq	_vm_map_entry_succ
	movq	%rax, %rbx
	cmpl	%r12d, 8(%rax)
	jge	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_vm_map_clip_end
	cmpl	$128, %r14d
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r13), %eax
	andl	(%rbx), %eax
	jne	LBB0_11
	jmp	LBB0_10
LBB0_12:
	movq	%rbx, %rdi
	callq	_vm_map_entry_pred
	movl	%r15d, %edi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_vm_map_try_merge_entries
	movl	%r15d, %edi
	callq	_vm_map_unlock
	movq	_KERN_SUCCESS@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KERN_INVALID_ARGUMENT,4,2      ## @KERN_INVALID_ARGUMENT
	.comm	_KERN_SUCCESS,4,2               ## @KERN_SUCCESS
	.comm	_MAP_ENTRY_GUARD,4,2            ## @MAP_ENTRY_GUARD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_map_inherit                 ; -- Begin function vm_map_inherit
	.p2align	2
_vm_map_inherit:                        ; @vm_map_inherit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	and	w8, w3, #0xfffffffc
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.1:
	mov	x21, x2
	mov	x23, x1
	cmp	w1, w2
	b.eq	LBB0_13
; %bb.2:
	mov	x20, x3
	mov	x19, x0
	bl	_vm_map_lock
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	bl	_VM_MAP_RANGE_CHECK
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x23
	bl	_vm_map_lookup_entry
	ldr	x22, [sp, #8]
	cbz	x0, LBB0_5
; %bb.3:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_vm_map_clip_start
	b	LBB0_6
LBB0_4:
Lloh0:
	adrp	x8, _KERN_INVALID_ARGUMENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KERN_INVALID_ARGUMENT@GOTPAGEOFF]
	b	LBB0_14
LBB0_5:
	mov	x0, x22
	bl	_vm_map_entry_succ
	mov	x22, x0
LBB0_6:
	ldr	w8, [x22, #8]
	cmp	w8, w21
	b.ge	LBB0_12
; %bb.7:
Lloh2:
	adrp	x23, _MAP_ENTRY_GUARD@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MAP_ENTRY_GUARD@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	str	w20, [x22, #4]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x22
	bl	_vm_map_entry_pred
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_vm_map_try_merge_entries
	mov	x0, x22
	bl	_vm_map_entry_succ
	mov	x22, x0
	ldr	w8, [x0, #8]
	cmp	w8, w21
	b.ge	LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_vm_map_clip_end
	cmp	w20, #128
	b.ne	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x22]
	ldr	w9, [x23]
	and	w8, w9, w8
	cbnz	w8, LBB0_9
	b	LBB0_8
LBB0_12:
	mov	x0, x22
	bl	_vm_map_entry_pred
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_vm_map_try_merge_entries
	mov	x0, x19
	bl	_vm_map_unlock
LBB0_13:
Lloh4:
	adrp	x8, _KERN_SUCCESS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _KERN_SUCCESS@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_KERN_INVALID_ARGUMENT,4,2      ; @KERN_INVALID_ARGUMENT
	.comm	_KERN_SUCCESS,4,2               ; @KERN_SUCCESS
	.comm	_MAP_ENTRY_GUARD,4,2            ; @MAP_ENTRY_GUARD
.subsections_via_symbols
