	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kmemcheck_show_pages           ## -- Begin function kmemcheck_show_pages
	.p2align	4, 0x90
_kmemcheck_show_pages:                  ## @kmemcheck_show_pages
	.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
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movq	%rdi, %r12
	movl	%esi, %r13d
	movq	__PAGE_HIDDEN@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_page_address
	movq	%rax, %r15
	movq	%rax, %rdi
	leaq	-44(%rbp), %rsi
	callq	_lookup_address
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_BUG_ON
	movl	-44(%rbp), %eax
	xorl	%edi, %edi
	movq	_PG_LEVEL_4K@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	setne	%dil
	callq	_BUG_ON
	movl	(%rbx), %edi
	callq	_pte_val
	movq	__PAGE_PRESENT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %edi
	callq	___pte
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_set_pte
	movl	(%rbx), %edi
	callq	_pte_val
	movl	(%r14), %edi
	notl	%edi
	andl	%eax, %edi
	callq	___pte
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_set_pte
	movq	%r15, %rdi
	callq	___flush_tlb_one
	addq	$4, %r12
	decq	%r13
	jne	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PG_LEVEL_4K,4,2                ## @PG_LEVEL_4K
	.comm	__PAGE_PRESENT,4,2              ## @_PAGE_PRESENT
	.comm	__PAGE_HIDDEN,4,2               ## @_PAGE_HIDDEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kmemcheck_show_pages           ; -- Begin function kmemcheck_show_pages
	.p2align	2
_kmemcheck_show_pages:                  ; @kmemcheck_show_pages
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cbz	w1, LBB0_3
; %bb.1:
	mov	x19, x0
	mov	w22, w1
Lloh0:
	adrp	x23, _PG_LEVEL_4K@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PG_LEVEL_4K@GOTPAGEOFF]
Lloh2:
	adrp	x24, __PAGE_PRESENT@GOTPAGE
Lloh3:
	ldr	x24, [x24, __PAGE_PRESENT@GOTPAGEOFF]
Lloh4:
	adrp	x25, __PAGE_HIDDEN@GOTPAGE
Lloh5:
	ldr	x25, [x25, __PAGE_HIDDEN@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_page_address
	mov	x20, x0
	add	x1, sp, #12
	bl	_lookup_address
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	w8, [sp, #12]
	ldr	w9, [x23]
	cmp	w8, w9
	cset	w0, ne
	bl	_BUG_ON
	ldr	w0, [x21]
	bl	_pte_val
	ldr	w8, [x24]
	orr	w0, w8, w0
	bl	___pte
	mov	x1, x0
	mov	x0, x21
	bl	_set_pte
	ldr	w0, [x21]
	bl	_pte_val
	ldr	w8, [x25]
	bic	w0, w0, w8
	bl	___pte
	mov	x1, x0
	mov	x0, x21
	bl	_set_pte
	mov	x0, x20
	bl	___flush_tlb_one
	add	x19, x19, #4
	subs	x22, x22, #1
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PG_LEVEL_4K,4,2                ; @PG_LEVEL_4K
	.comm	__PAGE_PRESENT,4,2              ; @_PAGE_PRESENT
	.comm	__PAGE_HIDDEN,4,2               ; @_PAGE_HIDDEN
.subsections_via_symbols
