	.file	"extr_keyboard.c_kbd_ascebc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	kbd_ascebc
	.type	kbd_ascebc, @function
kbd_ascebc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	edx, 256
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	mov	esi, 64
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR [rsp], rdi
	mov	rdi, r13
	call	memset@PLT
	mov	edi, DWORD PTR ebc_key_maps[rip]
	call	ARRAY_SIZE@PLT
	cmp	eax, r14d
	jle	.L15
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR [rsp]
	mov	rax, QWORD PTR [rax]
	mov	rbp, QWORD PTR [rax+r14*8]
	test	rbp, rbp
	je	.L3
	mov	eax, DWORD PTR NR_KEYS[rip]
	test	eax, eax
	jle	.L3
	xor	ebx, ebx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, r15d
	call	KTYP@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR KT_LETTER[rip]
	or	al, -16
	cmp	r8d, eax
	je	.L6
	mov	edi, r15d
	call	KTYP@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR KT_DEAD[rip]
	or	al, -16
	cmp	r8d, eax
	je	.L16
.L5:
	add	rbx, 1
	cmp	DWORD PTR NR_KEYS[rip], ebx
	jle	.L3
.L7:
	movzx	r15d, WORD PTR 0[rbp+rbx*2]
	mov	edi, r15d
	call	KTYP@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR KT_LATIN[rip]
	or	al, -16
	cmp	r8d, eax
	jne	.L4
.L6:
	mov	edi, r15d
	call	KVAL@PLT
	lea	edx, [rbx+r12]
	add	rbx, 1
	mov	BYTE PTR 0[r13+rax], dl
	cmp	DWORD PTR NR_KEYS[rip], ebx
	jg	.L7
.L3:
	mov	edi, DWORD PTR ebc_key_maps[rip]
	add	r14, 1
	sub	r12d, -128
	call	ARRAY_SIZE@PLT
	cmp	eax, r14d
	jg	.L8
.L15:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rdx, QWORD PTR ret_diacr[rip]
	mov	edi, r15d
	mov	QWORD PTR 8[rsp], rdx
	call	KVAL@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	rax, QWORD PTR [rdx+rax*8]
	lea	edx, [rbx+r12]
	mov	BYTE PTR 0[r13+rax], dl
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	kbd_ascebc, .-kbd_ascebc
	.comm	ret_diacr,8,8
	.comm	ebc_key_maps,4,4
	.comm	NR_KEYS,4,4
	.comm	KT_LETTER,4,4
	.comm	KT_LATIN,4,4
	.comm	KT_DEAD,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_keyboard.c_kbd_ascebc.c"
	.text
	.align	2
	.global	kbd_ascebc
	.syntax unified
	.arm
	.fpu softvfp
	.type	kbd_ascebc, %function
kbd_ascebc:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r3, r0
	mov	r6, #0
	sub	sp, sp, #20
	mov	r0, r1
	str	r1, [sp, #8]
	mov	r2, #256
	mov	r1, #64
	str	r3, [sp, #4]
	mov	r9, r6
	bl	memset
	ldr	r7, .L18
	ldr	r8, .L18+4
	ldr	r10, .L18+8
.L2:
	ldr	r3, .L18+12
	ldr	r0, [r3]
	bl	ARRAY_SIZE
	cmp	r0, r9
	ble	.L15
	ldr	r3, [sp, #4]
	ldr	r3, [r3]
	ldr	r5, [r3, r9, lsl #2]
	cmp	r5, #0
	beq	.L3
	ldr	r3, [r7]
	cmp	r3, #0
	ble	.L3
	mov	r4, #0
	ldr	fp, [sp, #8]
	sub	r5, r5, #2
	str	r9, [sp]
	b	.L7
.L4:
	mov	r0, r9
	bl	KTYP
	ldr	r3, [r10]
	orr	r3, r3, #240
	cmp	r0, r3
	beq	.L6
	mov	r0, r9
	bl	KTYP
	ldr	r3, .L18+16
	ldr	r3, [r3]
	orr	r3, r3, #240
	cmp	r0, r3
	beq	.L16
.L5:
	ldr	r3, [r7]
	add	r4, r4, #1
	cmp	r3, r4
	ble	.L17
.L7:
	ldrh	r9, [r5, #2]!
	mov	r0, r9
	bl	KTYP
	ldr	r3, [r8]
	orr	r3, r3, #240
	cmp	r0, r3
	bne	.L4
.L6:
	mov	r0, r9
	bl	KVAL
	add	r3, r4, r6
	strb	r3, [fp, r0]
	ldr	r3, [r7]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L7
.L17:
	ldr	r9, [sp]
.L3:
	add	r9, r9, #1
	add	r6, r6, #128
	b	.L2
.L16:
	ldr	r3, .L18+20
	mov	r0, r9
	ldr	r3, [r3]
	str	r3, [sp, #12]
	bl	KVAL
	ldr	r3, [sp, #12]
	add	r2, r4, r6
	ldr	r3, [r3, r0, lsl #2]
	strb	r2, [fp, r3]
	b	.L5
.L15:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	.align	2
.L18:
	.word	NR_KEYS
	.word	KT_LATIN
	.word	KT_LETTER
	.word	ebc_key_maps
	.word	KT_DEAD
	.word	ret_diacr
	.size	kbd_ascebc, .-kbd_ascebc
	.comm	ret_diacr,4,4
	.comm	ebc_key_maps,4,4
	.comm	NR_KEYS,4,4
	.comm	KT_LETTER,4,4
	.comm	KT_LATIN,4,4
	.comm	KT_DEAD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
