	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_onfault
_handle_onfault:                        ## @handle_onfault
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_curthread@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	_FAULTBUF_LR@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %edx
	movl	%edx, (%rdi)
	movq	_FAULTBUF_R1@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %edx
	movq	8(%rdi), %rsi
	movl	%edx, 4(%rsi)
	movq	_FAULTBUF_R2@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %edx
	movl	%edx, 8(%rsi)
	movl	$1, 12(%rsi)
	movq	_FAULTBUF_CR@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %edx
	movl	%edx, 16(%rdi)
	movq	_FAULTBUF_R14@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movups	(%rcx,%rdx,4), %xmm0
	movups	16(%rcx,%rdx,4), %xmm1
	movups	32(%rcx,%rdx,4), %xmm2
	movups	48(%rcx,%rdx,4), %xmm3
	movq	64(%rcx,%rdx,4), %rcx
	movq	%rcx, 120(%rsi)
	movups	%xmm3, 104(%rsi)
	movups	%xmm2, 88(%rsi)
	movups	%xmm1, 72(%rsi)
	movups	%xmm0, 56(%rsi)
	movq	(%rax), %rax
	movq	$0, (%rax)
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_curthread,8,3                  ## @curthread
	.comm	_FAULTBUF_LR,8,3                ## @FAULTBUF_LR
	.comm	_FAULTBUF_R1,8,3                ## @FAULTBUF_R1
	.comm	_FAULTBUF_R2,8,3                ## @FAULTBUF_R2
	.comm	_FAULTBUF_CR,8,3                ## @FAULTBUF_CR
	.comm	_FAULTBUF_R14,8,3               ## @FAULTBUF_R14
	.no_dead_strip	_handle_onfault
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_onfault
_handle_onfault:                        ; @handle_onfault
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _curthread@GOTPAGE
Lloh1:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _FAULTBUF_LR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FAULTBUF_LR@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	str	w9, [x0]
Lloh6:
	adrp	x9, _FAULTBUF_R1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FAULTBUF_R1@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	ldr	x10, [x0, #8]
Lloh9:
	adrp	x11, _FAULTBUF_R2@GOTPAGE
Lloh10:
	ldr	x11, [x11, _FAULTBUF_R2@GOTPAGEOFF]
	str	w9, [x10, #4]
Lloh11:
	ldr	x9, [x11]
	ldr	w9, [x8, x9, lsl #2]
	mov	w19, #1
	stp	w9, w19, [x10, #8]
Lloh12:
	adrp	x9, _FAULTBUF_CR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FAULTBUF_CR@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	str	w9, [x0, #16]
Lloh15:
	adrp	x9, _FAULTBUF_R14@GOTPAGE
Lloh16:
	ldr	x9, [x9, _FAULTBUF_R14@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
	add	x0, x10, #56
	mov	w2, #72
	bl	_memmove
	ldr	x8, [x20]
	str	xzr, [x8]
	b	LBB0_3
LBB0_2:
	mov	w19, #0
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_curthread,8,3                  ; @curthread
	.comm	_FAULTBUF_LR,8,3                ; @FAULTBUF_LR
	.comm	_FAULTBUF_R1,8,3                ; @FAULTBUF_R1
	.comm	_FAULTBUF_R2,8,3                ; @FAULTBUF_R2
	.comm	_FAULTBUF_CR,8,3                ; @FAULTBUF_CR
	.comm	_FAULTBUF_R14,8,3               ; @FAULTBUF_R14
	.no_dead_strip	_handle_onfault
.subsections_via_symbols
