	.file	"extr_xwin.c_get_key_state.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	get_key_state
	.type	get_key_state, @function
get_key_state:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	edi, DWORD PTR 8[rdi]
	mov	ebx, esi
	mov	esi, edx
	call	XKeysymToKeycode@PLT
	cmp	QWORD PTR NoSymbol[rip], rax
	je	.L8
	mov	r13, QWORD PTR 0[rbp]
	xor	r10d, r10d
	xor	esi, esi
	xor	ecx, ecx
	mov	r14d, 1
	movsx	rbp, DWORD PTR 0[r13]
	mov	r11, rbp
	sal	rbp, 3
	lea	r12d, -1[r11]
	sal	r12, 3
	.p2align 4,,10
	.p2align 3
.L7:
	test	r11d, r11d
	jle	.L4
	mov	rdi, QWORD PTR 8[r13]
	mov	r9d, r14d
	lea	r8, [r10+r12]
	sal	r9d, cl
	lea	rdx, [rdi+r10]
	lea	r8, 8[rdi+r8]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, esi
	or	edi, r9d
	cmp	QWORD PTR [rdx], rax
	cmove	esi, edi
	add	rdx, 8
	cmp	rdx, r8
	jne	.L6
.L4:
	add	ecx, 1
	add	r10, rbp
	cmp	ecx, 8
	jne	.L7
	test	esi, ebx
	jne	.L16
.L8:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR False[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR True[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	get_key_state, .-get_key_state
	.comm	True,4,4
	.comm	NoSymbol,8,8
	.comm	False,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_xwin.c_get_key_state.c"
	.text
	.align	2
	.global	get_key_state
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_key_state, %function
get_key_state:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	mov	r5, r1
	ldr	r0, [r0, #4]
	mov	r1, r2
	bl	XKeysymToKeycode
	ldr	r3, .L16
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L8
	mov	r4, #0
	mov	r10, #1
	mov	lr, r4
	mov	r1, r4
	ldr	r8, [r6]
	ldr	r7, [r8]
	lsl	r9, r7, #2
.L7:
	cmp	r7, #0
	ble	.L4
	ldr	r3, [r8, #4]
	lsl	r6, r10, r1
	add	ip, r3, r9
	add	ip, ip, r4, lsl #2
	add	r3, r3, r4, lsl #2
.L6:
	ldr	r2, [r3], #4
	cmp	r2, r0
	orreq	lr, lr, r6
	cmp	r3, ip
	bne	.L6
.L4:
	add	r1, r1, #1
	cmp	r1, #8
	add	r4, r4, r7
	bne	.L7
	tst	lr, r5
	beq	.L8
	ldr	r3, .L16+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	ldr	r3, .L16+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	.align	2
.L16:
	.word	NoSymbol
	.word	True
	.word	False
	.size	get_key_state, .-get_key_state
	.comm	True,4,4
	.comm	NoSymbol,4,4
	.comm	False,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
