	.file	"extr_gpiokeys.c_gpiokey_debounced_intr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	gpiokey_debounced_intr, @function
gpiokey_debounced_intr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR GPIOKEY_NONE[rip]
	cmp	QWORD PTR [rdi], rax
	je	.L1
	mov	r12, rdi
	mov	edi, DWORD PTR 28[rdi]
	lea	rsi, 4[rsp]
	call	gpio_pin_is_active@PLT
	mov	eax, DWORD PTR 4[rsp]
	test	eax, eax
	jne	.L14
	cmp	QWORD PTR 16[r12], 0
	jne	.L15
.L6:
	mov	edi, DWORD PTR 8[r12]
	mov	rsi, QWORD PTR [r12]
	xor	edx, edx
	call	gpiokeys_key_event@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[r12]
	mov	rsi, QWORD PTR [r12]
	mov	edx, 1
	call	gpiokeys_key_event@PLT
	cmp	QWORD PTR 16[r12], 0
	je	.L1
	mov	esi, DWORD PTR 24[r12]
	mov	edx, DWORD PTR gpiokey_autorepeat[rip]
	lea	rdi, 12[r12]
	mov	rcx, r12
	call	callout_reset@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rbp, 12[r12]
	mov	rdi, rbp
	call	callout_pending@PLT
	test	rax, rax
	je	.L6
	mov	rdi, rbp
	call	callout_stop@PLT
	jmp	.L6
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	gpiokey_debounced_intr, .-gpiokey_debounced_intr
	.comm	gpiokey_autorepeat,4,4
	.comm	GPIOKEY_NONE,8,8
	.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_gpiokeys.c_gpiokey_debounced_intr.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gpiokey_debounced_intr, %function
gpiokey_debounced_intr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L20
	ldr	r2, [r0]
	ldr	r3, [r3]
	ldr	r1, .L20+4
	sub	sp, sp, #12
	cmp	r2, r3
	ldr	r1, [r1]
	str	r1, [sp, #4]
	mov	r1,#0
	beq	.L1
	mov	r4, r0
	mov	r1, sp
	ldr	r0, [r0, #20]
	bl	gpio_pin_is_active
	ldr	r3, [sp]
	cmp	r3, #0
	bne	.L17
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L18
.L6:
	mov	r2, #0
	ldr	r1, [r4]
	ldr	r0, [r4, #4]
	bl	gpiokeys_key_event
.L1:
	ldr	r3, .L20+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L17:
	mov	r2, #1
	ldr	r1, [r4]
	ldr	r0, [r4, #4]
	bl	gpiokeys_key_event
	ldr	r3, [r4, #12]
	cmp	r3, #0
	beq	.L1
	ldr	r2, .L20+8
	mov	r3, r4
	ldr	r2, [r2]
	ldr	r1, [r4, #16]
	add	r0, r4, #8
	bl	callout_reset
	b	.L1
.L18:
	add	r5, r4, #8
	mov	r0, r5
	bl	callout_pending
	cmp	r0, #0
	beq	.L6
	mov	r0, r5
	bl	callout_stop
	b	.L6
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	GPIOKEY_NONE
	.word	.LC0
	.word	gpiokey_autorepeat
	.size	gpiokey_debounced_intr, .-gpiokey_debounced_intr
	.comm	gpiokey_autorepeat,4,4
	.comm	GPIOKEY_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
