	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sysctl_kmaps_check
_sysctl_kmaps_check:                    ## @sysctl_kmaps_check
	.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	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_X86_PG_RW@GOTPCREL(%rip), %rdx
	movq	_X86_PG_U@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rdx), %eax
	movq	_pg_nx@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%eax, %esi
	orl	%edx, %esi
	andl	%ecx, %esi
	movl	%edx, %ecx
	andl	%r8d, %ecx
	orl	%esi, %ecx
	movl	%eax, %ebx
	andl	%r8d, %ebx
	orl	%edx, %ebx
	andl	%ecx, %ebx
	movq	_PG_PS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%r8d, %ecx
	je	LBB0_2
## %bb.1:
	movq	_X86_PG_G@GOTPCREL(%rip), %rsi
	movq	_X86_PG_PDE_CACHE@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	orl	(%rsi), %edi
	andl	%r8d, %edi
	orl	%edi, %ebx
	jmp	LBB0_4
LBB0_2:
	testl	%r9d, %r9d
	je	LBB0_4
## %bb.3:
	movl	%edx, %esi
	andl	%r9d, %esi
	orl	%esi, %ebx
	movl	%eax, %esi
	andl	%r9d, %esi
	orl	%edx, %esi
	andl	%esi, %ebx
LBB0_4:
	testl	%r9d, %ecx
	je	LBB0_6
## %bb.5:
	movq	_X86_PG_G@GOTPCREL(%rip), %rax
	movq	_X86_PG_PDE_CACHE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	andl	%r9d, %ecx
	orl	%ecx, %ebx
	jmp	LBB0_9
LBB0_6:
	movl	16(%rbp), %ecx
	testl	%ecx, %ecx
	je	LBB0_9
## %bb.7:
	movl	%edx, %esi
	andl	%ecx, %esi
	orl	%esi, %ebx
	andl	%ecx, %eax
	orl	%edx, %eax
	andl	%ebx, %eax
	movq	_X86_PG_G@GOTPCREL(%rip), %rdx
	movq	_X86_PG_PTE_CACHE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ebx
	orl	(%rdx), %ebx
	andl	%ecx, %ebx
	orl	%eax, %ebx
	movq	_X86_PG_PTE_PAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %ebx
	je	LBB0_9
## %bb.8:
	movq	_X86_PG_PDE_PAT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	xorl	%eax, %ebx
LBB0_9:
	cmpq	%r14, (%r12)
	jg	LBB0_12
## %bb.10:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_sysctl_kmaps_match
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_sysctl_kmaps_dump
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sysctl_kmaps_reinit            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_X86_PG_RW,4,2                  ## @X86_PG_RW
	.comm	_X86_PG_U,4,2                   ## @X86_PG_U
	.comm	_pg_nx,4,2                      ## @pg_nx
	.comm	_PG_PS,4,2                      ## @PG_PS
	.comm	_X86_PG_G,4,2                   ## @X86_PG_G
	.comm	_X86_PG_PDE_CACHE,4,2           ## @X86_PG_PDE_CACHE
	.comm	_X86_PG_PTE_CACHE,4,2           ## @X86_PG_PTE_CACHE
	.comm	_X86_PG_PTE_PAT,4,2             ## @X86_PG_PTE_PAT
	.comm	_X86_PG_PDE_PAT,4,2             ## @X86_PG_PDE_PAT
	.no_dead_strip	_sysctl_kmaps_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sysctl_kmaps_check
_sysctl_kmaps_check:                    ; @sysctl_kmaps_check
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _X86_PG_RW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X86_PG_RW@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _X86_PG_U@GOTPAGE
Lloh4:
	ldr	x9, [x9, _X86_PG_U@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _pg_nx@GOTPAGE
Lloh7:
	ldr	x9, [x9, _pg_nx@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w10, w8, w9
	and	w10, w10, w3
	and	w11, w9, w4
	orr	w10, w10, w11
	and	w11, w8, w4
	orr	w11, w11, w9
	and	w13, w10, w11
Lloh9:
	adrp	x10, _PG_PS@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PG_PS@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x10]
Lloh12:
	adrp	x10, _X86_PG_G@GOTPAGE
Lloh13:
	ldr	x10, [x10, _X86_PG_G@GOTPAGEOFF]
Lloh14:
	adrp	x11, _X86_PG_PDE_CACHE@GOTPAGE
Lloh15:
	ldr	x11, [x11, _X86_PG_PDE_CACHE@GOTPAGEOFF]
	tst	w12, w4
	b.eq	LBB0_3
; %bb.1:
	ldr	w14, [x10]
	ldr	w15, [x11]
	orr	w14, w15, w14
	and	w14, w14, w4
	orr	w22, w14, w13
	tst	w12, w5
	b.eq	LBB0_4
LBB0_2:
	ldr	w8, [x10]
	ldr	w9, [x11]
	orr	w8, w9, w8
	and	w8, w8, w5
	orr	w22, w8, w22
	b	LBB0_7
LBB0_3:
	and	w14, w9, w5
	orr	w14, w13, w14
	and	w15, w8, w5
	orr	w15, w15, w9
	and	w14, w14, w15
	cmp	w5, #0
	csel	w22, w13, w14, eq
	tst	w12, w5
	b.ne	LBB0_2
LBB0_4:
	cbz	w6, LBB0_7
; %bb.5:
	and	w11, w9, w6
	orr	w11, w22, w11
	and	w8, w8, w6
	orr	w8, w8, w9
	and	w8, w11, w8
	ldr	w9, [x10]
Lloh16:
	adrp	x10, _X86_PG_PTE_CACHE@GOTPAGE
Lloh17:
	ldr	x10, [x10, _X86_PG_PTE_CACHE@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	orr	w9, w10, w9
	and	w9, w9, w6
	orr	w22, w9, w8
Lloh19:
	adrp	x8, _X86_PG_PTE_PAT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _X86_PG_PTE_PAT@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	tst	w22, w8
	b.eq	LBB0_7
; %bb.6:
Lloh22:
	adrp	x9, _X86_PG_PDE_PAT@GOTPAGE
Lloh23:
	ldr	x9, [x9, _X86_PG_PDE_PAT@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w8, w9, w8
	eor	w22, w8, w22
LBB0_7:
	ldr	x8, [x20]
	cmp	x8, x19
	b.gt	LBB0_10
; %bb.8:
	mov	x0, x20
	mov	x1, x22
	bl	_sysctl_kmaps_match
	cbz	w0, LBB0_10
; %bb.9:
	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
LBB0_10:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_sysctl_kmaps_dump
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	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
	b	_sysctl_kmaps_reinit
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_X86_PG_RW,4,2                  ; @X86_PG_RW
	.comm	_X86_PG_U,4,2                   ; @X86_PG_U
	.comm	_pg_nx,4,2                      ; @pg_nx
	.comm	_PG_PS,4,2                      ; @PG_PS
	.comm	_X86_PG_G,4,2                   ; @X86_PG_G
	.comm	_X86_PG_PDE_CACHE,4,2           ; @X86_PG_PDE_CACHE
	.comm	_X86_PG_PTE_CACHE,4,2           ; @X86_PG_PTE_CACHE
	.comm	_X86_PG_PTE_PAT,4,2             ; @X86_PG_PTE_PAT
	.comm	_X86_PG_PDE_PAT,4,2             ; @X86_PG_PDE_PAT
	.no_dead_strip	_sysctl_kmaps_check
.subsections_via_symbols
