	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_fault_trap                  ## -- Begin function vm_fault_trap
	.p2align	4, 0x90
_vm_fault_trap:                         ## @vm_fault_trap
	.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
	movq	%r8, %r15
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movl	%esi, %ebx
	movq	%rdi, %r14
	testq	%r8, %r8
	sete	%al
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	testq	%r9, %r9
	setne	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_MPASS
	movl	%ebx, %edi
	callq	_trunc_page
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	xorl	%r8d, %r8d
	callq	_vm_fault
	movl	%eax, %r12d
	movq	_KERN_SUCCESS@GOTPCREL(%rip), %r14
	movl	$1, %edi
	cmpl	(%r14), %eax
	je	LBB0_4
## %bb.1:
	leal	-128(%r12), %eax
	cmpl	$5, %eax
	jae	LBB0_2
## %bb.3:
	movl	$27, %ecx
	btl	%eax, %ecx
	jb	LBB0_4
LBB0_2:
	xorl	%edi, %edi
	cmpl	$130, %r12d
	sete	%dil
LBB0_4:
	movslq	%r12d, %rbx
	movq	%rbx, %rsi
	callq	_KASSERT
	testq	%r15, %r15
	je	LBB0_19
## %bb.5:
	cmpl	(%r14), %r12d
	je	LBB0_19
## %bb.6:
	movl	%r12d, %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_18
## %bb.7:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	_SIGSEGV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_SEGV_MAPERR@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_18:
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_KASSERT
	jmp	LBB0_19
LBB0_10:
	movq	_SIGBUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_BUS_OOMERR@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_12:
	movq	_prot_fault_translation@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$1, %eax
	je	LBB0_17
## %bb.13:
	testl	%eax, %eax
	jne	LBB0_16
## %bb.14:
	xorl	%eax, %eax
	callq	_SV_CURPROC_ABI
	movq	_SV_ABI_FREEBSD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.15:
	movq	_curproc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movq	_P_OSREL_SIGSEGV@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_16
LBB0_17:
	movq	_SIGBUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_UCODE_PAGEFLT@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_11:
	movq	_SIGBUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_BUS_OBJERR@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_16:
	movq	_SIGSEGV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_SEGV_ACCERR@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_19:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_8
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_KERN_SUCCESS,4,2               ## @KERN_SUCCESS
	.comm	_SIGSEGV,4,2                    ## @SIGSEGV
	.comm	_SEGV_MAPERR,4,2                ## @SEGV_MAPERR
	.comm	_SIGBUS,4,2                     ## @SIGBUS
	.comm	_BUS_OOMERR,4,2                 ## @BUS_OOMERR
	.comm	_BUS_OBJERR,4,2                 ## @BUS_OBJERR
	.comm	_prot_fault_translation,4,2     ## @prot_fault_translation
	.comm	_SV_ABI_FREEBSD,4,2             ## @SV_ABI_FREEBSD
	.comm	_curproc,8,3                    ## @curproc
	.comm	_P_OSREL_SIGSEGV,4,2            ## @P_OSREL_SIGSEGV
	.comm	_SEGV_ACCERR,4,2                ## @SEGV_ACCERR
	.comm	_UCODE_PAGEFLT,4,2              ## @UCODE_PAGEFLT
	.comm	_KTR_FAULT,4,2                  ## @KTR_FAULT
	.comm	_KTR_FAULTEND,4,2               ## @KTR_FAULTEND
	.comm	_curthread,4,2                  ## @curthread
	.comm	_kernel_map,8,3                 ## @kernel_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_fault_trap                  ; -- Begin function vm_fault_trap
	.p2align	2
_vm_fault_trap:                         ; @vm_fault_trap
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x5
	mov	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	cmp	x4, #0
	ccmp	x5, #0, #0, ne
	cset	w0, ne
	bl	_MPASS
	mov	x0, x23
	bl	_trunc_page
	mov	x1, x0
	mov	x0, x24
	mov	x2, x22
	mov	x3, x20
	mov	x4, #0
	bl	_vm_fault
	mov	x20, x0
Lloh0:
	adrp	x23, _KERN_SUCCESS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _KERN_SUCCESS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_2
LBB0_1:
	mov	w0, #1
	b	LBB0_5
LBB0_2:
	sub	w8, w20, #128
	cmp	w8, #5
	b.hs	LBB0_4
