	.file	"extr_ed.defns.c_ed_InitMaps.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ed_InitMaps
	.type	ed_InitMaps, @function
ed_InitMaps:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR MapsAreInited[rip]
	test	eax, eax
	jne	.L1
	movsx	rdx, DWORD PTR NT_NUM_KEYS[rip]
	mov	rdi, rsp
	mov	r10, rsp
	mov	rax, rdx
	lea	rdx, 15[0+rdx*4]
	mov	rcx, rdx
	and	rdx, -4096
	sub	rdi, rdx
	and	rcx, -16
	mov	rdx, rdi
	cmp	rsp, rdx
	je	.L4
.L20:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rdx
	jne	.L20
.L4:
	and	ecx, 4095
	sub	rsp, rcx
	test	rcx, rcx
	je	.L5
	or	QWORD PTR -8[rsp+rcx], 0
.L5:
	lea	r9, list.1925[rip]
	mov	r8, QWORD PTR _toebcdic[rip]
	mov	rcx, rsp
	lea	r11, 24[r9]
	.p2align 4,,10
	.p2align 3
.L6:
	test	eax, eax
	jle	.L11
	mov	rdx, QWORD PTR [r9]
	lea	edi, -1[rax]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR [rcx+rax*4], esi
	mov	rsi, rax
	add	rax, 1
	cmp	rdi, rsi
	jne	.L7
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rsi, QWORD PTR [r8+rax*8]
	mov	edi, DWORD PTR [rcx+rax*4]
	add	rax, 1
	mov	DWORD PTR [rdx+rsi*4], edi
	cmp	DWORD PTR NT_NUM_KEYS[rip], eax
	jg	.L8
.L11:
	add	r9, 8
	cmp	r11, r9
	je	.L9
	mov	eax, DWORD PTR NT_NUM_KEYS[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	xor	eax, eax
	mov	rsp, r10
	call	ed_InitEmacsMaps@PLT
	mov	DWORD PTR MapsAreInited[rip], 1
.L1:
	mov	rax, QWORD PTR -8[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	leave
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L21:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ed_InitMaps, .-ed_InitMaps
	.section	.rodata
	.align 16
	.type	list.1925, @object
	.size	list.1925, 24
list.1925:
	.quad	130
	.quad	128
	.quad	129
	.comm	_toebcdic,8,8
	.comm	NT_NUM_KEYS,4,4
	.comm	MapsAreInited,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_ed.defns.c_ed_InitMaps.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ed_InitMaps
	.syntax unified
	.arm
	.fpu softvfp
	.type	ed_InitMaps, %function
ed_InitMaps:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #12
	ldr	r4, .L15
	ldr	r3, .L15+4
	ldr	lr, [r4]
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	cmp	lr, #0
	bne	.L1
	ldr	ip, .L15+8
	mov	r8, sp
	ldr	r10, [ip]
	ldr	r2, .L15+12
	lsl	r3, r10, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r7, sp
	ldr	r6, [r2]
	ldr	r5, .L15+16
.L3:
	cmp	r10, #0
	ble	.L8
	sub	r2, r7, #4
	mov	r1, r2
	ldr	r0, [r5, lr, lsl #2]
	add	r10, r0, r10, lsl #2
	sub	r10, r10, #4
	sub	r3, r0, #4
.L4:
	ldr	r9, [r3, #4]!
	cmp	r3, r10
	str	r9, [r1, #4]!
	bne	.L4
	mov	r3, #0
	sub	r1, r6, #4
.L5:
	ldr	r9, [r1, #4]!
	ldr	r10, [r2, #4]!
	add	r3, r3, #1
	str	r10, [r0, r9, lsl #2]
	ldr	r9, [ip]
	cmp	r9, r3
	bgt	.L5
.L8:
	add	lr, lr, #1
	cmp	lr, #3
	ldrne	r10, [ip]
	bne	.L3
.L6:
	mov	sp, r8
	bl	ed_InitEmacsMaps
	mov	r3, #1
	str	r3, [r4]
.L1:
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	MapsAreInited
	.word	.LC0
	.word	NT_NUM_KEYS
	.word	_toebcdic
	.word	.LANCHOR0
	.size	ed_InitMaps, .-ed_InitMaps
	.comm	_toebcdic,4,4
	.comm	NT_NUM_KEYS,4,4
	.comm	MapsAreInited,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	list.4209, %object
	.size	list.4209, 12
list.4209:
	.word	130
	.word	128
	.word	129
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
