	.file	"extr_pmap.c_sysctl_kmaps_match.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sysctl_kmaps_match, @function
sysctl_kmaps_match:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, esi
	mov	r8d, 1
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR [rdi]
	mov	eax, DWORD PTR pg_nx[rip]
	or	eax, DWORD PTR PG_G[rip]
	or	eax, DWORD PTR PG_RW[rip]
	mov	edx, esi
	or	eax, DWORD PTR PG_U[rip]
	or	eax, DWORD PTR PG_PDE_CACHE[rip]
	xor	edx, ebp
	and	eax, edx
	je	.L1
	mov	edx, DWORD PTR PG_PDE_PAT[rip]
	xor	r8d, r8d
	not	edx
	test	edx, eax
	je	.L8
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR kernel_pmap[rip]
	mov	edx, 1
	call	pmap_pat_index@PLT
	mov	edi, DWORD PTR kernel_pmap[rip]
	mov	esi, ebp
	mov	edx, 1
	mov	rbx, rax
	call	pmap_pat_index@PLT
	xor	r8d, r8d
	cmp	rbx, rax
	sete	r8b
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sysctl_kmaps_match, .-sysctl_kmaps_match
	.comm	pg_nx,4,4
	.comm	kernel_pmap,4,4
	.comm	PG_U,4,4
	.comm	PG_RW,4,4
	.comm	PG_PDE_PAT,4,4
	.comm	PG_PDE_CACHE,4,4
	.comm	PG_G,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_pmap.c_sysctl_kmaps_match.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sysctl_kmaps_match, %function
sysctl_kmaps_match:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	ldr	r2, .L8
	ldr	r1, .L8+4
	ldr	r3, .L8+8
	ldr	ip, [r1]
	ldr	r2, [r2]
	ldr	r1, .L8+12
	ldr	r3, [r3]
	ldr	lr, .L8+16
	orr	r2, r2, ip
	ldr	ip, [r1]
	orr	r3, r2, r3
	ldr	r1, [r0]
	ldr	r0, [lr]
	orr	r3, r3, ip
	orr	r3, r3, r0
	eor	r2, r1, r4
	ands	r3, r3, r2
	beq	.L3
	ldr	r2, .L8+20
	ldr	r2, [r2]
	bics	r3, r3, r2
	beq	.L7
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r5, .L8+24
	mov	r2, #1
	ldr	r0, [r5]
	bl	pmap_pat_index
	mov	r3, r0
	mov	r1, r4
	mov	r2, #1
	ldr	r0, [r5]
	mov	r4, r3
	bl	pmap_pat_index
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	pop	{r4, r5, r6, pc}
.L3:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	pg_nx
	.word	PG_G
	.word	PG_RW
	.word	PG_U
	.word	PG_PDE_CACHE
	.word	PG_PDE_PAT
	.word	kernel_pmap
	.size	sysctl_kmaps_match, .-sysctl_kmaps_match
	.comm	pg_nx,4,4
	.comm	kernel_pmap,4,4
	.comm	PG_U,4,4
	.comm	PG_RW,4,4
	.comm	PG_PDE_PAT,4,4
	.comm	PG_PDE_CACHE,4,4
	.comm	PG_G,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
