	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msc_mmap_fault
_msc_mmap_fault:                        ## @msc_mmap_fault
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rdi
	movl	(%rbx), %esi
	callq	_msc_buffer_get_page
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	callq	_get_page
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movl	(%rbx), %ecx
	movl	%ecx, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_VM_FAULT_SIGBUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_FAULT_SIGBUS,4,2            ## @VM_FAULT_SIGBUS
	.no_dead_strip	_msc_mmap_fault
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msc_mmap_fault
_msc_mmap_fault:                        ; @msc_mmap_fault
	.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
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	ldr	x0, [x8]
	ldr	w1, [x19]
	bl	_msc_buffer_get_page
	str	x0, [x19, #8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_get_page
	mov	w0, #0
	ldp	x9, x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	ldr	w10, [x19]
	stp	w10, w8, [x9]
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _VM_FAULT_SIGBUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VM_FAULT_SIGBUS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VM_FAULT_SIGBUS,4,2            ; @VM_FAULT_SIGBUS
	.no_dead_strip	_msc_mmap_fault
.subsections_via_symbols
