	.file	"extr_ecard.c_ecard_init_pgtables.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ecard_init_pgtables, @function
ecard_init_pgtables:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR VM_EXEC[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	TLB_FLUSH_VMA@PLT
	mov	esi, DWORD PTR IO_BASE[rip]
	mov	rdi, rbp
	mov	DWORD PTR 4[rsp], eax
	call	pgd_offset@PLT
	mov	esi, DWORD PTR IO_START[rip]
	mov	rdi, rbp
	mov	r12, rax
	call	pgd_offset@PLT
	mov	rsi, r12
	mov	rdi, rax
	mov	eax, DWORD PTR IO_SIZE[rip]
	cdq
	idiv	DWORD PTR PGDIR_SIZE[rip]
	lea	edx, 0[0+rax*4]
	call	memcpy@PLT
	mov	esi, DWORD PTR EASI_BASE[rip]
	mov	rdi, rbp
	call	pgd_offset@PLT
	mov	esi, DWORD PTR EASI_START[rip]
	mov	rdi, rbp
	lea	rbp, 4[rsp]
	mov	r12, rax
	call	pgd_offset@PLT
	mov	rsi, r12
	mov	rdi, rax
	mov	eax, DWORD PTR EASI_SIZE[rip]
	cdq
	idiv	DWORD PTR PGDIR_SIZE[rip]
	lea	edx, 0[0+rax*4]
	call	memcpy@PLT
	mov	esi, DWORD PTR IO_START[rip]
	mov	edx, DWORD PTR IO_SIZE[rip]
	mov	rdi, rbp
	add	edx, esi
	call	flush_tlb_range@PLT
	mov	esi, DWORD PTR EASI_START[rip]
	mov	edx, DWORD PTR EASI_SIZE[rip]
	mov	rdi, rbp
	add	edx, esi
	call	flush_tlb_range@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ecard_init_pgtables, .-ecard_init_pgtables
	.comm	VM_EXEC,4,4
	.comm	PGDIR_SIZE,4,4
	.comm	IO_START,4,4
	.comm	IO_SIZE,4,4
	.comm	IO_BASE,8,8
	.comm	EASI_START,4,4
	.comm	EASI_SIZE,4,4
	.comm	EASI_BASE,8,8
	.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_ecard.c_ecard_init_pgtables.c"
	.text
	.global	__aeabi_idiv
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ecard_init_pgtables, %function
ecard_init_pgtables:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L6
	sub	sp, sp, #8
	ldr	r1, [r3]
	ldr	r3, .L6+4
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	TLB_FLUSH_VMA
	mov	r3, r0
	ldr	r2, .L6+8
	mov	r0, r4
	ldr	r1, [r2]
	str	r3, [sp]
	bl	pgd_offset
	ldr	r7, .L6+12
	mov	r9, r0
	ldr	r1, [r7]
	mov	r0, r4
	bl	pgd_offset
	ldr	r6, .L6+16
	ldr	r8, .L6+20
	mov	r5, r0
	ldr	r1, [r8]
	ldr	r0, [r6]
	bl	__aeabi_idiv
	mov	r2, r0
	mov	r1, r9
	lsl	r2, r2, #2
	mov	r0, r5
	bl	memcpy
	ldr	r3, .L6+24
	mov	r0, r4
	ldr	r1, [r3]
	bl	pgd_offset
	ldr	r9, .L6+28
	mov	r5, r0
	ldr	r1, [r9]
	mov	r0, r4
	bl	pgd_offset
	ldr	r10, .L6+32
	ldr	r1, [r8]
	mov	r4, r0
	ldr	r0, [r10]
	bl	__aeabi_idiv
	mov	r2, r0
	mov	r1, r5
	lsl	r2, r2, #2
	mov	r0, r4
	bl	memcpy
	ldr	r1, [r7]
	ldr	r2, [r6]
	mov	r0, sp
	add	r2, r1, r2
	bl	flush_tlb_range
	ldr	r1, [r9]
	ldr	r2, [r10]
	mov	r0, sp
	add	r2, r1, r2
	bl	flush_tlb_range
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	VM_EXEC
	.word	.LC0
	.word	IO_BASE
	.word	IO_START
	.word	IO_SIZE
	.word	PGDIR_SIZE
	.word	EASI_BASE
	.word	EASI_START
	.word	EASI_SIZE
	.size	ecard_init_pgtables, .-ecard_init_pgtables
	.comm	VM_EXEC,4,4
	.comm	PGDIR_SIZE,4,4
	.comm	IO_START,4,4
	.comm	IO_SIZE,4,4
	.comm	IO_BASE,4,4
	.comm	EASI_START,4,4
	.comm	EASI_SIZE,4,4
	.comm	EASI_BASE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
