	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mark_shadow
_mark_shadow:                           ## @mark_shadow
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movl	%esi, %eax
	addq	%rdi, %rax
	decq	%rax
	movq	_PAGE_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andq	%rcx, %rax
	andq	%rdi, %rcx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	subl	%edi, %edx
	leal	(%rcx,%rdx), %r13d
	cmpq	%rax, %rcx
	cmovel	%esi, %r13d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_kmemcheck_shadow_lookup
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	callq	_memset
LBB0_2:
	movl	%r13d, %ebx
	addq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	subl	%r13d, %r15d
	cmpq	%r15, (%r12)
	jbe	LBB0_3
LBB0_6:
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_kmemcheck_shadow_lookup
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	addq	%rax, %rbx
	subl	%eax, %r15d
	cmpq	%r15, %rax
	ja	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_kmemcheck_shadow_lookup
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r12), %edx
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_memset
	jmp	LBB0_5
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_MASK,8,3                  ## @PAGE_MASK
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.no_dead_strip	_mark_shadow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mark_shadow
_mark_shadow:                           ; @mark_shadow
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x8, x0, w1, uxtw
	sub	x8, x8, #1
Lloh0:
	adrp	x9, _PAGE_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PAGE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	and	x10, x9, x0
Lloh3:
	adrp	x23, _PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _PAGE_SIZE@GOTPAGEOFF]
	and	x8, x9, x8
	ldr	w9, [x23]
	sub	w9, w9, w21
	add	w9, w9, w10
	cmp	x10, x8
	csel	w22, w1, w9, eq
	bl	_kmemcheck_shadow_lookup
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x19
	mov	x2, x22
	bl	_memset
LBB0_2:
	add	x21, x21, w22, uxtw
	ldr	x8, [x23]
	sub	w20, w20, w22
	cmp	x8, x20
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	b.ls	LBB0_7
LBB0_3:
	cbz	w20, LBB0_9
; %bb.4:
	mov	x0, x21
	bl	_kmemcheck_shadow_lookup
	cbz	x0, LBB0_9
; %bb.5:
	mov	x1, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_memset
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x23]
	add	x21, x8, x21
	sub	w20, w20, w8
	cmp	x8, x20
	b.hi	LBB0_3
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_kmemcheck_shadow_lookup
	cbz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w2, [x23]
	mov	x1, x19
	bl	_memset
	b	LBB0_6
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_MASK,8,3                  ; @PAGE_MASK
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.no_dead_strip	_mark_shadow
.subsections_via_symbols
