	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rdma_umap_fault
_rdma_umap_fault:                       ## @rdma_umap_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	24(%rdi), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	_VM_WRITE@GOTPCREL(%rip), %rcx
	movq	_VM_MAYWRITE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%edx, (%rax)
	je	LBB0_3
## %bb.4:
	movq	16(%rax), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	jne	LBB0_6
## %bb.5:
	movq	___GFP_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_alloc_pages
	movq	%rax, %rdi
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movq	%rdi, 8(%rbx)
	callq	_get_page
	xorl	%ebx, %ebx
LBB0_8:
	movq	%r14, %rdi
	callq	_mutex_unlock
	jmp	LBB0_9
LBB0_1:
	movq	_VM_FAULT_SIGBUS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_9
LBB0_3:
	movl	16(%rbx), %edi
	callq	_ZERO_PAGE
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	_get_page
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	_VM_FAULT_SIGBUS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_FAULT_SIGBUS,4,2            ## @VM_FAULT_SIGBUS
	.comm	_VM_WRITE,4,2                   ## @VM_WRITE
	.comm	_VM_MAYWRITE,4,2                ## @VM_MAYWRITE
	.comm	___GFP_ZERO,4,2                 ## @__GFP_ZERO
	.no_dead_strip	_rdma_umap_fault
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rdma_umap_fault
_rdma_umap_fault:                       ; @rdma_umap_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
	ldr	x8, [x0, #24]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _VM_WRITE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _VM_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _VM_MAYWRITE@GOTPAGE
Lloh4:
	ldr	x11, [x11, _VM_MAYWRITE@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	orr	w10, w11, w10
	tst	w10, w9
	b.eq	LBB0_7
; %bb.2:
	ldr	x8, [x8, #16]
	ldr	x20, [x8]
	mov	x0, x20
	bl	_mutex_lock
	ldr	x0, [x20, #8]
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, ___GFP_ZERO@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___GFP_ZERO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w0, w9, w8
	mov	w1, #0
	bl	_alloc_pages
	str	x0, [x20, #8]
	cbz	x0, LBB0_9
LBB0_4:
	str	x0, [x19, #8]
	bl	_get_page
	mov	w19, #0
LBB0_5:
	mov	x0, x20
	bl	_mutex_unlock
	b	LBB0_8
LBB0_6:
Lloh9:
	adrp	x8, _VM_FAULT_SIGBUS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VM_FAULT_SIGBUS@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
	b	LBB0_8
LBB0_7:
	ldr	w0, [x19, #16]
	bl	_ZERO_PAGE
	str	x0, [x19, #8]
	bl	_get_page
	mov	w19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh12:
	adrp	x8, _VM_FAULT_SIGBUS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VM_FAULT_SIGBUS@GOTPAGEOFF]
Lloh14:
	ldr	w19, [x8]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_VM_FAULT_SIGBUS,4,2            ; @VM_FAULT_SIGBUS
	.comm	_VM_WRITE,4,2                   ; @VM_WRITE
	.comm	_VM_MAYWRITE,4,2                ; @VM_MAYWRITE
	.comm	___GFP_ZERO,4,2                 ; @__GFP_ZERO
	.no_dead_strip	_rdma_umap_fault
.subsections_via_symbols
