	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_map_fixed                   ## -- Begin function vm_map_fixed
	.p2align	4, 0x90
_vm_map_fixed:                          ## @vm_map_fixed
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, %r12
	movq	%rcx, %r14
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%edi, %r15d
	movl	24(%rbp), %ebx
	leaq	(%r8,%rcx), %r13
	movq	_MAP_STACK_GROWS_DOWN@GOTPCREL(%rip), %rcx
	movq	_MAP_STACK_GROWS_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	testl	%ebx, %eax
	sete	%al
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movl	%r15d, %edi
	callq	_vm_map_lock
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_VM_MAP_RANGE_CHECK
	movq	_MAP_CHECK_EXCL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_vm_map_delete
LBB0_2:
	movl	16(%rbp), %eax
	movq	_MAP_STACK_GROWS_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_MAP_STACK_GROWS_DOWN@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%ebx, %ecx
	je	LBB0_4
## %bb.3:
	movq	_sgrowsiz@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subq	$8, %rsp
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%eax, %r9d
	pushq	%rbx
	callq	_vm_map_stack_locked
	jmp	LBB0_5
LBB0_4:
	movl	%r15d, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	%r14, %rcx
	movq	%r13, %r8
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rbx
	pushq	%rax
	callq	_vm_map_insert
LBB0_5:
	addq	$16, %rsp
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_vm_map_unlock
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAP_STACK_GROWS_DOWN,4,2       ## @MAP_STACK_GROWS_DOWN
	.comm	_MAP_STACK_GROWS_UP,4,2         ## @MAP_STACK_GROWS_UP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vm_map_fixed: non-NULL backing object for stack"

	.comm	_MAP_CHECK_EXCL,4,2             ## @MAP_CHECK_EXCL
	.comm	_sgrowsiz,4,2                   ## @sgrowsiz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_map_fixed                   ; -- Begin function vm_map_fixed
	.p2align	2
_vm_map_fixed:                          ; @vm_map_fixed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x7
	mov	x21, x6
	mov	x22, x5
	mov	x24, x4
	mov	x23, x3
	str	w2, [sp, #12]                   ; 4-byte Folded Spill
	mov	x27, x1
	mov	x19, x0
	add	x26, x4, x3
Lloh0:
	adrp	x28, _MAP_STACK_GROWS_DOWN@GOTPAGE
Lloh1:
	ldr	x28, [x28, _MAP_STACK_GROWS_DOWN@GOTPAGEOFF]
Lloh2:
	adrp	x25, _MAP_STACK_GROWS_UP@GOTPAGE
Lloh3:
	ldr	x25, [x25, _MAP_STACK_GROWS_UP@GOTPAGEOFF]
	ldr	w8, [x28]
	ldr	w9, [x25]
	orr	w8, w9, w8
	tst	w8, w7
	ccmp	x1, #0, #4, ne
	cset	w0, eq
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	mov	x0, x19
	bl	_vm_map_lock
	mov	x0, x19
	mov	x1, x23
	mov	x2, x26
	bl	_VM_MAP_RANGE_CHECK
Lloh6:
	adrp	x8, _MAP_CHECK_EXCL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAP_CHECK_EXCL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w20
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x26
	bl	_vm_map_delete
LBB0_2:
	ldr	w8, [x28]
	ldr	w9, [x25]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _sgrowsiz@GOTPAGE
Lloh10:
	ldr	x8, [x8, _sgrowsiz@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	mov	x4, x22
	mov	x5, x21
	mov	x6, x20
	bl	_vm_map_stack_locked
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	mov	x1, x27
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	mov	x3, x23
	mov	x4, x26
	mov	x5, x22
	mov	x6, x21
	mov	x7, x20
	bl	_vm_map_insert
LBB0_5:
	mov	x20, x0
	mov	x0, x19
	bl	_vm_map_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MAP_STACK_GROWS_DOWN,4,2       ; @MAP_STACK_GROWS_DOWN
	.comm	_MAP_STACK_GROWS_UP,4,2         ; @MAP_STACK_GROWS_UP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vm_map_fixed: non-NULL backing object for stack"

	.comm	_MAP_CHECK_EXCL,4,2             ; @MAP_CHECK_EXCL
	.comm	_sgrowsiz,4,2                   ; @sgrowsiz
.subsections_via_symbols
