	.file	"extr_key.c_v_keyval.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	v_keyval, @function
v_keyval:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	ebx, esi
	mov	esi, edx
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rdi]
	lea	rcx, 12[rsp]
	lea	rdx, 16[rsp]
	call	[QWORD PTR [rax]]
	test	rax, rax
	jne	.L1
	mov	eax, DWORD PTR 12[rsp]
	test	eax, eax
	jne	.L1
	mov	rsi, QWORD PTR keylist[rip]
	mov	ecx, DWORD PTR K_NOTUSED[rip]
	mov	rdx, QWORD PTR 16[rsp]
	cmp	DWORD PTR [rsi], ecx
	je	.L3
	mov	rax, rsi
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	add	rax, 16
	cmp	DWORD PTR [rax], ecx
	je	.L3
.L5:
	cmp	QWORD PTR 8[rax], rdx
	jne	.L4
	mov	DWORD PTR [rax], ebx
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rax, QWORD PTR nkeylist[rip]
	mov	rcx, rax
	add	rax, 1
	sal	rcx, 4
	add	rsi, rcx
	mov	DWORD PTR [rsi], ebx
	mov	QWORD PTR 8[rsi], rdx
	mov	QWORD PTR nkeylist[rip], rax
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	v_keyval, .-v_keyval
	.comm	nkeylist,8,8
	.comm	keylist,8,8
	.comm	K_NOTUSED,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_key.c_v_keyval.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	v_keyval, %function
v_keyval:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, [r0]
	sub	sp, sp, #20
	ldr	ip, .L12
	ldr	r5, [r3]
	mov	r4, r1
	add	r3, sp, #8
	mov	r1, r2
	add	r2, sp, #4
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	blx	r5
	ldr	r3, [sp, #8]
	orrs	r3, r0, r3
	bne	.L1
	ldr	r2, .L12+4
	ldr	r3, .L12+8
	ldr	r1, [r2]
	ldr	ip, [r3]
	ldr	r3, [r1]
	ldr	r0, [sp, #4]
	cmp	r3, ip
	beq	.L3
	mov	r3, r1
	b	.L5
.L4:
	ldr	r2, [r3, #8]!
	cmp	r2, ip
	beq	.L3
.L5:
	ldr	r2, [r3, #4]
	cmp	r2, r0
	bne	.L4
	str	r4, [r3]
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L3:
	ldr	r2, .L12+12
	ldr	r3, [r2]
	add	lr, r1, r3, lsl #3
	add	ip, r3, #1
	str	r0, [lr, #4]
	str	r4, [r1, r3, lsl #3]
	str	ip, [r2]
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	keylist
	.word	K_NOTUSED
	.word	nkeylist
	.size	v_keyval, .-v_keyval
	.comm	nkeylist,4,4
	.comm	keylist,4,4
	.comm	K_NOTUSED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
