	.file	"extr_kbd.c_make_accent_char.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	make_accent_char, @function
make_accent_char:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8, rdi
	movsx	rax, DWORD PTR [rdx]
	mov	edi, esi
	mov	rcx, QWORD PTR [r8]
	sal	rax, 4
	mov	rcx, QWORD PTR [rcx]
	mov	DWORD PTR [rdx], 0
	lea	rax, -16[rcx+rax]
	cmp	sil, 32
	je	.L2
	mov	edx, DWORD PTR NUM_ACCENTCHARS[rip]
	test	edx, edx
	jle	.L4
	mov	rax, QWORD PTR 8[rax]
	sub	edx, 1
	lea	rsi, 8[rax+rdx*8]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L14:
	cmp	dl, dil
	je	.L13
	add	rax, 8
	cmp	rax, rsi
	je	.L4
.L7:
	mov	rcx, QWORD PTR [rax]
	movzx	edx, BYTE PTR [rcx]
	test	dl, dl
	jne	.L14
.L4:
	movzx	eax, BYTE PTR ERRKEY[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	movzx	eax, BYTE PTR 1[rcx]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	movzx	eax, BYTE PTR [rax]
	ret
	.cfi_endproc
.LFE0:
	.size	make_accent_char, .-make_accent_char
	.comm	NUM_ACCENTCHARS,4,4
	.comm	ERRKEY,1,1
	.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_kbd.c_make_accent_char.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_accent_char, %function
make_accent_char:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	ldr	ip, [r0]
	ldr	r0, [r2]
	ldr	ip, [ip]
	sub	r0, r0, #-536870911
	cmp	r1, #32
	str	r3, [r2]
	add	r2, ip, r0, lsl #3
	beq	.L2
	ldr	r0, .L19
	str	lr, [sp, #-4]!
	ldr	lr, [r0]
	cmp	lr, r3
	ldrgt	r0, [r2, #4]
	subgt	r0, r0, #4
	bgt	.L7
	b	.L4
.L18:
	cmp	r2, r1
	beq	.L17
	cmp	r3, lr
	beq	.L4
.L7:
	ldr	ip, [r0, #4]!
	add	r3, r3, #1
	ldrb	r2, [ip]	@ zero_extendqisi2
	cmp	r2, #0
	bne	.L18
.L4:
	ldr	r3, .L19+4
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	pc, [sp], #4
.L17:
	ldrb	r0, [ip, #1]	@ zero_extendqisi2
	ldr	pc, [sp], #4
.L2:
	ldrb	r0, [ip, r0, lsl #3]	@ zero_extendqisi2
	bx	lr
.L20:
	.align	2
.L19:
	.word	NUM_ACCENTCHARS
	.word	ERRKEY
	.size	make_accent_char, .-make_accent_char
	.comm	NUM_ACCENTCHARS,4,4
	.comm	ERRKEY,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
