	.file	"extr_xterm-keys.c_xterm_keys_find.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	xterm_keys_find
	.type	xterm_keys_find, @function
xterm_keys_find:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 8[rsp], rcx
	lea	r15, 20[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
.L2:
	mov	rdi, QWORD PTR xterm_keys_table[rip]
	call	nitems@PLT
	cmp	rax, r13
	jbe	.L9
	mov	rax, QWORD PTR xterm_keys_table[rip]
	mov	r8, r15
	mov	rcx, rbx
	mov	rdx, rbp
	mov	rsi, r12
	lea	r14, [rax+r13*8]
	mov	edi, DWORD PTR 4[r14]
	call	xterm_keys_match@PLT
	cmp	eax, -1
	je	.L10
	test	eax, eax
	je	.L11
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 40
	.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
.L11:
	.cfi_restore_state
	mov	rbx, QWORD PTR 8[rsp]
	mov	edx, DWORD PTR 20[rsp]
	or	edx, DWORD PTR KEYC_XTERM[rip]
	or	edx, DWORD PTR [r14]
	mov	DWORD PTR [rbx], edx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	add	r13, 1
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, -1
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	xterm_keys_find, .-xterm_keys_find
	.comm	xterm_keys_table,8,8
	.comm	KEYC_XTERM,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_xterm-keys.c_xterm_keys_find.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	xterm_keys_find
	.syntax unified
	.arm
	.fpu softvfp
	.type	xterm_keys_find, %function
xterm_keys_find:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r9, r3
	ldr	r3, .L13
	sub	sp, sp, #16
	mov	r7, r0
	mov	r6, r1
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r8, #0
	ldr	r10, .L13+4
.L2:
	ldr	r0, [r10]
	bl	nitems
	cmp	r0, r8
	bls	.L9
	ldr	r4, [r10]
	add	r1, sp, #8
	add	r4, r4, r8, lsl #3
	ldr	r0, [r4, #4]
	mov	r3, r5
	str	r1, [sp]
	mov	r2, r6
	mov	r1, r7
	bl	xterm_keys_match
	cmn	r0, #1
	beq	.L10
	cmp	r0, #0
	beq	.L11
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	ldr	r2, .L13+8
	ldr	r3, [sp, #8]
	ldr	r1, [r2]
	ldr	r2, [r4]
	orr	r3, r3, r1
	orr	r3, r3, r2
	str	r3, [r9]
	b	.L1
.L10:
	add	r8, r8, #1
	b	.L2
.L9:
	mvn	r0, #0
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	xterm_keys_table
	.word	KEYC_XTERM
	.size	xterm_keys_find, .-xterm_keys_find
	.comm	xterm_keys_table,4,4
	.comm	KEYC_XTERM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
