	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_op_one_page
_do_op_one_page:                        ## @do_op_one_page
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r12
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	%edx, %esi
	callq	_maybe_map
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	(%rax), %edi
	callq	_pte_page
	movq	%rax, %r13
	movq	_KM_UML_USERCOPY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_kmap_atomic
	movq	%rax, %rbx
	movq	_PAGE_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	-68(%rbp), %rdi
	movq	%rdi, (%rax)
	callq	_UML_SETJMP
	movl	$-1, %r14d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	notq	%r12
	andq	%r15, %r12
	addq	%rbx, %r12
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	movl	%eax, %r14d
LBB0_4:
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, (%rax)
	movq	_KM_UML_USERCOPY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_kunmap_atomic
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KM_UML_USERCOPY,4,2            ## @KM_UML_USERCOPY
	.comm	_PAGE_MASK,8,3                  ## @PAGE_MASK
	.comm	_current,8,3                    ## @current
	.no_dead_strip	_do_op_one_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_op_one_page
_do_op_one_page:                        ; @do_op_one_page
	.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, x4
	mov	x19, x3
	mov	x22, x1
	mov	x23, x0
	mov	x1, x2
	bl	_maybe_map
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w0, [x0]
	bl	_pte_page
	mov	x21, x0
Lloh0:
	adrp	x25, _KM_UML_USERCOPY@GOTPAGE
Lloh1:
	ldr	x25, [x25, _KM_UML_USERCOPY@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_kmap_atomic
	mov	x24, x0
Lloh2:
	adrp	x8, _PAGE_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PAGE_MASK@GOTPAGEOFF]
Lloh4:
	ldr	x27, [x8]
Lloh5:
	adrp	x26, _current@GOTPAGE
Lloh6:
	ldr	x26, [x26, _current@GOTPAGEOFF]
	ldr	x8, [x26]
	add	x9, sp, #12
	str	x9, [x8]
	add	x0, sp, #12
	bl	_UML_SETJMP
	cbz	w0, LBB0_4
; %bb.2:
	mov	w19, #-1
	b	LBB0_5
LBB0_3:
	mov	w19, #-1
	b	LBB0_6
LBB0_4:
	bic	x8, x23, x27
	add	x0, x8, x24
	mov	x1, x22
	mov	x2, x20
	blr	x19
	mov	x19, x0
LBB0_5:
	ldr	x8, [x26]
	str	xzr, [x8]
	ldr	w1, [x25]
	mov	x0, x21
	bl	_kunmap_atomic
LBB0_6:
	mov	x0, x19
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_KM_UML_USERCOPY,4,2            ; @KM_UML_USERCOPY
	.comm	_PAGE_MASK,8,3                  ; @PAGE_MASK
	.comm	_current,8,3                    ; @current
	.no_dead_strip	_do_op_one_page
.subsections_via_symbols
