	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sysctl_kmaps_match
_sysctl_kmaps_match:                    ## @sysctl_kmaps_match
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_X86_PG_G@GOTPCREL(%rip), %rax
	movq	_X86_PG_RW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_X86_PG_U@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_X86_PG_PDE_CACHE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_pg_nx@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%esi, %ebx
	movl	(%rdi), %esi
	movl	%esi, %eax
	xorl	%ebx, %eax
	andl	%ecx, %eax
	je	LBB0_1
## %bb.2:
	movq	_X86_PG_PDE_PAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	testl	%ecx, %eax
	jne	LBB0_4
## %bb.3:
	movq	_kernel_pmap@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	$1, %r14d
	movl	$1, %edx
	callq	_pmap_pat_index
	movq	%rax, %r15
	movl	(%r12), %edi
	movl	%ebx, %esi
	movl	$1, %edx
	callq	_pmap_pat_index
	cmpq	%rax, %r15
	je	LBB0_5
LBB0_4:
	xorl	%r14d, %r14d
	jmp	LBB0_5
LBB0_1:
	movl	$1, %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X86_PG_G,4,2                   ## @X86_PG_G
	.comm	_X86_PG_RW,4,2                  ## @X86_PG_RW
	.comm	_X86_PG_U,4,2                   ## @X86_PG_U
	.comm	_X86_PG_PDE_CACHE,4,2           ## @X86_PG_PDE_CACHE
	.comm	_pg_nx,4,2                      ## @pg_nx
	.comm	_X86_PG_PDE_PAT,4,2             ## @X86_PG_PDE_PAT
	.comm	_kernel_pmap,4,2                ## @kernel_pmap
	.no_dead_strip	_sysctl_kmaps_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sysctl_kmaps_match
_sysctl_kmaps_match:                    ; @sysctl_kmaps_match
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _X86_PG_G@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X86_PG_G@GOTPAGEOFF]
Lloh2:
	adrp	x9, _X86_PG_RW@GOTPAGE
Lloh3:
	ldr	x9, [x9, _X86_PG_RW@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _X86_PG_U@GOTPAGE
Lloh7:
	ldr	x9, [x9, _X86_PG_U@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _X86_PG_PDE_CACHE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _X86_PG_PDE_CACHE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _pg_nx@GOTPAGE
Lloh13:
	ldr	x10, [x10, _pg_nx@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh14:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	w1, [x0]
	eor	w9, w1, w19
	ands	w8, w9, w8
	b.eq	LBB0_4
; %bb.1:
Lloh15:
	adrp	x9, _X86_PG_PDE_PAT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _X86_PG_PDE_PAT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	bics	wzr, w8, w9
	b.ne	LBB0_3
; %bb.2:
Lloh18:
	adrp	x22, _kernel_pmap@GOTPAGE
Lloh19:
	ldr	x22, [x22, _kernel_pmap@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	w20, #1
	mov	w2, #1
	bl	_pmap_pat_index
	mov	x21, x0
	ldr	w0, [x22]
	mov	x1, x19
	mov	w2, #1
	bl	_pmap_pat_index
	cmp	x21, x0
	b.eq	LBB0_5
LBB0_3:
	mov	w20, #0
	b	LBB0_5
LBB0_4:
	mov	w20, #1
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_X86_PG_G,4,2                   ; @X86_PG_G
	.comm	_X86_PG_RW,4,2                  ; @X86_PG_RW
	.comm	_X86_PG_U,4,2                   ; @X86_PG_U
	.comm	_X86_PG_PDE_CACHE,4,2           ; @X86_PG_PDE_CACHE
	.comm	_pg_nx,4,2                      ; @pg_nx
	.comm	_X86_PG_PDE_PAT,4,2             ; @X86_PG_PDE_PAT
	.comm	_kernel_pmap,4,2                ; @kernel_pmap
	.no_dead_strip	_sysctl_kmaps_match
.subsections_via_symbols