; %bb.3:
	mov	w9, #27
	lsr	w8, w9, w8
	tbnz	w8, #0, LBB0_1
LBB0_4:
	cmp	w20, #130
	cset	w0, eq
LBB0_5:
	sxtw	x22, w20
	mov	x1, x22
	bl	_KASSERT
	cbz	x21, LBB0_20
; %bb.6:
	ldr	w8, [x23]
	cmp	w20, w8
	b.eq	LBB0_20
; %bb.7:
	sub	w8, w20, #128
	cmp	w8, #4
	b.hi	LBB0_10
; %bb.8:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_9
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_9:
Lloh4:
	adrp	x8, _SIGSEGV@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SIGSEGV@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x21]
Lloh7:
	adrp	x8, _SEGV_MAPERR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SEGV_MAPERR@GOTPAGEOFF]
	b	LBB0_19
LBB0_10:
	mov	w0, #0
	mov	x1, x22
	bl	_KASSERT
	b	LBB0_20
LBB0_11:
Lloh9:
	adrp	x8, _SIGBUS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SIGBUS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x21]
Lloh12:
	adrp	x8, _BUS_OOMERR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BUS_OOMERR@GOTPAGEOFF]
	b	LBB0_19
LBB0_12:
Lloh14:
	adrp	x8, _prot_fault_translation@GOTPAGE
Lloh15:
	ldr	x8, [x8, _prot_fault_translation@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w8, #1
	b.eq	LBB0_16
; %bb.13:
	cbnz	w8, LBB0_18
; %bb.14:
	bl	_SV_CURPROC_ABI
Lloh17:
	adrp	x8, _SV_ABI_FREEBSD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SV_ABI_FREEBSD@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_16
; %bb.15:
Lloh20:
	adrp	x8, _curproc@GOTPAGE
Lloh21:
	ldr	x8, [x8, _curproc@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _P_OSREL_SIGSEGV@GOTPAGE
Lloh24:
	ldr	x9, [x9, _P_OSREL_SIGSEGV@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_18
LBB0_16:
Lloh26:
	adrp	x8, _SIGBUS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SIGBUS@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [x21]
Lloh29:
	adrp	x8, _UCODE_PAGEFLT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _UCODE_PAGEFLT@GOTPAGEOFF]
	b	LBB0_19
LBB0_17:
Lloh31:
	adrp	x8, _SIGBUS@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SIGBUS@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	str	w8, [x21]
Lloh34:
	adrp	x8, _BUS_OBJERR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _BUS_OBJERR@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:
Lloh36:
	adrp	x8, _SIGSEGV@GOTPAGE
Lloh37:
	ldr	x8, [x8, _SIGSEGV@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	str	w8, [x21]
Lloh39:
	adrp	x8, _SEGV_ACCERR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SEGV_ACCERR@GOTPAGEOFF]
LBB0_19:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_20:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_17-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
                                        ; -- End function
	.comm	_KERN_SUCCESS,4,2               ; @KERN_SUCCESS
	.comm	_SIGSEGV,4,2                    ; @SIGSEGV
	.comm	_SEGV_MAPERR,4,2                ; @SEGV_MAPERR
	.comm	_SIGBUS,4,2                     ; @SIGBUS
	.comm	_BUS_OOMERR,4,2                 ; @BUS_OOMERR
	.comm	_BUS_OBJERR,4,2                 ; @BUS_OBJERR
	.comm	_prot_fault_translation,4,2     ; @prot_fault_translation
	.comm	_SV_ABI_FREEBSD,4,2             ; @SV_ABI_FREEBSD
	.comm	_curproc,8,3                    ; @curproc
	.comm	_P_OSREL_SIGSEGV,4,2            ; @P_OSREL_SIGSEGV
	.comm	_SEGV_ACCERR,4,2                ; @SEGV_ACCERR
	.comm	_UCODE_PAGEFLT,4,2              ; @UCODE_PAGEFLT
	.comm	_KTR_FAULT,4,2                  ; @KTR_FAULT
	.comm	_KTR_FAULTEND,4,2               ; @KTR_FAULTEND
	.comm	_curthread,4,2                  ; @curthread
	.comm	_kernel_map,8,3                 ; @kernel_map
.subsections_via_symbols
