	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_watch_virt_set_mask            ## -- Begin function watch_virt_set_mask
	.p2align	4, 0x90
_watch_virt_set_mask:                   ## @watch_virt_set_mask
	.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	%rsi, %rbx
	movq	_AA_DMMU_VWPR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ASI_DMMU@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movabsq	$35184372088824, %rdx           ## imm = 0x1FFFFFFFFFF8
	andq	%rdi, %rdx
	movl	%eax, %edi
	callq	_stxa_sync
	movq	_ASI_LSU_CTL_REG@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	xorl	%edi, %edi
	callq	_ldxa
	movq	_LSU_VW@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	movq	_LSU_VM_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_LSU_VM_MASK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	shlq	%cl, %rbx
	notq	%rdx
	andq	%rax, %rdx
	orq	%rdx, %rbx
	movl	(%r14), %esi
	xorl	%edi, %edi
	movq	%rbx, %rdx
	callq	_stxa_sync
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AA_DMMU_VWPR,4,2               ## @AA_DMMU_VWPR
	.comm	_ASI_DMMU,4,2                   ## @ASI_DMMU
	.comm	_ASI_LSU_CTL_REG,4,2            ## @ASI_LSU_CTL_REG
	.comm	_LSU_VW,8,3                     ## @LSU_VW
	.comm	_LSU_VM_MASK,8,3                ## @LSU_VM_MASK
	.comm	_LSU_VM_SHIFT,8,3               ## @LSU_VM_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_watch_virt_set_mask            ; -- Begin function watch_virt_set_mask
	.p2align	2
_watch_virt_set_mask:                   ; @watch_virt_set_mask
	.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, x1
Lloh0:
	adrp	x8, _AA_DMMU_VWPR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AA_DMMU_VWPR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ASI_DMMU@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ASI_DMMU@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	and	x2, x0, #0x1ffffffffff8
	mov	x0, x8
	bl	_stxa_sync
Lloh6:
	adrp	x20, _ASI_LSU_CTL_REG@GOTPAGE
Lloh7:
	ldr	x20, [x20, _ASI_LSU_CTL_REG@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w0, #0
	bl	_ldxa
Lloh8:
	adrp	x8, _LSU_VW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LSU_VW@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	orr	x8, x8, x0
Lloh11:
	adrp	x9, _LSU_VM_MASK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _LSU_VM_MASK@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	bic	x8, x8, x9
Lloh14:
	adrp	x9, _LSU_VM_SHIFT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _LSU_VM_SHIFT@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	lsl	x9, x19, x9
	orr	x2, x9, x8
	ldr	w1, [x20]
	mov	w0, #0
	bl	_stxa_sync
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AA_DMMU_VWPR,4,2               ; @AA_DMMU_VWPR
	.comm	_ASI_DMMU,4,2                   ; @ASI_DMMU
	.comm	_ASI_LSU_CTL_REG,4,2            ; @ASI_LSU_CTL_REG
	.comm	_LSU_VW,8,3                     ; @LSU_VW
	.comm	_LSU_VM_MASK,8,3                ; @LSU_VM_MASK
	.comm	_LSU_VM_SHIFT,8,3               ; @LSU_VM_SHIFT
.subsections_via_symbols
